/* =========================================================
   Line 21 Media Services — prototype stylesheet
   Direction: cinematic dark, warm & human, brand cyan accent
   ========================================================= */

/* ---------- Tokens ---------- */
/* =========================================================
   PALETTES
   Each palette defines a LIGHT set (L-*) for the off-white base
   and a DARK set (D-*) for the contrast sections and dark elements.
   Switch with <html data-palette="cinema"> (default: gallery).
   ========================================================= */
/* Palette 1 (default): Gallery. Cool, crisp off-white + midnight navy */
:root {
  --L-bg: #F4F4F1; --L-bg2: #EAEBE7; --L-bg3: #E0E2DD; --L-bg4: #D3D6D0;
  --L-text: #12161B; --L-dim: #4B535C; --L-faint: #626A73; --L-rgb: 18 22 27;
  --L-accent: #0A6C9C; --L-accent-hi: #0B8DC4; --L-warm: #A04A1E; --L-error: #B3261E;

  --D-bg: #0E141B; --D-bg2: #151D26; --D-bg3: #1D2731; --D-bg4: #28333F;
  --D-text: #F1F3F4; --D-dim: #B3BCC5; --D-faint: #85909B; --D-rgb: 241 243 244;
  --D-accent: #4CCBF5; --D-warm: #F5A262; --D-error: #FFA294;

  --g-line: initial; --g-dot: initial; --g-dot-ink: initial; /* graphics follow the accent */
}
/* Palette 2: Cinema. The original dark-first design.
   Here the "L" (base) set is dark and the "D" (contrast) set is light paper. */
:root[data-palette="cinema"] {
  --L-bg: #100E0C; --L-bg2: #171512; --L-bg3: #201D19; --L-bg4: #2B2722;
  --L-text: #F4EFE6; --L-dim: #BDB4A6; --L-faint: #8D8476; --L-rgb: 244 239 230;
  --L-accent: #3FC6F2; --L-accent-hi: #3FC6F2; --L-warm: #F2A65A; --L-error: #FFA294;

  --D-bg: #F4EFE6; --D-bg2: #EAE3D6; --D-bg3: #E2D9CA; --D-bg4: #D8CDBC;
  --D-text: #1A1714; --D-dim: #5B544A; --D-faint: #6F665B; --D-rgb: 26 23 20;
  --D-accent: #0B6A95; --D-warm: #9A5512; --D-error: #B3261E;
  --g-line: initial; --g-dot: initial; --g-dot-ink: initial;
  color-scheme: dark;
}
:root:is([data-palette="cinema"], [data-palette="projector"]) .paper { color-scheme: light; }
/* Palette 5: Projector. Cinema's dark-first layout in Beacon's colours, with #F5AB00 amber.
   Base is black #000501 with off-white type; the contrast sections are off-white paper.
   Amber is 10.6:1 on black (used exactly there) but too light on off-white, so on paper
   it appears only as a highlighter fill behind black text, or as a deeper shade for small text. */
:root[data-palette="projector"] {
  --L-bg: #000501; --L-bg2: #0B1114; --L-bg3: #151C20; --L-bg4: #20282D;
  --L-text: #F0EDEE; --L-dim: #B9BDC2; --L-faint: #8E9399; --L-rgb: 240 237 238;
  --L-accent: #1E96FC; --L-accent-hi: #1E96FC;   /* exact blue on black: 6.8:1 */
  --L-warm: #F5AB00;                              /* exact amber on black: 10.6:1 */
  --L-error: #FFA294;

  --D-bg: #F0EDEE; --D-bg2: #E6E2E3; --D-bg3: #DBD6D8; --D-bg4: #CEC8CA;
  --D-text: #000501; --D-dim: #45484D; --D-faint: #5C5F64; --D-rgb: 0 5 1;
  --D-accent: #0B6BC0;     /* deeper blue for links on off-white: 4.6:1 */
  --D-warm: #8F5F00;       /* deeper amber for small text on off-white: 4.7:1 */
  --D-error: #B3261E;

  --g-line: #1E96FC; --g-dot: #F5AB00; --g-dot-ink: #000501;
  --sig-hl: #F5AB00; --sig-blue: #1E96FC;
  color-scheme: dark;
}
/* Italic heading words: blue on the black base (amber on a few headings marked
   data-accent="warm"); black with an amber highlighter on paper */
:root[data-palette="projector"] :is(.h1, .h2) em { color: var(--sig-blue); }
:root[data-palette="projector"] :is(.h1, .h2)[data-accent="warm"] em { color: var(--sig-hl); }
:root[data-palette="projector"] .paper :is(.h1, .h2) em { color: #000501; }
:root[data-palette="projector"] .paper :is(.h1, .h2) em > .em-in {
  background: linear-gradient(transparent 56%, var(--sig-hl) 56%, var(--sig-hl) 90%, transparent 90%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Palette 6: Matinee. Projector's colours, light-first: off-white base, black contrast sections. */
:root[data-palette="matinee"] {
  --L-bg: #F0EDEE; --L-bg2: #E6E2E3; --L-bg3: #DBD6D8; --L-bg4: #CEC8CA;
  --L-text: #000501; --L-dim: #45484D; --L-faint: #5C5F64; --L-rgb: 0 5 1;
  --L-accent: #0B6BC0;     /* links on off-white: 4.6:1 */
  --L-accent-hi: #1680DA;  /* large italic heading words on off-white: 3.5:1 */
  --L-warm: #8F5F00;       /* deeper amber for small text on off-white: 4.7:1 */
  --L-error: #B3261E;

  --D-bg: #000501; --D-bg2: #0B1114; --D-bg3: #151C20; --D-bg4: #20282D;
  --D-text: #F0EDEE; --D-dim: #B9BDC2; --D-faint: #8E9399; --D-rgb: 240 237 238;
  --D-accent: #1E96FC;     /* exact blue on black: 6.8:1 */
  --D-warm: #F5AB00;       /* exact amber on black: 10.6:1 */
  --D-error: #FFA294;

  --g-line: #1E96FC; --g-dot: #F5AB00; --g-dot-ink: #000501;
  --sig-hl: #F5AB00; --sig-blue: #1E96FC;
}
/* Italic heading words: blue on off-white; exact blue on black.
   A few headings (data-accent="warm") keep amber: a highlighter on off-white, amber text on black. */
:root[data-palette="matinee"] :is(.h1, .h2) em { color: var(--L-accent-hi); }
:root[data-palette="matinee"] :is(.h1, .h2)[data-accent="warm"] em { color: #000501; }
:root[data-palette="matinee"] :is(.h1, .h2)[data-accent="warm"] em > .em-in {
  background: linear-gradient(transparent 56%, var(--sig-hl) 56%, var(--sig-hl) 90%, transparent 90%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:root[data-palette="matinee"] :is(.paper, .site-footer) :is(.h1, .h2) em { color: var(--sig-blue); }
:root[data-palette="matinee"] :is(.paper, .site-footer) :is(.h1, .h2)[data-accent="warm"] em { color: var(--sig-hl); }
:root[data-palette="matinee"] :is(.paper, .site-footer) :is(.h1, .h2)[data-accent="warm"] em > .em-in { background: none; padding-inline: 0; }

/* Palette 3: Signal. Off-white #F0EDEE, black #000501, blue #1E96FC, green #73AB84, yellow #FCF300.
   Exact colours go where they pass contrast (on black, as fills behind black text, or on graphics);
   deeper shades are used only for small text on the off-white. See the extra rules near the end. */
:root[data-palette="signal"] {
  --L-bg: #F0EDEE; --L-bg2: #E6E2E3; --L-bg3: #DBD6D8; --L-bg4: #CEC8CA;
  --L-text: #000501; --L-dim: #45484D; --L-faint: #5C5F64; --L-rgb: 0 5 1;
  --L-accent: #0B6BC0;     /* deeper #1E96FC for small link text on off-white: 4.6:1 */
  --L-accent-hi: #1680DA;  /* large display words: 3.5:1 */
  --L-warm: #2F6B43;       /* deeper #73AB84 for small text (sound tags): 5.4:1 */
  --L-error: #B3261E;

  --D-bg: #000501; --D-bg2: #0B1114; --D-bg3: #151C20; --D-bg4: #20282D;
  --D-text: #F0EDEE; --D-dim: #B9BDC2; --D-faint: #8E9399; --D-rgb: 240 237 238;
  --D-accent: #1E96FC;     /* exact blue on black: 6.8:1 */
  --D-warm: #FCF300;       /* exact yellow on black: 17:1 */
  --D-error: #FFA294;

  --g-line: #1E96FC; --g-dot: #73AB84; --g-dot-ink: #000501;
  --sig-hl: #FCF300; --sig-green: #73AB84; --sig-blue: #1E96FC;
}
/* Palette 4: Beacon. Signal without the green, and #F58F00 orange in place of the yellow.
   Orange passes on black (8.8:1) and as a fill behind black text; on off-white it is used
   only for graphics and highlights, with a deeper shade for small text. */
:root[data-palette="beacon"] {
  --L-bg: #F0EDEE; --L-bg2: #E6E2E3; --L-bg3: #DBD6D8; --L-bg4: #CEC8CA;
  --L-text: #000501; --L-dim: #45484D; --L-faint: #5C5F64; --L-rgb: 0 5 1;
  --L-accent: #0B6BC0; --L-accent-hi: #1680DA;
  --L-warm: #9A5200;       /* deeper #F58F00 for small text on off-white (sound tags): 5:1 */
  --L-error: #B3261E;

  --D-bg: #000501; --D-bg2: #0B1114; --D-bg3: #151C20; --D-bg4: #20282D;
  --D-text: #F0EDEE; --D-dim: #B9BDC2; --D-faint: #8E9399; --D-rgb: 240 237 238;
  --D-accent: #1E96FC;
  --D-warm: #F58F00;       /* exact orange on black: 8.8:1 */
  --D-error: #FFA294;

  --g-line: #1E96FC; --g-dot: #F58F00; --g-dot-ink: #000501;
  --sig-hl: #F58F00; --sig-blue: #1E96FC;
}

/* Light scope (the page base). Component code uses these role names. */
:root {
  --ink: var(--L-bg); --ink-2: var(--L-bg2); --ink-3: var(--L-bg3); --ink-4: var(--L-bg4);
  --cream: var(--L-text); --cream-dim: var(--L-dim); --cream-faint: var(--L-faint);
  --line: rgb(var(--L-rgb) / .12); --line-strong: rgb(var(--L-rgb) / .24);
  --cyan: var(--L-accent); --cyan-soft: color-mix(in srgb, var(--L-accent) 14%, transparent);
  --cyan-hi: var(--L-accent-hi); /* brighter brand cyan: large display text & graphic strokes only */
  --amber: var(--L-warm); --amber-soft: color-mix(in srgb, var(--L-warm) 16%, transparent);
  --error: var(--L-error);
  /* "paper" = the contrasting dark sections */
  --paper: var(--D-bg); --paper-2: var(--D-bg2);
  --paper-ink: var(--D-text); --paper-dim: var(--D-dim);
  --line-paper: rgb(var(--D-rgb) / .14);
  --cyan-deep: var(--D-accent);
  --glass: color-mix(in srgb, var(--L-bg) 82%, transparent);

  /* Type */
  --f-display: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif; /* Type D: bold sans */
  --f-accent: "DM Serif Display", Georgia, "Times New Roman", serif;       /* Type D: italic accent */
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fs-h2: clamp(2.25rem, 1.6rem + 3vw, 4.5rem);
  --fs-h1: clamp(3rem, 1.8rem + 6vw, 8.25rem);
  --fs-mega: clamp(3.5rem, 1rem + 11vw, 13rem);

  /* Space */
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --section: clamp(5rem, 3rem + 8vw, 10rem);
  --max: 1320px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --t-fast: 180ms;
  --t-med: 420ms;
  --t-slow: 900ms;

  --header-h: 76px;
  color-scheme: light;
}

/* Dark scope: contrast sections and dark elements re-map every role. */
.paper, .site-footer, .ear-panel, .contact-card {
  --ink: var(--D-bg); --ink-2: var(--D-bg2); --ink-3: var(--D-bg3); --ink-4: var(--D-bg4);
  --cream: var(--D-text); --cream-dim: var(--D-dim); --cream-faint: var(--D-faint);
  --line: rgb(var(--D-rgb) / .12); --line-strong: rgb(var(--D-rgb) / .24);
  --cyan: var(--D-accent); --cyan-soft: color-mix(in srgb, var(--D-accent) 14%, transparent);
  --cyan-hi: var(--D-accent);
  --amber: var(--D-warm); --amber-soft: color-mix(in srgb, var(--D-warm) 16%, transparent);
  --error: var(--D-error);
  --paper: var(--D-bg); --paper-2: var(--D-bg2);
  --paper-ink: var(--D-text); --paper-dim: var(--D-dim);
  --line-paper: rgb(var(--D-rgb) / .14);
  --cyan-deep: var(--D-accent);
  --glass: color-mix(in srgb, var(--D-bg) 82%, transparent);
  color-scheme: dark;
  color: var(--cream);
}
/* Cinema keeps the footer, comparison panel and contact cards dark, as in the original. */
:root:is([data-palette="cinema"], [data-palette="projector"]) :is(.site-footer, .ear-panel, .contact-card) {
  --ink: var(--L-bg); --ink-2: var(--L-bg2); --ink-3: var(--L-bg3); --ink-4: var(--L-bg4);
  --cream: var(--L-text); --cream-dim: var(--L-dim); --cream-faint: var(--L-faint);
  --line: rgb(var(--L-rgb) / .12); --line-strong: rgb(var(--L-rgb) / .24);
  --cyan: var(--L-accent); --cyan-soft: color-mix(in srgb, var(--L-accent) 14%, transparent);
  --cyan-hi: var(--L-accent-hi);
  --amber: var(--L-warm); --amber-soft: color-mix(in srgb, var(--L-warm) 16%, transparent);
  --error: var(--L-error);
  --glass: color-mix(in srgb, var(--L-bg) 82%, transparent);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: var(--fs-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.02; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cyan); color: var(--ink); }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}
.paper :focus-visible { outline-color: var(--cyan-deep); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--cyan); color: var(--ink); padding: .75rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Cross-document page transitions (progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 260ms var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in 520ms var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* Film grain — tiny inline SVG, GPU-cheap */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .04;
  mix-blend-mode: multiply;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .muted { color: var(--paper-dim); }
.ink-2 { background: var(--ink-2); }

.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }

/* ---------- Type utilities ---------- */
.display { font-family: var(--f-display); font-weight: 400; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; }
.h1 { font-family: var(--f-display); font-size: var(--fs-h1); line-height: .95; letter-spacing: -.025em; }
.h2 { font-family: var(--f-display); font-size: var(--fs-h2); line-height: 1; letter-spacing: -.02em; }
.h3 { font-family: var(--f-display); font-size: var(--fs-h3); line-height: 1.1; }
.lede { font-size: var(--fs-lg); line-height: 1.55; color: var(--cream-dim); max-width: 38ch; }
.paper .lede { color: var(--paper-dim); }
.muted { color: var(--cream-dim); }
.accent { color: var(--cyan); }
.paper .accent { color: var(--cyan-deep); }
.mono { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .02em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-dim);
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6;
}
.paper .eyebrow { color: var(--paper-dim); }
.eyebrow--dot::before { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); opacity: 1; box-shadow: 0 0 0 4px var(--cyan-soft); }

/* Highlight “caption tag” — [like this] */
.tag {
  font-family: var(--f-mono); font-size: .8em; letter-spacing: 0;
  color: var(--amber); white-space: nowrap;
}

/* Hand-drawn underline (the "line") */
.u-line { position: relative; white-space: nowrap; }
.u-line svg {
  position: absolute; left: -2%; width: 104%; bottom: -.18em; height: .32em; overflow: visible;
}
.u-line path {
  fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.2s var(--ease-out) .5s;
}
.paper .u-line path { stroke: var(--cyan-deep); }
.is-in .u-line path, .u-line.is-in path { stroke-dashoffset: 0; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cyan); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: 0 1.5rem; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: var(--fs-sm); letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--cream); transform: translateY(101%);
  transition: transform var(--t-med) var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 10px 30px -10px rgba(63, 198, 242, .55); }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; transition: transform var(--t-med) var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover { color: var(--ink); box-shadow: none; }
.paper .btn--ghost { --fg: var(--paper-ink); box-shadow: inset 0 0 0 1px var(--line-paper); }
.paper .btn--ghost::before { background: var(--paper-ink); }
.paper .btn--ghost:hover { color: var(--paper); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 500;
  border-bottom: 1px solid var(--line-strong); padding-bottom: .2rem;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.link-arrow:hover { border-color: var(--cyan); color: var(--cyan); }
.paper .link-arrow { border-color: var(--line-paper); }
.paper .link-arrow:hover { color: var(--cyan-deep); border-color: var(--cyan-deep); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-med) var(--ease-out); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Logo ---------- */
.logo {
  position: relative; display: inline-flex; align-items: flex-start;
  /* Wordmark: "Line" in bold sans + "21" in cursive serif italic */
  font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; font-style: normal;
  font-size: 1.8rem; line-height: 1;
  color: var(--cream); padding-bottom: .3rem; letter-spacing: -.055em;
}
.logo sup {
  font-family: "DM Serif Display", var(--f-display); font-weight: 400; font-style: italic;
  font-size: .64em; color: var(--cyan); margin-left: .1em; top: -.08em; position: relative;
  line-height: 1; letter-spacing: -.01em;
}
.logo svg { position: absolute; left: -4%; bottom: -.05rem; width: 112%; height: .55rem; overflow: visible; }
.logo path {
  fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.6s var(--ease-out) .35s forwards;
}
.logo:hover path { animation: redraw 1.1s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes redraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
.logo--lg { font-size: clamp(3.5rem, 2rem + 6vw, 7rem); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-med), border-color var(--t-med);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav a {
  position: relative; padding: .6rem .8rem; font-size: var(--fs-sm); color: var(--cream-dim);
  transition: color var(--t-fast);
}
.nav a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 1px;
  background: var(--cyan); transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-med) var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-cta .btn { min-height: 44px; padding: 0 1.15rem; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong); position: relative;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--cream);
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path 600ms var(--ease-in-out), visibility 0s 600ms;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 600ms var(--ease-in-out); }
.mobile-menu ol { counter-reset: m; }
.mobile-menu li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 1rem; padding: .7rem 0;
  font-family: var(--f-display); font-size: clamp(2.25rem, 9vw, 3.5rem); line-height: 1.1;
  transform: translateY(105%); transition: transform 700ms var(--ease-out);
}
.mobile-menu li a::before { counter-increment: m; content: "0" counter(m); font-family: var(--f-mono); font-size: .75rem; color: var(--cream-faint); }
.mobile-menu li a[aria-current="page"] { color: var(--cyan); font-style: italic; }
.menu-open .mobile-menu li a { transform: none; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 50ms; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 100ms; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 150ms; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: 200ms; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: 250ms; }
.menu-open .mobile-menu li:nth-child(7) a { transition-delay: 300ms; }
.mobile-menu .menu-foot { display: grid; gap: .25rem; color: var(--cream-dim); font-size: var(--fs-sm); padding-top: 2rem; }
.menu-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Reveal system ---------- */
/* Content is visible by default; JS adds .js to <html> to enable animation. */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Word-by-word mask reveal for headings */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .12em .16em 0; margin: 0 -.12em -.16em 0; }
.js [data-split] .w > span {
  display: inline-block; transform: translateY(105%);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0) * 1ms);
}
.js [data-split].is-in .w > span { transform: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow-x: clip; /* clip, not hidden: keeps position: sticky working inside */
}
.hero-pin { position: relative; padding-top: calc(var(--header-h) + clamp(2rem, 6vw, 5rem)); }
/* Desktop: the whole hero pins while three scroll steps flip the reel. */
@media (min-width: 961px) and (min-height: 700px) {
  .hero-track { height: 205svh; } /* ~35svh of scrolling per scene */
  .hero-pin {
    position: sticky; top: 0; height: 100svh; padding-top: var(--header-h);
    display: flex; flex-direction: column; justify-content: center;
  }
  .page-home .hero h1.h1 { font-size: min(clamp(2.7rem, 1.3rem + 5.3vw, 7rem), 11svh); }
}
.hero-pin::before { /* warm projector glow */
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 90%; z-index: -1;
  background:
    radial-gradient(50% 60% at 70% 40%, rgba(63, 198, 242, .14), transparent 70%),
    radial-gradient(40% 50% at 20% 70%, rgba(242, 166, 90, .10), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin: 1.4rem 0 1.6rem; }
.hero h1 em { color: var(--cyan); }

/* Home hero headline: the largest heading on the site (type rules: "Type system" near the end) */
.page-home .hero h1.h1 {
  font-size: clamp(2.7rem, 1.3rem + 5.3vw, 7rem);
  line-height: .98;
  word-spacing: .02em;
}
.hero .lede { margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem clamp(2.5rem, 6vw, 5.5rem); margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.5rem; border-top: 1px solid var(--line); text-align: center;
}
.hero-meta div { display: grid; gap: .1rem; justify-items: center; }
.hero-meta strong { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.5rem); line-height: 1; }
.hero-meta span { font-size: var(--fs-sm); color: var(--cream-dim); margin-top: .35rem; max-width: 22ch; line-height: 1.4; }
.hero-meta div { gap: .2rem; align-content: start; }
/* ∞ in the stats row: same height as the numbers, glyph scaled and centred on them */
.hero-meta .meta-inf { display: flex; align-items: center; justify-content: center; height: 1em; }
.hero-meta .meta-inf span { font-size: 1.65em; line-height: 1; margin: 0; max-width: none; color: inherit; transform: translateY(-.05em); }

