/* 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: 1080px) {
  .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; }

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

.card-grid-4 { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.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-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-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.job-posted { color: var(--muted); margin-bottom: 16px; }

.office-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 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) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .numbered-4, .facts { grid-template-columns: repeat(2, 1fr); }
  .office-grid { 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) {
  .card-grid-4, .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; }
}
