/* ==========================================================================
   0. Fonts: self-hosted (SIL Open Font License, see assets/fonts/OFL-*.txt).
   Variable files, latin and latin-ext subsets, from Google Fonts (Archivo v25, Newsreader v26).
   ========================================================================== */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   ScoutAIr landing page
   Page system: Direction B "Two halves". Product section: Direction A's
   decision map. Closing case: Direction C's paper dossier.
   Order: 1 tokens, 2 base, 3 buttons, 4 header, 5 hero, 6 hero load sequence,
   7 problem and insight, 9 how it works, 10 decision map,
   11 scout validation, 12 dossier, 13 principles, 14 FAQ, 15 book a demo,
   16 footer, 17 responsive, 18 reduced motion.
   Two authored motion moments only: the hero load and the decision map.
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */
/* Metric-matched stand-in while Archivo loads (best estimate from Archivo's
   878/210 vertical metrics and wider average advance), to limit layout shift */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 105%;
  ascent-override: 84%;
  descent-override: 20%;
  line-gap-override: 0%;
}
:root {
  color-scheme: dark;

  /* Navy ground and luminance-stepped surfaces: depth is one step lighter, never a shadow */
  --ground: #071827;
  --s1: #0b2133;
  --s2: #10293d;
  --s3: #163349;

  /* Text, tinted toward the navy hue */
  --ink: #eef3f7;       /* 16.1:1 on ground, 11.7:1 on s3 */
  --ink-2: #b4c3cf;     /* 10.0:1 on ground, 7.3:1 on s3 */
  --ink-3: #93a7b8;     /* 7.2:1 on ground, 5.3:1 on s3 */

  /* Line-art, action, selection */
  --ice: #81d6ee;       /* strokes, the seam, focus; 10.9:1 on ground */
  --cyan: #00cbf3;      /* logo cyan, the brain mark only */
  --cobalt: #285fff;    /* primary action, selection, the selected candidate */
  --cobalt-press: #1f52ec;
  --on-cobalt: #f7f9fb; /* 4.8:1 on cobalt, 5.7:1 on pressed */

  /* Hairlines and control outlines */
  --hair: rgb(238 243 247 / .07);
  --hair-2: rgb(238 243 247 / .1);
  --line: rgb(238 243 247 / .28);        /* outlines of quiet controls */
  --field-line: rgb(238 243 247 / .42);  /* input borders, 3.7:1 on s1 and ground */
  --error: #ff9d8f;                      /* 8.2:1 on s1 */

  /* The paper object (the dossier) */
  --paper: #f5f3ee;
  --paper-under: #d9d5cb;
  --paper-ink: #0b1f33;    /* 15.1:1 on paper */
  --paper-ink-2: #4a5b6c;  /* 6.3:1 on paper */
  --teal: #0a6f8f;         /* marks and focus on paper, 5.1:1 */

  /* Type: Archivo in three voices; Newsreader only inside the dossier */
  --sans: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;

  /* Layout and motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4.5vw, 64px);
  --container: 1200px;
  --nav-h: 72px;
  --section-y: clamp(72px, 8.5vw, 120px);
  /* One left edge: the 1200px container's edge, used by everything placed outside a container */
  --edge: max(var(--gutter), calc((100% - var(--container)) / 2));

  /* Semantic stacking scale (the hero and the map each isolate their own) */
  --z-raised: 1; --z-tip: 2;
  --z-header: 10; --z-skip: 20;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
/* Anchors and keyboard focus land clear of the sticky header */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-stretch: 100%;
  font-weight: 430;              /* one step up: light text on dark reads thin */
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; font-stretch: 114%; letter-spacing: -0.015em; line-height: 1.12; text-wrap: balance; }
h2 {
  font-size: clamp(1.875rem, 1.2rem + 2.2vw, 3rem);   /* 30 to 48px */
  font-stretch: 116%; font-weight: 620; letter-spacing: -0.02em; line-height: 1.06;
}
p, dl, dd, figure { margin: 0; }
p, li, dd { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
#main:focus { outline: none; }   /* skip-link target, not a control */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: var(--z-skip);
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  background: var(--ink); color: var(--ground); border-radius: 4px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* The data voice: Archivo at about 87 width with tabular figures, for labels and numbers */
.data { font-stretch: 87%; font-variant-numeric: tabular-nums; letter-spacing: .005em; }
.num { font-variant-numeric: tabular-nums; }
.ph { display: inline-block; }   /* keeps a short phrase on one line */
.lede { font-size: 1.125rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; }

/* ==========================================================================
   3. Buttons (cobalt is reserved for the primary action)
   ========================================================================== */
.btn {
  display: inline-flex; white-space: nowrap; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 4px;
  font-weight: 600; font-stretch: 106%; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn-primary { background: var(--cobalt); color: var(--on-cobalt); }
.btn-primary:hover { background: var(--cobalt-press); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { border-color: rgb(238 243 247 / .5); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .875rem; }

/* Round play/pause control shared by both pieces of footage */
.media-toggle {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  background: rgb(7 24 39 / .6); color: var(--ink);
  border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  transition: border-color 150ms var(--ease);
}
.media-toggle:hover { border-color: rgb(238 243 247 / .6); }
.media-toggle svg { width: 14px; height: 14px; }
.media-cue { display: none; }
.media-toggle.is-cue { width: auto; grid-auto-flow: column; gap: 8px; padding: 0 16px 0 14px; border-radius: 22px; background: rgb(7 24 39 / .78); border-color: rgb(238 243 247 / .5); font: 500 .875rem/1 var(--sans); }
.media-toggle.is-cue .media-cue { display: block; }
.media-toggle .i-play { display: none; }
.media-toggle[data-state="paused"] .i-play { display: block; }
.media-toggle[data-state="paused"] .i-pause { display: none; }

/* ==========================================================================
   4. Site header: sticky; overlays the hero stage, turns solid once the page scrolls
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  height: var(--nav-h); margin-bottom: calc(-1 * var(--nav-h)); padding-inline: var(--edge);
  display: flex; align-items: center; gap: 24px;
  border-bottom: 1px solid transparent;
  /* Over the film the header carries its own navy, so the nav reads on every frame */
  background: rgb(7 24 39 / .8);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
@supports not (backdrop-filter: blur(1px)) { .site-header { background: rgb(7 24 39 / .92); } }
.site-header.is-stuck { background: var(--ground); border-bottom-color: var(--hair-2); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; border-radius: 4px; }
/* The official wordmark: its vector paths inline (from assets/logo.svg, never redrawn), so it renders everywhere */
.brand { gap: 12px; }
.brand .brand-word { height: 22px; width: auto; aspect-ratio: 156 / 24; }
/* The brain mark beside the wordmark: centerline strokes traced from the logo,
   drawn in line by line on every page load (left hemisphere, then the football side) */
.brand-mark { display: block; height: 42px; width: auto; aspect-ratio: 325 / 335; color: var(--cyan); overflow: visible; }
.brand > svg { flex: none; }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .brand-mark path {
    stroke-dasharray: 1 2;
    animation: mark-draw 900ms cubic-bezier(.22, 1, .36, 1) calc(250ms + var(--i) * 26ms) both;
  }
}
@keyframes mark-draw { from { stroke-dashoffset: 1.001; } to { stroke-dashoffset: 0; } }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  font-size: 1rem; font-weight: 500; text-decoration: none; color: var(--ink);
  border-radius: 4px; transition: color 150ms var(--ease);
}
.nav-menu a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
/* Sign in is account access, not a page section: a hairline sets it apart */
.nav-signin { position: relative; margin-left: 8px; padding-left: 9px; }
.nav-signin::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 20px; margin-top: -10px;
  background: var(--line);
}
.nav-toggle {
  display: none; min-height: 44px; min-width: 44px; padding: 0 14px;
  background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 4px;
  font-size: 1rem; font-weight: 500; cursor: pointer;
}

