/* ==========================================================================
   Mohammed Yunus — "3,000 moving parts"
   One stage, one particle system, one palette that evolves with the story.
   Colour channels are driven by JS as the page scrolls between chapters.
   ========================================================================== */

:root {
  /* live channels (JS interpolates these between dusk / night / paper) */
  --bg: 12, 10, 9;
  --fg: 243, 239, 232;
  --card: 24, 21, 19;
  --acc: 200, 255, 62;
  --acc-text: 200, 255, 62;

  --ink: rgb(var(--fg));
  --muted: rgba(var(--fg), .58);
  --faint: rgba(var(--fg), .36);
  --line: rgba(var(--fg), .13);
  --line-2: rgba(var(--fg), .26);
  --accent: rgb(var(--acc));
  --accent-text: rgb(var(--acc-text));
  --accent-ink: #0a0a0b;

  --font-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --gutter: clamp(18px, 4vw, 64px);
  --maxw: 1440px;
  --nav-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: rgb(var(--bg));
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.04vw, 18px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ol, ul, dl { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* Static film grain: texture without movement */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: fixed; top: 12px; left: 12px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: 999px; font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }

/* Content always sits above the stage; the stage sits above section backgrounds */
.container { position: relative; z-index: 2; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.stage { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; }

/* ---------- Type system ---------- */
.kicker {
  display: flex; align-items: baseline; gap: .9rem;
  font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.kicker span { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; letter-spacing: 0; text-transform: none; color: var(--accent-text); line-height: 1; }
.kicker--plain { margin-bottom: 1.4rem; }
.h2 { font-size: clamp(2.5rem, 5.8vw, 6.4rem); line-height: .94; letter-spacing: -.05em; font-weight: 600; }
.h2 em { padding-right: .04em; color: var(--accent-text); }
.lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); color: var(--muted); max-width: 46ch; line-height: 1.45; }
.chapter { position: relative; padding: clamp(130px, 17vw, 260px) 0; }
.chapter__head { display: grid; gap: 1.6rem; max-width: 1100px; margin-bottom: clamp(56px, 8vw, 120px); }

/* Word mask reveal (headings only) */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .12em 0; margin-bottom: -.12em; }
.word__in { display: inline-block; }
html.js .word__in { transform: translate3d(0, 110%, 0); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
html.js .is-in .word__in { transform: none; }

/* Quiet reveal for supporting text: short travel, no theatrics */
html.js .reveal { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.no-anim .reveal, html.no-anim .word__in, html.no-anim .hl__in { opacity: 1 !important; transform: none !important; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: 1.1rem 1.8rem; border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: .98rem; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: var(--accent); transform: translateY(102%); transition: transform .6s var(--ease); }
.btn:hover { color: var(--accent-ink); border-color: var(--accent); }
.btn:hover::before { transform: none; }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--accent::before { background: var(--ink); }
.btn--accent:hover { color: rgb(var(--bg)); border-color: var(--ink); }
.btn__ic { width: 18px; height: 18px; }
.magnetic { transition: transform .6s var(--ease), color .5s var(--ease), border-color .5s var(--ease); }

/* ---------- Cursor ---------- */
.cursor { display: none; }
html.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 150; pointer-events: none; mix-blend-mode: difference; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor__ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid rgba(255,255,255,.6);
  display: grid; place-items: center;
  transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .5s var(--ease), border-color .5s;
}
.cursor__label { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; border-color: #fff; }
.cursor.has-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: #fff; border-color: #fff; }
.cursor.has-label .cursor__label { opacity: 1; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  height: var(--nav-h); padding: 0 var(--gutter);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.nav::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(var(--bg), .82), rgba(var(--bg), 0)); }
html.js body.is-intro .nav { opacity: 0; transform: translateY(-12px); }
.nav__brand { display: inline-flex; align-items: center; gap: .8rem; justify-self: start; }
.nav__mono { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); font-size: .74rem; font-weight: 600; letter-spacing: .05em; transition: background-color .4s, color .4s, border-color .4s; }
.nav__brand:hover .nav__mono { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.nav__name { font-size: .9rem; font-weight: 500; letter-spacing: -.01em; }
.nav__chapter { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .7rem; row-gap: .45rem; align-items: baseline; justify-self: center; min-width: 200px; }
.nav__num { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--accent-text); line-height: 1; }
.nav__title { display: block; overflow: hidden; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.nav__title span { display: block; }
.nav__bar { grid-column: 1 / -1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.nav__bar i { position: absolute; inset: 0; background: var(--accent-text); transform-origin: left; transform: scaleX(0); }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 1.6rem; }
.nav__clock { display: inline-flex; align-items: center; gap: .55rem; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.nav__clock i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(var(--acc), .18); }
.nav__clock time { color: var(--ink); }
.nav__menu { display: inline-flex; align-items: center; gap: .8rem; padding: .7rem .7rem .7rem 1.1rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: .84rem; transition: border-color .4s, background-color .4s, color .4s; }
.nav__menu:hover { border-color: var(--ink); }
.nav__menu-icon { position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.nav__menu-icon i { position: absolute; left: 6px; right: 6px; height: 1.5px; background: rgb(var(--bg)); transition: transform .5s var(--ease); }
.nav__menu-icon i:first-child { top: 8px; } .nav__menu-icon i:last-child { top: 12.5px; }
body.menu-open .nav__menu-icon i:first-child { transform: translateY(2.25px) rotate(45deg); }
body.menu-open .nav__menu-icon i:last-child { transform: translateY(-2.25px) rotate(-45deg); }
@media (max-width: 900px) { .nav__name, .nav__clock { display: none; } }
@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__chapter { min-width: 0; justify-self: center; }
  .nav__menu-label { display: none; }
  .nav__menu { padding: .55rem; }
}

/* ---------- Index menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: rgb(var(--bg));
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s linear .9s;
}
body.menu-open .menu { clip-path: inset(0); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.menu__inner { height: 100%; max-width: var(--maxw); margin: 0 auto; padding: calc(var(--nav-h) + 4vh) var(--gutter) 4vh; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.menu__kicker { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.menu__list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 4vw; }
.menu__list a {
  display: flex; align-items: baseline; gap: 1.2rem;
  font-size: clamp(1.9rem, 4.4vw, 4.4rem); font-weight: 600; letter-spacing: -.045em; line-height: 1.1;
  padding: .5rem 0; border-bottom: 1px solid var(--line);
  transition: color .4s, padding-left .6s var(--ease);
}
.menu__list a span { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: .5em; color: var(--accent-text); letter-spacing: 0; min-width: 2ch; }
.menu__list a:hover, .menu__list a.is-current { padding-left: .6rem; }
.menu__list:hover a:not(:hover) { color: var(--faint); }
html.js .menu__list a { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .8s var(--ease), color .4s, padding-left .6s var(--ease); }
body.menu-open .menu__list a { opacity: 1; transform: none; transition-delay: calc(.25s + var(--d, 0s)); }
.menu__foot { display: flex; gap: 2rem; flex-wrap: wrap; font-size: .95rem; color: var(--muted); }
.menu__foot a:hover { color: var(--ink); }
@media (max-width: 700px) { .menu__list { grid-template-columns: 1fr; } }

/* ==========================================================================
   00 — HERO
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 clamp(26px, 3.6vw, 52px); }
.hero__photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__photo picture, .hero__photo img { display: block; width: 100%; height: 100%; }
.hero__photo img { object-fit: cover; object-position: 68% 30%; }
html.js .hero__photo { opacity: 0; }
html.no-anim .hero__photo, html.no-stage .hero__photo { opacity: 1 !important; }
.hero__shade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(var(--bg), 1) 0%, rgba(var(--bg), .55) 18%, rgba(var(--bg), 0) 44%),
    linear-gradient(90deg, rgba(var(--bg), .9) 0%, rgba(var(--bg), .66) 26%, rgba(var(--bg), .16) 50%, rgba(var(--bg), 0) 64%);
}
.hero__inner { will-change: opacity; }
.hero__eyebrow { display: flex; gap: 1.6rem; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(16px, 2vw, 28px); }
.hero__eyebrow span:first-child { color: var(--ink); }
.hero__title {
  font-size: clamp(3.1rem, 8.4vw, 11.6rem);
  line-height: .86; letter-spacing: -.06em; font-weight: 600;
}
.hl { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; will-change: transform; }
.hl__in { display: inline-block; }
.hl em { color: var(--accent-text); padding-right: .06em; }
html.js .hl__in { transform: translate3d(0, 108%, 0); transition: transform 1.5s var(--ease); transition-delay: calc(var(--l) * 110ms); }
body.is-ready .hl__in { transform: none; }
.hero__base { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem; margin-top: clamp(26px, 3.4vw, 48px); padding-top: 1.3rem; border-top: 1px solid var(--line); }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.4rem); max-width: 30ch; line-height: 1.35; }
.hero__meta { display: grid; gap: .2rem; font-size: .84rem; color: var(--muted); }
.hero__meta span:first-child { color: var(--ink); }
.hero__cue { display: inline-flex; align-items: center; gap: .9rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hero__cue i { position: relative; width: 1px; height: 48px; background: var(--line-2); overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateY(-100%); animation: cue 2.4s var(--ease-io) infinite 2.6s; }
@keyframes cue { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }
html.js .hero__eyebrow, html.js .hero__base { opacity: 0; transform: translateY(14px); transition: opacity 1.2s var(--ease) .5s, transform 1.2s var(--ease) .5s; }
body.is-ready .hero__eyebrow, body.is-ready .hero__base { opacity: 1; transform: none; }

@media (max-width: 700px) {
  .hero { padding-bottom: 22px; }
  .hero__photo { bottom: auto; height: 70%; }
  .hero__photo img { object-position: 50% 20%; }
  .hero__shade { background: linear-gradient(to top, rgba(var(--bg), 1) 0%, rgba(var(--bg), 1) 31%, rgba(var(--bg), .6) 44%, rgba(var(--bg), 0) 62%), linear-gradient(to bottom, rgba(var(--bg), .5), rgba(var(--bg), 0) 14%); }
  .hero__eyebrow { gap: .9rem; font-size: .64rem; letter-spacing: .14em; }
  .hero__base { grid-template-columns: 1fr auto; }
  .hero__meta { display: none; }
}

/* ==========================================================================
   01 — THE PLATFORM
   ========================================================================== */
.about__text {
  margin-top: clamp(30px, 4vw, 56px);
  font-size: clamp(1.8rem, 4.2vw, 4.4rem); line-height: 1.06; letter-spacing: -.04em; font-weight: 500;
  max-width: 1280px;
}
.about__text em { color: var(--accent-text); }
html.js .fw { opacity: .13; transition: opacity .4s ease; }
html.js .fw.on { opacity: 1; }
.about__legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 3rem; margin-top: clamp(60px, 8vw, 120px); padding-top: 1.4rem; border-top: 1px solid var(--line); max-width: 1100px; }
.about__legend p { display: flex; align-items: baseline; gap: .7rem; color: var(--muted); font-size: .98rem; }
.about__legend b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.dotkey { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); opacity: .6; transform: translateY(-1px); }
.dotkey--acc { background: var(--accent); opacity: 1; box-shadow: 0 0 10px rgba(var(--acc), .7); }
@media (max-width: 700px) { .about__legend { grid-template-columns: 1fr; } }

