/* Layout and components. Colours come from theme.css, which is generated from the logo. */

:root {
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-label: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
  --wrap: 1920px;
  --gutter: clamp(20px, 4vw, 88px);
  --header-h: 76px;
  --radius: 6px;
  --body-text: color-mix(in srgb, var(--text) 84%, var(--bg));
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
code { font: .88em/1.4 ui-monospace, Consolas, monospace; background: rgb(255 255 255 / .06); padding: 2px 6px; border-radius: 3px; }
::selection { background: var(--brand); color: var(--brand-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brand); color: var(--brand-ink); padding: 10px 14px; border-radius: 4px;
}
.skip-link:focus { top: 12px; }

/* ---------- type ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.015em;
  line-height: .95;
  font-size: clamp(1.9rem, 6.2vw, 6.25rem);
  max-width: 17ch;
  text-wrap: balance;
  hyphens: auto;
}
.display-md, .display-long { font-size: clamp(1.9rem, 4.6vw, 4.5rem); }
.display-long { max-width: 20ch; }
.display-sm { font-size: clamp(1.4rem, 2.4vw, 2.25rem); line-height: 1.05; max-width: none; }

.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -.01em;
  max-width: 24ch;
  text-wrap: balance;
}

.eyebrow, .label {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.eyebrow { color: var(--accent); margin-bottom: 18px; }
.label { color: var(--text); margin-bottom: 16px; }
.label.spaced { margin-top: 64px; }

.lede {
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.55;
  color: var(--body-text);
  max-width: 54ch;
  margin-top: 24px;
}
.lede a, .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.prose p { font-size: 1.125rem; line-height: 1.75; color: var(--body-text); max-width: 68ch; }
.prose p + p { margin-top: 1.2em; }

.section-body { color: var(--muted); max-width: 60ch; margin-top: 16px; }
.muted { color: var(--faint); }

/* ---------- buttons and links ---------- */

.icon { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }

.button, .text-button, .link-arrow {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.button {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  background: rgb(var(--bg-rgb) / .35);
  color: var(--text);
  transition: background .2s, border-color .2s;
}
.button:hover { border-color: var(--text); }
.button-primary { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.button-primary:hover { background: color-mix(in srgb, var(--brand) 82%, white); border-color: transparent; }
.button:hover .icon, .link-arrow:hover .icon, .card:hover .icon, .next-link:hover .icon { transform: translateX(4px); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.text-button {
  background: none; color: var(--text); cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 4px; padding: 10px 14px;
}
.text-button:hover { border-color: var(--text); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); white-space: nowrap; }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  background-repeat: no-repeat;
  transition: background-color .3s, border-color .3s;
}
.has-overlay-header .site-header:not(.is-scrolled) { background-image: linear-gradient(rgb(var(--bg-rgb) / .7), transparent); }
.site-header.is-scrolled, body:not(.has-overlay-header) .site-header {
  background: rgb(var(--bg-rgb) / .9);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; }
.brand img { display: block; height: 40px; width: auto; }

.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px;
  font-family: var(--font-label); font-weight: 600; font-size: .85rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: color-mix(in srgb, var(--text) 85%, transparent);
  transition: color .2s;
}
.nav-link:hover, .nav-link[aria-current], .nav-link[data-current] { color: var(--text); }
.nav-link[aria-current], .nav-link[data-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.nav-list > li:last-child .nav-link { border: 1px solid var(--line-strong); border-radius: 4px; margin-left: 10px; }
.icon-chevron { width: 12px; height: 12px; opacity: .7; }

.has-menu { position: relative; }
.nav-panel {
  position: absolute; top: 100%; left: 0; padding-top: 10px; min-width: 320px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.has-menu:hover .nav-panel, .has-menu:focus-within .nav-panel {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s;
}
.nav-panel ul {
  list-style: none; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px;
  box-shadow: 0 24px 48px rgb(0 0 0 / .45);
}
.nav-panel a { display: block; padding: 10px 14px; border-radius: 4px; color: var(--body-text); }
.nav-panel a:hover, .nav-panel a[aria-current] { background: var(--surface-2); color: var(--text); }

.menu-button { display: none; }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--bg); overflow-y: auto; }
.menu-top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu-body { padding-top: 32px; padding-bottom: 64px; display: grid; gap: 8px; }
.menu-group { border-top: 1px solid var(--line); padding: 18px 0; }
.menu-link {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.6rem, 6vw, 2.4rem); letter-spacing: -.01em;
}
.menu-sub { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; margin-top: 16px; }
.menu-sub a { color: var(--muted); }
.menu-sub a:hover { color: var(--text); }