/* ==========================================================================
   5. Hero: full screen film, the static headline bottom left, the reading underneath
   ========================================================================== */
.hero-stage {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(100svh, 640px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ground);
}
/* The film starts below the header (which overlays the stage), so its top edge is never hidden */
.hero-media { position: absolute; inset: var(--nav-h) 0 0 0; z-index: -1; }
.hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* Navy shade: a band at the top for the nav and the film controls, a soft ramp into the foot.
   The text itself sits on its own band (.hero-content::before), so the film stays clear above it. */
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgb(7 24 39 / .5) 0, transparent 55%),
    linear-gradient(to bottom, rgb(7 24 39 / .62), transparent calc(var(--nav-h) + 80px));
}
.hero-meta {
  position: absolute; z-index: var(--z-raised); top: calc(var(--nav-h) + 16px); left: var(--edge); right: var(--edge);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  font-size: .875rem; color: var(--ink);
}
.hero-meta .media-label { margin-left: auto; padding: 5px 12px; border-radius: 16px; background: rgb(7 24 39 / .78); }
.media-sound {
  display: inline-grid; grid-auto-flow: column; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px 0 12px; border-radius: 22px;
  background: rgb(7 24 39 / .78); color: var(--ink); border: 1px solid var(--line);
  font: 500 .875rem/1 inherit; cursor: pointer; transition: border-color 150ms var(--ease);
}
.media-sound:hover { border-color: rgb(238 243 247 / .6); }
.media-sound svg { width: 16px; height: 16px; }
.media-sound .i-sound, .media-sound[aria-pressed="true"] .i-muted { display: none; }
.media-sound[aria-pressed="true"] .i-sound { display: block; }
.hero-meta .media-toggle { background: rgb(7 24 39 / .78); }
/* Focus over the film: the ice ring gets a navy halo, so it holds 3:1 on bright frames */
.site-header :focus-visible, .hero-stage :focus-visible { box-shadow: 0 0 0 6px rgb(7 24 39 / .92); }

.hero-content {
  position: relative; z-index: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 25rem);
  column-gap: clamp(32px, 5vw, 96px); align-items: end;
  padding: 0 var(--edge) clamp(36px, 7svh, 72px);
}
/* The text band: full width behind the headline and its copy, rising out of the film just above them,
   so nothing in the film competes with the words (quiet behind the text) */
