:root {
  color-scheme: dark;
  --night: #05080c;
  --ink: #080d13;
  --navy-grey: #0d141b;
  --slate: #131c24;
  --slate-raised: #18232c;
  --vellum: #e6e0d4;
  --vellum-bright: #f4efe6;
  --pewter: #a7afb0;
  --ash: #788287;
  --rule: rgba(204, 209, 207, .24);
  --rule-strong: rgba(220, 222, 216, .48);
  --field-bg: rgba(17, 25, 33, .74);
  --display-serif: "Iowan Old Style", Baskerville, "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --reading-serif: Baskerville, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ui-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --o-size: clamp(116px, 14vw, 196px);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--vellum);
  background: var(--night);
  font-family: var(--ui-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

::selection {
  color: var(--night);
  background: var(--vellum);
}

.site-page {
  min-height: 100%;
  background: var(--night);
}

/* Arrival */

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: var(--vellum-bright);
  background:
    radial-gradient(circle at 50% 44%, rgba(31, 43, 54, .58), transparent 42%),
    var(--night);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 300ms ease,
    visibility 300ms ease;
  animation: loadingFallback 1ms 2200ms forwards;
}

.loading-screen.is-leaving {
  visibility: hidden;
  opacity: 0;
  animation: none;
}

.loading-mark {
  position: relative;
  display: grid;
  width: clamp(56px, 7vw, 84px);
  aspect-ratio: 1;
  place-items: center;
}

.loading-x {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-family: var(--display-serif);
  font-size: clamp(1.7rem, 3.8vw, 3.15rem);
  line-height: 1;
  text-shadow:
    0 0 12px rgba(255, 255, 255, .9),
    0 0 34px rgba(255, 255, 255, .46);
  animation: loadingXFlash 900ms cubic-bezier(.2, .8, .2, 1) both;
}

.loading-circle {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotate(-90deg);
}

.loading-circle-track,
.loading-circle-progress {
  fill: none;
  stroke-width: 2.5;
}

.loading-circle-track {
  stroke: rgba(230, 224, 212, .12);
}

.loading-circle-progress {
  stroke: var(--vellum);
  stroke-dasharray: 302;
  stroke-dashoffset: 302;
  stroke-linecap: square;
  animation: loadingCircleDraw 900ms cubic-bezier(.65, 0, .25, 1) forwards;
}

/* Frontispiece */

.stage {
  position: relative;
  display: grid;
  width: 100%;
  min-height: max(720px, 100svh);
  place-items: start center;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--night);
  background-image:
    linear-gradient(
      180deg,
      rgba(4, 7, 10, .16) 0%,
      rgba(5, 9, 13, .24) 34%,
      rgba(5, 8, 12, .62) 72%,
      var(--night) 100%
    ),
    linear-gradient(#182631, #182631),
    url("/assets/bridge-1448.jpg");
  background-position: center, center, center 55%;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
  background-blend-mode: normal, color, normal;
}

.stage::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    radial-gradient(
      ellipse at 50% 42%,
      transparent 9%,
      rgba(3, 6, 9, .18) 48%,
      rgba(3, 6, 9, .76) 100%
    ),
    linear-gradient(90deg, rgba(3, 6, 9, .42), transparent 24% 76%, rgba(3, 6, 9, .42));
  pointer-events: none;
}

.stage::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: clamp(330px, 52svh, 620px);
  content: "";
  background:
    linear-gradient(
      to bottom,
      rgba(5, 8, 12, 0) 0%,
      rgba(5, 8, 12, .025) 22%,
      rgba(5, 8, 12, .1) 42%,
      rgba(5, 8, 12, .3) 63%,
      rgba(5, 8, 12, .66) 82%,
      var(--night) 100%
    );
  pointer-events: none;
}

.binary-arch {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .96;
  pointer-events: none;
}

.bridge-photo,
img[src*="OBridgeXNew"] {
  display: none !important;
}