/* ==========================================================================
   02 — THE NUMBERS (daylight)
   ========================================================================== */
.impact__grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 7vw, 140px); align-items: start; }
.impact__aside { position: sticky; top: calc(var(--nav-h) + 3vh); display: grid; gap: 1.6rem; }
.matrix { width: min(100%, 46vh); aspect-ratio: 1; margin-top: 1rem; }
.matrix__cap { font-size: .92rem; color: var(--muted); max-width: 34ch; }
.matrix__cap b { color: var(--ink); }
.figures { counter-reset: fig; border-top: 1px solid var(--line); }
.fig {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 1.5rem;
  padding: clamp(26px, 3.2vw, 44px) 0; border-bottom: 1px solid var(--line);
}
.fig__n {
  font-size: clamp(3rem, 6.6vw, 7rem); font-weight: 600; letter-spacing: -.06em; line-height: .84;
  font-variant-numeric: tabular-nums; white-space: nowrap;
  transition: transform .8s var(--ease), color .5s;
}
.fig__n sup { font-size: .36em; font-weight: 500; letter-spacing: -.02em; vertical-align: 1.35em; margin: 0 .08em; color: var(--muted); }
.fig__l { color: var(--muted); font-size: .98rem; max-width: 26ch; justify-self: end; text-align: right; transition: color .5s; }
.fig:hover .fig__n { transform: translateX(.6rem); color: var(--accent-text); }
.fig:hover .fig__l { color: var(--ink); }
@media (max-width: 900px) {
  .impact__grid { grid-template-columns: 1fr; }
  .impact__aside { position: relative; top: 0; }
  .matrix { width: min(100%, 340px); }
}
@media (max-width: 520px) {
  .fig { grid-template-columns: 1fr; gap: .8rem; }
  .fig__l { justify-self: start; text-align: left; }
}

