/* Parkinson's Cure Journey: shared tokens and components for public pages.
   Direction C "Every attempt counts" (directions/README.md, chosen 8 Nov 2026), built on identity A2 "Newsreader":
   warm paper, aubergine, Newsreader headings, Atkinson Hyperlegible Next body, one amber accent that means "news soon".
   No logo yet. Every text colour is 7:1 or more on --bg in both modes; dots and rules are 3:1 or more. */

/* Fonts are served from this site (assets/fonts/), not from Google: Atkinson Hyperlegible Next and Newsreader, both SIL OFL 1.1. */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(fonts/AtkinsonHyperlegibleNext-normal-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: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(fonts/AtkinsonHyperlegibleNext-normal-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: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(fonts/AtkinsonHyperlegibleNext-normal-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: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(fonts/AtkinsonHyperlegibleNext-normal-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: italic;
  font-weight: 500;
  font-display: optional;
  src: url(fonts/Newsreader-italic-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: italic;
  font-weight: 500;
  font-display: optional;
  src: url(fonts/Newsreader-italic-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: 500;
  font-display: optional;
  src: url(fonts/Newsreader-normal-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: 500;
  font-display: optional;
  src: url(fonts/Newsreader-normal-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: 600;
  font-display: optional;
  src: url(fonts/Newsreader-normal-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: 600;
  font-display: optional;
  src: url(fonts/Newsreader-normal-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;
}
/* Production self-hosts these two fonts (Latin subset); the mockups load them from Google Fonts for convenience. */

:root {
  color-scheme: light;
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --surface-2: #F3EFF6;   /* "paper": the What it would mean box, quiet panels */
  --ink: #1A1220;
  --ink-2: #564C5C;
  --link: #4A1F5C;
  --on-link: #FFFFFF;
  --line: #E2DCE6;
  --line-strong: #857B8C;
  --brand: #4A1F5C;     /* aubergine: wordmark, headings, "moved us forward" dots, footer */
  --accent: #8B6BB0;    /* lavender: rules and accents only, never text */
  --tint: #F1EAF5;
  --amber: #E39A2C;     /* "waiting for results": dots only, never text. Its edge brings it to 5:1 on --bg */
  --amber-edge: #9A5B00;
  --grey: #857B8C;      /* dead ends and overtaken ideas */
  --footer-bg: #4A1F5C; --footer-ink: #FBFAF7; --footer-ink-2: #E4D9EC;

  /* status: ink + tint; never used for anything else */
  --dnw: #8E2A1C;    --dnw-t: #F8E5E0;
  --mixed: #6A4C00;  --mixed-t: #F6EDD0;
  --passed: #1D5E43; --passed-t: #DDEFE5;
  --due: #1B4B8A;    --due-t: #E2EAF6;
  --repl: #4A4740;   --repl-t: #ECEAE5;

  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Newsreader", Georgia, "Times New Roman", serif;

  --fs-xs: 1.125rem;
  --fs-body: 1.25rem;
  --fs-lead: 1.4375rem;
  --fs-h3: 1.5rem;
  --fs-h2: 1.875rem;
  --fs-h1: clamp(2.125rem, 5vw, 2.75rem);
  --fs-num: 2.25rem;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --tap: 48px;
  --tap-gap: 12px;
  --radius: 10px;
  --radius-btn: 8px;
  --measure: 66ch;
  --page: 72rem;
  --gutter: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #17111D; --surface: #211929; --surface-2: #2A2032;
    --ink: #F1ECF4; --ink-2: #C9BFD0; --link: #C8B0E8; --on-link: #17111D;
    --line: #3A3042; --line-strong: #8C7F96; --brand: #E6D9F3; --accent: #A98BCB; --tint: #2A2032;
    --amber: #E8A84A; --amber-edge: #E8A84A; --grey: #9A90A2; --footer-bg: #2A1636; --footer-ink: #F1ECF4; --footer-ink-2: #D9CCE3;
    --dnw: #F3A595; --dnw-t: #3B2420;
    --mixed: #E9C772; --mixed-t: #352D16;
    --passed: #93D5B3; --passed-t: #183428;
    --due: #9DC4F5; --due-t: #1A2B42;
    --repl: #CFCAC1; --repl-t: #2B2D31;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #17111D; --surface: #211929; --surface-2: #2A2032;
  --ink: #F1ECF4; --ink-2: #C9BFD0; --link: #C8B0E8; --on-link: #17111D;
  --line: #3A3042; --line-strong: #8C7F96; --brand: #E6D9F3; --accent: #A98BCB; --tint: #2A2032;
    --amber: #E8A84A; --amber-edge: #E8A84A; --grey: #9A90A2; --footer-bg: #2A1636; --footer-ink: #F1ECF4; --footer-ink-2: #D9CCE3;
  --dnw: #F3A595; --dnw-t: #3B2420;
  --mixed: #E9C772; --mixed-t: #352D16;
  --passed: #93D5B3; --passed-t: #183428;
  --due: #9DC4F5; --due-t: #1A2B42;
  --repl: #CFCAC1; --repl-t: #2B2D31;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.6;
  font-variant-numeric: lining-nums;
}
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; color: var(--brand); text-wrap: balance; }
h1 { font-weight: 500; letter-spacing: -0.015em; }
h1 { font-size: var(--fs-h1); line-height: 1.15; margin: 0 0 var(--s-4); }
h2 { font-size: var(--fs-h2); line-height: 1.25; margin: var(--s-7) 0 var(--s-4); scroll-margin-top: var(--s-5); }
h3 { font-size: var(--fs-h3); line-height: 1.3; margin: var(--s-6) 0 var(--s-3); }
p, ul, ol, dl { margin: 0 0 1em; }
p, li { max-width: var(--measure); }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: var(--s-2); }
strong, b { font-weight: 700; }
a { color: var(--link); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; box-shadow: 0 0 0 3px var(--bg); border-radius: 4px; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.22em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: var(--fs-xs); color: var(--ink-2); }
.lead { font-size: var(--fs-lead); line-height: 1.5; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  a, button, .card { transition: background-color .15s, border-color .15s, text-decoration-thickness .15s; }
}

.skip { position: absolute; left: var(--gutter); top: -100px; background: var(--link); color: var(--on-link); padding: var(--s-3) var(--s-4); z-index: 10; border-radius: var(--radius-btn); }
.skip:focus { top: var(--s-3); }

.wrap { max-width: var(--page); margin: 0 auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
main { padding-block: var(--s-5) var(--s-8); }

/* ---------- header and nav ---------- */
/* Header: a single quiet rule (direction C). */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-3); min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); min-height: var(--tap); color: var(--brand); text-decoration: none; }
/* Wordmark: "Parkinson's" roman, "Cure Journey" italic. A logo, when designed, sits before it in .brand. */
.wordmark { font-family: var(--font-head); font-weight: 500; font-size: 1.625rem; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.wordmark i { font-weight: 500; color: var(--brand); }
.menu-btn { display: inline-flex; align-items: center; gap: var(--s-2); min-height: var(--tap); padding: 0 var(--s-4); font: inherit; font-size: var(--fs-xs); font-weight: 700; color: var(--ink); background: var(--bg); border: 2px solid var(--ink); border-radius: 24px; cursor: pointer; }
.site-nav { width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.site-nav li { margin: 0; max-width: none; }
.site-nav a { display: flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-3); color: var(--ink); text-decoration: none; font-size: var(--fs-xs); border-radius: var(--radius-btn); }
.site-nav a:hover { background: var(--surface-2); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.site-nav .research a { color: var(--ink-2); font-weight: 400; }
.site-nav[hidden] { display: none; }
@media (min-width: 760px) {
  .menu-btn { display: none; }
  .site-nav, .site-nav[hidden] { display: block; width: auto; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-2); align-items: center; }
  .site-nav .research { margin-left: var(--s-3); padding-left: var(--s-3); border-left: 1px solid var(--line-strong); }
}

/* ---------- breadcrumb, checked line ---------- */
.crumbs { font-size: var(--fs-xs); margin-bottom: var(--s-2); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-2); }
.crumbs li { margin: 0; display: flex; align-items: center; gap: var(--s-2); }
.crumbs li + li::before { content: "›"; color: var(--ink-2); }
.crumbs a { display: inline-flex; align-items: center; min-height: var(--tap); }
.checked { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-xs); color: var(--ink-2); margin: 0 0 var(--s-5); }

/* ---------- status badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-weight: 700; font-size: 1.1875rem; line-height: 1.2; color: var(--ink); }
/* The status colours of identity A2 gave way to the five dots of direction C; the words carry the meaning. */
.st-dnw, .st-mixed, .st-passed, .st-due, .st-repl { color: var(--ink); }

/* ---------- stage bar (the one status scale) ---------- */
.stage { margin: 0; }
.stage-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; height: 18px; margin-bottom: var(--s-2); }
.stage-bar span { border: 2px solid var(--ink); border-radius: 4px; }
.stage-bar span.on { background: var(--ink); }
.stage-label { font-weight: 700; }
.stage-legend { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); font-size: var(--fs-xs); color: var(--ink-2); }
.stage-legend li { margin: 0; }
.stage-legend b { color: var(--ink); }
.not-yet { display: flex; align-items: center; gap: var(--s-2); font-weight: 700; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: var(--tap); padding: 10px var(--s-5); font: inherit; font-weight: 700; text-decoration: none; border-radius: var(--radius-btn); cursor: pointer; }
.btn-primary { background: var(--link); color: var(--on-link); border: 2px solid var(--link); }
.btn-primary:hover { text-decoration: underline; }
.btn-secondary { background: var(--surface); color: var(--link); border: 2px solid var(--link); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--tap-gap); margin: var(--s-5) 0; }

/* ---------- panels ---------- */
.panel { background: var(--surface-2); border-radius: var(--radius); padding: var(--s-5); margin: var(--s-5) 0; }
.panel > :last-child { margin-bottom: 0; }
.panel h2, .panel h3 { margin-top: 0; }
.panel-title { display: flex; align-items: center; gap: var(--s-2); font-family: var(--font-body); font-size: var(--fs-body); font-weight: 700; margin: 0 0 var(--s-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding-block: 56px; font-size: var(--fs-xs); }
.site-footer a { color: var(--footer-ink); }
.site-footer :focus-visible { outline-color: var(--footer-ink); box-shadow: none; }
.site-footer .advice { font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 1.75rem); line-height: 1.3; color: var(--footer-ink); max-width: 760px; }
.site-footer ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.site-footer li { margin: 0; }
.site-footer a { display: inline-flex; align-items: center; min-height: var(--tap); }
.site-footer .meta { color: var(--footer-ink-2); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: var(--fs-xs); }
caption { text-align: left; padding: var(--s-4) var(--s-4) 0; font-weight: 700; font-size: var(--fs-body); }
th, td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-4); border-top: 1px solid var(--line); }
thead th { border-top: 0; color: var(--ink-2); font-weight: 700; }
td.num { font-variant-numeric: tabular-nums; }

