/* =========================================================================
   WINFIELD & CO - "Floodlit Instrument"
   A cold analytical instrument that flares to matchday intensity on contact.
   Palette: floodlit night stadium. Type: Fraunces (human) + IBM Plex Mono (instrument).
   Corners: sharp (0) - precision instruments and stadium architecture are angular.
   No drop shadows. No decorative gradients.
   ========================================================================= */

:root {
  /* Ground & surfaces - deep petrol, green-blue undertone */
  --ink:        #0A0F12;
  --ink-2:      #0E151A;
  --ink-3:      #131E24;
  --ink-4:      #182831;

  /* Structure */
  --steel:      #223038;   /* faint gridline */
  --steel-2:    #33474F;   /* border / line */
  --steel-3:    #47616B;   /* stronger line */

  /* Type */
  --slate:      #66808B;   /* dim mono labels */
  --mist:       #9DB2BB;   /* secondary text */
  --chalk:      #E7EEEC;   /* primary text (floodlit off-white) */
  --chalk-dim:  #C3D0CF;

  /* Two-register accents */
  --cyan:       #4FB0C6;   /* instrument voice (cool) */
  --cyan-bright:#6FD4EC;
  --cyan-dim:   #2C5966;
  --sodium:     #FF4E33;   /* intensity voice (warm) - used rarely */
  --sodium-dim: #7A2A1E;

  /* Fonts */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Rhythm */
  --rail-w: 68px;
  --header-h: 84px;
  --gutter: clamp(20px, 5vw, 88px);
  --maxw: 1880px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: auto;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; }
::selection { background: var(--sodium); color: #fff; }

/* ---------- Background: faint measurement grid + floodlit cast ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--steel) 1px, transparent 1px),
    linear-gradient(0deg,  var(--steel) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 90% at 78% 8%, #000 0%, transparent 72%);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 200;
  background: var(--cyan); color: var(--ink);
  padding: 10px 16px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- Focus ---------- */
:focus-visible {
  outline: 2px solid var(--cyan-bright);
  outline-offset: 3px;
}

/* ---------- Shared: eyebrow / labels / tick motif ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow-tick {
  width: 26px; height: 1px; background: var(--cyan);
  position: relative; display: inline-block;
}
.eyebrow-tick::before, .eyebrow-tick::after {
  content: ""; position: absolute; top: -2px; width: 1px; height: 5px; background: var(--cyan);
}
.eyebrow-tick::before { left: 0; }
.eyebrow-tick::after  { right: 0; }

.hot { color: var(--sodium); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 20px;
  border: 1px solid var(--steel-3);
  color: var(--chalk);
  background: transparent;
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out);
  will-change: transform;
}
.btn-solid { background: var(--cyan); color: var(--ink); border-color: var(--cyan); font-weight: 600; }
.btn-solid:hover { background: var(--cyan-bright); border-color: var(--cyan-bright); }
.btn .btn-arrow { width: 18px; height: 18px; transition: transform 0.35s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn-lg { padding: 18px 30px; font-size: 15px; }

.link-tick {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mist); display: inline-flex; align-items: center; gap: 10px;
  padding-bottom: 3px; position: relative;
}
.link-tick::after {
  content: "→"; color: var(--cyan); transition: transform 0.3s var(--ease-out);
}
.link-tick:hover { color: var(--chalk); }
.link-tick:hover::after { transform: translateX(3px); }

/* =========================================================================
   INSTRUMENT HEADER
   ========================================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  transition: height 0.45s var(--ease-out);
}

/* Scrolled state: condense into a precise rail */
.site-header[data-state="scrolled"] {
  background: color-mix(in srgb, var(--ink) 95%, transparent);
  border-bottom-color: var(--steel-2);
}
.site-header[data-state="scrolled"] .header-inner { height: 62px; }

/* Hero state: taller header and larger wordmark at the very top of the page */
.site-header[data-state="hero"] .header-inner { height: 112px; }
.site-header[data-state="hero"] .brand-full { font-size: 26px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 14px; }
/* Boxed W wordmark: a bordered cyan square holding the letter in the serif face */
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: none;
  border: 1px solid var(--cyan); color: var(--cyan);
  font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1;
  transition: border-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}