/* ==========================================================================
   03 — THE SYSTEMS (stacked cards over the ticket flow)
   ========================================================================== */
/* Cards stay narrower than the page so the ticket flow stays visible on both sides */
.cards { display: grid; max-width: 1180px; margin: 0 auto; }
.card { position: sticky; top: calc(var(--nav-h) + 2vh + var(--i) * 16px); margin-bottom: 10vh; }
.card:last-child { margin-bottom: 0; }
.card__in {
  --tilt: 0; --stack: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "top top" "text viz";
  gap: clamp(18px, 2.6vw, 40px) clamp(24px, 3.6vw, 64px);
  min-height: min(660px, calc(100vh - var(--nav-h) - 8vh));
  padding: clamp(22px, 3vw, 46px);
  background: rgba(var(--card), .94);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .7);
  transform-origin: 50% 0%;
  transform: perspective(1600px) rotateX(calc(var(--tilt) * 1deg)) scale(calc(1 - var(--stack) * .055));
  will-change: transform;
}
.card__in::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; background: rgb(var(--bg)); opacity: calc(var(--stack) * .6); pointer-events: none; }
.card__top { grid-area: top; display: flex; justify-content: space-between; align-items: center; }
.card__no { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.8rem, 2.8vw, 2.6rem); color: var(--accent-text); line-height: 1; }
.card__tag { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: .45rem .9rem; }
.card__text { grid-area: text; display: flex; flex-direction: column; justify-content: space-between; gap: 1.8rem; min-height: 0; }
.card__title { font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: .96; letter-spacing: -.05em; font-weight: 600; max-width: 12ch; }
.card__body { display: grid; gap: 1rem; }
.card__body div { display: grid; grid-template-columns: 86px 1fr; gap: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.card__body dt { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); padding-top: .3rem; }
.card__body dd { margin: 0; color: var(--muted); font-size: clamp(.94rem, 1.04vw, 1.02rem); line-height: 1.5; }
.card__body strong { color: var(--accent-text); font-weight: 600; }
@media (max-width: 820px) {
  .card { position: relative; top: 0; margin-bottom: 18px; }
  .card__in { grid-template-columns: 1fr; grid-template-areas: "top" "text" "viz"; min-height: 0; transform: none; }
  .card__in::after { display: none; }
  .card__body div { grid-template-columns: 1fr; gap: .3rem; }
}