@media (max-width: 1140px) {
  .nav { display: none; }
  .menu-button { display: inline-flex; }
  .brand img { height: 34px; }
}

/* ---------- media ---------- */

.media { position: absolute; inset: 0; overflow: hidden; background: var(--surface); }
.media-fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

.placeholder {
  background:
    radial-gradient(75% 65% at var(--px, 70%) var(--py, 30%), rgb(var(--brand-rgb) / .55), transparent 70%),
    repeating-linear-gradient(120deg, rgb(255 255 255 / .025) 0 1px, transparent 1px 28px),
    linear-gradient(160deg, var(--surface-2), var(--bg) 75%);
}
.placeholder[data-variant="1"] { --px: 78%; --py: 22%; }
.placeholder[data-variant="2"] { --px: 20%; --py: 30%; }
.placeholder[data-variant="3"] { --px: 85%; --py: 70%; }
.placeholder[data-variant="4"] { --px: 45%; --py: 15%; }
.placeholder[data-variant="5"] { --px: 15%; --py: 80%; }
.placeholder[data-variant="6"] { --px: 60%; --py: 55%; }

.slot-hint {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  max-width: calc(100% - 24px);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  font: .68rem/1.3 ui-monospace, Consolas, monospace;
  color: var(--muted);
  background: rgb(0 0 0 / .55);
  border: 1px dashed var(--line-strong);
  border-radius: 3px;
  padding: 3px 7px;
  opacity: .8;
  pointer-events: none;
}
.hero .slot-hint { top: auto; bottom: 16px; right: var(--gutter); }
.slot-hint-inline { position: static; display: inline-block; margin: 8px 0 24px; }

/* ---------- hero ---------- */

.hero { position: relative; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.hero-full { min-height: 100svh; }
.hero-tall { min-height: 76svh; }
.hero-short { min-height: 54svh; }
.hero > .media { z-index: -2; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, var(--bg) 0%, rgb(var(--bg-rgb) / .72) 24%, rgb(var(--bg-rgb) / .2) 62%, rgb(var(--bg-rgb) / .5) 100%),
    linear-gradient(to right, rgb(var(--bg-rgb) / .7), transparent 70%);
}
.hero-content { position: relative; padding-top: calc(var(--header-h) + 56px); padding-bottom: clamp(56px, 11vh, 128px); }
.hero-badge {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  width: clamp(180px, 22vw, 320px); height: auto;
  filter: drop-shadow(0 24px 48px rgb(0 0 0 / .5));
}

.motion-toggle {
  position: absolute; right: var(--gutter); bottom: 20px;
  font-family: var(--font-label); font-weight: 600; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); background: rgb(var(--bg-rgb) / .5);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer;
}
.motion-toggle:hover { color: var(--text); border-color: var(--line-strong); }

/* ---------- sections ---------- */

.section { padding-block: clamp(72px, 10vw, 144px); }
.section-alt { background: var(--surface); }
.page-top { padding-top: calc(var(--header-h) + clamp(56px, 8vw, 104px)); }