/* ---------- print ---------- */
@media print {
  .site-header nav, .menu-btn, .jump, .video-frame, .btn-row, .back-top, .subnav, .search-form, .az, table.sortable th button::after { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10pt; }
}

/* ---------- approach pages (from mockups/approach-clear-the-protein.html) ---------- */
.page { max-width: 52rem; }
.question { font-size: var(--fs-lead); color: var(--ink-2); margin: calc(-1 * var(--s-2)) 0 var(--s-5); max-width: 40ch; }

/* summary box */
.summary { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--brand); border-radius: var(--radius); padding: var(--s-5); margin: 0 0 var(--s-5); }
.summary h2 { margin: 0 0 var(--s-4); font-size: var(--fs-h3); }
.summary dl { margin: 0 0 var(--s-4); display: grid; gap: var(--s-3); }
.summary dl > div { display: grid; grid-template-columns: 1fr; gap: var(--s-1); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .summary dl > div { grid-template-columns: 13rem 1fr; gap: var(--s-4); align-items: center; } }
.summary dt { font-weight: 700; color: var(--ink-2); font-size: var(--fs-xs); }
.summary dd { margin: 0; }
.summary .stage-bar { max-width: 16rem; }
.summary .verdict { font-size: var(--fs-lead); margin: 0; }
.summary .asof { color: var(--ink-2); font-size: var(--fs-xs); white-space: nowrap; }