.hero-content::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; top: -120px; pointer-events: none;
  background: linear-gradient(to bottom, rgb(7 24 39 / 0) 0, rgb(7 24 39 / .62) 56px, rgb(7 24 39 / .93) 104px, rgb(7 24 39 / .96) 100%);
}
/* The headline: heavy capitals, white over cyan, static */
.hero-title {
  font-size: clamp(3rem, 7.4vw, 6rem); font-weight: 800; font-stretch: 108%;
  line-height: .94; letter-spacing: -0.02em; text-transform: uppercase;
}
.ht-line, .ht-accent { display: block; }
.ht-accent { color: var(--cyan); white-space: nowrap; }
/* The owner's line, under the display headline, as in v1 */
.hero-kicker { font-size: 1.25rem; font-weight: 600; font-stretch: 108%; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.hero-sub { margin-top: 12px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hero-ctas { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 12px; font-size: .875rem; color: var(--ink-2); text-wrap: balance; }

/* The reading: a football's panel geometry and the fit categories, side by side */
.hero-reading {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding-block: clamp(28px, 4vw, 48px) 0;
}
.hero-reading { flex-wrap: wrap; row-gap: 12px; }
/* The reading names its case first: one candidate, one club, one verdict, and where the case is */
.reading-case { flex: 1 0 100%; font-size: 1.125rem; font-weight: 500; font-stretch: 106%; line-height: 1.4; color: var(--ink); }
.reading-case a { color: var(--ice); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.reading-case a:hover { text-decoration-thickness: 2px; }
.reading { flex: none; width: clamp(96px, 11vw, 148px); height: auto; overflow: visible; }
.reading path { fill: none; stroke: var(--ice); stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 0; }
.reading .r0 path { stroke-opacity: .92; }
.reading .r1 path { stroke-opacity: .7; }
.reading .r2 path { stroke-opacity: .46; }
.reading .r3 path { stroke-opacity: .22; }
.reading .dots circle { fill: var(--ice); }
.reading .marks circle { fill: var(--ground); stroke: var(--ice); stroke-width: 3; }
.tags { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.tag { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 500; line-height: 1.3; color: var(--ink); }
.tag::before { content: ""; flex: 0 0 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ice); }
.nb { white-space: nowrap; }
.art-note { margin-left: auto; font-size: .875rem; color: var(--ink-3); white-space: nowrap; }
/* Wide screens (owner, 2026-10-24): the whole film at its own 16:9 shape across the full width, never cropped,
   with the headline and copy under it instead of over its foot */
@media (min-width: 861px) {
  .hero-stage { min-height: 0; justify-content: flex-start; padding-top: var(--nav-h); }
  .hero-media { position: relative; inset: auto; z-index: 0; width: 100%; aspect-ratio: 16 / 9; }
  .hero-media video { object-fit: contain; }
  .hero-shade { background: linear-gradient(to bottom, rgb(7 24 39 / .62), transparent 96px); }
  .hero-content { padding-top: 40px; }
  .hero-content::before { display: none; }
}

/* ==========================================================================
   6. Hero load sequence: motion moment one (about 2s, then stillness)
   The reading traces in under the film and the categories settle. The headline
   and its copy are never faded in: they are the first paint.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .intro .reading path { animation: trace 800ms var(--ease) both; }
  .intro .reading .r0 path { animation-delay: 500ms; }
  .intro .reading .r1 path { animation-delay: 650ms; }
  .intro .reading .r2 path { animation-delay: 800ms; }
  .intro .reading .r3 path { animation-delay: 950ms; }
  .intro .reading .dots, .intro .reading .marks { animation: appear 300ms var(--ease) 1050ms both; }
  .intro .tag { animation: appear 300ms var(--ease) both; animation-delay: calc(1200ms + var(--i) * 120ms); }
}
@keyframes trace { from { stroke-dashoffset: 1; } }
@keyframes appear { from { opacity: 0; } }

/* ==========================================================================
   7. Insight: a full-width typographic moment
   ========================================================================== */
/* Rhythm: same-ground neighbours share one gap instead of doubling it */
.problem { padding-block: var(--section-y); }
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.problem h2 { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); line-height: 1.12; text-wrap: balance; }
.problem h2 .pl { display: block; }
/* The insight closes the copy as one short line; the figure shows "each provides part of the picture":
   four sources drawn as strands that join into one question (its own element, nothing else on the page uses it) */
.problem .insight-statement { margin-top: 28px; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 600; font-stretch: 108%; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.pieces { margin: 0; }
.pieces-src { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); text-align: center; }
.pieces-src li { padding-bottom: 10px; font-size: .9375rem; font-weight: 500; color: var(--ink); line-height: 1.25; }
.pieces-strands { display: block; width: 100%; height: 96px; fill: none; stroke: var(--ice); stroke-width: 1.25; vector-effect: non-scaling-stroke; opacity: .75; }
.pieces-q { margin: 0 auto; padding-top: 12px; max-width: 30em; border-top: 1px solid var(--ice); text-align: center; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; color: var(--ink); text-wrap: balance; }
.pieces-q strong { font-weight: 600; }
.pieces-cap { display: block; margin-bottom: 4px; font-size: .875rem; color: var(--ink-3); }
@media (max-width: 860px) { .problem-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } .pieces-src li { font-size: .8125rem; } .pieces-strands { height: 64px; } }
.problem + .journey, .scout + .dossier-section { padding-top: calc(var(--section-y) * .5); }

/* ==========================================================================
   9. How it works: the journey along the seam
   ========================================================================== */
.journey { padding-block: var(--section-y); }
.journey-lede { margin: 16px auto 0; max-width: 40em; font-size: 1.125rem; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
/* The path continues past the core: later layers get an outlined marker and a lighter dot field, with no label */
.step--dev.step--instinct .step-n { background: var(--ground); color: var(--ink); border-color: var(--ink-2); }
.step--dev .dot-field { opacity: .45; }
.journey-head { text-align: center; max-width: 44rem; margin: 0 auto clamp(48px, 6vw, 72px); }

.seamway { position: relative; display: grid; --mid: 64px; }
/* The single center line, the same seam as the hero */
.seamway::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; margin-left: -.5px;
  background: linear-gradient(to bottom, transparent, var(--ice) 48px, var(--ice) calc(100% - 48px), transparent);
  opacity: .5;
}
.sides { display: grid; grid-template-columns: 1fr var(--mid) 1fr; margin-bottom: 48px; }
.side-title { font-size: 1.25rem; font-weight: 600; font-stretch: 118%; letter-spacing: -0.01em; }
.side-sub { margin-top: 4px; color: var(--ink-3); }
.side--instinct { grid-column: 1; text-align: right; }
.side--intel { grid-column: 3; }

.steps { display: grid; grid-template-columns: 1fr var(--mid) 1fr; row-gap: 8px; }
.step { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; align-items: start; }
.step-n {
  grid-column: 2; justify-self: center; position: relative;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ground); border: 1px solid var(--ice); color: var(--ice);
  font-size: .875rem; font-weight: 600;
}
.step--instinct .step-n { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.step-body { padding-top: 4px; padding-bottom: 20px; min-height: 92px; }
.step--intel .step-body {
  grid-column: 3; padding-left: 8px;
  display: grid; grid-template-columns: minmax(0, 1fr) 128px; column-gap: 24px; align-items: start;
}
.step--instinct .step-body { grid-column: 1; grid-row: 1; justify-self: end; max-width: 30rem; text-align: right; padding-right: 8px; }
.step h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); }
.step h3 + p { margin-top: 8px; font-size: 1.0625rem; color: var(--ink-2); max-width: 30em; }
.step--instinct h3 + p { margin-left: auto; }
/* Instinct touches: what your people own at each intelligence step, set on the instinct side of the seam,
   level with the step title (the step body is their positioning box) */
.step--intel .step-body { position: relative; }
.step-touch { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
@media (min-width: 861px) {
  .step--intel .step-touch {
    position: absolute; top: 4px; right: calc(100% + var(--mid) + 8px); width: calc(100% - 16px);
    margin: 0; text-align: right; line-height: 27px;
  }
}
/* A population viewed through a small frame: it thins from step to step */
.dot-field { width: 100%; height: auto; aspect-ratio: 3 / 2; margin-top: 4px; border: 1px solid var(--hair-2); border-radius: 4px; }
/* The hand-over: where the shortlist crosses the seam (first row of step 5) */

/* ==========================================================================
   10. Decision map: motion moment two (canvas)
   ========================================================================== */
.map-section { padding-block: var(--section-y); background: var(--s1); border-block: 1px solid var(--hair); }
.map-head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}
.map-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 40px clamp(32px, 4vw, 56px); align-items: start; }