.brand:hover .brand-mark { border-color: var(--cyan-bright); color: var(--cyan-bright); }

.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-full {
  font-family: var(--serif); font-weight: 500; font-size: 21px;
  letter-spacing: 0.01em; color: var(--chalk);
  transition: font-size 0.45s var(--ease-out);
}
.brand-full .amp { color: var(--cyan); font-style: normal; padding: 0 1px; }
.brand-mono {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--slate); margin-top: 5px;
  transition: opacity 0.35s var(--ease-out), max-height 0.35s var(--ease-out);
  overflow: hidden; max-height: 14px;
}
.site-header[data-state="scrolled"] .brand-full { font-size: 18px; }
.site-header[data-state="scrolled"] .brand-mono { opacity: 0; max-height: 0; margin-top: 0; }

/* Nav index - match-programme contents / channel selector */
.nav-index { justify-self: center; display: flex; gap: clamp(18px, 3vw, 42px); }
.nav-index a {
  position: relative;
  font-family: var(--mono); font-size: 14.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mist);
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 6px 2px;
  transition: color 0.3s var(--ease-out);
  will-change: transform;
}
.nav-index a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease-out);
}
.nav-index a:hover { color: var(--chalk); }
.nav-index a:hover::after { transform: scaleX(1); }
.nav-index a.is-current { color: var(--chalk); }
.nav-index a.is-current::after { transform: scaleX(1); background: var(--steel-3); }

.header-right { justify-self: end; display: flex; align-items: center; gap: 18px; }

/* Scroll progress track along header baseline */
.scroll-track {
  position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: transparent; overflow: hidden; opacity: 0;
  transition: opacity 0.4s;
}
.site-header[data-state="scrolled"] .scroll-track { opacity: 1; }
.scroll-tick { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--cyan); }
.scroll-tick::after {
  content: ""; position: absolute; right: -1px; top: -2px; width: 1px; height: 5px; background: var(--cyan-bright);
}

/* Menu toggle (mobile) */
.menu-toggle { display: none; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chalk); }
.mt-bars { display: inline-flex; flex-direction: column; gap: 5px; width: 22px; }
.mt-bars i { height: 1.5px; background: var(--chalk); width: 100%; transition: transform 0.3s var(--ease-out), opacity 0.3s; transform-origin: center; }
body.menu-open .mt-bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .mt-bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--ink-2);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.55s var(--ease-inout);
  display: flex; align-items: center; pointer-events: none;
}
body.menu-open .mobile-nav { clip-path: inset(0 0 0% 0); pointer-events: auto; }
.mobile-nav-inner { padding: var(--gutter); display: flex; flex-direction: column; gap: 6px; width: 100%; }
.mobile-nav-inner a {
  font-family: var(--serif); font-size: clamp(30px, 9vw, 52px); font-weight: 400; color: var(--chalk);
  display: flex; align-items: baseline; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--steel);
}
.mobile-nav-inner a .i-num { font-family: var(--mono); font-size: 13px; color: var(--cyan); }
.mobile-nav-inner .mn-cta { font-family: var(--mono); font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); border: none; margin-top: 18px; }

/* =========================================================================
   INSTRUMENT RAIL (desktop persistent left margin)
   ========================================================================= */
.rail {
  position: fixed; top: 0; left: 0; z-index: 50;
  width: var(--rail-w); height: 100vh;
  border-right: 1px solid var(--steel);
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: calc(var(--header-h) + 20px) 0 28px;
  pointer-events: none;
}
.rail-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--slate); writing-mode: vertical-rl; transform: rotate(180deg);
  white-space: nowrap;
}
.rail-top { max-height: 34vh; overflow: hidden; }
.rail-bottom { color: var(--cyan); }
.rail-progress { flex: 1; width: 1px; background: var(--steel); margin: 22px 0; position: relative; overflow: hidden; }
.rail-progress-fill { position: absolute; top: 0; left: 0; width: 100%; height: 0%; background: var(--cyan); }

