/* International Perimenopause Alliance: design system v2
   Bold and editorial: full-bleed images, Newsreader serif headlines, Satoshi for numbers and body text, all sentence case,
   greige paper, orange running into pink, reeded glass over photos.
   No italics and no small labels. Charts keep their own blue on white cards. */


@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("../fonts/Satoshi-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-latin-ext.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-latin.woff2") format("woff2"); font-weight: 300 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #ece7e4;
  --paper-2: #e2dbd8;
  --stone: #c9c1bf;
  --white: #ffffff;
  --line: #cfc5c1;
  --ink: #1f1a1b;
  --ink-2: #463d3e;
  --mute: #6b605f;
  --accent: #ee5220;
  --accent-ink: #b0390c;
  --pink: #f59ac8;
  --blush: #f6d7e4;
  --teal: #8ccfcc;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Satoshi", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(16px, 3vw, 40px);
  --max: 1520px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
em { font-style: normal; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 11vw, 176px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--blush { background: var(--blush); }
.section--white { background: var(--white); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 32px; }
.c-12 { grid-column: 1 / -1; }
.c-8 { grid-column-end: span 8; } .c-7 { grid-column-end: span 7; } .c-6 { grid-column-end: span 6; } .c-5 { grid-column-end: span 5; } .c-4 { grid-column-end: span 4; }
.s-5 { grid-column-start: 5; } .s-6 { grid-column-start: 6; } .s-7 { grid-column-start: 7; } .s-8 { grid-column-start: 8; } .s-9 { grid-column-start: 9; }
@media (max-width: 960px) { .grid > [class*="c-"] { grid-column: 1 / -1; } }

/* ---------- Type ---------- */
.mega, .display, .h2, .h3 { font-family: var(--display); }
.mega { font-weight: 800; font-size: clamp(52px, 12vw, 220px); line-height: .88; letter-spacing: -.05em; }
.display { font-weight: 700; font-size: clamp(44px, 7.4vw, 132px); line-height: .94; letter-spacing: -.045em; }
.h2 { font-weight: 700; font-size: clamp(36px, 4.8vw, 84px); line-height: .98; letter-spacing: -.04em; }
.h3 { font-weight: 700; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.05; letter-spacing: -.025em; }
.display em, .h2 em, .mega em { color: var(--accent); }
.lead { font: 400 clamp(20px, 1.9vw, 27px)/1.4 var(--sans); letter-spacing: -.01em; max-width: 34em; }
.body { max-width: 36em; color: var(--ink-2); }
.section--ink .body, .section--ink .lead { color: #d9d0cd; }
.section--ink .h2 em { color: var(--pink); }
.small { font-size: 15px; color: var(--mute); }
.section--ink .small { color: #a99d9a; }
.small a { color: inherit; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--ink); font: 600 16px/1 var(--sans); text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); white-space: nowrap; cursor: pointer; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: #fff; color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1.3 var(--sans); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 4px; }
.link:hover { color: var(--accent-ink); }
.section--ink .link:hover { color: var(--pink); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: none; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand__name { font: 800 15px/1 var(--display); letter-spacing: .01em; }
.brand__name b { display: block; font-weight: 800; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav a:not(.btn) { font: 600 15px/1 var(--sans); text-decoration: none; color: var(--ink); padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav a:not(.btn):hover { border-color: var(--ink); }
.nav a[aria-current="page"] { border-color: var(--accent); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 999px; height: 44px; padding: 0 18px; font: 600 15px/1 var(--sans); color: var(--ink); cursor: pointer; }
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; align-items: center; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 40px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; overflow-y: auto; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { font: 850 clamp(40px, 11vw, 72px)/1 var(--display); padding: 12px 0; border-bottom: 2px solid var(--ink); }
  .nav a[aria-current="page"] { color: var(--accent); border-color: var(--ink); }
  .nav .btn { margin-top: 28px; align-self: flex-start; min-height: 56px; font-size: 17px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Media + reeded glass ---------- */
.media { position: relative; overflow: hidden; background: var(--paper-2); }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.r-wide { aspect-ratio: 16 / 9; } .r-band { aspect-ratio: 21 / 9; } .r-photo { aspect-ratio: 3 / 2; } .r-tall { aspect-ratio: 4 / 5; }
@media (max-width: 700px) { .r-band, .r-wide { aspect-ratio: 4 / 3; } }
.glass { isolation: isolate; }
.glass::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: var(--gl, auto); right: var(--gr, 0); width: var(--gw, 34%); z-index: 1; pointer-events: none;
  -webkit-backdrop-filter: blur(16px) saturate(1.5) brightness(1.05); backdrop-filter: blur(16px) saturate(1.5) brightness(1.05);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0, rgba(255,255,255,0) 6px, rgba(31,26,27,.07) 13px, rgba(255,255,255,.16) 16px),
    linear-gradient(90deg, rgba(255,255,255,.08), rgba(245,154,200,.14));
  box-shadow: inset 1px 0 0 rgba(255,255,255,.4);
}
.glass--l { --gl: 0; --gr: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; color: #fff; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg video { width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; }
.hero__bg::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(31,26,27,.05) 25%, rgba(31,26,27,.78) 100%), linear-gradient(90deg, rgba(238,82,32,.38), rgba(238,82,32,0) 60%); }
.hero__content { position: relative; z-index: 3; width: 100%; padding-top: 140px; padding-bottom: clamp(32px, 5vw, 64px); }
.hero .display { max-width: 11.5em; }
.hero .display em { color: var(--pink); }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 48px); }
.hero__foot .lead { color: #f4eeec; margin: 0; max-width: 30em; }

.page-hero { padding: clamp(56px, 9vw, 136px) 0 clamp(40px, 6vw, 88px); }
.page-hero .lead { margin-top: 36px; }

/* ---------- Big numbers (APT-style rows) ---------- */
.bignums { border-top: 3px solid var(--ink); }
.bignum { display: grid; grid-template-columns: minmax(0, auto) clamp(110px, 14vw, 220px) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 48px); padding: clamp(20px, 3vw, 36px) 0; border-bottom: 3px solid var(--ink); }
.bignum .mega { color: var(--accent); white-space: nowrap; }
.bignum__img { aspect-ratio: 4 / 5; overflow: hidden; }
.bignum__img img { width: 100%; height: 100%; object-fit: cover; }
.bignum p:not(.mega) { margin: 0; font: 600 clamp(18px, 1.7vw, 24px)/1.3 var(--sans); max-width: 22em; }
@media (max-width: 900px) { .bignum { grid-template-columns: minmax(0, 1fr) 96px; } .bignum .mega { grid-column: 1 / -1; } .bignum p:not(.mega) { grid-column: 1; grid-row: 2; } .bignum__img { grid-column: 2; grid-row: 2; } }

/* ---------- 2026 split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 92svh; }
.split__art { position: relative; background: #f7a7c4 url("../img/color-field.svg") center / cover no-repeat; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.split__art .year { font: 900 clamp(110px, 19vw, 340px)/.8 var(--display); color: #fff; letter-spacing: -.04em; margin: 0; }
.split__text { padding: clamp(48px, 7vw, 120px) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 28px; background: var(--blush); }
.split__text p { margin: 0; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; min-height: 0; } .split__art { aspect-ratio: 1; } }

/* ---------- Findings index ---------- */
.index { border-top: 3px solid var(--ink); }
.index__row { display: grid; grid-template-columns: clamp(64px, 8vw, 120px) minmax(0, 1fr) clamp(160px, 18vw, 280px) 48px; gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(18px, 2.4vw, 28px) clamp(0px, 1vw, 12px); border-bottom: 1px solid var(--ink); text-decoration: none; transition: background .3s var(--ease); }
.index__row .num { font: 900 clamp(48px, 5vw, 84px)/.9 var(--display); color: var(--accent); }
.index__row .h3 { transition: transform .35s var(--ease); }
.index__thumb { aspect-ratio: 16 / 10; background: var(--white); overflow: hidden; }
.index__thumb img { width: 100%; height: 100%; object-fit: cover; }
.index__thumb--chart img { object-fit: contain; padding: 6px; }
.index__arr { font: 800 40px/1 var(--display); transition: transform .35s var(--ease); }
.index__row:hover { background: var(--blush); }
.index__row:hover .h3 { transform: translateX(8px); }
.index__row:hover .index__arr { transform: translateX(6px); color: var(--accent); }
@media (max-width: 900px) { .index__row { grid-template-columns: 56px minmax(0, 1fr) 32px; } .index__thumb { display: none; } }

/* ---------- Charts (uncropped, white card, source kept) ---------- */
.figure { margin: 0; background: var(--white); padding: clamp(14px, 2.6vw, 40px); }
.figure img { width: 100%; height: auto; }
.figure figcaption { margin-top: 16px; padding-top: 14px; border-top: 1px solid #e6e0dd; font-size: 15px; color: var(--mute); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.figure figcaption a { color: var(--accent-ink); }

/* ---------- Evidence article ---------- */
.evidence { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.toc ol { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.toc a { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--ink); text-decoration: none; font: 600 15px/1.3 var(--sans); color: var(--mute); transition: color .2s; }
.toc a span { font: 900 22px/1 var(--display); color: var(--accent); }
.toc a:hover, .toc a.is-active { color: var(--ink); }
.finding { padding-bottom: clamp(64px, 9vw, 128px); margin-bottom: clamp(64px, 9vw, 128px); border-bottom: 3px solid var(--ink); }
.finding:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.finding__head { display: flex; gap: clamp(16px, 2.4vw, 32px); align-items: flex-start; margin-bottom: clamp(28px, 4vw, 48px); }
.finding__head .num { font: 900 clamp(64px, 8vw, 140px)/.8 var(--display); color: var(--accent); }
.finding .body { margin-top: 32px; font-size: 19px; }
.callout { margin-top: 32px; padding: clamp(24px, 3vw, 40px); background: var(--accent); color: var(--ink); font: 700 clamp(22px, 2.2vw, 32px)/1.15 var(--display); max-width: 30em; }
@media (max-width: 960px) { .evidence { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } }

/* ---------- Gap (4 parts) ---------- */
.gap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid currentColor; }
.gap__item { padding: 28px 24px 8px 0; }
.gap__item + .gap__item { padding-left: 24px; border-left: 1px solid currentColor; }
.gap__n { font: 900 clamp(72px, 8vw, 128px)/.8 var(--display); color: var(--accent); }
.section--ink .gap__n { color: var(--pink); }
.gap__t { font: 800 clamp(26px, 2.4vw, 36px)/1 var(--display); margin: 20px 0 12px; }
.gap__d { margin: 0; font-size: 17px; }
.section--ink .gap__d { color: #d9d0cd; }
@media (max-width: 1000px) { .gap { grid-template-columns: 1fr 1fr; } .gap__item:nth-child(3) { padding-left: 0; border-left: 0; } .gap__item { padding-bottom: 32px; } }
@media (max-width: 560px) { .gap { grid-template-columns: 1fr; } .gap__item + .gap__item { padding-left: 0; border-left: 0; border-top: 1px solid currentColor; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: clamp(40px, 6vw, 80px); padding-top: 130px; }
.timeline__bar { height: 6px; background: linear-gradient(90deg, var(--stone) 0%, var(--pink) 45%, var(--accent) 80%, var(--ink) 100%); position: relative; }
.timeline__mark { position: absolute; bottom: 0; padding-bottom: 28px; transform: translateX(-50%); width: 240px; text-align: center; }
.timeline__mark::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--paper); border: 5px solid var(--accent); }
.timeline__mark.is-end { transform: translateX(-100%); text-align: right; }
.timeline__mark.is-end::after { left: auto; right: -12px; margin-left: 0; background: var(--ink); border-color: var(--ink); }
.timeline__k { font: 900 clamp(28px, 3vw, 44px)/1 var(--display); color: var(--accent); margin: 0; }
.timeline__v { font: 600 17px/1.3 var(--sans); margin: 8px 0 0; }
.timeline__scale { display: flex; justify-content: space-between; margin-top: 24px; font: 700 15px/1 var(--display); color: var(--mute); }
@media (max-width: 760px) {
  .timeline { padding-top: 0; }
  .timeline__bar, .timeline__scale { display: none; }
  .timeline__mark, .timeline__mark.is-end { position: static; transform: none; width: auto; text-align: left; padding: 20px 0 20px 24px; border-left: 6px solid var(--accent); }
  .timeline__mark::after { display: none; }
}

/* ---------- KPI wall ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.kpi { padding: 28px 24px 12px 0; }
.kpi + .kpi { padding-left: 24px; border-left: 1px solid var(--ink); }
.kpi__n { font: 900 clamp(56px, 6vw, 104px)/.85 var(--display); color: var(--accent); margin: 0; }
.kpi__l { margin: 16px 0 0; font-size: 16px; font-weight: 500; }
@media (max-width: 960px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi:nth-child(3) { padding-left: 0; border-left: 0; } .kpi { padding-bottom: 28px; } }

.quote { font: 800 clamp(34px, 4.6vw, 80px)/1 var(--display); letter-spacing: -.015em; max-width: 18em; margin: 0; }

/* ---------- Aims ---------- */
.aims { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.aims__img { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 960px) { .aims { grid-template-columns: 1fr; } .aims__img { position: static; max-width: 520px; } }
.olist { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); counter-reset: n; }
.olist > li { display: grid; grid-template-columns: clamp(64px, 7vw, 120px) minmax(0, 1fr); gap: clamp(12px, 2vw, 28px); padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--ink); counter-increment: n; }
.olist > li::before { content: counter(n, decimal-leading-zero); font: 900 clamp(40px, 4.4vw, 72px)/.85 var(--display); color: var(--accent); }
.olist p { margin: 0; }
.olist__t { font: 800 clamp(24px, 2.4vw, 38px)/1 var(--display); letter-spacing: -.005em; }
.olist__d { margin-top: 10px !important; color: var(--ink-2); max-width: 40em; }
.olist--refs > li { grid-template-columns: 56px minmax(0, 1fr); font-size: 16px; color: var(--ink-2); }
.olist--refs > li::before { content: counter(n); font-size: 32px; }
.olist--refs a { color: var(--accent-ink); font-weight: 600; white-space: nowrap; }

/* ---------- Disciplines / members / welcome ---------- */
.words { display: flex; flex-wrap: wrap; gap: 0 .3em; margin: 0; font: 850 clamp(36px, 5.4vw, 92px)/.98 var(--display); letter-spacing: -.015em; }
.words span:nth-child(odd) { color: var(--accent); }
.words span::after { content: "/"; color: var(--ink); margin-left: .3em; }
.words span:last-child::after { content: none; }
.members { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 900px) { .members { grid-template-columns: 1fr 1fr; } }
.member__ph { aspect-ratio: 4 / 5; background: repeating-linear-gradient(135deg, var(--paper-2) 0 12px, var(--paper) 12px 24px); display: flex; align-items: center; justify-content: center; color: var(--mute); font-weight: 600; }
.member__n { margin: 16px 0 0; font: 800 24px/1 var(--display); }
.member__r { font-size: 15px; color: var(--mute); margin: 6px 0 0; }
.placeholder { display: inline-block; padding: 12px 16px; background: var(--blush); color: var(--accent-ink); font-weight: 600; font-size: 16px; }
.welcome { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.welcome li { padding: 14px 0; border-bottom: 1px solid var(--ink); font: 850 clamp(34px, 4.4vw, 68px)/1 var(--display); }
.welcome li:nth-child(odd) { color: var(--accent); }

/* ---------- Form ---------- */
.form { display: grid; gap: 20px; }
.field label { display: block; font: 600 16px/1.3 var(--sans); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; font: 400 18px/1.4 var(--sans); color: var(--ink); background: var(--white); border: 2px solid var(--ink); border-radius: 0; padding: 16px 18px; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(238,82,32,.2); }
.form-note { font-size: 15px; color: var(--mute); }

/* ---------- Full-bleed CTA ---------- */
.cta { position: relative; overflow: hidden; color: #fff; background: var(--ink); min-height: 90svh; display: flex; align-items: center; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img, .cta__bg video { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(238,82,32,.72) 0%, rgba(245,154,200,.5) 55%, rgba(31,26,27,.62) 100%); }
.cta .wrap { position: relative; padding-top: 120px; padding-bottom: 120px; }
.cta .lead { color: #fff; margin: 36px 0 44px; font-weight: 500; }

/* ---------- Next page ---------- */
.next { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: clamp(32px, 5vw, 64px) 0; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); text-decoration: none; }
.next .display { transition: color .25s; }
.next:hover .display { color: var(--accent); }
.next__arr { font: 900 clamp(48px, 7vw, 120px)/1 var(--display); transition: transform .3s var(--ease); }
.next:hover .next__arr { transform: translateX(10px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 112px) 0 40px; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; align-items: start; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__cols a { text-decoration: none; font: 600 18px/1.2 var(--sans); }
.footer__cols a:hover { color: var(--pink); }
.footer__wide { grid-column: span 2; }
.footer__disc { font-size: 16px; line-height: 1.55; color: #bfb3b1; max-width: 34em; margin: 0; }
.footer__base { margin-top: 56px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: #9a8f8c; }
.footer__mark { margin: clamp(40px, 6vw, 80px) 0 -0.1em; font: 900 31vw/.8 var(--display); letter-spacing: -.04em; color: var(--pink); text-align: center; white-space: nowrap; }
@media (max-width: 900px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr; } .footer__wide { grid-column: auto; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn .arr, .next__arr, .index__row .h3, .index__arr { transition: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bignum .mega { margin: 0; }
.mega, .display, .h2 { overflow-wrap: break-word; hyphens: auto; }
.finding__head .h2 { min-width: 0; flex: 1; }
.kpi { min-width: 0; }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } .kpi + .kpi { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink); } }
/* Satoshi caps sit ~0.02em low in a line-height:1 box; lift to optical centre */
.btn, .menu-toggle { padding-top: 0; padding-bottom: .05em; }
/* Big-number rows: keep the label readable next to the numeral */
.bignum { grid-template-columns: auto clamp(96px, 10vw, 160px) minmax(300px, 1fr); }
.bignum .mega { font-size: clamp(52px, 10vw, 184px); }
.bignum p:not(.mega) { font-weight: 500; text-wrap: pretty; max-width: 24em; }
.lead, .body, .olist__d, .gap__d, .kpi__l { text-wrap: pretty; }
.display, .h2, .h3, .mega, .quote { text-wrap: balance; }
@media (max-width: 1100px) { .bignum { grid-template-columns: minmax(0, 1fr) 110px; } .bignum .mega { grid-column: 1 / -1; } .bignum p:not(.mega) { grid-column: 1; grid-row: 2; } .bignum__img { grid-column: 2; grid-row: 2; } }
/* Big numerals at 80% of their original scale */
.bignum .mega { font-size: clamp(42px, 8vw, 147px); }
p.mega[aria-hidden="true"]:not(.bignum .mega) { font-size: clamp(42px, 9.6vw, 176px); }
.split__art .year { font-size: clamp(88px, 15.2vw, 272px); }
.kpi__n { font-size: clamp(45px, 4.8vw, 83px); }
.gap__n { font-size: clamp(58px, 6.4vw, 102px); }
.index__row .num { font-size: clamp(38px, 4vw, 67px); }
.finding__head .num { font-size: clamp(51px, 6.4vw, 112px); }
.olist > li::before { font-size: clamp(32px, 3.5vw, 58px); }

/* Serif display: Newsreader, light upright, sentence case */
.mega, .display, .h2, .h3, .quote, .callout, .gap__t, .olist__t, .member__n, .welcome li, .words, .next__arr, .index__arr,
.bignum .mega, .split__art .year, .kpi__n, .gap__n, .index__row .num, .finding__head .num, .toc a span, .timeline__k, .timeline__scale, .olist > li::before {
  font-family: var(--display); font-weight: 300; font-style: normal; font-variation-settings: "opsz" 72;
}
.mega { letter-spacing: -.035em; line-height: .9; }
.display { letter-spacing: -.03em; line-height: .98; }
.h2 { letter-spacing: -.025em; line-height: 1.02; }
.h3, .gap__t, .olist__t, .member__n { font-weight: 400; letter-spacing: -.015em; line-height: 1.1; }
.quote, .callout { font-weight: 300; line-height: 1.12; letter-spacing: -.02em; }
.welcome li, .words { letter-spacing: -.025em; }
.brand__name { font: 400 16px/1.05 var(--display); font-variation-settings: "opsz" 24; }
.brand__name b { font-weight: 500; }

/* Numbers in Satoshi */
.bignum .mega, p.mega[aria-hidden="true"], .split__art .year, .kpi__n, .gap__n, .index__row .num, .finding__head .num, .toc a span, .timeline__k, .timeline__scale, .olist > li::before {
  font-family: var(--sans); font-weight: 500; font-variation-settings: normal; letter-spacing: -.05em;
}
.split__art .year { font-weight: 700; }

/* ---------- Brand charts (rendered from src/charts.mjs) ---------- */
.chart { margin: 0; background: var(--white); padding: clamp(20px, 3.4vw, 56px); border-radius: 4px; }
.chart__head { margin-bottom: clamp(24px, 3vw, 40px); }
.chart__title { margin: 0; font: 400 clamp(26px, 2.6vw, 40px)/1.08 var(--display); letter-spacing: -.02em; max-width: 26em; text-wrap: balance; }
.chart__sub { margin: 12px 0 0; font-size: 16px; color: var(--mute); max-width: 52em; }
.chart__legend { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 500; }
.chart__legend li { display: flex; align-items: center; gap: 8px; }
.chart__legend i { width: 14px; height: 14px; border-radius: 3px; flex: none; }
.chart__foot { margin: clamp(20px, 3vw, 32px) 0 0; padding-top: 16px; border-top: 1px solid #eee8e5; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 14px; color: var(--mute); }
.chart__foot a { color: var(--accent-ink); font-weight: 500; }
.chart [data-tip] { position: relative; outline: none; }
.chart [data-tip]:hover::after, .chart [data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
  background: var(--ink); color: #fff; font: 500 13px/1.3 var(--sans); padding: 8px 10px; border-radius: 4px; white-space: nowrap; pointer-events: none;
}

/* grouped bars */
.cb { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; }
.cb__axis { margin: 0; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 14px; color: var(--mute); text-align: center; align-self: center; }
.cb__area { position: relative; height: clamp(300px, 34vw, 460px); margin: 8px 0 52px 36px; }
.cb__grid { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #efe9e6; }
.cb__grid.is-zero { border-top: 1.5px solid var(--ink); z-index: 2; }
.cb__grid b { position: absolute; right: calc(100% + 10px); top: -9px; font: 500 14px/1 var(--sans); color: var(--mute); font-variant-numeric: tabular-nums; }
.cb__groups { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 4vw, 64px); padding: 0 clamp(4px, 2vw, 24px); }
.cb__group { position: relative; height: 100%; }
.cb__bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
.cb__bar { position: relative; height: 100%; cursor: default; }
.cb__fill { position: absolute; left: 0; right: 0; border-radius: 4px 4px 0 0; transition: filter .2s; }
.cb__fill.is-neg { border-radius: 0 0 4px 4px; }
.cb__bar:hover .cb__fill, .cb__bar:focus-visible .cb__fill { filter: brightness(.92); }
.cb__ci { position: absolute; left: 50%; width: 1.5px; margin-left: -.75px; background: var(--ink); z-index: 3; }
.cb__ci::before, .cb__ci::after { content: ""; position: absolute; left: -5px; width: 11px; height: 1.5px; background: var(--ink); }
.cb__ci::before { top: 0; } .cb__ci::after { bottom: 0; }
.cb__val { position: absolute; left: 50%; transform: translate(-50%, -8px); font: 500 clamp(11px, 1.1vw, 15px)/1 var(--sans); color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; z-index: 3; }
.cb__val.is-hi { font-weight: 700; color: var(--ink); }
.cb__label { position: absolute; top: calc(100% + 16px); left: 0; right: 0; margin: 0; text-align: center; font: 500 clamp(13px, 1.3vw, 18px)/1.2 var(--sans); }

/* forest plots */
.fp { --labw: minmax(0, 1.25fr); }
.fp__row { display: grid; grid-template-columns: var(--labw) minmax(0, 1.2fr) 150px; gap: 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid #f1ece9; }
.fp__row:hover:not(.fp__axisrow):not(.fp__headrow) { background: #fbf6f4; }
.fp__headrow, .fp__axisrow { border-bottom: 0; padding: 0 0 6px; }
.fp__label { margin: 0; display: grid; gap: 2px; text-align: right; }
.fp__label b { font: 500 16px/1.3 var(--sans); }
.fp__label span { font-size: 14px; color: var(--mute); line-height: 1.35; }
.fp__track { position: relative; height: 28px; }
.fp__ref { position: absolute; top: -14px; bottom: -14px; border-left: 1.5px dashed var(--ink); opacity: .55; }
.fp__ci { position: absolute; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; }
.fp__pt { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; box-shadow: 0 0 0 2px var(--white); }
.fp__est { margin: 0; font: 500 15px/1.3 var(--sans); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fp__est span { color: var(--mute); font-weight: 400; }
.fp__headrow .fp__est { font-size: 13px; color: var(--mute); }
.fp__ticks { position: relative; height: 22px; border-top: 1.5px solid var(--ink); }
.fp__ticks span { position: absolute; top: 6px; transform: translateX(-50%); font: 500 14px/1 var(--sans); color: var(--mute); }
.fp__axis { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--mute); }
@media (max-width: 760px) {
  .fp__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "lab est" "trk trk"; gap: 8px 12px; }
  .fp__label { grid-area: lab; text-align: left; } .fp__est { grid-area: est; align-self: start; } .fp__track { grid-area: trk; }
  .fp__est span { display: block; font-size: 13px; }
  .fp__headrow { display: none; }
  .fp__axisrow { grid-template-areas: "trk trk"; } .fp__axisrow > span { display: none; } .fp__ticks { grid-area: trk; }
}

/* horizontal bars */
.hb__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; align-items: center; padding: 8px 0; }
.hb__label { margin: 0; text-align: right; font: 500 16px/1.3 var(--sans); color: var(--ink-2); }
.hb__track { position: relative; display: flex; align-items: center; gap: 10px; height: 30px; }
.hb__bar { display: block; height: 100%; border-radius: 0 4px 4px 0; min-width: 3px; transition: filter .2s; }
.hb__row:hover .hb__bar { filter: brightness(.94); }
.hb__val { font: 500 15px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--ink-2); white-space: nowrap; }
.hb__row.is-hi .hb__label, .hb__row.is-hi .hb__val { color: var(--ink); font-weight: 700; }
.hb__row.is-hi .hb__val { color: var(--accent-ink); }
@media (max-width: 760px) { .hb__row { grid-template-columns: 1fr; gap: 6px; } .hb__label { text-align: left; } }
.brand__name { font-size: 20px; } .brand svg { width: 44px; height: 44px; }

/* ---------- Founding members ---------- */
.members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
@media (max-width: 1200px) { .members { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .members { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .members { grid-template-columns: 1fr; } }
.member { display: flex; flex-direction: column; }
.member__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border: 0; }
.member__ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.04) brightness(1.03); transition: filter .6s var(--ease), transform .8s var(--ease); }
.member__ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(238,82,32,.22), rgba(245,154,200,.18)); mix-blend-mode: multiply; transition: opacity .6s var(--ease); pointer-events: none; }
.member:hover .member__ph img { filter: none; transform: scale(1.03); }
.member:hover .member__ph::after { opacity: 0; }
.member__initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #f7a7c4 url("../img/color-field.svg") center / cover no-repeat; color: #fff; font: 300 clamp(48px, 5vw, 80px)/1 var(--display); letter-spacing: -.03em; }
.member__n { margin: 18px 0 0; font: 400 clamp(20px, 1.6vw, 24px)/1.15 var(--display); letter-spacing: -.01em; text-wrap: balance; }
.member__r { margin: 10px 0 0; font-size: 15px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.member__p { margin: 10px 0 0; font-size: 14px; font-weight: 500; color: var(--accent-ink); }
@media (prefers-reduced-motion: reduce) { .member__ph img { transition: none; } .member:hover .member__ph img { transform: none; } }
.member__r span { display: block; } .member__r span + span { margin-top: 8px; }

/* Contact email */
.email { display: inline-block; font: 300 clamp(20px, 5.6vw, 36px)/1.15 var(--display); letter-spacing: -.02em; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 6px; margin-bottom: 32px; }
.email:hover { color: var(--accent-ink); }
.footer__email { margin: 0 0 16px; }
.footer__email a { font: 400 22px/1.2 var(--display); color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--pink); }
.footer__email a:hover { color: var(--pink); }
/* size the address to its own column so it always fits on one line */
:has(> .email) { container-type: inline-size; }
.email { font-size: clamp(18px, 6.6cqi, 36px); }