.section-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.statement { padding-block: clamp(88px, 13vw, 184px); }
.statement-text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  line-height: 1.28; letter-spacing: -.01em;
  color: var(--muted);
  max-width: 1120px;
}
.statement-text span { color: var(--text); }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.split-aside { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.split-aside .section-head { flex-direction: column; align-items: flex-start; gap: 20px; }
.split-tight { grid-template-columns: 1fr 1fr; margin-bottom: 24px; }

/* ---------- cards ---------- */

.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3 / 4; height: 100%;
  padding: 24px; border-radius: var(--radius);
  color: var(--text);
}
.card > .media { z-index: -2; }
.card-grid-2 { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card-wide { aspect-ratio: 16 / 10; padding: clamp(24px, 3vw, 40px); }
.card-wide .card-index { left: clamp(24px, 3vw, 40px); top: clamp(20px, 2.6vw, 34px); right: 64px; }
.card-wide .card-text { max-width: 46ch; font-size: 1.05rem; }
.card-emblem {
  position: absolute; top: clamp(48px, 5vw, 64px); right: clamp(24px, 3vw, 40px);
  width: min(32%, 220px); height: auto;
  filter: drop-shadow(0 16px 32px rgb(0 0 0 / .5));
  transition: transform .6s var(--ease);
}
.card:hover .card-emblem { transform: scale(1.03); }
.card.card-wide .slot-hint { top: auto; left: auto; right: 16px; bottom: 16px; }
.card .card-title-lg {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -.015em;
}
.card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgb(var(--bg-rgb) / .6), transparent 22%),
    linear-gradient(to top, rgb(var(--bg-rgb) / .94) 12%, rgb(var(--bg-rgb) / .45) 58%, rgb(var(--bg-rgb) / .2));
}
.card .media-fill, .tile .media-fill { transition: transform .9s var(--ease), filter .5s; filter: saturate(.8) brightness(.8); }
.card:hover .media-fill, .card:focus-visible .media-fill,
.tile:hover .media-fill, .tile:focus-visible .media-fill { transform: scale(1.04); filter: none; }
.card-index {
  position: absolute; top: 20px; left: 24px;
  font-family: var(--font-label); font-weight: 600; font-size: .85rem; letter-spacing: .2em; color: var(--accent);
}
.card-arrow { position: absolute; top: 18px; right: 20px; color: var(--text); }
.card-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.15; }
.card-text { display: block; margin-top: 10px; font-size: .95rem; line-height: 1.5; color: var(--body-text); }
.card .slot-hint { top: 48px; left: 24px; right: auto; max-width: calc(100% - 48px); }

/* ---------- tiles ---------- */

.tile-grid { list-style: none; display: grid; gap: 12px; }
.tile-grid-3 { grid-template-columns: repeat(3, 1fr); }
.tile-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; width: 100%;
  padding: 20px; border: 0; border-radius: var(--radius);
  background: none; color: var(--text); font: inherit; text-align: left;
}
.tile-wide { aspect-ratio: 16 / 10; }
button.tile { cursor: pointer; }
.tile > .media { z-index: -2; }
.tile::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgb(var(--bg-rgb) / .9) 8%, rgb(var(--bg-rgb) / .15) 60%, transparent);
}
.tile-title { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; max-width: 22ch; }
.tile-play {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-label); font-weight: 600; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase;
  background: rgb(var(--bg-rgb) / .6); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px;
}
.tile-caption { color: var(--muted); margin-top: 10px; font-size: .95rem; }

/* ---------- feature ---------- */

.feature { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 92svh; }
.feature > .media { z-index: -2; }
.feature::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, var(--bg), transparent 18%, transparent 82%, var(--bg)),
    linear-gradient(90deg, rgb(var(--bg-rgb) / .92) 0%, rgb(var(--bg-rgb) / .62) 45%, rgb(var(--bg-rgb) / .1) 100%);
}
.feature-content { padding-block: clamp(96px, 12vw, 160px); }
.feature-stats { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: 40px; }

.feature-stats div, .facts div { display: flex; flex-direction: column-reverse; gap: 6px; }
.feature-stats dd, .facts dd { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.feature-stats dd { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.feature-stats dt, .facts dt { color: var(--muted); font-size: .95rem; }

/* ---------- numbered lists, facts, domains ---------- */

.numbered { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.numbered-4 { grid-template-columns: repeat(4, 1fr); }
.numbered li { border-top: 1px solid var(--line-strong); padding: 24px 0 44px; }
.numbered p { color: var(--muted); }
.numbered .link-arrow { margin-top: 16px; }
.numbered-index {
  display: block; margin-bottom: 14px;
  font-family: var(--font-label); font-weight: 600; font-size: .85rem; letter-spacing: .2em; color: var(--accent);
}
.numbered-title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; margin-bottom: 10px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 56px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 32px 24px 0 0; }
.facts dd { font-size: clamp(2.2rem, 4vw, 3.6rem); }

.domain-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.domain-list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.domain-list .numbered-index { margin: 0; min-width: 2.2em; line-height: inherit; }

.check-list { list-style: none; }
.check-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--body-text); }
.check-list li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: .62em; background: var(--accent); border-radius: 1px; }
.check-list-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.steps li {
  border-top: 2px solid var(--line-strong); padding: 20px 16px 8px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; line-height: 1.25;
}

/* ---------- next / cta ---------- */

.next { padding-block: clamp(48px, 6vw, 88px); }
.next-link {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 40px 0; border-block: 1px solid var(--line);
}
.next-link .eyebrow { display: block; margin-bottom: 12px; }
.next-link > .icon { width: 32px; height: 32px; color: var(--accent); }
.next-link > span { display: grid; }