/* jump list */
.jump { margin-block: 0 var(--s-6); }
.jump h2 { font-family: var(--font-body); font-size: var(--fs-body); margin: 0 0 var(--s-2); }
.jump ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: var(--s-2) var(--tap-gap); }
@media (min-width: 480px) { .jump ol { grid-template-columns: 1fr 1fr; } }
.jump li { margin: 0; }
.jump a { display: flex; align-items: center; min-height: var(--tap); padding: var(--s-2) var(--s-3); border: 1px solid var(--line); border-radius: var(--radius-btn); background: var(--surface); text-decoration: none; font-weight: 700; }
.jump a:hover { border-color: var(--link); text-decoration: underline; }
.back-top { display: inline-flex; align-items: center; min-height: var(--tap); font-size: var(--fs-xs); }

/* video */
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #2E1A3B; margin: 0 0 var(--s-3); }
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #2E1A3B; color: #FFFFFF; font: inherit; display: grid; place-items: center; text-align: center; }
.video-poster .ph { position: absolute; top: var(--s-3); left: var(--s-3); right: var(--s-3); font-size: var(--fs-xs); background: rgba(0,0,0,.55); border-radius: var(--radius-btn); padding: var(--s-1) var(--s-3); }
.video-poster .play { display: grid; justify-items: center; gap: var(--s-2); font-weight: 700; }
.video-poster .disc { width: 72px; height: 72px; border-radius: 50%; background: #FFFFFF; display: grid; place-items: center; }
.video-poster .disc svg { width: 30px; height: 30px; margin-left: 5px; fill: #2E1A3B; }
.video-poster:focus-visible { outline: 4px solid #FFFFFF; outline-offset: -8px; box-shadow: none; }
.video-poster:hover .disc { outline: 3px solid #FFFFFF; outline-offset: 4px; }
.video-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin: 0 0 var(--s-3); }
.toggle { display: inline-flex; align-items: center; gap: var(--s-3); min-height: var(--tap); padding: 0 var(--s-4); font: inherit; font-weight: 700; color: var(--ink); background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--radius-btn); cursor: pointer; }
.toggle .sw { width: 44px; height: 26px; border-radius: 13px; border: 2px solid var(--ink); position: relative; flex: none; }
.toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
.toggle[aria-pressed="true"] .sw { background: var(--ink); }
.toggle[aria-pressed="true"] .sw::after { left: 21px; background: var(--surface); }
.video-notes { background: var(--surface-2); border-radius: var(--radius); padding: var(--s-5); }
.video-notes h3 { font-family: var(--font-body); font-size: var(--fs-body); margin: var(--s-4) 0 var(--s-2); }
.video-notes h3:first-of-type { margin-top: var(--s-3); }
.video-notes ul { margin-bottom: var(--s-3); }

/* trial chart */
.chart { margin: var(--s-5) 0; }
.chart h3 { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-6) 0 0; }
.axis, .trial { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-2); }
@media (min-width: 760px) { .axis, .trial { grid-template-columns: minmax(0, 1fr) 18rem; gap: var(--s-5); } }
.axis { background: var(--bg); padding: var(--s-2) 0; border-bottom: 2px solid var(--ink); font-size: var(--fs-xs); color: var(--ink-2); }
.axis .lab { display: none; }
@media (min-width: 760px) { .axis .lab { display: block; } .axis { position: sticky; top: 0; z-index: 1; } }
.ticks { position: relative; height: 3.2em; }
.ticks .now { top: 1.6em; transform: translateX(-0.35em) !important; }
.ticks span { position: absolute; transform: translateX(-50%); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticks span:first-child { transform: none; }

.ticks .now { color: var(--ink); font-weight: 700; }
.trials { list-style: none; padding: 0; margin: 0; }
.trial { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); margin: 0; max-width: none; }
.t-name { font-family: var(--font-body); font-size: var(--fs-body); font-weight: 700; margin: 0 0 var(--s-2); }
.t-name span { font-weight: 400; color: var(--ink-2); }
.t-status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin: 0 0 var(--s-2); }
.t-meta { font-size: var(--fs-xs); color: var(--ink-2); }
.t-plain { margin: 0 0 var(--s-1); }
.t-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); margin: 0; font-size: var(--fs-xs); }
.t-links a { display: inline-flex; align-items: center; min-height: var(--tap); }
.t-track { position: relative; height: 32px; align-self: center; }
.t-track::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; border-top: 1px solid var(--line); }
.t-track::after { content: ""; position: absolute; left: var(--now); top: 0; bottom: 0; border-left: 2px dashed var(--ink-2); }
.t-bar { position: absolute; top: 9px; height: 14px; border-radius: 4px; }
.t-bar.t-dnw { background: var(--dnw); }
.t-bar.t-mixed { background: var(--mixed); }
.t-bar.t-passed { background: var(--passed); }
.t-bar.t-due { border: 2px dashed var(--due); background: var(--due-t); }
.t-end { position: absolute; top: 2px; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid currentColor; }
.t-end .icon { width: 20px; height: 20px; }
.t-end.t-dnw { color: var(--dnw); } .t-end.t-mixed { color: var(--mixed); } .t-end.t-passed { color: var(--passed); } .t-end.t-due { color: var(--due); }
.today { display: flex; align-items: center; gap: var(--s-3); margin: var(--s-5) 0 0; padding: var(--s-3) var(--s-4); background: var(--surface-2); border-radius: var(--radius-btn); font-weight: 700; }
.in-words { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); margin-top: var(--s-5); }
.in-words h3 { margin-top: 0; font-family: var(--font-body); font-size: var(--fs-body); }
.history li span { color: var(--ink-2); }