.brand-stage {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: auto 1fr;
  width: min(1280px, 100%);
  min-height: max(720px, 100svh);
  justify-items: center;
  padding: clamp(38px, 5vh, 64px) clamp(24px, 5vw, 76px) clamp(76px, 9vh, 112px);
}

.wordmark {
  position: relative;
  z-index: 9;
  display: inline-flex;
  width: max-content;
  max-width: calc(100vw - 48px);
  min-height: var(--o-size);
  align-items: center;
  justify-content: center;
}

.o-mark {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  width: var(--o-size);
  height: var(--o-size);
  object-fit: contain;
  opacity: .9;
  transform-origin: 50% 50%;
  filter:
    grayscale(1)
    brightness(.96)
    contrast(.9)
    drop-shadow(0 12px 26px rgba(0, 0, 0, .42));
}

.bridge-word,
.x-mark {
  color: var(--vellum-bright);
  font-family: var(--display-serif);
  font-size: clamp(3.7rem, 7.8vw, 8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
}

.bridge-word {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: none;
  overflow: visible;
  padding: .08em 0 .18em;
  margin: -.08em 0 -.18em;
  white-space: nowrap;
  transform: translateY(.075em);
}

.x-mark {
  position: relative;
  z-index: 3;
  display: block;
  flex: 0 0 auto;
  width: max-content;
  padding: 0;
  margin: 0;
  opacity: 1;
  transform: translateY(.075em);
  transform-origin: 50% 55%;
}

.x-glyph {
  position: relative;
  z-index: 2;
}

.x-impact {
  position: absolute;
  top: 53%;
  left: 50%;
  z-index: 1;
  display: block;
  width: 1.22em;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(
      circle,
      rgba(255, 255, 255, 1) 0 8%,
      rgba(255, 255, 255, .94) 18%,
      rgba(255, 255, 255, .5) 38%,
      rgba(255, 255, 255, .12) 58%,
      transparent 74%
    );
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.12);
  transform-origin: 50% 50%;
}

.site-actions {
  position: absolute;
  top: clamp(24px, 3vw, 42px);
  right: clamp(22px, 4vw, 58px);
  z-index: 6;
  display: flex;
  gap: 24px;
  align-items: center;
}

.contact-link,
.signup-link {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 0;
  color: rgba(230, 224, 212, .82);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-link::after,
.signup-link::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: .42;
  transform: scaleX(.28);
  transform-origin: left;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible,
.signup-link:hover,
.signup-link:focus-visible {
  color: var(--vellum-bright);
  outline: none;
}

.contact-link:hover::after,
.contact-link:focus-visible::after,
.signup-link:hover::after,
.signup-link:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.mission-group {
  display: grid;
  width: min(1080px, 100%);
  align-self: end;
  justify-self: center;
  margin-top: clamp(44px, 8vh, 100px);
}

.manifesto-box {
  position: relative;
  display: grid;
  justify-items: center;
  padding: clamp(32px, 5vw, 58px) clamp(22px, 5vw, 72px) clamp(34px, 5vw, 58px);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(5, 8, 12, .34) 14%,
      rgba(5, 8, 12, .48) 50%,
      rgba(5, 8, 12, .34) 86%,
      transparent
    );
}

.manifesto-box::before,
.manifesto-box::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--rule-strong) 20% 80%, transparent);
}

.manifesto-box::before {
  top: 0;
}

.manifesto-box::after {
  bottom: 0;
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--pewter);
  font-size: clamp(.65rem, .8vw, .75rem);
  font-weight: 650;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.mission-statement {
  width: min(16ch, 100%);
  margin: 0;
  color: var(--vellum-bright);
  font-family: var(--display-serif);
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.035em;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 7px 28px rgba(0, 0, 0, .58);
}

.tagline {
  margin: 0;
  color: rgba(230, 224, 212, .86);
  font-family: var(--reading-serif);
  line-height: 1.67;
}

.tagline.tagline--thesis {
  width: min(72ch, 100%);
  font-size: clamp(.98rem, 1.25vw, 1.14rem);
  font-weight: 400;
  margin-top: clamp(24px, 4vh, 40px);
  text-align: left;
  text-wrap: pretty;
}