.cta {
  background:
    radial-gradient(70% 130% at 0% 100%, rgb(var(--brand-rgb) / .45), transparent 62%),
    var(--surface);
  border-top: 1px solid var(--line);
}
.cta-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: end; }
.cta-side { border-left: 1px solid var(--line); padding-left: 40px; }
.cta-side p { color: var(--muted); margin-bottom: 20px; }
.cta-side .footer-links a { color: var(--accent); }

/* ---------- product, timeline, jobs, offices ---------- */

.variant-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.variant { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: clamp(28px, 3vw, 44px); }
.section-alt .variant { background: var(--bg); }
.variant > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; }
.variant .spec-list { margin-top: 28px; }

.spec-list { margin: 0; }
.spec-list div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 500; }

.timeline { list-style: none; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
.timeline p { color: var(--muted); }
.timeline-link { margin-top: 12px; }
.spaced-top { margin-top: 32px; }
.timeline-year { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1.1; color: var(--accent); }

.jobs { list-style: none; display: grid; gap: 16px; }
.job {
  display: grid; grid-template-columns: 1fr 240px; gap: 40px;
  padding: clamp(24px, 3vw, 40px); background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
}
.job-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; }
.job-title a { color: inherit; text-decoration: none; }
.job-title a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.job-meta { font-family: var(--font-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: var(--accent); margin: 8px 0 16px; }
.job-main > p:not(.job-meta) { color: var(--body-text); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { font-size: .85rem; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 12px; }
.job-side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.job-pay { font-weight: 600; font-size: 1.05rem; }
.job-posted { color: var(--muted); margin-bottom: 16px; }

.office-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.office { border-top: 2px solid var(--accent); padding-top: 24px; }
.office address { color: var(--body-text); line-height: 1.65; margin-bottom: 18px; }
.big-link { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 24px; }
.big-link a:hover { color: var(--accent); }

.empty { border: 1px dashed var(--line-strong); border-radius: 8px; padding: 40px; color: var(--muted); display: grid; gap: 12px; }
.empty a { color: var(--accent); }

/* ---------- footer ---------- */

.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.3fr 1fr 1.1fr; gap: 48px; }
.footer-brand img { height: 56px; width: auto; }
.footer-brand p { color: var(--muted); max-width: 36ch; margin-top: 20px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.site-footer address { color: var(--muted); line-height: 1.65; }
.site-footer p a { color: var(--accent); }
.site-footer p { margin-top: 12px; }
.ids { margin: 20px 0 0; display: grid; gap: 4px; font-size: .9rem; }
.ids div { display: flex; gap: 10px; }
.ids dt { color: var(--faint); min-width: 4.5em; }
.ids dd { margin: 0; color: var(--muted); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 64px; padding-block: 28px 36px; border-top: 1px solid var(--line);
  color: var(--faint); font-size: .9rem;
}
.draft-flag { color: var(--accent); }
.draft-flag a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- player ---------- */

.player { width: min(1280px, 94vw); padding: 0; border: 0; border-radius: 8px; overflow: hidden; background: #000; color: var(--text); }
.player::backdrop { background: rgb(0 0 0 / .86); }
.player-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px; background: var(--surface); }
.player-title { font-family: var(--font-display); font-weight: 700; }
.player video { display: block; width: 100%; max-height: 80vh; background: #000; }

/* ---------- brand page ---------- */

.logo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 8px; }
.logo-swatch { display: grid; gap: 14px; justify-items: start; padding: 32px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .85rem; }
.logo-swatch img { height: 72px; width: auto; }
.logo-swatch-light { background: #fff; color: #555; }
.swatches { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.swatches li { display: grid; gap: 4px; }
.swatches code { justify-self: start; }
.swatch { height: 64px; border-radius: 6px; border: 1px solid var(--line-strong); margin-bottom: 6px; }
.swatch[data-colour="brand"] { background: var(--brand); }
.swatch[data-colour="brandInk"] { background: var(--brand-ink); }
.swatch[data-colour="accent"] { background: var(--accent); }
.swatch[data-colour="secondary"] { background: var(--secondary); }
.swatch[data-colour="bg"] { background: var(--bg); }
.swatch[data-colour="surface"] { background: var(--surface); }
.swatch[data-colour="surface2"] { background: var(--surface-2); }
.swatch[data-colour="text"] { background: var(--text); }
.swatch[data-colour="muted"] { background: var(--muted); }
.swatch[data-colour="faint"] { background: var(--faint); }
.slot-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .95rem; }
.slot-table th, .slot-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.slot-table th { font-family: var(--font-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .8rem; color: var(--muted); }

/* ---------- reveal ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js li[data-reveal]:nth-child(4n + 2) { transition-delay: 60ms; }
.js li[data-reveal]:nth-child(4n + 3) { transition-delay: 120ms; }
.js li[data-reveal]:nth-child(4n + 4) { transition-delay: 180ms; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card .media-fill, .tile .media-fill, .icon { transition: none; }
  .card:hover .media-fill, .tile:hover .media-fill { transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1100px) {
  .numbered-4, .facts { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .split, .split-tight, .cta-grid, .variant-grid, .job, .card-grid-2 { grid-template-columns: 1fr; }
  .split-aside { position: static; }
  .hero-badge { position: static; transform: none; width: 112px; margin-bottom: 24px; display: block; }
  .split { gap: 8px; }
  .cta-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .tile-grid-3, .numbered { grid-template-columns: repeat(2, 1fr); }
  .domain-list, .check-list-2 { grid-template-columns: 1fr; }
  .logo-row { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .tile-grid-3, .tile-grid-2, .numbered, .numbered-4, .office-grid, .footer-grid { grid-template-columns: 1fr; }
  .card { aspect-ratio: 4 / 3; }
  .card-emblem { width: 76px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
  .hero-content { padding-bottom: 72px; }
}

/* ---------- services: four pillars ---------- */

/* Home: the pillars side by side, as on the capabilities slide; each card is followed by its items. */
.pillar-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 16px; }
.pillar-card { aspect-ratio: 4 / 3; height: auto; padding: 20px; }
.pillar-card .card-index { left: 20px; top: 18px; text-transform: uppercase; }
.pillar-card .card-title { font-size: 1.15rem; }
.pillar-card .flow { margin-top: 8px; }

/* A pillar banner, e.g. DESIGN › BUILD › INTEGRATE. */
.flow { font-family: var(--font-label); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.flow-sep { margin-inline: .5em; opacity: .7; }
.hero-flow { margin-top: 22px; }

.pillar-links { list-style: none; margin-top: 12px; }
.pillar-links a { display: block; padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .98rem; line-height: 1.35; transition: color .2s; }
.pillar-links a:hover { color: var(--text); }
.pillar-links a[aria-current] { color: var(--text); box-shadow: inset 2px 0 0 var(--accent); padding-left: 12px; }
.pillar-links-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 0; }

/* Pillar page, What we do: each item a dropdown that opens to its whole write-up. The arrow sits in
   a ring that lights up on hover (and the arrow bobs), then fills purple, flips with a little
   overshoot, and sends out a pulse when the item opens. site.js slides the content open and shut. */
.acc-list > :last-child .acc { border-bottom: 1px solid var(--line-strong); }
.acc { border-top: 1px solid var(--line-strong); }
.acc-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0 26px; list-style: none; cursor: pointer;
}
.acc-summary::-webkit-details-marker { display: none; }
.acc-summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.acc-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; transition: color .25s; }
.acc-text { display: block; margin-top: 8px; color: var(--muted); max-width: 72ch; }
.acc-summary:hover .acc-title, .acc[open]:not(.is-closing) .acc-title { color: var(--accent); }
.acc-icon {
  position: relative; flex: none; display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 50%; color: var(--accent);
  transition: background-color .3s, border-color .3s, color .3s, scale .3s;
}
.acc-icon svg { width: 16px; height: 16px; transition: rotate .55s cubic-bezier(.34, 1.56, .64, 1); }
.acc-icon::after {
  content: ''; position: absolute; inset: -1px; border: 1px solid var(--accent); border-radius: 50%;
  opacity: 0; pointer-events: none;
}
.acc-summary:hover .acc-icon { border-color: var(--accent); scale: 1.06; }
.acc:not([open]) .acc-summary:hover .acc-icon svg { animation: acc-bob 1.1s ease-in-out infinite; }
.acc[open]:not(.is-closing) .acc-icon { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.acc[open]:not(.is-closing) .acc-icon svg { rotate: 180deg; }
.acc[open]:not(.is-closing) .acc-icon::after { animation: acc-pulse .7s ease-out; }
@keyframes acc-bob { 0%, 100% { translate: 0 -1px; } 50% { translate: 0 3px; } }
@keyframes acc-pulse { from { opacity: .9; scale: 1; } to { opacity: 0; scale: 1.75; } }
.acc-inner { padding: 4px 0 44px; }
.acc-cols { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px 64px; }
.acc-cols .label { margin-bottom: 14px; }
.acc-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.acc-section-title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; line-height: 1.25; margin: 8px 0 16px; }
@media (max-width: 900px) { .acc-cols { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .acc-icon, .acc-icon svg { transition: none; }
  .acc-summary:hover .acc-icon svg, .acc[open] .acc-icon::after { animation: none; }
}
.motion-off .acc-icon, .motion-off .acc-icon svg { transition: none; }
.motion-off .acc-summary:hover .acc-icon svg, .motion-off .acc[open] .acc-icon::after { animation: none; }

/* Item page: the eyebrow links back to its pillar. */
.hero .eyebrow a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.hero .eyebrow a:hover { text-decoration-color: currentColor; }

.section-lede { font-size: 1.2rem; line-height: 1.55; color: var(--text); max-width: 60ch; margin-bottom: 24px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; }

@media (max-width: 1100px) {
  .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar-links-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .pillar-grid, .pillar-links-cols { grid-template-columns: 1fr; } }

/* Services menu: a panel the width of the header, one column per pillar. The nav items fill the
   header height so the pointer stays on the item while moving down into the panel. */
.header-inner { position: relative; }
.nav { align-self: stretch; }
/* Only where the desktop menu shows: below 1141px it is hidden for the Menu button (see the header
   rules above), and an unconditional display here would override that and push it off a phone. */
@media (min-width: 1141px) { .nav { display: flex; } }
.nav-list { height: 100%; align-items: stretch; }
.nav-list > li { display: flex; align-items: center; }
/* The Services menu: the four pillars in a column under Services, each a row with its stage label. */
.nav-mega {
  display: flex; flex-direction: column; padding: 8px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px;
  box-shadow: 0 24px 48px rgb(0 0 0 / .45);
  max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto;
}
.nav-group-label {
  color: var(--accent);
  font-family: var(--font-label); font-weight: 600; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
}
.nav-panel .nav-pillar-title {
  margin: 4px 0 0; padding: 0; border-radius: 0; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.25; color: var(--text);
}
.nav-panel .nav-pillar-title:hover, .nav-panel .nav-pillar-title[aria-current] { background: none; color: var(--accent); }
/* The whole row is the link's target area, so the label above the title counts too. */
.nav-pillar { position: relative; padding: 12px 16px; border-radius: 4px; transition: background-color .15s; }
.nav-pillar:hover { background: var(--surface-2); }
.nav-pillar:hover .nav-pillar-title { color: var(--accent); }
.nav-pillar + .nav-pillar { margin-top: 2px; }
.nav-pillar .nav-pillar-title::after { content: ''; position: absolute; inset: 0; }

/* Employee login (Cloudflare Access): after Contact in the header, icon only until there is room
   for the words; also last in the mobile menu and the footer links. */
.nav-login {
  align-self: center; display: inline-flex; align-items: center; gap: 8px;
  margin-left: 14px; padding: 9px 2px 9px 16px; border-left: 1px solid var(--line-strong);
  font-family: var(--font-label); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap; transition: color .2s;
}
.nav-login:hover { color: var(--text); }
.nav-login .icon { width: 18px; height: 18px; }
@media (max-width: 1399px) {
  .nav-login .login-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.menu-login { display: inline-flex; align-items: center; gap: 14px; }
.menu-login .icon { width: 26px; height: 26px; }
.footer-login { display: inline-flex; align-items: center; gap: 8px; }
.footer-login .icon { width: 14px; height: 14px; }

/* ---------- apply form (roles from Hiring) ---------- */

.apply-top { padding-bottom: clamp(32px, 4vw, 56px); }
.apply-top .job-meta { margin: 20px 0 0; }
.page-top .eyebrow a:hover { text-decoration: underline; text-underline-offset: 4px; }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 460px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.apply-form { display: grid; gap: 18px; padding: clamp(24px, 3vw, 36px); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.apply-form .label { margin-bottom: 0; }
.apply-form .button { justify-self: start; cursor: pointer; }
.apply-form .button:disabled { opacity: .6; cursor: progress; }
.field { display: grid; gap: 8px; }
.field-label { font-weight: 500; }
.field-optional, .field-hint { color: var(--faint); font-size: .9rem; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.field input[type="file"] { padding: 9px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 7px 12px; border: 1px solid var(--line-strong); border-radius: 4px;
  background: var(--surface-2); color: var(--text); font: inherit; cursor: pointer;
}
.field-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { padding: 14px 16px; border: 1px solid #d9534f; border-radius: 4px; background: rgb(217 83 79 / .1); }
.form-errors ul { list-style: none; display: grid; gap: 4px; }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.apply-form-single { max-width: 560px; }
.general-job { margin-top: 16px; }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } }

/* ---------- careers: keyword search over the open positions ---------- */

.job-search { margin: 0 0 8px; }
.job-search-row { display: flex; gap: 10px; max-width: 640px; }
.job-search input {
  flex: 1; min-width: 0; padding: 13px 16px; font: inherit; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: 4px;
}
.job-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.job-search .button { cursor: pointer; }
.job-count { min-height: 1.6em; margin: 10px 0 12px; color: var(--muted); font-size: .95rem; }
.job[hidden], .job-none[hidden] { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- careers: a group's page, a role's description, and the questions some roles ask ---------- */
.group-intro { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.role-description .role-part { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin: 1.6em 0 .5em; }
.role-description .role-points { margin: 0 0 1em; padding-left: 1.2em; display: grid; gap: .45em; }
.apply-form fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.apply-form legend.field-label { padding: 0; margin-bottom: 8px; }
.multi { position: relative; }
.multi > summary { list-style: none; cursor: pointer; padding: 12px 40px 12px 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); position: relative; }
.multi > summary::-webkit-details-marker { display: none; }
.multi > summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .7; }
.multi[open] > summary::after { transform: translateY(-30%) rotate(225deg); }
.multi-list { display: grid; gap: 4px; margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); max-height: 320px; overflow-y: auto; }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 6px 2px; cursor: pointer; line-height: 1.35; }
.field .check input { width: 18px; height: 18px; padding: 0; margin-top: .1em; flex: none; accent-color: var(--accent); }
.multi-list .check strong { display: inline-block; min-width: 6.5em; }
.check-none { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; }
.range-list { display: grid; gap: 2px; max-height: 300px; overflow-y: auto; }
.range-list:empty { display: none; }
.range-where { color: var(--faint); font-size: .9rem; }
.range-option input:checked + span { font-weight: 500; }


/* ---------- phones: nothing wider than the screen ---------- */

/* Grid columns may shrink below their longest word, so a long email address or link can't push the
   page (and the Menu button) wider than a phone. */
.split > *, .apply-grid > *, .side-grid > *, .variant-grid > * { min-width: 0; }
.big-link, .big-link a, .prose a, .lede a { overflow-wrap: anywhere; }

/* ---------- motion: entrances, the menu's gliding underline, dropdown cascade, scroll line ----------
   Decoration only. With reduced motion (the OS setting) or the site's own switch (.motion-off,
   "Pause video") nothing moves and everything is simply in place; links and menus work the same. */
@keyframes from-left { from { opacity: 0; translate: -28px 0; } }
@keyframes from-right { from { opacity: 0; translate: 28px 0; } }
@keyframes rise { from { opacity: 0; translate: 0 22px; } }
@keyframes wipe-up { from { opacity: 0; translate: 0 .3em; clip-path: inset(0 0 100% 0); } to { clip-path: inset(-.3em -.2em -.4em -.2em); } }
@keyframes drop-in { from { opacity: 0; translate: 0 -6px; } }
@keyframes shine { from { opacity: 1; background-position: 150% 0; } to { opacity: 1; background-position: -50% 0; } }

/* Items sliding in from the right never widen the page on a phone. */
.site-header { overflow-x: clip; }

/* A light that sweeps across the logo (only over the logo's own pixels). */
.site-header .brand { position: relative; }
.site-header .brand::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .65) 50%, transparent 62%) 150% 0 / 250% 100% no-repeat;
  -webkit-mask: url(/assets/brand/logo-on-dark.png) center / contain no-repeat;
  mask: url(/assets/brand/logo-on-dark.png) center / contain no-repeat;
}