/* =========================================================================
   LAYOUT WRAP
   ========================================================================= */
main { position: relative; z-index: 1; padding-left: var(--rail-w); }
section { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.section-head { max-width: 760px; padding-top: clamp(90px, 12vw, 160px); }
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(34px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.01em;
  color: var(--chalk); margin-top: 24px;
}
.section-title em { font-style: italic; font-weight: 400; color: var(--chalk); }
.section-lead {
  font-family: var(--serif); font-weight: 300; font-size: clamp(16px, 2vw, 20px); line-height: 1.6;
  color: var(--mist); margin-top: 26px; max-width: 62ch;
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-h); padding-bottom: 56px; overflow: hidden;
  /* Full-bleed hero: cancel the section cap and main's rail offset so the */
  /* chart backdrop and crowd silhouette reach both viewport edges. */
  /* At the rail is 0px so margin-left collapses to 0 with no overflow. */
  max-width: none; width: 100vw; margin-left: calc(-1 * var(--rail-w));
}

/* Live model backdrop */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.5; touch-action: auto; /* backdrop must never trap page scroll */
}
/* Flat legibility scrim + a centred vignette so the centred headline stays crisp */
.hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: rgba(10, 15, 18, 0.46);
}
.hero-scrim::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(10, 15, 18, 0.52);
  -webkit-mask-image: radial-gradient(120% 92% at 50% 44%, #000 0%, #000 42%, transparent 78%);
          mask-image: radial-gradient(120% 92% at 50% 44%, #000 0%, #000 42%, transparent 78%);
}
/* Floodlit terrace of fans grounding the hero */
.hero-crowd {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: clamp(110px, 20vh, 220px);
  pointer-events: none;
  /* Soften the terrace so it dissolves into the section below instead of a hard edge */
  filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 100%);
}
.hero-crowd svg { display: block; width: 100%; height: 100%; }

.hero-legend { position: absolute; left: var(--gutter); bottom: 30px; display: flex; gap: 22px; z-index: 2; }

/* Overlaid content - centred; pointer events pass through to the canvas except on controls */
.hero-content { position: relative; z-index: 2; max-width: 880px; margin: 0 auto; text-align: center; pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }

.hero-title {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif; font-weight: 500;
  font-size: clamp(52px, 9.2vw, 128px); line-height: 0.98; letter-spacing: -0.005em;
  margin: 28px 0 0; color: var(--chalk);
}
.hero-title .line { display: block; }
.hero-title em { font-style: italic; font-weight: 400; color: var(--cyan); }
.hero-fans { color: var(--cyan); font-weight: 700; font-style: normal; }
.hero-tagline {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(20px, 3vw, 34px); line-height: 1.2; color: var(--chalk-dim);
  margin-top: 22px;
}
.hero-sub {
  font-family: var(--serif); font-weight: 300; font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.6; color: var(--mist); margin: 24px auto 0; max-width: 52ch;
}
.hero-sub strong { color: var(--chalk-dim); font-weight: 500; }
.hero-actions { margin-top: 38px; display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }

/* Model stage */
.model-stage { position: relative; width: 100%; }
.model-frame {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  background:
    radial-gradient(120% 120% at 62% 30%, rgba(79,176,198,0.05), transparent 60%),
    var(--ink-2);
  border: 1px solid var(--steel-2);
}
.model-frame-lg { aspect-ratio: 16 / 10; }
.model-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; /* vertical swipe scrolls the page; horizontal drag orbits */ }
.model-corner { position: absolute; width: 12px; height: 12px; border: 1px solid var(--cyan); }
.model-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.model-corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.model-corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.model-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.model-tag {
  position: absolute; z-index: 3; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--slate);
}
.model-tag-tl { top: 12px; left: 14px; }
.model-tag-tr { top: 12px; right: 14px; color: var(--cyan); }
.model-hint {
  position: absolute; z-index: 3; bottom: 12px; left: 14px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate); transition: opacity 0.4s;
}
.model-axes-legend { display: flex; gap: 22px; margin-top: 16px; padding-left: 2px; }
.mal { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); display: inline-flex; align-items: center; gap: 8px; }
.mal-swatch { width: 9px; height: 9px; border: 1px solid; }
.mal-swatch.a-att { border-color: var(--cyan); background: var(--cyan); }
.mal-swatch.a-spd { border-color: var(--cyan); }
.mal-swatch.a-eng { border-color: var(--steel-3); background: var(--steel-3); }

