/* ==========================================================================
   YOUTH DIVIDEND — editorial stylesheet
   Sections alternate between two palettes: .band.ink and .band.paper.
   Every component reads the same tokens, so the palette flips with the band.
   ========================================================================== */

:root {
  --accent: #E85B38;

  /* default (ink) palette, also used by chrome outside the bands */
  --bg: #12161C;
  --bg-2: #181D25;
  --ink: #F2EFE7;
  --ink-2: rgba(242, 239, 231, .74);
  --ink-3: rgba(242, 239, 231, .52);
  --ink-4: rgba(242, 239, 231, .30);
  --line: rgba(242, 239, 231, .13);
  --line-2: rgba(242, 239, 231, .26);

  --f-display: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --f-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --f-label: 'Jost', 'Inter Tight', system-ui, sans-serif;

  --gut: clamp(16px, 4vw, 56px);
  --max: 1480px;
  --nav-h: 84px;

  --ease: cubic-bezier(.19, 1, .22, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

.band { background: var(--bg); color: var(--ink); position: relative; }
.band.ink {
  --bg: #12161C; --bg-2: #181D25;
  --ink: #F2EFE7;
  --ink-2: rgba(242, 239, 231, .74);
  --ink-3: rgba(242, 239, 231, .52);
  --ink-4: rgba(242, 239, 231, .30);
  --line: rgba(242, 239, 231, .13);
  --line-2: rgba(242, 239, 231, .26);
}
.band.paper {
  --bg: #F2EFE7; --bg-2: #E8E4D9;
  --ink: #12161C;
  --ink-2: rgba(18, 22, 28, .72);
  --ink-3: rgba(18, 22, 28, .50);
  --ink-4: rgba(18, 22, 28, .28);
  --line: rgba(18, 22, 28, .14);
  --line-2: rgba(18, 22, 28, .26);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #12161C; }
body {
  margin: 0;
  background: #12161C;
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
input { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #F2EFE7; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
#view:focus { outline: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Primitives ---------- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.o { color: var(--accent); }
.dim { color: var(--ink-3); }
.serif { font-family: var(--f-serif); }
.label {
  font-family: var(--f-label);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  line-height: 1.4;
}
.lead {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(1.25rem, 1.05rem + .8vw, 1.8rem);
  line-height: 1.32;
  color: var(--ink-2);
  max-width: 36ch;
}
.display-xxl { font-size: clamp(4rem, 15vw, 16rem); font-weight: 800; line-height: .84; letter-spacing: -.055em; text-transform: uppercase; }
.display-xl { font-size: clamp(2.8rem, 7vw, 8rem); font-weight: 800; line-height: .92; letter-spacing: -.045em; }
.display-l { font-size: clamp(2.2rem, 4.6vw, 5rem); font-weight: 800; line-height: .95; letter-spacing: -.04em; }
.tick { display: block; width: 56px; height: 2px; background: var(--accent); }
.u {
  background: linear-gradient(var(--accent), var(--accent)) 0 96% / 0 .06em no-repeat;
  transition: background-size .7s var(--ease);
}
a:hover .u, a:focus-visible .u { background-size: 100% .06em; }

/* ---------- Arrows & links ---------- */
.arr {
  display: inline-grid;
  overflow: hidden;
  width: 1.4em;
  height: .72em;
  vertical-align: middle;
  flex: none;
  color: var(--accent);
}
.arr svg { grid-area: 1 / 1; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .7s var(--ease); }
.arr svg:last-child { transform: translateX(-130%); }
a:hover .arr svg:first-child, button:hover .arr svg:first-child, .hov:hover .arr svg:first-child { transform: translateX(130%); }
a:hover .arr svg:last-child, button:hover .arr svg:last-child, .hov:hover .arr svg:last-child { transform: none; }
.arr.back { transform: scaleX(-1); }

.link {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-label); font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  padding-block: 6px; position: relative;
}
.link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .7s var(--ease);
}
.link:hover::after, a:hover .link::after { transform: scaleX(1); transform-origin: left; }

.cta {
  display: inline-flex; align-items: center; gap: 22px;
  font-family: var(--f-label); font-weight: 500; font-size: 14px; letter-spacing: .24em; text-transform: uppercase;
  padding: 22px 30px; border: 1px solid var(--line-2); border-radius: 999px;
  transition: border-color .4s, background-color .4s, color .4s, transform .5s var(--ease);
}
.cta span { white-space: nowrap; }
.cta:hover { border-color: var(--accent); background: var(--accent); color: #F2EFE7; }
.cta:hover .arr { color: #F2EFE7; }
.magnetic { will-change: transform; }

/* ---------- Line art ---------- */
.art { width: 100%; height: auto; overflow: visible; }
.art path {
  fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.9s var(--ease-io);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.art path.o { stroke: var(--accent); }
.art .dot {
  fill: var(--ink); opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.2);
  transition: opacity .6s, transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms);
}
.art .dot.o { fill: var(--accent); }
.art.in path { stroke-dashoffset: 0; }
.art.in .dot { opacity: 1; transform: none; }
.art.icon { width: 32px; height: 32px; }
.art.rule { width: 200px; height: auto; }
.art.rule path { stroke-width: 1.6; }
/* Hero scene */
.art-scene path { stroke-width: 1.6; }
.art-scene path.faint { stroke: var(--ink-3); }
.art-scene path.trail { stroke-width: 1.2; stroke-opacity: .6; transition-duration: 2.6s; }
.art-scene .traveller { fill: var(--accent); opacity: 0; transition: opacity .3s; }
.art-scene.in .traveller { opacity: 1; transition-delay: 1.9s; }
.art-scene .lamp { transform-box: view-box; transform-origin: 600px 0; }
.art-scene.in .lamp { animation: sway 9s ease-in-out 3s infinite; }
.art-scene.in .person { animation: bob 6s ease-in-out infinite; animation-delay: calc(var(--b, 0) * -2s); }
.art-scene .talk { stroke: var(--ink-3); stroke-width: 1.2; opacity: 0; }
.art-scene.in .talk { animation: talk 6s var(--ease-io) infinite backwards; animation-delay: calc(5s + var(--t, 0) * 2s); }
@keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(1.4deg); } }
@keyframes bob { 0%, 100% { transform: none; } 50% { transform: translateY(-3px); } }
@keyframes talk {
  0% { stroke-dashoffset: 1; opacity: 0; }
  12% { opacity: 1; }
  40% { stroke-dashoffset: 0; opacity: 1; }
  70%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

.sec-mark { margin-bottom: clamp(40px, 5vw, 76px); }

.fig { position: relative; border: 1px solid var(--line); padding: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px) 0; overflow: hidden; }
.fig-cap {
  display: flex; justify-content: space-between; margin-bottom: clamp(12px, 2vw, 22px);
  font-family: var(--f-label); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-3);
}
.fig .art { transition: transform 1.2s var(--ease); }
a:hover .fig .art { transform: translateY(-6px) scale(1.02); }

/* ---------- Reveal system ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1.1s var(--ease), transform 1.3s var(--ease);
  transition-delay: calc(var(--rd, 0) * 90ms);
}
[data-reveal].in { opacity: 1; transform: none; }

.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi {
  display: inline-block; transform: translateY(108%);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}
[data-split].in .wi { transform: none; }
.hero-tag .w, .pull .w, .mission-statement .w { padding-right: .08em; margin-right: -.08em; }

.ground { height: 1px; background: var(--line-2); transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease-io); }
.ground.in { transform: none; }
.ground[data-reveal] { opacity: 1; }

/* ---------- Chrome: loading bar, progress, page transition ---------- */
.loadbar, .progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none;
}
.loadbar { transition: transform .45s var(--ease-io), opacity .4s; }
.is-leaving .loadbar { transform: scaleX(.72); }
.loadbar.done { transform: scaleX(1); opacity: 0; transition: transform .3s var(--ease), opacity .5s .25s; }
.progress { height: 1px; z-index: 60; opacity: 0; transition: opacity .3s; }
.reading .progress { opacity: 1; }