.tagline--thesis::first-letter {
  float: left;
  padding: .08em .14em 0 0;
  color: var(--vellum-bright);
  font-family: var(--display-serif);
  font-size: 3.45em;
  line-height: .74;
}

.tagline--thesis em {
  color: var(--vellum-bright);
  font-style: italic;
}

.tagline.tagline--purpose {
  width: min(72ch, 100%);
  padding-top: 17px;
  margin-top: 17px;
  border-top: 1px solid var(--rule);
  color: rgba(230, 224, 212, .72);
  font-size: clamp(.9rem, 1.08vw, 1rem);
  text-align: left;
}

.eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 24px 0 0;
  color: var(--pewter);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .17em;
  text-align: center;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  width: 26px;
  height: 1px;
  content: "";
  background: var(--rule-strong);
}

.scroll-cue {
  position: absolute;
  bottom: clamp(14px, 2.4vh, 26px);
  left: 50%;
  z-index: 5;
  display: flex;
  min-width: 44px;
  min-height: 44px;
  flex-direction: column;
  gap: 0;
  align-items: center;
  justify-content: center;
  color: rgba(230, 224, 212, .58);
  text-decoration: none;
  transform: translateX(-50%);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.scroll-cue span {
  font-size: .56rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.scroll-cue:hover,
.scroll-cue:focus-visible {
  color: var(--vellum);
  outline: none;
  transform: translate(-50%, 3px);
}

/* Marginal note */

.brand-note {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.brand-note-trigger {
  position: absolute;
  top: 1px;
  right: -8px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--vellum);
  background: transparent;
  font-family: var(--reading-serif);
  font-size: .72rem;
  font-style: italic;
  cursor: help;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.brand-note-trigger::before {
  position: absolute;
  z-index: -1;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(230, 224, 212, .56);
  border-radius: 50%;
  content: "";
  background: rgba(8, 13, 19, .78);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.brand-note-trigger:hover::before,
.brand-note-trigger:focus-visible::before {
  border-color: var(--vellum);
  background: var(--slate);
}

.brand-note-trigger:focus-visible {
  outline: 1px solid var(--vellum);
  outline-offset: -6px;
}

.brand-note-popover {
  position: absolute;
  top: 50px;
  right: 0;
  left: auto;
  z-index: 12;
  display: grid;
  gap: 11px;
  width: min(470px, calc(100vw - 32px));
  max-height: min(76svh, 720px);
  padding: 22px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--rule-strong);
  outline: 1px solid rgba(230, 224, 212, .08);
  outline-offset: -7px;
  color: rgba(230, 224, 212, .84);
  background: rgba(8, 13, 19, .98);
  box-shadow: 0 22px 54px rgba(0, 0, 0, .48);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 160ms ease,
    transform 180ms ease,
    visibility 160ms ease;
  pointer-events: none;
  scrollbar-color: var(--rule-strong) transparent;
  scrollbar-width: thin;
  text-align: left;
}

.brand-note-popover::before {
  position: absolute;
  top: -5px;
  right: 16px;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--rule-strong);
  border-left: 1px solid var(--rule-strong);
  content: "";
  background: var(--ink);
  transform: rotate(45deg);
}

.brand-note-popover p {
  margin: 0;
  font-family: var(--reading-serif);
  font-size: .88rem;
  line-height: 1.52;
}

.brand-note-kicker {
  color: var(--pewter);
  font-family: var(--ui-sans) !important;
  font-size: .62rem !important;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.brand-note-pronunciation {
  color: var(--vellum);
}

.brand-note-popover strong {
  color: var(--vellum-bright);
  font-weight: 600;
}

.brand-note-ledger {
  color: var(--pewter);
  font-family: var(--ui-sans) !important;
  font-size: .66rem !important;
  letter-spacing: .045em;
}

.brand-note-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
  counter-reset: reject-entry;
  list-style: none;
}

.brand-note-list li {
  display: grid;
  grid-template-columns: 2.25em 8.6em minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  color: rgba(230, 224, 212, .75);
  counter-increment: reject-entry;
  font-family: var(--reading-serif);
  font-size: .82rem;
  line-height: 1.38;
}

.brand-note-list li::before {
  padding-top: .28em;
  color: var(--ash);
  content: counter(reject-entry, decimal-leading-zero);
  font-family: var(--ui-sans);
  font-size: .56rem;
  letter-spacing: .08em;
}

.brand-note-verdict {
  color: var(--pewter);
  font-style: italic;
}

.brand-note-close {
  position: absolute;
  top: 3px;
  right: 3px;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--vellum);
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

.brand-note-close:hover,
.brand-note-close:focus-visible {
  background: rgba(230, 224, 212, .06);
  outline: 1px solid var(--rule-strong);
  outline-offset: -5px;
}

.brand-note.is-open .brand-note-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .brand-note:hover .brand-note-popover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* Introduction form */

.homepage-signup {
  position: relative;
  scroll-margin-top: 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 1040px;
  background:
    radial-gradient(circle at 20% 10%, rgba(35, 47, 57, .2), transparent 34%),
    var(--night);
}

.homepage-signup::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--rule) 20% 80%, transparent);
}