.next-list { list-style: none; padding: 0; margin: 0 0 var(--s-4); }
.next-list li { display: grid; grid-template-columns: 1fr; gap: var(--s-1); padding: var(--s-3) 0; border-top: 1px solid var(--line); margin: 0; max-width: none; }
@media (min-width: 640px) { .next-list li { grid-template-columns: 8rem 1fr; gap: var(--s-4); } }
.next-list .when { font-weight: 700; color: var(--due); display: flex; gap: var(--s-2); align-items: flex-start; }
.next-list .who { font-size: var(--fs-xs); color: var(--ink-2); display: block; }

.related { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--tap-gap); }
.related li { margin: 0; max-width: none; }
.related a { display: block; padding: var(--s-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.related a:hover { border-color: var(--link); }
.related b { display: block; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.related span { color: var(--ink-2); font-size: var(--fs-xs); display: block; margin-top: var(--s-1); }
.prevnext { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--tap-gap); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }


/* ---------- landmark pages ---------- */
.kicker { font-size: var(--fs-xs); color: var(--ink-2); font-weight: 700; margin: var(--s-2) 0 var(--s-1); }
.landmark-summary .verdict { margin: 0 0 var(--s-4); }
.record h3 { font-size: var(--fs-h3); margin-top: var(--s-6); }
.record ul ul { margin-top: var(--s-2); }
.record code { font-size: 0.9em; background: var(--surface-2); padding: 0 4px; border-radius: 4px; }
.record a, .record p { overflow-wrap: anywhere; }
.connections { list-style: none; padding: 0; }
.connections li { padding: var(--s-2) 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- home page (from mockups/index.html) ---------- */
.answer { font-size: var(--fs-lead); line-height: 1.5; max-width: 40ch; margin-bottom: var(--s-5); }
.answer strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.75rem, 4vw, 2.25rem); line-height: 1.2; margin-bottom: var(--s-3); }

.next { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); margin: var(--s-6) 0; }
.next h2 { margin: 0 0 var(--s-3); font-size: var(--fs-h3); }
.next ol { list-style: none; padding: 0; margin: 0 0 var(--s-3); }
.next li { display: grid; grid-template-columns: 7.5em 1fr; gap: var(--s-1) var(--s-4); padding: var(--s-3) 0; border-top: 1px solid var(--line); margin: 0; max-width: none; }
.next li:first-child { border-top: 0; }
.next .when { font-weight: 700; display: flex; gap: var(--s-2); align-items: flex-start; color: var(--due); }
.next .what a { font-weight: 700; }
.next .what span { display: block; font-size: var(--fs-xs); color: var(--ink-2); }
@media (max-width: 480px) { .next li { grid-template-columns: 1fr; } }

