/* ============================================================
   StudySetGo base + components (v2). Requires tokens.css.
   Pages opt in with <body class="v2"> and the .masthead header.
   ============================================================ */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font-family: var(--font); font-size: var(--t-body); line-height: 1.6;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: var(--t-h2); line-height: 1.08; }
h3 { font-size: var(--t-h4); line-height: 1.25; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: var(--s-3); }
ul, ol { margin: 0; padding: 0; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; display: block; }
figure { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--on-ink-2); }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a:not(.btn) { color: #fff; }
.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 46ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 2000; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Figure and table captions: "Fig. n." / "Table n." on real figures only */
.caption { font-size: var(--t-cap); line-height: 1.45; color: var(--ink-3); max-width: 70ch; }
.caption b { color: var(--ink); font-weight: 700; }
.section--ink .caption { color: var(--on-ink-2); }
.section--ink .caption b { color: #fff; }
.caption--above { margin-bottom: var(--s-5); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 var(--t-small)/1 var(--font); letter-spacing: 0; white-space: nowrap;
  padding: 15px 24px; border-radius: var(--radius-m); text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); color: #fff; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--on-ink); color: var(--ink); }
.btn--sm { padding: 11px 18px; }
.textlink { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-decoration-thickness: 2px; }
.textlink:hover { color: var(--teal); text-decoration-color: currentColor; }
.section--ink .textlink { color: #fff; text-decoration-color: var(--rule-dark); }
.actions { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-5); }

/* ---------- Masthead: nav + campaign banner stick together ---------- */
.masthead { position: sticky; top: 0; z-index: 900; }
.nav { position: relative; z-index: 2; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: var(--s-6); }
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: flex; align-items: center; gap: var(--s-5); margin-left: auto; }
.nav__link { color: var(--ink); text-decoration: none; font-size: var(--t-small); font-weight: 500; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--teal); }
.nav__link[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.nav__link--participants { color: var(--amber-ink); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.nav__link--participants::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px var(--amber-tint); }
.nav__link--participants:hover { color: var(--ink); }
.nav__hamburger { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav__hamburger svg { display: block; }

/* Campaign banner, injected by js/banner.js into .masthead */
#ssg-banner { position: relative; background: var(--amber); display: flex; align-items: center; justify-content: center; padding: 0 48px 0 16px; min-height: 46px; }
#ssg-banner .ssg-banner__link { color: var(--ink); font-weight: 800; font-size: var(--t-small); line-height: 1.35; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: rgba(17,29,47,.35); padding: 11px 0; text-align: center; }
#ssg-banner .ssg-banner__link:hover { text-decoration-color: var(--ink); }
#ssg-banner .ssg-banner__close { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; padding: 8px 10px; }

/* ---------- Heroes ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--s-7); align-items: end; }
.hero h1 { font-size: var(--t-display); font-weight: 800; line-height: 1.0; letter-spacing: -0.035em; max-width: 15ch; }
.hero h1 span { display: block; }
.hero__aside .lead { font-size: var(--t-body); line-height: 1.6; }
.hero--page .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hero--page h1 { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -0.03em; max-width: 18ch; }
.hero__fact { margin-top: clamp(40px, 5vw, 64px); padding-top: var(--s-5); border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: baseline; }
.hero__fact strong { font-size: var(--t-h3); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.hero__fact p { font-size: var(--t-small); }

/* ---------- Section head: heading left, intro right ---------- */
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.head h2 { max-width: 18ch; }
.head p { color: var(--ink-2); max-width: 44ch; }
.section--ink .head p { color: var(--on-ink-2); }

/* ---------- Items: rule-separated grid of heading + text ---------- */
.items { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); column-gap: var(--s-7); border-top: 2px solid var(--ink); list-style: none; }
.items--3 { --cols: 3; column-gap: var(--s-6); }
.item { padding: var(--s-6) 0; border-bottom: 1px solid var(--rule); }
.item h3 { font-size: var(--t-h4); }
.items--3 .item h3 { font-size: var(--t-body); line-height: 1.35; }
.item p { margin-top: var(--s-3); font-size: var(--t-small); max-width: 46ch; }
.section--ink .items { border-top-color: var(--on-ink); }
.section--ink .item { border-bottom-color: var(--rule-dark); }

/* ---------- Rows: heading or quote left, answer right ---------- */
.rows { list-style: none; border-top: 1px solid var(--rule); }
.rows > li { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); padding: var(--s-6) 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.rows h3, .rows q { font-size: var(--t-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.rows q { quotes: "\2018" "\2019"; }
.rows q::before { content: open-quote; margin-left: -0.32em; }
.rows q::after { content: close-quote; }
.rows p { font-size: var(--t-small); }
.rows--compact h3 { font-size: var(--t-h4); font-weight: 700; }

/* ---------- Data table (light by default, dark inside .section--ink) ---------- */
.table { width: 100%; border-collapse: collapse; font-size: var(--t-small); }
.table th, .table td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table thead th { font-size: var(--t-cap); font-weight: 600; color: var(--ink-3); border-bottom: 2px solid var(--ink); padding-top: 0; vertical-align: bottom; }
.table tbody th { color: var(--ink); font-weight: 600; }
.table .is-us { color: var(--ink); font-weight: 700; }
.table thead .is-us { color: var(--ink); }
.table--compare td.is-us { background: rgba(17,124,140,.06); padding-left: 16px; }
.table--compare thead th.is-us { padding-left: 16px; }
.section--ink .table th, .section--ink .table td { border-bottom-color: var(--rule-dark); vertical-align: middle; }
.section--ink .table thead th { color: var(--on-ink-2); border-bottom-color: var(--on-ink); }
.section--ink .table thead th.is-us, .section--ink .table tbody th { color: #fff; }
.who { display: inline-flex; align-items: center; gap: 10px; }
.who::before { content: ""; width: 12px; height: 12px; border-radius: 50%; flex: none; }
.who--you { color: var(--on-ink-2); }
.who--you::before { border: 2px solid #6F8093; }
.who--us { color: #fff; font-weight: 700; }
.who--us::before { background: var(--green); }

/* ---------- Fig: interval chart, months to first results (homepage) ---------- */
.fig1 { margin: clamp(48px, 6vw, 80px) 0 0; padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.fig1__plot { --label: 230px; position: relative; padding-bottom: 36px; }
.fig1__row { display: grid; grid-template-columns: var(--label) 1fr; align-items: center; min-height: 96px; }
.fig1__name { font-weight: 700; color: var(--ink); font-size: var(--t-small); line-height: 1.3; padding-right: var(--s-4); }
.fig1__name small { display: block; font-weight: 500; color: var(--ink-3); font-size: var(--t-cap); }
.fig1__track { position: relative; height: 96px; }
.fig1__axis { position: absolute; left: var(--label); right: 0; top: 0; bottom: 0; pointer-events: none; }
.fig1__tick { position: absolute; top: 0; bottom: 28px; width: 1px; background: var(--rule); }
.fig1__tick > span { position: absolute; bottom: -26px; left: 0; transform: translateX(-50%); font-size: var(--t-cap); color: var(--ink-3); white-space: nowrap; }
.fig1__tick:first-child > span { transform: none; }
.fig1__tick:last-child > span { transform: translateX(-100%); }
.bar { position: absolute; top: 50%; height: 14px; margin-top: -7px; border-radius: 7px; transform-origin: left center; }
.bar--ssg { left: 0; width: calc(4 / 60 * 100%); background: var(--progress); }
.bar--ssg::after { content: ""; position: absolute; right: -11px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--brand-green); }
.bar--wait { left: 0; width: 30%; background: #B3BEC7; border-radius: 7px 0 0 7px; }
.bar--range { left: 30%; width: 70%; background: repeating-linear-gradient(135deg, #B3BEC7 0 6px, #D3DBE1 6px 12px); border-radius: 0; }
.bar--range::before, .bar--range::after { content: ""; position: absolute; top: -9px; width: 3px; height: 32px; background: var(--ink-3); }
.bar--range::before { left: 0; } .bar--range::after { right: 0; }
.fig1__note { position: absolute; top: 50%; transform: translateY(-50%); font-size: var(--t-cap); font-weight: 700; color: var(--ink); white-space: nowrap; }
.fig1__note--ssg { left: calc(4 / 60 * 100% + 30px); font-size: var(--t-lead); font-weight: 800; letter-spacing: -0.01em; }
.fig1__note--uni { left: calc(30% + 14px); top: 10px; font-size: var(--t-small); transform: none; color: var(--ink-3); font-weight: 600; }
.fig1 .caption { margin-top: var(--s-4); }
/* Draws when scrolled into view (js/main.js adds .anim-ready, then .is-in). Static without script or with reduced motion.
   Order: the traditional route crawls across first, then StudySetGo goes straight to its point and stops. */
.fig1.anim-ready .bar { transform: scaleX(0); }
.fig1.anim-ready .bar--ssg::after, .fig1.anim-ready .fig1__note { opacity: 0; }
.fig1.is-in .bar--wait { animation: ssg-draw 1.4s linear both; }
.fig1.is-in .bar--range { animation: ssg-draw 1.4s linear 1.4s both; }
.fig1.is-in .fig1__note--uni { animation: ssg-appear .3s ease 2.8s both; }
.fig1.is-in .bar--ssg { animation: ssg-draw .45s cubic-bezier(.2,.7,.2,1) 3.3s both; }
.fig1.is-in .bar--ssg::after, .fig1.is-in .fig1__note--ssg { animation: ssg-appear .25s ease 3.75s both; }
@keyframes ssg-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ssg-appear { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Path: stages on a progress track (set --n to stage count) ---------- */
.path { --track: 76px; --head: 54px; position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); list-style: none; }
.path--tall { --track: 100px; --head: 72px; } /* reserves two lines for stage names */
.path--tall .stage__name { font-size: var(--t-lead); min-height: 42px; display: flex; align-items: flex-end; }
.path::before { content: ""; position: absolute; left: 0; right: 0; top: var(--track); height: 4px; background: var(--progress); border-radius: 2px; }
.stage { position: relative; padding: 0 var(--s-6) 0 0; }
.stage__no, .stage__name { font-size: var(--t-h4); font-weight: 800; color: var(--ink); line-height: 1; }
.stage__name { margin-top: 6px; }
.stage > .stage__name:first-child { margin-top: 30px; } /* name-only stages keep the same header height */
.stage__time { font-size: var(--t-cap); font-weight: 600; color: var(--ink-3); line-height: 1; height: 24px; display: flex; align-items: flex-end; }
.stage__body { margin-top: calc(var(--track) + 42px - var(--head)); font-size: var(--t-small); }
.stage::before { content: ""; position: absolute; left: 0; top: calc(var(--track) - 6px); width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.path--pay .stage:not(:first-child)::before { display: none; }
.stage__pay { position: absolute; top: calc(var(--track) - 12px); left: 0; z-index: 1; background: var(--ink); color: #fff; font-size: var(--t-cap); font-weight: 500; padding: 6px 10px; border-radius: var(--radius-s); line-height: 1.1; white-space: nowrap; margin: 0; }
.stage__pay b { font-weight: 800; }

.path__foot { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); margin-top: clamp(48px, 6vw, 72px); padding-top: var(--s-5); border-top: 1px solid var(--rule); align-items: start; }
.path__foot p { font-size: var(--t-small); }
.price { font-size: var(--t-h3) !important; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.price + p { margin-top: var(--s-3); }

/* Section foot: a closing line and action under a section's main content */
.section-foot { display: flex; justify-content: space-between; gap: var(--s-6); flex-wrap: wrap; align-items: center; margin-top: var(--s-6); }
.section-foot p { font-size: var(--t-lead); max-width: 40ch; line-height: 1.45; color: var(--ink); }
.section--ink .section-foot p { color: var(--on-ink); }

/* ---------- Quotes ---------- */
.quote { padding: var(--section) 0; }
.quote blockquote { margin: 0; }
.quote blockquote p { max-width: 20ch; font-size: var(--t-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); text-indent: -0.4em; }
.quote figcaption { margin-top: var(--s-6); font-size: var(--t-small); color: var(--ink-3); }
.quote figcaption b, .quotes figcaption b { color: var(--ink); font-weight: 700; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); margin-top: clamp(48px, 6vw, 80px); padding-top: var(--s-5); border-top: 1px solid var(--rule); }
.quotes blockquote { margin: 0; }
.quotes blockquote p { max-width: 36ch; font-size: var(--t-h4); font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); text-indent: -0.4em; }
.quotes figcaption { margin-top: var(--s-3); font-size: var(--t-cap); color: var(--ink-3); }

/* ---------- Callout: a highlighted aside inside a section ---------- */
.callout { margin-top: clamp(40px, 5vw, 64px); padding: var(--s-6) 0 var(--s-6) var(--s-6); border-left: 4px solid var(--teal); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-6); align-items: center; }
.callout h3 { font-size: var(--t-h4); }
.callout p { margin-top: var(--s-2); font-size: var(--t-small); max-width: 62ch; }

/* ---------- Statements: two or three bold statements side by side ---------- */
.statements { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: var(--s-7); }
.statement h3 { font-size: var(--t-h3); line-height: 1.15; }
.statement p { margin-top: var(--s-4); max-width: 44ch; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); margin-top: clamp(48px, 6vw, 72px); padding-top: var(--s-5); border-top: 1px solid var(--rule-dark); }
.facts dt { font-size: var(--t-h4); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.facts dd { margin: 4px 0 0; font-size: var(--t-small); }

/* ---------- Ticklist: included items ---------- */
.ticklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); border-top: 2px solid var(--ink); }
.ticklist li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rule); font-size: var(--t-small); color: var(--ink); }
.ticklist li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 12px; height: 7px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }

/* ---------- Link list: further reading ---------- */
.linklist { list-style: none; border-top: 2px solid var(--ink); }
.linklist a { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 5fr); gap: var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--ink-2); align-items: baseline; }
.linklist a:hover strong { color: var(--teal); text-decoration: underline; }
.linklist small { font-size: var(--t-cap); color: var(--ink-3); font-weight: 600; }
.linklist strong { font-size: var(--t-body); color: var(--ink); }
.linklist span { font-size: var(--t-small); }

/* ---------- Recruiting register (participant channel) ---------- */
.recruit { background: var(--amber-tint); }
.recruit .head h2 { display: flex; align-items: center; gap: 16px; }
.live { width: 14px; height: 14px; border-radius: 50%; background: var(--amber); flex: none; box-shadow: 0 0 0 5px rgba(245,158,11,.25); }
.register { border-top: 2px solid var(--ink); }
.register__labels, .study { display: grid; grid-template-columns: 2.2fr 1.3fr 2.6fr 2.4fr 1.6fr; gap: var(--s-5); }
.register__labels { padding: var(--s-3) 0; border-bottom: 1px solid var(--amber-rule); font-size: var(--t-cap); font-weight: 600; color: var(--ink-3); }
.study { padding: var(--s-5) 0; border-bottom: 1px solid var(--amber-rule); font-size: var(--t-small); line-height: 1.5; align-items: start; }
.study h3 { font-size: var(--t-body); line-height: 1.3; }
.study h3 small { display: block; font-size: var(--t-cap); font-weight: 600; color: var(--amber-ink); margin-top: 4px; letter-spacing: 0; }
.study__k { display: none; }
.study a, .recruit__more a { font-weight: 700; color: var(--ink); text-decoration-color: var(--amber); text-decoration-thickness: 2px; }
.study a:hover, .recruit__more a:hover { color: var(--amber-ink); }
.recruit__more { margin-top: var(--s-5); font-size: var(--t-small); }

/* ---------- FAQ (native details) ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); }
.faq h2 { max-width: 12ch; }
.faq__list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 700; color: var(--ink); font-size: var(--t-body); line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 0 var(--s-5); font-size: var(--t-small); max-width: 62ch; }
.faq details p + p { margin-top: calc(-1 * var(--s-2)); }

/* ---------- Closing CTA ---------- */
.closing { background: var(--ink); color: var(--on-ink-2); padding: var(--section) 0; }
.closing__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: end; }
.closing h2 { color: #fff; font-size: var(--t-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; max-width: 13ch; }
.closing p { color: var(--on-ink); max-width: 40ch; }
.closing .btn { margin-top: var(--s-5); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink-2); border-top: 1px solid var(--rule-dark); padding: var(--s-8) 0 var(--s-6); font-size: var(--t-small); }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: var(--s-6); }
.footer__brand { color: var(--on-ink); }
.footer__brand img { height: 24px; width: auto; margin-bottom: var(--s-4); }
.footer__social { display: flex; gap: var(--s-4); margin-top: var(--s-5); }
.footer__social a { color: var(--on-ink-2); }
.footer__social a:hover { color: #fff; }
.footer h4 { font-size: var(--t-cap); color: var(--on-ink-2); font-weight: 600; margin-bottom: var(--s-3); letter-spacing: 0; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); margin-top: var(--s-8); padding-top: var(--s-5); border-top: 1px solid var(--rule-dark); font-size: var(--t-cap); }
.footer__legal span:first-child { margin-right: auto; }