/* Home: the four "every project gets" facts that replaced the repeated stats row */
.stats--promise .stat-kicker { margin: 0 0 .9rem; color: var(--cream-faint); letter-spacing: .12em; text-transform: uppercase; }
.paper .stats--promise .stat-kicker { color: var(--paper-dim); }
.stats--promise .stat-num { font-size: clamp(2.6rem, 1.8rem + 3vw, 4.5rem); }
.stats--promise .stat-num small { font-size: .38em; margin-left: .25em; letter-spacing: 0; font-weight: 700; color: var(--cyan-hi); }
.stats--promise .stat-label a { color: inherit; font-weight: 600; border-bottom: 1px solid currentColor; }

/* Home › human ear: the two notes stand out as a blue-edged callout */
.ear .ear-copy .note { border: 1px solid color-mix(in srgb, var(--cyan) 30%, transparent); border-left: 4px solid var(--g-line, var(--cyan)); background: color-mix(in srgb, var(--cyan) 9%, var(--ink)); color: var(--cream); }
.ear .ear-copy .note strong { color: var(--cyan-hi); font-weight: 700; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ---------- Reel deck (hero): three stacked screens that flip on scroll ---------- */
.reel-deck { position: relative; aspect-ratio: 16 / 10; perspective: 1800px; margin-bottom: 8%; }
.reel-deck .screen {
  position: absolute; inset: 0; transform-origin: 50% 0;
  transition: transform 1s var(--ease-out), opacity .7s var(--ease-out), filter 1s var(--ease-out);
}
.reel-deck .screen[data-state="active"] { z-index: 3; }
.reel-deck .screen[data-state="next"] { z-index: 2; transform: translateY(13%) scale(.93); filter: brightness(.5) saturate(.8); }
.reel-deck .screen[data-state="later"] { z-index: 1; transform: translateY(26%) scale(.86); filter: brightness(.3) saturate(.6); }
.reel-deck .screen[data-state="past"] {
  z-index: 4; opacity: 0; pointer-events: none;
  transform: translateY(-6%) rotateX(68deg) scale(.97);
  transition: transform .9s var(--ease-out), opacity .55s ease-in, filter .9s;
}
.reel-deck .screen:not([data-state="active"]) :is(.screen-hud, .caption-track, .screen-frame) { opacity: 0; }
.reel-deck .screen :is(.screen-hud, .caption-track, .screen-frame) { transition: opacity .4s; }
/* Small screens / short viewports: the deck alone pins while the page scrolls past it. */
@media not ((min-width: 961px) and (min-height: 700px)) {
  .reel-sticky { position: sticky; top: max(.75rem, calc(50svh - 31vw - 4.5rem)); }
  .reel-spacer { height: 95svh; }
}
.reel-nav { margin-top: .25rem; }
.reel-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.reel-steps button {
  display: grid; gap: .7rem; width: 100%; min-height: 44px; padding: .35rem 0; text-align: left;
  font-family: var(--f-body); font-size: clamp(.82rem, .75rem + .25vw, .95rem); font-weight: 600; line-height: 1.2;
  color: var(--cream-faint); transition: color var(--t-fast);
}
.reel-steps button:hover, .reel-steps button[aria-current] { color: var(--cream); }
.reel-steps .bar { position: relative; height: 4px; border-radius: 4px; overflow: hidden; background: var(--line-strong); }
.reel-steps .bar i { position: absolute; inset: 0; background: var(--cyan); transform-origin: left; transform: scaleX(var(--fill, 0)); }
.reel-steps .lbl { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.reel-steps .lbl b {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1; letter-spacing: -.03em;
  color: var(--cream-faint); transition: color var(--t-fast);
}
.reel-steps button[aria-current] .lbl b { color: var(--cyan-hi); }
.reel-nav .screen-legend {
  margin-top: .75rem; align-items: center;
  font-size: clamp(.78rem, .72rem + .2vw, .88rem); color: var(--cream-dim);
}
.reel-nav .screen-legend b { color: var(--cream); }

/* ---------- Reel panels (process + CTA) ---------- */
.reel-panel { margin-bottom: clamp(3rem, 6vw, 5rem); }
.reel-panel--cta { max-width: 1100px; margin: clamp(3rem, 7vw, 6rem) auto 0; text-align: left; }
.screen--wide { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .screen--wide { aspect-ratio: 16 / 10; } }

/* ---------- Screen / caption player ---------- */
.screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(60% 70% at 65% 40%, #2a221b, #0b0a09 75%);
  box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0,0,0,.8), 0 0 120px -40px rgba(63,198,242,.35);
  isolation: isolate;
}
.screen video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;
  opacity: 0; transition: opacity .8s ease;
}
.screen.is-ready video { opacity: 1; }
.screen::after { /* gentle scrim so the HUD and captions read over any footage */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45), transparent 24%, transparent 68%, rgba(0,0,0,.3));
}
.screen :is(.screen-hud, .caption-track, .screen-frame) { z-index: 1; }
.screen-scene {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(38% 55% at 72% 38%, rgba(255, 196, 138, .55), transparent 70%),
    radial-gradient(30% 40% at 30% 60%, rgba(63, 198, 242, .30), transparent 70%),
    radial-gradient(70% 70% at 50% 120%, rgba(242, 166, 90, .25), transparent 70%),
    linear-gradient(160deg, #2a221b 0%, #120f0c 55%, #0b0a09 100%);
  animation: scene-drift 18s ease-in-out infinite alternate;
}
/* Abstract silhouettes — a conversation at a window */
.screen-scene::before, .screen-scene::after {
  content: ""; position: absolute; bottom: 0; border-radius: 48% 48% 0 0 / 40% 40% 0 0;
  background: linear-gradient(180deg, rgba(8,7,6,.92), #070605);
  filter: blur(1.5px);
}
.screen-scene::before { left: 18%; width: 22%; height: 62%; }
.screen-scene::after { right: 14%; width: 25%; height: 70%; }
@keyframes scene-drift {
  0% { transform: scale(1) translate(0, 0); filter: brightness(1); }
  100% { transform: scale(1.06) translate(-1.5%, -1%); filter: brightness(1.12); }
}
.screen-window { /* soft light shafts */
  position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: repeating-linear-gradient(100deg, transparent 0 60px, rgba(255, 220, 180, .08) 60px 64px);
  mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent);
  -webkit-mask-image: radial-gradient(60% 60% at 70% 30%, #000, transparent);
}
.screen-hud {
  position: absolute; inset: 0; padding: clamp(.8rem, 2vw, 1.25rem);
  display: flex; justify-content: space-between; align-items: flex-start;
  font-family: var(--f-mono); font-size: clamp(.625rem, .55rem + .3vw, .75rem); color: rgba(244,239,230,.75);
}
.screen-hud .rec { display: inline-flex; align-items: center; gap: .45rem; }
.screen-hud .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.screen-frame { /* safe-area guides, like an editor's monitor */
  position: absolute; inset: 7% 6%; border: 1px dashed rgba(244,239,230,.13); border-radius: 6px; pointer-events: none;
}
.caption-track {
  position: absolute; left: 6%; right: 6%; bottom: 9%;
  display: flex; justify-content: center; min-height: 3.2em;
}
.caption {
  display: inline-block; max-width: 82%;
  background: rgba(0,0,0,.82); color: #fff;
  font-family: var(--f-body); font-weight: 500; font-size: clamp(.8rem, .62rem + .9vw, 1.2rem); line-height: 1.35;
  padding: .35em .7em; border-radius: 3px; text-align: center;
  transition: opacity 120ms linear, transform 300ms var(--ease-out);
}
.caption[data-pos="left"] { transform: translateX(-28%); }
.caption[data-pos="right"] { transform: translateX(28%); }
.caption.is-swapping { opacity: 0; }
.caption i { color: #FFE9A8; font-style: normal; }
.caption em { font-style: italic; } /* off-screen voice */
/* Subtitles: no box, shadowed white text — how translated subtitles usually look. */
.screen[data-style="sub"] .caption {
  background: none; font-weight: 600; font-size: clamp(.9rem, .7rem + 1vw, 1.35rem);
  text-shadow: 0 1px 2px #000, 0 0 14px rgba(0,0,0,.85);
}
.screen-legend {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 1rem;
  font-family: var(--f-mono); font-size: .72rem; color: var(--cream-faint);
}
.screen-legend b { color: var(--cream-dim); font-weight: 500; }
.screen-controls { display: flex; gap: .5rem; align-items: center; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--cream);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.icon-btn:hover { background: var(--cream); color: var(--ink); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn .i-play, .icon-btn.is-paused .i-pause { display: none; }
.icon-btn.is-paused .i-play { display: block; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding-block: 1.6rem; border-block: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; gap: 3rem; padding-right: 3rem; }
.marquee li {
  font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.5vw, 2.1rem); color: var(--cream-dim);
  white-space: nowrap; display: flex; align-items: center; gap: 3rem;
}
.marquee li::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: .7; }
.marquee li:nth-child(even) { font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-label { text-align: center; margin-bottom: 1.25rem; }

/* ---------- Section heads ---------- */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head .h2 { margin-top: 1rem; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Ear test (human vs machine) ---------- */
.ear { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 960px) { .ear { grid-template-columns: 1fr; } }
.ear-copy .h2 { margin: 1rem 0 1.5rem; }
.ear-copy p { color: var(--cream-dim); max-width: 46ch; }
.ear-copy .note {
  margin-top: 2rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: var(--ink-2);
  border: 1px solid var(--line); font-size: var(--fs-sm); color: var(--cream-dim);
}
.ear-copy .note strong { color: var(--cream); font-weight: 600; }

.ear-panel { border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line); overflow: hidden; }
.ear-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
}
.toggle {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px;
  background: var(--ink); box-shadow: inset 0 0 0 1px var(--line);
}
.toggle button {
  position: relative; z-index: 1; min-height: 40px; padding: 0 1rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .02em; color: var(--cream-dim);
  transition: color var(--t-med);
}
.toggle button[aria-pressed="true"] { color: var(--ink); }
.toggle-thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: var(--cyan); transition: transform var(--t-med) var(--ease-out), background-color var(--t-med);
}
.toggle[data-state="machine"] .toggle-thumb { transform: translateX(100%); background: var(--amber); }

.ear-list li {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 1.15rem 1.25rem; border-bottom: 1px solid var(--line);
}
.ear-list li:last-child { border-bottom: 0; }
.ear-list .tc { font-family: var(--f-mono); font-size: .72rem; color: var(--cream-faint); }
.ear-line { font-size: clamp(1rem, .9rem + .4vw, 1.2rem); line-height: 1.45; }
.ear-line .spk { font-family: var(--f-mono); font-size: .75em; color: var(--cream-faint); margin-right: .4rem; }
.swap { position: relative; display: inline-grid; vertical-align: bottom; }
.swap > span { grid-area: 1 / 1; transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), filter var(--t-med); white-space: nowrap; }
.swap .human { color: var(--cyan); }
.swap .machine { color: var(--amber); opacity: 0; transform: translateY(40%); filter: blur(4px); text-decoration: line-through; text-decoration-thickness: 1px; }
[data-state="machine"] .swap .human { opacity: 0; transform: translateY(-40%); filter: blur(4px); }
[data-state="machine"] .swap .machine { opacity: 1; transform: none; filter: none; }
.ear-why { display: block; margin-top: .35rem; font-size: var(--fs-xs); color: var(--cream-faint); }
.ear-score {
  display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem;
  background: var(--ink-3); font-family: var(--f-mono); font-size: .75rem; color: var(--cream-dim);
}
.ear-score b { color: var(--cyan); font-weight: 500; transition: color var(--t-med); }
[data-state="machine"] .ear-score b { color: var(--amber); }