.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
.cards > li { margin: 0; max-width: none; }
.card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); }
.card:hover { border-color: var(--line-strong); }
.card:focus-within { outline: 3px solid var(--link); outline-offset: 3px; }
.card h3 { margin: 0 0 var(--s-1); font-size: 1.625rem; }
.card .q { margin: 0 0 var(--s-4); color: var(--ink-2); }
.card .stage { margin-bottom: var(--s-3); }
.card .not-yet { margin: 0 0 var(--s-4); }
.counts { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.counts li { margin: 0; padding: var(--s-3) var(--s-2) var(--s-2); border-radius: var(--radius-btn); display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.counts b { font-size: var(--fs-num); line-height: 1; font-variant-numeric: tabular-nums; }
.counts span { display: flex; gap: 6px; align-items: flex-start; font-size: var(--fs-xs); font-weight: 700; line-height: 1.25; }
.counts .icon { margin-top: 1px; }
.also { font-size: var(--fs-xs); color: var(--ink-2); margin: calc(-1 * var(--s-2)) 0 var(--s-4); }
.nextres { margin: 0 0 var(--s-3); }
.nextres b { color: var(--due); }
.verdict { margin: 0 0 var(--s-5); }
.verdict .asof { color: var(--ink-2); font-size: var(--fs-xs); white-space: nowrap; }
.card .go { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: var(--tap); padding: var(--s-2) var(--s-4); border-radius: var(--radius-btn); background: var(--surface-2); color: var(--link); font-weight: 700; text-decoration: none; }
.card .go::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card .go:focus-visible { outline: none; box-shadow: none; }
.card:hover .go { text-decoration: underline; }
.order-note { color: var(--ink-2); margin: 0 0 var(--s-3); }

/* ---------- finished trials grouped by lane (long approach pages) ---------- */
.lane-group { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin: var(--s-3) 0; }
.lane-group > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: var(--s-1) var(--s-3); align-items: center; min-height: var(--tap); padding: var(--s-3) var(--s-4); border-radius: var(--radius); }
.lane-group > summary::-webkit-details-marker { display: none; }
.lane-group > summary::after { content: "Show"; grid-column: 2; grid-row: 1; font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.lane-group[open] > summary::after { content: "Hide"; }
.lane-group > summary:hover { background: var(--surface-2); }
.lane-group > summary:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.lg-name { font-family: var(--font-head); font-weight: 600; font-size: var(--fs-h3); color: var(--brand); }
.lg-count, .lg-tally { grid-column: 1 / -1; }
.lg-count { font-size: var(--fs-xs); color: var(--ink-2); }
.lg-tally { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); font-size: var(--fs-xs); font-weight: 700; }
.lg-tally span { display: inline-flex; align-items: center; gap: 6px; }
.lane-group .trials { padding: 0 var(--s-4); border-top: 1px solid var(--line); }
.lane-group .trial:last-child { border-bottom: 0; }
@media print { .lane-group > summary::after { content: none; } }
.t-who { font-size: var(--fs-xs); color: var(--ink-2); margin: var(--s-1) 0 0; }

/* Shared lists (Coming next, What has failed): trial rows without the timeline track */
.trials.flat .trial { grid-template-columns: minmax(0, 1fr); }
.t-where { font-size: var(--fs-xs); color: var(--ink-2); margin: var(--s-1) 0 0; }

/* Glossary */
.az ol { list-style: none; padding: 0; margin: var(--s-4) 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.az li { margin: 0; }
.az a { display: inline-flex; align-items: center; justify-content: center; min-width: var(--tap); min-height: var(--tap); border: 1px solid var(--line); border-radius: var(--radius-btn); background: var(--surface); font-weight: 700; text-decoration: none; }
.az a:hover { border-color: var(--link); text-decoration: underline; }
.glossary { margin: 0; }
.g-entry { padding: var(--s-4) 0; border-bottom: 1px solid var(--line); scroll-margin-top: var(--s-5); }
.g-entry:target { background: var(--tint); box-shadow: 0 0 0 var(--s-3) var(--tint); border-radius: 2px; }
.g-entry dt { font-family: var(--font-head); font-size: var(--fs-h3); font-weight: 600; margin: 0 0 var(--s-2); }
.g-entry dd { margin: 0; }
.g-entry dd p { margin: 0 0 var(--s-2); }
.g-also, .g-more { font-size: var(--fs-xs); color: var(--ink-2); }
.g-more a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* Editorial pages */
.steps-list { flex-direction: column; font-size: var(--fs-body); color: var(--ink); gap: var(--s-2); }
mark.todo { background: #FFF1B8; color: #3D2E00; padding: 0 var(--s-1); border-radius: 3px; font-weight: 700; }
.outcome-key { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.outcome-key li { margin: 0; }

/* Research area (ia.md section 5): denser, desktop-first, same tokens */
.research { padding-bottom: var(--s-7); }
.subnav ol { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.subnav li { margin: 0; max-width: none; }
.subnav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--s-3); border: 1px solid var(--line); border-radius: var(--radius-btn); background: var(--surface); text-decoration: none; font-weight: 700; font-size: var(--fs-xs); }
.subnav a[aria-current="page"] { background: var(--brand); color: var(--bg); border-color: var(--brand); }
.subnav a:hover { border-color: var(--link); text-decoration: underline; }
.banner { background: var(--tint); border-left: 6px solid var(--accent); padding: var(--s-3) var(--s-4); border-radius: 4px; max-width: none; }
table.data td { min-width: 6rem; }
table.data td:nth-child(2) { min-width: 14rem; }
table.data td .badge { white-space: nowrap; }
table.sortable th button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: var(--s-1); min-height: var(--tap); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--link); }
table.sortable th button:focus-visible { outline: 3px solid var(--focus, var(--link)); outline-offset: 2px; }
table.sortable th[aria-sort="ascending"] button::after { content: " ▲"; }
table.sortable th[aria-sort="descending"] button::after { content: " ▼"; }
.two-col { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .two-col { grid-template-columns: 1fr 1fr; } }
.research .question { max-width: var(--measure); }

/* A to Z and search */
.search-form { margin: var(--s-5) 0; max-width: 36rem; }
.search-form label { display: block; font-weight: 700; margin-bottom: var(--s-2); }
.search-row { display: flex; gap: var(--s-2); }
.search-row input { flex: 1; min-width: 0; min-height: var(--tap); font: inherit; padding: 0 var(--s-3); border: 2px solid var(--line-strong); border-radius: var(--radius-btn); background: var(--surface); color: var(--ink); }
.search-row input:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.az-list { list-style: none; padding: 0; margin: 0; }
.az-list li { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); margin: 0; max-width: none; }
.az-list li > a { font-weight: 700; }
.az-list li > span { color: var(--ink-2); }
.az-meta { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); font-size: var(--fs-xs); color: var(--ink-2); margin-top: var(--s-1); }
.two-col > div { min-width: 0; }

