/* ============================================================
   OpenStudio. — The Proof Ledger design system
   Powder & Ink · Brand guidelines V1 · July 2026 · System V2
   Light bone canvas per brand PDF p6; ink bands are the moments.
   Ink does the work. Powder is the signature. Restraint is the
   premium: hairlines over shadows, no hover lift, one accent.
   ============================================================ */

/* ------------------------------------------------------------
   01 · TOKENS
   ------------------------------------------------------------ */

/* Poppins metric fallback: kills CLS while the webfont loads */
@font-face {
  font-family: 'Poppins-fallback';
  src: local('Arial');
  size-adjust: 98%;
}

:root {
  /* brand primitives — PDF p3, law. Do not add hexes. */
  --ink: #14202E;         /* headlines · surfaces · logo */
  --ink-deep: #0C141E;    /* studio surfaces · footer */
  --powder: #A8C6DE;      /* the dot · accents on ink */
  --powder-deep: #7FA9C9; /* dot on light · decorative ONLY on light */
  --mist: #E2EAF0;        /* panels · tints · hairlines */
  --bone: #F3F5F4;        /* default canvas */
  --slate: #5E7284;       /* secondary text */
  --white: #FFFFFF;

  /* semantic aliases — additive; components map onto these */
  --canvas: var(--bone);
  --surface: var(--white);
  --surface-tint: var(--mist);
  --text: var(--ink);
  --text-2: var(--slate);
  --band: var(--ink);
  --band-deep: var(--ink-deep);
  --band-text: var(--bone);
  --band-text-2: var(--mist);
  --accent: var(--powder-deep);        /* decorative on light: dot, rules, halos */
  --accent-on-band: var(--powder);     /* text-safe accent on ink (9.3:1) */
  --line: var(--mist);
  --line-on-band: rgba(226, 234, 240, 0.14);
  --rule: 1px solid rgba(20, 32, 46, 0.08);  /* the ledger hairline */

  /* CONTRAST MATRIX (WCAG 2.1, computed — the shipped rules)
     ink/bone 15.0 AAA · ink/white 16.5 AAA · ink/mist 13.5 AAA
     ink/powder 9.3 AAA (solid only — no opacity tints)
     slate/bone 4.55 AA · slate/white 4.98 AA
     slate/mist 4.09 LARGE ONLY (>=18.66px bold or >=24px)
     bone/ink 15.0 · mist/ink 13.5 · powder/ink 9.3 (band text)
     bone/ink-deep 16.9 · mist/ink-deep 15.2 · powder/ink-deep 10.4
     powder-deep/ink 6.6 AA · powder-deep/ink-deep 7.4 AA
     powder-deep/bone 2.28 — DECORATIVE ONLY, never text on light */

  /* Poppins for Latin and Manrope for Cyrillic, with matching weights.
     Headlines preserve the editor's casing and end with a powder dot. */
  --font: 'Poppins', 'Manrope', 'Poppins-fallback', ui-sans-serif, system-ui, sans-serif;
  --t-display-1: clamp(2.25rem, 1.64rem + 3vw, 4.4rem);
  --t-display-2: clamp(1.875rem, 1.55rem + 1.9vw, 3.1rem);
  --t-num-hero: clamp(48px, 5vw, 68px);     /* 700 / 1.0 tabular */
  --t-num: clamp(34px, 3vw, 44px);          /* 700 / 1.05 tabular */
  --t-title: 28px;                          /* 700 / 1.2 */
  --t-heading: 21px;                        /* 600 / 1.3 */
  --t-lede: clamp(17px, 1.4vw, 19px);       /* 400 / 1.65 */
  --t-body: 16px;                           /* 400 / 1.7 */
  --t-small: 14px;                          /* 400-500 / 1.6 */
  --t-fine: 13px;                           /* 500 / 1.5 */
  --t-label: 12px;                          /* 600 caps +0.12em / 1.35 */

  /* spacing — section rhythm 96px desktop / 64px mobile */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  /* radii — concentric rule: inner = outer minus padding, min --r-sm */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* elevation — hairlines do elevation; exactly two shadows, one hue */
  --shadow-1: 0 1px 2px rgba(20, 32, 46, 0.06);          /* sticky chrome */
  --shadow-2: 0 24px 56px -12px rgba(20, 32, 46, 0.16);  /* floats, open dropdown */

  --border-hairline: 1px solid var(--mist);
  --border-strong: 1.5px solid var(--ink);
}

/* ------------------------------------------------------------
   02 · BASE / RESET
   ------------------------------------------------------------ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
img, video { max-width: 100%; }
[id] { scroll-margin-top: 96px; }

::selection { background: var(--powder); color: var(--ink); }

/* focus — ink ring on light, powder ring on bands; 2px, offset 3px */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}
.ink-band :focus-visible,
.ink-band-deep :focus-visible,
.cta-band :focus-visible,
.footer :focus-visible {
  outline-color: var(--powder);
}

/* skip link — bone-on-ink pill, visible on focus */
.skip-link {
  position: absolute;
  left: 24px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--bone);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  transition: top .18s ease-out;
}
.skip-link:focus-visible { top: 16px; outline-color: var(--powder); }

/* visually hidden (labels for icon buttons etc.) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* honeypot — spam trap field, off-canvas, never display:none */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------
   03 · TYPOGRAPHY
   ------------------------------------------------------------ */

/* Display headings retain the original casing of the copy and brand names. */
.display {
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-transform: none;
  text-wrap: balance;
}
h1.display { font-size: var(--t-display-1); }
h2.display { font-size: var(--t-display-2); line-height: 1.06; }

/* the dot — the system. Decorative brand mark: headlines read
   identically without it; functional meaning never rides on it. */
.dot { color: var(--accent); }
.on-ink .dot, .ink-band .dot, .ink-band-deep .dot,
.cta-band .dot, .footer .dot { color: var(--powder); }

.label {
  font-weight: 600;
  font-size: var(--t-label);
  line-height: 1.35;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
/* powder-deep text on light fails AA (2.28:1) — the powder identity
   moves to a leading decorative disc; the words stay slate. */
.label-powder { color: var(--text-2); }
.label-powder::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 9px;
  vertical-align: 2px;
}
.ink-band .label, .ink-band-deep .label,
.cta-band .label, .footer .label { color: var(--accent-on-band); }
.ink-band .label-powder::before, .ink-band-deep .label-powder::before,
.cta-band .label-powder::before { background: var(--powder); }

.lede {
  font-size: var(--t-lede);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 620px;
}
.lede strong { font-weight: 700; color: var(--text); }

/* ledger numerals — every number tabular, lining, no reflow */
.num, .stat .num, .case-num, .post-num, .callout-num,
.cap-num, .service-num, .chip-count, .timecode,
.record-metric, .showreel-counter, .cta-dock-proof {
  font-variant-numeric: lining-nums tabular-nums;
}
.num { font-weight: 700; color: var(--text); }

/* registration rule — section heads open on a hairline to the margin */
.section-head {
  position: relative;
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-6);
}
.section-head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-bottom: var(--rule);
}
.ink-band .section-head::after,
.ink-band-deep .section-head::after { border-color: var(--line-on-band); }

/* ------------------------------------------------------------
   04 · LAYOUT PRIMITIVES
   ------------------------------------------------------------ */