#page { transition: opacity .42s var(--ease-io), transform .5s var(--ease-io); }
.is-leaving #page { opacity: 0; transform: translateY(-14px); }
.is-entering #page { opacity: 0; transform: translateY(18px); transition: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h); display: flex; align-items: center;
  color: #F2EFE7;
  border-bottom: 1px solid transparent;
  transition: transform .6s var(--ease), background-color .4s, border-color .4s, color .4s;
}
.nav.scrolled { background: rgba(18, 22, 28, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: rgba(242, 239, 231, .13); }
.nav.on-paper { color: #12161C; }
.nav.on-paper.scrolled { background: rgba(242, 239, 231, .92); border-color: rgba(18, 22, 28, .14); }
.nav.hidden { transform: translateY(-101%); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: block; width: clamp(180px, 17vw, 236px); }
.brand-svg { width: 100%; height: auto; overflow: visible; }
.brand-mark { transform-box: fill-box; transform-origin: center; transition: transform .9s var(--ease); }
.brand:hover .brand-mark, .brand:focus-visible .brand-mark { transform: rotate(90deg); }

.nav-links { display: flex; gap: clamp(28px, 4vw, 56px); }
.nav-links a {
  position: relative;
  font-family: var(--f-label); font-size: 12.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  padding: 10px 0; opacity: .72; transition: opacity .3s;
}
.nav-links a::before {
  content: ''; position: absolute; left: -16px; top: 50%; width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform .5s var(--ease);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: .28em; bottom: 4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::before { transform: scale(1); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(90px, 11vw, 170px); }
.sec-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding-top: 22px; border-top: 1px solid var(--line-2); margin-bottom: clamp(36px, 4vw, 56px);
}
.sec-title { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + clamp(36px, 7vh, 88px)); }
.hero-meta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: clamp(24px, 4vh, 52px); }
.hero-title { font-size: clamp(3.4rem, 12.8vw, 15rem); font-weight: 800; line-height: .82; letter-spacing: -.055em; text-transform: uppercase; }
.hero-foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; align-items: end; margin-top: clamp(26px, 4vh, 52px); }
.hero-tag { grid-column: 1 / span 7; font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.45rem, 3vw, 3rem); line-height: 1.14; letter-spacing: -.01em; }
.hero-cta { grid-column: 9 / -1; justify-self: end; }
.hero-scene { margin-top: clamp(32px, 6vh, 80px); }
.hero-scene .art { max-height: clamp(180px, 36vh, 380px); }