/* Report an error form */
.report-form { max-width: 36rem; margin: var(--s-5) 0; }
.report-form .field { margin-bottom: var(--s-5); }
.report-form label { display: block; font-weight: 700; margin-bottom: var(--s-2); }
.report-form .optional { font-weight: 400; }
.report-form .hint { margin: 0 0 var(--s-2); color: var(--ink-2); }
.report-form input, .report-form textarea { display: block; width: 100%; box-sizing: border-box; min-height: var(--tap); font: inherit; padding: var(--s-2) var(--s-3); border: 2px solid var(--line-strong); border-radius: var(--radius-btn); background: var(--surface); color: var(--ink); }
.report-form textarea { resize: vertical; }
.report-form input:focus-visible, .report-form textarea:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.report-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- direction C: "Every attempt counts" (directions/README.md) ---------- */
/* The dot key, the same everywhere: filled aubergine = moved us forward; filled amber = waiting for results;
   aubergine ring = still open; grey ring = overtaken by better ideas; filled grey = dead end. */
.dot { display: inline-block; flex: none; width: 1em; height: 1em; font-size: 16px; border-radius: 50%; vertical-align: -0.12em; }
.d-advanced { background: var(--brand); }
.d-pending { background: var(--amber); box-shadow: inset 0 0 0 1.5px var(--amber-edge); }
.d-open { border: 3px solid var(--brand); }
.d-superseded { border: 3px solid var(--grey); }
.d-dead-end { background: var(--grey); }
.badge .dot { font-size: 18px; }
svg .d-advanced { fill: var(--brand); }
svg .d-pending { fill: var(--amber); stroke: var(--amber-edge); stroke-width: 1.5; }
svg .d-open { fill: none; stroke: var(--brand); stroke-width: 2.2; }
svg .d-superseded { fill: none; stroke: var(--grey); stroke-width: 2.2; }
svg .d-dead-end { fill: var(--grey); }