/* =========================================================================
   METHODOLOGY
   ========================================================================= */
.method { padding-bottom: 0; }
.axes { margin-top: clamp(48px, 7vw, 92px); border-top: 1px solid var(--steel); }
.axis {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(24px, 5vw, 72px);
  padding: clamp(38px, 5vw, 60px) 0; border-bottom: 1px solid var(--steel);
  align-items: start;
}
.axis-index { display: flex; align-items: flex-start; gap: 20px; }
.axis-num {
  font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 6vw, 78px); line-height: 0.8;
  color: var(--steel-3);
}
.axis-mini { width: 66px; height: 66px; flex: none; border: 1px solid var(--steel); background: var(--ink-2); position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 5px; padding: 9px 8px; }
.axis-mini i { width: 7px; height: calc(var(--h, 0.4) * 46px); background: var(--steel-3); transition: background-color 0.4s var(--ease-out); }
.axis-mini i.peak { background: var(--slate); }
.axis.is-active .axis-mini i { background: var(--cyan-dim); }
.axis.is-active .axis-mini i.peak { background: var(--cyan); }
.axis-body { max-width: 62ch; }
.axis-name { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 34px); color: var(--chalk); }
.axis-def { font-family: var(--serif); font-weight: 300; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.62; color: var(--mist); margin-top: 16px; }
.axis-def em { color: var(--chalk-dim); font-style: italic; }
.axis-facets { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
/* Plain non-interactive labels: a wrapped mono list with a small cyan marker, not chips */
.axis-facets li {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mist);
  padding: 0; position: relative; display: inline-flex; align-items: baseline;
}
.axis-facets li::before { content: "\00B7 "; color: var(--cyan); margin-right: 6px; }
/* Active axis (driven on scroll) flares cyan */
.axis.is-active .axis-num { color: var(--cyan); }
.axis.is-active .axis-mini { border-color: var(--cyan); }
.axis.is-active .axis-facets li { color: var(--chalk-dim); }

/* Closing statement as a wide, short, full-width section band (distinct ground)
   with equal space above and below. Breaks out of the section gutters. */
.band {
  margin: clamp(72px, 9vw, 128px) calc(-1 * var(--gutter));
  padding: clamp(40px, 5vw, 64px) var(--gutter);
  background: var(--ink-3);
  border-top: 1px solid var(--cyan-dim);
  border-bottom: 1px solid var(--cyan-dim);
}
.band .mc-text {
  max-width: 56ch; margin: 0 auto; text-align: center;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 2.8vw, 34px); line-height: 1.42; letter-spacing: -0.005em;
  color: var(--chalk);
}
/* Final axis ends flush so the band's top and bottom margins are the only spacing */
.axis:last-of-type { padding-bottom: 0; border-bottom: none; }

/* =========================================================================
   FAN TYPES
   ========================================================================= */