.signup-shell,
.privacy-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(34px, 5vw, 64px);
  width: min(1080px, calc(100vw - 48px));
  padding: clamp(118px, 13vw, 176px) 0 clamp(70px, 8vw, 110px);
  margin: 0 auto;
}

.signup-shell--home {
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.28fr);
  gap: clamp(58px, 8vw, 118px);
  align-items: start;
  padding-top: clamp(94px, 10vw, 140px);
}

.signup-intro {
  display: grid;
  gap: 18px;
  width: 100%;
}

.homepage-signup .signup-intro {
  position: sticky;
  top: 72px;
}

.signup-kicker {
  margin: 0;
  color: var(--pewter);
  font-size: .65rem;
  font-weight: 650;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.signup-kicker::after {
  display: block;
  width: 42px;
  height: 1px;
  margin-top: 16px;
  content: "";
  background: var(--rule-strong);
}

.contact-title {
  margin: 0;
  color: var(--vellum-bright);
  font-family: var(--display-serif);
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.signup-summary {
  width: min(52ch, 100%);
  margin: 0;
  color: rgba(230, 224, 212, .7);
  font-family: var(--reading-serif);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.6;
}

.signup-form {
  display: grid;
  gap: 38px;
  width: 100%;
}

.role-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--rule);
}

.role-picker legend {
  width: 100%;
  padding: 0 0 14px;
  color: var(--ash);
  font-size: .62rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.role-option {
  position: relative;
  display: grid;
  min-height: 92px;
  align-content: center;
  gap: 5px;
  padding: 18px 52px 18px 46px;
  border-bottom: 1px solid var(--rule);
  color: var(--vellum);
  background: transparent;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.role-option::before {
  position: absolute;
  top: 22px;
  left: 0;
  width: 28px;
  color: var(--ash);
  font-family: var(--reading-serif);
  font-size: .72rem;
  font-style: italic;
  text-align: center;
}

.role-option:nth-of-type(1)::before {
  content: "I";
}

.role-option:nth-of-type(2)::before {
  content: "II";
}

.role-option:nth-of-type(3)::before {
  content: "III";
}

.role-option:hover,
.role-option:has(input:focus-visible) {
  border-color: var(--rule-strong);
  background: rgba(230, 224, 212, .025);
}

.role-option:has(input:checked) {
  border-color: rgba(230, 224, 212, .54);
  background: rgba(230, 224, 212, .045);
  box-shadow: inset 2px 0 0 var(--vellum);
}

.role-option input {
  position: absolute;
  top: 50%;
  right: 15px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--vellum);
  transform: translateY(-50%);
}

.role-name {
  color: var(--vellum-bright);
  font-family: var(--display-serif);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 400;
}

.role-copy {
  max-width: 48ch;
  color: var(--pewter);
  font-family: var(--reading-serif);
  font-size: .86rem;
  line-height: 1.42;
}

.signup-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.signup-fields > label,
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--pewter);
  font-size: .64rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.talent-oxford-field[hidden] {
  display: none;
}