.dot-chart { display: block; width: 100%; height: auto; overflow: visible; }
.dot-chart text { font-family: var(--font-body); font-size: 18px; fill: var(--ink); }
.dot-chart .tick { fill: var(--ink-2); }
.dot-chart .note-line { stroke: var(--ink-2); stroke-width: 1; }
.dot-chart .base { stroke: var(--line); stroke-width: 1.5; }
/* The wide chart's text stays at 18px or more only when it is drawn near full size; below that, decade rows. */
.chart-wide { display: none; }
@media (min-width: 1000px) { .chart-wide { display: block; } .chart-narrow { display: none; } }
.dot-rows .decade { display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.decade-label { font-size: var(--fs-xs); color: var(--ink-2); }
.dot-rows .dots { display: flex; flex-wrap: wrap; gap: 5px; }
.dot-rows .dot { font-size: 16px; }
.dot-legend { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); font-size: var(--fs-xs); }
.dot-legend li { margin: 0; display: flex; align-items: center; gap: 10px; max-width: none; }
.dot-legend .dot { font-size: 18px; }
.dot-strip { display: flex; flex-wrap: wrap; gap: 4px; }
.dot-strip .dot { font-size: 14px; }
.meter { display: inline-flex; gap: 5px; }
.meter span { width: 28px; height: 10px; border-radius: 5px; background: var(--line); }
.meter span.on { background: var(--brand); }

main.home, main.approach { padding-top: 0; }
.eyebrow { margin: 0; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.hero { display: flex; flex-direction: column; gap: var(--s-5); padding-top: clamp(40px, 6vw, 72px); }
.hero > * { margin: 0; }
.hero h1 { font-weight: 400; font-size: clamp(2.875rem, 7.5vw, 5.5rem); line-height: 0.98; letter-spacing: -0.03em; color: var(--ink); max-width: 1000px; }
.hero h1 i { color: var(--brand); }
.approach .hero h1 { font-size: clamp(2.875rem, 7vw, 5.25rem); }
.hero .question { font-family: var(--font-head); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.3; color: var(--ink-2); max-width: none; }
.hero-lead { font-size: clamp(1.3125rem, 2vw, 1.5rem); line-height: 1.5; max-width: 780px; }
.hero-lead .asof { color: var(--ink-2); font-size: var(--fs-xs); white-space: nowrap; }
.hero .checked { margin: 0; }
.chart-figure { margin-top: var(--s-7); margin-bottom: 0; }
.chart-figure figcaption { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-5); }
.chart-figure figcaption p { margin: 0; }

.home h2, .approach h2 { font-weight: 500; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); margin: 88px 0 var(--s-4); }
.approach .jump h2 { font-family: var(--font-body); font-size: var(--fs-body); font-weight: 700; letter-spacing: 0; margin: var(--s-7) 0 var(--s-3); }
.approach h3, .home h3 { font-weight: 500; color: var(--ink); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--s-5) var(--s-8); align-items: start; margin-top: 88px; }
.split > h2, .split > div > h2:first-child { margin-top: 0; }
.prose { max-width: 680px; }
.prose > :first-child { margin-top: 0; }
.strong-link { font-weight: 700; }