.container { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.container-narrow { max-width: 840px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.section-pad { padding-top: var(--s-9); padding-bottom: var(--s-9); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ------------------------------------------------------------
   05 · BUTTONS
   No hover lift anywhere — movement is reserved for meaning.
   ------------------------------------------------------------ */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.35;
  padding: 15px 30px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background .18s ease-out, color .18s ease-out,
              border-color .18s ease-out, transform .18s ease-out;
}
.btn:active { transform: scale(0.985); }
.btn-lg { font-size: 17px; padding: 17px 34px; }

.btn-ink { background: var(--ink); color: var(--bone); }        /* 15.0:1 */
.btn-ink:hover { background: var(--ink-deep); }
.btn-bone { background: var(--bone); color: var(--ink); }       /* 15.0:1 */
.btn-bone:hover { background: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bone); }
.ink-band .btn-ghost, .ink-band-deep .btn-ghost, .cta-band .btn-ghost {
  border-color: var(--bone); color: var(--bone);
}
.ink-band .btn-ghost:hover, .ink-band-deep .btn-ghost:hover, .cta-band .btn-ghost:hover {
  background: var(--bone); color: var(--ink);
}

.btn:disabled, .btn[aria-disabled="true"] {
  background: var(--mist);
  color: var(--slate);
  border-color: transparent;
  cursor: not-allowed;
  transform: none;
}

/* loading — label swaps to three powder dots, width locked in JS
   by fixing the button's width before toggling .is-loading */
.btn.is-loading { position: relative; color: transparent; pointer-events: none; }
.btn.is-loading::after {
  content: "\2022\2002\2022\2002\2022";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--powder);
  animation: btn-dots .9s ease-in-out infinite;
}
@keyframes btn-dots { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* optional trailing-arrow button: <span class="arrow">→</span> */
.btn-arrow .arrow { display: inline-block; transition: transform .18s ease-out; }
.btn-arrow:hover .arrow { transform: translateX(4px); }

/* text links — ink 600 with a 2px powder-deep underline; the state
   never rides on the 2.28:1 powder-deep colour alone */
.text-link {
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color .15s ease-out;
}
.text-link:hover { text-decoration-color: var(--ink); color: var(--text); }
.ink-band .text-link, .ink-band-deep .text-link, .cta-band .text-link {
  color: var(--accent-on-band);
  text-decoration-color: rgba(168, 198, 222, 0.5);
}
.ink-band .text-link:hover, .ink-band-deep .text-link:hover, .cta-band .text-link:hover {
  text-decoration-color: var(--bone);
}

/* ------------------------------------------------------------
   06 · HEADER / NAV
   ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 245, 244, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: var(--border-hairline);
}
/* .is-scrolled toggled by a 1px IntersectionObserver sentinel */
.site-header.is-scrolled {
  background: rgba(243, 245, 244, 0.96);
  box-shadow: var(--shadow-1);
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  gap: 40px;
  transition: padding .25s ease-out;
}
.site-header.is-scrolled .nav { padding-top: 12px; padding-bottom: 12px; }

/* Home (.header--glass): the header opens as part of the ink hero — reads
   as transparent over it — then takes the standard glass treatment the
   moment the sentinel scrolls away. The open mobile menu keeps its own
   solid canvas background, so nothing there needs a glass variant. */
.header--glass { transition: background .3s ease, box-shadow .3s ease, border-color .3s ease; }
.header--glass:not(.is-scrolled) {
  background: var(--ink);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.header--glass:not(.is-scrolled) .wordmark { color: var(--bone); }
/* top-level links only — never the links inside the white dropdown panels */
.header--glass:not(.is-scrolled) .nav-links > a,
.header--glass:not(.is-scrolled) .nav-drop > a { color: var(--bone); }
.header--glass:not(.is-scrolled) .nav-links > a::after { background: var(--powder); }
.header--glass:not(.is-scrolled) .nav-drop > a.active::before,
.header--glass:not(.is-scrolled) .nav-drop:hover > a::before { background: var(--powder); }
.header--glass:not(.is-scrolled) .nav > .btn-ink { background: var(--bone); color: var(--ink); }
.header--glass:not(.is-scrolled) .nav > .btn-ink:hover { background: var(--powder); }
.header--glass:not(.is-scrolled) .nav-toggle span { background: var(--bone); }

/* wordmark — PDF p2: minimum 24px on screen; never shrink it.
   Sep 2026 rebrand: the wordmark is now an image (bubble letterforms) —
   the font rules below only style the alt text if the image fails. */
.wordmark {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.wordmark .dot { color: var(--accent); }
.wordmark-lg { font-size: 28px; }
.wordmark img { display: block; height: 18px; width: auto; }
.footer-top .wordmark-lg img { height: 22px; }
.footer-bottom .wordmark img { height: 15px; }
/* home glass header carries both variants; bone shows over the ink hero */
.header--glass .logo-bone { display: none; }
.header--glass:not(.is-scrolled) .logo-bone { display: block; }
.header--glass:not(.is-scrolled) .logo-ink { display: none; }

.nav-links { display: flex; gap: 32px; margin-left: auto; font-weight: 500; font-size: 15px; }
.nav-links a { padding: 6px 0; color: var(--ink); position: relative; }
/* hover/active state is a 4px powder-deep dot (decorative echo of the
   wordmark) plus weight — text stays ink, state never rides on colour */
.nav-links > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%) scale(.5);
  opacity: 0;
  transition: opacity .15s ease-out, transform .15s ease-out;
}
.nav-links > a:hover::after,
.nav-links > a.active::after { opacity: 1; transform: translateX(-50%) scale(1); }
.nav-links a.active { font-weight: 600; border-bottom: 0; }
.nav .btn { padding: 12px 24px; font-size: 15px; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; }
.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 24px;
  background: var(--canvas);
  border-bottom: var(--border-hairline);
}
.mobile-menu a { padding: 12px 0; font-weight: 600; font-size: 17px; border-bottom: var(--border-hairline); }
/* mobile accordion groups (Services / Industries) */
.mobile-menu .mm-group { border-bottom: var(--border-hairline); }
.mobile-menu .mm-group summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 0;
  font-weight: 600;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu .mm-group summary::-webkit-details-marker { display: none; }
.mobile-menu .mm-group summary::after {
  content: "";
  width: 8px; height: 8px;
  border-right: 2px solid var(--slate);
  border-bottom: 2px solid var(--slate);
  transform: rotate(45deg);
  transition: transform .18s ease-out;
  margin-right: 4px;
}
.mobile-menu .mm-group[open] summary::after { transform: rotate(-135deg); }
.mobile-menu .mm-sub { display: grid; padding: 0 0 12px 14px; }
.mobile-menu .mm-sub a { border-bottom: 0; padding: 9px 0; font-weight: 500; font-size: 15.5px; }
.mobile-menu .mm-sub .mm-all { font-weight: 600; color: var(--powder-deep); }
@media (prefers-reduced-motion: reduce) { .mobile-menu .mm-group summary::after { transition: none; } }
.mobile-menu .btn, .mobile-menu a.btn-ink {
  margin-top: var(--s-3);
  border-bottom: 0;
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--r-pill);
  text-align: center;
  padding: 15px 30px;
}

/* dropdown */
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.nav-drop > a::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .15s ease;
}
.nav-drop:hover > a::after, .nav-drop:focus-within > a::after { transform: rotate(225deg) translateY(-1px); }
/* active-state dot for drop toggles (their ::after is the chevron) */
.nav-drop > a.active::before, .nav-drop:hover > a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateX(-50%);
}
.drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 264px;
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: var(--r-lg);
  padding: 10px;
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-drop:hover .drop-panel, .nav-drop:focus-within .drop-panel { opacity: 1; visibility: visible; transform: none; }
.drop-panel::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.drop-panel a {
  display: block;
  padding: 11px 14px;
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 15px;
}
.drop-panel a:hover { background: var(--canvas); color: var(--ink); }
.drop-panel a small { display: block; font-size: 12.5px; color: var(--text-2); font-weight: 400; margin-top: 1px; }
.drop-panel .drop-all {
  border-top: var(--border-hairline);
  margin-top: 6px;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ------------------------------------------------------------
   07 · CHIPS (badges + filter chips)
   ------------------------------------------------------------ */

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
/* chip on an ink band: ink-deep pill, powder text (10.4:1) */
.ink-band .chip, .ink-band-deep .chip {
  background: var(--ink-deep);
  border-color: var(--line-on-band);
  color: var(--powder);
}

/* filter chips (buttons) — state = fill + dot, never colour alone */
button.chip, .chip[role="button"] { cursor: pointer; transition: border-color .15s ease-out, background .15s ease-out, color .15s ease-out; }
button.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.chip.is-active::before, .chip[aria-pressed="true"]::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--powder);
  flex-shrink: 0;
}
.chip-count { font-weight: 700; }

/* filter chips scroll on mobile — apply to the chip row wrapper */
.chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* pulse — one of two permitted infinite animations; means "on air" */
@keyframes smpulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: smpulse 1.8s infinite;
  flex-shrink: 0;
}
.pulse-ink { background: var(--powder); }

/* ------------------------------------------------------------
   08 · HERO + PAGE HERO
   Homepage hero lives inside .ink-band (moment one).
   Inner pages use .page-hero: light, type only, full air.
   ------------------------------------------------------------ */