.signup-fields > label:has(textarea),
.signup-fields .consent-label,
.signup-fields button,
.signup-fields .contact-status {
  grid-column: 1 / -1;
}

.signup-fields input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.signup-fields select,
.signup-fields textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 0;
  color: var(--vellum);
  background: var(--field-bg);
  caret-color: var(--vellum);
  color-scheme: dark;
  font-family: var(--ui-sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  appearance: none;
  transition:
    border-color 160ms ease,
    background 160ms ease;
}

.signup-fields input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.signup-fields select,
.contact-form input {
  min-height: 48px;
  padding: 11px 13px;
}

.signup-fields select {
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--pewter) 50%),
    linear-gradient(135deg, var(--pewter) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-repeat: no-repeat;
  background-size: 5px 5px;
}

.signup-fields textarea {
  min-height: 154px;
  padding: 13px;
  resize: vertical;
}

.signup-fields input:focus,
.signup-fields select:focus,
.signup-fields textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--rule-strong);
  background-color: rgba(23, 33, 42, .9);
  outline: 1px solid var(--vellum);
  outline-offset: 2px;
}

.signup-fields .consent-label {
  display: flex;
  max-width: none;
  align-items: flex-start;
  gap: 11px;
  color: var(--ash);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

.signup-fields .consent-label > span {
  min-width: 0;
}

.consent-label input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
  accent-color: var(--vellum);
}

.signup-fields button,
.contact-form button {
  justify-self: start;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  color: var(--vellum);
  background: transparent;
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.signup-fields button:hover,
.signup-fields button:focus-visible,
.contact-form button:hover,
.contact-form button:focus-visible {
  border-color: var(--vellum);
  color: var(--night);
  background: var(--vellum);
  outline: none;
}

.signup-fields button:disabled,
.contact-form button:disabled {
  cursor: wait;
  opacity: .58;
}

.signup-fields a,
.privacy-copy a,
.form-privacy a {
  color: var(--vellum);
  text-underline-offset: 3px;
}

.contact-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--pewter);
  font-family: var(--reading-serif);
  font-size: .86rem;
  line-height: 1.52;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.contact-status[data-state="error"] {
  color: #d9aaa3;
}

.contact-status[data-state="success"] {
  color: #b9ceb9;
}

.spam-field {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  width: min(1080px, calc(100vw - 48px));
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 34px;
  margin: 0 auto;
  border-top: 1px solid var(--rule);
  color: var(--ash);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--vellum);
  outline: none;
}

/* Contact, standalone sign-up and privacy */

.contact-page,
.form-page {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: auto;
  color: var(--vellum);
  background:
    radial-gradient(circle at 50% 0, rgba(36, 49, 59, .26), transparent 38%),
    var(--night);
}

.contact-logo-link {
  position: fixed;
  top: clamp(18px, 2.4vw, 30px);
  left: clamp(18px, 2.4vw, 30px);
  z-index: 3;
  display: block;
  width: clamp(58px, 6vw, 82px);
  opacity: .72;
}

.contact-logo {
  display: block;
  width: 100%;
  height: auto;
  filter: grayscale(1) brightness(.9) contrast(.9);
}

.contact-back {
  position: fixed;
  top: clamp(20px, 3vw, 38px);
  right: clamp(18px, 3.4vw, 42px);
  z-index: 4;
  min-height: 44px;
  padding-top: 10px;
  color: var(--pewter);
  font-size: .64rem;
  font-weight: 650;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-back::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 6px;
  content: "";
  background: currentColor;
  opacity: .4;
}

.contact-back:hover,
.contact-back:focus-visible {
  color: var(--vellum);
  outline: none;
}