/* ---------- Services list (editorial) ---------- */
.svc-list { border-top: 1px solid var(--line); }
.paper .svc-list { border-color: var(--line-paper); }
.svc-row {
  position: relative; display: grid; grid-template-columns: 4rem 1.2fr 1.4fr 3rem; gap: 1.5rem; align-items: center;
  padding: clamp(1.5rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--line);
  transition: padding var(--t-med) var(--ease-out);
}
.paper .svc-row { border-color: var(--line-paper); }
.svc-row::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 700ms var(--ease-out);
}
.paper .svc-row::before { background: var(--cyan-deep); }
.svc-row:hover::before, .svc-row:focus-visible::before { transform: scaleX(1); }
.svc-num { font-family: var(--f-mono); font-size: .75rem; color: var(--cream-faint); }
.paper .svc-num { color: var(--paper-dim); }
.svc-name { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.75rem); line-height: 1; transition: transform var(--t-med) var(--ease-out); }
.svc-row:hover .svc-name { transform: translateX(.4rem); font-style: italic; }
.svc-desc { color: var(--cream-dim); font-size: var(--fs-sm); max-width: 44ch; }
.paper .svc-desc { color: var(--paper-dim); }
.svc-arrow {
  justify-self: end; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color var(--t-med), color var(--t-med), transform var(--t-med) var(--ease-out);
}
.paper .svc-arrow { box-shadow: inset 0 0 0 1px var(--line-paper); }
.svc-arrow svg { width: 18px; height: 18px; }
.svc-row:hover .svc-arrow { background: var(--cyan); color: var(--ink); transform: rotate(-45deg); }
.paper .svc-row:hover .svc-arrow { background: var(--cyan-deep); color: var(--paper); }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 2.5rem 1fr 3rem; }
  .svc-desc { grid-column: 2 / 3; }
  .svc-arrow { grid-row: 1; grid-column: 3; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.paper .stats { border-color: var(--line-paper); }
.stat { padding: 2rem 1.5rem 0 0; border-right: 1px solid var(--line); }
.paper .stat { border-color: var(--line-paper); }
.stat + .stat { padding-left: 1.5rem; }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--f-display); font-size: clamp(3rem, 2rem + 4vw, 6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
/* The ∞ glyph draws small in most faces: scale it up but keep the row's height */
/* Same box as the numbers beside it (1em tall), with the glyph scaled up and centred
   on the digits' visual middle, so the row lines up. */
.stat-num--inf { display: flex; align-items: center; justify-content: center; height: 1em; }
.stat-num--inf span { font-size: 1.65em; line-height: 1; transform: translateY(-.05em); }
.stat-num sup { font-size: .4em; color: var(--cyan); vertical-align: top; position: relative; top: .3em; }
.paper .stat-num sup { color: var(--cyan-deep); }
.stat-label { margin-top: .75rem; font-size: var(--fs-sm); color: var(--cream-dim); max-width: 22ch; }
.paper .stat-label { color: var(--paper-dim); }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.75rem 1rem 1.75rem 0; border-bottom: 1px solid var(--line); }
  .paper .stat { border-bottom-color: var(--line-paper); }
  .stat:nth-child(2n) { border-right: 0; padding-left: 1rem; }
  .stat:nth-child(2n+1) { padding-left: 0; }
}