/* The panel is a darker screen set into the band */
.map-panel { container: mappanel / inline-size; min-width: 0; background: var(--ground); border: 1px solid var(--hair-2); border-radius: 8px; }
.map-panel-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 4px 16px; padding: 14px 20px; border-bottom: 1px solid var(--hair-2);
}
.map-panel-title { font-size: .875rem; font-weight: 600; }
.map-panel-note { font-size: .875rem; line-height: 1.45; text-align: right; color: var(--ink-3); }
.map-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.map-stage > canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* .map-plot holds the axis labels; .map-area is the exact rectangle the canvas maps dots into */
.map-plot { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; aspect-ratio: 1 / .94; padding: 16px 28px 12px 20px; }
.map-axis { font-size: .75rem; font-weight: 550; line-height: 1; color: var(--ink-2); transition: opacity .6s var(--ease); }
.map-axis-y { padding-bottom: 14px; }
.map-axis-x { padding-top: 16px; text-align: right; }
.map-area { position: relative; border-radius: 2px; }
.map-q {
  position: absolute; font-size: .875rem; font-weight: 600; font-stretch: 87%; line-height: 1;
  color: var(--ink-3); white-space: nowrap;
  transition: opacity .6s var(--ease), color .4s var(--ease);
}
.map-q-tl { top: 10px; left: 14px; }
.map-q-tr { top: 10px; right: 8px; }
.map-q-bl { bottom: 10px; left: 14px; }
.map-q-br { bottom: 10px; right: 8px; }
.map-panel.is-sel .map-q-tr { color: var(--ice); }

/* Candidate card: one luminance step up, hairline edge, no shadow */
.map-card {
  position: relative; z-index: var(--z-raised);
  margin: 0 24px 20px 20px; padding: 16px;
  background: var(--s2); border: 1px solid var(--hair-2); border-radius: 6px;
}
.map-card-head { display: flex; align-items: baseline; gap: 10px; }
.map-card-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--cobalt); }
.map-card-name { font-size: 1.125rem; font-weight: 600; font-stretch: 108%; line-height: 1.2; }
.map-card-meta { margin-top: 2px; font-size: .875rem; color: var(--ink-2); }
.map-card-quad { margin-top: 12px; font-size: .875rem; font-weight: 600; font-stretch: 87%; color: var(--ice); }
.map-card-why { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--hair-2); font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.map-reasons { display: grid; gap: 10px; margin-top: 10px; }
.map-reasons li { display: grid; grid-template-columns: 7px minmax(0, 1fr); column-gap: 10px; font-size: .875rem; line-height: 1.4; }
.map-reasons li > span { text-wrap: balance; }
.map-reasons li::before { content: ""; grid-row: span 2; width: 7px; height: 7px; margin-top: 6px; border: 1px solid var(--ice); border-radius: 50%; }
.map-fit { font-weight: 500; color: var(--ink); }

/* Hover, tap and keyboard tooltip for map dots */
.map-tip {
  position: absolute; left: 0; top: 0; z-index: var(--z-tip);
  display: grid; gap: 2px; padding: 8px 10px;
  background: var(--s3); border: 1px solid var(--line); border-radius: 4px;
  font-size: .875rem; line-height: 1.3; white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity .15s var(--ease);
}
.map-tip.is-on { opacity: 1; }
.map-tip-name { font-weight: 600; }
.map-tip-meta { color: var(--ink-2); }
.map-tip-quad { font-weight: 600; font-stretch: 87%; color: var(--ice); }