.hero { padding-top: 84px; padding-bottom: 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero .chip { margin-bottom: 28px; }
.hero-lede { margin: 28px 0 38px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.page-hero { padding-top: 84px; padding-bottom: var(--s-8); }
.page-hero .chip { margin-bottom: 26px; }

/* tight variant — crumbs sit comfortably under the nav; shared form of
   the .tl-hero/.aff-hero page-local overrides (apply beside .page-hero) */
.page-hero--tight { padding-top: 10px; }
.page-hero--tight .crumbs { padding-top: 26px; }

/* hero media */
.hero-media { position: relative; }
.hero-media .hatch { aspect-ratio: 4 / 3.4; }

/* hatch frames — filled: cover + inset keyline; empty: mist plate
   with fine ledger rules and an editorial credit caption */
.hatch {
  background: var(--surface-tint);
  background-image: repeating-linear-gradient(-45deg, rgba(20, 32, 46, 0.035) 0 1px, transparent 1px 12px);
  border-radius: var(--r-lg);
  border: var(--border-hairline);
  position: relative;
  overflow: hidden;
}
.hatch::after {
  /* inset keyline so pale photos never bleed into bone */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(20, 32, 46, 0.08);
  pointer-events: none;
  z-index: 2;
}
.hatch > .photo,
.hatch > picture > .photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* cool-grade fallback for ungraded assets */
  filter: saturate(.92) contrast(1.04);
}
.hatch > .photo ~ .hatch-note,
.hatch > picture ~ .hatch-note { display: none; }
.hatch-note {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-2);
  padding: var(--s-4);
}
.hatch-note::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
/* optional slug chip over a filled photo */
.hatch-cap {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 20, 30, 0.78);
  color: var(--bone);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-pill);
}

/* phone bezel — one system sitewide: 18px outer radius / ~12px inner
   (18px outer minus the 6px chassis border), a hairline ink ring so the
   frame reads on any ground, and a real shadow-2 lift instead of a flat
   ring. */
.hero-phone {
  position: absolute;
  left: -34px;
  bottom: -40px;
  width: 202px;
  aspect-ratio: 9 / 18.5;
  border-radius: calc(var(--r-md) + 6px);
  border: 6px solid var(--ink-deep);
  overflow: hidden;
  background: var(--ink-deep);
  box-shadow: 0 0 0 1px rgba(20, 32, 46, .14), var(--shadow-2);
}
/* on ink grounds the rgba-ink ring and the ink-toned shadow both vanish
   into the background — swap for a light hairline + a darker, tighter
   lift so the bezel still reads as a lifted object */
.ink-band .hero-phone, .ink-band-deep .hero-phone, .cta-band .hero-phone {
  box-shadow: 0 0 0 1px rgba(226, 234, 240, .16), 0 20px 44px -14px rgba(0, 0, 0, .55);
}
.hero-phone video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* main-bezel modifier for the homepage hero: static, 260px, centered */
.hero-phone--main {
  position: relative;
  left: auto;
  bottom: auto;
  width: 260px;
  margin: 0 auto;
}

/* broadcast chrome — 11px caps floor for compact chrome */
.live-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 20, 30, 0.78);
  color: var(--powder);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  border-radius: var(--r-pill);
}
.live-tag .pulse { width: 6px; height: 6px; }

/* running timecode chip — JS ticks the text content 1s */
.timecode {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(12, 20, 30, 0.78);
  color: var(--powder);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: var(--r-pill);
}

/* floating stat plates — the only rotation in the system */
.hero-float {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow-2);
}
.hero-float .num { font-size: 20px; }
.hero-float small { font-size: var(--t-label); color: var(--text-2); font-weight: 500; }
.hero-float-record { top: -22px; right: -10px; transform: rotate(1.5deg); }

/* ------------------------------------------------------------
   09 · STATS BAR — the verified ledger
   ------------------------------------------------------------ */

.stats-bar {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  padding: 40px 0 0;
  border-top: var(--rule);
  margin-top: var(--s-5);
}
.stat + .stat { border-left: 1px solid var(--line); padding-left: var(--s-5); }
.stat .num {
  font-size: var(--t-num);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  line-height: 1.05;
  color: var(--text);
}
.stat-label { font-size: var(--t-small); color: var(--text-2); margin-top: 4px; }

.ink-band .stats-bar, .ink-band-deep .stats-bar { border-top-color: rgba(226, 234, 240, 0.2); }
.ink-band .stat + .stat, .ink-band-deep .stat + .stat { border-left-color: var(--line-on-band); }
.ink-band .stat .num { color: var(--accent-on-band); }        /* 9.3:1 */
.ink-band-deep .stat .num { color: var(--powder); }           /* 10.4:1 */
.ink-band .stat-label, .ink-band-deep .stat-label { color: var(--band-text-2); }

/* verified variant — caption row + methodology asterisk */
.stats-bar--verified { position: relative; }
.stats-caption {
  flex-basis: 100%;
  font-size: var(--t-fine);
  font-weight: 500;
  color: var(--text-2);
  order: 99;
  padding-top: var(--s-4);
}
.ink-band .stats-caption, .ink-band-deep .stats-caption { color: var(--band-text-2); }
/* one-line methodology note, sits above the footer */
.stats-note {
  font-size: var(--t-fine);
  color: var(--text-2);
  border-top: var(--rule);
  padding-top: var(--s-4);
  max-width: 720px;
}

/* ------------------------------------------------------------
   10 · RECORD INDEX — the static ruled proof list
   (replaces the .home-mq marquee: reads like a stock listing)
   ------------------------------------------------------------ */

.record-index { border-top: var(--rule); }
.record-row {
  display: grid;
  grid-template-columns: 130px 1fr auto 24px;
  align-items: center;
  gap: var(--s-5);
  padding: 18px 10px;
  border-bottom: var(--rule);
  transition: background .15s ease-out;
}
.record-row:hover { background: var(--surface-tint); }
.record-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--surface-tint);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  justify-self: start;
}
.record-brand { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.record-metric { font-weight: 700; font-size: 17px; color: var(--text); }
.record-arrow { color: var(--text-2); transition: transform .18s ease-out; }
.record-row:hover .record-arrow { transform: translateX(4px); color: var(--text); }

/* ------------------------------------------------------------
   11 · CASE TRIO — record (ink) · growth (powder) · partner (mist)
   PDF p7 semantics. Solid text only; no opacity tints; no lift.
   ------------------------------------------------------------ */

.case-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.case-card {
  border-radius: var(--r-lg);
  padding: 34px 32px 30px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease-out;
}
.case-ink { background: var(--band); color: var(--band-text); }
.case-ink .label { color: var(--powder); }
.case-ink .case-sub { color: var(--band-text-2); }
.case-ink .case-num { color: var(--powder); }                  /* 9.3:1 */
.case-powder { background: var(--powder); color: var(--ink); } /* 9.3:1, solid */
.case-powder .label { color: var(--ink); opacity: 1; }
.case-powder .case-sub { color: var(--ink); opacity: 1; }
.case-powder .dot { color: var(--white); }                     /* PDF p2: off-white on powder */
.case-mist { background: var(--surface-tint); color: var(--ink); }
.case-mist .case-sub { color: var(--ink); }                    /* slate/mist 4.09 fails at 14.5px */
.case-num {
  font-weight: 700;
  font-size: var(--t-num-hero);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: auto 0 14px;
}
.case-headline { font-weight: 700; font-size: 27px; line-height: 1.12; letter-spacing: -0.02em; margin: auto 0 14px; }
.case-sub { font-size: 14.5px; line-height: 1.6; }
.case-card .wordmark-sm { font-weight: 700; font-size: 17px; letter-spacing: -0.035em; margin-top: 26px; }
.case-card .label { display: flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------
   12 · SERVICE CARDS
   ------------------------------------------------------------ */

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: border-color .2s ease-out;
}
.service-card:hover { border-color: var(--ink); }
.service-card h3 { font-weight: 600; font-size: var(--t-heading); letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; line-height: 1.65; color: var(--text-2); }
.service-num { font-weight: 700; font-size: var(--t-fine); color: var(--text-2); margin-bottom: 16px; display: block; }

/* ------------------------------------------------------------
   13 · INK BANDS — the ceremonial moments (max three per page)
   Devices reserved for bands: 1px powder top rule at 20%,
   one 6%-alpha powder glow. Explicit foregrounds kill the
   inherited-colour bugs on /about/ and /services/tiktok-shop-management/.
   ------------------------------------------------------------ */

.ink-band {
  background: var(--band);
  color: var(--band-text);
  position: relative;
  z-index: 0;
}
.ink-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1136px, calc(100% - 64px));
  height: 1px;
  background: rgba(168, 198, 222, 0.2);
  z-index: -1;
}
.ink-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(168, 198, 222, 0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.ink-band .display, .ink-band h2, .ink-band h3 { color: var(--band-text); }
.ink-band .lede { color: var(--band-text-2); opacity: 1; }     /* 13.5:1 */
.ink-band .lede strong, .ink-band-deep .lede strong,
.cta-band .lede strong { color: var(--band-text); }
/* white surfaces inside a band keep light-surface foregrounds */
.ink-band .panel, .ink-band-deep .panel,
.ink-band .service-card, .ink-band-deep .service-card { color: var(--text); }
/* .ink-band h3 (above) washes white-card titles bone-on-white —
   card headings stay ink on their light surface */
.ink-band .service-card h3 { color: var(--text); }
.ink-band-deep .service-card h3 { color: var(--text); }
.ink-band .panel .check, .ink-band-deep .panel .check { color: var(--text-2); }
.ink-band .panel .check .tick, .ink-band-deep .panel .check .tick { color: var(--accent); }

.ink-band-deep {
  background: var(--band-deep);
  color: var(--band-text);                                     /* 16.9:1 */
  position: relative;
  z-index: 0;
}
.ink-band-deep::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1136px, calc(100% - 64px));
  height: 1px;
  background: rgba(168, 198, 222, 0.2);
  z-index: -1;
}
.ink-band-deep .display, .ink-band-deep h2, .ink-band-deep h3 { color: var(--band-text); }
.ink-band-deep .lede { color: var(--band-text-2); opacity: 1; }