/* ---------- Process timeline ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; padding-top: 3rem; }
.process-rail { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.process-rail span { position: absolute; inset: 0; background: var(--cyan); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step::before {
  content: ""; position: absolute; top: calc(-3rem - 6px); left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong);
  transition: background-color var(--t-med), box-shadow var(--t-med);
}
.step.is-lit::before { background: var(--cyan); box-shadow: 0 0 0 5px var(--cyan-soft); }
.step .tc { font-family: var(--f-mono); font-size: .72rem; color: var(--cream-faint); }
.step h3 { font-family: var(--f-display); font-size: 1.6rem; margin: .5rem 0 .6rem; line-height: 1.1; }
.step p { font-size: var(--fs-sm); color: var(--cream-dim); }
@media (max-width: 960px) {
  .process { grid-template-columns: 1fr; padding-top: 0; padding-left: 2.5rem; gap: 2.25rem; }
  .process-rail { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .process-rail span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step::before { top: .2rem; left: calc(-2.5rem); }
}

/* ---------- Archive feature ---------- */
.archive { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 900px) { .archive { grid-template-columns: 1fr; } }
.reels { position: relative; aspect-ratio: 1; max-width: min(520px, 78vw); width: 100%; justify-self: center; }
.reel {
  position: absolute; border-radius: 50%;
  background:
    radial-gradient(circle, var(--ink) 0 9%, transparent 9.5%),
    repeating-radial-gradient(circle, color-mix(in srgb, var(--cream) 90%, var(--ink)) 0 1px, color-mix(in srgb, var(--cream) 76%, var(--ink)) 1px 3px),
    var(--cream);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  animation: spin 12s linear infinite;
}
.reel::before { /* spokes */
  content: ""; position: absolute; inset: 22%; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--ink) 0 30deg, transparent 30deg 120deg, var(--ink) 120deg 150deg, transparent 150deg 240deg, var(--ink) 240deg 270deg, transparent 270deg);
  mask: radial-gradient(circle, transparent 28%, #000 29%, #000 70%, transparent 71%);
  -webkit-mask: radial-gradient(circle, transparent 28%, #000 29%, #000 70%, transparent 71%);
  opacity: .9;
}
.reel--a { width: 62%; aspect-ratio: 1; left: 0; top: 4%; }
.reel--b { width: 46%; aspect-ratio: 1; right: 2%; bottom: 6%; animation-duration: 8s; animation-direction: reverse; }
/* A strip of label tape stuck across the reels */
.reel-label {
  position: absolute; left: 22%; bottom: 2%; z-index: 2; padding: .9rem 1.25rem 1rem;
  background: var(--g-dot, var(--cyan)); color: var(--g-dot-ink, var(--ink));
  border-radius: 4px; font-family: var(--f-mono); font-size: .78rem; font-weight: 500;
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.55); transform: rotate(-4deg);
}
.reel-label b {
  display: block; margin-bottom: .2rem;
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase;
}
@keyframes spin { to { transform: rotate(360deg); } }
.archive-points { display: grid; gap: 1rem; margin-top: 2rem; }
.archive-points li { display: flex; gap: .9rem; align-items: flex-start; font-size: var(--fs-sm); }
.archive-points svg { flex: none; width: 20px; height: 20px; margin-top: .15rem; color: var(--cyan-deep); }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.quote {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg);
  background: var(--ink-2); border: 1px solid var(--line);
  transition: transform var(--t-med) var(--ease-out), border-color var(--t-med);
}
.quote:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + .9vw, 1.85rem); line-height: 1.2; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.5rem; line-height: .6; color: var(--cyan); margin-bottom: .75rem; }
.quote figcaption { display: grid; gap: .1rem; font-size: var(--fs-sm); }
.quote figcaption span { color: var(--cream-dim); font-size: var(--fs-xs); }
@media (max-width: 960px) {
  .quotes {
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(84%, 380px);
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .quotes::-webkit-scrollbar { display: none; }
  .quote { scroll-snap-align: start; }
}

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem var(--gutter); }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .people { grid-template-columns: repeat(2, 1fr); } }
.people--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; gap: 2.5rem clamp(1.5rem, 4vw, 4rem); }
@media (max-width: 520px) { .people--duo { grid-template-columns: 1fr; max-width: 420px; } }
.person-photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem;
  display: grid; place-items: center;
  background:
    radial-gradient(70% 60% at 50% 30%, var(--tint, rgba(63,198,242,.22)), transparent 70%),
    linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line);
}
.person-photo .initials { font-family: var(--f-display); font-style: italic; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); opacity: .9; transition: transform var(--t-slow) var(--ease-out); }
.person:hover .initials { transform: scale(1.08); }
.person-photo .ph { position: absolute; left: .75rem; bottom: .65rem; font-family: var(--f-mono); font-size: .65rem; opacity: .55; }
.person h3 { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.1; }
.person .role { font-size: var(--fs-xs); color: var(--cyan); margin: .2rem 0 .6rem; font-weight: 500; letter-spacing: .02em; }
.paper .person .role { color: var(--cyan-deep); }
.person p { font-size: var(--fs-sm); color: var(--cream-dim); }
.paper .person p { color: var(--paper-dim); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .h1 { max-width: 14ch; margin: 1.25rem auto 2rem; }
.cta-band .h1 em { color: var(--cyan); }
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 120vmax; height: 120vmax; translate: -50% -50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(63,198,242,.16), transparent 70%);
}
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3.5rem, 7vw, 6rem) 0 2rem; background: var(--ink); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem var(--gutter); }
.footer-top h2 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-faint); margin-bottom: 1.1rem; font-weight: 400; }
.footer-top li + li { margin-top: .55rem; }
.footer-top a { color: var(--cream-dim); transition: color var(--t-fast); display: inline-block; padding-block: .1rem; }
.footer-top a:hover { color: var(--cyan); }
.footer-brand p { color: var(--cream-dim); max-width: 32ch; margin-top: 1.25rem; font-size: var(--fs-sm); }
.socials { display: flex; gap: .5rem; margin-top: 1.5rem; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--cream); }
.socials a:hover { background: var(--cream); color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.footer-mega {
  font-family: var(--f-display); font-size: var(--fs-mega); line-height: .85; letter-spacing: -.04em;
  margin: clamp(3rem, 8vw, 6rem) 0 1.5rem; color: var(--ink-4); user-select: none;
  display: flex; align-items: flex-start; white-space: nowrap;
}
.footer-mega em { color: var(--ink-4); }
.footer-mega { font-size: min(30vw, 22rem); }
.footer-mega sup { font-size: .4em; color: rgba(63,198,242,.35); line-height: 1; top: .1em; position: relative; margin-left: .12em; font-style: italic; }
/* Footer wordmark matches the logo */
.footer-mega { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 800; letter-spacing: -.065em; font-size: min(26vw, 19rem); }
.footer-mega em { font-style: normal; }
.footer-mega sup { font-family: "DM Serif Display", var(--f-display); font-weight: 400; font-size: .5em; letter-spacing: -.01em; margin-left: .1em; top: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--cream-faint); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(3.5rem, 9vw, 8rem)) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; right: -10%; top: -20%; width: 70vmax; height: 70vmax; z-index: -1;
  background: radial-gradient(closest-side, rgba(63,198,242,.12), transparent 70%);
}
.page-hero .h1 { margin: 1.25rem 0 1.75rem; max-width: 16ch; }
.page-hero .h1 em { color: var(--cyan); }
.crumbs { font-family: var(--f-mono); font-size: .72rem; color: var(--cream-faint); display: flex; gap: .5rem; }
.crumbs a:hover { color: var(--cyan); }

/* ---------- Two-col prose ---------- */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.prose { font-size: var(--fs-lg); line-height: 1.65; color: var(--cream-dim); max-width: 60ch; }
.paper .prose { color: var(--paper-dim); }
.prose p + p { margin-top: 1.1em; }
.prose strong { color: var(--cream); font-weight: 500; }
.paper .prose strong { color: var(--paper-ink); }
.prose h2 { font-family: var(--f-display); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); color: var(--cream); margin: 2.2em 0 .6em; line-height: 1.1; }
.prose h3 { font-family: var(--f-body); font-size: 1.15rem; font-weight: 600; color: var(--cream); margin: 1.8em 0 .5em; }
.prose ul { margin: 1em 0; display: grid; gap: .6rem; }
.prose ul li { padding-left: 1.4rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--cyan); }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote { margin: 2em 0; padding-left: 1.5rem; border-left: 2px solid var(--cyan); font-family: var(--f-display); font-size: 1.6rem; line-height: 1.3; color: var(--cream); }

/* ---------- Timeline (about) ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 9rem 1fr; gap: 2rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.paper .tl-item { border-color: var(--line-paper); }
.tl-year { font-family: var(--f-display); font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); line-height: 1; font-style: italic; }
.tl-year small { display: block; font-family: var(--f-mono); font-style: normal; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; margin-top: .4rem; opacity: .65; }
.tl-item h3 { font-family: var(--f-display); font-size: 1.75rem; margin-bottom: .5rem; }
.tl-item p { max-width: 58ch; }
@media (max-width: 640px) { .tl-item { grid-template-columns: 1fr; gap: .75rem; } }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.value { background: var(--ink); padding: 1.75rem 1.4rem; display: flex; flex-direction: column; gap: .75rem; min-height: 15rem; transition: background-color var(--t-med); }
.value:hover { background: var(--ink-2); }
.value .mono { color: var(--cream-faint); }
.value h3 { font-family: var(--f-display); font-size: 2rem; font-style: italic; margin-top: auto; }
.value p { font-size: var(--fs-sm); color: var(--cream-dim); }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } .value:last-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } .value { min-height: 0; } .value h3 { margin-top: .5rem; } }

/* ---------- Services page ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 50; background: var(--glass);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line);
  transition: top var(--t-med) var(--ease-out);
}
.header-hidden .subnav { top: 0; }
.subnav ul { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; padding-block: .6rem; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px;
  font-size: var(--fs-sm); color: var(--cream-dim); white-space: nowrap; transition: background-color var(--t-fast), color var(--t-fast);
}
.subnav a:hover { color: var(--cream); }
.subnav a.is-active { background: var(--cream); color: var(--ink); }

.svc-block { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--line); }
.svc-block:last-of-type { border-bottom: 0; }
.svc-block, #turnaround, #delivery { scroll-margin-top: calc(var(--header-h) + 60px); }
@media (max-width: 900px) { .svc-block { grid-template-columns: 1fr; } }
.svc-block-head { position: sticky; top: calc(var(--header-h) + 5rem); align-self: start; }
@media (max-width: 900px) { .svc-block-head { position: static; } }
.svc-block-head .h2 { margin: 1rem 0 1.25rem; }
/* Service name eyebrows ("02 · Subtitling") in the warm accent, bolder and larger */
.svc-block-head .eyebrow { color: var(--amber); font-weight: 700; font-size: .85rem; letter-spacing: .14em; }
.svc-block-head .eyebrow::before { background: var(--amber); opacity: 1; height: 2px; }
.svc-block-head .lede { max-width: 32ch; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 .85rem; border-radius: 999px;
  font-family: var(--f-mono); font-size: .72rem; color: var(--cream-dim); box-shadow: inset 0 0 0 1px var(--line-strong);
}
.paper .chip { color: var(--paper-dim); box-shadow: inset 0 0 0 1px var(--line-paper); }
.feature-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature-list > li { padding: 1.5rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; }
.feature-list .mono { color: var(--cyan); padding-top: .35rem; }
.feature-list h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .35rem; line-height: 1.3; font-family: var(--f-body); letter-spacing: 0; }
.feature-list p { color: var(--cream-dim); font-size: var(--fs-sm); }
.cap-demo { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .cap-demo { grid-template-columns: 1fr; } }
.cap-demo figure { margin: 0; }
.cap-demo .mini-screen {
  aspect-ratio: 16 / 9; border-radius: 10px; position: relative; overflow: hidden;
  background: radial-gradient(60% 70% at 60% 40%, rgba(255,196,138,.35), transparent 70%), linear-gradient(160deg, #2a221b, #0b0a09);
  display: flex; align-items: flex-end; justify-content: center; padding: 7%;
}
.cap-demo .mini-screen span { background: rgba(0,0,0,.85); color: #fff; font-size: .8rem; padding: .2em .5em; border-radius: 2px; text-align: center; line-height: 1.35; }
.cap-demo .mini-screen.left { justify-content: flex-start; }
.cap-demo figcaption { font-size: var(--fs-xs); color: var(--cream-dim); margin-top: .6rem; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table.turn { width: 100%; border-collapse: collapse; min-width: 520px; font-size: var(--fs-sm); }
table.turn th, table.turn td { text-align: left; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
table.turn thead th { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-faint); font-weight: 400; background: var(--ink-2); }
table.turn tbody tr:last-child td { border-bottom: 0; }
table.turn td:first-child { font-family: var(--f-display); font-size: 1.3rem; }
table.turn tbody tr { transition: background-color var(--t-fast); }
table.turn tbody tr:hover { background: var(--ink-2); }

/* ---------- Work / credits ---------- */
.networks { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.networks li {
  display: grid; place-items: center; text-align: center; min-height: 8.5rem; padding: 1rem;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-family: var(--f-display); font-size: clamp(1.15rem, .9rem + .8vw, 1.6rem); line-height: 1.1; color: var(--cream-dim);
  transition: background-color var(--t-med), color var(--t-med);
}
.networks li:nth-child(3n) { font-style: italic; }
.networks li:hover { background: var(--ink-2); color: var(--cream); }
@media (max-width: 1000px) { .networks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .networks { grid-template-columns: repeat(2, 1fr); } .networks li { min-height: 6.5rem; } }

.credits-roll {
  position: relative; height: 26rem; overflow: hidden; border-radius: var(--radius-lg); background: #0a0908; border: 1px solid var(--line);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.credits-roll .roll { animation: roll 40s linear infinite; text-align: center; padding: 2rem 1rem; }
.credits-roll:hover .roll { animation-play-state: paused; }
.credits-roll dl { margin: 0 0 2.5rem; }
.credits-roll dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-faint); margin-bottom: .5rem; }
.credits-roll dd { margin: 0; font-family: var(--f-display); font-size: 1.5rem; line-height: 1.3; }
@keyframes roll { to { transform: translateY(-50%); } }

.case-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.case { grid-column: span 4; display: flex; flex-direction: column; gap: 1rem; }
.case:nth-child(1) { grid-column: span 7; }
.case:nth-child(2) { grid-column: span 5; }
@media (max-width: 900px) { .case, .case:nth-child(1), .case:nth-child(2) { grid-column: span 12; } }
@media (min-width: 600px) and (max-width: 900px) { .case:nth-child(n+3) { grid-column: span 6; } }
.case-media {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: var(--g, linear-gradient(160deg, #2a221b, #0b0a09));
  display: flex; align-items: flex-end; justify-content: center; padding: 6%;
}
.case-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.45)); z-index: -1; }
.case-media .caption { font-size: clamp(.75rem, .65rem + .4vw, .95rem); transform: translateY(8px); opacity: 0; transition: opacity var(--t-med), transform var(--t-med) var(--ease-out); }
.case:hover .case-media .caption, .case:focus-within .case-media .caption { opacity: 1; transform: none; }
@media (hover: none) { .case-media .caption { opacity: 1; transform: none; } }
.case-media .badge { position: absolute; top: .9rem; left: .9rem; font-family: var(--f-mono); font-size: .68rem; padding: .35rem .6rem; border-radius: 999px; background: rgba(16,14,12,.7); color: #E9E2D6; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.case-media > .scale { position: absolute; inset: 0; z-index: -2; background: inherit; transition: transform 1.2s var(--ease-out); }
.case:hover .case-media > .scale { transform: scale(1.06); }
.case h3 { font-family: var(--f-display); font-size: 1.75rem; line-height: 1.1; }
.case .placeholder { color: var(--amber); font-family: var(--f-mono); font-size: .8rem; }
.case p { color: var(--cream-dim); font-size: var(--fs-sm); }

/* ---------- Blog ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter {
  min-height: 42px; padding: 0 1.1rem; border-radius: 999px; font-size: var(--fs-sm); color: var(--cream-dim);
  box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color var(--t-fast), color var(--t-fast);
}
.filter:hover { color: var(--cream); }
.filter[aria-pressed="true"] { background: var(--cream); color: var(--ink); box-shadow: none; }
.post-feature { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } }
.post-cover {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--g, linear-gradient(150deg, #23303a, #0d0c0b)); display: grid; place-items: center; isolation: isolate;
}
.post-cover .big-word { font-family: var(--f-display); font-style: italic; font-size: clamp(2.5rem, 1.5rem + 4vw, 5.5rem); color: rgba(244,239,230,.9); text-align: center; line-height: .95; padding: 1rem; transition: transform 1.2s var(--ease-out); }
.post-cover .big-word s { color: #F2A65A; text-decoration-thickness: 2px; }
a:hover .post-cover .big-word { transform: scale(1.04); }
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-family: var(--f-mono); font-size: .72rem; color: var(--cream-faint); margin-bottom: .9rem; }
.post-meta .cat { color: var(--cyan); }
.post-feature h2 { font-family: var(--f-display); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); line-height: 1.02; margin-bottom: 1rem; }
.post-feature p { color: var(--cream-dim); margin-bottom: 1.5rem; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem var(--gutter); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; gap: 1rem; }
.post-card[hidden] { display: none; }
.post-card .post-cover { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.post-card .post-cover .big-word { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); }
.post-card h3 { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.12; transition: color var(--t-fast); }
.post-card a:hover h3 { color: var(--cyan); }
.post-card p { font-size: var(--fs-sm); color: var(--cream-dim); }
.post-card .post-meta { margin: 0; }

/* Article */
.article-head { max-width: 900px; }
.article-head .h1 { font-size: clamp(2.75rem, 1.8rem + 4.5vw, 6rem); max-width: 18ch; }
.article-body { max-width: 720px; margin-inline: auto; }
.article-body .prose { max-width: none; }
.byline { display: flex; align-items: center; gap: .9rem; margin-top: 2rem; }
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); border: 1px solid var(--line); font-family: var(--f-display); font-style: italic; font-size: 1.2rem; }
.byline div { display: grid; font-size: var(--fs-sm); }
.byline span { color: var(--cream-dim); font-size: var(--fs-xs); }
.compare { margin: 2rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 1.25rem; font-size: 1rem; }
.compare div + div { border-top: 1px solid var(--line); }
.compare .k { font-family: var(--f-mono); font-size: .72rem; color: var(--cream-faint); padding-top: .2rem; }
.compare .bad { color: var(--amber); }
.compare .good { color: var(--cyan); }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 110; background: var(--cyan); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(2rem, 6vw, 6rem); }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }
.faq-side { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; display: grid; gap: 1.5rem; }
@media (max-width: 900px) { .faq-side { position: static; } }
.search {
  position: relative; display: flex; align-items: center;
}
.search svg { position: absolute; left: 1rem; width: 18px; height: 18px; color: var(--cream-faint); pointer-events: none; }
.search input {
  width: 100%; min-height: 54px; padding: 0 1rem 0 2.9rem; border-radius: 999px; background: var(--ink-2);
  border: 1px solid var(--line-strong); color: var(--cream); font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.search input::placeholder { color: var(--cream-faint); }
.search input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); }
.faq-cats { display: grid; gap: .25rem; }
.faq-cats a { display: flex; justify-content: space-between; padding: .55rem 0; color: var(--cream-dim); border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.faq-cats a:hover { color: var(--cyan); }
.faq-group { margin-bottom: 3.5rem; }
.faq-group > h2 { font-family: var(--f-display); font-size: 2.25rem; margin-bottom: 1rem; }
.faq-group[hidden] { display: none; }
details.qa { border-bottom: 1px solid var(--line); }
details.qa:first-of-type { border-top: 1px solid var(--line); }
details.qa[hidden] { display: none; }
details.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.4rem 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 500; min-height: 44px;
  transition: color var(--t-fast);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary:hover { color: var(--cyan); }
.qa-icon { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); transition: background-color var(--t-med), transform var(--t-med) var(--ease-out); }
.qa-icon::before, .qa-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: transform var(--t-med) var(--ease-out); }
.qa-icon::after { transform: rotate(90deg); }
details.qa[open] .qa-icon { background: var(--cyan); color: var(--ink); transform: rotate(180deg); }
details.qa[open] .qa-icon::after { transform: rotate(0deg); }
.qa-body { padding: 0 3.5rem 1.6rem 0; color: var(--cream-dim); max-width: 64ch; }
.qa-body p + p { margin-top: .8em; }
.qa-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details.qa::details-content { height: 0; overflow: clip; transition: height 450ms var(--ease-out), content-visibility 450ms allow-discrete; }
  details.qa[open]::details-content { height: auto; }
}
.faq-empty { padding: 2rem; border-radius: var(--radius); background: var(--ink-2); color: var(--cream-dim); }