.map-panel-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 12px; min-height: 56px; padding: 4px 8px 4px 20px; border-top: 1px solid var(--hair-2);
}
.map-readout { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: .875rem; color: var(--ink-2); }
.map-readout .num { color: var(--ink); font-weight: 600; }
.map-sel-chip { display: inline-flex; align-items: center; gap: 8px; transition: opacity .3s var(--ease); }
.map-sel-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); }
.map-controls { display: flex; gap: 2px; }
.map-controls.is-off, .map-ctl.is-off { visibility: hidden; }
.map-ctl {
  display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 4px; background: none; color: var(--ink-2);
  font-size: .875rem; font-weight: 500; cursor: pointer;
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.map-ctl svg { width: 14px; height: 14px; fill: currentColor; }
.map-ctl .i-replay { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.map-ctl:hover:not(:disabled) { color: var(--ink); background: var(--s2); }
.map-ctl:disabled { opacity: .45; cursor: default; }
.map-ctl .i-play, .map-ctl.is-paused .i-pause { display: none; }
.map-ctl.is-paused .i-play { display: block; }

/* Wide panel: the map on the left, the card in a rail, so no quadrant is covered */
@container mappanel (min-width: 600px) {
  .map-stage { grid-template-columns: minmax(0, 1fr) 16rem; min-height: clamp(400px, 56svh, 480px); }
  .map-plot { aspect-ratio: auto; padding: 16px 16px 12px 20px; }
  .map-card { align-self: start; margin: 16px 16px 16px 0; }
}

/* Motion states. The script adds .js-anim only when it is about to play,
   so everything above is visible by default and is exactly the settled frame. */
.map-panel.js-anim .map-q, .map-panel.js-anim .map-axis { opacity: 0; }
.map-panel.js-anim.is-chrome .map-q, .map-panel.js-anim.is-chrome .map-axis { opacity: 1; }
.map-panel.js-anim .map-card { opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.map-panel.js-anim.is-card .map-card { opacity: 1; transform: none; }
.map-panel.js-anim .map-reasons li {
  opacity: 0; transform: translateY(4px);
  transition: opacity .3s var(--ease) calc(120ms + var(--i) * 90ms), transform .3s var(--ease) calc(120ms + var(--i) * 90ms);
}
.map-panel.js-anim.is-card .map-reasons li { opacity: 1; transform: none; }
.map-panel.js-anim:not(.is-sel) .map-sel-chip { opacity: 0; }
.map-panel.no-tx * { transition: none !important; }

/* Quadrant legend: what each quadrant asks you to do */
.map-legend { display: grid; }
.legend-item { padding-block: 20px; border-top: 1px solid var(--hair-2); }
.legend-item:first-child { padding-top: 0; border-top: 0; }
.legend-item dt { display: flex; align-items: center; gap: 12px; font-size: 1.125rem; font-weight: 600; font-stretch: 108%; line-height: 1.3; }
.legend-item dd { margin: 6px 0 0 32px; color: var(--ink-2); text-wrap: balance; }
.legend-item--priority dt { color: var(--ice); }
.legend-glyph { flex: none; width: 20px; height: 20px; }
.legend-glyph .g-frame { fill: none; stroke: var(--ice); stroke-opacity: .55; }
.legend-glyph .g-on { fill: var(--ice); }
.map-cta { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--hair-2); }
.map-cta a {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-stretch: 106%; color: var(--ice);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.map-cta a:hover { text-decoration-thickness: 2px; }

/* ==========================================================================
   11. Scout validation: the copy beside a 4:3 plate on wide screens, above it on narrow ones
   ========================================================================== */
.scout { padding-block: var(--section-y); }
.scout-copy { max-width: 40rem; }
.scout-copy .lede { margin-top: 24px; }
.plate { margin-top: clamp(40px, 5vw, 64px); padding: 12px 12px 8px; background: var(--s1); border: 1px solid var(--hair-2); border-radius: 6px; }
.plate-frame { position: relative; aspect-ratio: 5 / 2; overflow: hidden; background: var(--ground); border-radius: 2px; }
.plate-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; filter: saturate(.85) brightness(.94); }
.plate-label {
  position: absolute; left: 12px; bottom: 12px; padding: 4px 8px; border-radius: 2px;
  background: rgb(7 24 39 / .86); color: var(--ink); font-size: .75rem; font-weight: 500;
}
/* Wide screens: the copy and the plate side by side, the plate at 4:3 */
@media (min-width: 1024px) {
  .scout .container { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
  .scout .plate { margin-top: 0; padding: 12px; }
  .scout .plate-frame { aspect-ratio: 4 / 3; }
}

/* The scout log: two scouts on one 0-90 minute line, then their answers.
   Its own element: a timeline, stroke marks (tick, inward chevrons, cross) and plain notes,
   so it repeats neither the map's dots, the legend's quadrant glyphs, the path's numbers nor the paper dossier. */
.scout-log { margin-top: clamp(40px, 5vw, 64px); padding: 24px; background: var(--s1); border: 1px solid var(--hair-2); border-radius: 6px; }
.slog-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.slog-title { font-size: 1.0625rem; font-weight: 600; font-stretch: 108%; }
.slog-tag { font-size: .75rem; color: var(--ink-3); }
.slog-sub { margin-top: 4px; font-size: .875rem; color: var(--ink-3); }
.slog-ruler { margin-top: 20px; padding-bottom: 4px; }
.slog-lane { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; min-height: 36px; }
.slog-who { font-size: .8125rem; font-weight: 500; color: var(--ink-2); line-height: 1.2; }
.slog-where { display: block; font-size: .75rem; font-weight: 400; color: var(--ink-3); }
.slog-track { position: relative; height: 28px; }
.slog-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); }
.slog-track::after { content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; border-left: 1px solid var(--hair-2); }
.slog-pin { position: absolute; top: 50%; left: calc(var(--m) / 90 * 100%); width: 22px; height: 22px; margin: -11px 0 0 -11px;
  display: grid; place-items: center; background: var(--s1); border: 1px solid var(--ice); border-radius: 50%; }
.slog-scale { position: relative; height: 16px; margin-left: 7.5rem; font-size: .75rem; color: var(--ink-3); }
.slog-scale span { position: absolute; left: calc(var(--m) / 90 * 100%); transform: translateX(-50%); }
.slog-scale span:first-child { transform: none; }
.slog-scale span:last-child { transform: translateX(-100%); }
.vg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--ice); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.slog-notes { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; }
.slog-note { padding-top: 16px; border-top: 1px solid var(--hair-2); }
.slog-q { font-weight: 500; color: var(--ink); line-height: 1.4; }
.slog-v { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: .875rem; color: var(--ink-3); }
.slog-mark { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.slog-obs { margin-top: 4px; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.slog-note--split .slog-obs { color: var(--ink); }
@media (min-width: 1024px) { .scout .scout-log { margin-top: 0; } }
@media (max-width: 480px) {
  .scout-log { padding: 16px; }
  .slog-lane, .slog-scale { grid-template-columns: 5.5rem minmax(0, 1fr); }
  .slog-scale { margin-left: 5.5rem; }
}

/* ==========================================================================
   12. Dossier: a light paper object on the dark page.
   Newsreader appears only inside the sheet.
   ========================================================================== */
.dossier-section { padding-block: var(--section-y); }
.dossier-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px clamp(40px, 6vw, 96px); align-items: center;
}
.dossier-copy .lede { margin-top: 24px; }
/* The copy column stays beside the taller report while it scrolls (two columns only) */
@media (min-width: 1024px) { .dossier-copy { align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); } }
.dossier { position: relative; justify-self: end; width: min(100% - 12px, 520px); margin: 0 12px 12px 0; }
/* The next page of the dossier, under the first */
.dossier-under { position: absolute; inset: 12px -12px -12px 12px; background: var(--paper-under); border-radius: 3px; }
.sheet {
  position: relative; padding: 32px;
  background: var(--paper); color: var(--paper-ink); border-radius: 3px;
  font-family: var(--serif); font-size: 1rem; line-height: 1.5; font-weight: 400;
}
.sheet :focus-visible { outline-color: var(--teal); }
.sheet .data { font-family: var(--sans); }
.sheet h3, .sheet h4 { font-family: var(--serif); font-stretch: 100%; letter-spacing: -0.005em; }

.sheet-head { padding-bottom: 16px; border-bottom: 1px solid rgb(11 31 51 / .12); }
.sheet-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.sheet-title { font-size: 1.25rem; font-weight: 600; }
.sheet-tag { font-size: .75rem; font-weight: 500; line-height: 1.5; text-align: right; color: var(--paper-ink-2); }
/* A report, read top to bottom: the recommendation first, then what it rests on */
.sheet-label { display: block; font-size: .75rem; font-weight: 500; line-height: 1.5; color: var(--paper-ink-2); }
.sheet-action { margin-top: 12px; font-size: 1.125rem; line-height: 1.4; font-weight: 500; text-wrap: pretty; }
.sheet-fields { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 16px; align-items: baseline; margin-top: 12px; }
.sheet-fields div { display: contents; }
.sheet-fields dt { font-size: .75rem; font-weight: 500; color: var(--paper-ink-2); }
.sheet-fields dd { font-weight: 500; line-height: 1.4; }
/* Source marks: a fact traces to a numbered line in the sources */
.sheet sup.src, .sheet .src-n { font-family: var(--sans); font-weight: 600; color: var(--teal); }
.sheet sup.src { margin-left: 2px; font-size: .625rem; line-height: 0; vertical-align: super; }