/* ---------- Numbers ---------- */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.num { padding: 40px 28px 44px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.num:first-child { border-left: 0; padding-left: 0; }
.num-v { font-size: clamp(3.4rem, 6.4vw, 6.6rem); font-weight: 200; letter-spacing: -.06em; line-height: .85; white-space: nowrap; }
.num-v .o { font-weight: 300; }
.num p { color: var(--ink-2); font-size: 15px; max-width: 28ch; }
.num .label { color: var(--ink-4); margin-top: auto; font-size: 10.5px; }

/* ---------- Meta + stats ---------- */
.meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  font-family: var(--f-label); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
}
.meta .fmt { color: var(--accent); }
.meta i { width: 14px; height: 1px; background: var(--line-2); }

.stat-v { font-weight: 200; font-size: clamp(4.4rem, 9vw, 9.5rem); letter-spacing: -.06em; line-height: .85; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-v small { font-size: .26em; letter-spacing: .02em; font-weight: 400; color: var(--accent); margin-left: .25em; font-family: var(--f-label); text-transform: uppercase; }
.stat-l { margin-top: 18px; max-width: 32ch; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.stat-src { display: block; margin-top: 10px; color: var(--ink-4); font-size: 10.5px; }
.stat-sm .stat-v { font-size: clamp(2.6rem, 4vw, 4rem); font-weight: 300; }
.stat-sm .stat-l { font-size: 14px; margin-top: 10px; }

/* ---------- Three-column editorial row ---------- */
.f-trio { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.f-col { padding: 34px 30px 44px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; }
.f-col:first-child { border-left: 0; padding-left: 0; }
.f-col:last-child { padding-right: 0; }
.f-col h3 { font-size: clamp(1.5rem, 2.3vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.03; }
.f-col .dek { font-family: var(--f-serif); font-size: 1.08rem; line-height: 1.45; color: var(--ink-2); font-weight: 300; }
.f-col .foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.f-col .foot b { font-weight: 300; font-size: 2rem; letter-spacing: -.04em; }
.f-col .foot b small { font-size: .4em; font-family: var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-left: .3em; }
.f-col.soon .fig { border-style: dashed; }
.f-col.soon .meta .fmt { color: var(--ink-3); }
.f-col.soon h3 { color: var(--ink-2); }

/* ---------- Horizon ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 2.6vw, 32px); margin-bottom: clamp(48px, 6vw, 84px); }
.marquee-track { display: flex; width: max-content; animation: marquee 62s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: clamp(28px, 3vw, 48px); padding-right: clamp(28px, 3vw, 48px);
  font-size: clamp(1.8rem, 4.4vw, 4.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; white-space: nowrap;
}
.marquee-track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--ink-3); }
.marquee-track span::after { content: ''; width: .18em; height: .18em; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

.horizon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(20px, 2.4vw, 40px); }
.horizon-item { display: grid; gap: 18px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line-2); }
.horizon-item .no { letter-spacing: .2em; }
.horizon-item h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; }
.horizon-item .dek { font-family: var(--f-serif); font-size: 1.08rem; color: var(--ink-2); font-weight: 300; line-height: 1.45; }

/* ---------- Page heads (Explore / About) ---------- */
.page-head { padding-top: calc(var(--nav-h) + clamp(40px, 7vh, 96px)); padding-bottom: clamp(40px, 6vw, 80px); }
.ph-top { display: flex; justify-content: space-between; gap: 24px; margin-bottom: clamp(20px, 3vw, 40px); }
.ph-foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: end; margin-top: clamp(36px, 5vw, 72px); }
.ph-foot .lead { grid-column: 1 / span 6; }
.ph-stats { grid-column: 8 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ph-stats div { border-left: 1px solid var(--line); padding-left: 18px; }
.ph-stats dt { font-weight: 200; font-size: clamp(2.6rem, 4vw, 4rem); letter-spacing: -.05em; line-height: .9; }
.ph-stats dd { margin-top: 10px; }

/* ---------- Explore filters + archive ---------- */
.filters { padding-block: clamp(32px, 5vw, 64px) 0; display: grid; gap: 22px; }
.fl-row { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.chip {
  position: relative; font-size: clamp(1.15rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -.02em;
  color: var(--ink-4); padding: 2px 0; transition: color .35s, padding .5s var(--ease);
}
.chip sup { font-family: var(--f-label); font-size: 10px; font-weight: 400; letter-spacing: .1em; margin-left: 4px; vertical-align: super; color: var(--ink-4); }
.chip::before {
  content: ''; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform .5s var(--ease);
}
.chip:hover { color: var(--ink-2); }
.chip[aria-pressed="true"] { color: var(--ink); padding-left: 18px; }
.chip[aria-pressed="true"]::before { transform: scale(1); }
.chips-sm { gap: 8px 10px; }
.chips-sm .chip {
  font-family: var(--f-label); font-size: 11.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3);
}
.chips-sm .chip::before { display: none; }
.chips-sm .chip:hover { border-color: var(--line-2); color: var(--ink); }
.chips-sm .chip[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); padding-left: 16px; }

.fl-tools { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 18px; margin-top: 10px; border-top: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 12px; flex: 1 1 280px; max-width: 420px; border-bottom: 1px solid var(--line-2); transition: border-color .3s; }
.search:focus-within { border-color: var(--accent); }
.search svg { width: 16px; stroke: var(--ink-3); fill: none; stroke-width: 1.4; flex: none; }
.search input { width: 100%; background: none; border: 0; outline: 0; padding: 12px 0; font-family: var(--f-label); font-size: 15px; }
.search input::placeholder { color: var(--ink-4); }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.toggle button { font-family: var(--f-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; padding: 8px 16px; border-radius: 999px; color: var(--ink-3); transition: background-color .35s, color .35s; }
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.archive { padding-block: clamp(28px, 4vw, 56px) clamp(80px, 10vw, 150px); min-height: 40vh; }
.a-head, .a-row { display: grid; grid-template-columns: 70px minmax(0, 1fr) 130px 150px 96px 40px; gap: 24px; align-items: center; }
.a-head { padding-bottom: 14px; border-bottom: 1px solid var(--line-2); color: var(--ink-4); font-size: 10.5px; }
.a-row { position: relative; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .7s var(--ease); }
.a-row::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.a-row:hover::after { transform: scaleX(1); }
.a-row:hover { padding-left: 14px; }
.a-row .no { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; color: var(--ink-3); }
.a-row h3 { font-size: clamp(1.35rem, 2.3vw, 2.25rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.a-row .dek { margin-top: 10px; font-family: var(--f-serif); font-weight: 300; color: var(--ink-3); font-size: 1.02rem; line-height: 1.4; max-width: 60ch; transition: color .4s; }
.a-row:hover .dek { color: var(--ink-2); }
.a-row .c { font-family: var(--f-label); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.a-row .c.fmt { color: var(--accent); }
.a-row .arr { justify-self: end; width: 1.8em; height: 1em; }
.a-row .m-meta { display: none; }

.ed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(48px, 6vw, 88px) clamp(20px, 2.4vw, 36px); padding-top: 12px; }
.ed-item { display: grid; gap: 20px; align-content: start; }
.ed-item h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.03; }
.ed-item .dek { font-family: var(--f-serif); font-weight: 300; color: var(--ink-2); font-size: 1.05rem; line-height: 1.45; }
.ed-item .foot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.ed-item .foot b { font-weight: 300; font-size: 1.6rem; letter-spacing: -.04em; }

.empty { padding: 80px 0; display: grid; gap: 24px; justify-items: start; border-top: 1px solid var(--line-2); }
.empty h3 { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }

.preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: 300px; padding: 18px 18px 20px;
  background: #181D25; border: 1px solid rgba(242, 239, 231, .26); color: #F2EFE7;
  pointer-events: none; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.preview.show { opacity: 1; visibility: visible; }
.preview .fig-cap { margin-bottom: 10px; color: rgba(242, 239, 231, .52); }
.preview .art path { stroke: #F2EFE7; }
.preview .art path.o { stroke: var(--accent); }
.preview .art .dot { fill: #F2EFE7; }
.preview .art .dot.o { fill: var(--accent); }
.preview .pv-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(242, 239, 231, .13); padding-top: 12px; margin-top: 4px; }
.preview .pv-stat b { font-weight: 300; font-size: 2rem; letter-spacing: -.04em; line-height: 1; }
.preview .pv-stat span { font-size: 12px; color: rgba(242, 239, 231, .52); line-height: 1.35; max-width: 60%; text-align: right; }

/* ---------- About ---------- */
.about-art { grid-column: 8 / -1; max-width: 400px; justify-self: end; width: 100%; }
.mission-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 44px 24px; }
.mission-grid .label { grid-column: 1 / span 3; }
.mission-statement { grid-column: 4 / -1; font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 3.2rem); line-height: 1.18; letter-spacing: -.01em; }
.mission-statement em { color: var(--accent); font-style: italic; }
.mission-cols { grid-column: 4 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.mission-cols p { color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }

.definition { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; padding-block: clamp(64px, 8vw, 120px); }
.def-term { grid-column: 1 / span 5; display: grid; gap: 14px; align-content: start; }
.def-term h2 { font-family: var(--f-serif); font-weight: 300; font-style: italic; font-size: clamp(2.8rem, 6vw, 6rem); line-height: .95; letter-spacing: -.02em; }
.def-term .pron { font-family: var(--f-serif); color: var(--ink-3); font-size: 1.2rem; }
.def-list { grid-column: 7 / -1; display: grid; gap: 30px; counter-reset: def; }
.def-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; counter-increment: def; font-family: var(--f-serif); font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.45; font-weight: 300; color: var(--ink-2); }
.def-list li::before { content: counter(def) '.'; color: var(--accent); font-family: var(--f-label); font-size: 14px; padding-top: 6px; }
.def-list em { color: var(--ink); font-style: italic; }

.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); }
.steps .ground { position: absolute; top: 0; left: 0; right: 0; }
.step { padding: 34px 24px 0 0; display: grid; gap: 20px; align-content: start; position: relative; }
.step::before {
  content: ''; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform .8s var(--ease);
  transition-delay: calc(var(--rd, 0) * 140ms + 300ms);
}
.step.in::before { transform: scale(1); }
.step .n { font-family: var(--f-label); font-size: 12px; letter-spacing: .22em; color: var(--accent); }
.step h3 { font-size: clamp(1.5rem, 2.2vw, 2.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; text-transform: uppercase; }
.step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; max-width: 32ch; }

.join-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; margin-bottom: clamp(44px, 5vw, 80px); align-items: end; }
.join-head h2 { grid-column: 1 / span 8; }
.join-head p { grid-column: 9 / -1; font-family: var(--f-serif); font-size: 1.2rem; color: var(--ink-2); font-weight: 300; line-height: 1.45; }
.join-list { border-top: 1px solid var(--line-2); }
.join-list a {
  position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.3fr) 180px 48px;
  gap: 24px; align-items: center; padding-block: clamp(26px, 3vw, 40px); border-bottom: 1px solid var(--line);
  transition: padding .7s var(--ease);
}
.join-list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.join-list a:hover::after { transform: scaleX(1); }
.join-list a:hover { padding-left: 14px; }
.join-list .no { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; color: var(--ink-3); }
.join-list h3 { font-size: clamp(1.5rem, 2.6vw, 2.6rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.join-list p { color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.join-list .c { font-family: var(--f-label); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.join-list .arr { justify-self: end; width: 1.8em; height: 1em; }

.closer { display: grid; gap: 40px; justify-items: start; }

/* ---------- Article ---------- */
.read-head { padding-top: calc(var(--nav-h) + clamp(32px, 5vh, 72px)); display: grid; gap: clamp(22px, 3vw, 36px); }
.back { display: inline-flex; align-items: center; gap: 12px; color: var(--ink-3); transition: color .3s; justify-self: start; }
.back:hover { color: var(--ink); }
.back .arr svg:first-child { transform: none; }
.back:hover .arr svg:first-child { transform: translateX(130%); }
.read-head h1 { max-width: 14ch; }
.read-head .lead { max-width: 42ch; }
.read-hero { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: end; padding-block: clamp(48px, 6vw, 96px); }

.questions { display: grid; gap: 24px; max-width: 620px; }
.questions li { display: grid; grid-template-columns: 32px 1px 1fr; gap: 20px; align-items: start; }
.questions li > i { width: 1px; height: 100%; min-height: 40px; background: var(--ink-3); }
.questions p { font-family: var(--f-label); font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }

.read-body { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; padding-block: clamp(64px, 8vw, 120px); }
.read-aside { grid-column: 1 / span 3; }
.read-aside-in { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 30px; }
.read-aside dl { display: grid; gap: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.read-aside dt { color: var(--ink-4); }
.read-aside dd { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }
.toc { display: grid; gap: 10px; }
.toc a { font-family: var(--f-label); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; transition: color .3s; }
.toc a::before { content: ''; width: 10px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a:hover::before { width: 22px; background: var(--accent); }
.read-main { grid-column: 5 / span 7; display: grid; gap: clamp(48px, 5vw, 80px); }
.prose p { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.45rem); line-height: 1.6; }
.dropcap::first-letter { float: left; font-size: 5.4em; line-height: .78; padding: .06em .1em 0 0; color: var(--accent); font-weight: 400; }
.block-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line-2); margin-bottom: 30px; }
.block-h h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; }
.findings li { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.findings li:first-child { padding-top: 0; }
.findings .n { font-size: 2.6rem; font-weight: 200; letter-spacing: -.05em; line-height: 1; color: var(--accent); }
.findings p { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.15rem, 1.05rem + .35vw, 1.4rem); line-height: 1.5; }
.pull { border-left: 2px solid var(--accent); padding: 8px 0 8px clamp(22px, 3vw, 40px); }
.pull p { font-family: var(--f-serif); font-style: italic; font-weight: 300; font-size: clamp(1.7rem, 2.8vw, 2.8rem); line-height: 1.18; }
.pull footer { margin-top: 22px; color: var(--ink-3); }
.method-box { border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.method-box p { color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }
.frame { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.frame span { font-family: var(--f-label); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.frame .arr { width: 1.2em; }

.read-next a { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding-block: clamp(56px, 8vw, 120px); align-items: end; }
.read-next .l { grid-column: 1 / span 3; display: grid; gap: 14px; align-content: start; align-self: start; }
.read-next h2 { grid-column: 4 / span 8; }
.read-next .arr { grid-column: 12; justify-self: end; width: 2.6em; height: 1.4em; }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(90px, 11vw, 160px); padding-bottom: 32px; }
.news { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: end; padding-bottom: clamp(72px, 9vw, 130px); }
.news > div { grid-column: 1 / span 7; display: grid; gap: 22px; }
.news-title { font-size: clamp(1.8rem, 3.4vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.news-form { grid-column: 8 / -1; display: grid; grid-template-columns: 1fr auto; align-items: end; border-bottom: 1px solid var(--line-2); position: relative; transition: border-color .3s; }
.news-form:focus-within { border-color: var(--accent); }
.news-form input { background: none; border: 0; outline: 0; padding: 18px 0; font-family: var(--f-label); font-size: 16px; min-width: 0; }
.news-form input::placeholder { color: var(--ink-4); }
.news-btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 0 18px 16px; font-family: var(--f-label); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.news-msg { position: absolute; top: calc(100% + 12px); left: 0; font-size: 13px; color: var(--ink-3); }
.news-msg.ok { color: var(--accent); }

.lockup { padding-block: clamp(24px, 3vw, 48px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lockup img { width: clamp(220px, 46vw, 620px); height: auto; }

.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; padding-block: 48px 64px; }
.foot-tag { grid-column: 1 / span 6; font-size: 1.3rem; font-weight: 300; line-height: 1.4; }
.foot-links { grid-column: span 3; display: grid; gap: 10px; align-content: start; font-family: var(--f-label); font-size: 13px; letter-spacing: .06em; }
.foot-links a { color: var(--ink-2); transition: color .3s; }
.foot-links a:hover { color: var(--accent); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 10.5px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .a-head, .a-row { grid-template-columns: 56px minmax(0, 1fr) 110px 130px 40px; }
  .a-head .c-date, .a-row .c-date { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .join-list a { grid-template-columns: 56px 1fr 1.2fr 40px; }
  .join-list .c { display: none; }
}

@media (max-width: 860px) {
  :root { --nav-h: 72px; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-tag, .hero-cta { grid-column: 1; justify-self: start; }

  .ph-foot, .horizon-grid, .mission-grid, .definition, .read-hero, .read-body, .news, .join-head { grid-template-columns: 1fr; }
  .ph-foot > *, .horizon-grid > *, .mission-grid > *, .definition > *,
  .read-hero > *, .read-body > *, .news > *, .join-head > *, .foot-grid > *, .about-art { grid-column: 1 / -1 !important; }
  .about-art { justify-self: start; max-width: 320px; }
  .mission-cols { grid-template-columns: 1fr; }

  .numbers { grid-template-columns: 1fr 1fr; }
  .num { padding: 32px 18px 36px; }
  .num:nth-child(odd) { border-left: 0; padding-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }

  .f-trio { grid-template-columns: 1fr; }
  .f-col { border-left: 0; padding: 34px 0 40px; border-top: 1px solid var(--line); }
  .f-col:first-child { border-top: 0; }

  .a-head { display: none; }
  .a-row { grid-template-columns: 1fr 32px; gap: 12px 16px; padding: 26px 0; }
  .a-row .no, .a-row .c { display: none; }
  .a-row .m-meta { display: flex; }
  .a-row:hover { padding-left: 0; }

  .ed-grid { grid-template-columns: 1fr 1fr; }
  .fl-row { grid-template-columns: 1fr; gap: 10px; }

  .steps { grid-template-columns: 1fr 1fr; }
  .join-list a { grid-template-columns: 1fr 32px; gap: 12px; }
  .join-list .no { display: none; }
  .join-list p { grid-column: 1; grid-row: 2; }
  .join-list .arr { grid-row: 1; grid-column: 2; }

  .read-aside-in { position: static; }
  .read-next a { grid-template-columns: 1fr auto; }
  .read-next .l, .read-next h2 { grid-column: 1 / -1; }
  .read-next .arr { grid-column: 2; }

  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-tag { grid-column: 1 / -1 !important; }
  .foot-links { grid-column: span 1 !important; }
}

@media (max-width: 560px) {
  .nav-links { gap: 24px; }
  .nav-links a { font-size: 11.5px; letter-spacing: .2em; }
  .brand { width: 168px; }
  .hero-meta .dim { display: none; }
  .numbers { grid-template-columns: 1fr; }
  .num { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .num:first-child { border-top: 0; }
  .horizon-grid { grid-template-columns: 1fr; }
  .ed-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ph-stats dt { font-size: 2.2rem; }
  .cta { padding: 18px 24px; font-size: 12.5px; }
  .findings li { grid-template-columns: 52px 1fr; }
  .findings .n { font-size: 2rem; }
  .fl-tools { flex-direction: column; align-items: stretch; }
  .toggle { align-self: flex-start; }
  .news-form { grid-template-columns: 1fr; }
  .news-btn { padding-left: 0; justify-self: start; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  [data-reveal], .wi { opacity: 1 !important; transform: none !important; }
  .art path { stroke-dashoffset: 0 !important; }
  .art .dot, .art-scene .traveller { opacity: 1 !important; transform: none !important; }
  .art-scene .talk { opacity: 0 !important; }
  .ground { transform: none !important; }
}