/* ---------- Contact / form ---------- */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } }
.form { display: grid; gap: 2.5rem; }
.fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.fieldset legend { font-family: var(--f-display); font-size: 1.75rem; margin-bottom: 1.25rem; padding: 0; display: flex; gap: .75rem; align-items: baseline; }
.fieldset legend .mono { color: var(--cyan); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; }
.field label, .field .label { font-size: var(--fs-sm); font-weight: 500; }
.field .opt { color: var(--cream-faint); font-weight: 400; }
.field .help { font-size: var(--fs-xs); color: var(--cream-faint); }
.input, .select, .textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 12px; background: var(--ink-2);
  border: 1px solid var(--line-strong); color: var(--cream); font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23857A6C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(244,239,230,.4); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-soft); background-color: var(--ink-3); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.error-msg { display: none; font-size: var(--fs-xs); color: var(--error); }
.field.has-error .error-msg { display: flex; gap: .4rem; align-items: center; }
.choice-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.choice span {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1.1rem; border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong); font-size: var(--fs-sm); color: var(--cream-dim);
  transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.choice span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--cream-faint); transition: background-color var(--t-fast), box-shadow var(--t-fast); }
.choice:hover span { color: var(--cream); }
.choice input:checked + span { background: var(--cyan-soft); color: var(--cream); box-shadow: inset 0 0 0 1px var(--cyan); }
.choice input:checked + span::before { background: var(--cyan); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-foot p { font-size: var(--fs-xs); color: var(--cream-faint); max-width: 40ch; margin: 0; }
.btn[aria-busy="true"] { pointer-events: none; opacity: .8; }
.btn .spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] svg { display: none; }
.form-success {
  display: none; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line);
}
.form-success.is-shown { display: block; animation: vt-in 700ms var(--ease-out) both; }
.form-success .h2 { margin: 1rem 0; }
.form-success .h2 em { color: var(--cyan); }
.contact-card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line); display: grid; gap: 1.75rem; }
.contact-card h2 { font-family: var(--f-display); font-size: 2rem; }
.contact-line { display: grid; gap: .2rem; }
.contact-line .mono { color: var(--cream-faint); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; }
.contact-line a { font-size: 1.15rem; transition: color var(--t-fast); width: fit-content; }
.contact-line a:hover { color: var(--cyan); }
.next-steps { counter-reset: s; display: grid; gap: 1rem; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 2rem 1fr; gap: .75rem; font-size: var(--fs-sm); color: var(--cream-dim); }
.next-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: .72rem; color: var(--cyan); padding-top: .2rem; }
.next-steps strong { color: var(--cream); font-weight: 500; }

/* ---------- Misc ---------- */
.big-quote { font-family: var(--f-display); font-size: clamp(2rem, 1.2rem + 3.5vw, 4.5rem); line-height: 1.08; max-width: 22ch; }
.big-quote em { color: var(--cyan); }
.paper .big-quote em { color: var(--cyan-deep); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }

/* ---------- Brand-cyan highlights ----------
   On light backgrounds, body links use the deeper --cyan for contrast;
   display words and graphic strokes use the brighter --cyan-hi (≥3:1, large text only). */
.eyebrow--dot::before, .marquee li::after, .process-rail span, .step.is-lit::before, .read-progress { background: var(--cyan-hi); }
.u-line path, .logo path { stroke: var(--cyan-hi); }
.logo sup, .hero h1 em, .page-hero .h1 em, .cta-band .h1 em, .form-success .h2 em, .stat-num sup, .quote blockquote::before { color: var(--cyan-hi); }

/* Exact brand colours on graphic elements (falls back to the accent when a palette has none) */
:is(.u-line path, .logo path) { stroke: var(--g-line, var(--cyan-hi)); }
.process-rail span, .reel-steps .bar i, .read-progress { background: var(--g-line, var(--cyan)); }
.eyebrow--dot::before, .marquee li::after, .step.is-lit::before { background: var(--g-dot, var(--cyan)); }
.step.is-lit::before { box-shadow: 0 0 0 5px color-mix(in srgb, var(--g-dot, var(--cyan)) 18%, transparent); }
.screen-hud .rec::before { background: var(--g-dot, var(--amber)); }
.quote blockquote::before { color: var(--g-dot, var(--cyan-hi)) !important; }

/* ---------- Type system: Type D, site-wide ----------
   Bold words: Outfit 800 in ALL CAPS. Emphasis phrase: DM Serif Display italic,
   flowing inline after the bold words. */
:is(.h1, .h2) {
  font-family: var(--f-display); font-weight: 800; font-style: normal;
  text-transform: uppercase; letter-spacing: -.02em; line-height: 1;
}
.h1 { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 5.75rem); } /* inner-page heroes, below the home hero */
.h2 { font-size: var(--fs-h2); }
.cta-band .h1 { font-size: clamp(2.5rem, 1.7rem + 3.4vw, 5rem); }
.article-head .h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 4rem); } /* long blog titles in a narrow column */
:is(.h1, .h2) em {
  font-family: var(--f-accent); font-weight: 400; font-style: italic;
  text-transform: none; font-size: .92em; letter-spacing: -.01em;
}

/* Other display text: the bold sans, upright. Large items at 800, smaller titles at 700. */
:is(.svc-name, .stat-num, .hero-meta strong, .marquee li, .person-photo .initials, .h3,
    .faq-group > h2, .post-feature h2, .prose h2, .reel-steps .lbl b, .mobile-menu li a) {
  font-family: var(--f-display); font-weight: 800; font-style: normal; letter-spacing: -.03em;
}
:is(.step h3, .quote blockquote, .person h3, .tl-item h3, .case h3, .post-card h3, .fieldset legend,
    .contact-card h2, .big-quote, .prose blockquote, .credits-roll dd, table.turn td:first-child, .networks li) {
  font-family: var(--f-display); font-weight: 700; font-style: normal; letter-spacing: -.02em;
}
.svc-row:hover .svc-name { font-style: normal; }
/* Pieces that were italic display text use the italic accent face */
:root :is(.tl-year, .value h3, .post-cover .big-word, .avatar, .networks li:nth-child(3n),
          .mobile-menu li a[aria-current="page"], .big-quote em, .prose blockquote em) {
  font-family: var(--f-accent); font-weight: 400; font-style: italic; letter-spacing: -.01em;
}

/* =========================================================
   INNER-PAGE HERO ART: one themed graphic per page, each with its own motion.
   Built from tokens, so every palette (and Cinema's flipped roles) works.
   ========================================================= */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero-copy { min-width: 0; }
.hero-art { position: relative; width: 100%; max-width: 520px; justify-self: end; aspect-ratio: 5 / 4; }
@media (max-width: 900px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 440px; margin-top: .5rem; }
}
.art-panel {
  position: absolute; border-radius: var(--radius-lg); background: var(--paper); color: var(--paper-ink);
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.55), 0 0 0 1px var(--line);
}
.art-mono { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }

/* ABOUT: film strip of milestone years + rotating "est. 1994" stamp */
.filmstrip {
  position: absolute; left: 14%; top: -6%; bottom: -6%; width: 44%;
  background: var(--paper); border-radius: 6px; transform: rotate(-7deg); overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(0,0,0,.55);
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.filmstrip::before, .filmstrip::after { /* sprocket holes */
  content: ""; position: absolute; top: 0; bottom: 0; width: 13%; z-index: 1;
  background: linear-gradient(to bottom, var(--ink) 0 11px, transparent 11px) center 6px / 55% 26px repeat-y;
}
.filmstrip::before { left: 0; } .filmstrip::after { right: 0; }
.filmstrip-track { display: flex; flex-direction: column; gap: 14px; padding: 0 17%; animation: strip-up 26s linear infinite; }
.filmstrip-track span {
  display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 3px;
  background: radial-gradient(80% 90% at 30% 20%, color-mix(in srgb, var(--cyan-deep) 30%, transparent), transparent 70%), var(--paper-2);
  font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.2rem); letter-spacing: -.02em; color: var(--paper-ink);
}
.filmstrip-track span small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .5rem; letter-spacing: .1em; opacity: .7; text-align: center; }
@keyframes strip-up { to { transform: translateY(-50%); } }
.stamp { position: absolute; right: 0; bottom: 4%; width: 46%; overflow: visible; filter: drop-shadow(0 18px 24px rgba(0,0,0,.25)); }
.stamp circle { fill: var(--g-dot, var(--cyan)); }
.stamp .ring { transform-box: fill-box; transform-origin: center; animation: spin 28s linear infinite; }
.stamp text { fill: var(--g-dot-ink, var(--ink)); font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 2.2px; }
.stamp .stamp-num { font-family: var(--f-display); font-weight: 800; font-size: 54px; letter-spacing: -2px; }
.stamp .stamp-sub { font-size: 10px; letter-spacing: 3px; }