/* Candidate: an ID-style portrait, inked into navy by an SVG duotone */
.candidate { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.sheet-portrait { position: relative; flex: none; width: 64px; height: 80px; overflow: hidden; border-radius: 2px; background: var(--paper-ink); }
/* Oversized and offset (not transformed) so the filtered image stays crisp */
.sheet-portrait img { position: absolute; left: -65px; top: 0; width: 160px; height: 160px; max-width: none; filter: url(#ink-duotone); }
.candidate-name { font-size: 1.875rem; line-height: 1.1; font-weight: 500; letter-spacing: -0.015em; }
.candidate-meta { margin-top: 4px; font-size: .875rem; color: var(--paper-ink-2); }

.sheet-block { margin-top: 20px; }
.sheet-block h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.facts { display: grid; gap: 6px; margin-top: 8px; }
.facts li { position: relative; padding-left: 18px; }
.fact-fit { display: block; font-weight: 600; color: var(--paper-ink); }
.facts li::before { content: ""; position: absolute; left: 1px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
/* Open questions get an open ring: still to be checked */
/* What to check: item | action, owner and state, one hairline row each */
.sheet-counter, .sheet-next { margin-top: 12px; text-wrap: pretty; }
.checks { display: grid; margin-top: 4px; }
.check { display: grid; grid-template-columns: minmax(0, 10.5em) minmax(0, 1fr); gap: 0 16px; align-items: baseline; padding-block: 6px; border-top: 1px solid rgb(11 31 51 / .1); }
.check:first-child { border-top: 0; }
.check dt { font-weight: 500; line-height: 1.4; }
.check dd { font-family: var(--sans); font-size: .8125rem; line-height: 1.5; color: var(--paper-ink); }
.check-owner { color: var(--paper-ink-2); }
.check-sep { color: var(--paper-ink-2); }
.check-state { font-weight: 600; }
@media (max-width: 599px) { .check { grid-template-columns: minmax(0, 1fr); } }

.status { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 20px; }
.status-label { font-size: .75rem; font-weight: 500; color: var(--paper-ink-2); }
.status-state { margin-top: 2px; font-size: 1.875rem; line-height: 1.15; font-weight: 500; letter-spacing: -0.015em; }
.status-rule { display: block; width: 100%; height: 2px; margin-top: 6px; background: var(--cobalt); }
.status-main { display: inline-grid; }
.status-pending { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--paper-ink-2); }
.status-pending::before { content: ""; flex: none; width: 8px; height: 8px; border: 1.5px solid var(--paper-ink-2); border-radius: 50%; }
.status-map { display: grid; justify-items: center; gap: 6px; flex: none; }
.status-map span { font-size: .75rem; color: var(--paper-ink-2); }

.sheet-foot {
  display: grid; gap: 4px;
  margin-top: 20px; padding-top: 12px; border-top: 1px solid rgb(11 31 51 / .12);
  font-size: .75rem; line-height: 1.5; color: var(--paper-ink-2);
}
.sheet-unknown { color: var(--paper-ink); font-weight: 500; }

/* ==========================================================================
   12a. Action band: one step lighter than the ground, so it reads as a pause between the case and the proof
   ========================================================================== */
.action-band { padding-block: clamp(48px, 5vw, 72px); background: var(--s1); border-block: 1px solid var(--hair); }
.action-band + .proof { padding-top: calc(var(--section-y) * .5); }
.act-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.act-copy h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); max-width: 20em; }
.act-note { margin-top: 8px; color: var(--ink-2); }
.act-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* ==========================================================================
   12b. Real-world proof
   ========================================================================== */
.proof { padding-block: var(--section-y); }
.dossier-section + .proof { padding-top: calc(var(--section-y) * .5); }
.proof h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); max-width: 20em; text-wrap: balance; }
.proof-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 4vw, 56px); margin-top: 40px; }
.proof-case { padding-top: 20px; border-top: 1px solid var(--hair-2); }
.proof-tag { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ice); }
.proof-tag::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.proof-case--low .proof-tag { color: var(--ink-2); }
.proof-case--low .proof-tag::before { background: transparent; border: 1.5px solid currentColor; }
.proof-case--early .proof-tag::before { background: var(--cobalt); }
.proof-case p:not(.proof-tag) { margin-top: 12px; font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.proof-note { margin-top: 32px; max-width: 65ch; font-size: .875rem; color: var(--ink-3); }
@media (max-width: 860px) { .proof-list { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ==========================================================================
   13. Principles
   ========================================================================== */
.principles { padding-block: var(--section-y); background: var(--s1); border-block: 1px solid var(--hair); }
.principles-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px clamp(32px, 6vw, 96px); align-items: start;
}
.principles h2 { position: sticky; top: calc(var(--nav-h) + 32px); max-width: 9em; }
.principle-list li { padding-block: 28px; border-top: 1px solid var(--hair-2); }
.principle-list li:first-child { padding-top: 0; border-top: 0; }
.principle-list h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.625rem); font-stretch: 112%; line-height: 1.2; }
.principle-list p { margin-top: 10px; font-size: 1.125rem; color: var(--ink-2); max-width: 34em; }
.principles-close { margin: 4px 0 0; padding-top: 28px; border-top: 1px solid var(--hair-2); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.35; font-weight: 500; font-stretch: 108%; color: var(--ink); text-wrap: balance; }

/* ==========================================================================
   14. FAQ (native details)
   ========================================================================== */
.faq { padding-block: var(--section-y); }
.faq-inner { max-width: 52rem; }
.faq h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.25rem); }
.faq-list { margin-top: 32px; }
.faq-item { border-top: 1px solid var(--hair-2); }
.faq-item:last-child { border-bottom: 1px solid var(--hair-2); }
.faq-item summary {
  position: relative; display: block; min-height: 64px; padding: 20px 40px 20px 0;
  cursor: pointer; list-style: none;
  font-size: 1.125rem; font-weight: 560; font-stretch: 106%; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
/* Plus when closed, minus when open: two ice bars, no rotation */
.faq-item summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--ice), var(--ice)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ice), var(--ice)) center / 1.5px 14px no-repeat;
}
.faq-item[open] summary::after { background-size: 14px 1.5px, 0 0; }
.faq-item p { padding: 0 40px 24px 0; color: var(--ink-2); font-size: 1.0625rem; max-width: 40em; }

/* ==========================================================================
   15. Book a demo
   ========================================================================== */