.viz {
  grid-area: viz; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  padding: clamp(18px, 2.4vw, 34px);
  background: rgba(var(--fg), .03);
  border: 1px solid var(--line); border-radius: 20px; min-height: 300px;
}
.viz::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(var(--fg), .14) 1px, transparent 1px); background-size: 16px 16px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%); mask-image: radial-gradient(ellipse at center, #000 25%, transparent 72%);
}
.viz > * { position: relative; }

.route { width: 100%; height: auto; max-height: 280px; margin: 0 auto; overflow: visible; }
.route__path { fill: none; stroke: rgba(var(--fg), .2); stroke-width: 1.3; stroke-dasharray: 3 6; }
.route__dots circle { fill: var(--accent); }
.route__src rect { fill: rgb(var(--card)); stroke: var(--line-2); }
.route__src line { stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.route__ai rect { fill: var(--accent); }
.route__ai text { fill: var(--accent-ink); font: 600 15px var(--font-sans); letter-spacing: .04em; }
.route__agents circle { fill: rgb(var(--card)); stroke: var(--line-2); }
.route__agents use { color: var(--muted); }
.meter { display: grid; gap: .6rem; }
.meter__row { display: flex; justify-content: space-between; align-items: baseline; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.meter__val { font-size: 1.7rem; letter-spacing: -.04em; color: var(--ink); text-transform: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.meter__bar { position: relative; height: 6px; border-radius: 99px; background: rgba(var(--fg), .08); }
.meter__bar span { position: absolute; inset: 0 auto 0 0; width: 80%; border-radius: inherit; background: var(--accent); transition: width 1.8s var(--ease) .3s; }
.meter__bar i { position: absolute; left: 80%; top: -5px; bottom: -5px; width: 2px; background: var(--ink); border-radius: 2px; }
.is-in .meter__bar span { width: 99%; }
.meter__scale { display: flex; justify-content: space-between; font-size: .74rem; color: var(--faint); }

.viz-sla { flex-direction: row; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.toasts { flex: 1.4; display: grid; gap: .7rem; min-width: 0; }
.toast { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: 14px; background: rgb(var(--card)); border: 1px solid var(--line-2); font-size: .88rem; }
html.js .toast { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--t) * .5s + .3s); }
html.js .is-in .toast { opacity: 1; transform: none; }
.toast b { display: block; font-weight: 600; font-size: .86rem; }
.toast span:not(.toast__ic) { color: var(--muted); font-size: .82rem; }
.toast time { font-size: .7rem; color: var(--faint); align-self: start; }
.toast__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: rgba(255, 128, 80, .14); color: #ff8a5c; }
.toast--ok .toast__ic { background: rgba(var(--acc), .14); color: var(--accent); }
.bars { flex: 1; display: grid; gap: .8rem; justify-items: center; }
.bars__cols { display: flex; gap: 1rem; align-items: flex-end; height: 200px; }
.bars__col { display: grid; justify-items: center; gap: .5rem; height: 100%; grid-template-rows: 1fr auto; }
.bars__track { position: relative; width: 44px; height: 100%; border-radius: 10px; background: rgba(var(--fg), .05); overflow: hidden; }
.bars__track span { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h) * 100%); background: rgba(var(--fg), .32); border-radius: 10px; transform-origin: bottom; }
html.js .bars__track span { transform: scaleY(0); transition: transform 1.4s var(--ease) .5s; }
html.js .bars__track span.is-acc { transition-delay: 1.2s; }
.bars__track span.is-acc { background: var(--accent); }
html.js .is-in .bars__track span { transform: scaleY(1); }
.bars__col small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.bars__cap { font-size: .78rem; color: var(--muted); text-align: center; }
@media (max-width: 1100px) { .viz-sla { flex-direction: column; align-items: stretch; } .bars__cols { height: 130px; } }