.fans { padding-bottom: 0; }
/* The method panel's bottom margin sets the gap into this section */
.fans .section-head { padding-top: 0; }
.fans-layout {
  margin-top: clamp(44px, 6vw, 80px);
  display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 56px); align-items: start;
}
.fan-cards { display: flex; flex-direction: column; gap: 12px; }
.fan-card {
  text-align: left; border: 1px solid var(--steel-2); background: var(--ink-2);
  padding: clamp(22px, 2vw, 30px) clamp(22px, 2vw, 30px); display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.35s var(--ease-out), background-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  will-change: transform;
}
.fan-card:hover { border-color: var(--steel-3); background: var(--ink-3); }
.fan-card.is-active { border-color: var(--sodium); background: var(--ink-3); }
.fc-top { display: flex; align-items: center; justify-content: space-between; }
.fc-id { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--slate); }
.fan-card.is-active .fc-id { color: var(--sodium); }
.fc-bars { display: inline-flex; align-items: flex-end; gap: 4px; height: 22px; }
.fc-bars i { width: 6px; height: calc(var(--h) * 22px); background: var(--steel-3); transition: background-color 0.35s; }
.fan-card:hover .fc-bars i { background: var(--cyan); }
.fan-card.is-active .fc-bars i { background: var(--sodium); }
.fc-name { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.9vw, 34px); color: var(--chalk); line-height: 1.06; }
.fc-desc { font-family: var(--mono); font-size: clamp(12.5px, 1vw, 14px); line-height: 1.6; letter-spacing: 0.01em; color: var(--mist); }

.fan-stage { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 1081px) {
  .fan-stage .model-frame-lg { max-height: 46vh; }
  /* Laptop+: left card column fills the same height as graph+readout */
  .fans-layout { align-items: stretch; }
  .fan-cards { height: 100%; }
  .fan-card { flex: 1; justify-content: flex-start; }
}

/* Readout */
.fan-readout { border: 1px solid var(--steel-2); background: var(--ink-2); padding: clamp(20px, 2.5vw, 30px); }
.fr-head { display: flex; align-items: baseline; gap: 16px; }
.fr-id { font-family: var(--mono); font-size: 13px; letter-spacing: 0.12em; color: var(--sodium); }
.fr-name { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 3vw, 34px); color: var(--chalk); }
.fr-desc { font-family: var(--serif); font-weight: 300; font-size: clamp(15px, 1.6vw, 17px); color: var(--mist); margin-top: 10px; max-width: 52ch; }
.fr-metrics { margin-top: 20px; display: flex; flex-direction: column; gap: 13px; }
.fr-metric { display: flex; flex-direction: column; gap: 8px; }
.frm-top { display: flex; align-items: baseline; justify-content: space-between; }
.frm-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.frm-val { font-family: var(--mono); font-size: 20px; font-weight: 500; color: var(--chalk); font-variant-numeric: tabular-nums; }
.frm-bar { height: 3px; background: var(--steel); position: relative; overflow: hidden; }
.frm-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; background: var(--cyan); transition: width 0.7s var(--ease-out); }
.fr-metric[data-metric] .frm-fill { background: var(--cyan); }
/* dominant metric flares sodium - set via JS class */
.fr-metric.is-peak .frm-fill { background: var(--sodium); }
.fr-metric.is-peak .frm-val { color: var(--sodium); }
.fr-play { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--steel); font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--mist); }
.fr-play-k { display: inline-block; color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase; font-size: 10.5px; margin-right: 8px; }

/* =========================================================================
   PRICING LADDER
   ========================================================================= */