/* ------------------------------------------------------------
   14 · TILES / GALLERY / LOGO ROW
   ------------------------------------------------------------ */

.tile-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.tile { border-radius: 16px; overflow: hidden; position: relative; }
.tile .hatch { border-radius: 0; border: 0; height: 100%; }
.tile-tall { aspect-ratio: 3 / 4; }
.tile-wide { aspect-ratio: 16 / 10; }
.tile-cap {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 48px;
  align-items: center;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text-2);
}
.logo-row span { opacity: 1; }

/* ------------------------------------------------------------
   15 · PANELS
   Panels are furniture: hairline, no shadow, no hover motion.
   ------------------------------------------------------------ */

.panel {
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: var(--r-lg);
  padding: var(--s-6);
}
.panel-mist { background: var(--surface-tint); border-color: transparent; }
/* on mist, body-size slate fails (4.09) — all body text reads ink */
.panel-mist, .panel-mist p { color: var(--text); }

/* ledger-line panel header: caps label left, tabular figure right */
.panel-num {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-4);
  border-bottom: var(--rule);
}
.panel-num .label { flex: 1; }
.panel-num .num { font-size: 20px; }

.checklist { display: flex; flex-direction: column; gap: 13px; margin-top: 26px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.panel-mist .check { color: var(--text); }
.check .tick { color: var(--accent); font-weight: 700; }       /* decorative glyph */
.ink-band .check, .ink-band-deep .check { color: var(--band-text-2); }
.ink-band .check .tick, .ink-band-deep .check .tick { color: var(--powder); }

/* ------------------------------------------------------------
   16 · POST CARDS — metric-first ledger cards (blog + work)
   No lift, no hover shadow; border animates mist -> ink.
   ------------------------------------------------------------ */

.post-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; }
.post-card {
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s ease-out;
}
.post-card:hover { border-color: var(--ink); }
.post-card .hatch { border-radius: 0; border: 0; aspect-ratio: 16 / 9; }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

/* ledger top row: the brand label opens the card on a hairline */
.post-body > .label {
  padding-bottom: var(--s-3);
  border-bottom: var(--rule);
  margin-bottom: 2px;
}
/* optional head wrapper (migration): label left, tags right, one rule */
.post-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: var(--rule);
  margin-bottom: 2px;
}
.post-head .label { padding-bottom: 0; border-bottom: 0; margin-bottom: 0; }

.post-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.post-tag {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);                 /* powder-deep on mist (1.9:1) is banned */
  background: var(--surface-tint);
  padding: 5px 10px;
  border-radius: var(--r-pill);
}
.post-card h3 { font-weight: 600; font-size: var(--t-heading); line-height: 1.3; letter-spacing: -0.015em; }
.post-card h3::after { content: "."; color: var(--accent); }
.post-card p { font-size: var(--t-small); line-height: 1.6; color: var(--text-2); }
.post-meta { margin-top: auto; font-size: 12.5px; color: var(--text-2); }
.post-meta a, .post-meta strong { font-weight: 600; color: var(--text); }
/* the promoted numeral — always the largest element on the card */
.post-card .post-num {
  font-weight: 700;
  font-size: var(--t-num);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text);
}
.post-card .post-num::after { content: "."; color: var(--accent); }
/* arrow affordance inside meta links */
.post-card .arrow { display: inline-block; transition: transform .18s ease-out; }
.post-card:hover .arrow { transform: translateX(4px); }

/* ------------------------------------------------------------
   17 · QUOTES
   ------------------------------------------------------------ */

.quote-card {
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: var(--r-lg);
  padding: 30px 32px;
}
.quote-card .q { font-weight: 500; font-size: var(--t-heading); line-height: 1.55; color: var(--text); }
.quote-card .q::before { content: "\201C"; color: var(--accent); font-weight: 700; }
.quote-card .q::after { content: "\201D"; color: var(--accent); font-weight: 700; }
.quote-who { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.quote-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--powder);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--t-small);
  flex-shrink: 0;
  overflow: hidden;
}
.quote-avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-who .who-name { font-weight: 600; font-size: 14.5px; }
.quote-who .who-role { font-size: var(--t-fine); color: var(--text-2); }
/* right-aligned tabular proof chip: <span class="quote-proof">£10m+ month</span> */
.quote-proof {
  margin-left: auto;
  font-weight: 700;
  font-size: var(--t-small);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--text);
  background: var(--surface-tint);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  white-space: nowrap;
}

/* ------------------------------------------------------------
   18 · PROSE / CRUMBS / FAQ
   ------------------------------------------------------------ */

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: var(--t-fine);
  font-weight: 500;
  color: var(--text-2);
  padding-top: 26px;
}
.crumbs a { display: inline-block; padding-block: 9px; margin-block: -9px; } /* 40px+ tap target, no visual shift */
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--accent); }         /* decorative separator */
.crumbs .here { font-weight: 600; color: var(--text); }

.prose { max-width: 720px; font-size: 16px; line-height: 1.75; color: var(--text); }
.prose h2 { font-weight: 700; font-size: var(--t-title); letter-spacing: -0.02em; line-height: 1.2; margin: 44px 0 16px; color: var(--text); }
.prose h3 { font-weight: 600; font-size: var(--t-heading); letter-spacing: -0.015em; margin: 34px 0 12px; color: var(--text); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); }
.prose a {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-color .15s ease-out;
}
.prose a:hover { text-decoration-color: var(--ink); }
/* buttons inside prose keep their button skin — .prose a (0,1,1) otherwise
   repaints a .btn-ink (0,1,0) CTA ink-on-ink (invisible) and underlines it */
.prose .btn { text-decoration: none; }
.prose .btn-ink { color: var(--bone); }
.prose .btn-bone { color: var(--ink); }
.prose .btn-ghost { color: var(--ink); }
.prose .btn-ghost:hover { color: var(--bone); }
.prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px var(--s-5);
  background: transparent;
  border-left: 3px solid var(--accent);
  border-radius: 0;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text);
}
.prose .callout-num { font-weight: 700; font-size: 40px; letter-spacing: -0.03em; color: var(--text); display: block; line-height: 1.1; }

.faq { max-width: 820px; }
.faq details {
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 600;
  font-size: 22px;
  color: var(--accent);
  transition: transform .18s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.7; color: var(--text-2); max-width: 700px; }

/* ------------------------------------------------------------
   19 · CAPABILITY BLOCKS
   ------------------------------------------------------------ */