/* SERVICES: an editor's timeline with live tracks and a playhead */
.art-services .tl-panel { inset: 6% 0 6% 0; padding: 1rem 1rem 1.1rem; display: grid; grid-template-rows: auto repeat(4, 1fr); gap: .55rem; overflow: hidden; }
.tl-top { display: flex; justify-content: space-between; color: var(--paper-dim); }
.tl-top .tl-tc { color: var(--paper-ink); }
.tl-row { display: grid; grid-template-columns: 2.6rem 1fr; gap: .6rem; align-items: stretch; }
.tl-row > b { font-family: var(--f-mono); font-weight: 500; font-size: .66rem; color: var(--paper-dim); align-self: center; }
.tl-lane { position: relative; border-radius: 6px; background: rgb(var(--D-rgb) / .06); overflow: hidden; }
.lane-v i { position: absolute; top: 12%; bottom: 12%; border-radius: 4px; background: linear-gradient(135deg, color-mix(in srgb, var(--cyan-deep) 55%, var(--paper-2)), var(--paper-2)); }
.lane-v i:nth-child(1) { left: 1%; width: 30%; } .lane-v i:nth-child(2) { left: 32%; width: 40%; } .lane-v i:nth-child(3) { left: 73%; width: 26%; }
.lane-a { display: flex; align-items: center; gap: 3%; padding-inline: 2%; }
.lane-a i { flex: 1; height: calc(var(--h) * 1%); border-radius: 2px; background: color-mix(in srgb, var(--cyan-deep) 75%, transparent); transform-origin: center; animation: wave 1.1s var(--ease-in-out) calc(var(--i) * -90ms) infinite alternate; }
@keyframes wave { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
.lane-cc i, .lane-sub i {
  position: absolute; top: 14%; bottom: 14%; left: var(--x); width: var(--w); padding: 0 .5rem; border-radius: 4px;
  display: flex; align-items: center; overflow: hidden; white-space: nowrap; font-style: normal;
  font-size: .64rem; font-weight: 600; background: rgb(var(--D-rgb) / .14); color: var(--paper-ink);
  animation: cue-lit 8s linear calc(var(--t) * 8s) infinite;
}
.lane-sub i { background: rgb(var(--D-rgb) / .08); font-style: italic; font-weight: 500; }
@keyframes cue-lit { 0%, 9% { background: var(--g-dot, var(--cyan-deep)); color: var(--g-dot-ink, var(--paper)); } 12%, 100% { } }
.tl-playhead { position: absolute; top: 2.3rem; bottom: .8rem; left: calc(1rem + 3.2rem); width: 2px; background: var(--g-line, var(--cyan-deep)); animation: playhead 8s linear infinite; }
.tl-playhead::before { content: ""; position: absolute; top: -5px; left: -5px; width: 12px; height: 8px; border-radius: 2px; background: inherit; }
@keyframes playhead { to { left: calc(100% - 1rem); } }

/* WORK: a clapperboard that snaps, with a caption for the sound */
.clapper { position: absolute; inset: 10% 6% 4% 6%; }
.clapper-board { position: absolute; inset: 22% 0 0 0; padding: 1.1rem 1.2rem; display: grid; grid-template-rows: auto auto 1fr auto; gap: .7rem; }
.cb-row { display: flex; align-items: baseline; gap: .8rem; border-bottom: 1px solid var(--line-paper); padding-bottom: .5rem; }
.cb-row span, .cb-grid span { color: var(--paper-dim); }
.cb-row b, .cb-grid b { font-family: var(--f-display); font-weight: 800; letter-spacing: -.02em; }
.cb-row b { font-size: clamp(1rem, .8rem + .8vw, 1.4rem); }
.cb-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-paper); border-radius: 8px; }
.cb-grid > div { padding: .6rem .7rem; display: grid; gap: .2rem; }
.cb-grid > div + div { border-left: 1px solid var(--line-paper); }
.cb-grid b { font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); }
.clapper-top, .clapper-stick { position: absolute; left: 0; right: 0; height: 13%; border-radius: 6px; background: repeating-linear-gradient(-55deg, var(--paper) 0 22px, var(--paper-ink) 22px 44px); box-shadow: 0 0 0 1px var(--line); }
.clapper-top { top: 9%; }
.clapper-stick { top: -4%; transform-origin: 3% 100%; animation: clap 4.5s var(--ease-in-out) infinite; }
@keyframes clap { 0%, 52% { transform: rotate(-22deg); } 60% { transform: rotate(0); } 64% { transform: rotate(-4deg); } 68% { transform: rotate(0); } 90%, 100% { transform: rotate(-22deg); } }
.clap-tag {
  position: absolute; right: -2%; top: 0; padding: .35em .7em; border-radius: 3px; background: rgba(0,0,0,.85); color: #FFE9A8;
  font-family: var(--f-body); font-weight: 500; font-size: .85rem; animation: clap-tag 4.5s linear infinite; opacity: 0;
}
:root:is([data-palette="signal"], [data-palette="beacon"], [data-palette="projector"], [data-palette="matinee"]) .clap-tag { color: var(--sig-hl); }
@keyframes clap-tag { 0%, 59% { opacity: 0; transform: translateY(6px); } 61%, 84% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; } }

/* BLOG: notes pinned up in the caption booth + a line being typed */
.note-card {
  position: absolute; width: 50%; padding: 1rem 1.1rem 1.2rem; border-radius: 4px; background: var(--ink-2);
  box-shadow: 0 22px 40px -22px rgba(0,0,0,.5), 0 0 0 1px var(--line); color: var(--cream);
  animation: note-float 6s var(--ease-in-out) infinite alternate;
}
.note-card .art-mono { color: var(--cream-faint); display: block; margin-bottom: .45rem; }
.note-card p { margin: 0; font-family: var(--f-accent); font-style: italic; font-size: clamp(1.1rem, .9rem + .7vw, 1.45rem); line-height: 1.15; }
.note-card .tag { font-size: .8rem; }
.note-card:nth-child(1) { left: 0; top: 4%; --r: -6deg; }
.note-card:nth-child(2) { right: 2%; top: 0; --r: 5deg; animation-delay: -2s; background: var(--g-dot, var(--cyan)); color: var(--g-dot-ink, var(--ink)); }
.note-card:nth-child(2) .art-mono { color: inherit; opacity: .7; }
.note-card:nth-child(3) { left: 18%; top: 40%; --r: -2deg; animation-delay: -4s; }
@keyframes note-float { from { transform: rotate(var(--r)) translateY(0); } to { transform: rotate(calc(var(--r) * -.4)) translateY(-8px); } }
.typeline { position: absolute; left: 0; right: 0; bottom: 2%; padding: .9rem 1.1rem; display: flex; align-items: center; gap: .6rem; font-weight: 500; }
.typeline .art-mono { color: var(--paper-dim); flex: none; }
.typeline [data-type]::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.2em; background: var(--g-dot, var(--cyan-deep)); animation: blink 1s steps(1) infinite; }

/* FAQ: a live Q&A that cycles through common questions */
.art-faq .qmark { position: absolute; left: -12%; top: -22%; z-index: 0; font-family: var(--f-accent); font-style: italic; font-size: clamp(12rem, 8rem + 12vw, 20rem); line-height: 1; color: var(--g-dot, var(--cyan)); opacity: .22; animation: note-float 7s var(--ease-in-out) infinite alternate; --r: 8deg; }
.chat { position: absolute; inset: 10% 0 6% 0; padding: 1.2rem; display: flex; flex-direction: column; justify-content: center; }
.chat-set { display: none; flex-direction: column; gap: .7rem; }
.chat-set.is-on { display: flex; }
.bubble { max-width: 82%; padding: .75rem 1rem; border-radius: 18px; font-size: .95rem; line-height: 1.35; opacity: 0; transform: translateY(8px); animation: bubble-in .5s var(--ease-out) forwards; }
.bubble.q { align-self: flex-end; background: var(--cyan-deep); color: var(--paper); border-bottom-right-radius: 5px; font-weight: 600; }
.bubble.typing { align-self: flex-start; background: rgb(var(--D-rgb) / .1); animation: bubble-in .4s var(--ease-out) .7s forwards, bubble-out .2s 1.9s forwards; display: flex; gap: 4px; padding: .9rem 1rem; }
.bubble.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--paper-dim); animation: blink 1s steps(1) calc(var(--i) * .2s) infinite; }
.bubble.a { align-self: flex-start; background: rgb(var(--D-rgb) / .1); color: var(--paper-ink); border-bottom-left-radius: 5px; animation-delay: 2s; }
.bubble.a .art-mono { display: block; color: var(--paper-dim); margin-bottom: .25rem; }
@keyframes bubble-in { to { opacity: 1; transform: none; } }
@keyframes bubble-out { to { opacity: 0; height: 0; padding: 0; margin: -.35rem 0; } }