.qc { width: 100%; max-width: 420px; margin: 0 auto; border: 1px solid var(--line-2); border-radius: 18px; background: rgb(var(--card)); overflow: hidden; }
.qc__head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.qc__ai { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--accent-ink); background: var(--accent); padding: .3rem .6rem; border-radius: 99px; }
.qc__list { padding: .4rem 1.2rem; }
.qc__list li { display: flex; align-items: center; gap: .8rem; padding: .76rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; transition: color .5s; transition-delay: calc(var(--i) * .4s + .5s); }
.qc__list li:last-child { border-bottom: 0; }
.qc__list i { position: relative; flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--accent); background: var(--accent); transition: background-color .4s, border-color .4s; transition-delay: calc(var(--i) * .4s + .5s); }
.qc__list i::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: opacity .3s; transition-delay: calc(var(--i) * .4s + .55s); }
html.js .qc__list li { color: var(--faint); }
html.js .qc__list i { background: transparent; border-color: var(--line-2); }
html.js .qc__list i::after { opacity: 0; }
html.js .is-in .qc__list li { color: var(--ink); }
html.js .is-in .qc__list i { background: var(--accent); border-color: var(--accent); }
html.js .is-in .qc__list i::after { opacity: 1; }
.qc__foot { padding: 1rem 1.2rem; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }
.qc__status { font-size: .76rem; font-weight: 600; letter-spacing: .06em; padding: .45rem .85rem; border-radius: 99px; background: rgba(var(--acc), .14); color: var(--accent-text); }
html.js .qc__status { opacity: .25; transition: opacity .6s 2.6s; }
html.js .is-in .qc__status { opacity: 1; }