/* ============================================================
   v2.1 (Nov 2026): people-first, shorter pages.
   See design/redesign/DESIGN-SYSTEM.md, "v2.1".
   ============================================================ */

/* Preview-only marker for content the team still owes.
   Launch check: no element with class "todo" left on any page. */
.todo { display: inline-block; font-size: var(--t-cap); font-weight: 600; line-height: 1.35; color: var(--ink); background: #fff; border: 1px dashed var(--ink-3); border-radius: var(--radius-s); padding: 6px 10px; }
.todo::before { content: "To come: "; font-weight: 800; }
.section--ink .todo, .closing .todo { background: transparent; color: #fff; border-color: var(--on-ink-2); }

/* Hero fact strip: four short facts under the hero */
.hero__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); margin: clamp(40px, 5vw, 64px) 0 0; padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.hero__facts dt { font-size: var(--t-h4); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
.hero__facts dd { margin: 6px 0 0; font-size: var(--t-small); }
.hero--page .hero__aside .lead + p { margin-top: var(--s-3); font-size: var(--t-small); }

/* Client logo strip */
.strip { padding: 0 0 var(--s-7); }
.logos { display: flex; align-items: center; gap: var(--s-4) var(--s-5); flex-wrap: wrap; padding: var(--s-5) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.logos__label { font-size: var(--t-cap); font-weight: 600; color: var(--ink-3); margin-right: auto; }
.logos img { height: 32px; width: auto; }
.logos__slot { width: 112px; height: 44px; border: 1px dashed var(--ink-3); border-radius: var(--radius-s); display: grid; place-items: center; font-size: var(--t-cap); color: var(--ink-3); }

/* Trial-type selector: radio inputs, no script. Inputs sit first, then tabs, then panels, in matching order. */
.selector { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-7); border-top: 2px solid var(--ink); padding-top: var(--s-5); }
.selector > input { position: absolute; opacity: 0; pointer-events: none; }
.selector__tabs { display: grid; align-content: start; }
.selector__group { font-size: var(--t-cap); font-weight: 600; color: var(--ink-3); padding: var(--s-5) 0 var(--s-2); }
.selector__group:first-child { padding-top: 0; }
.selector__tabs label { position: relative; display: block; padding: 14px 44px 14px 16px; border-top: 1px solid var(--rule); font-size: var(--t-body); font-weight: 600; line-height: 1.3; color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s; }
.selector__tabs label:last-child { border-bottom: 1px solid var(--rule); }
.selector__tabs label::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: .45; }
.selector__tabs label:hover { background: rgba(17,124,140,.08); }
.selector > input:nth-of-type(1):checked ~ .selector__tabs label:nth-of-type(1),
.selector > input:nth-of-type(2):checked ~ .selector__tabs label:nth-of-type(2),
.selector > input:nth-of-type(3):checked ~ .selector__tabs label:nth-of-type(3),
.selector > input:nth-of-type(4):checked ~ .selector__tabs label:nth-of-type(4),
.selector > input:nth-of-type(5):checked ~ .selector__tabs label:nth-of-type(5),
.selector > input:nth-of-type(6):checked ~ .selector__tabs label:nth-of-type(6) { background: var(--fade); color: var(--ink); border-top-color: transparent; }
.selector > input:nth-of-type(1):checked ~ .selector__tabs label:nth-of-type(1)::after,
.selector > input:nth-of-type(2):checked ~ .selector__tabs label:nth-of-type(2)::after,
.selector > input:nth-of-type(3):checked ~ .selector__tabs label:nth-of-type(3)::after,
.selector > input:nth-of-type(4):checked ~ .selector__tabs label:nth-of-type(4)::after,
.selector > input:nth-of-type(5):checked ~ .selector__tabs label:nth-of-type(5)::after,
.selector > input:nth-of-type(6):checked ~ .selector__tabs label:nth-of-type(6)::after { opacity: 1; }
.selector > input:nth-of-type(1):focus-visible ~ .selector__tabs label:nth-of-type(1),
.selector > input:nth-of-type(2):focus-visible ~ .selector__tabs label:nth-of-type(2),
.selector > input:nth-of-type(3):focus-visible ~ .selector__tabs label:nth-of-type(3),
.selector > input:nth-of-type(4):focus-visible ~ .selector__tabs label:nth-of-type(4),
.selector > input:nth-of-type(5):focus-visible ~ .selector__tabs label:nth-of-type(5),
.selector > input:nth-of-type(6):focus-visible ~ .selector__tabs label:nth-of-type(6) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.selector__panel { display: none; }
.selector > input:nth-of-type(1):checked ~ .selector__panels .selector__panel:nth-child(1),
.selector > input:nth-of-type(2):checked ~ .selector__panels .selector__panel:nth-child(2),
.selector > input:nth-of-type(3):checked ~ .selector__panels .selector__panel:nth-child(3),
.selector > input:nth-of-type(4):checked ~ .selector__panels .selector__panel:nth-child(4),
.selector > input:nth-of-type(5):checked ~ .selector__panels .selector__panel:nth-child(5),
.selector > input:nth-of-type(6):checked ~ .selector__panels .selector__panel:nth-child(6) { display: block; }
.selector__panel h3 { font-size: var(--t-h3); line-height: 1.15; max-width: 22ch; }
.selector__panel > p { margin-top: var(--s-4); max-width: 56ch; }
.selector__panel .caption { margin-top: var(--s-5); }
.selector__panel .textlink { display: inline-block; margin-top: var(--s-5); }
@media (prefers-reduced-motion: no-preference) {
  .selector__panel { animation: ssg-panel .25s ease both; }
  @keyframes ssg-panel { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}

/* Chips: short labels in place of paragraphs */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-3); }
.chips li { font-size: var(--t-cap); font-weight: 600; line-height: 1.3; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-s); padding: 6px 10px; }