.pricing { padding-bottom: clamp(60px, 9vw, 130px); }
.ladder { margin-top: clamp(48px, 6vw, 84px); border-top: 1px solid var(--steel); }
.rung {
  display: grid; grid-template-columns: 130px 1fr; gap: clamp(20px, 4vw, 56px);
  padding: clamp(30px, 4vw, 46px) 0; border-bottom: 1px solid var(--steel); align-items: baseline;
  transition: background-color 0.4s;
}
.rung-step { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.rung-headline { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.rung-price { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 74px); line-height: 0.9; color: var(--chalk); letter-spacing: -0.01em; }
.rung-unit { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }
.rung-desc { font-family: var(--serif); font-weight: 300; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; color: var(--mist); margin-top: 16px; max-width: 56ch; }
.rung-terms .rung-price.hot { color: var(--sodium); }
.pricing-cta { margin-top: clamp(44px, 5vw, 64px); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact { padding-top: 0; padding-bottom: clamp(90px, 12vw, 170px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-title { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 5vw, 60px); line-height: 1.04; letter-spacing: -0.01em; color: var(--chalk); margin-top: 24px; }
.contact-title em { font-style: normal; font-weight: 700; color: var(--cyan); }
.contact-lead { font-family: var(--serif); font-weight: 300; font-size: clamp(16px, 1.8vw, 19px); color: var(--mist); margin-top: 24px; max-width: 46ch; }
.contact-email {
  border: 1px solid var(--steel-2); background: var(--ink-2); padding: clamp(24px, 3vw, 38px);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 20px; align-items: center;
  transition: border-color 0.35s var(--ease-out), background-color 0.35s var(--ease-out);
}
.contact-email:hover { border-color: var(--cyan); background: var(--ink-3); }
.ce-k { grid-column: 1; font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }
.ce-v { grid-column: 1; font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 3vw, 34px); color: var(--chalk); margin-top: 8px; word-break: break-word; }
.contact-email:hover .ce-v { color: var(--cyan); }
.ce-arrow { grid-column: 2; grid-row: 1 / span 2; width: 34px; height: 34px; color: var(--cyan); transition: transform 0.35s var(--ease-out); }
.contact-email:hover .ce-arrow { transform: translate(4px, -4px); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { position: relative; z-index: 1; margin-left: var(--rail-w); border-top: 1px solid var(--steel-2); padding: 0 var(--gutter); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 5vw, 64px) 0 32px; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.fb-word { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--chalk); }
.fb-word .amp { color: var(--cyan); font-style: normal; padding: 0 1px; }
.fb-mono { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); }
.footer-nav { display: flex; gap: clamp(16px, 3vw, 36px); flex-wrap: wrap; }
.footer-nav a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mist); transition: color 0.3s; }
.footer-nav a:hover { color: var(--cyan); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 22px 0 40px; border-top: 1px solid var(--steel); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom span, .fb-note { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); }

/* =========================================================================
   CUSTOM CURSOR (pointer:fine only)
   ========================================================================= */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid var(--cyan);
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  transition: width 0.28s var(--ease-out), height 0.28s var(--ease-out), background-color 0.28s var(--ease-out), border-color 0.28s var(--ease-out), margin 0.28s var(--ease-out);
  mix-blend-mode: difference;
}
.cursor-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity 0.2s; white-space: nowrap; }
.cursor.is-active { width: 62px; height: 62px; margin: -31px 0 0 -31px; background: var(--cyan); border-color: var(--cyan); }
.cursor.is-active .cursor-label { opacity: 1; }
@media (pointer: fine) { .cursor { display: flex; } body:not(.menu-open) [data-cursor]:hover { } }

/* =========================================================================
   REVEAL (JS-driven; graceful no-JS)
   ========================================================================= */
.js [data-reveal], .js [data-reveal="axis"] { opacity: 0; }
.js [data-reveal-title] .line { opacity: 0; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  :root { --rail-w: 0px; }
  .rail { display: none; }
  .nav-index { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { align-items: center; min-height: 100vh; padding-top: calc(var(--header-h) + 20px); padding-bottom: 64px; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(48px, 14vw, 92px); }
  .fans-layout { grid-template-columns: 1fr; }
  .fan-stage { position: static; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-right .btn-solid { display: none; }
  .hero-legend, .hero-modeltag { display: none; }
  .brand-full { font-size: 18px; }
  .axis { grid-template-columns: 1fr; gap: 18px; }
  .axis-index { align-items: center; }
  .axis-num { font-size: 56px; }
  .rung { grid-template-columns: 1fr; gap: 10px; }
  .contact-email { grid-template-columns: 1fr; }
  .ce-arrow { grid-row: auto; grid-column: 1; margin-top: 16px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal], .js [data-reveal="axis"], .js [data-reveal-title] .line { opacity: 1 !important; transform: none !important; }
  .cursor { display: none !important; }
}
