/* Sports Health Guide — design tokens
   Track violet surface, white lane lines, hi-vis "bib" lime for highlights. */
:root {
  --chalk: #F5F6F8;
  --paper: #FFFFFF;
  --ink: #16131F;
  --ink-soft: #3E3A4C;
  --muted: #6B6880;
  --line: #E2E1EA;
  --track: #5A3EC8;
  --track-deep: #35238C;
  --track-tint: #EEEAFB;
  --bib: #E4FB5B;
  --bib-ink: #1D2200;
  --mark: #E4FB5B;
  --turf: #17845A;
  --warn: #B4521E;
  --shadow: 0 1px 2px rgba(22,19,31,.06), 0 8px 28px rgba(22,19,31,.08);

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body: "Literata", Georgia, "Times New Roman", serif;
  --f-mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --read: 700px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --chalk: #121019; --paper: #1B1825; --ink: #EEEAF7; --ink-soft: #CBC6DB;
    --muted: #9C97B0; --line: #2E2A3B; --track: #8C74F0; --track-deep: #2A1C72;
    --track-tint: #231D3A; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35);
    --mark: rgba(228,251,91,.28);
  }
}
:root[data-theme="dark"] {
  --chalk: #121019; --paper: #1B1825; --ink: #EEEAF7; --ink-soft: #CBC6DB;
  --muted: #9C97B0; --line: #2E2A3B; --track: #8C74F0; --track-deep: #2A1C72;
  --track-tint: #231D3A; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35);
  --mark: rgba(228,251,91,.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--chalk); color: var(--ink);
  font-family: var(--f-body); font-size: 18px; line-height: 1.7;
  font-optical-sizing: auto; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--track); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bib); color: var(--bib-ink); padding: 8px 14px; z-index: 100; font-family: var(--f-mono); }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: .98; letter-spacing: .005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 104px); text-transform: uppercase; font-weight: 900; }