.demo { position: relative; overflow: hidden; padding-block: calc(var(--section-y) * 1.15); background: var(--s1); border-top: 1px solid var(--hair); }
/* The brand's brain, large and faint, behind the closing call to action */
.demo-mark { position: absolute; left: calc(var(--edge) - 140px); bottom: -180px; width: min(620px, 70vw); height: auto; opacity: .07; pointer-events: none; }
.demo-mark path { fill: none; stroke: var(--ice); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.demo-grid { position: relative; }
.demo-copy h2 { font-size: clamp(2.25rem, 1.2rem + 2.8vw, 3.5rem); line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }
.form-actions .btn { min-height: 56px; padding-inline: 32px; font-size: 1.0625rem; }
.demo-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px clamp(40px, 6vw, 96px); align-items: start;
}
.demo-copy .lede { margin-top: 24px; font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); }
.demo-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 560; }
.optional { font-weight: 430; color: var(--ink-3); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 14px;
  background: var(--ground); color: var(--ink);
  border: 1px solid var(--field-line); border-radius: 4px;
  transition: border-color 150ms var(--ease);
}
.field input:hover, .field select:hover { border-color: rgb(238 243 247 / .6); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b4c3cf' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 12px 8px;
}
.field [aria-invalid="true"], .field [aria-invalid="true"]:hover { border-color: var(--error); }
.field-hint { font-size: .875rem; color: var(--ink-3); }
.field-error { font-size: .875rem; font-weight: 500; color: var(--error); }
.field-error:empty { display: none; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-note { font-size: .875rem; color: var(--ink-2); text-wrap: balance; }
.form-notes { display: grid; gap: 2px; }
.form-reply { font-size: .875rem; color: var(--ink-3); }

/* In the demo: a real sequence, so it is numbered */
.demo-agenda-label { margin-top: 28px; font-weight: 560; }
.demo-agenda { display: grid; gap: 6px; margin-top: 10px; counter-reset: agenda; }
.demo-agenda li { position: relative; padding-left: 28px; color: var(--ink-2); counter-increment: agenda; }
.demo-agenda li::before { content: counter(agenda); position: absolute; left: 0; top: 0; color: var(--ice); font-weight: 560; font-variant-numeric: tabular-nums; }

/* What ScoutAIr will not do: plain and ruled, open beside the form; a closed disclosure on phones */
.will-not { max-width: 28rem; padding-top: 20px; border-top: 1px solid var(--hair-2); }
.will-not-d summary { display: block; list-style: none; cursor: default; }
.will-not-d summary::-webkit-details-marker { display: none; }
.will-not h3 { font-size: 1.125rem; font-weight: 560; font-stretch: 106%; line-height: 1.35; letter-spacing: 0; }
.will-not ul { display: grid; gap: 6px; margin-top: 12px; color: var(--ink-2); }
@media (min-width: 1024px) {
  /* The closing heading runs across the section; under it, what the demo covers and what ScoutAIr will not do
     sit beside the form. The spare height of the form's span falls below the aside. */
  .demo-grid { grid-template-rows: auto auto auto auto 1fr; row-gap: 0; }
  .demo-copy { display: contents; }
  .demo-copy h2 { grid-column: 1 / -1; grid-row: 1; margin-bottom: 40px; }
  .demo-copy .lede { grid-column: 1; grid-row: 2; margin-top: 0; }
  .demo-agenda-label { grid-column: 1; grid-row: 3; }
  .demo-agenda { grid-column: 1; grid-row: 4; }
  .demo-form { grid-column: 2; grid-row: 2 / span 4; }
  .will-not { grid-column: 1; grid-row: 5; align-self: start; margin-top: 36px; }
}
@media (max-width: 860px) {
  /* Phones: the will-not list is one more disclosure, in the FAQ's own pattern */
  .will-not { max-width: none; padding-top: 0; border-bottom: 1px solid var(--hair-2); }
  .will-not-d summary { position: relative; min-height: 56px; padding: 16px 40px 16px 0; cursor: pointer; }
  .will-not-d summary::after {
    content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
    background:
      linear-gradient(var(--ice), var(--ice)) center / 14px 1.5px no-repeat,
      linear-gradient(var(--ice), var(--ice)) center / 1.5px 14px no-repeat;
  }
  .will-not-d[open] summary::after { background-size: 14px 1.5px, 0 0; }
  .will-not ul { margin-top: 0; padding-bottom: 20px; }
}
/* The failure note mirrors the confirmation, in the error colour */
.form-fail {
  grid-column: 1 / -1; padding: 16px 20px; border-radius: 4px;
  background: var(--ground); border: 1px solid var(--error); color: var(--ink);
}
.form-done {
  grid-column: 1 / -1; padding: 16px 20px; border-radius: 4px;
  background: var(--ground); border: 1px solid rgb(129 214 238 / .55); color: var(--ink);
}

/* ==========================================================================
   16. Footer
   ========================================================================== */
.site-footer { padding-block: 64px 48px; border-top: 1px solid var(--hair); }
.footer-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; border-radius: 4px; }
.footer-brand { gap: 16px; }
.footer-brand svg { flex: none; }
.footer-brand .brand-word { height: 28px; width: auto; aspect-ratio: 156 / 24; }
.footer-brand .brand-mark { height: 56px; }
.footer-brand .brand-mark path { animation: none; stroke-dasharray: none; }
.footer-tagline { margin: 0 0 16px; font-size: 1rem; font-weight: 500; color: var(--ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 8px; margin-left: -12px; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--ink-2); text-decoration: none; border-radius: 4px; transition: color 150ms var(--ease);
}
.footer-links a:hover { color: var(--ink); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; max-width: 65ch; margin-top: 16px; font-size: .875rem; color: var(--ink-3); }

/* The 404 page: one centred message on the navy ground */
.not-found { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.not-found h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.05; }
.not-found p { color: var(--ink-2); }
.footer-meta a { text-underline-offset: 3px; transition: color 150ms var(--ease); }
.footer-meta a:hover { color: var(--ink); }

/* The privacy page: one readable column of policy text */
.policy { max-width: 68ch; padding-block: clamp(48px, 8vw, 96px); }
.policy-home { display: inline-block; margin-bottom: 40px; font-weight: 600; color: var(--ice); text-underline-offset: 3px; }
.policy h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.05; margin-bottom: 8px; }
.policy h2 { font-size: 1.25rem; font-weight: 700; margin: 40px 0 8px; }
.policy p, .policy li { color: var(--ink-2); line-height: 1.6; }
.policy p + p, .policy ul + p { margin-top: 12px; }
.policy ul { padding-left: 1.25em; list-style: disc; display: grid; gap: 6px; margin-top: 8px; }
.policy a { color: var(--ice); text-underline-offset: 3px; }
.policy-date { color: var(--ink-3); font-size: .875rem; }

/* ==========================================================================
   17. Responsive
   ========================================================================== */