/* The menu's underline: one bar that glides to the item under the pointer and back to the current
   page's (site.js). Without it, the current page keeps its plain underline. */
.nav { position: relative; }
.nav-glide {
  position: absolute; left: 0; top: 0; width: 0; height: 2px; border-radius: 2px; pointer-events: none;
  background: var(--accent); opacity: 0;
  transition: translate .45s var(--ease), width .45s var(--ease), opacity .25s;
}
.nav.has-glide .nav-link[aria-current], .nav.has-glide .nav-link[data-current] { box-shadow: none; }

/* How far down the page you are: a thin line along the bottom of the header once it has a background. */
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(var(--progress, 0)); transform-origin: 0 50%;
  opacity: 0; transition: opacity .3s;
}
.site-header.is-scrolled::after { opacity: 1; }

.nav-list > li:nth-child(2) { --i: 1; } .nav-list > li:nth-child(3) { --i: 2; } .nav-list > li:nth-child(4) { --i: 3; }
.nav-list > li:nth-child(5) { --i: 4; } .nav-list > li:nth-child(6) { --i: 5; } .nav-list > li:nth-child(7) { --i: 6; }
.nav-list > li:nth-child(8) { --i: 7; } .nav-login { --i: 8; } .menu-button { --i: 1; }
.hero-content > :nth-child(2), .page-top > .wrap > :nth-child(2) { --k: 1; }
.hero-content > :nth-child(3), .page-top > .wrap > :nth-child(3) { --k: 2; }
.hero-content > :nth-child(4), .page-top > .wrap > :nth-child(4) { --k: 3; }
.hero-content > :nth-child(n + 5), .page-top > .wrap > :nth-child(n + 5) { --k: 4; }
.nav-panel li:nth-child(2), .nav-pillar:nth-child(2) { --j: 1; } .nav-panel li:nth-child(3), .nav-pillar:nth-child(3) { --j: 2; }
.nav-panel li:nth-child(4), .nav-pillar:nth-child(4) { --j: 3; } .nav-panel li:nth-child(n + 5) { --j: 4; }

