/* ══════════════════════════════════════════════════════
   VISION SINDH — base system (quiet, editorial, no-3D)
   Paper ground · ink text · mono labels · hairline rules
   ══════════════════════════════════════════════════════ */

@font-face { font-family: "Rozha One"; src: url("/fonts/rozha-one-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Rozha One"; src: url("/fonts/rozha-one-devanagari.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #efece6;
  --paper-2: #e6e2d9;
  --ink: #131110;
  --ink-soft: #46413b;
  --ash: #6f695e;
  --line: #d3cec2;
  --white: #f9f8f5;

  --font-display: "Rozha One", "Times New Roman", serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "Plex Mono", ui-monospace, monospace;

  --gutter: clamp(18px, 4vw, 56px);
  --measure: 62ch;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 380;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #d9611f; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.mono {
  font-family: var(--font-mono);
  font-size: clamp(11px, 0.75vw, 12px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.serif { font-family: var(--font-display); font-weight: 400; }

/* ═══ Header — one system: opaque ink over every ground ═══ */
.hdr {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px calc(var(--gutter)) 10px;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  background: #131110;
  color: #e9e4da;
  border-bottom: 1px solid #2e2a25;
}
.hdr__mark { font-family: var(--font-display); font-size: 17px; letter-spacing: 0.05em; white-space: nowrap; color: #e9e4da; display: inline-flex; align-items: center; min-height: 44px; }
.hdr__nav { display: flex; gap: clamp(10px, 2vw, 26px); }
.hdr__nav a {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: #b5aea1;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
  border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s;
}
.hdr__nav a:hover { color: #e9e4da; }
.hdr__nav a[aria-current="page"] { color: #e9e4da; border-color: #e9e4da; }
.hdr__store {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  border: 1px solid #e9e4da; color: #e9e4da; border-radius: 999px;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; white-space: nowrap;
  transition: background 0.25s, color 0.25s;
}
.hdr__store:hover { background: #e9e4da; color: #131110; }
.hdr__toggle { display: none; }
@media (max-width: 780px) {
  .hdr__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; min-width: 64px;
    background: none; border: 0; font: inherit; cursor: pointer; color: #e9e4da;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  }
  .hdr__nav {
    display: flex;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #131110; border-bottom: 1px solid #2e2a25;
    padding: 4px var(--gutter) 12px;
    visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
  }
  .hdr__nav a {
    min-height: 48px; border-bottom: 1px solid #2e2a25; font-size: 12px;
    opacity: 0; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .hdr.nav-open .hdr__nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .hdr.nav-open .hdr__nav a { opacity: 1; transform: none; }
  .hdr.nav-open .hdr__nav a:nth-child(1) { transition-delay: 0.05s; }
  .hdr.nav-open .hdr__nav a:nth-child(2) { transition-delay: 0.09s; }
  .hdr.nav-open .hdr__nav a:nth-child(3) { transition-delay: 0.13s; }
  .hdr.nav-open .hdr__nav a:nth-child(4) { transition-delay: 0.17s; }
  .hdr.nav-open .hdr__nav a:nth-child(5) { transition-delay: 0.21s; }
  .hdr.nav-open .hdr__nav a:nth-child(6) { transition-delay: 0.25s; }
  @media (prefers-reduced-motion: reduce) {
    .hdr__nav, .hdr__nav a { transition: none; }
  }
}

/* ═══ Layout primitives ═══ */
.wrap { padding-inline: var(--gutter); max-width: 1480px; margin-inline: auto; }
.section { padding-block: clamp(56px, 9vh, 110px); }
.rule { border: 0; border-top: 1px solid var(--line); }
.eyebrow { color: var(--ash); display: block; margin-bottom: 18px; }

.h-display {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 7vw, 96px); line-height: 1.0; letter-spacing: 0.005em;
  text-wrap: balance;
}
.h-section {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 3.4vw, 46px); line-height: 1.08; text-wrap: balance;
}
.lede { max-width: var(--measure); color: var(--ink-soft); font-size: clamp(15px, 1.2vw, 19px); }

/* ═══ Home hero ═══ */
.hero { padding-block: clamp(64px, 12vh, 140px) clamp(48px, 8vh, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: end; }
.hero__title { font-size: clamp(52px, 9.5vw, 150px); }
.hero__title em { font-style: normal; color: var(--ash); font-size: 0.32em; vertical-align: super; letter-spacing: 0; }
.hero__meta { display: grid; gap: 18px; padding-bottom: 8px; }
.hero__meta p { max-width: 38ch; color: var(--ink-soft); }
.hero__fig { margin-top: clamp(36px, 6vh, 72px); }
.hero__fig figure { position: relative; overflow: hidden; background: var(--paper-2); }
.hero__fig img { width: 100%; height: min(74vh, 760px); object-fit: cover; object-position: top center; }
.hero__fig figcaption {
  position: absolute; left: 14px; bottom: 12px;
  background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink);
  padding: 8px 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
}
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; align-items: start; } }

/* ═══ Chapter strips (home) ═══ */
.chapters { display: grid; gap: 0; border-top: 1px solid var(--line); }
.chapter-row {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
  gap: clamp(16px, 3vw, 44px); align-items: center;
  padding-block: clamp(22px, 4vh, 44px); border-bottom: 1px solid var(--line);
  transition: background 0.3s;
}
@media (hover: hover) { .chapter-row:hover { background: var(--paper-2); } }
.chapter-row__num { color: var(--ash); }
.chapter-row__name { font-family: var(--font-display); font-size: clamp(26px, 4.4vw, 60px); line-height: 1; }
.chapter-row__name span { color: var(--ash); font-size: 0.5em; margin-left: 0.4em; }
.chapter-row__desc { color: var(--ink-soft); font-size: 14px; max-width: 34ch; }
.chapter-row__thumbs { display: flex; gap: 8px; justify-content: flex-end; }
.chapter-row__thumbs img { width: clamp(54px, 6vw, 86px); aspect-ratio: 3/4; object-fit: cover; background: var(--paper-2); }
@media (max-width: 780px) {
  /* portrait = film strip: one chapter fills the frame with intent */
  .chapter-row { grid-template-columns: 1fr; gap: 16px; padding-block: 38px; }
  .chapter-row__num { font-size: 11px; }
  .chapter-row__name { font-size: clamp(46px, 13.5vw, 64px); letter-spacing: 0.01em; }
  .chapter-row__name span { font-size: 0.4em; margin-left: 0.3em; }
  .chapter-row__desc { max-width: 100%; font-size: 14.5px; line-height: 1.55; }
  .chapter-row__thumbs { justify-content: stretch; gap: 8px; margin-top: 6px; }
  .chapter-row__thumbs img { flex: 1 1 0; width: auto; min-width: 0; aspect-ratio: 3/4; height: auto; }
}

/* ═══ Product grid ═══ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 44vw), 1fr)); gap: clamp(14px, 2vw, 28px) clamp(12px, 1.6vw, 22px); }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr 1fr; gap: 18px 10px; } }
.card { display: grid; gap: 10px; align-content: start; }
.card figure { position: relative; overflow: hidden; background: var(--white); aspect-ratio: 3/4; border: 1px solid var(--line); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), opacity 0.45s var(--ease); }
.card .card__alt { position: absolute; inset: 0; opacity: 0; }
.card.is-peek .card__alt { opacity: 1; }
.card.is-peek .card__img { transform: scale(1.03); }
.card.is-peek figure { transform: scale(0.988); }
.card figure { transition: transform 0.35s var(--ease); }
@media (hover: hover) { .card:not(.is-live):hover .card__img { transform: scale(1.03); } }
.card__tag {
  position: absolute; top: 10px; left: 10px; z-index: 3;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 8px;
}
.card__row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; position: relative; }
.card__name { font-family: var(--font-display); font-size: 15.5px; line-height: 1.25; }
.card__price { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); white-space: nowrap; }
.card__chapter { color: var(--ash); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; }

/* ═══ THE PLATE SCRUB ═══════════════════════════════════════════════
   The card is an archive drawer, not a two-state toggle. Moving across
   it walks every plate the piece has; each one is brushed in from the
   direction of travel (clip-path, the archaeologist's brush), the stack
   counter-drifts a few px inside its frame (looking into a vitrine),
   and one ember hairline — light, never a surface — draws along the
   caption to land on the price.

   Everything below is inert until public/js/site.js adds .is-live, so
   no-JS keeps premium.css's hem peel on .card__alt untouched. Only
   transform / opacity / clip-path animate: no layout is ever read back
   during a scrub, nothing reflows, and the grid stays composited.     */
.card__plates,
.card__rule { display: none; }

.card.is-live .card__alt { display: none; }              /* JS owns the stack now */

/* the brushed-in plates — two ping-pong layers, injected on first engage */
.card .card__plate {
  position: absolute; inset: 0; z-index: 1;
  opacity: 0; clip-path: inset(0 0 0 0);
  transition: clip-path 0.34s var(--ease), opacity 0.4s var(--ease), transform 0.55s var(--ease);
}
.card .card__plate.is-up { opacity: 1; will-change: clip-path, transform; }
/* the settle-out: a plate that has been replaced leaves without a wipe */
.card .card__plate.is-down { opacity: 0; transition: opacity 0.3s var(--ease); }

/* the stack drifts opposite the pointer — a vitrine, not a tilt toy.
   Scoped to .is-on so at rest no card image is promoted to its own
   compositing layer (40 of those would cost more than the effect). */
.card.is-on.is-live .card__img,
.card.is-live .card__plate {
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(var(--pz, 1));
}
.card.is-live { --pz: 1; }
.card.is-on.is-live { --pz: 1.045; }
.card.is-on.is-live .card__img { transition: transform 0.55s var(--ease); }
.card.is-on.is-live figure { transform: scale(0.988); }

/* ─ the index rail: this catalogue states how many plates it holds ─ */
.card.is-live .card__plates {
  display: flex; align-items: center; gap: 8px;
  position: absolute; z-index: 4; left: 10px; right: 10px; bottom: 9px;
  opacity: 0; transform: translate3d(0, 4px, 0);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  pointer-events: none;
}
.card.is-on .card__plates { opacity: 1; transform: translate3d(0, 0, 0); }
/* THE ROTATION: while a card turns itself the rail surfaces at half
   strength — enough that the change reads as intent, not a glitch —
   then withdraws. The pointer's own rail (.is-on) always outranks it. */
.card.is-turning .card__plates { opacity: 0.62; transform: translate3d(0, 0, 0); }
.card.is-on.is-turning .card__plates { opacity: 1; }
.card__ticks { display: flex; flex: 1; gap: 3px; min-width: 0; }
.card__ticks > span {
  flex: 1; height: 2px; min-width: 0;
  background: rgba(249, 248, 245, 0.34);
  box-shadow: 0 1px 2px rgba(19, 17, 16, 0.4);
  transform: scaleY(1); transform-origin: bottom;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card__ticks > span.is-at {
  background: #d9611f;                                    /* EMBER — light on the seam */
  transform: scaleY(2);
  box-shadow: 0 0 7px rgba(217, 97, 31, 0.75);
}
.card__ticks > span.is-seen { background: rgba(249, 248, 245, 0.8); }
.card__count {
  font-family: var(--font-mono); font-size: 9px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--white); text-shadow: 0 1px 3px rgba(19, 17, 16, 0.65);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.card__count b { font-weight: 500; color: #f2a06a; }

/* ─ the ember hairline: draws along the caption, lands on the price ─ */
.card.is-live .card__rule {
  display: block; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: linear-gradient(90deg, rgba(217, 97, 31, 0) 0%, rgba(217, 97, 31, 0.5) 38%, #d9611f 100%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.55s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
}
.card.is-on .card__rule { transform: scaleX(1); opacity: 1; }
.card.is-live .card__price { transition: color 0.35s var(--ease); }
.card.is-on .card__price { color: var(--ink); }

/* touch: the rail is the whole tell, so it arrives a beat sooner */
@media (hover: none) {
  .card.is-live .card__plates { left: 8px; right: 8px; bottom: 7px; transition-duration: 0.18s, 0.24s; }
  .card__count { font-size: 8.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .card .card__plate { transition: opacity 0.001s linear; clip-path: none !important; }
  .card.is-on.is-live .card__img, .card.is-live .card__plate { transform: none; }
  .card.is-on.is-live figure { transform: none; }
  .card.is-live .card__rule { transition: opacity 0.001s linear; transform: scaleX(1); }
  .card.is-live .card__plates { transition: opacity 0.001s linear; transform: none; }
}

/* shop filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 26px 34px; }
.filters a, .filters button {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center;
  background: none; color: var(--ink-soft); cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.filters [aria-pressed="true"], .filters a[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters :is(a, button):hover { border-color: var(--ink); color: var(--ink); }
.filters [aria-pressed="true"]:hover { color: var(--paper); }

/* ═══ Size rail — real control, travelling-ink underline ═══ */
.sizes { display: grid; gap: 10px; }
.sizes__head { color: var(--ash); }
.sizes__row { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.sizes__row button {
  flex: 1 1 0; min-width: 56px; min-height: 48px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 55%, transparent);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.15s, border-color 0.25s;
}
.sizes__row button:hover:not(:disabled) { color: var(--ink); }
.sizes__row button[aria-checked="true"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.sizes__row button:disabled {
  color: color-mix(in srgb, var(--ink) 24%, transparent); cursor: not-allowed;
  background: linear-gradient(to top, transparent 47%, color-mix(in srgb, var(--ash) 35%, transparent) 47%, color-mix(in srgb, var(--ash) 35%, transparent) 53%, transparent 53%) no-repeat center / 50% 100%;
}

/* ═══ Product page ═══ */
.pdp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.pdp__gallery { display: grid; gap: 12px; }
.pdp__gallery figure { background: var(--white); overflow: hidden; border: 1px solid var(--line); }
.pdp__gallery img { width: 100%; height: auto; }
.pdp__info { position: sticky; top: 84px; display: grid; gap: 22px; }
.pdp__title { font-size: clamp(28px, 3.4vw, 46px); }
.pdp__price { font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px); }
.pdp__hook { color: var(--ink-soft); max-width: 46ch; }
.pdp dl { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pdp dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.pdp dt { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); padding-top: 3px; }
.pdp dd { font-size: 14px; color: var(--ink-soft); }
.pdp__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__sizes span { border: 1px solid var(--line); padding: 6px 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.pdp__note { color: var(--ash); font-size: 13px; }
.btn {
  display: inline-block; text-align: center;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  padding: 15px 28px; border-radius: 999px;
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.pdp__soldout { color: var(--ash); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.pdp__retired { border-block: 1px solid var(--ink); padding-block: 14px; display: grid; gap: 6px; }
.pdp__retired .mono { color: var(--ink); }
.pdp__retired p { color: var(--ink-soft); font-size: 14px; }
.pdp__price--past { color: var(--ash); font-size: clamp(16px, 1.4vw, 20px); }
.pdp__specs { max-width: 900px; margin-top: clamp(40px, 7vh, 72px); }
.pdp__specs dl { display: grid; border-top: 1px solid var(--line); margin-top: 18px; }
.pdp__specs dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.pdp__specs dt { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); padding-top: 3px; }
.pdp__specs dd { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__info { position: static; }
  .pdp__specs dl > div { grid-template-columns: 1fr; gap: 6px; padding-block: 12px; }
}

/* related row */
.related { margin-top: clamp(56px, 9vh, 100px); }

/* ═══ World (about) ═══ */
.world-quote {
  font-family: var(--font-display); font-size: clamp(24px, 3.6vw, 48px); line-height: 1.22;
  max-width: 26ch; text-wrap: balance;
}
@media (max-width: 640px) {
  .world-quote { font-size: clamp(21px, 6vw, 26px); margin-top: 10px; }
  .facts { grid-template-columns: 1fr 1fr; gap: 18px; }
  .timeline li { grid-template-columns: 84px 1fr; }
}
.world-quote em { font-style: normal; border-bottom: 2px solid var(--ink); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; margin-top: clamp(36px, 6vh, 64px); }
.facts > div { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 8px; align-content: start; }
.facts b { font-family: var(--font-display); font-weight: 400; font-size: clamp(22px, 2.4vw, 34px); }
.facts span { color: var(--ink-soft); font-size: 13.5px; max-width: 30ch; }
.timeline { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: clamp(36px, 6vh, 64px); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.timeline b { font-family: var(--font-display); font-weight: 400; font-size: 18px; }
.timeline span { color: var(--ink-soft); font-size: 14.5px; }

/* ═══ Proof ═══ */
.proof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 44vw), 1fr)); gap: 18px; }
@media (max-width: 640px) {
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .proof-grid .proof-card:nth-child(5n+1) { grid-column: 1 / -1; } /* every 5th breathes full-width */
  .proof-card figcaption b { font-size: 13px; }
}
.proof-card figure { aspect-ratio: 4/5; overflow: hidden; background: var(--paper-2); }
.proof-card img { width: 100%; height: 100%; object-fit: cover; }
.proof-card figcaption { padding-top: 10px; display: grid; gap: 2px; }
.proof-card figcaption b { font-family: var(--font-body); font-weight: 600; font-size: 14px; letter-spacing: 0.02em; color: var(--ink); }
.proof-card figcaption span { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash); }
.proof-note { color: var(--ash); font-size: 13px; max-width: 60ch; margin-top: 28px; }

/* ═══ Footer ═══ */
.foot { border-top: 1px solid var(--line); margin-top: clamp(56px, 10vh, 120px); background: var(--paper-2); }
.foot__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; padding-block: clamp(40px, 7vh, 72px); }
.foot__mark { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; }
.foot__mark span { display: block; color: var(--ash); font-size: 0.55em; }
.foot h4 { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 2px; }
.foot a { color: var(--ink-soft); font-size: 14px; transition: color 0.2s; display: inline-flex; align-items: center; min-height: 44px; }
.foot a:hover { color: var(--ink); }
.foot__legal { border-top: 1px solid var(--line); padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px)); color: var(--ash); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 780px) { .foot__inner { grid-template-columns: 1fr 1fr; } }

/* ═══ Reveal (progressive, JS adds .io; no-JS = visible) ═══ */
@media (prefers-reduced-motion: no-preference) {
  .io [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
  .io [data-reveal].in { opacity: 1; transform: none; }
}

/* skip link */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip:focus { left: 12px; top: 12px; }

/* world intro: balanced two-column at desk width */
@media (min-width: 1100px) {
  .world-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: end; }
  .world-head__lede { margin-top: 0; }
}