.cap-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; border-top: var(--rule); }
.cap-block:last-of-type { border-bottom: var(--rule); }
.cap-num { font-weight: 700; font-size: 15px; color: var(--text-2); display: block; margin-bottom: 12px; }
.cap-block h3 { font-weight: 700; font-size: 26px; letter-spacing: -0.02em; margin-bottom: 12px; }
.cap-block .cap-body { font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.cap-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.cap-list span {
  font-weight: 500;
  font-size: 13.5px;
  background: var(--surface);
  border: var(--border-hairline);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  color: var(--text);
}
.cap-block .hatch { aspect-ratio: 16 / 11; }

/* ------------------------------------------------------------
   20 · CTA BAND
   One per page, always last before the footer. No drop shadow.
   ------------------------------------------------------------ */

.cta-band {
  background: var(--band);
  color: var(--band-text);
  border-radius: var(--r-xl);
  padding: var(--s-9) 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 0;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(168, 198, 222, 0.2);
  z-index: -1;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(168, 198, 222, 0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.cta-band .lede { margin: 18px auto 34px; color: var(--band-text-2); opacity: 1; }
/* reassurance line beneath the button */
.cta-reassure { margin-top: var(--s-4); font-size: var(--t-fine); color: var(--band-text-2); }

/* ------------------------------------------------------------
   21 · SHOWREEL — the LIVE moment (manual, snap, counted)
   Replaces the .home-reel marquee. Videos preload=none + poster,
   played by JS only while visible AND intended; max one at once.
   ------------------------------------------------------------ */

.showreel { position: relative; }
.showreel-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: var(--s-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  scrollbar-width: none;
}
.showreel-rail::-webkit-scrollbar { display: none; }
.showreel-tile {
  position: relative;
  flex: none;
  width: 236px;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--ink-deep);
}
.showreel-tile video, .showreel-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.showreel-tile .live-tag { top: 14px; left: 14px; }
.showreel-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(12, 20, 30, 0.82));
  color: var(--bone);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: -0.005em;
  z-index: 2;
}
/* stat tiles inside the reel keep the p7 card semantics */
.showreel-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  background: var(--powder);
  color: var(--ink);
  padding: 22px 20px;
}
.showreel-stat .num { font-size: clamp(36px, 3.2vw, 46px); letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.showreel-stat p { font-size: 12.5px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.showreel-stat--ink { background: var(--ink-deep); color: var(--bone); }
.showreel-stat--ink .num { color: var(--powder); }
.showreel-stat--ink p { color: var(--mist); }

.showreel-controls {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-5);
}
.showreel-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-on-band);
  background: transparent;
  color: var(--powder);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s ease-out, background .15s ease-out;
}
.showreel-btn:hover { border-color: var(--powder); }
.showreel-counter {
  font-weight: 600;
  font-size: var(--t-fine);
  color: var(--powder);
  letter-spacing: 0.06em;
}
.showreel-hint {
  margin-left: auto;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--band-text-2);
}

/* ------------------------------------------------------------
   21b · DRAG RAIL — pointer-drag enhancement for scroll rails
   Opt-in via [data-drag-rail]; site.js drives it: mouse drag
   scrolls the rail, arrow keys step it one card at a time,
   touch keeps native scroll + snap. .is-dragging suspends
   snap and smooth-scroll so scrollLeft tracks the pointer 1:1.
   ------------------------------------------------------------ */

[data-drag-rail] { cursor: grab; }
[data-drag-rail].is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
  -webkit-user-select: none;
}

/* ------------------------------------------------------------
   22 · FORMS — the lead-gen product
   Also skins existing page fields via [class*="-field"]
   (.contact-field, .sots-field, .playbook-field, ...).
   ------------------------------------------------------------ */

.field, [class*="-field"] { display: block; margin-bottom: var(--s-4); }
.field label, [class*="-field"] label {
  display: block;
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: var(--s-2);
  transition: color .2s ease-out;
}
.field input, .field select, .field textarea,
[class*="-field"] input, [class*="-field"] select, [class*="-field"] textarea {
  width: 100%;
  min-height: 52px;
  background: var(--surface);
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 16px;              /* prevents iOS zoom */
  line-height: 1.4;
  color: var(--text);
  transition: border-color .2s ease-out, box-shadow .2s ease-out;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea, [class*="-field"] textarea { min-height: 140px; resize: vertical; }
.field ::placeholder, [class*="-field"] ::placeholder { color: var(--text-2); opacity: 1; }

/* select chevron */
.field select, [class*="-field"] select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2314202E' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

/* focus choreography: border mist->ink + powder halo + label turns
   ink, one 200ms move. Ink border is the 3:1 state carrier. */
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
[class*="-field"] input:focus-visible, [class*="-field"] select:focus-visible, [class*="-field"] textarea:focus-visible {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(168, 198, 222, 0.4);
}
.field:focus-within > label, [class*="-field"]:focus-within > label { color: var(--text); }

/* checkbox / radio */
.field input[type="checkbox"], .field input[type="radio"],
[class*="-field"] input[type="checkbox"], [class*="-field"] input[type="radio"] {
  width: 20px; height: 20px;
  min-height: 0;
  padding: 0;
  accent-color: var(--ink);
  vertical-align: -4px;
  appearance: auto;
  -webkit-appearance: auto;
}
.field-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: var(--s-4);
  font-size: var(--t-small);
  line-height: 1.6;
  color: var(--text-2);
}
.field-check input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--ink); margin-top: 2px; flex-shrink: 0; }

/* error — border + icon + message, never colour alone.
   Wire aria-describedby from the input to the message id. */
.field.has-error input, .field.has-error select, .field.has-error textarea,
[class*="-field"].has-error input, [class*="-field"].has-error textarea {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.field-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-2);
  font-weight: 600;
  font-size: var(--t-fine);
  color: var(--text);
}
.field-error::before {
  content: "!";
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* form-level error — injected by js/lead.js on failed submits */
.form-error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-3);
  font-weight: 600;
  font-size: var(--t-fine);
  color: var(--text);
}
.form-error::before {
  content: "!";
  flex-shrink: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.form-error[hidden] { display: none; }

/* success */
.field-success {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--s-2);
  font-weight: 500;
  font-size: var(--t-fine);
  color: var(--text-2);
}
.field-success::before { content: "\2713"; color: var(--accent); font-weight: 700; }
.form-success {
  background: var(--surface-tint);
  border-radius: var(--r-md);
  padding: var(--s-5);
  font-size: 15px;
  color: var(--text);
}

/* privacy line under the submit */
.form-note { margin-top: var(--s-3); font-size: var(--t-fine); color: var(--text-2); }

/* gated-offer panel — HubSpot mechanics, OpenStudio skin:
   caps label + title + itemised contents + 3 fields + verb submit */
.offer-panel { background: var(--surface); border: var(--border-hairline); border-radius: var(--r-lg); padding: var(--s-6); }
.offer-panel .checklist { margin-top: var(--s-4); margin-bottom: var(--s-5); }
.offer-proof { font-size: var(--t-fine); font-weight: 500; color: var(--text-2); margin-top: var(--s-3); }

/* booking slots — custom booking flow picker */
.booking-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: var(--s-3);
  margin: var(--s-4) 0;
}
.booking-slots .slot {
  font-family: var(--font);
  font-weight: 600;
  font-size: var(--t-small);
  font-variant-numeric: lining-nums tabular-nums;
  background: var(--surface);
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  padding: 13px 10px;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease-out, background .15s ease-out, color .15s ease-out;
}
.booking-slots .slot:hover { border-color: var(--ink); }
.booking-slots .slot.is-active,
.booking-slots .slot[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.booking-slots .slot:disabled,
.booking-slots .slot[aria-disabled="true"] {
  background: var(--surface-tint);
  border-color: transparent;
  color: var(--slate);
  cursor: not-allowed;
}
.booking-day-label { font-weight: 600; font-size: var(--t-label); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin: var(--s-4) 0 var(--s-2); }

/* forms: full-width submit under 640 handled in media queries */

/* ------------------------------------------------------------
   23 · CTA DOCK — mobile-only sticky conversion bar
   JS adds .is-visible after 55% scroll depth; hidden on /contact/.
   ------------------------------------------------------------ */

.cta-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  gap: var(--s-4);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(243, 245, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: var(--rule);
  box-shadow: var(--shadow-1);
  transform: translateY(100%);
  transition: transform .25s ease-out;
}
.cta-dock.is-visible { transform: translateY(0); }
.cta-dock .btn { flex: 1; }
.cta-dock-proof {
  font-weight: 600;
  font-size: var(--t-fine);
  color: var(--text);
  white-space: nowrap;
}

/* ------------------------------------------------------------
   24 · FOOTER — band-deep, explicit foregrounds
   The 5-column grid moves here from 70 inline copies.
   ------------------------------------------------------------ */

.footer { background: var(--band-deep); color: var(--band-text); margin-top: 104px; }
.footer .wordmark { color: var(--band-text); }
.footer .wordmark .dot { color: var(--powder); }

/* conversion band above the columns */
.footer-cta {
  border-bottom: 1px solid rgba(226, 234, 240, 0.12);
  padding: 72px 0 64px;
}
.footer-cta .display { color: var(--band-text); }
.footer-cta-row { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-6); }
.footer-cta-email {
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--powder);                                        /* 10.4:1 */
}
.footer-cta-email:hover { color: var(--band-text); }

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1.1fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-tagline { font-size: 14.5px; line-height: 1.65; color: var(--band-text-2); margin-top: 14px; max-width: 280px; }
.footer-col-title {
  font-weight: 600;
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--powder);
  margin-bottom: 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--band-text); }