/* CONTACT: on-air light, level meters and a captioned phone call */
.art-contact .onair-panel { inset: 8% 0 8% 0; padding: 1.3rem; display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; }
.onair { display: flex; align-items: center; justify-content: space-between; }
.onair-sign { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .9rem; border-radius: 6px; border: 1px solid var(--line-paper); font-family: var(--f-display); font-weight: 800; letter-spacing: .06em; }
.onair-sign i { width: 12px; height: 12px; border-radius: 50%; background: #FF4D3D; box-shadow: 0 0 0 4px rgba(255,77,61,.18), 0 0 18px 4px rgba(255,77,61,.55); animation: tally 2.4s ease-in-out infinite; }
@keyframes tally { 50% { box-shadow: 0 0 0 4px rgba(255,77,61,.1), 0 0 6px 1px rgba(255,77,61,.3); opacity: .75; } }
.meters { display: grid; grid-template-columns: 1.6rem 1fr; gap: .6rem .7rem; align-content: center; }
.meters b { font-family: var(--f-mono); font-weight: 500; font-size: .66rem; color: var(--paper-dim); align-self: center; }
.meter { display: flex; gap: 3px; height: 16px; }
.meter i { flex: 1; border-radius: 2px; background: rgb(var(--D-rgb) / .1); animation: meter 1.4s steps(1) calc(var(--i) * -70ms) infinite; }
.meter i:nth-child(n+12) { --on: #F2B33D; } .meter i:nth-child(n+15) { --on: #FF4D3D; }
.meter + b + .meter i { animation-duration: 1.7s; }
@keyframes meter { 0%, 100% { background: var(--on, var(--g-line, var(--cyan-deep))); } 40%, 70% { background: rgb(var(--D-rgb) / .1); } }
.meter i:nth-child(-n+6) { animation: none; background: var(--g-line, var(--cyan-deep)); }
.call { min-height: 3.6rem; display: grid; align-items: end; }
.call .caption { position: static; justify-self: start; max-width: 100%; }
.call .caption.cyc { display: none; } .call .caption.cyc.is-on { display: inline-block; animation: bubble-in .4s var(--ease-out) both; }

/* ---------- Network logos (client-supplied, full colour) ----------
   Shown as one-colour greyscale so 17 brand colours don't fight the page;
   each one returns to its real colours on hover. Sized by shape (see HTML width/height). */
.logo-img { display: block; height: auto; max-width: none; filter: grayscale(1) contrast(1.15); opacity: .72; transition: filter var(--t-med), opacity var(--t-med), transform var(--t-med) var(--ease-out); }
li:hover > .logo-img { filter: none; opacity: 1; transform: scale(1.06); }
/* Dark backgrounds: invert so black marks read light */
:is(.paper, .site-footer) .logo-img, :root:is([data-palette="cinema"], [data-palette="projector"]) .logo-img:not(.paper .logo-img) { filter: grayscale(1) invert(1) brightness(1.1); opacity: .8; }
.marquee--logos ul { gap: 3.5rem; padding-right: 3.5rem; }
.marquee--logos li { gap: 3.5rem; }
@media (max-width: 700px) { .marquee--logos .logo-img { transform: scale(.78); } .marquee--logos ul, .marquee--logos li { gap: 2rem; } }
.networks--logos li { min-height: 8.5rem; padding: 1.25rem; display: grid; place-items: center; }
.networks--logos .logo-img { max-width: 78%; height: auto; }
/* Work page: logos in their real colours (the home marquee stays monochrome) */
.networks--logos .logo-img, :root[data-palette] .networks--logos .logo-img { filter: none; opacity: 1; }
.networks--logos { background: #FFFFFF; border-radius: var(--radius-lg); overflow: hidden; }
.networks--logos li { background: #FFFFFF; border-color: #E4E4E0 !important; }
.networks--logos li:hover { background: #F6F6F3; }
.networks--logos .networks-more { color: #45484D; }
.stat-label strong { color: var(--cream); font-weight: 700; }
.split .stats .stat-label { max-width: 40ch; }
.networks-more { font-family: var(--f-accent) !important; font-style: italic !important; font-weight: 400 !important; font-size: 1.35rem; color: var(--cream-dim); }

/* ---------- Signal palette: creative uses of the five colours ---------- */
/* Primary buttons: exact blue fill with black text (6.8:1) */
:root:is([data-palette="signal"], [data-palette="beacon"], [data-palette="projector"], [data-palette="matinee"]) { --btn-bg: #1475D0; } /* brand blue, a touch deeper so white text passes (4.7:1) */
:root:is([data-palette="signal"], [data-palette="beacon"], [data-palette="projector"], [data-palette="matinee"]) .btn:hover { box-shadow: 0 10px 30px -10px rgb(30 150 252 / .55); }
/* Italic heading words: a yellow highlighter stroke on light sections, yellow text on dark */
:root:is([data-palette="signal"], [data-palette="beacon"]) :is(.h1, .h2) em { color: var(--cream); }
:root:is([data-palette="signal"], [data-palette="beacon"]) :is(.h1, .h2) em > .em-in {
  background: linear-gradient(transparent 56%, var(--sig-hl) 56%, var(--sig-hl) 90%, transparent 90%);
  padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:root:is([data-palette="signal"], [data-palette="beacon"]) :is(.paper, .site-footer) :is(.h1, .h2) em { color: var(--sig-hl); }
:root:is([data-palette="signal"], [data-palette="beacon"]) :is(.paper, .site-footer) :is(.h1, .h2) em > .em-in { background: none; padding-inline: 0; }
/* Captions: classic broadcast yellow for [sound tags] */
:root:is([data-palette="signal"], [data-palette="beacon"], [data-palette="projector"], [data-palette="matinee"]) .caption i { color: var(--sig-hl); }
:root:is([data-palette="signal"], [data-palette="beacon"], [data-palette="projector"], [data-palette="matinee"]) ::selection { background: var(--sig-hl); color: #000501; }
/* Archive section: a full green band with black type and black/green reels */
:root[data-palette="signal"] section[aria-labelledby="archive-title"] {
  --ink: var(--sig-green); --ink-2: #6AA07A; --cream: #000501; --cream-dim: #1F3A28; --cream-faint: #1F3A28;
  --paper: var(--sig-green); --paper-ink: #000501; --paper-dim: #1F3A28;
  --cyan: #000501; --cyan-hi: #000501; --cyan-deep: #000501;
  --line: rgb(0 5 1 / .14); --line-strong: rgb(0 5 1 / .3); --line-paper: rgb(0 5 1 / .2);
  background: var(--sig-green); color: #000501; color-scheme: light;
}
:root[data-palette="signal"] section[aria-labelledby="archive-title"] .h2 em { color: #000501; }
:root[data-palette="signal"] section[aria-labelledby="archive-title"] .h2 em > .em-in {
  background: linear-gradient(transparent 56%, var(--sig-hl) 56%, var(--sig-hl) 90%, transparent 90%);
  padding-inline: .06em;
}
:root:is([data-palette="signal"], [data-palette="beacon"], [data-palette="projector"], [data-palette="matinee"]) .reel-label { background: var(--sig-hl); color: #000501; }
/* =========================================================
   SERVICES WHEEL (Home + Services): hub with six service nodes around it
   ========================================================= */
.orbit { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 380px) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 3rem); min-height: 440px; margin-top: clamp(1rem, 3vw, 2.5rem); }
.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.orbit-lines line { stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 2 6; stroke-linecap: round; transition: stroke .4s, stroke-width .4s; }
.orbit-lines line.is-active { stroke: var(--g-line, var(--cyan)); stroke-width: 2.5; stroke-dasharray: 8 8; animation: orbit-flow 1.2s linear infinite; }
@keyframes orbit-flow { to { stroke-dashoffset: -32; } }
.orbit-col { position: relative; z-index: 1; display: grid; gap: clamp(1.75rem, 4.5vw, 3.25rem); }
.orbit-col--l { justify-items: end; }
.orbit-col--r { justify-items: start; }
.orbit-col--l .orbit-node:nth-child(2) { margin-right: clamp(1rem, 4vw, 3.5rem); }
.orbit-col--r .orbit-node:nth-child(2) { margin-left: clamp(1rem, 4vw, 3.5rem); }
.orbit-node { display: flex; align-items: center; gap: 1rem; padding: .3rem; border-radius: 999px; color: var(--cream); text-align: left; }
.orbit-col--l .orbit-node { flex-direction: row-reverse; text-align: right; }
.orbit-ic { flex: none; width: clamp(56px, 4.5vw, 70px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--btn-bg); color: #FFFFFF; box-shadow: 0 0 0 6px color-mix(in srgb, var(--btn-bg) 16%, transparent), 0 14px 28px -14px rgba(0,0,0,.5); transition: transform .45s var(--ease-out), box-shadow .45s, background-color .45s; }
.orbit-ic svg { width: 46%; height: 46%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.orbit-label { font-family: var(--f-display); font-weight: 800; font-size: clamp(.95rem, .8rem + .45vw, 1.2rem); letter-spacing: .02em; text-transform: uppercase; transition: color .3s; }
.orbit-node:hover .orbit-ic { transform: scale(1.07); }
.orbit-node.is-active .orbit-ic { transform: scale(1.14); box-shadow: 0 0 0 8px color-mix(in srgb, var(--hl) 40%, transparent), 0 18px 34px -14px rgba(0,0,0,.55); }
.orbit-node.is-active .orbit-label { color: var(--cyan-hi); }
.orbit-hub { position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 13%; color: var(--paper-ink);
  background: radial-gradient(circle at 30% 22%, color-mix(in srgb, var(--btn-bg) 38%, var(--paper)), var(--paper) 72%); box-shadow: 0 34px 70px -34px rgba(0,0,0,.6), 0 0 0 1px var(--line); }
.orbit-ring { position: absolute; inset: -16px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--btn-bg) 55%, transparent); animation: spin 48s linear infinite; }
.orbit-ring::after { content: ""; position: absolute; top: -6px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--hl); box-shadow: 0 0 0 5px color-mix(in srgb, var(--hl) 25%, transparent); }
.orbit-hub-in { display: grid; gap: .6rem; justify-items: center; transition: opacity .3s, transform .4s var(--ease-out); }
.orbit-hub-in.is-swapping { opacity: 0; transform: translateY(6px); }
.orbit-k { margin: 0; color: var(--paper-dim); letter-spacing: .14em; text-transform: uppercase; }
.orbit-name { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 1rem + 1.4vw, 2.1rem); line-height: 1; text-transform: uppercase; letter-spacing: -.01em; }
.orbit-desc { margin: 0; font-size: var(--fs-sm); color: var(--paper-dim); max-width: 26ch; }
.orbit-link { font-weight: 700; color: var(--cyan-deep); border-bottom: 2px solid currentColor; }
@media (max-width: 900px) {
  .orbit { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: .9rem; }
  .orbit-node { min-width: 0; }
  .orbit-lines { display: none; }
  .orbit-hub { grid-column: 1 / -1; grid-row: 1; width: min(320px, 82vw); justify-self: center; margin: 1rem 0 1.5rem; }
  .orbit-col { gap: 1rem; justify-items: stretch !important; }
  .orbit-col .orbit-node { flex-direction: row !important; text-align: left !important; margin: 0 !important; }
  .orbit-ic { width: 52px; }
}

/* =========================================================
   FAQ + CONTACT (round 9): a touch of orange
   --hl is the palette's highlight orange/amber where it has one, otherwise a soft amber.
   ========================================================= */
:root { --hl: var(--sig-hl, #F2A65A); }
/* Search: amber edge, tint and icon so it stands out (still subtle) */
.faq-side .search input { border-color: color-mix(in srgb, var(--hl) 60%, var(--line-strong)); background: color-mix(in srgb, var(--hl) 7%, var(--ink-2)); }
.faq-side .search svg { color: var(--amber); }
.faq-side .search input:focus { border-color: var(--hl); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hl) 22%, transparent); }
/* Group headings ("The basics" …): a soft amber highlighter behind the words */
.faq-group > h2 { display: inline-block; padding-inline: .1em; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--hl) 42%, transparent) 58%, color-mix(in srgb, var(--hl) 42%, transparent) 92%, transparent 92%); }
/* Contact cards ("Prefer to talk?", "What happens next", FAQ "Still wondering?"):
   white headings, orange labels and step numbers (cards are dark on every palette) */
.contact-card h2 { color: #FFFFFF; }
.contact-line .mono { color: var(--hl); font-weight: 500; }
.next-steps li { grid-template-columns: 2.6rem 1fr; }
.next-steps li::before { color: var(--hl); font-size: .95rem; font-weight: 500; padding-top: .05rem; }

/* =========================================================
   ROUND 10 REFINEMENTS
   ========================================================= */
/* Home: stats row numbers a touch smaller (56px → 52px max) */
.hero-meta strong { font-size: clamp(2.25rem, 1.7rem + 1.9vw, 3.25rem); }
/* Home: the two note lead-ins larger; white where the note box is dark */
.ear .ear-copy .note strong { font-size: 1.02rem; }
:root:is([data-palette="projector"], [data-palette="cinema"]) .ear .ear-copy .note strong { color: #FFFFFF; }
/* Home: founder cards centred with even spacing, shorter photos */
.people--duo { margin-inline: auto; max-width: 940px; gap: clamp(1.5rem, 4vw, 3rem); }
.people--duo .person-photo { aspect-ratio: 5 / 4; }
/* Services wheel: tighter, even spacing above and below */
.orbit-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.orbit-section + .section:not(.paper) { padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.wrap + .orbit-section { margin-top: clamp(-2rem, -3vw, -1rem); }
/* About: left column holds at the top while the longer right column scrolls past */
@media (min-width: 901px) {
  section[aria-labelledby="story-title"] .split > :first-child,
  section[aria-labelledby="tl-title"] .split > :first-child { position: sticky; top: calc(var(--header-h) + 5rem); align-self: start; }
}
/* Services: turnaround heading and table centred against each other */
#turnaround .split { align-items: center; }
/* Services › Easy in, easy out: blue, larger labels and a bigger ∞ */
#delivery .value .mono { color: var(--cyan-hi); font-size: .95rem; font-weight: 600; letter-spacing: .12em; }
#delivery .value:last-child .mono { font-size: 2rem; line-height: .7; letter-spacing: 0; }
/* Work: full-colour logos must beat the dark-palette inversion */
.networks--logos .logo-img.logo-img { filter: none !important; opacity: 1 !important; }
/* FAQ hero: question mark further left, just tucked behind the chat panel */
.art-faq .chat { z-index: 1; }
.art-faq .qmark { left: -34%; top: -10%; opacity: .32; }
/* FAQ group headings: plain blue text, no highlight */
.faq-group > h2 { color: var(--cyan-hi); padding: 0; background: none; }

/* =========================================================
   ROUND 11
   ========================================================= */
/* Services wheel: balanced spacing (≈70px heading→wheel, ≈120px wheel→next section) */
.orbit-section { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.orbit-section .section-head { margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.stats--promise .stat-num small.arrow { font-size: .62em; font-weight: 800; margin-left: .15em; }
.orbit { margin-top: 0; min-height: 0; }
.orbit-section + .section { padding-top: clamp(3rem, 5vw, 4rem); }
.orbit-section + .paper { margin-top: clamp(2rem, 4vw, 3.5rem); }
/* Services page: the last service block already ends with generous padding */
.svc-block:last-of-type { padding-bottom: clamp(3rem, 5vw, 4rem); }
.wrap + .orbit-section { margin-top: 0; padding-top: clamp(3rem, 5vw, 4rem); }
.wrap + .orbit-section > .wrap { border-top: 1px solid var(--line); padding-top: 0; }
.wrap + .orbit-section .section-head { padding-top: clamp(3rem, 5vw, 4rem); }
/* Home "every project gets" row: kicker labels in orange, ~1.5pt larger (13px → 15px).
   --amber is the palette's readable orange for this section's background. */
.stats--promise .stat-kicker, .paper .stats--promise .stat-kicker { color: var(--amber); font-size: .9375rem; font-weight: 500; }
/* Home logo banner: full colour on white tiles, matching the Work page grid */
.marquee--logos .logo-img.logo-img {
  filter: none !important; opacity: 1 !important; box-sizing: content-box;
  background: #FFFFFF; padding: .7rem 1.1rem; border-radius: 12px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .06), 0 10px 24px -16px rgb(0 0 0 / .35);
}
/* Closing CTAs on every page: bold words on line one, italic phrase on line two */
.cta-band .h1 { max-width: none; }
.cta-band .h1 em { display: block; }
@media (min-width: 700px) { .cta-band .h1 { white-space: nowrap; } .cta-band .h1 em { white-space: normal; } }
/* Stats: a little air between the number and its "+" */
.stat-num sup { margin-left: .06em; }
/* Home hero: progress bars above 01–03 in orange (numbers stay blue) */
.reel-steps .bar i, :root .reel-steps .bar i { background: var(--hl); }
/* About: "Part of BC's film community" heading also holds while the text scrolls */
@media (min-width: 901px) {
  section[aria-labelledby="community-title"] .split > :first-child { position: sticky; top: calc(var(--header-h) + 5rem); align-self: start; }
}
/* Quote form: required stars, "First / Last" sub-labels under the "Name" group */
.form .req { color: var(--error); font-weight: 700; }
.field-group { display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.field-group .row-2 { margin: 0; }
.form .sub-label { font-size: var(--fs-xs); color: var(--cream-dim); font-weight: 500; }
#svc-other-wrap { margin-top: -.25rem; }

/* =========================================================
   ABOUT PAGE (round 9)
   ========================================================= */
/* Story heading: "love language." in blue italic with a yellow hand-drawn line */
#story-title em { color: var(--cyan-hi) !important; }
#story-title em > .em-in { background: none !important; padding: 0 !important; }
#story-title .u-line path { stroke: #F5B400 !important; stroke-width: 3; }

/* Value / delivery cards: number, heading and text sit on shared rows, so every
   heading and every paragraph starts at the same height across the row. */
.values { grid-auto-rows: auto; }
.value { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: .75rem; min-height: 0; align-content: start; }
.value .mono { margin-bottom: 2.25rem; }
.value h3 { margin-top: 0 !important; align-self: end; line-height: 1.05; }
.value p { align-self: start; margin: 0; }
@media (max-width: 560px) { .value .mono { margin-bottom: .5rem; } }

/* Milestones: a film-reel timeline. A rail fills as you scroll, the frame nearest the
   middle of the screen lights up, and the year chips (or any frame) jump to it. */
.reel-tl-nav { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; position: sticky; top: calc(var(--header-h) + .5rem); z-index: 2; padding: .4rem; border-radius: 999px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); width: max-content; max-width: 100%; }
.header-hidden .reel-tl-nav { top: .75rem; }
.reel-tl-nav button { padding: .45rem .85rem; min-height: 36px; border-radius: 999px; font-family: var(--f-mono); font-size: .72rem; color: var(--paper-dim); box-shadow: inset 0 0 0 1px var(--line-paper); transition: background-color var(--t-fast), color var(--t-fast); }
.reel-tl-nav button:hover { color: var(--paper-ink); }
.reel-tl-nav button[aria-selected="true"] { background: var(--btn-bg); color: #FFFFFF; box-shadow: none; }
.reel-tl .timeline { padding-left: 2.25rem; }
.reel-tl .timeline::before, .reel-tl .timeline::after { content: ""; position: absolute; left: .5rem; top: 2.5rem; bottom: 2.5rem; width: 2px; border-radius: 2px; background: var(--line-paper); }
.reel-tl .timeline::after { background: var(--g-line, var(--cyan-deep)); transform-origin: top; transform: scaleY(var(--tl-p, 0)); transition: transform .4s var(--ease-out); }
.reel-tl .tl-item { position: relative; cursor: pointer; opacity: .42; transition: opacity .5s var(--ease-out); }
.reel-tl .tl-item.is-active { opacity: 1; }
.reel-tl .tl-item::before { content: ""; position: absolute; left: calc(-2.25rem + .5rem - 6px); top: 2.6rem; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-paper); transition: background-color .4s, box-shadow .4s, transform .4s var(--ease-out); }
.reel-tl .tl-item.is-active::before { background: var(--g-dot, var(--cyan-deep)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--g-dot, var(--cyan-deep)) 22%, transparent); transform: scale(1.15); }
.reel-tl .tl-year { transition: color .4s, transform .5s var(--ease-out); transform-origin: left center; }
.reel-tl .tl-item.is-active .tl-year { color: var(--cyan-hi); transform: scale(1.08); }
.tl-frame { position: absolute; right: 0; top: 1.1rem; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-dim); opacity: .7; }
.reel-tl .tl-item:focus-visible { outline-offset: 6px; }

/* Team: four people in two rows of two, each with "off the clock" facts */
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); }
.team-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1rem, 2vw, 1.75rem); padding: clamp(1rem, 2vw, 1.4rem); border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--line); transition: transform var(--t-med) var(--ease-out), border-color var(--t-med); }
.team-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.team-card:hover .initials { transform: scale(1.08); }
.team-card .person-photo { margin: 0; aspect-ratio: 4 / 5; align-self: start; }
.team-body h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.05; letter-spacing: -.02em; }
.team-body .role { font-size: var(--fs-xs); color: var(--cyan); margin: .3rem 0 .75rem; font-weight: 600; letter-spacing: .02em; }
.team-body > p { font-size: var(--fs-sm); color: var(--cream-dim); }
.team-facts { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; }
.team-facts dt { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-faint); }
.team-facts dd { margin: .2rem 0 0; font-weight: 600; font-size: var(--fs-sm); }
.team-facts dd.placeholder { font-weight: 400; font-style: italic; color: var(--cream-faint); }
@media (max-width: 960px) { .team-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .team-card { grid-template-columns: 1fr; } .team-card .person-photo { aspect-ratio: 16 / 10; } }