/* Measures: remote and site-based, side by side */
.measures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-7); border-top: 2px solid var(--ink); padding-top: var(--s-6); }
.measures h3 { font-size: var(--t-h4); }
.measures p { margin-top: var(--s-2); font-size: var(--t-small); max-width: 46ch; }
.measures .chips { margin-top: var(--s-4); }

/* Band: photo beside a short statement (team on the homepage) */
.band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
.band h2 { max-width: 16ch; }
.band p { margin-top: var(--s-4); max-width: 44ch; }
.band .textlink, .band .todo { display: inline-block; margin-top: var(--s-5); }
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
.photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-m); }
.photos--one { grid-template-columns: 1fr; }
.photos--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.photos--5 img { aspect-ratio: 3 / 4; }
.photos--one img { aspect-ratio: 3 / 2; }

/* People: portraits with name, role and a short bio */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--s-6); list-style: none; border-top: 2px solid var(--ink); padding-top: var(--s-6); }
.person img { width: 100%; max-width: 280px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-m); background: var(--paper-2); }
.person h3 { margin-top: var(--s-4); font-size: var(--t-h4); }
.person__role { margin-top: 2px; font-size: var(--t-small); font-weight: 600; color: var(--ink); }
.person__affil { margin-top: 2px; font-size: var(--t-cap); color: var(--ink-3); }
.person__bio { margin-top: var(--s-3); font-size: var(--t-small); max-width: 42ch; }
.person__quote { margin-top: var(--s-3); padding-left: var(--s-4); border-left: 2px solid var(--teal); font-size: var(--t-small); color: var(--ink); max-width: 42ch; }
.person > a { display: inline-block; margin-top: var(--s-3); font-size: var(--t-cap); font-weight: 700; }
.person--todo { display: grid; place-content: center; justify-items: start; gap: var(--s-3); min-height: 280px; padding: var(--s-6); border: 1px dashed var(--ink-3); border-radius: var(--radius-m); }
.person--todo p { font-size: var(--t-small); max-width: 30ch; }

/* Prose block: a short candid passage (why we started) */
.prose { max-width: 62ch; }
.prose p { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); }
.prose p + p { margin-top: var(--s-4); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: start; }

/* FAQ, brief then long: the one-line answer sits in the summary and is always visible */
.faq summary .faq__brief { display: block; margin-top: 6px; font-weight: 400; font-size: var(--t-small); line-height: 1.5; color: var(--ink-2); }
.faq details[open] summary { padding-bottom: var(--s-3); }

.fig1--plain { margin-top: 0; }