.contact-shell {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 34px;
  width: min(680px, calc(100vw - 48px));
  padding: clamp(120px, 13vw, 176px) clamp(24px, 5vw, 52px) clamp(48px, 6vw, 76px);
}

.contact-shell::before,
.privacy-shell::before,
.form-page > .signup-shell::before {
  width: 54px;
  height: 1px;
  content: "";
  background: var(--rule-strong);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form textarea {
  min-height: 210px;
  padding: 13px;
  resize: vertical;
}

.form-privacy {
  margin: 0;
  color: var(--ash);
  font-family: var(--reading-serif);
  font-size: .82rem;
  line-height: 1.55;
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.signup-fields input:-webkit-autofill,
.signup-fields input:-webkit-autofill:hover,
.signup-fields input:-webkit-autofill:focus {
  border-color: var(--rule-strong);
  -webkit-text-fill-color: var(--vellum);
  caret-color: var(--vellum);
  box-shadow: 0 0 0 1000px var(--navy-grey) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.privacy-shell {
  gap: 18px;
  width: min(760px, calc(100vw - 48px));
}

.privacy-copy {
  display: grid;
  gap: 0;
  margin-top: 20px;
  border-top: 1px solid var(--rule);
}

.privacy-copy section {
  display: grid;
  grid-template-columns: minmax(150px, .42fr) minmax(0, 1fr);
  gap: 30px;
  padding: 25px 0;
  border-bottom: 1px solid var(--rule);
}

.privacy-copy h2,
.privacy-copy p {
  margin: 0;
}

.privacy-copy h2 {
  color: var(--vellum);
  font-family: var(--display-serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.privacy-copy p {
  color: rgba(230, 224, 212, .7);
  font-family: var(--reading-serif);
  line-height: 1.65;
}

/* Responsive */

@media (max-width: 960px) {
  :root {
    --o-size: clamp(94px, 18vw, 148px);
  }

  .brand-stage {
    padding-right: 28px;
    padding-left: 28px;
  }

  .bridge-word,
  .x-mark {
    font-size: clamp(3.25rem, 10vw, 6.5rem);
  }

  .signup-shell--home {
    grid-template-columns: 1fr;
    width: min(720px, calc(100vw - 48px));
  }

  .homepage-signup .signup-intro {
    position: static;
    width: min(560px, 100%);
  }
}

@media (min-width: 1280px) {
  .signup-fields .consent-label,
  .signup-fields .consent-label > span {
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  :root {
    --o-size: clamp(76px, 21vw, 108px);
  }

  .stage,
  .brand-stage {
    min-height: max(670px, 100svh);
  }

  .stage {
    background-image:
      linear-gradient(
        180deg,
        rgba(4, 7, 10, .14) 0%,
        rgba(5, 9, 13, .3) 34%,
        rgba(5, 8, 12, .68) 72%,
        var(--night) 100%
      ),
      linear-gradient(#182631, #182631),
      url("/assets/bridge-960.jpg");
    background-position: center, center, center 52%;
  }

  .brand-stage {
    padding: 78px 18px 72px;
  }

  .wordmark {
    max-width: calc(100vw - 28px);
  }

  .bridge-word,
  .x-mark {
    font-size: clamp(2.55rem, 12.2vw, 4.4rem);
  }

  .site-actions {
    top: 10px;
    right: 14px;
    gap: 18px;
  }

  .contact-link,
  .signup-link {
    font-size: .62rem;
  }

  .mission-group {
    margin-top: 34px;
  }

  .manifesto-box {
    padding: 28px 10px 30px;
  }

  .hero-kicker {
    max-width: 30ch;
    font-size: .58rem;
    line-height: 1.5;
  }

  .mission-statement {
    font-size: clamp(2.35rem, 10.5vw, 3.7rem);
    line-height: .98;
  }

  .tagline.tagline--thesis {
    width: min(52ch, 100%);
    font-size: clamp(.9rem, 3.8vw, 1rem);
    line-height: 1.55;
    margin-top: 22px;
  }

  .tagline.tagline--purpose {
    width: min(52ch, 100%);
    font-size: .88rem;
    line-height: 1.52;
  }

  .tagline--thesis::first-letter {
    font-size: 3em;
  }

  .eyebrow {
    margin-top: 20px;
    font-size: .58rem;
  }

  .brand-note-trigger {
    top: -7px;
    right: -4px;
  }

  .brand-note-popover {
    position: fixed;
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-height: min(64svh, 460px);
    padding: 22px 42px 20px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(14px);
    -webkit-overflow-scrolling: touch;
  }

  .brand-note-popover::before {
    content: none;
  }

  .brand-note.is-open .brand-note-popover {
    transform: translateY(0);
  }

  .brand-note-close {
    display: grid;
  }

  .scroll-cue span {
    display: none;
  }

  .signup-shell,
  .privacy-shell,
  .site-footer {
    width: min(100vw - 32px, 640px);
  }

  .signup-shell,
  .privacy-shell {
    padding-top: 92px;
  }

  .signup-shell--home {
    gap: 48px;
    padding-top: 78px;
  }

  .contact-title {
    font-size: clamp(2.5rem, 12vw, 4.1rem);
  }

  .role-option {
    padding-left: 42px;
  }

  .signup-fields {
    grid-template-columns: 1fr;
  }

  .signup-fields > label,
  .signup-fields > label:has(textarea),
  .signup-fields .consent-label,
  .signup-fields button,
  .signup-fields .contact-status {
    grid-column: 1;
  }

  .signup-fields .consent-label,
  .signup-fields .consent-label > span {
    width: auto;
    white-space: normal;
  }

  .site-footer {
    align-items: flex-start;
  }

  .contact-logo-link {
    position: absolute;
    width: 52px;
  }

  .contact-back {
    position: absolute;
    top: 17px;
    right: 18px;
  }

  .contact-shell {
    width: min(100vw - 32px, 620px);
    padding: 104px 0 48px;
  }

  .privacy-copy section {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}

@media (max-width: 480px) {
  :root {
    --o-size: clamp(66px, 20vw, 84px);
  }

  .stage,
  .brand-stage {
    min-height: 680px;
  }

  .brand-stage {
    padding-top: 84px;
  }

  .bridge-word,
  .x-mark {
    font-size: clamp(2.25rem, 11.6vw, 3.35rem);
  }

  .mission-statement {
    font-size: clamp(2.15rem, 10.2vw, 2.85rem);
  }

  .tagline.tagline--thesis {
    font-size: .89rem;
  }

  .brand-note-list li {
    grid-template-columns: 2em minmax(0, 1fr);
    gap: 4px 8px;
  }

  .brand-note-list li strong,
  .brand-note-list li span {
    grid-column: 2;
  }

  .role-option {
    min-height: 98px;
    padding-right: 44px;
  }

  .site-footer {
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  :root {
    --o-size: clamp(92px, 18vh, 128px);
  }

  .stage,
  .brand-stage {
    min-height: 700px;
  }

  .brand-stage {
    padding-top: 26px;
    padding-bottom: 58px;
  }

  .bridge-word,
  .x-mark {
    font-size: clamp(3.2rem, 13vh, 5.8rem);
  }

  .mission-group {
    margin-top: 28px;
  }

  .manifesto-box {
    padding-top: 25px;
    padding-bottom: 28px;
  }

  .mission-statement {
    font-size: clamp(2.7rem, 8.5vh, 4.4rem);
  }

  .tagline.tagline--thesis {
    margin-top: 18px;
  }
}

@media (hover: none), (pointer: coarse) {
  .brand-note-trigger {
    width: 44px;
    height: 44px;
  }

  .brand-note-close {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@keyframes loadingXFlash {
  0% {
    opacity: 0;
    transform: scale(.45);
  }

  58% {
    opacity: 1;
    transform: scale(1.08);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes loadingCircleDraw {
  from {
    stroke-dashoffset: 302;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes loadingFallback {
  to {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}