.footer-col a { color: var(--band-text); }                     /* 16.9:1 */
.footer-col a:hover { color: var(--powder); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 30px;
  border-top: 1px solid rgba(226, 234, 240, 0.12);
  font-size: var(--t-fine);
  color: var(--band-text-2);
}
.footer-bottom a { display: inline-block; padding-block: 11px; margin-block: -11px; } /* 40px tap target, no visual shift */
.footer-bottom a:hover { color: var(--powder); }

/* ------------------------------------------------------------
   24b · CARD LIFT — linked-card affordance utility
   Apply to any block-level (or grid/flex-child) <a> card or
   panel: lift + shadow on hover, border darkens if one exists,
   and a trailing .arrow steps right. Mirrors the homepage
   .home-rec-card / .home-case behaviour.
   ------------------------------------------------------------ */

.card-lift { transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.card-lift:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-2); }
.card-lift .arrow { display: inline-block; transition: transform .18s ease; }
.card-lift:hover .arrow { transform: translateX(4px); }

/* ------------------------------------------------------------
   25 · MOTION
   Budget: reveals, the landing dot, count-ups, one user-driven
   showreel, the pulse, the timecode. Nothing else moves.
   ------------------------------------------------------------ */

/* hidden state is gated on html.js (added by the first line of site.js):
   with JavaScript off, .reveal content renders fully visible */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}
.reveal.in, html.js .reveal.in { opacity: 1; transform: none; }
.reveal-2 { transition-delay: .08s; }
.reveal-3 { transition-delay: .16s; }
.reveal-4 { transition-delay: .24s; }

/* the landing dot — the headline lands, then the full stop is placed */
html.js .reveal .display .dot {
  display: inline-block;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .3s cubic-bezier(.34, 1.56, .64, 1) .45s, transform .3s cubic-bezier(.34, 1.56, .64, 1) .45s;
}
.reveal.in .display .dot, html.js .reveal.in .display .dot { opacity: 1; transform: scale(1); }

/* ------------------------------------------------------------
   26 · REDUCED MOTION — absolute
   ------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal .display .dot,
  html.js .reveal, html.js .reveal .display .dot { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none !important; }
  .btn.is-loading::after { animation: none; }
  .showreel-rail, [data-drag-rail] { scroll-behavior: auto; }
  .site-header .nav, .cta-dock, .btn, .record-arrow, .post-card .arrow,
  .btn-arrow .arrow, .card-lift, .card-lift .arrow { transition: none; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
}

/* ------------------------------------------------------------
   27 · RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 1024px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .case-grid { grid-template-columns: 1fr; }
  .case-card { min-height: 0; }
  .case-num, .case-headline { margin-top: 26px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .tile-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-phone { left: 10px; bottom: -30px; }
  .hero-phone--main { left: auto; bottom: auto; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .cap-block { grid-template-columns: 1fr; gap: 28px; }
  .cta-dock { display: flex; }
  .record-row { grid-template-columns: 110px 1fr auto 20px; gap: var(--s-4); }
}

@media (max-width: 640px) {
  .container, .container-narrow, .nav { padding-left: 20px; padding-right: 20px; }
  .section-pad { padding-top: var(--s-8); padding-bottom: var(--s-8); }
  .hero { padding-top: 52px; }
  .stats-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .stat .num { font-size: 34px; }
  .service-grid, .tile-grid, .post-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-cta { padding: 56px 0 48px; }
  .cta-band { padding: 56px 24px; }
  .record-row { grid-template-columns: 1fr auto; gap: 8px var(--s-4); padding: 16px 6px; }
  .record-tag { grid-row: 1; }
  .record-metric { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .record-brand { grid-column: 1; grid-row: 2; }
  .record-arrow { display: none; }
  .showreel-tile { width: 176px; }
  /* filter chips: one scrolling row */
  .chip-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: var(--s-2);
    scrollbar-width: none;
  }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip-row .chip { flex: none; scroll-snap-align: start; }
  /* forms: full-width submit */
  form .btn[type="submit"], form button[type="submit"] { width: 100%; }
  .booking-slots { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  /* quote-card proof chip: wraps under the who-row instead of forcing overflow */
  .quote-who { flex-wrap: wrap; }
  .quote-proof { margin-left: 0; flex-basis: 100%; }
}

/* ------------------------------------------------------------
   28 · PRINT
   ------------------------------------------------------------ */

@media print {
  body { background: #fff; color: #000; }
  .site-header, .nav-toggle, .mobile-menu, .cta-dock, .skip-link,
  .showreel-controls, .btn, .cta-band, .footer-cta, video { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ink-band, .ink-band-deep, .footer { background: #fff !important; color: #000 !important; }
  .ink-band::before, .ink-band::after, .ink-band-deep::before { display: none; }
  .ink-band .display, .ink-band-deep .display, .footer .wordmark,
  .ink-band .lede, .ink-band-deep .lede, .ink-band .stat .num,
  .footer-col, .footer-col a, .footer-col-title, .footer-bottom { color: #000 !important; }
  .prose a::after { content: " (" attr(href) ")"; font-weight: 400; font-size: 12px; }
  .post-card, .panel, .case-card, .quote-card { break-inside: avoid; border: 1px solid #ccc; }
}


/* ============================================================
   SHARED DARK-PAGE SYSTEM (theme-dark) + deck components
   Promoted from the homepage, 31 Oct 2026. Applies to any page
   with <body class="theme-dark">; light pages unaffected.
   ============================================================ */
/* icon system for the deck sections */
.hm-ic { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--powder); color: var(--ink); margin-bottom: 16px; flex-shrink: 0; transition: background 0.2s ease, color 0.2s ease; }
.hm-eng-card:hover .hm-ic { background: var(--ink); color: var(--powder); }
.hm-ic svg { width: 23px; height: 23px; }
.hm-ic--now { background: var(--powder); color: var(--ink); }
.hm-ic--node { width: 38px; height: 38px; border-radius: 11px; background: rgba(168, 198, 222, 0.14); color: var(--powder); margin-bottom: 12px; }
.hm-ic--node svg { width: 19px; height: 19px; }
.hm-ic--core { background: var(--powder); color: var(--ink); }
.hm-ic--opp { width: 34px; height: 34px; border-radius: 10px; background: rgba(168, 198, 222, 0.14); color: var(--powder); margin-bottom: 14px; }
.hm-ic--opp svg { width: 17px; height: 17px; }
.hm-opp--minor .hm-ic--opp { width: 30px; height: 30px; border-radius: 9px; margin-bottom: 12px; }
.hm-opp--minor .hm-ic--opp svg { width: 15px; height: 15px; }
.hm-eng-card .hm-ic { margin-bottom: 4px; }
.hm-model .hm-ic { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; }
.hm-model .hm-ic svg { width: 20px; height: 20px; }
/* ghost numerals — oversized outline digits, deck-style */
.hm-model { position: relative; overflow: hidden; }
.hm-model-n { display: block; position: absolute; top: 16px; right: 18px; margin: 0; font-weight: 800; font-size: 56px; line-height: 1; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.2px var(--powder); pointer-events: none; }
.hm-node { display: flex; flex-direction: column; align-items: flex-start; }

/* hero: staged entrance — headline, lede, CTAs rise in sequence */
@keyframes hero-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.theme-dark .hero .reveal.in h1 { animation: hero-rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both; }
.theme-dark .hero .reveal.in .hero-lede { animation: hero-rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) 0.24s both; }
.theme-dark .hero .reveal.in .hero-ctas { animation: hero-rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) 0.42s both; }
/* hero: cursor spotlight + depth layers */
[data-spotlight] { position: relative; }
[data-spotlight]::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s ease; background: radial-gradient(560px circle at var(--sx, 50%) var(--sy, 40%), rgba(168, 198, 222, 0.07), transparent 70%); }
[data-spotlight].spot-on::after { opacity: 1; }
[data-depth] { transition: translate 0.35s cubic-bezier(0.2, 0.7, 0.3, 1); will-change: translate; }

/* editorial chapter heads — hairline rule, lowercase name, magazine folio */
.ch { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(226, 234, 240, 0.16); padding-top: 13px; margin-bottom: 30px; }
.ch-name { font-size: 14px; font-weight: 500; color: rgba(226, 234, 240, 0.66); }
.ch-no { font-size: 13px; font-weight: 600; color: var(--powder); font-variant-numeric: tabular-nums; }

/* ============================================================
   THE WORK REEL — case footage flowing, gateway to /work/
   ============================================================ */
.wreel { overflow: hidden; margin-top: 8px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.wreel-track { display: flex; align-items: stretch; gap: 14px; width: max-content; padding: 6px 14px 6px 0; animation: lgm-scroll 60s linear infinite; will-change: transform; }
.wreel:hover .wreel-track { animation-play-state: paused; }
.wreel-tile { position: relative; display: block; width: 186px; height: 330px; border-radius: 14px; overflow: hidden; border: 1px solid rgba(168, 198, 222, 0.22); flex-shrink: 0; transition: transform 0.2s ease, border-color 0.2s ease; }
.wreel-tile:hover { transform: translateY(-4px); border-color: var(--powder); }
.wreel-tile video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink-deep); }
.wreel-pill { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(12, 20, 30, 0.74); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: var(--bone); border-radius: var(--r-pill); padding: 6px 11px; font-weight: 600; font-size: 11.5px; white-space: nowrap; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; }
.wreel-stat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; width: 216px; background: var(--ink-deep); padding: 20px 18px; }
.wreel-num { font-weight: 800; font-size: 40px; letter-spacing: -0.03em; color: var(--powder); font-variant-numeric: tabular-nums; line-height: 1; }
.wreel-stat small { font-size: 13px; line-height: 1.5; color: rgba(226, 234, 240, 0.72); }
.wix-all { display: block; margin-top: 34px; font-weight: 800; font-size: clamp(26px, 3.4vw, 44px); letter-spacing: -0.02em; text-transform: none; color: var(--bone); }
.wix-all .arrow { color: var(--powder); display: inline-block; margin-left: 6px; transition: transform 0.2s ease; }
.wix-all:hover .arrow { transform: translateX(8px); }
.wix-all small { display: block; margin-top: 8px; font-weight: 500; font-size: 13.5px; letter-spacing: 0; text-transform: none; color: rgba(226, 234, 240, 0.6); }
@media (max-width: 640px) {
  .wreel-tile { width: 150px; height: 266px; }
  .wreel-stat { width: 176px; }
  .wreel-num { font-size: 31px; }
  .wreel-track { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .wreel-track { animation: none; }
  .wreel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .wreel .lgm-dupe { display: none; }
}


/* record ticker — outline-type stat chant */
.hm-tick { overflow: hidden; padding: 20px 0 34px; }
.hm-tick-track { display: flex; align-items: center; gap: 40px; width: max-content; padding-right: 40px; animation: lgm-scroll 46s linear infinite; will-change: transform; }
.hm-tick span { font-weight: 800; font-size: clamp(40px, 6.5vw, 84px); letter-spacing: -0.03em; line-height: 1.1; white-space: nowrap; text-transform: none; color: transparent; -webkit-text-stroke: 1.5px var(--powder-deep); }
@supports not (-webkit-text-stroke: 1px black) { .hm-tick span { color: var(--powder); } }
.hm-tick em { font-style: normal; font-weight: 800; font-size: clamp(26px, 4vw, 52px); color: var(--powder); }
.hm-tick:hover .hm-tick-track { animation-play-state: paused; }

/* ambient glow drifting through the ink bands */
.hm-band { position: relative; overflow: hidden; }
.hm-band > .container { position: relative; z-index: 1; }
.hm-glow { position: absolute; width: 580px; height: 580px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 198, 222, 0.16), transparent 65%); pointer-events: none; animation: hm-drift 17s ease-in-out infinite alternate; }
.hm-glow--a { top: -240px; right: -140px; }
.hm-glow--b { bottom: -280px; left: -160px; animation-duration: 23s; animation-delay: -9s; }
@keyframes hm-drift { to { transform: translate(-70px, 50px) scale(1.18); } }

