/* ============================================================
   TOKENS — shared with the "Fight Desk" dossier series
   (matches Apex / Biggest Fighters / Fan Experience / Sporting
   Congestion so the landing page reads as the same publication)
============================================================= */
:root{
  --canvas: #12151c;
  --surface: #1b1f29;
  --surface-2: #232838;
  --paper: #ece6d8;
  --ink: #f5f3ee;
  --ink-dim: #cfd3dd;
  --muted: #8b93a6;
  --line: rgba(245,243,238,0.12);
  --line-strong: rgba(245,243,238,0.22);

  --amber: #e8a23d;
  --green: #4c9a6a;
  --crimson: #c1392b;
  --paleblue: #6aa0d8;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', monospace;

  --container: 720px;
  --wide: 1080px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a{ color: var(--amber); text-decoration-color: rgba(232,162,61,0.4); }
a:hover{ text-decoration-color: currentColor; }
::selection{ background: var(--amber); color: #14171f; }
:focus-visible{ outline: 2px solid var(--amber); outline-offset: 3px; }
h1,h2,h3{ font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; margin: 0; }
img{ max-width: 100%; display: block; }

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

/* ============================================================
   READING PROGRESS BAR
============================================================= */
.progressBar{
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--amber); z-index: 300; transform-origin: left;
  transition: width 0.1s linear;
}

/* ============================================================
   SITE NAV — sits over the hero, solidifies once the reader
   scrolls past it (see script.js .siteNav--solid toggle)
============================================================= */
.siteNav{
  position: sticky; top: 0; z-index: 200;
  display:flex; align-items:center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.siteNav--solid{
  background: rgba(18,21,28,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.siteNav__mark{
  font-family: var(--font-display); font-size: 14px; letter-spacing: 0.05em;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.siteNav__mark span{ color: var(--amber); }
.siteNav__links{ display:flex; gap: clamp(10px, 2vw, 24px); }
.siteNav__links a{
  color: var(--muted); text-decoration: none; padding: 4px 2px;
  border-bottom: 1px solid transparent;
}
.siteNav__links a:hover, .siteNav__links a:focus-visible{ color: var(--ink); border-bottom-color: var(--amber); }
.siteNav__num{ color: var(--amber); }

@media (max-width: 640px){
  .siteNav__links span.siteNav__word{ display:none; }
}

/* ============================================================
   HERO
============================================================= */
.hero{
  position: relative; min-height: 100vh;
  display:flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 8vh clamp(20px, 6vw, 80px) 12vh; overflow: hidden; isolation: isolate;
  background: var(--canvas);
  margin-top: -74px; /* pull up under the transparent nav */
}
.hero__content{ position: relative; z-index: 1; max-width: 980px; }
.eyebrow{ font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin: 0 0 18px; }
.hero__headline{
  font-size: clamp(46px, 9.4vw, 122px); line-height: 0.94; font-weight: 700;
  max-width: 900px; margin: 0 auto;
}
.hero__headline .hero__accent{ color: var(--amber); }
.hero__headline .hero__dollar{ color: #8fd19e; }
.hero__deck{ max-width: 620px; font-size: clamp(17px, 2vw, 20px); color: var(--ink-dim); margin: 28px auto 0; }
.hero__byline{ margin-top: 34px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); display:flex; gap: 10px; align-items:center; justify-content: center; flex-wrap: wrap; }
.hero__byline .dot{ color: var(--line-strong); }
.scroll-cue{
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  display:flex; flex-direction: column; align-items:center; gap: 10px; background:none; border:none;
  color: var(--muted); font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; z-index: 1;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue svg{ color: var(--amber); }
@keyframes bob{ 0%,100%{ transform: translate(-50%,0); } 50%{ transform: translate(-50%,6px); } }

/* ============================================================
   SCROLL REVEAL — generic fade/rise-in utility used across
   every section below the hero
============================================================= */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(2){ transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3){ transition-delay: 0.16s; }
.reveal-group .reveal:nth-child(4){ transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; }
}

/* ============================================================
   LEDE / PROSE COLUMN — shared with the "Fight Desk" pattern
============================================================= */
.lede{ padding: 14vh clamp(20px, 6vw, 80px); display:flex; justify-content:center; }
.lede__col{ width: 100%; max-width: var(--container); }
.lede__tag{
  font-family: var(--font-mono); font-size: 11px;
  color: var(--crimson); text-transform: uppercase;
  letter-spacing: 0.06em; margin: 0 0 14px;
}
.lede p{ font-size: 19px; color: var(--ink-dim); margin: 0 0 22px; }
.lede h2{ font-size: clamp(28px,4vw,40px); margin-bottom: 20px; }
.drop-cap{ float:left; font-family: var(--font-display); font-size: 76px; line-height: 0.8; color: var(--amber); padding-right: 10px; margin-top: 4px; }

/* Stat cards — identical pattern to the Apex piece's statRow */
.statRow{ display:flex; gap: 16px; flex-wrap: wrap; margin: 30px 0 6px; }
.statRow__card{
  flex: 1 1 180px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 4px; padding: 18px 20px; font-family: var(--font-mono);
}
.statRow__card b{ display:block; font-size: 30px; color: var(--amber); line-height: 1.1; }
.statRow__card span{ display:block; font-size: 12px; color: var(--muted); margin-top: 8px; text-transform: uppercase; letter-spacing: 0.03em; line-height: 1.4; }

/* Standalone editorial "pull question" — the paradox's central line */
.pullQuestion{
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(22px, 3vw, 32px); line-height: 1.3; letter-spacing: 0.01em;
  color: var(--ink); max-width: 720px; margin: 46px 0 0;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.pullQuestion span{ color: var(--amber); }

/* ============================================================
   INVESTIGATIONS — the four-article grid
============================================================= */
.investigations{ padding: 5vh clamp(20px, 6vw, 80px) 5vh; }
.investigations__intro{ max-width: var(--wide); margin: 0 auto 28px; }
.investigations__intro .lede__tag{ margin-bottom: 10px; }
.investigations__intro h2{ font-size: clamp(24px,3.4vw,34px); margin-bottom: 10px; max-width: 760px; }
.investigations__intro p{ font-size: 19px; color: var(--ink-dim); max-width: 640px; margin: 0; }

.invGrid{
  display:grid; grid-template-columns: 1fr; gap: 12px;
  max-width: var(--wide); margin: 0 auto;
}
.invCard{
  position: relative; display:flex; flex-direction: row; align-items: stretch;
  height: 110px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.invCard:hover, .invCard:focus-visible{
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}
.invCard:focus-visible{ outline: 2px solid var(--amber); outline-offset: 2px; }
.invCard__media{ position: relative; flex: 0 0 150px; width: 150px; height: 100%; overflow: hidden; background: var(--surface-2); }
.invCard__media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.invCard__media .invCard__collage{ display: block; width: 100%; height: 100%; transition: transform 0.5s ease; }
.invCard:hover .invCard__media img,
.invCard:hover .invCard__media .invCard__collage{ transform: scale(1.05); }
.invCard__num{
  position: absolute; top: 8px; left: 8px; z-index: 1;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink); background: rgba(18,21,28,0.72); border: 1px solid var(--line-strong);
  border-radius: 3px; padding: 2px 6px;
}
.invCard__body{ padding: 10px 18px; display:flex; flex-direction:column; justify-content:center; flex: 1; min-width: 0; }
.invCard__label{
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: var(--amber); text-transform: uppercase; margin: 0 0 3px;
}
.invCard__title{ font-size: clamp(15px, 1.6vw, 18px); margin-bottom: 3px; line-height: 1.15; }
.invCard__desc{
  color: var(--ink-dim); font-size: 12.5px; line-height: 1.4; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.invCard__stat{ display: none; }
.invCard__cta{ display: none; }

@media (max-width: 640px){
  .invCard{ height: auto; min-height: 96px; }
  .invCard__media{ flex-basis: 110px; width: 110px; }
  .invCard__body{ padding: 8px 12px; }
}

/* ============================================================
   FOUR SYMPTOMS. ONE QUESTION.
============================================================= */
.symptoms{ padding: 12vh clamp(20px, 6vw, 80px); background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.symptoms__inner{ max-width: var(--wide); margin: 0 auto; text-align: center; }
.symptoms h2{ font-size: clamp(28px,4vw,42px); margin-bottom: 20px; }
.symptoms__lede{ max-width: 640px; margin: 0 auto 60px; color: var(--ink-dim); font-size: 18px; }

.symptomLine{ display:flex; align-items: flex-start; justify-content: center; max-width: 900px; margin: 0 auto; }
.symptomNode{ flex: 1 1 0; position: relative; padding: 0 10px; }
.symptomNode__dot{
  width: 14px; height: 14px; border-radius: 50%; background: var(--amber);
  margin: 0 auto 18px; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px rgba(232,162,61,0.14);
}
.symptomNode__rail{
  position: absolute; top: 6px; left: -50%; width: 100%; height: 1px; background: var(--line-strong);
  z-index: 0;
}
.symptomNode:first-child .symptomNode__rail{ display:none; }
.symptomNode__num{ font-family: var(--font-mono); font-size: 11px; color: var(--amber); margin: 0 0 6px; }
.symptomNode__label{ font-family: var(--font-display); text-transform: uppercase; font-size: 14px; letter-spacing: 0.03em; margin: 0 0 8px; }
.symptomNode__text{ font-size: 13.5px; color: var(--muted); line-height: 1.5; }

.symptoms__arrow{ margin: 46px auto 0; color: var(--amber); }
.symptoms__tension{
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(18px, 2.4vw, 24px); margin: 22px auto 0; max-width: 640px; color: var(--ink);
}
.symptoms__tension .vs{ color: var(--muted); font-size: 0.7em; margin: 0 10px; }
.symptoms__tension .cost{ color: var(--crimson); }

@media (max-width: 720px){
  .symptomLine{ flex-direction: column; gap: 30px; align-items: stretch; }
  .symptomNode{ padding: 0; }
  .symptomNode__rail{ display:none !important; }
}

/* ============================================================
   EVIDENCE / CONCLUSION
============================================================= */
.evidence{ padding: 14vh clamp(20px, 6vw, 80px) 10vh; display:flex; justify-content:center; }
.evidence__col{ max-width: var(--container); width: 100%; }
.evidence h2{ font-size: clamp(30px,4.4vw,44px); margin-bottom: 24px; }
.evidence p{ font-size: 18px; color: var(--ink-dim); margin: 0 0 22px; }
.evidence strong{ color: var(--ink); font-weight: 600; }

.balance{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 34px 0; }
.balance__col{ background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 22px 22px 20px; }
.balance__col--commercial{ border-left: 3px solid var(--amber); }
.balance__col--cost{ border-left: 3px solid var(--crimson); }
.balance__title{
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase;
  margin: 0 0 14px;
}
.balance__col--commercial .balance__title{ color: var(--amber); }
.balance__col--cost .balance__title{ color: var(--crimson); }
.balance__col ul{ margin: 0; padding: 0; list-style: none; }
.balance__col li{ font-size: 14.5px; color: var(--ink-dim); padding: 7px 0; border-top: 1px solid var(--line); }
.balance__col li:first-child{ border-top: none; }

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

.evidence__caveats{ font-size: 15px; color: var(--muted); }
.evidence__caveats li{ margin-bottom: 6px; }

.evidence__closing{
  margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.01em;
  font-size: clamp(22px, 3vw, 30px); line-height: 1.3; color: var(--ink);
}
.evidence__closing span{ color: var(--amber); }

/* ============================================================
   FOOTER
============================================================= */
.siteFooter{ padding: 10vh clamp(20px,6vw,80px) 6vh; border-top: 1px solid var(--line); text-align: center; }
.siteFooter__title{ font-family: var(--font-display); text-transform: uppercase; font-size: clamp(20px,2.6vw,26px); margin-bottom: 14px; }
.siteFooter__meta{ font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-bottom: 34px; }
.siteFooter__meta span.dot{ color: var(--line-strong); margin: 0 8px; }
.siteFooter__links{
  display:flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
  font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.05em;
  padding-top: 26px; border-top: 1px solid var(--line); max-width: 760px; margin: 0 auto;
}
.siteFooter__links a{ color: var(--ink-dim); text-decoration: none; }
.siteFooter__links a:hover, .siteFooter__links a:focus-visible{ color: var(--amber); }

/* ============================================================
   RESPONSIVE — small screens
============================================================= */
@media (max-width: 560px){
  .hero{ min-height: 100svh; padding-top: 14vh; }
  .lede, .investigations, .evidence{ padding-left: 20px; padding-right: 20px; }
  .invCard__body{ padding: 22px 20px 24px; }
  .statRow{ gap: 12px; }
  .statRow__card{ flex: 1 1 140px; padding: 14px 16px; }
  .statRow__card b{ font-size: 24px; }
}