.dash { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; width: 100%; }
.dash__tile { border: 1px solid var(--line-2); border-radius: 14px; background: rgb(var(--card)); padding: 1rem; display: grid; gap: .9rem; align-content: space-between; min-height: 130px; }
.dash__tile--wide { grid-column: 1 / -1; min-height: 150px; }
.dash__label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.spark { width: 100%; height: 86px; }
.spark__area { fill: rgba(var(--acc), .1); }
.spark__line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
html.js .spark__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease) .4s; }
html.js .spark__area { opacity: 0; transition: opacity 1s 1.2s; }
html.js .is-in .spark__line { stroke-dashoffset: 0; }
html.js .is-in .spark__area { opacity: 1; }
.pipe { display: flex; gap: 4px; height: 12px; }
.pipe i { flex: 0 0 calc(var(--w) * 100% - 3px); border-radius: 99px; background: var(--accent); opacity: calc(1 - var(--i) * .22); }
html.js .pipe i { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * .18s + .5s); }
html.js .is-in .pipe i { transform: none; }
.cols { display: flex; gap: 5px; align-items: flex-end; height: 64px; }
.cols i { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px 4px 2px 2px; background: rgba(var(--fg), .28); }
.cols i:last-child { background: var(--accent); }
html.js .cols i { transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * .1s + .6s); }
html.js .is-in .cols i { transform: none; }

/* ==========================================================================
   04 — THE TEAM
   ========================================================================== */