/* ============================================================
   HOME GOES DARK — deck-matched, per owner (31 Oct 2026).
   Semantic aliases flip; primitives stay law. Inner pages stay light.
   ============================================================ */
body.theme-dark {
  --canvas: var(--ink);
  --surface: var(--ink-deep);
  --surface-tint: rgba(168, 198, 222, 0.08);
  --text: var(--bone);
  --text-2: rgba(226, 234, 240, 0.75);
  --accent: var(--powder);
  --band: var(--ink-deep);
  --line: rgba(226, 234, 240, 0.14);
  --line-on-band: rgba(226, 234, 240, 0.14);
  --rule: 1px solid rgba(226, 234, 240, 0.10);
  --border-hairline: 1px solid rgba(226, 234, 240, 0.14);
}
/* header: hold the bone glass state after scroll too */
body.theme-dark .header--glass.is-scrolled { background: rgba(12, 20, 30, 0.92); box-shadow: none; border-bottom: 1px solid rgba(226, 234, 240, 0.08); }
body.theme-dark .header--glass.is-scrolled .nav-links > a, body.theme-dark .header--glass.is-scrolled .nav-drop > a { color: var(--bone); }
body.theme-dark .header--glass.is-scrolled .logo-bone { display: block; }
body.theme-dark .header--glass.is-scrolled .logo-ink { display: none; }
body.theme-dark .header--glass.is-scrolled .nav > .btn-ink { background: var(--bone); color: var(--ink); }
body.theme-dark .header--glass.is-scrolled .nav-toggle span { background: var(--bone); }
body.theme-dark .drop-panel a { color: var(--bone); }
body.theme-dark .drop-panel a:hover { background: rgba(168, 198, 222, 0.1); color: var(--bone); }
body.theme-dark .drop-panel .drop-all { color: var(--powder); }
body.theme-dark .mobile-menu a, body.theme-dark .mobile-menu summary { color: var(--bone); }
/* former light sections */
body.theme-dark .hm-flip-step { background: rgba(168, 198, 222, 0.06); border-color: rgba(168, 198, 222, 0.24); }
body.theme-dark .hm-flip-step p { color: rgba(226, 234, 240, 0.75); }
body.theme-dark .hm-flip-era { color: var(--powder); }
body.theme-dark .hm-flip-step--now { background: var(--ink-deep); border-color: rgba(168, 198, 222, 0.4); }
body.theme-dark .hm-strike::after { background: var(--powder); }
body.theme-dark .hm-srch { background: var(--ink-deep); border-color: rgba(168, 198, 222, 0.3); color: rgba(226, 234, 240, 0.8); }
body.theme-dark .hm-srl i { background: rgba(226, 234, 240, 0.3); }
body.theme-dark .hm-srl-ad { border-color: rgba(226, 234, 240, 0.3); color: rgba(226, 234, 240, 0.75); }
body.theme-dark .hm-shelf { border-bottom-color: rgba(226, 234, 240, 0.22); }
body.theme-dark .hm-shelf i { opacity: 0.6; }
body.theme-dark .hm-ic { background: rgba(168, 198, 222, 0.14); color: var(--powder); }
body.theme-dark .hm-eng-card:hover .hm-ic { background: var(--powder); color: var(--ink); }
body.theme-dark .hm-halo { border-top-color: rgba(226, 234, 240, 0.12); }
body.theme-dark .hm-halo p { color: rgba(226, 234, 240, 0.75); }
body.theme-dark .hm-halo p strong { color: var(--mist); }
body.theme-dark .hm-orbit-ring { border-color: rgba(168, 198, 222, 0.45); }
body.theme-dark .hm-orbit-core { background: var(--ink-deep); border: 1px solid rgba(168, 198, 222, 0.45); }
body.theme-dark .hm-eng-card, body.theme-dark .hm-model { background: rgba(168, 198, 222, 0.06); border-color: rgba(168, 198, 222, 0.24); }
body.theme-dark .hm-eng-card:hover { border-color: var(--powder); }
body.theme-dark .hm-eng-card p, body.theme-dark .hm-model p { color: rgba(226, 234, 240, 0.75); }
body.theme-dark .hm-model-n { -webkit-text-stroke-color: rgba(168, 198, 222, 0.45); }
body.theme-dark .hm-tick span { -webkit-text-stroke-color: rgba(168, 198, 222, 0.5); }
@supports not (-webkit-text-stroke: 1px black) { body.theme-dark .hm-tick span { color: rgba(168, 198, 222, 0.5); } }
body.theme-dark .hm-tick em { color: rgba(168, 198, 222, 0.35); }
/* case trio: record card deepens, growth card stays the powder accent */
/* chrome */
body.theme-dark .footer { border-top: 1px solid rgba(226, 234, 240, 0.08); }
body.theme-dark .cta-dock { background: rgba(12, 20, 30, 0.9); border-top-color: rgba(226, 234, 240, 0.12); }
body.theme-dark .cta-dock .btn-ink { background: var(--bone); color: var(--ink); }
body.theme-dark .cta-dock-proof { color: rgba(226, 234, 240, 0.75); }
body.theme-dark .kbx-card { border: 1px solid rgba(168, 198, 222, 0.28); }
body.theme-dark .text-link:hover { text-decoration-color: var(--powder); color: var(--bone); }