@media (max-width: 1100px) and (min-width: 861px) {
  .site-header { gap: 16px; }
  .nav-menu a { padding: 0 8px; font-size: .9375rem; }
  .hero-sub { font-size: 1rem; }
  .step--intel .step-body { grid-template-columns: minmax(0, 1fr) 96px; column-gap: 16px; }
}
@media (max-width: 1100px) {
  /* Stack before the panel drops under its 600px rail threshold */
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .map-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .map-cta { margin-top: 0; }
  .legend-item:first-child { padding-top: 20px; border-top: 1px solid var(--hair-2); }
}
@media (max-width: 1023px) {
  .dossier-grid { grid-template-columns: minmax(0, 1fr); }
  .dossier { justify-self: start; }
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .demo-copy { max-width: 40rem; }
}

/* Stacked layout: phones and portrait tablets */
@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  /* Still sticky, but in flow above the stage and always solid */
  .site-header { margin-bottom: 0; background: var(--ground); border-bottom-color: var(--hair-2); gap: 12px; }
  .brand { gap: 9px; }
  .brand .brand-word { height: 17px; }
  .brand-mark { height: 33px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav-toggle svg { width: 20px; height: 20px; flex: none; }
  .nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-menu { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--edge) 16px;
    background: var(--ground); border-bottom: 1px solid var(--hair-2);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 0; min-height: 48px; font-size: 1rem; color: var(--ink); }
  .nav-signin { margin: 8px 0 0; padding: 8px 0 0; border-top: 1px solid var(--hair-2); }
  .nav-signin::before { display: none; }

  /* Hero: the film fills the screen under the solid header; headline, then the copy, at the foot */
  .hero-stage { min-height: calc(100svh - var(--nav-h)); row-gap: 24px; }
  /* In flow above the content, so enlarged text can never run the headline into the controls */
  .hero-meta { position: relative; top: auto; left: auto; right: auto; margin: 12px var(--gutter) auto; }
  .hero-content { grid-template-columns: minmax(0, 1fr); row-gap: 20px; padding: 0 var(--gutter) 28px; }
  .hero-sub { font-size: .9375rem; }
  .hero-shade {
    background:
      linear-gradient(to top, rgb(7 24 39 / .6) 0, transparent 55%),
      linear-gradient(to bottom, rgb(7 24 39 / .5), transparent 96px);
  }
  .hero-reading { align-items: flex-start; flex-wrap: wrap; padding-block: 24px 0; }
  .reading { width: 88px; }
  .tags { flex-direction: column; gap: 8px; flex: 1 1 200px; }
  .art-note { margin-left: 0; flex-basis: 100%; }


  /* Journey: one column, the seam on the left */
  .journey-head { text-align: left; margin-inline: 0; }
  .journey-lede { margin-inline: 0; }
  .seamway::before { left: 18px; }
  .sides { display: none; }
  .steps { grid-template-columns: 36px minmax(0, 1fr); column-gap: 16px; }
  .step { padding-bottom: 24px; }
  .step-body { min-height: 0; }
  .step-n { grid-column: 1; }
  .step--intel .step-body, .step--instinct .step-body { grid-column: 2; grid-row: 1; justify-self: stretch; max-width: none; text-align: left; padding: 4px 0 0; }
  .step--intel .step-body { grid-template-columns: minmax(0, 1fr) 80px; column-gap: 16px; }
  .step--instinct h3 + p { margin-left: 0; }
  .step-touch { margin-top: 8px; }

  .map-head { grid-template-columns: minmax(0, 1fr); }
  .action-band { padding-block: 40px; }


  .principles-grid { grid-template-columns: minmax(0, 1fr); }
  .principles h2 { position: static; max-width: none; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .step--intel .step-body { grid-template-columns: minmax(0, 1fr); }
  .dot-field { width: 120px; margin-top: 12px; }
  .plate-frame { aspect-ratio: 4 / 3; }
  .map-legend { grid-template-columns: minmax(0, 1fr); }
  .demo-form { grid-template-columns: minmax(0, 1fr); }
  .sheet { padding: 24px 20px; }
  .candidate-name, .status-state { font-size: 1.5rem; }
  .status { flex-wrap: wrap; }
  .faq-item p { padding-right: 0; }
}

/* ==========================================================================
   18. Reduced motion: settled states, instant UI changes
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .map-card, .map-reasons li, .map-q, .map-axis, .map-sel-chip, .map-tip { transition: none; }
}

/* ==========================================================================
   19. Phones: fit the larger logo lockup beside Menu and Book a demo
   ========================================================================== */
@media (max-width: 359px) { .brand-mark { display: none; } }
@media (max-width: 560px) {
  .nav-toggle { padding: 0; justify-content: center; width: 44px; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 400px) { .site-header { gap: 8px; } }
@media (max-width: 380px) { .brand .brand-word { height: 15px; } .brand-mark { height: 28px; } }
@media (max-width: 560px) { .map-panel-note, .sheet-tag { text-align: left; } }

/* ==========================================================================
   5c. Hero on phones (owner, 2026-10-22): the same full-bleed look, with the film
   uncropped enough to read (4:3 instead of the 9:19 screen) and the headline over its foot;
   the film controls and the disclosure label sit under the words, out of the picture.
   ========================================================================== */
@media (max-width: 860px) {
  .hero-stage { min-height: 0; justify-content: flex-start; row-gap: 0; }
  .hero-media { position: relative; inset: auto; z-index: -1; aspect-ratio: 4 / 3; order: 0; }
  .hero-media video { object-position: 50% 40%; }
  .hero-shade { display: none; }
  /* The headline overlaps only the film's last 44px, on a short shade, so more of the film shows (owner, 2026-10-24) */
  .hero-content { order: 1; margin-top: -44px; }
  .hero-content::before { top: -56px; background: linear-gradient(to bottom, rgb(7 24 39 / 0) 0, rgb(7 24 39 / .7) 40px, rgb(7 24 39 / .96) 76px, rgb(7 24 39 / .96) 100%); }
  .hero-meta { order: 2; margin: 20px var(--gutter) 8px; }
  .hero-meta .media-label { order: 5; flex-basis: 100%; margin-left: 0; padding: 0; background: none; font-size: .8125rem; color: var(--ink-3); }
  /* Capped by the screen width, so "YOUR CLUB." fits on one line even at 150% text */
  .hero-title { font-size: min(11.5vw, 3.75rem); }
  .hero-kicker { font-size: 1.0625rem; }
}
/* Phones held sideways: a shorter film strip, so the headline and buttons are not pushed off the screen */
@media (max-width: 860px) and (orientation: landscape) {
  .hero-media { aspect-ratio: auto; height: 232px; }
  .hero-content { margin-top: -72px; }
  .hero-title { font-size: min(7vw, 3rem); }
}