/* "See who we've worked with": bold, in the same colour as the section's italic words */
.link-strong { font-weight: 700; color: var(--cyan-hi); text-decoration: none !important; border-bottom: 2px solid currentColor; padding-bottom: .1rem; }
:root[data-palette="projector"] .paper .link-strong { color: #000501; border-bottom-color: var(--sig-hl); }

/* ---------- Logo image (client file, used unedited) ----------
   The PNG has a white background and wide margins. The page crops to the lettering
   (ink box 90,86 → 750,286 of 850×330, plus 8px breathing room) and blends the white
   away; on dark backgrounds it inverts so the lettering reads white. */
.logo--img { padding: 0; }
.logo-crop { display: block; position: relative; overflow: hidden; aspect-ratio: 676 / 216; width: 136px; }
.logo-crop img { position: absolute; left: -12.13%; top: -36.11%; width: 125.74%; max-width: none; height: auto; mix-blend-mode: multiply; }
.site-footer .logo-crop img,
:root:is([data-palette="cinema"], [data-palette="projector"]) .site-header .logo-crop img { filter: invert(1); mix-blend-mode: screen; }
.footer-brand .logo-crop { width: 168px; }
.footer-mega--img { display: flex; justify-content: center; line-height: 0; }
.footer-mega--img .logo-crop { width: min(86vw, 1100px); opacity: .1; }
@media (max-width: 600px) { .site-header .logo-crop { width: 112px; } }

/* ---------- Button overrides ---------- */
/* Primary buttons: white text everywhere so they pop. Each palette's --btn-bg is chosen
   so white text passes 4.5:1 (Gallery #0A6C9C 5.6:1, Cinema #0B6A95 6:1, blue palettes #1475D0 4.7:1). */
:root { --btn-bg: #0A6C9C; }
:root[data-palette="cinema"] { --btn-bg: #0B6A95; }
:root .btn:not(.btn--ghost) { --bg: var(--btn-bg); --fg: #FFFFFF; }
:root .btn:not(.btn--ghost)::before { background: color-mix(in srgb, var(--bg) 70%, #000); }
/* Toggles and filter chips that showed dark text on a coloured fill also switch to white */
:root .toggle-thumb { background: var(--btn-bg); }
:root .toggle[data-state="machine"] .toggle-thumb { background: #B3261E; } /* auto-caption = the error state: deep red, white 6.5:1 */
:root .toggle button[aria-pressed="true"] { color: #FFFFFF; }
/* Projector: the home hero's primary button is amber with black text (10.6:1) */
/* Header "Get a quote": white text on every palette. Where the palette's button colour is
   too light for white text, the header button uses a slightly deeper shade (4.5:1+). */
:root .site-header .header-cta .btn.btn { --fg: #FFFFFF; }
:root .site-header .header-cta .btn.btn::before { background: color-mix(in srgb, var(--bg) 72%, #000); }
:root:is([data-palette="signal"], [data-palette="beacon"], [data-palette="projector"], [data-palette="matinee"]) .site-header .header-cta .btn.btn { --bg: #1475D0; } /* 4.7:1 */
:root[data-palette="cinema"] .site-header .header-cta .btn.btn { --bg: #0B6A95; } /* 6:1 */

/* =========================================================
   NC:start — NEW CONTENT (round 12). Photos and video from content/New Content.
   Remove this block (and the NC-marked HTML/JS) to revert.
   ========================================================= */
/* Faint black-and-white backgrounds that fade into the section colour */
.has-nc-bg { position: relative; isolation: isolate; }
.has-nc-bg > .wrap { position: relative; z-index: 1; }
.nc-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.nc-bg > img, .nc-bg > video { position: absolute; top: 0; height: 100%; width: 62%; object-fit: cover; filter: grayscale(1) contrast(1.15); opacity: .2; transition: opacity 1.2s ease; }
.nc-bg > video { opacity: 0; }
.nc-bg > video.is-ready { opacity: .2; }
.nc-bg--right > * { right: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.nc-bg--left > * { left: 0; -webkit-mask-image: linear-gradient(270deg, transparent, #000 45%); mask-image: linear-gradient(270deg, transparent, #000 45%); }
.paper .nc-bg > img, .paper .nc-bg > video.is-ready { opacity: .19; }
:root:is([data-palette="projector"], [data-palette="cinema"]) .paper .nc-bg > :is(img, video.is-ready) { opacity: .13; }
@media (max-width: 900px) { .nc-bg > img, .nc-bg > video { width: 100%; opacity: .12 !important; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, transparent); } }

/* Home › Four crafts: an extra-subtle slate behind the service list, anchored top-right */
.nc-bg-soft .nc-bg > img { width: 48%; height: 78%; object-position: 50% 60%; opacity: .14; }
:root:is([data-palette="projector"], [data-palette="cinema"]) .nc-bg-soft .nc-bg > img { opacity: .09; }
.nc-bg-soft .nc-bg--right > * { -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%), linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(90deg, transparent, #000 50%), linear-gradient(180deg, #000 60%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }

/* About › story: a vintage CRT with captions */
.nc-tv { margin: 2.25rem 0 0; }
.screen--crt { border-radius: 28px / 22px; aspect-ratio: 4 / 3; }
.screen--crt video { filter: sepia(.25) saturate(.85) contrast(1.05); }
.screen--crt::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(180deg, rgb(0 0 0 / .14) 0 1px, transparent 1px 3px); mix-blend-mode: multiply; }
.nc-tv .screen-legend { margin-top: .9rem; align-items: center; color: inherit; }
.nc-tv .screen-legend b { color: inherit; }

/* Services demos (subtitling, transcription, scripts) */
.nc-demo { margin: 2rem 0 0; }
.nc-demo .screen-legend { margin-top: .9rem; align-items: center; }
.nc-transcript { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--paper); color: var(--paper-ink); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55), 0 0 0 1px var(--line); }
.nc-transcript-media { position: relative; min-height: 240px; background: #0b0a09; }
.nc-transcript-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.nc-transcript-media video.is-ready { opacity: .9; }
.nc-tag { position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .55rem; border-radius: 4px; background: rgba(0,0,0,.7); color: #F0EDEE; font-size: .62rem; }
.nc-transcript-doc { padding: 1.1rem 1.2rem 1.3rem; font-size: .84rem; }
.nc-doc-head { margin: 0 0 .8rem; color: var(--paper-dim); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; }
.nc-transcript-doc ol { display: grid; gap: .55rem; min-height: 11.5rem; }
.nc-transcript-doc li { display: grid; grid-template-columns: 6.6rem 1fr; gap: .2rem .6rem; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.nc-transcript-doc li.is-shown { opacity: 1; transform: none; }
.nc-transcript-doc li .mono { color: var(--paper-dim); font-size: .66rem; padding-top: .15rem; }
.nc-transcript-doc li b { font-weight: 700; color: var(--cyan-deep); margin-right: .25rem; }
.nc-transcript-doc li > :last-child, .nc-transcript-doc li > b { grid-column: 2; }
.nc-transcript-doc li > b + [data-line] { grid-column: 2; }
.nc-transcript-doc li.is-typing [data-line]::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -.15em; background: var(--g-dot, var(--cyan-deep)); animation: blink 1s steps(1) infinite; }
.nc-tagline { color: var(--paper-dim); }
@media (max-width: 600px) { .nc-transcript { grid-template-columns: 1fr; } .nc-transcript-media { min-height: 180px; } }
.nc-script { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.nc-script img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.nc-callout { position: absolute; left: var(--x); top: var(--y); padding: .4rem .65rem; border-radius: 6px; font-size: .64rem; letter-spacing: .04em; background: rgba(10,12,14,.82); color: #F0EDEE; box-shadow: 0 8px 20px -10px rgba(0,0,0,.6); opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--d) * 220ms + 300ms); }
.nc-callout::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: .45rem; border-radius: 50%; background: var(--g-line, #4CCBF5); vertical-align: 1px; }
.nc-callout--warm::before { background: var(--hl); }
.nc-script.is-in .nc-callout, .js .nc-script:not([data-reveal]) .nc-callout { opacity: 1; transform: none; }

/* Work cards and blog covers: real photos in black and white, colour on hover */
.nc-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: grayscale(1) contrast(1.08) brightness(.8); transition: filter .8s var(--ease-out), transform 1.2s var(--ease-out); }
.case:hover .nc-photo, .case:focus-within .nc-photo, a:hover .post-cover .nc-photo { filter: grayscale(0) brightness(.85); transform: scale(1.04); }
.post-cover:has(.nc-photo)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .15), rgb(0 0 0 / .55)); }
.post-cover .nc-photo { z-index: -2; }
/* NC:end */

/* ---------- Palette switcher (presentation only — remove before launch) ---------- */
.palette-switch {
  position: fixed; left: max(12px, env(safe-area-inset-left)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 120;
  display: flex; align-items: center; gap: .35rem; padding: .35rem .4rem .35rem .85rem; border-radius: 999px;
  background: var(--D-bg2); color: var(--D-text);
  box-shadow: 0 0 0 1px rgb(var(--D-rgb) / .14), 0 12px 30px -12px rgba(0,0,0,.5);
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
}
.palette-switch span { margin-right: .3rem; opacity: .75; }
.palette-switch button {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  transition: transform var(--t-fast) var(--ease-out);
}
.palette-switch button:hover { transform: scale(1.08); }
.palette-switch button i {
  width: 22px; height: 22px; border-radius: 50%; display: block;
  background: linear-gradient(135deg, var(--a) 0 50%, var(--b) 50% 100%);
  box-shadow: 0 0 0 1px rgb(var(--D-rgb) / .3), inset 0 0 0 5px transparent;
  position: relative;
}
.palette-switch button i::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--c); }
.palette-switch button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--D-accent); }
.palette-switch button:focus-visible { outline: 2px solid var(--D-accent); outline-offset: 2px; }
@media print { .palette-switch { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1 !important; transform: none !important; }
  .logo path, .u-line path { stroke-dashoffset: 0 !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .marquee ul { flex-wrap: wrap; justify-content: center; row-gap: 1rem; }
  .credits-roll { height: auto; mask-image: none; -webkit-mask-image: none; }
  .credits-roll .roll { animation: none; }
  .credits-roll .roll > [aria-hidden="true"] { display: none; }
  .reel, .screen-scene { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Print */
@media print {
  .site-header, .mobile-menu, .site-footer, body::after { display: none !important; }
  body { background: #fff; color: #000; }
}