/* What we'll learn next */
.home .next-list { list-style: none; padding: 0; margin: 0; }
.home .next-list li { display: flex; gap: var(--s-4); grid-template-columns: none; padding: 20px 0; border-top: 1px solid var(--line); margin: 0; max-width: none; }
.next-item > .dot { font-size: 18px; margin-top: 6px; }
.next-item p { margin: 0; }
.next-item .when { font-weight: 700; font-size: var(--fs-xs); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.next-item h3 { margin: var(--s-1) 0; font-size: 1.75rem; line-height: 1.15; }
.next-item h3 a { color: var(--ink); }

/* Six ways in */
.ways { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--s-5) var(--s-7); }
.way { margin: 0; max-width: none; }
.way article { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 0 var(--s-2); border-top: 2px solid var(--ink); height: 100%; }
.way article > * { margin: 0; }
.way h3 { font-size: 2rem; line-height: 1.1; margin: 0; }
.way h3 a { color: var(--ink); text-decoration: none; }
.way h3 a::after { content: ""; position: absolute; inset: 0; }   /* the whole card is the link */
.way article:hover h3 a { text-decoration: underline; text-decoration-thickness: 2px; }
.way article:focus-within { outline: 3px solid var(--link); outline-offset: 6px; border-radius: 2px; }
.way h3 a:focus-visible { outline: none; box-shadow: none; }
.way .q { color: var(--ink-2); }
.way-counts, .way-stage, .way-next { font-size: var(--fs-xs); }
.way-stage { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.compare { margin-top: var(--s-7); }
.compare > summary { cursor: pointer; display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 700; color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.compare[open] > summary { margin-bottom: var(--s-3); }
.find { margin-top: 88px; }
.find h2 { margin-top: 0; }

/* Approach pages */
.approach .crumbs { margin-top: var(--s-5); }
.facts dl { margin: var(--s-8) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 0 var(--s-6); }
.facts dl > div { display: flex; flex-direction: column; gap: var(--s-2); padding: 20px 0; border-top: 2px solid var(--ink); }
.facts dt { font-size: var(--fs-xs); color: var(--ink-2); }
.facts dd { margin: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.fact-next { display: flex; align-items: center; gap: 10px; }
.tried-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: var(--s-7) var(--s-8); align-items: start; margin-top: var(--s-5); }
.tried-cols > div { min-width: 0; }
.tried-cols h3 { font-size: 1.75rem; margin: 0 0 var(--s-1); }
.approach .trial { grid-template-columns: minmax(0, 1fr); padding: 20px 0; border-bottom: 0; border-top: 1px solid var(--line); }
.approach .t-name { font-family: var(--font-head); font-weight: 500; font-size: 1.5rem; line-height: 1.2; }
.approach .lane-group { border: 0; border-top: 2px solid var(--ink); border-radius: 0; background: none; margin: var(--s-4) 0 0; }
.approach .lane-group > summary { padding: var(--s-3) 0; border-radius: 0; }
.approach .lane-group > summary:hover { background: none; }
.approach .lane-group .trials { padding: 0; }
.approach .lg-name { font-weight: 500; color: var(--ink); }
.approach .in-words { border: 0; background: var(--surface-2); margin-top: var(--s-7); }
.learned ul { list-style: none; padding: 0; margin: var(--s-3) 0 0; counter-reset: lesson; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 0 var(--s-8); }
.learned li { counter-increment: lesson; position: relative; padding: var(--s-5) 0 var(--s-5) 72px; border-top: 1px solid var(--line); margin: 0; max-width: none; }
.learned li::before { content: counter(lesson); position: absolute; left: 0; top: var(--s-5); font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--brand); }
.learned li strong { display: block; font-size: 1.375rem; }
.paper { background: var(--surface-2); border-radius: 6px; padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: var(--s-6) var(--s-8); margin-top: 88px; }
.paper h2 { margin-top: 0 !important; }
.paper h3 { font-size: 1.875rem; margin: 0 0 var(--s-3); }
.paper h3 ~ h3 { margin-top: var(--s-6); }
.paper .btn-row { margin-bottom: 0; }
.btn { border-radius: 26px; min-height: 52px; }
.approach .related { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.prevnext { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--s-4) var(--s-7); margin-top: var(--s-7); padding-top: 0; border-top: 0; }
.prevnext a { display: flex; flex-direction: column; gap: var(--s-1); padding-top: 20px; border-top: 2px solid var(--ink); color: var(--ink); text-decoration: none; }
.prevnext a:hover .pn-name { text-decoration: underline; }
.pn-name { font-family: var(--font-head); font-size: 1.75rem; line-height: 1.2; }
.sources { font-size: var(--fs-xs); color: var(--ink-2); }
.sources h2 { font-family: var(--font-body) !important; font-size: var(--fs-body) !important; font-weight: 700 !important; letter-spacing: 0 !important; margin-top: var(--s-8) !important; }
.approach .video { margin-top: 88px; max-width: 52rem; }
.video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; color: #FFFFFF; font: inherit; font-weight: 700; display: grid; place-content: center; justify-items: center; gap: var(--s-2); background: #2E1A3B center / cover no-repeat; }
.play-icon { width: 72px; height: 72px; border-radius: 50%; background: #FFFFFF; position: relative; }
.play-icon::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #2E1A3B; }
.play-label { background: rgba(0, 0, 0, .7); padding: var(--s-1) var(--s-3); border-radius: var(--radius-btn); }
.video-play:focus-visible { outline: 4px solid #FFFFFF; outline-offset: -8px; box-shadow: none; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media print { .chart-wide { display: block !important; } .chart-narrow { display: none !important; } .site-footer { background: none; color: #000; } .site-footer a { color: #000; } }