.lead__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "head aside" "list aside";
  column-gap: clamp(40px, 7vw, 140px); align-items: start;
}
.lead__head { grid-area: head; display: grid; gap: 1.6rem; margin-bottom: clamp(48px, 6vw, 90px); }
.lead__aside { grid-area: aside; position: sticky; top: calc(var(--nav-h) + 4vh); display: grid; gap: 1.8rem; }
.team { width: min(100%, 62vh); aspect-ratio: 1.15; }
.team__meta { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.team__count { display: flex; align-items: baseline; gap: .8rem; }
.team__count b { font-size: clamp(3rem, 5vw, 4.8rem); font-weight: 600; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; min-width: 1.2em; }
.team__count span { color: var(--muted); font-size: .92rem; }
.team__key { display: grid; gap: .4rem; font-size: .84rem; color: var(--muted); }
.team__key span { display: flex; align-items: baseline; gap: .6rem; }
.lead__list { grid-area: list; }
.lead__list li { display: grid; grid-template-columns: minmax(100px, 150px) 1fr; gap: 1.6rem; padding: clamp(30px, 3.6vw, 48px) 0; border-top: 1px solid var(--line); }
.lead__list li:last-child { border-bottom: 1px solid var(--line); }
.lead__num { font-size: clamp(1.5rem, 2.3vw, 2.2rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; color: var(--accent-text); }
.lead__list h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); font-weight: 600; letter-spacing: -.02em; margin-bottom: .45rem; }
.lead__list p { color: var(--muted); max-width: 46ch; }
.network { margin-top: clamp(110px, 14vw, 220px); }
.network__list { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .9em; row-gap: .1em; font-size: clamp(2rem, 5vw, 5.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.04; }
.network__list li { transition: color .5s var(--ease), opacity .5s; }
.network__list li:not(:last-child)::after { content: "·"; margin-left: .45em; color: var(--accent-text); font-family: var(--font-sans); font-style: normal; }
.network__list:hover li:not(:hover) { opacity: .28; }
.network__list li:hover { color: var(--accent-text); }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); margin-top: clamp(48px, 6vw, 80px); }
.note { padding-top: 1.3rem; border-top: 1px solid var(--line); display: grid; gap: .55rem; align-content: start; }
.note h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.note p { color: var(--muted); }
@media (max-width: 900px) {
  .lead__grid { grid-template-columns: 1fr; grid-template-areas: "head" "aside" "list"; }
  .lead__aside { position: relative; top: 0; margin-bottom: 3rem; }
  .team { width: 100%; }
  .notes { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .lead__list li { grid-template-columns: 1fr; gap: .7rem; } }

/* ==========================================================================
   05 — THE PATH
   ========================================================================== */
.journey__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 140px); align-items: start; }
.journey__aside { position: sticky; top: calc(var(--nav-h) + 4vh); display: grid; gap: 1rem; }
.year { overflow: hidden; height: .86em; font-size: clamp(4.4rem, 11vw, 12rem); font-weight: 600; letter-spacing: -.07em; line-height: .86; font-variant-numeric: tabular-nums; position: relative; }
.year__roll { display: block; }
.stairs { width: 100%; aspect-ratio: 1.45; }
.steps { padding-top: 8vh; }
.step { padding: clamp(40px, 9vh, 110px) 0; border-top: 1px solid var(--line); transition: opacity .6s var(--ease); }
.step:last-child { border-bottom: 1px solid var(--line); }
html.js .step { opacity: .3; }
html.js .step.is-active { opacity: 1; }
.step__date { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.step__date i { font-style: normal; font-size: .62rem; letter-spacing: .12em; color: var(--accent-ink); background: var(--accent); padding: .22rem .55rem; border-radius: 99px; }
.step h3 { font-size: clamp(1.6rem, 2.8vw, 2.7rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; margin: 1rem 0 .4rem; }
.step__co { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 1.7vw, 1.55rem); color: var(--accent-text); margin-bottom: .8rem; }
.step p:not(.step__co) { color: var(--muted); max-width: 46ch; }
@media (max-width: 900px) {
  .journey__grid { grid-template-columns: 1fr; }
  .journey__aside { position: relative; top: 0; }
  .steps { padding-top: 0; }
  html.js .step { opacity: 1; }
}

/* ==========================================================================
   06 — THE TOOLKIT
   ========================================================================== */
.kit { border-top: 1px solid var(--line); }
.kit__row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1rem 3rem; padding: clamp(26px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.kit__row h3 { font-size: clamp(1.6rem, 3vw, 3rem); font-weight: 600; letter-spacing: -.045em; line-height: 1; transition: color .5s var(--ease), transform .7s var(--ease); }
.kit__row p { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.7; transition: color .5s; }
.kit__row p i { font-style: normal; color: var(--faint); margin: 0 .35em; }
.kit__row:hover h3 { color: var(--accent-text); transform: translateX(.5rem); }
.kit__row:hover p { color: var(--ink); }
@media (max-width: 760px) { .kit__row { grid-template-columns: 1fr; } }

/* ==========================================================================
   07 — RECOGNITION (daylight)
   ========================================================================== */
.medals { display: flex; flex-wrap: wrap; justify-content: space-between; gap: clamp(18px, 3vw, 40px); }
.medal {
  width: clamp(120px, 15.5vw, 230px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; gap: .25rem;
  transition: transform .7s var(--ease);
}
.medal span { font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.medal b { font-size: clamp(1.1rem, 2vw, 1.9rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.medal:hover { transform: scale(1.04); }
html.no-stage .medal, html.no-js .medal { border: 1px solid var(--line-2); }
.values { font-size: clamp(1.5rem, 3.4vw, 3.2rem); line-height: 1.12; letter-spacing: -.04em; font-weight: 500; max-width: 26ch; margin: clamp(70px, 10vw, 150px) auto 0; text-align: center; }
.values em { color: var(--accent-text); }
.edu { margin-top: clamp(100px, 13vw, 200px); }
.edu__list li { display: grid; grid-template-columns: 1.2fr 1.2fr auto; gap: 1rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--line); align-items: baseline; transition: padding-left .6s var(--ease); }
.edu__list li:last-child { border-bottom: 1px solid var(--line); }
.edu__list li:hover { padding-left: .8rem; }
.edu__deg { font-size: clamp(1.1rem, 1.7vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; }
.edu__sch { color: var(--muted); }
.edu__yr { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; }
@media (max-width: 760px) {
  .medals { justify-content: center; }
  .medal { width: calc(33.333% - 14px); }
  .edu__list li { grid-template-columns: 1fr auto; }
  .edu__sch { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 460px) { .medal { width: calc(50% - 12px); } }

/* ==========================================================================
   08 — CONTACT
   ========================================================================== */
.contact { min-height: 100vh; display: flex; align-items: center; padding-bottom: clamp(80px, 10vw, 140px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 120px); align-items: center; }
.contact__main { display: grid; gap: 1.8rem; }
.contact__title { font-size: clamp(3rem, 7.4vw, 9rem); line-height: .88; letter-spacing: -.06em; font-weight: 600; max-width: 11ch; }
.contact__title em { color: var(--accent-text); padding-right: .05em; }
.contact__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.contact__actions .btn { padding: .9rem 1.4rem; font-size: .9rem; }
.contact__portrait { width: 100%; max-width: 520px; aspect-ratio: 4 / 5; justify-self: end; }
html.no-js .contact__portrait, html.no-stage .contact__portrait { background: url("../img/mohammed-yunus-portrait-720.jpg") center 25% / cover; border-radius: 24px; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__portrait { justify-self: start; max-width: 360px; }
}

/* ---------- Contact form (underline fields, same type system) ---------- */
.form { display: grid; gap: 1.6rem; margin-top: 1rem; max-width: 640px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.field { position: relative; display: grid; gap: .35rem; }
.field label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: .55rem 0 .7rem; min-height: 44px; resize: vertical;
  transition: border-color .4s var(--ease);
}
.field textarea { min-height: 96px; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--accent); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--accent); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #ff8a5c; }
.field__err { min-height: 1.1em; font-size: .78rem; color: #ff8a5c; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__captcha:empty { display: none; }
.form__foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form__status { font-size: .9rem; color: var(--muted); }
.form__status.is-ok { color: var(--accent-text); }
.form__status.is-err { color: #ff8a5c; }
.form__note { font-size: .78rem; color: var(--faint); }
.form__note a { text-decoration: underline; text-underline-offset: 3px; }
.form button[disabled] { opacity: .6; pointer-events: none; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { position: relative; z-index: 2; padding: 0 0 28px; }
.footer__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.footer__col { display: grid; align-content: start; gap: .1rem; }
.footer__head { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: .6rem; }
.footer__col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-size: .95rem; transition: color .3s; }
.footer__col a:hover { color: var(--ink); }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .8rem 1.5rem; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.footer__bar a { display: inline-flex; align-items: center; min-height: 32px; }
.footer__bar a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Utility & accessibility ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav__menu { min-height: 44px; min-width: 44px; justify-content: center; }
.nav__brand { min-height: 44px; }

/* Blur-up placeholder behind the hero photograph while it loads */
.hero__photo::before { content: ""; position: absolute; inset: -20px; background: var(--lqip) center 30% / cover no-repeat; filter: blur(22px); }
.hero__photo picture { position: relative; }
@media (max-width: 700px) { .hero__photo::before { background-image: var(--lqip-m); } }

/* ---------- Secondary pages (privacy, sitemap, 404) ---------- */
.page { position: relative; z-index: 2; min-height: 70vh; padding: calc(var(--nav-h) + clamp(48px, 9vw, 120px)) 0 clamp(80px, 10vw, 140px); }
.page__head { display: grid; gap: 1.4rem; margin-bottom: clamp(40px, 6vw, 80px); max-width: 900px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--faint); }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }
.prose { max-width: 70ch; display: grid; gap: 1.2rem; color: var(--muted); font-size: 1.05rem; }
.prose h2 { color: var(--ink); font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.03em; font-weight: 600; margin-top: 1.6rem; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: .4rem; }
.sitemap-list { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 900px; }
.sitemap-list a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1.2rem, 2.2vw, 1.8rem); font-weight: 600; letter-spacing: -.03em; transition: padding-left .5s var(--ease), color .3s; }
.sitemap-list a span { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: .7em; color: var(--accent-text); }
.sitemap-list a:hover { padding-left: .6rem; color: var(--accent-text); }
.sitemap-list .sub { padding-left: 1.6rem; font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 500; color: var(--muted); }
.nav--page { grid-template-columns: 1fr auto; }
.nav--page .nav__back { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .84rem; }
.nav--page .nav__back:hover { border-color: var(--ink); }
.big404 { font-size: clamp(7rem, 26vw, 22rem); font-weight: 600; letter-spacing: -.08em; line-height: .8; }
.big404 em { color: var(--accent-text); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html.js .reveal, html.js .word__in, html.js .hl__in { opacity: 1; transform: none; }
  html.js .fw { opacity: 1; }
  .card__in { transform: none !important; }
}