@media (prefers-reduced-motion: no-preference) {
  /* First page of a visit (boot.js): the logo slides in from the left, the menu from the right one
     item after another, then the light sweeps across the logo. */
  html.intro:not(.motion-off) .site-header .brand { animation: from-left .7s var(--ease) backwards; }
  html.intro:not(.motion-off) .site-header .nav-list > li,
  html.intro:not(.motion-off) .site-header .nav-login,
  html.intro:not(.motion-off) .site-header .menu-button {
    animation: from-right .6s var(--ease) backwards; animation-delay: calc(150ms + var(--i, 0) * 55ms);
  }
  html.intro:not(.motion-off) .site-header .brand::after { animation: shine 1.1s ease-in-out .95s; }
  html:not(.intro):not(.motion-off) .site-header .brand:hover::after { animation: shine .9s ease-in-out; }

  /* Every page: the opening words rise into place in turn, the headline wiping up from a line. */
  html:not(.motion-off) .hero-content > *, html:not(.motion-off) .page-top > .wrap > * {
    animation: rise .8s var(--ease) backwards; animation-delay: calc(var(--intro-d, 60ms) + var(--k, 0) * 110ms);
  }
  html:not(.motion-off) .hero-content > h1, html:not(.motion-off) .page-top > .wrap > h1 { animation-name: wipe-up; animation-duration: .95s; }
  html.intro { --intro-d: 300ms; }

  /* Dropdowns: their rows cascade in as the menu opens. */
  html:not(.motion-off) .has-menu:is(:hover, :focus-within) :is(.nav-pillar, .nav-panel li) {
    animation: drop-in .35s var(--ease) backwards; animation-delay: calc(var(--j, 0) * 45ms);
  }
}
@media (prefers-reduced-motion: reduce) { .nav-glide { transition: opacity .25s; } }
.motion-off .nav-glide { transition: opacity .25s; }

/* Apply forms: how they heard about Indigo, and who referred them. Yes shows the box for the
   referrer's Indigo email address, the domain already filled in. */
.choice-row { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.field-referrer { display: none; margin-top: 12px; }
[data-referral]:has(input[name="referred"][value="yes"]:checked) .field-referrer { display: grid; }
@supports not selector(:has(*)) { .field-referrer { display: grid; } }
.email-at { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px; }
.email-at:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.field-referrer, .email-at { min-width: 0; }
.field .email-at input { flex: 1 1 0; width: 0; min-width: 0; border: 0; background: none; }
.field .email-at input:focus-visible { outline: none; }
.email-domain { display: flex; align-items: center; padding: 0 13px; color: var(--muted); border-left: 1px solid var(--line); white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.motion-off) [data-referral]:has(input[name="referred"][value="yes"]:checked) .field-referrer { animation: drop-in .3s var(--ease) backwards; }
}