h2 { font-size: clamp(34px, 4.6vw, 60px); text-transform: uppercase; }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
p { margin: 0 0 1.15em; }
.eyebrow {
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--track); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; border-radius: 2px; }
.lede { font-size: clamp(19px, 1.7vw, 22px); color: var(--ink-soft); line-height: 1.6; }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; }
mark, .hl { background: linear-gradient(transparent 55%, var(--mark) 55%); color: inherit; padding: 0 2px; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--chalk) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 44px; height: 28px; flex: none; }
.logo span { font-family: var(--f-display); font-weight: 900; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; line-height: .9; }
.logo small { display: block; font-family: var(--f-mono); font-size: 10px; font-weight: 400; letter-spacing: .14em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--f-display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:hover { background: var(--track-tint); color: var(--track); }
.nav a[aria-current="page"] { background: var(--ink); color: var(--chalk); }
.theme-btn, .menu-btn {
  border: 1px solid var(--line); background: var(--paper); color: var(--ink); width: 42px; height: 42px;
  border-radius: 999px; display: grid; place-items: center; cursor: pointer; margin-left: 6px;
}
.theme-btn svg, .menu-btn svg { width: 20px; height: 20px; }
.menu-btn { display: none; }
@media (max-width: 920px) {
  .menu-btn { display: grid; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--chalk); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 24px;
    transform: translateY(-120%); transition: transform .3s ease; z-index: -1;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 28px; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { background: none; color: var(--track); }
  .nav .theme-btn { margin: 16px 0 0; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800;
  font-size: 20px; text-transform: uppercase; letter-spacing: .04em; text-decoration: none;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: var(--chalk);
  cursor: pointer; transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.bib { background: var(--bib); border-color: var(--bib); color: var(--bib-ink); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn svg { width: 18px; height: 18px; }

/* ---------- track surface (signature) ---------- */
.track {
  --lane-gap: 0px;
  background-color: var(--track);
  background-image: repeating-linear-gradient(180deg, transparent 0 calc(100% - 2px), rgba(255,255,255,.85) calc(100% - 2px) 100%);
  color: #fff; position: relative;
}
.track-lanes { list-style: none; margin: 0; padding: 0; border-top: 2px solid rgba(255,255,255,.85); }
.lane {
  display: grid; grid-template-columns: 90px 1.1fr 1.6fr 56px; align-items: center; gap: 28px;
  border-bottom: 2px solid rgba(255,255,255,.85); padding: 30px 0; text-decoration: none; color: #fff;
  position: relative; transition: background .25s;
}
.lane:hover { background: rgba(255,255,255,.06); }
.lane-no {
  font-family: var(--f-display); font-weight: 900; font-size: 84px; line-height: .8; color: transparent;
  -webkit-text-stroke: 2px #fff; text-align: center;
}
.lane:hover .lane-no { color: var(--bib); -webkit-text-stroke-color: var(--bib); }
.lane h3 { font-size: clamp(34px, 4vw, 56px); text-transform: uppercase; margin: 0; }
.lane p { margin: 0; color: rgba(255,255,255,.86); font-size: 17px; }
.lane .lane-read { display: block; margin-top: 10px; font-family: var(--f-mono); font-size: 13px; color: var(--bib); letter-spacing: .03em; }
.lane .arrow { width: 56px; height: 56px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; transition: background .2s, transform .2s; }
.lane:hover .arrow { background: var(--bib); border-color: var(--bib); color: var(--bib-ink); transform: translateX(6px); }
.lane .arrow svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .lane { grid-template-columns: 56px 1fr; gap: 6px 16px; padding: 22px 0; }
  .lane-no { font-size: 54px; grid-row: span 2; }
  .lane .arrow { display: none; }
}

/* lap counter: reading progress drawn as a 400 m lap */
.lap {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 128px; padding: 10px 12px 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(12px); transition: opacity .3s, transform .3s; pointer-events: none;
}
.lap.show { opacity: 1; transform: none; }
.lap svg { width: 100%; height: auto; display: block; }
.lap .lap-bg { fill: none; stroke: var(--track); stroke-width: 9; opacity: .9; }
.lap .lap-line { fill: none; stroke: #fff; stroke-width: 1; opacity: .9; }
.lap .lap-run { fill: none; stroke: var(--bib); stroke-width: 5; stroke-linecap: round; }
.lap .lap-label { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-top: 4px; }
.lap .lap-label b { color: var(--ink); font-weight: 500; }
@media (max-width: 600px) { .lap { width: 104px; right: 10px; bottom: 10px; } }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 60% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(36,20,110,.92) 0%, rgba(53,35,140,.72) 38%, rgba(22,19,31,.15) 75%), linear-gradient(0deg, rgba(22,19,31,.55), transparent 50%);
}
.hero .wrap { width: 100%; padding-top: 120px; padding-bottom: 64px; display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: end; }
.hero h1 { margin: 0 0 22px; max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--bib); }
.hero .lede { color: rgba(255,255,255,.9); max-width: 34em; }
.hero .eyebrow { color: var(--bib); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn.ghost { color: #fff; }
.start-card {
  background: rgba(255,255,255,.97); color: #16131F; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  box-shadow: 0 20px 60px rgba(0,0,0,.35); display: block; transition: transform .25s;
}
.start-card:hover { transform: translateY(-4px) rotate(-.4deg); }
.start-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.start-card div { padding: 20px 22px 24px; }
.start-card .tag { background: var(--bib); color: var(--bib-ink); }
.start-card h3 { font-size: 30px; margin: 10px 0 8px; }
.start-card p { font-size: 16px; color: #3E3A4C; margin: 0; line-height: 1.55; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .start-card { max-width: 460px; } }

/* ---------- strips & sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.section.paper { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { max-width: 44ch; margin: 0; color: var(--ink-soft); }
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.stat-strip div { padding: 22px 20px; border-right: 1px solid var(--line); }
.stat-strip div:last-child { border-right: 0; }
.stat-strip b { display: block; font-family: var(--f-display); font-weight: 900; font-size: 46px; line-height: 1; }
.stat-strip span { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .stat-strip { grid-template-columns: 1fr 1fr; } .stat-strip div:nth-child(2) { border-right: 0; } .stat-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

.tag {
  display: inline-block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: var(--track-tint); color: var(--track); text-decoration: none;
}

/* cards */
.grid { display: grid; gap: 28px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c2, .grid.c3, .grid.c4 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ph { aspect-ratio: 4/3; overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .ph img { transform: scale(1.05); }
.card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 28px; }
.card p { margin: 0; font-size: 16px; color: var(--ink-soft); line-height: 1.55; }
.card .meta { margin-top: auto; padding-top: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); display: flex; gap: 14px; }

/* feature split */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--paper); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.feature .ph img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.feature .txt { padding: clamp(28px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.feature h2 { font-size: clamp(36px, 4vw, 56px); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature .ph img { min-height: 260px; } }

/* tips: "pace notes" */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.tip { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.tip:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.tip h3 { font-size: 26px; display: flex; gap: 12px; align-items: baseline; }
.tip h3::before { content: ""; width: 12px; height: 12px; background: var(--bib); border: 2px solid var(--ink); border-radius: 50%; flex: none; transform: translateY(-2px); }
.tip p { font-size: 16.5px; color: var(--ink-soft); margin: 0; }
@media (max-width: 900px) {
  .tips { grid-template-columns: 1fr; }
  .tip, .tip:not(:nth-child(3n+1)) { padding: 24px 0; border-left: 0; }
}

/* mosaic */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.mosaic figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(22,19,31,.78); color: #fff; font-family: var(--f-mono); font-size: 12px; padding: 5px 10px; border-radius: 999px; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; } .mosaic figure:first-child { grid-column: span 2; grid-row: auto; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.principles { list-style: none; margin: 0; padding: 0; }
.principles li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 170px 1fr; gap: 20px; }
.principles li:first-child { border-top: 2px solid var(--ink); }
.principles b { font-family: var(--f-display); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1.1; }
.principles span { color: var(--ink-soft); font-size: 17px; }
@media (max-width: 600px) { .principles li { grid-template-columns: 1fr; gap: 4px; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px solid var(--ink); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 34px; color: var(--track); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin: 0 0 22px; max-width: 70ch; }

/* newsletter */
.signup { background: var(--ink); color: var(--chalk); border-radius: 24px; padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.signup::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border: 34px solid var(--track); border-radius: 50%; opacity: .55; }
.signup h2 { margin-bottom: 12px; color: #fff; }
.signup p { color: rgba(255,255,255,.75); margin: 0; }
.signup form { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.signup input { font: inherit; font-size: 17px; padding: 15px 20px; border-radius: 999px; border: 2px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; }
.signup input::placeholder { color: rgba(255,255,255,.55); }
.signup .note { font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,.55); }
.form-msg { font-family: var(--f-mono); font-size: 13px; min-height: 1.2em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .signup { background: #0A0810; border: 1px solid var(--line); } }
:root[data-theme="dark"] .signup { background: #0A0810; border: 1px solid var(--line); }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } }

/* ---------- page hero (category / static pages) ---------- */
.page-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36,20,110,.9), rgba(53,35,140,.55) 60%, rgba(22,19,31,.25)); }
.page-hero .wrap { padding-top: clamp(90px, 14vw, 170px); padding-bottom: clamp(48px, 7vw, 84px); }
.page-hero h1 { margin: 0 0 18px; max-width: 14ch; }
.page-hero .lede { color: rgba(255,255,255,.9); max-width: 40em; margin: 0; }
.page-hero .eyebrow { color: var(--bib); }
.crumbs { font-family: var(--f-mono); font-size: 13px; margin-bottom: 22px; color: rgba(255,255,255,.8); }
.crumbs a { text-decoration: none; color: inherit; border-bottom: 1px solid rgba(255,255,255,.4); }
.crumbs span { margin: 0 8px; opacity: .6; }

/* lane bar under category hero */
.lane-bar { background: var(--track); color: #fff; }
.lane-bar .wrap { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
.lane-bar a { flex: 1; min-width: 150px; padding: 14px 16px; text-decoration: none; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 19px; border-left: 2px solid rgba(255,255,255,.8); display: flex; gap: 10px; align-items: baseline; white-space: nowrap; }
.lane-bar a:last-child { border-right: 2px solid rgba(255,255,255,.8); }
.lane-bar a small { font-family: var(--f-mono); font-size: 12px; opacity: .75; }
.lane-bar a[aria-current="page"] { background: var(--bib); color: var(--bib-ink); }
.lane-bar a:hover:not([aria-current]) { background: rgba(255,255,255,.1); }

.prose { max-width: var(--read); }
.prose h2 { font-size: clamp(32px, 3.6vw, 46px); margin-top: 1.4em; }
.prose h3 { margin-top: 1.5em; font-size: clamp(25px, 2.5vw, 31px); }
.prose a { color: var(--track); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--track); font-weight: 700; }
.prose strong { font-weight: 650; }

.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.concept { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 6px solid var(--track); }
.concept h3 { font-size: 26px; margin-bottom: 10px; }
.concept p { font-size: 16px; color: var(--ink-soft); margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .concepts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .concepts { grid-template-columns: 1fr; } }

.upnext { list-style: none; padding: 0; margin: 0; }
.upnext li { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.upnext li:first-child { border-top: 2px solid var(--ink); }
.upnext .tag { flex: none; background: transparent; border: 1px dashed var(--muted); color: var(--muted); }

.big-card { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; transition: box-shadow .25s, transform .25s; }
.big-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.big-card .ph img { width: 100%; height: 100%; object-fit: cover; min-height: 380px; }
.big-card .txt { padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.big-card h3 { font-size: clamp(34px, 3.6vw, 50px); text-transform: uppercase; margin: 0; }
.big-card p { margin: 0; color: var(--ink-soft); }
.big-card .meta { font-family: var(--f-mono); font-size: 13px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.big-card .go { font-family: var(--f-display); font-weight: 800; font-size: 21px; text-transform: uppercase; color: var(--track); }
@media (max-width: 860px) { .big-card { grid-template-columns: 1fr; } .big-card .ph img { min-height: 240px; } }

/* ---------- article ---------- */
.post-hero { position: relative; color: #fff; isolation: isolate; min-height: min(80vh, 720px); display: grid; align-items: end; overflow: hidden; }
.post-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.post-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(22,12,70,.94) 0%, rgba(36,20,110,.55) 45%, rgba(22,19,31,.1) 80%); }
.post-hero .wrap { padding-top: 140px; padding-bottom: 56px; width: 100%; }
.post-hero h1 { font-size: clamp(42px, 6.4vw, 92px); max-width: 15ch; margin: 0 0 20px; }
.post-hero .lede { color: rgba(255,255,255,.9); max-width: 38em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--f-mono); font-size: 13px; color: rgba(255,255,255,.85); margin-top: 22px; align-items: center; }
.post-meta .tag { background: var(--bib); color: var(--bib-ink); }
.photo-credit { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }

.post-layout { display: grid; grid-template-columns: 250px minmax(0, var(--read)) 1fr; gap: 56px; padding-top: 56px; padding-bottom: 40px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 15px; }
.toc h2 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .1em; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-soft); line-height: 1.35; }
.toc a:hover { color: var(--track); }
.toc a.active { color: var(--ink); border-left-color: var(--track); font-weight: 600; }
@media (max-width: 1100px) { .post-layout { grid-template-columns: minmax(0, var(--read)); justify-content: center; } .toc { position: static; order: -1; } .toc-wrap { display: none; } }
.toc-mobile { display: none; }
@media (max-width: 1100px) {
  .toc-mobile { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 4px 20px; margin-bottom: 36px; }
  .toc-mobile summary { cursor: pointer; padding: 14px 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
  .toc-mobile ol { padding-left: 1.2em; font-size: 16px; }
}

.article { font-size: 19px; line-height: 1.78; }
.article > p:first-of-type::first-letter {
  font-family: var(--f-display); font-weight: 900; float: left; font-size: 5.2em; line-height: .78; margin: .06em .1em 0 0; color: var(--track);
}
.article h2 { font-size: clamp(32px, 3.6vw, 46px); margin: 1.6em 0 .55em; text-transform: uppercase; }
.article h3 { font-size: clamp(24px, 2.4vw, 30px); margin: 1.5em 0 .5em; }
.article a { color: var(--track); text-underline-offset: 3px; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .55em; }
.article li::marker { color: var(--track); font-weight: 700; }
.article strong { font-weight: 650; }
.article figure { margin: 2.2em 0; }
.article figure img { border-radius: var(--radius); width: 100%; }
.article figcaption { font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

.takeaways { background: var(--bib); color: var(--bib-ink); border-radius: var(--radius); padding: 26px 30px 12px; margin: 0 0 2.4em; }
.takeaways h2 { font-family: var(--f-mono) !important; font-weight: 500; font-size: 13px !important; letter-spacing: .1em; margin: 0 0 12px !important; text-transform: uppercase; }
.takeaways ul { padding-left: 1.1em; margin: 0 0 12px; font-size: 17.5px; line-height: 1.6; }
.takeaways li::marker { color: var(--bib-ink) !important; }

.pull { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 6px solid var(--track); font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 3vw, 38px); line-height: 1.08; text-transform: uppercase; }
.callout { background: var(--track-tint); border-radius: var(--radius); padding: 22px 26px; margin: 2em 0; font-size: 17px; line-height: 1.65; }
.callout b:first-child { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--track); margin-bottom: 6px; font-weight: 500; }
.callout.warn { background: color-mix(in srgb, var(--warn) 12%, var(--paper)); }
.callout.warn b:first-child { color: var(--warn); }
.callout p:last-child { margin: 0; }

.table-wrap { overflow-x: auto; margin: 2em 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.article table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; min-width: 520px; }
.article th { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-align: left; background: var(--ink); color: var(--chalk); padding: 12px 14px; }
.article td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.article tr:nth-child(even) td { background: color-mix(in srgb, var(--track-tint) 50%, transparent); }

.sources { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.sources li { margin-bottom: .8em; }

.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); margin: 3em 0 1em; }
.author-box .av { width: 72px; height: 72px; border-radius: 50%; background: var(--track); display: grid; place-items: center; }
.author-box .av svg { width: 42px; }
.author-box h3 { margin: 0 0 4px; font-size: 24px; }
.author-box p { margin: 0; font-size: 16px; color: var(--ink-soft); line-height: 1.55; }

.share { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 2em 0; font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.share a, .share button { font: inherit; color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: var(--paper); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--track); color: var(--track); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: rgba(255,255,255,.78); margin-top: 0; padding: 72px 0 30px; font-size: 16px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-foot { background: #0A0810; } }
:root[data-theme="dark"] .site-foot { background: #0A0810; }
.site-foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-foot h4 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bib); margin-bottom: 16px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: 9px; }
.site-foot a { text-decoration: none; color: #fff; }
.site-foot a:hover { color: var(--bib); }
.site-foot .logo span { color: #fff; }
.site-foot .logo small { color: rgba(255,255,255,.5); }
.foot-word { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(54px, 13vw, 190px); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); margin: 60px 0 26px; white-space: nowrap; overflow: hidden; }
.foot-base { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12.5px; color: rgba(255,255,255,.55); }
@media (max-width: 860px) { .site-foot .cols { grid-template-columns: 1fr 1fr; } .site-foot .cols > div:first-child { grid-column: span 2; } }

/* contact form */
.form { display: grid; gap: 16px; }
.form label { font-family: var(--f-mono); font-size: 13px; letter-spacing: .04em; display: grid; gap: 6px; color: var(--ink-soft); }
.form input, .form textarea, .form select { font: inherit; font-size: 17px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--track); outline: none; box-shadow: 0 0 0 3px var(--track-tint); }
.form textarea { min-height: 170px; resize: vertical; }
.hp { position: absolute; left: -5000px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.hero h1 .line { display: block; animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 .line:nth-child(2) { animation-delay: .1s; }
.hero h1 .line:nth-child(3) { animation-delay: .2s; }
@keyframes rise { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- ad spaces ----------
   Space is reserved (min-height) so ads don't shift the page when they load.
   Until an AdSense client is configured, slots carry .ad-empty and stay hidden;
   add ?adpreview to a URL to outline every slot. */
.ad { margin: 36px auto; text-align: center; position: relative; max-width: 100%; }
.ad-label { display: block; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.ad-leader { min-height: 120px; max-width: 970px; }
.ad-rect { min-height: 300px; }
.ad-side { min-height: 620px; margin: 0; }
.ad-band { padding: 8px 0; }
.ad-band .ad { margin: 18px auto; }
.ad-band.paper { background: var(--paper); }
.ad-empty, .ad-band:has(.ad-empty) { display: none; }
.ad-ph { display: grid; place-items: center; height: calc(100% - 22px); min-height: inherit; border: 2px dashed var(--track); border-radius: 12px; background: var(--track-tint); color: var(--track); font-family: var(--f-mono); font-size: 13px; padding: 12px; }
.ad-leader .ad-ph { min-height: 90px; }
.ad-rect .ad-ph { min-height: 280px; }
.ad-side .ad-ph { min-height: 600px; }
html.ad-preview .ad-empty { display: block; }
html.ad-preview .ad-band:has(.ad-empty) { display: block; }
@media (max-width: 600px) { .ad-leader { min-height: 110px; } .ad-rect { min-height: 280px; } }

.post-layout { grid-template-columns: 230px minmax(0, var(--read)) 300px; gap: 48px; }
.post-side { position: relative; }
.post-side .ad { position: sticky; top: 96px; }
@media (max-width: 1300px) { .post-layout { grid-template-columns: 210px minmax(0, var(--read)) 300px; gap: 36px; } }
@media (max-width: 1180px) { .post-side { display: none; } .post-layout { grid-template-columns: 220px minmax(0, var(--read)); } }
.post-meta a { color: inherit; }
@media (min-width: 1101px) { .article figure.wide { margin-left: -40px; margin-right: -40px; } }

/* goals */
.goals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.goal { display: grid; grid-template-columns: 1fr 48px; gap: 6px 18px; align-items: center; padding: 24px 26px; border: 1px solid var(--line); border-left: 6px solid var(--bib); border-radius: var(--radius); background: var(--paper); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.goal:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.goal-q { font-family: var(--f-display); font-weight: 800; font-size: 27px; line-height: 1.05; grid-column: 1; }
.goal-a { color: var(--ink-soft); font-size: 16px; grid-column: 1; line-height: 1.5; }
.goal-go { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--chalk); display: grid; place-items: center; }
.goal-go svg { width: 20px; }
@media (max-width: 760px) { .goals { grid-template-columns: 1fr; } }

/* myths */
.myths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.myth { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.myth p { margin: 0; padding: 18px 22px; font-size: 16.5px; line-height: 1.6; }
.myth span { display: block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.myth-q { background: var(--ink); color: var(--chalk); font-family: var(--f-display); font-weight: 800; font-size: 23px !important; line-height: 1.15 !important; }
.myth-q span { color: var(--bib); font-weight: 500; }
.myth-a span { color: var(--turf); }
.myth-a a { color: var(--track); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .myth-q { background: #0A0810; } }
:root[data-theme="dark"] .myth-q { background: #0A0810; }
@media (max-width: 760px) { .myths { grid-template-columns: 1fr; } }

/* glossary */
.glossary { margin: 0; display: grid; gap: 0; }
.glossary div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.glossary div:first-child { border-top: 2px solid var(--ink); }
.glossary dt { font-family: var(--f-display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.glossary dd { margin: 4px 0 0; color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; }
.prose figure { margin: 1.8em 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-family: var(--f-mono); font-size: 13px; color: var(--muted); margin-top: 8px; }