/* marquee primitives used by the shared reel/ticker (also defined on home) */
@keyframes lgm-scroll { to { transform: translateX(-50%); } }
.lgm-dupe { display: contents; }
@media (prefers-reduced-motion: reduce) {
  .theme-dark .hero .reveal.in h1, .theme-dark .hero .reveal.in .hero-lede, .theme-dark .hero .reveal.in .hero-ctas { animation: none !important; }
  .hm-tick-track, .hm-ic--core { animation: none !important; }
  [data-spotlight]::after { display: none; }
}
.wreel-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* deck components shared by dark brand pages (opportunity ledger, engine cards, CTA chrome) */
.hm-opp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.hm-opp--minor { margin-top: 18px; }
.hm-opp-cell { border-top: 1px solid rgba(168, 198, 222, 0.25); padding-top: 16px; }
.hm-opp-cell .num { display: block; font-weight: 700; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.03em; color: var(--powder); font-variant-numeric: tabular-nums; }
.hm-opp--minor .num { font-size: clamp(20px, 2vw, 26px); color: var(--bone); }
.hm-opp-cell small { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.5; color: var(--mist); }
.hm-opp-src { margin-top: 30px; font-size: 12px; color: rgba(226, 234, 240, 0.55); }

.hm-engine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.hm-eng-card--wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 22px; }
.hm-eng-card--wide .hm-ic { margin-bottom: 0; }
.hm-eng-card--wide h3 { font-size: 20px; }
.hm-eng-card--wide p { margin-top: 6px; max-width: 760px; }
.hm-eng-card--wide .text-link { margin-left: auto; padding-top: 0; white-space: nowrap; }
@media (max-width: 760px) { .hm-eng-card--wide { flex-direction: column; align-items: flex-start; gap: 12px; } .hm-eng-card--wide .text-link { margin-left: 0; } }
.hm-eng-card { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--mist); border-radius: var(--r-lg); padding: 28px 26px; color: inherit; transition: border-color .18s ease, transform .18s ease; }
.hm-eng-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.hm-eng-card h3 { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.hm-eng-card p { font-size: 14.5px; line-height: 1.62; color: var(--slate); }
.hm-eng-card .text-link { margin-top: auto; padding-top: 8px; font-size: 14px; }

/* ON AIR chrome on the CTA band */
.cta-chrome { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--powder); margin-bottom: 20px; font-variant-numeric: tabular-nums; }

/* client logo strip on dark service pages */
.client-strip { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; padding: 26px 0 0; }
.client-strip > span { font-size: 13px; font-weight: 500; color: rgba(226, 234, 240, 0.55); margin-right: 4px; white-space: nowrap; }
.client-strip img { height: 24px; width: auto; opacity: 0.85; }
.client-strip img.tl { height: 38px; }
@media (max-width: 640px) { .client-strip { gap: 22px; } .client-strip img { height: 19px; } .client-strip img.tl { height: 30px; } }

/* client marquee on dark service pages — the full brand roster, one flowing row */
.client-marquee-label { font-size: 13px; font-weight: 500; color: rgba(226, 234, 240, 0.55); margin-bottom: 20px; }
.client-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.client-marquee-track { display: flex; align-items: center; gap: 54px; width: max-content; padding-right: 54px; animation: lgm-scroll 72s linear infinite; will-change: transform; }
.client-marquee:hover .client-marquee-track { animation-play-state: paused; }
.client-marquee-track img { width: auto; opacity: 0.95; flex-shrink: 0; transition: opacity 0.25s ease; }
.client-marquee-track img:hover { opacity: 1; }
@media (max-width: 640px) { .client-marquee-track { gap: 36px; padding-right: 36px; } }
@media (prefers-reduced-motion: reduce) {
  .client-marquee-track { animation: none; }
  .client-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .client-marquee .lgm-dupe { display: none; }
}

/* on-this-page agenda — the deck's contents device */
.agenda .agenda-row { display: grid; grid-template-columns: 44px 1fr auto 24px; gap: 16px; align-items: baseline; padding: 13px 8px; border-top: 1px solid rgba(226, 234, 240, 0.12); color: inherit; transition: background 0.15s ease, padding-left 0.15s ease; }
.agenda .agenda-row:last-child { border-bottom: 1px solid rgba(226, 234, 240, 0.12); }
.agenda-row:hover { background: rgba(168, 198, 222, 0.06); padding-left: 16px; }
.agenda-no { font-weight: 600; font-size: 13px; color: var(--powder); font-variant-numeric: tabular-nums; }
.agenda-title { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; color: var(--bone); text-transform: none; }
.agenda-name { font-size: 13px; color: rgba(226, 234, 240, 0.55); }
.agenda-arrow { color: var(--powder); opacity: 0; transition: opacity 0.15s ease; }
.agenda-row:hover .agenda-arrow { opacity: 1; }
@media (max-width: 640px) { .agenda .agenda-row { grid-template-columns: 36px 1fr; } .agenda-name, .agenda-arrow { display: none; } .agenda-title { font-size: 15.5px; } }
[id^="sec-"] { scroll-margin-top: 92px; }
/* hero bands match the body — no colour step at the top of dark pages (owner, 31 Oct) */
body.theme-dark #main.ink-band { background: var(--ink); }
/* light UI screens keep light-mode text inside, whatever the page theme */
body.theme-dark .shopmgmt-panel, body.theme-dark .aff-brief, body.theme-dark .aff-community,
body.theme-dark .aff-loop-step, body.theme-dark .aff-proof-tile, body.theme-dark .tc-brief,
body.theme-dark .tc-lab, body.theme-dark .tc-loop-step, body.theme-dark .paidads-panel,
body.theme-dark .paidads-pipe-step {
  color: var(--ink);
  --text: var(--ink);
  --text-2: var(--slate);
  --line: var(--mist);
  --border-hairline: 1px solid var(--mist);
  --rule: 1px solid rgba(20, 32, 46, 0.08);
}
body.theme-dark .paidads-pipe-step.is-live, body.theme-dark .aff-proof-tile--all {
  color: var(--bone);
  --text: var(--bone);
  --text-2: rgba(226, 234, 240, 0.75);
}

/* service hero duo — LIVE and affiliate balanced in one frame */
.svc-duo { position: relative; width: 400px; max-width: 100%; margin-left: auto; padding-bottom: 46px; }
.svc-duo .duo-main { position: relative; width: 256px; border-radius: 20px; overflow: hidden; border: 1px solid rgba(168, 198, 222, 0.28); background: var(--ink-deep); }
.svc-duo .duo-sec { position: absolute; right: 0; top: 56px; width: 206px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(168, 198, 222, 0.34); background: var(--ink-deep); transform: rotate(2.4deg); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55); z-index: 2; }
.svc-duo video { width: 100%; height: auto; display: block; }
.svc-duo .live-tag { position: absolute; top: 10px; left: 10px; }
.svc-duo .timecode { position: absolute; right: 10px; bottom: 10px; }
@media (max-width: 1024px) { .svc-duo { margin: 36px auto 0; } }
@media (max-width: 760px) { .svc-duo { width: 100%; max-width: 348px; } .svc-duo .duo-main { width: 64%; } .svc-duo .duo-sec { width: 54%; top: 44px; } }

/* industry pages: content cards go dark, mock screens stay light-framed */
body.theme-dark .ind-cat, body.theme-dark .ind-res, body.theme-dark .ind-play { background: rgba(168, 198, 222, 0.06); border-color: rgba(168, 198, 222, 0.24); }
body.theme-dark .ind-cat p, body.theme-dark .ind-res p, body.theme-dark .ind-play p { color: rgba(226, 234, 240, 0.75); }
body.theme-dark .elec-panel, body.theme-dark .hw-brief { border-color: rgba(168, 198, 222, 0.4); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); color: var(--ink); --text: var(--ink); --text-2: var(--slate); --line: var(--mist); --border-hairline: 1px solid var(--mist); --rule: 1px solid rgba(20, 32, 46, 0.08); }
.svc-duo img { width: 100%; height: auto; display: block; }

/* Destinations awaiting configuration. */
a[aria-disabled="true"], [data-form-placeholder] button:disabled { cursor: not-allowed; }