/* Guided lead form (Get Started). Class names are read by js/main.js; do not rename. */
.start { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-8); align-items: start; padding-top: clamp(40px, 6vw, 80px); padding-bottom: var(--section); }
.funnel__progress { display: flex; gap: var(--s-2); margin: 0 0 var(--s-6); }
.funnel__progress-bar { flex: 1; height: 4px; border-radius: 2px; background: var(--rule); }
.funnel__progress-bar.active { background: var(--progress); background-size: 400% 100%; }
.funnel__progress-bar.active:nth-child(2) { background-position: 33% 0; }
.funnel__progress-bar.active:nth-child(3) { background-position: 66% 0; }
.funnel__progress-bar.active:nth-child(4) { background-position: 100% 0; }
.funnel__step { display: none; }
.funnel__step.active { display: block; }
.funnel__title { font-size: var(--t-h3); line-height: 1.15; max-width: 24ch; }
.funnel__subtitle { margin-top: var(--s-2); font-size: var(--t-small); color: var(--ink-3); }
.funnel__options { display: grid; margin-top: var(--s-5); border-top: 2px solid var(--ink); }
.funnel__option { all: unset; box-sizing: border-box; display: block; width: 100%; position: relative; padding: 18px 44px 18px 16px; border-bottom: 1px solid var(--rule); font: 600 var(--t-body)/1.3 var(--font); color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s; }
.funnel__option::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: .45; }
.funnel__option:hover { background: rgba(17,124,140,.08); }
.funnel__option:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.funnel__option.selected { background: var(--ink); color: #fff; }
.funnel__micro { margin-top: var(--s-4); font-size: var(--t-small); font-weight: 600; color: var(--teal); }
.funnel__error { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; padding: 12px 16px; border-radius: var(--radius-m); margin: var(--s-4) 0; font-size: var(--t-cap); }
.form-group { margin-top: var(--s-4); }
.form-group label { display: block; font-size: var(--t-cap); font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form-group input { width: 100%; font: 400 var(--t-body)/1.3 var(--font); color: var(--ink); padding: 13px 14px; border: 1px solid var(--ink-3); border-radius: var(--radius-m); background: #fff; }
.form-group input:focus-visible { outline: 3px solid var(--cyan); outline-offset: 1px; border-color: var(--ink); }
.funnel__submit { width: 100%; margin-top: var(--s-5); }
.funnel__submit[disabled] { opacity: .6; cursor: default; }
.funnel__confirmation h2 { font-size: var(--t-h3); }
.funnel__confirmation p { margin-top: var(--s-3); }
/* What happens next: shown only on the final screen, after the answers are sent. */
.funnel__next { margin-top: var(--s-6); }
.funnel__next h3 { font-size: var(--t-h4); }
#booking-page { min-height: 400px; margin-top: var(--s-5); }
.start__aside { position: sticky; top: 140px; border-top: 2px solid var(--ink); padding-top: var(--s-5); }
.start__aside h2 { font-size: var(--t-h4); }
.steps { list-style: none; counter-reset: step; margin-top: var(--s-4); }
.steps li { counter-increment: step; position: relative; padding: var(--s-4) 0 var(--s-4) 40px; border-bottom: 1px solid var(--rule); font-size: var(--t-small); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: var(--s-4); font-weight: 800; color: var(--ink); font-size: var(--t-body); line-height: 1.4; }
.steps b { color: var(--ink); display: block; }
.start__aside .todo { margin-top: var(--s-5); }

/* "How did you hear about us" dialog, opened by js/main.js after a lead is saved */
.ls-overlay { position: fixed; inset: 0; background: rgba(17,29,47,.55); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 1000; }
.ls-overlay.ls-open { display: flex; }
.ls-modal { background: #fff; border-radius: var(--radius-m); max-width: 460px; width: 100%; padding: 32px 28px 24px; position: relative; box-shadow: 0 24px 60px rgba(17,29,47,.35); }
.ls-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; background: var(--paper-2); color: var(--ink-3); border-radius: 50%; font-size: 18px; line-height: 1; cursor: pointer; }
.ls-title { font-size: var(--t-h4); line-height: 1.25; margin: 2px 40px 6px 0; }
.ls-hint { font-size: var(--t-cap); color: var(--ink-3); margin: 0 0 var(--s-4); }
.ls-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 14px 16px; margin-bottom: 10px; border: 1px solid var(--rule); border-radius: var(--radius-m); background: #fff; cursor: pointer; font: 600 var(--t-small)/1.3 var(--font); color: var(--ink); }
.ls-opt:hover { border-color: var(--teal); }
.ls-opt.ls-selected { border-color: var(--teal); background: rgba(17,124,140,.07); }
.ls-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--rule); flex: none; }
.ls-opt.ls-selected .ls-dot { border-color: var(--teal); background: var(--teal); box-shadow: inset 0 0 0 3px #fff; }
.ls-skip { display: block; width: 100%; text-align: center; margin-top: 4px; background: none; border: 0; color: var(--ink-3); font: 400 var(--t-cap) var(--font); cursor: pointer; text-decoration: underline; }

/* Study detail (Live studies page): the register row plus a short hook line */
.study__hook { grid-column: 1 / -1; font-size: var(--t-small); color: var(--ink-2); max-width: 70ch; margin-top: calc(-1 * var(--s-2)); }
.register--full .study, .register--full .register__labels { grid-template-columns: 2fr 2.4fr 2.6fr 2.2fr 1.6fr; }
.register--brief .study, .register--brief .register__labels { grid-template-columns: 3fr 2fr 1.6fr; align-items: center; }
.smallprint { margin-top: var(--s-5); font-size: var(--t-cap); color: var(--ink-3); max-width: 80ch; }

@media (max-width: 960px) {
  .hero__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
  .selector, .band, .split, .start, .measures { grid-template-columns: 1fr; gap: var(--s-6); }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .start__aside { position: static; }
  .logos__label { width: 100%; }
  .register--full .study, .register--brief .study { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .people { grid-template-columns: 1fr; }
  .person img { max-width: 220px; }
  .logos__slot { width: calc(50% - var(--s-3)); }
}

/* ============================================================
   v2.2 (Nov 2026, round 2): Montserrat and the fade.
   The brand gradient now leads: heroes, closing band, rules and accents.
   ============================================================ */
h1, h2, h3, h4 { letter-spacing: -0.015em; }
.hero h1 { letter-spacing: -0.025em; line-height: 1.06; max-width: 17ch; }
.hero--page h1 { letter-spacing: -0.02em; line-height: 1.1; }
.closing h2 { letter-spacing: -0.025em; line-height: 1.06; }
.quote blockquote p { letter-spacing: -0.025em; }

/* The fade as a rule on top of lists and grids */
.items, .people, .selector, .measures, .ticklist, .linklist, .register, .faq__list, .funnel__options, .start__aside, .hero__facts, .phases, .path__foot { border-top: 3px solid; border-image: var(--fade) 1; }
.section--tint { background: linear-gradient(180deg, #fff 0, #EAF4FA 72px, #EAF4FA calc(100% - 72px), #fff 100%); }   /* a tint that fades in and out, so sections blend instead of stacking as bands */

/* Hero on the fade. Headline in white; supporting text sits in a white card or is set in navy for legibility. */
.hero--fade { background: var(--fade); }
.hero--fade h1 { color: #fff; }
.hero--fade .hero__grid { align-items: center; }
.hero--fade .hero__aside, .hero__card { background: #fff; border-radius: var(--radius-l); padding: var(--s-6); box-shadow: 0 18px 40px rgba(17,29,47,.16); }
.hero--fade .hero__facts { border-image: none; border-top: 2px solid rgba(255,255,255,.75); }
.hero--fade .hero__facts dt { color: #fff; }
.hero--fade .hero__facts dd { color: var(--ink); font-weight: 600; }
.hero--fade .band .lead { color: var(--ink); font-weight: 600; }
.hero--fade .photos img { box-shadow: 0 12px 28px rgba(17,29,47,.18); }

/* Closing band on the fade */
.closing { background: var(--fade); }
.closing p { color: var(--ink); font-weight: 600; }

/* Mission: a bold label and a statement set in the fade */
.mission__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: end; }
.mission__label { font-size: var(--t-small); font-weight: 700; color: var(--ink); }
.mission__statement { margin-top: var(--s-3); font-size: var(--t-h2); font-weight: 700; line-height: 1.14; letter-spacing: -0.02em; max-width: 20ch; background: var(--fade-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mission__grid > p { max-width: 44ch; }

/* Selector panel: the "more" link to that client's landing page */
.selector__more { display: inline-flex; align-items: center; margin-top: var(--s-5); }

/* Phases (How we work): three numbered phases, each with its steps */
.phases { list-style: none; }
.phase { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); padding: var(--s-7) 0; border-bottom: 1px solid var(--rule); }
.phase__no { display: block; font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; background: var(--fade-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.phase h3 { margin-top: var(--s-2); font-size: var(--t-h3); line-height: 1.15; }
.phase > div > p { margin-top: var(--s-3); max-width: 38ch; }
.substeps { list-style: none; }
.substeps li { padding: var(--s-4) 0; border-bottom: 1px solid var(--rule); font-size: var(--t-small); }
.substeps li:first-child { padding-top: 0; }
.substeps li:last-child { border-bottom: 0; padding-bottom: 0; }
.substeps b { display: block; color: var(--ink); font-size: var(--t-body); }

/* Reach figure: who can take part, single site against remote-first */
.reach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.reach__panel { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-l); padding: var(--s-5); }
.reach__panel h3 { font-size: var(--t-body); }
.reach__panel p { margin-top: 4px; font-size: var(--t-cap); color: var(--ink-3); }
.reach svg { display: block; width: 100%; height: auto; margin-top: var(--s-4); }
.reach .dot { fill: #CBD5DB; }
.reach .ring { fill: rgba(0,159,229,.08); stroke: #009FE5; stroke-width: 1.5; stroke-dasharray: 5 5; }
.reach .lab { fill: var(--ink); }
.reach.anim-ready .dot--on { opacity: 0; }
.reach.is-in .dot--on { animation: ssg-appear .35s ease both; animation-delay: calc(var(--i) * 28ms); }
.reach + .caption { margin-top: var(--s-4); }

/* Globe band: UK and US */
.globe { position: relative; overflow: hidden; background: linear-gradient(203deg, #101C2E, #1D3F6B); color: var(--on-ink); padding: var(--section) 0; min-height: 400px; display: flex; align-items: center; }
.globe .wrap { position: relative; z-index: 1; width: 100%; }
.globe h2 { color: #fff; max-width: 17ch; }
.globe p { margin-top: var(--s-4); max-width: 40ch; }
.globe .todo { margin-top: var(--s-4); background: transparent; color: #fff; border-color: var(--on-ink-2); }
.globe__art { position: absolute; right: -4%; top: 50%; transform: translateY(-43%); width: min(60%, 760px); pointer-events: none; -webkit-mask-image: radial-gradient(closest-side, #000 86%, transparent 100%); mask-image: radial-gradient(closest-side, #000 86%, transparent 100%); }
.globe__grid { fill: none; stroke: rgba(255,255,255,.2); stroke-width: 1; }
.globe__edge { fill: rgba(0,159,229,.08); stroke: rgba(255,255,255,.45); stroke-width: 1.5; }
.globe__pin { fill: #3AD59F; }
.globe__pulse { fill: none; stroke: #3AD59F; stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.globe__label { fill: #fff; font: 700 26px var(--font); }
.globe__arc { fill: none; stroke: #3AD59F; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 8; }
@media (prefers-reduced-motion: no-preference) {
  .globe__pulse { animation: ssg-pulse 2.6s ease-out infinite; }
  @keyframes ssg-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
}

/* Trial cards (Live studies): a photo, the essentials and one action */
.trials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.trial { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 0 0 1px var(--amber-rule), 0 14px 30px rgba(138,75,0,.10); }
.trial__photo { aspect-ratio: 3 / 2; background: var(--amber-tint); display: grid; place-items: center; padding: var(--s-4); border-bottom: 1px solid var(--amber-rule); }
.trial__photo img { width: 100%; height: 100%; object-fit: cover; }
.trial__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); flex: 1; }
.trial__where { font-size: var(--t-cap); font-weight: 700; color: var(--amber-ink); }
.trial h3 { font-size: var(--t-h4); }
.trial__hook { font-size: var(--t-small); }
.trial dl { display: grid; gap: var(--s-3); margin: 0; font-size: var(--t-cap); }
.trial dt { font-weight: 700; color: var(--ink); }
.trial dd { margin: 2px 0 0; }
.trial .btn { margin-top: auto; }
.btn--amber, .btn--amber:hover { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #E08E00; }

/* Photo placeholder */
.photo-slot { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: var(--s-4); background: var(--paper-2); border: 1px dashed var(--ink-3); border-radius: var(--radius-l); }
.people .person--todo { min-height: 240px; }

@media (max-width: 960px) {
  .mission__grid, .phase, .reach { grid-template-columns: 1fr; gap: var(--s-5); }
  .trials { grid-template-columns: 1fr; }
  .globe { display: block; min-height: 0; padding-bottom: 0; }
  .globe__art { position: static; transform: none; width: 100%; max-width: 420px; margin: -8% auto -26%; display: block; }
}

/* ============================================================
   v3 (Nov 2026, round 3).
   Rules: text stays left (no heading-left / descriptor-right splits);
   one call to action per section; no dark text on the fade.
   ============================================================ */
.nav__logo img { height: 34px; }
.nav__link, .nav__links .btn { white-space: nowrap; }
.head { display: block; }
.head h2 { max-width: 24ch; }
.head p { margin-top: var(--s-4); max-width: 60ch; }
.split { display: block; }
.split > h2 { max-width: 24ch; margin-bottom: var(--s-5); }
.split .lead { max-width: 60ch; }

/* Closing band: stacked on the left, all text white. A soft shade on the left keeps the white legible. */
.closing { background: linear-gradient(90deg, rgba(0,52,104,.32), rgba(0,52,104,0) 78%), var(--fade); }
.closing__grid { display: block; }
.closing h2 { max-width: 20ch; }
.closing p { margin-top: var(--s-4); color: #fff; font-size: var(--t-lead); font-weight: 600; max-width: 46ch; }

/* Hero: shorter, so the logo strip shows without scrolling. Facts are one white line each. */
.hero--fade { padding: clamp(28px, 3.6vw, 48px) 0 clamp(24px, 3vw, 40px); }
.hero--fade .hero__aside { padding: var(--s-5) var(--s-6); }
.hero--fade .hero__aside .actions { margin-top: var(--s-4); }
.hero__facts { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2) var(--s-5); margin-top: clamp(20px, 2.6vw, 36px); padding-top: var(--s-4); list-style: none; }
.hero--fade .hero__facts li { color: #fff; font-size: clamp(0.9375rem, 0.5rem + 0.9vw, 1.1875rem); font-weight: 700; letter-spacing: -0.01em; }
.strip { padding: 0 0 var(--s-6); }
.logos { border-top: 0; }

/* Selector, larger */
.selector { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); padding-top: var(--s-6); }
.selector__group { font-size: var(--t-small); font-weight: 700; }
.selector__tabs label { padding: 16px 52px 16px 20px; font-size: var(--t-h4); font-weight: 700; }
.selector__tabs label::after { right: 22px; width: 11px; height: 11px; margin-top: -6px; }
.selector__panel { background: #fff; border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); box-shadow: 0 18px 40px rgba(17,29,47,.10); }
.selector__panel h3 { font-size: var(--t-h2); line-height: 1.1; max-width: 18ch; }
.selector__panel > p { font-size: var(--t-lead); }
.selector__panels { display: grid; }

/* Mission across the full width, with the evidence curve under it */
.mission__grid { display: block; }
.mission__statement { max-width: 26ch; font-size: clamp(1.875rem, 1rem + 3.4vw, 3.25rem); line-height: 1.1; }
.mission__note { margin-top: var(--s-5); max-width: 60ch; }
.curve { margin: 0; }
.curve svg { display: block; width: 100%; height: auto; }
.curve .axis { stroke: var(--ink); stroke-width: 2; fill: none; }
.curve .axis-label { font: 700 15px var(--font); fill: var(--ink); }
.curve .tick-label { font: 600 14px var(--font); fill: var(--ink-2); }
.curve .line { fill: none; stroke: url(#curve-fade); stroke-width: 7; stroke-linecap: round; }
.curve .area { fill: url(#curve-area); }
.curve .pt { fill: #fff; stroke: #0078BA; stroke-width: 4; }
.curve .caption { margin-top: var(--s-3); }
.curve.anim-ready .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.curve.anim-ready .area, .curve.anim-ready .pt, .curve.anim-ready .tick-label { opacity: 0; }
.curve.is-in .line { animation: ssg-stroke 1.6s ease-out both; }
.curve.is-in .area { animation: ssg-appear .8s ease 1.2s both; }
.curve.is-in .pt, .curve.is-in .tick-label { animation: ssg-appear .4s ease both; animation-delay: calc(.5s + var(--i) * .45s); }
@keyframes ssg-stroke { to { stroke-dashoffset: 0; } }

/* People: four across, and on light backgrounds */
.people--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.people--2 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Choices (Industry): large tiles in place of a list */
.choices { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-5); list-style: none; }
.choices li { grid-column: span 4; }
.choices li:nth-child(-n+2) { grid-column: span 6; }
.choice { position: relative; display: flex; flex-direction: column; gap: var(--s-2); height: 100%; min-height: 0; padding: var(--s-5); border-radius: var(--radius-l); background: #fff; color: var(--ink-2); text-decoration: none; box-shadow: 0 0 0 1px var(--rule), 0 10px 24px rgba(17,29,47,.06); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.choice svg { width: 52px; height: 52px; margin-bottom: var(--s-4); fill: none; stroke: #0078BA; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.choice small { font-size: var(--t-cap); font-weight: 700; color: var(--ink-3); }
.choice strong { font-size: var(--t-h3); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); }
.choice span { font-size: var(--t-small); max-width: 34ch; }
.choice em { margin-top: auto; padding-top: var(--s-4); font-style: normal; font-weight: 700; font-size: var(--t-small); color: var(--teal); }
.choice:hover, .choice:focus-visible { transform: translateY(-5px); background: var(--fade-ink); color: #fff; box-shadow: 0 22px 44px rgba(0,120,186,.28); }
.choice:hover svg, .choice:focus-visible svg { stroke: #fff; }
.choice:hover small, .choice:hover strong, .choice:hover em, .choice:focus-visible small, .choice:focus-visible strong, .choice:focus-visible em { color: #fff; }

/* Reach figure, larger */
.reach__panel { padding: var(--s-6); }
.reach__panel h3 { font-size: var(--t-h4); }
.reach__panel p { font-size: var(--t-small); }
.reach .ring { stroke-width: 2.5; }

/* Sponsor table on a light background (dark values stay inside .section--ink) */
.who--you { color: var(--ink-3); }
.who--you::before { border-color: #9AA7B3; }
.who--us { color: var(--ink); }
.who--us::before { background: #17996B; }
.section--ink .who--you { color: var(--on-ink-2); }
.section--ink .who--us { color: #fff; }
.section--ink .who--us::before { background: var(--green); }

/* Globe: country outlines and the region switch */
.globe__land { fill: rgba(58,213,159,.30); stroke: #3AD59F; stroke-width: 1.6; stroke-linejoin: round; }

@media (max-width: 1180px) {
  .nav__logo img { height: 30px; }
  .nav__inner { gap: var(--s-5); }
  .nav__links { gap: 14px; }
  .nav__link { font-size: 14px; }
}
@media (max-width: 960px) {
  .nav__logo img { height: 28px; }
  .nav__link { font-size: var(--t-body); }
  .hero__facts { justify-content: flex-start; }
  .selector { grid-template-columns: 1fr; gap: var(--s-5); }
  .people--4, .people--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choices { grid-template-columns: 1fr; }
  .choices li, .choices li:nth-child(-n+2) { grid-column: auto; }
  .choice { min-height: 0; }
  .hero__facts { gap: var(--s-1) var(--s-6); }
}
@media (max-width: 720px) {
  .selector__tabs label { padding: 18px 48px 18px 16px; font-size: var(--t-body); }
}

/* Client logos and testimonials (18 Nov). Each logo sets its own height (--h) so stacked and wide marks carry equal weight. */
/* Logo carousel (19 Nov): three logos show at a time and the strip moves on by one every few seconds.
   No script: .logos__step jumps a whole slot at the end of each beat while .logos__track glides one slot and
   resets, so together they slide, pause, slide. --n is the number of logos; the first three are repeated at the
   end (aria-hidden) so the loop has no seam. With reduced motion it is a plain wrapped row of every logo. */
.logos { display: block; --show: 3; --beat: 3.2s; }
.logos__label { width: auto; margin: 0 0 var(--s-4); }
.logos__view { overflow: hidden; }
.logos__track { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; row-gap: var(--s-5); }
.logos__track li { flex: 0 0 calc(100% / var(--show)); min-width: 0; height: 72px; display: grid; place-items: center; padding: 0 var(--s-4); }
.logos__track li[aria-hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .logos__track { flex-wrap: nowrap; justify-content: flex-start; animation: logos-glide var(--beat) ease-in-out infinite; }
  .logos__track li[aria-hidden] { display: grid; }
  .logos__step { animation: logos-step calc(var(--n) * var(--beat)) steps(var(--n)) infinite; }
  .logos__view:hover .logos__step, .logos__view:hover .logos__track { animation-play-state: paused; }
}
@keyframes logos-glide { 0%, 76% { transform: translateX(0); } 100% { transform: translateX(calc(-100% / var(--show))); } }
@keyframes logos-step { to { transform: translateX(calc(var(--n) * -100% / var(--show))); } }
@media (max-width: 560px) { .logos { --show: 2; } .logos__track li { height: 60px; padding: 0 var(--s-3); } }
/* Team hero: six portraits in one row, three per row on phones. */
.photos--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.photos--6 img { aspect-ratio: 3 / 4; }
@media (max-width: 720px) { .photos--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Testimonials carry the company logo above the quote, and a face photo beside the name when one is supplied (img.quotes__face inside figcaption). */
.quotes__logo { display: block; height: var(--h, 28px); width: auto; }
/* Every logo sits centred in a 56px-tall band, so the three quotes start on the same line. */
.quotes--3 .quotes__logo { box-sizing: content-box; align-self: flex-start; padding: calc((56px - var(--h, 28px)) / 2) 0; margin-bottom: var(--s-5); }
.quotes--3 figcaption, .start__quote figcaption { display: flex; align-items: center; gap: var(--s-3); }
.quotes__face { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.start__quote .quotes__logo { margin-bottom: var(--s-4); }
.logos img { height: var(--h, 28px); width: auto; max-width: 100%; object-fit: contain; }
.quotes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-7); border-top: 3px solid; border-image: var(--fade) 1; }
.quotes--3 figure { margin: 0; display: flex; flex-direction: column; }
.quotes--3 blockquote p { max-width: 40ch; font-size: var(--t-body); font-weight: 600; line-height: 1.5; letter-spacing: -0.005em; }
.quotes--3 figcaption { margin-top: auto; padding-top: var(--s-4); }
.quotes--3 figcaption b, .start__quote figcaption b { display: block; font-size: var(--t-small); }
.start__quote { margin: var(--s-6) 0 0; }
.start__aside > .start__quote:first-child { margin-top: 0; }
.start__quote blockquote { margin: 0; }
.start__quote blockquote p { font-size: var(--t-body); font-weight: 600; line-height: 1.45; color: var(--ink); text-indent: -0.4em; }
.start__quote figcaption { margin-top: var(--s-3); font-size: var(--t-cap); color: var(--ink-3); }
.start__quote figcaption b { color: var(--ink); font-weight: 700; }
@media (max-width: 960px) {
  .quotes--3 { grid-template-columns: 1fr; gap: var(--s-7); }
}
@media (max-width: 720px) {
  .logos img { height: calc(var(--h, 28px) * 0.8); }
}

/* Newsletter page (resources.html), 18 Nov: sign-up in the hero card, then two hover components that keep the
   page short. On devices without hover the tile text is simply shown, and edition summaries are left out. */
.hero__note { margin-top: var(--s-4); color: #fff; font-size: var(--t-lead); font-weight: 700; }
.signup .ml-form-embedContainer { margin-top: var(--s-4); }
.signup .ml-block-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 0; }
.signup .ml-form-formContent { flex: 1 1 200px; min-width: 0; margin: 0; }
.signup input[type="email"] { width: 100%; font: 400 var(--t-body)/1.3 var(--font); color: var(--ink); padding: 13px 14px; border: 1px solid var(--ink-3); border-radius: var(--radius-m); background: #fff; }
.signup input[type="email"]:focus { outline: 3px solid var(--cyan); outline-offset: 1px; border-color: var(--teal); }
.signup input[type="email"]::placeholder { color: var(--ink-3); }
.signup .ml-form-embedSubmit { flex: 0 0 auto; margin: 0; }
.signup .ml-form-embedSubmit button { height: 100%; font: 600 var(--t-small)/1 var(--font); color: #fff; background: var(--teal); border: 0; border-radius: var(--radius-m); padding: 14px 22px; cursor: pointer; }
.signup .ml-form-embedSubmit button:hover { background: var(--teal-deep); }
.signup .ml-form-embedSubmit button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.signup .ml-error input { border-color: #B42318 !important; }
.signup .ml-form-embedSubmitLoad { display: inline-block; width: 20px; height: 20px; }
.signup .ml-form-embedSubmitLoad::after { content: ""; display: block; width: 11px; height: 11px; margin: 1px; border-radius: 50%; border: 4px solid #fff; border-color: #fff #fff #fff transparent; animation: signup-spin 1.2s linear infinite; }
@keyframes signup-spin { to { rotate: 360deg; } }
.signup .ml-form-successContent h4 { margin: var(--s-4) 0 6px; font-size: var(--t-h4); color: var(--ink); }
.signup .ml-form-successContent p { margin: 0; font-size: var(--t-small); }
.signup__note { margin-top: var(--s-3); font-size: var(--t-cap); color: var(--ink-3); }
.signup__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.signup__gate { margin-top: var(--s-4); padding: var(--s-4); border: 1px dashed var(--ink-3); border-radius: var(--radius-m); }
.signup__gate p { font-size: var(--t-cap); line-height: 1.5; color: var(--ink-2); }
.signup__gate .btn { margin-top: var(--s-3); }

/* Peek tiles: the title only, until hover or focus fills the tile with the fade and shows what the section covers.
   One gradient runs across all three tiles. */
.peeks { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.peek { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: var(--s-5); border-radius: var(--radius-l); background: #fff; overflow: hidden; }
.peek::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(68deg, #0078BA, #0B8062) no-repeat; background-size: 300% 100%; opacity: .13; transition: opacity .25s ease; }
.peek:nth-child(2)::before { background-position: 50% 0; }
.peek:nth-child(3)::before { background-position: 100% 0; }
.peek::after { content: "+"; position: absolute; top: var(--s-4); right: var(--s-5); font: 500 1.75rem/1 var(--font); color: var(--ink-3); transition: rotate .25s ease, color .2s ease; }
.peek h3 { font-size: var(--t-h3); line-height: 1.15; transition: color .2s ease; }
.peek p { margin-top: var(--s-3); font-size: var(--t-small); max-width: 36ch; }
.peek:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
@media (hover: hover) {
  .peek p { max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; color: #fff; transition: max-height .3s ease, margin-top .3s ease, opacity .25s ease; }
  .peek:hover::before, .peek:focus::before { opacity: 1; }
  .peek:hover h3, .peek:focus h3 { color: #fff; }
  .peek:hover p, .peek:focus p { max-height: 9em; margin-top: var(--s-3); opacity: 1; }
  .peek:hover::after, .peek:focus::after { rotate: 45deg; color: #fff; }
}
@media (hover: none) {
  .peek { min-height: 0; }
  .peek::after { display: none; }
}

@media (max-width: 960px) { .peeks { grid-template-columns: 1fr; } .peek { min-height: 0; } }

/* The Evidence Brief stories (19 Nov). Markup is generated by scripts/newsletter.py from
   scripts/newsletter-articles.json: the Recent editions block on the Newsletter page, then one page per story
   and one per issue under /newsletter/. Tag colours are per story type: news, Science Desk, guest piece. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tag { display: inline-block; font-size: var(--t-cap); font-weight: 700; line-height: 1.3; color: #127C87; background: #E7F5F7; border-radius: var(--radius-s); padding: 4px 10px; }
.tag--science { color: #2F7D52; background: #E6F4EC; }
.tag--guest { color: #6A3FA0; background: #F0EAF8; }
.byline { display: flex; align-items: center; gap: 10px; font-size: var(--t-cap); line-height: 1.35; color: var(--ink-3); }
.byline img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: none; background: var(--paper-2); }
.byline b { display: block; color: var(--ink); font-weight: 700; }

/* Filter: real radio buttons, so it works from the keyboard with no script. :has() hides the other types. */
.filter { border: 0; padding: 0; margin: 0 0 var(--s-6); min-width: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.filter label { position: relative; cursor: pointer; }
.filter input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.filter span { display: block; font-size: var(--t-small); font-weight: 600; line-height: 1; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-m); padding: 12px 16px; transition: background-color .15s, border-color .15s, color .15s; }
.filter label:hover span { border-color: var(--ink-3); }
.filter input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.stories:has(.filter input[value="news"]:checked) [data-type]:not([data-type="news"]),
.stories:has(.filter input[value="science"]:checked) [data-type]:not([data-type="science"]),
.stories:has(.filter input[value="guest"]:checked) [data-type]:not([data-type="guest"]) { display: none; }

.story__tags { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3); font-size: var(--t-cap); font-weight: 600; color: var(--ink-3); }
.story__meta { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-size: var(--t-cap); color: var(--ink-3); }
.story__more { flex: none; font-size: var(--t-small); font-weight: 700; color: var(--teal); }
.story__more::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-right: 2px solid; border-top: 2px solid; transform: translateY(-1px) rotate(45deg); }

/* The latest story, large. A hero image fills the left panel; without one it is the fade with the author on it. */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); margin-bottom: var(--s-6); background: #fff; border-radius: var(--radius-l); overflow: hidden; color: var(--ink-2); text-decoration: none; box-shadow: 0 18px 40px rgba(17,29,47,.10); transition: box-shadow .2s ease; }
.feature:hover { color: var(--ink-2); box-shadow: 0 22px 48px rgba(17,29,47,.18); }
.feature:focus-visible, .story:focus-visible, .nextup:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.feature__vis { position: relative; display: flex; align-items: center; justify-content: center; min-height: 320px; background: var(--fade-ink); }
.feature__vis > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature__who { padding: var(--s-6); text-align: center; color: #fff; }
.feature__who img { width: 148px; height: 148px; margin: 0 auto var(--s-4); border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.85); }
.feature__who b { display: block; font-size: var(--t-h4); font-weight: 700; line-height: 1.25; }
.feature__who span { display: block; margin-top: 2px; font-size: var(--t-small); font-weight: 600; }
.feature__txt { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3.5vw, 44px); }
.feature h3 { margin-top: var(--s-4); font-size: var(--t-h3); line-height: 1.15; transition: color .15s; }
.feature__stand { margin-top: var(--s-4); line-height: 1.55; }
.feature .story__meta { margin-top: var(--s-5); }
.feature:hover h3, .story:hover h3, .story:hover h2, .nextup:hover b { color: var(--teal); }

.stories__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.story { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-l); overflow: hidden; color: var(--ink-2); text-decoration: none; box-shadow: 0 0 0 1px var(--rule), 0 6px 18px rgba(17,29,47,.05); transition: box-shadow .2s ease; }
.story:hover { color: var(--ink-2); box-shadow: 0 0 0 1px var(--rule), 0 18px 40px rgba(17,29,47,.14); }
.story__img { width: 100%; height: auto; aspect-ratio: 16 / 6; object-fit: cover; background: var(--paper-2); }
.story__bar { display: block; height: 6px; background: var(--fade); }
.story__body { display: flex; flex-direction: column; flex: 1; padding: var(--s-5); }
.story__no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: var(--t-cap); font-weight: 700; }
.story h3, .story h2 { margin-top: var(--s-3); font-size: var(--t-h4); line-height: 1.25; letter-spacing: -0.015em; transition: color .15s; }
.story .byline { margin-top: var(--s-3); }
.story__stand { flex: 1; margin-top: var(--s-3); font-size: var(--t-small); line-height: 1.5; }
.story .story__meta { margin-top: var(--s-4); }

/* Story page. "In Issue N" stays under the site header so a reader who arrived from the email can move to the
   next story; --masthead-h is kept current by a few lines of script, because the campaign banner changes it. */
.issuebar { position: sticky; top: var(--masthead-h, calc(var(--nav-h) + 1px)); z-index: 800; background: var(--paper-2); border-bottom: 1px solid var(--rule); }
.issuebar__in { display: flex; align-items: center; gap: var(--s-5); padding-top: 10px; padding-bottom: 10px; overflow-x: auto; white-space: nowrap; }
.issuebar__label { flex: none; font-size: var(--t-cap); font-weight: 700; color: var(--ink); text-decoration: none; }
.issuebar__label:hover { color: var(--teal); text-decoration: underline; }
.issuebar ol { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s-2); }
.issuebar li a { display: flex; align-items: center; gap: 8px; max-width: 300px; padding: 5px 14px 5px 5px; font-size: var(--t-cap); font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; }
.issuebar li a:hover { border-color: var(--ink-3); color: var(--ink); }
.issuebar li a span { overflow: hidden; text-overflow: ellipsis; }
.issuebar li b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--paper-2); color: var(--ink); font-size: 0.75rem; }
.issuebar li a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.issuebar li a[aria-current] b { background: #fff; }

.article__col { max-width: 720px; margin-left: auto; margin-right: auto; }
.article__head { padding-top: clamp(32px, 5vw, 56px); }
.article__back { display: inline-block; font-size: var(--t-small); font-weight: 700; text-decoration: none; }
.article__back::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-left: 2px solid; border-bottom: 2px solid; transform: translateY(-1px) rotate(45deg); }
.article__back:hover { text-decoration: underline; }
.article__back--on-fade, .article__back--on-fade:hover { color: #fff; margin-bottom: var(--s-4); }
.article__head .story__tags { margin-top: var(--s-5); }
.article h1 { margin-top: var(--s-4); font-size: var(--t-h1); line-height: 1.08; letter-spacing: -0.03em; }
.article__stand { margin-top: var(--s-4); font-size: var(--t-lead); line-height: 1.5; }
.article__info { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-5); padding-bottom: var(--s-5); border-bottom: 1px solid var(--rule); font-size: var(--t-cap); color: var(--ink-3); }
.article__info .byline { margin: 0 var(--s-2) 0 0; }
.article__info .byline img { width: 44px; height: 44px; }
.article__hero { max-width: 1000px; margin: var(--s-6) auto 0; }
.article__hero img { width: 100%; height: auto; border-radius: var(--radius-l); }
.article__body { padding: var(--s-6) 0 var(--section); line-height: 1.7; }
.article__body p { margin: 0 0 var(--s-5); }
.article__body h2 { margin: var(--s-7) 0 var(--s-3); font-size: var(--t-h4); line-height: 1.25; letter-spacing: -0.015em; }
.article__body h3 { margin: var(--s-6) 0 var(--s-2); font-size: var(--t-body); line-height: 1.35; }
.article__body .tablewrap { overflow-x: auto; margin: 0 0 var(--s-5); }
.article__body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--t-small); line-height: 1.5; }
.article__body th, .article__body td { padding: 10px 12px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.article__body th { color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--ink); }
.article__body td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; padding-right: 20px; }
.article__body ul, .article__body ol { margin: 0 0 var(--s-5); padding-left: 22px; }
.article__body li { margin-bottom: 10px; }
.article__body strong { color: var(--ink); }
.article__body sup { font-size: 0.72em; font-weight: 700; color: var(--teal); line-height: 0; }
.article__body blockquote { margin: var(--s-6) 0; padding: 4px 0 4px var(--s-5); border-left: 4px solid; border-image: linear-gradient(180deg, #009FE5, #3AD59F) 1; font-size: var(--t-h4); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.article__body blockquote p { margin: 0; }
.article__body blockquote cite { display: block; margin-top: var(--s-3); font-style: normal; font-size: var(--t-small); font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.article__body figure { margin: var(--s-6) 0; }
.article__body figure img { width: 100%; height: auto; border-radius: var(--radius-m); }
.article__body .read { margin: var(--s-7) 0 var(--s-5); padding: var(--s-5) var(--s-5) 1px; background: var(--paper-2); border-left: 4px solid var(--teal); border-radius: 0 var(--radius-l) var(--radius-l) 0; }
.article__body .read h2 { margin: 0 0 var(--s-3); color: var(--teal-deep); }
.article__body .sources { padding-top: var(--s-4); border-top: 1px solid var(--rule); font-size: var(--t-cap); line-height: 1.6; color: var(--ink-3); }
.article__body .bio { padding: var(--s-4) var(--s-5); background: var(--paper-2); border-radius: var(--radius-m); font-size: var(--t-small); font-style: italic; line-height: 1.6; }
.article__body > :last-child { margin-bottom: 0; }

/* After the story: the next one in the same issue, then three from other issues. */
.nextup { display: flex; align-items: center; gap: var(--s-5); max-width: 720px; margin: 0 auto; padding: var(--s-5); background: #fff; border-radius: var(--radius-l); color: var(--ink-2); text-decoration: none; box-shadow: 0 18px 40px rgba(17,29,47,.10); }
.nextup:hover { color: var(--ink-2); }
.nextup img { flex: none; width: 88px; height: 88px; border-radius: var(--radius-m); object-fit: cover; }
.nextup__txt { flex: 1; min-width: 0; font-size: var(--t-small); line-height: 1.5; }
.nextup__txt > span { display: block; }
.nextup__k { font-size: var(--t-cap); font-weight: 700; color: var(--teal); }
.nextup b { display: block; margin: 4px 0 6px; font-size: var(--t-h4); line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); transition: color .15s; }
.nextup::after { content: ""; flex: none; width: 11px; height: 11px; margin-right: var(--s-2); border-right: 2px solid var(--teal); border-top: 2px solid var(--teal); transform: rotate(45deg); }
.after__h { margin: var(--s-7) 0 var(--s-5); font-size: var(--t-h3); line-height: 1.15; }
.issues { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.issues a { display: block; padding: 12px 16px; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-m); font-size: var(--t-small); font-weight: 700; color: var(--ink); text-decoration: none; }
.issues a:hover { border-color: var(--ink-3); color: var(--teal); }
.issues a span { display: block; margin-top: 2px; font-size: var(--t-cap); font-weight: 500; color: var(--ink-3); }
@media (max-width: 960px) {
  .stories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { grid-template-columns: 1fr; }
  .feature__vis { min-height: 220px; }
  .feature__who img { width: 112px; height: 112px; }
}
@media (max-width: 720px) {
  .issuebar { position: static; }
  .nextup { align-items: flex-start; }
  .nextup img { width: 64px; height: 64px; }
  .nextup::after { display: none; }
}
@media (max-width: 640px) { .stories__grid { grid-template-columns: 1fr; } }

/* Round 4 (19 Nov review call) */
/* Tighter sections where two blocks sat too far apart. */
.section--snug { padding-top: calc(var(--section) * .75); padding-bottom: calc(var(--section) * .75); }
.section--snug-end { padding-bottom: calc(var(--section) * .75); }
.section--snug .head { margin-bottom: var(--s-6); }
.hero:not(.hero--page) h1 { max-width: 18ch; }
.globe { min-height: 460px; }

/* Mission figure: the full width of the page but shallow, with a title above and the legend beneath, as a figure in a paper would have. */
.curve__title { margin-bottom: var(--s-4); font-size: var(--t-body); font-weight: 600; line-height: 1.35; color: var(--ink); }
.curve__title b { font-weight: 700; }
.curve__plot { overflow-x: auto; }
.curve__plot svg { min-width: 720px; }   /* on a phone the plot scrolls sideways, so its labels stay readable */

/* FAQ cards: each question is its own container that opens. The one-line answer stays visible under the
   question; the full answer opens on a tinted ground so it reads as the answer, not as more question. */
.faq__list { display: grid; gap: var(--s-3); max-width: 900px; border-top: 0; border-image: none; }
.faq__list details { background: #fff; border-radius: var(--radius-l); box-shadow: 0 0 0 1px var(--rule); overflow: hidden; }
.faq__list details[open] { box-shadow: 0 0 0 1px var(--rule), 0 12px 28px rgba(17,29,47,.08); }
.faq__list summary { list-style: none; position: relative; cursor: pointer; padding: 20px 72px 20px var(--s-5); font-size: var(--t-body); font-weight: 700; line-height: 1.3; color: var(--ink); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: ""; position: absolute; right: var(--s-5); top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: linear-gradient(var(--teal), var(--teal)) center / 12px 2px no-repeat, linear-gradient(var(--teal), var(--teal)) center / 2px 12px no-repeat, var(--paper-2); }
.faq__list details[open] summary::after { background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, var(--teal); }
.faq__list summary:hover::after { box-shadow: 0 0 0 2px var(--teal); }
.faq__list summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; border-radius: var(--radius-l); }
.faq__list .faq__brief { display: block; margin-top: 6px; font-size: var(--t-small); font-weight: 500; line-height: 1.5; color: var(--ink-2); }
.faq__list details > p { margin: 0; padding: var(--s-4) var(--s-5) var(--s-5); background: var(--paper-2); border-top: 1px solid var(--rule); font-size: var(--t-small); line-height: 1.6; color: var(--ink-2); }

/* How we work: the three phases as one row, title and one sentence each. */
.phases--brief { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); padding-top: var(--s-6); }
.phases--brief .phase { display: block; padding: 0; border-bottom: 0; }
.phases--brief .phase > div > p { max-width: 34ch; }

/* Team: larger portraits in the hero, larger text in "Why we started". */
.band--photos .photos img { aspect-ratio: 1; }
@media (min-width: 961px) { .band--photos { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.prose--lg { max-width: 58ch; }
.prose--lg p { font-size: var(--t-h4); line-height: 1.45; }

/* Newsletter: the sign-up as its own box lower on the page (the hero button jumps to it). */
.signup--box { background: #fff; border-radius: var(--radius-l); padding: var(--s-6); box-shadow: 0 0 0 1px var(--rule), 0 18px 40px rgba(17,29,47,.10); }
.signup--box .lead { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .phases--brief { grid-template-columns: 1fr; gap: var(--s-7); } }

/* Round 5 (second 19 Nov review call) */
/* The evidence gap, marked on the curve. */
.curve .gap__guide { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 5 6; }
.curve .gap__span { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.curve .gap__label { font: 700 15px var(--font); fill: var(--ink); }
.curve.anim-ready .gap { opacity: 0; }
.curve.is-in .gap { animation: ssg-appear .5s ease 2s both; }
.faq__more { display: inline-block; margin-left: 4px; font-weight: 700; }
/* FAQ heading beside the questions on wide screens, so the section uses its width and is shorter. */
@media (min-width: 961px) {
  #faq > .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s-7); align-items: start; }
  #faq .head { display: block; margin: 0; }
  #faq .faq__list { max-width: none; }
}

/* Body figure: what we can measure, by area. Radio buttons hold the choice; the labels on the figure pick one. */
.bodymap { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: var(--s-7); align-items: center; }
.bodymap > input { position: absolute; opacity: 0; pointer-events: none; }
.bodymap__fig { position: relative; container-type: inline-size; aspect-ratio: 520 / 440; }
.bodymap__fig svg { position: absolute; left: 50%; top: 0; height: 100%; width: auto; translate: -50% 0; fill: #D5E9F4; stroke: #D5E9F4; stroke-linecap: round; }
.bodymap__spot { position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px #0078BA, 0 0 0 6px rgba(0,120,186,.16); cursor: pointer; transition: box-shadow .2s ease, background-color .2s ease; }
.bodymap__spot span { position: absolute; top: 50%; translate: 0 -50%; white-space: nowrap; font-size: var(--t-small); font-weight: 600; color: var(--ink-2); }
.bodymap__spot::after { content: ""; position: absolute; top: 50%; height: 2px; margin-top: -1px; width: var(--line, 15cqw); background: var(--rule); }
.bodymap__spot--r::after { left: calc(100% + 8px); }
.bodymap__spot--r span { left: calc(100% + 16px + var(--line, 15cqw)); }
.bodymap__spot--l::after { right: calc(100% + 8px); }
.bodymap__spot--l span { right: calc(100% + 16px + var(--line, 15cqw)); }
.bodymap__spot:hover { box-shadow: inset 0 0 0 3px #0078BA, 0 0 0 9px rgba(0,120,186,.22); }
.bodymap > input:nth-of-type(1):checked ~ .bodymap__fig .bodymap__spot:nth-of-type(1),
.bodymap > input:nth-of-type(2):checked ~ .bodymap__fig .bodymap__spot:nth-of-type(2),
.bodymap > input:nth-of-type(3):checked ~ .bodymap__fig .bodymap__spot:nth-of-type(3),
.bodymap > input:nth-of-type(4):checked ~ .bodymap__fig .bodymap__spot:nth-of-type(4),
.bodymap > input:nth-of-type(5):checked ~ .bodymap__fig .bodymap__spot:nth-of-type(5) { background: #0078BA; box-shadow: inset 0 0 0 3px #0078BA, 0 0 0 9px rgba(0,120,186,.22); }
.bodymap > input:nth-of-type(1):checked ~ .bodymap__fig .bodymap__spot:nth-of-type(1) span,
.bodymap > input:nth-of-type(2):checked ~ .bodymap__fig .bodymap__spot:nth-of-type(2) span,
.bodymap > input:nth-of-type(3):checked ~ .bodymap__fig .bodymap__spot:nth-of-type(3) span,
.bodymap > input:nth-of-type(4):checked ~ .bodymap__fig .bodymap__spot:nth-of-type(4) span,
.bodymap > input:nth-of-type(5):checked ~ .bodymap__fig .bodymap__spot:nth-of-type(5) span { color: var(--ink); font-weight: 700; }
.bodymap > input:nth-of-type(1):focus-visible ~ .bodymap__fig .bodymap__spot:nth-of-type(1),
.bodymap > input:nth-of-type(2):focus-visible ~ .bodymap__fig .bodymap__spot:nth-of-type(2),
.bodymap > input:nth-of-type(3):focus-visible ~ .bodymap__fig .bodymap__spot:nth-of-type(3),
.bodymap > input:nth-of-type(4):focus-visible ~ .bodymap__fig .bodymap__spot:nth-of-type(4),
.bodymap > input:nth-of-type(5):focus-visible ~ .bodymap__fig .bodymap__spot:nth-of-type(5) { outline: 3px solid var(--cyan); outline-offset: 4px; }
.bodymap__panel { display: none; }
.bodymap > input:nth-of-type(1):checked ~ .bodymap__panels .bodymap__panel:nth-child(1),
.bodymap > input:nth-of-type(2):checked ~ .bodymap__panels .bodymap__panel:nth-child(2),
.bodymap > input:nth-of-type(3):checked ~ .bodymap__panels .bodymap__panel:nth-child(3),
.bodymap > input:nth-of-type(4):checked ~ .bodymap__panels .bodymap__panel:nth-child(4),
.bodymap > input:nth-of-type(5):checked ~ .bodymap__panels .bodymap__panel:nth-child(5) { display: block; }
.bodymap__panel h3 { font-size: var(--t-h3); line-height: 1.15; padding-bottom: var(--s-4); border-bottom: 3px solid; border-image: var(--fade) 1; }
.bodymap__panel ul { list-style: none; margin: 0; padding: 0; }
.bodymap__panel li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--rule); }
.bodymap__panel li b { color: var(--ink); font-weight: 700; }
.bodymap__panel li span { grid-column: 1; font-size: var(--t-small); line-height: 1.5; }
.bodymap__panel li em { grid-column: 2; grid-row: 1; align-self: start; font-style: normal; font-size: var(--t-cap); font-weight: 700; line-height: 1.3; color: #127C87; background: #E7F5F7; border-radius: var(--radius-s); padding: 4px 10px; white-space: nowrap; }
.bodymap__panel li.is-site em { color: #fff; background: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .bodymap__panel { animation: ssg-panel .25s ease both; } }
@media (max-width: 860px) {
  .bodymap { display: block; }
  .bodymap__fig { display: none; }
  .bodymap .bodymap__panel { display: block; margin-top: var(--s-6); animation: none; }
  .bodymap .bodymap__panel:first-child { margin-top: 0; }
  .bodymap__panel h3 { font-size: var(--t-h4); }
}

/* Why a randomised controlled trial: the argument on the left, one schematic on the right. The top bar is a study
   with no placebo group (everything mixed together); the two below show the placebo group taking that out. */
.rctsec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-8); align-items: center; }
.rctsec__say h2 { max-width: 17ch; }
.rctsec__say p { margin-top: var(--s-4); max-width: 46ch; }
.rctsec__say .textlink { display: inline-block; margin-top: var(--s-5); }
.rct { margin: 0; }
.rct__group { margin-top: var(--s-6); font-size: var(--t-small); font-weight: 700; color: var(--ink); }
.rct__group:first-child { margin-top: 0; }
.rct__row { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: var(--s-3); margin-top: var(--s-3); font-size: var(--t-cap); font-weight: 600; color: var(--ink-2); }
.rct__verdict { margin-top: var(--s-3); padding-left: calc(96px + var(--s-3)); font-size: var(--t-small); line-height: 1.45; max-width: 62ch; }
.rct__verdict--no { color: var(--ink-3); }
.rct__verdict--yes { color: var(--ink); font-weight: 700; }
.rct .caption { margin-top: var(--s-5); }
.rct__bar { display: flex; height: 34px; border-left: 2px solid var(--ink); }
.rct__seg { display: block; width: var(--w); height: 100%; transform-origin: left; }
.rct__seg--base { background: #B9C6CE; }
.rct__seg--effect { background: var(--fade); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.rct__seg--mix { background: repeating-linear-gradient(135deg, #B9C6CE 0 9px, #7EC6E4 9px 18px); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.rct.anim-ready .rct__seg { transform: scaleX(0); }
.rct.is-in .rct__seg { animation: ssg-draw .7s cubic-bezier(.2,.7,.2,1) .2s both; }
.rct.is-in .rct__seg--effect { animation-delay: .9s; }
@media (max-width: 960px) { .rctsec { grid-template-columns: 1fr; gap: var(--s-6); } }

.globe .globe__sub { margin-top: var(--s-6); font-size: var(--t-small); font-weight: 700; color: #fff; }

/* How we work: one continuous flow. The line runs through every step; the numbers sit on it. */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; position: relative; max-width: 760px; }
.flow::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 3px; background: linear-gradient(180deg, #009FE5, #3AD59F); border-radius: 2px; }
.flow li { counter-increment: flow; position: relative; padding: 0 0 var(--s-7) 76px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 3px #0078BA; font-weight: 700; font-size: var(--t-body); color: var(--ink); }
.flow li:last-child::before { background: var(--fade-ink); box-shadow: none; color: #fff; }
.flow h3 { font-size: var(--t-h3); line-height: 1.15; padding-top: 6px; }
.flow p { margin-top: var(--s-3); max-width: 56ch; }

/* Team: one headline number. It counts up when scripts and the browser allow; otherwise it simply reads 250+. */
@property --stat { syntax: "<integer>"; initial-value: 0; inherits: false; }
.stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin: 0 0 var(--s-6); }
.stat__n { font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; background: var(--fade-ink); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-size: var(--t-lead); font-weight: 600; color: var(--ink); max-width: 28ch; }
.stat.anim-ready .stat__n { --stat: var(--to); counter-reset: stat var(--stat); }   /* reads 250+ until it scrolls into view, then counts up from 0 */
.stat.anim-ready .stat__n span { display: none; }
.stat.anim-ready .stat__n::after { content: counter(stat) "+"; }
.stat.is-in .stat__n { animation: stat-count 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes stat-count { from { --stat: 0; } to { --stat: var(--to); } }

/* Launch pass: use the width on large screens so sections are shorter and less empty. */
@media (min-width: 961px) {
  /* Heading beside its text, not above it (Why we started, Get The Evidence Brief). */
  .split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: var(--s-7); align-items: start; }
  .split > h2 { margin-bottom: 0; }
  .split .prose--lg { max-width: 68ch; }
  .split .signup--box { max-width: 640px; }
  /* Advisers: photo beside the text, two across. */
  .people--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people--wide .person { display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: var(--s-5); align-content: start; }
  .people--wide .person img { grid-row: 1 / span 8; max-width: 150px; }
  .people--wide .person > :not(img) { grid-column: 2; }
  .people--wide .person h3 { margin-top: 0; }
  .people--wide .person__bio, .people--wide .person__quote { max-width: none; }
}
@media (min-width: 1100px) {
  /* The five steps in one row, joined by the line. */
  .flow { max-width: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-5); }
  .flow::before { left: 22px; right: calc((100% - 4 * var(--s-5)) / 5 - 22px); top: 21px; bottom: auto; width: auto; height: 3px; background: linear-gradient(90deg, #009FE5, #3AD59F); }
  .flow li { padding: 64px 0 0; }
  .flow h3 { font-size: var(--t-h4); line-height: 1.2; padding-top: 0; }
  .flow p { font-size: var(--t-small); }
}

/* What makes us different: the three points in one teal container, so they stand apart from the page. */
.different { background: linear-gradient(68deg, var(--teal-deep), var(--teal)); color: #fff; border-radius: var(--radius-l); padding: clamp(24px, 4vw, 48px); }
.different h2 { color: #fff; }
.different__lead { margin-top: var(--s-3); max-width: 52ch; font-size: var(--t-lead); font-weight: 600; color: #fff; }
.different .items { margin-top: var(--s-5); border-top: 2px solid rgba(255,255,255,.65); border-image: none; }
.different .item { padding: var(--s-5) 0 var(--s-4); border-bottom: 0; }
.different .item h3 { font-size: var(--t-h4); color: #fff; }
.different .item p { color: #E6F4F6; }
.different > .btn { margin-top: var(--s-3); }
.different .actions { margin-top: var(--s-3); }
.different .textlink { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
.different .textlink:hover { color: #fff; text-decoration-color: #fff; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { gap: var(--s-4); }
  .nav__link { font-size: 15px; }
}
@media (max-width: 960px) {
  .nav__inner { position: relative; }
  .nav__hamburger { display: block; }
  .nav__links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--gutter) var(--s-5); border-bottom: 1px solid var(--rule); box-shadow: 0 12px 24px rgba(17,29,47,.08); }
  .nav__links.open { display: flex; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: var(--t-body); }
  .nav__link[aria-current="page"] { text-underline-offset: 0.3em; }
  .nav__links .btn { margin-top: var(--s-4); }

  .hero__grid, .hero--page .hero__grid, .hero__fact, .path__foot, .head, .rows > li, .closing__grid, .faq, .callout, .statements { grid-template-columns: 1fr; gap: var(--s-5); }
  .callout { justify-items: start; }
  .items--3 { --cols: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .linklist a { grid-template-columns: 1fr; gap: var(--s-1); }

  /* Path becomes a vertical track */
  .path { grid-template-columns: 1fr; padding-left: 36px; }
  .path::before { left: 8px; right: auto; top: 6px; bottom: 6px; width: 4px; height: auto; background: linear-gradient(180deg, var(--brand-blue), var(--brand-green)); }
  .stage { padding: 0 0 var(--s-6); display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline; }
  .stage__name, .stage > .stage__name:first-child { margin-top: 0; }
  .path--tall .stage__name { min-height: 0; display: block; }
  .stage__time { grid-column: 1 / -1; height: auto; margin-bottom: var(--s-2); }
  .stage__body { grid-column: 1 / -1; margin-top: var(--s-2); }
  .stage::before, .path--pay .stage:not(:first-child)::before { display: block; left: -36px; top: 2px; }
  .stage__pay { position: static; grid-column: 1 / -1; justify-self: start; margin-top: var(--s-3); }

  .register__labels { display: none; }
  .study { grid-template-columns: 1fr; gap: var(--s-2); }
  .study__k { display: block; font-size: var(--t-cap); font-weight: 600; color: var(--ink-3); margin-top: var(--s-2); }
  .study .study__go { margin-top: var(--s-3); }
}
@media (max-width: 720px) {
  .fig1__plot { --label: 0px; }
  .fig1__row { grid-template-columns: 1fr; min-height: 0; padding-top: var(--s-3); }
  .fig1__name { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; position: relative; z-index: 1; }
  .fig1__name small { display: inline; }
  .fig1__track { height: 64px; }
  .fig1__axis { left: 0; }
  .fig1__axis::after { content: ""; position: absolute; left: 0; right: 0; bottom: 28px; height: 1px; background: var(--rule); }
  .fig1__tick { top: auto; height: 8px; bottom: 28px; background: var(--ink-3); }
  .fig1__u { display: none; }
  .fig1__note--ssg { font-size: var(--t-small); left: calc(4 / 60 * 100% + 22px); }
  .fig1__note--uni { top: -2px; font-size: var(--t-cap); }

  .items, .items--3, .ticklist, .quotes, .facts { grid-template-columns: 1fr; }
  .facts { gap: var(--s-4); }

  /* Tables stack into labelled rows; each td carries data-k */
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table th, .table td { display: block; width: auto; }
  .table tr { padding: var(--s-4) 0; border-bottom: 1px solid var(--rule); }
  .section--ink .table tr { border-bottom-color: var(--rule-dark); }
  .table tbody th { padding: 0 0 var(--s-2); border: 0; font-size: var(--t-body); }
  .table td { padding: 4px 0; border: 0; }
  .table td::before { content: attr(data-k); display: block; color: var(--ink-3); font-size: 12px; font-weight: 600; }
  .section--ink .table td::before { color: var(--on-ink-2); }
  .table--compare td.is-us { padding: 8px 10px; margin-top: 4px; border-radius: var(--radius-s); }
  .table--grid tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px var(--s-4); }
  .table--grid tbody th { grid-column: 1 / -1; padding: 0; }
  .table--grid td { padding: 0; font-size: var(--t-cap); }

  .footer__legal span:first-child { width: 100%; }
}
@media (max-width: 480px) { .hero h1 { letter-spacing: -0.03em; } }
