/* ==========================================================================
   KG Sami — memorial archive. "Lamp & Ripple".
   Night to lamplight: twilight banners, paper pages between, and the
   lamp-lit rooms (listening rooms, the blessing, the footer) kept dark in
   both themes. One stylesheet: tokens, base, layout chrome, home, inner pages.
   (The admin keeps its own frozen copy of the previous sheet.)
   ========================================================================== */

/* ----------------------------------------------------------------- tokens */
:root {
  /* Fixed: the night palette never changes with the theme. */
  --night:    #0b1020;
  --night-2:  #121833;
  --ember:    #c2531d;
  --saffron:  #e38b2c;
  --gold:     #f3c66e;
  --cream:    #fbf4e6;
  --cream-2:  #d9d1c4;
  --on-lamp:  #1c0f06;

  /* Themed. */
  --bg:       #f6efe3;
  --bg-2:     #eee3cf;
  --card:     #fffaf1;
  --ink:      #1e1712;
  --ink-2:    #4a3c31;
  --ink-3:    #6b5c4f;
  --line:     #ddcdb2;
  --line-2:   #c9b493;
  --accent:   #a2440e;
  --wash:     #f6dcb6;
  --bar:      #c2531d;
  --track:    #e7d8bf;
  --ok:       #2f6b3a;
  --bad:      #a3261b;
  --shadow:   0 1px 2px rgb(40 24 10 / 6%), 0 18px 40px -16px rgb(40 24 10 / 22%);

  --f-display: 'Cormorant Garamond', 'Tiro Tamil', Georgia, serif;
  --f-body:    'Manrope', 'Noto Sans Tamil', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-ta:      'Tiro Tamil', 'Noto Sans Tamil', serif;
  --f-hand:    'Kavivanar', 'Tiro Tamil', cursive;

  --wrap: 1200px;
  --gut:  clamp(16px, 4vw, 40px);
  --pad:  clamp(72px, 9vw, 128px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bar-h: 72px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:     #0d1122;
    --bg-2:   #11162c;
    --card:   #171d38;
    --ink:    #f4ecdf;
    --ink-2:  #d6cbb9;
    --ink-3:  #a99d8c;
    --line:   #29304f;
    --line-2: #3a4268;
    --accent: #f2a65a;
    --wash:   #3a2a22;
    --bar:    #e38b2c;
    --track:  #252c4a;
    --ok:     #8fd19e;
    --bad:    #ff8f80;
    --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 18px 40px -16px rgb(0 0 0 / 60%);
  }
}
:root[data-theme="dark"] {
  --bg:     #0d1122;
  --bg-2:   #11162c;
  --card:   #171d38;
  --ink:    #f4ecdf;
  --ink-2:  #d6cbb9;
  --ink-3:  #a99d8c;
  --line:   #29304f;
  --line-2: #3a4268;
  --accent: #f2a65a;
  --wash:   #3a2a22;
  --bar:    #e38b2c;
  --track:  #252c4a;
  --ok:     #8fd19e;
  --bad:    #ff8f80;
  --shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 18px 40px -16px rgb(0 0 0 / 60%);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); -webkit-tap-highlight-color: transparent; }
/* No double-tap zoom delay on anything you can press. */
a, button, summary, label, input, select, textarea { touch-action: manipulation; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: .2em; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }

/* Tiro Tamil ships one weight: never let the browser fake bold or italic. */
[lang="ta"] { font-family: var(--f-ta); font-weight: 400; font-style: normal; font-synthesis: none; line-height: 1.85; }
/* Some legacy Tamil was typed without spaces; let it wrap rather than push the page sideways. */
[lang="ta"], .prose { overflow-wrap: anywhere; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: calc(780px + 2 * var(--gut)); }
.wrap--wide { max-width: calc(1360px + 2 * var(--gut)); }
.section { padding-block: var(--pad); }
.section--tint { background: var(--bg-2); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--gold); color: var(--on-lamp); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.muted { color: var(--ink-3); }

/* A whole card becomes one link without nesting interactive content. */
.stretch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }

.eyebrow {
  display: flex; align-items: center; gap: .8em;
  margin: 0 0 18px;
  font: 700 .76rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: ''; width: 9px; height: 9px; flex: none;
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
  background: currentColor;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--center { justify-content: center; }

h2 {
  font: 600 clamp(2.2rem, 1.2rem + 3.4vw, 4.2rem)/1.04 var(--f-display);
  letter-spacing: -.015em;
  color: var(--ink);
}
h2 em { font-style: italic; color: var(--accent); }
h2[lang="ta"] { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.4; }
.lede { max-width: 58ch; font-size: 1.125rem; color: var(--ink-2); }
h2 + .lede { margin-top: 20px; }
.head { margin-bottom: clamp(36px, 5vw, 64px); }
.head--center { text-align: center; }
.head--center .lede { margin-inline: auto; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.5em;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 .95rem/1 var(--f-body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:active { transform: scale(.97); }
.btn--lamp {
  background: linear-gradient(135deg, var(--gold), var(--saffron));
  color: var(--on-lamp);
  box-shadow: 0 10px 28px -10px rgb(227 139 44 / 75%);
}
@media (hover: hover) { .btn--lamp:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgb(227 139 44 / 90%); } }
.btn--ghost { color: var(--cream); border-color: rgb(251 244 230 / 35%); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: var(--accent); color: var(--bg); }
@media (hover: hover) { .btn--ink:hover { transform: translateY(-2px); } }
.btn--line { color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--saffron); color: var(--accent); }
.btn--sm { min-height: 40px; padding: 0 1.1em; font-size: .88rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.ibtn {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
  background: transparent; color: inherit; cursor: pointer;
  transition: border-color .2s, color .2s, background-color .2s;
}
.ibtn:hover { border-color: var(--saffron); color: var(--saffron); }
.ibtn svg { width: 18px; height: 18px; }

.more {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--accent);
}
.more svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.more:hover svg, a:hover > .more svg, .stretch:hover ~ .more svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- header */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--cream);
  transition: background-color .35s, color .35s, box-shadow .35s, transform .35s var(--ease);
}
.bar.is-hidden { transform: translateY(-100%); }
.bar__in {
  max-width: calc(1360px + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut);
  height: var(--bar-h);
  display: flex; align-items: center; gap: 24px;
}
.bar.is-stuck {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.bar.is-stuck.is-dark {
  background: color-mix(in srgb, var(--night) 84%, transparent);
  color: var(--cream);
  box-shadow: 0 1px 0 rgb(251 244 230 / 8%);
}

.mark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; text-decoration: none; }
.mark__seal {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--gold), var(--saffron) 58%, var(--ember));
  color: var(--on-lamp);
  font: 400 1.05rem/1 var(--f-ta);
  box-shadow: 0 0 0 3px rgb(243 198 110 / 22%), 0 0 22px rgb(227 139 44 / 35%);
}
.mark__txt { display: grid; font: 700 1.35rem/1 var(--f-display); letter-spacing: .01em; }
.mark__txt small { font: 600 .75rem/1.3 var(--f-body); letter-spacing: .14em; opacity: .8; margin-top: 3px; }

.bar__nav { margin-left: auto; display: flex; gap: 2px; }
.navi { position: relative; }
.navi__link {
  position: relative; display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; border: 0; background: none; cursor: pointer;
  color: inherit; text-decoration: none; font-weight: 600; font-size: .93rem;
}
.navi__link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--saffron); border-radius: 2px;
  transform: scaleX(0); transition: transform .3s var(--ease);
}
.navi__link:hover::after, .navi__link:focus-visible::after, .navi.is-current > .navi__link::after { transform: scaleX(1); }
.navi__caret { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.navi.is-open .navi__caret { transform: rotate(180deg); }
.navi__panel {
  position: absolute; top: calc(100% + 8px); left: 4px; min-width: 210px;
  margin: 0; padding: 8px; list-style: none;
  background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.navi.is-open .navi__panel { opacity: 1; visibility: visible; transform: none; }
.navi__panel a {
  display: block; padding: 10px 14px; border-radius: 10px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .93rem;
}
.navi__panel a:hover, .navi__panel a:focus-visible { background: var(--bg-2); color: var(--accent); }
.navi__panel a[aria-current] { color: var(--accent); }
.bar__tools { display: flex; gap: 8px; }
.bar__menu { display: none; }

.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

/* Mobile menu: a night sky with large serif links. */
.menu {
  position: fixed; inset: 0; z-index: 60;
  background: radial-gradient(90% 60% at 50% 110%, rgb(227 139 44 / 30%), transparent 60%), var(--night);
  color: var(--cream);
  opacity: 0; transition: opacity .3s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu__in { height: 100%; display: flex; flex-direction: column; padding: 14px var(--gut) 32px; overflow-y: auto; }
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: calc(var(--bar-h) - 14px); }
.menu ol { list-style: none; margin: 20px 0 0; padding: 0; }
.menu ol > li { border-bottom: 1px solid rgb(251 244 230 / 10%); padding: 6px 0 10px; }
.menu ol > li > a {
  display: flex; align-items: baseline; gap: 16px; padding: 6px 0;
  color: var(--cream); text-decoration: none;
  font: 600 clamp(1.9rem, 8.5vw, 2.8rem)/1.15 var(--f-display);
}
.menu ol > li > a span { font: 700 .75rem/1 var(--f-body); color: var(--gold); letter-spacing: .1em; }
.menu ol > li > a[aria-current] { color: var(--gold); }
.menu__sub { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0 0 4px 34px; }
.menu__sub a { color: var(--cream-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; display: inline-block; }
.menu__sub a:hover { color: var(--gold); }
.menu__bless { margin-top: auto; padding-top: 32px; font-size: 1.15rem; color: var(--gold); }

@media (max-width: 1020px) {
  .bar__nav { display: none; }
  .bar__tools { margin-left: auto; }
  .bar__menu { display: grid; }
}

/* ------------------------------------------------------ page banner (inner) */
.phead {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--bar-h) + clamp(40px, 7vw, 88px)) 0 clamp(72px, 9vw, 112px);
  color: var(--cream);
  background: linear-gradient(180deg, #060915 0%, #0c1230 40%, #221d43 75%, #4b2a3e 100%);
}
.phead__stars {
  position: absolute; inset: 0 0 30%; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 6% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 14% 60%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 27% 12%, #ffe9c4 50%, transparent 51%),
    radial-gradient(1px 1px at 41% 34%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 16%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 63% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 74% 10%, #ffe9c4 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 95% 8%, #fff 50%, transparent 51%);
  opacity: .75;
  animation: twinkle 5s ease-in-out infinite alternate;
}
/* A sun half-set behind the horizon, with the same slow rings as the home page. */
.phead__sun {
  --s: clamp(180px, 24vw, 340px);
  position: absolute; z-index: -1; right: 9%; bottom: calc(var(--s) / -2 + 26px);
  width: var(--s); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #ffe6a8 0%, #f8b45a 34%, #e0702c 68%, #a83c20 100%);
  box-shadow: 0 0 60px 10px rgb(240 140 60 / 35%), 0 0 160px 40px rgb(240 120 50 / 18%);
}
.phead__rings {
  position: absolute; z-index: -1; right: 9%; bottom: 26px;
  width: clamp(180px, 24vw, 340px); aspect-ratio: 1; overflow: visible;
  transform: translateY(50%); pointer-events: none;
}
.phead__rings circle {
  fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke;
  opacity: 0; animation: wave 10s cubic-bezier(.25, .6, .3, 1) infinite;
}
.phead__rings circle:nth-child(2) { animation-delay: 3.3s; }
.phead__rings circle:nth-child(3) { animation-delay: 6.6s; }
.phead__lake {
  position: absolute; z-index: -1; inset: auto 0 0; height: 26px;
  border-top: 1px solid rgb(255 205 150 / 40%);
  background:
    radial-gradient(18% 120% at calc(91% - clamp(90px, 12vw, 170px)) 0%, rgb(248 180 90 / 45%), transparent 100%),
    repeating-linear-gradient(180deg, rgb(255 214 160 / 10%) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #3d2438, #1b1b3c);
}
.phead__in { position: relative; }
.phead h1 {
  max-width: 18ch;
  font: 600 clamp(2.6rem, 1.4rem + 4.6vw, 5.4rem)/1 var(--f-display);
  letter-spacing: -.02em; color: var(--cream);
  text-shadow: 0 4px 40px rgb(6 9 21 / 50%);
}
.phead h1[lang="ta"] { max-width: 22ch; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.35; }
.phead__lede { max-width: 56ch; margin: 22px 0 0; font-size: 1.15rem; color: var(--cream-2); }
.phead__lede[lang="ta"] { font-size: 1.2rem; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .88rem; font-weight: 600; color: var(--cream-2); }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs i { font-style: normal; opacity: .5; }
.crumbs [aria-current] { color: var(--cream-2); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.tabs a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border-radius: 999px; border: 1px solid rgb(251 244 230 / 28%);
  color: var(--cream); text-decoration: none; font-weight: 700; font-size: .9rem;
  transition: border-color .2s, background-color .2s, color .2s;
}
.tabs a svg { width: 16px; height: 16px; }
.tabs a:hover { border-color: var(--gold); color: var(--gold); }
.tabs a[aria-current] { background: linear-gradient(135deg, var(--gold), var(--saffron)); border-color: transparent; color: var(--on-lamp); }

@media (max-width: 760px) {
  .phead__sun { --s: 130px; right: -24px; bottom: calc(var(--s) / -2 + 14px); opacity: .7; }
  .phead__rings { width: 130px; right: -24px; bottom: 14px; }
  .letter--page .postmark { width: 80px; height: 80px; margin: -14px -10px 8px 12px; }
  .phead__lake { background: repeating-linear-gradient(180deg, rgb(255 214 160 / 10%) 0 1px, transparent 1px 6px), linear-gradient(180deg, #3d2438, #1b1b3c); }
}

/* ================================================================= HOME === */

/* ------------------------------------------------------------------ hero */
.hero {
  --fig-h: clamp(280px, 54svh, 600px);
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--bar-h) + clamp(12px, 3vh, 40px));
  color: var(--cream);
  background: linear-gradient(180deg, #060915 0%, #0c1230 34%, #211c42 64%, #4b2a3e 86%, #7a3a2c 100%);
}
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__stars {
  position: absolute; inset: 0 0 45%;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 16% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 24% 8%, #ffe9c4 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 30%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 39% 14%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 10%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 36%, #ffe9c4 50%, transparent 51%),
    radial-gradient(1px 1px at 71% 20%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 79% 6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 33%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 93% 16%, #ffe9c4 50%, transparent 51%),
    radial-gradient(1px 1px at 4% 58%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 97% 52%, #fff 50%, transparent 51%);
  opacity: .8;
  animation: twinkle 5s ease-in-out infinite alternate;
}
/* Lamp-light that follows the pointer (desktop only, set up in JS). */
.hero__glow {
  position: absolute; left: 0; top: 0; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgb(243 198 110 / 16%), transparent 65%);
  transform: translate(calc(var(--mx, -1000px) - 50%), calc(var(--my, -1000px) - 50%));
  opacity: 0; transition: opacity .6s;
}
.hero.has-pointer .hero__glow { opacity: 1; }

.hero__kicker {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 1em;
  margin: 0 0 clamp(4px, 2vh, 20px); padding-inline: var(--gut);
  font: 700 .75rem/1.4 var(--f-body); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}
.hero__kicker i { font-style: normal; opacity: .6; }
.hero__kicker::before, .hero__kicker::after {
  content: ''; width: clamp(24px, 6vw, 72px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.hero__kicker::after { transform: scaleX(-1); }

/* Title block: its bottom edge is the horizon. */
.hero__title {
  --sun: calc(var(--fig-h) * .56);
  position: relative; isolation: isolate;
  flex: 1 0 auto;
  min-height: var(--fig-h);
  display: grid; align-items: center;
}
.hero__title::before {
  content: ''; position: absolute; z-index: 0;
  left: -10%; right: -10%; bottom: 0; height: 75%;
  background: radial-gradient(50% 100% at 50% 100%, rgb(243 150 70 / 50%), rgb(190 80 60 / 20%) 45%, transparent 75%);
  pointer-events: none;
}
.hero__sun {
  position: absolute; z-index: 1; left: 50%;
  bottom: calc(var(--fig-h) * .76 - var(--sun) / 2);
  width: var(--sun); aspect-ratio: 1; border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 50% 42%, #ffe6a8 0%, #f8b45a 34%, #e0702c 68%, #a83c20 100%);
  box-shadow: 0 0 60px 10px rgb(240 140 60 / 35%), 0 0 160px 40px rgb(240 120 50 / 18%);
}
.hero__waves {
  position: absolute; z-index: 2; left: 50%;
  bottom: calc(var(--fig-h) * .76 - var(--sun) * 1.5);
  width: calc(var(--sun) * 3); height: calc(var(--sun) * 3);
  transform: translateX(-50%);
  overflow: visible; pointer-events: none;
}
.hero__waves circle {
  fill: none; stroke: var(--gold); stroke-width: 1.2; vector-effect: non-scaling-stroke;
  opacity: 0;
  animation: wave 10s cubic-bezier(.25, .6, .3, 1) infinite;
}
.hero__waves circle:nth-child(2) { animation-delay: 2.5s; }
.hero__waves circle:nth-child(3) { animation-delay: 5s; }
.hero__waves circle:nth-child(4) { animation-delay: 7.5s; }

.hero__name {
  position: relative; z-index: 3;
  width: 100%; max-width: calc(1400px + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut);
  display: grid; grid-template-columns: 1fr calc(var(--fig-h) * .42) 1fr; align-items: center;
  transform: translateY(calc(var(--fig-h) * -.14));
  font: 600 clamp(3.2rem, .6rem + 10.5vw, 12rem)/.9 var(--f-display);
  letter-spacing: -.025em;
  color: var(--cream);
  text-shadow: 0 4px 40px rgb(6 9 21 / 50%);
}
.hero__kg { grid-column: 1; text-align: right; }
.hero__sami {
  grid-column: 3; text-align: left; font-style: italic; font-weight: 500;
  padding-right: .1em;
  background: linear-gradient(180deg, #fff3d6 10%, var(--gold) 55%, var(--saffron) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
}
.hero__man {
  position: absolute; z-index: 4; left: 50%;
  bottom: calc(var(--fig-h) * -.018);       /* the PNG keeps ~2% clear below his feet */
  height: var(--fig-h); width: auto; max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 0 26px rgb(255 190 120 / 28%));
}

.hero__lake {
  position: relative; z-index: 1;
  padding: clamp(36px, 7vh, 80px) var(--gut) clamp(28px, 5vh, 56px);
  border-top: 1px solid rgb(255 205 150 / 40%);
  background: linear-gradient(180deg, #3d2438 0%, #1b1b3c 22%, #0e1329 60%, #0a0e1f 100%);
  overflow: hidden;
}
.hero__lake::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(14% 90% at 50% 0%, rgb(248 180 90 / 40%), transparent 100%);
  pointer-events: none;
}
.hero__shimmer {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgb(255 214 160 / 9%) 0 1px, transparent 1px 8px);
  -webkit-mask-image: radial-gradient(55% 90% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(55% 90% at 50% 0%, #000, transparent 80%);
  animation: shimmer 6s ease-in-out infinite alternate;
}
.hero__echo {
  position: absolute; left: 50%; top: calc(var(--fig-h) * -.018);
  height: var(--fig-h); width: auto; max-width: none;
  transform: translateX(-50%) scaleY(-1);
  opacity: .26; filter: blur(1.5px);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 38%);
  mask-image: linear-gradient(to top, #000 0%, transparent 38%);
  pointer-events: none;
}
.hero__ripples {
  position: absolute; left: 50%; top: 0;
  width: min(1000px, 130vw); height: auto;
  transform: translate(-50%, -50%);
  overflow: visible; pointer-events: none;
}
.hero__ripples ellipse {
  fill: none; stroke: rgb(255 214 160 / 70%); stroke-width: 1; vector-effect: non-scaling-stroke;
  opacity: 0;
  animation: ripple 7s cubic-bezier(.2, .6, .3, 1) infinite;
}
.hero__ripples ellipse:nth-child(2) { animation-delay: 2.33s; }
.hero__ripples ellipse:nth-child(3) { animation-delay: 4.66s; }

.hero__foot {
  position: relative; z-index: 2;
  max-width: 1400px; margin-inline: auto;
  display: grid; grid-template-columns: 1fr calc(var(--fig-h) * .5) 1fr; align-items: end; gap: 24px;
}
.hero__lede { grid-column: 1; max-width: 46ch; }
.hero__lede p { color: var(--cream-2); font-size: 1.05rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__meta { grid-column: 3; justify-self: end; text-align: right; }
.hero__ta { margin: 0 0 14px; font-size: 1.3rem; color: var(--gold); }
.hero__dates { display: flex; justify-content: flex-end; gap: clamp(20px, 3vw, 44px); margin: 0; }
.hero__dates dt { font: 700 .75rem/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.hero__dates dd { margin: 0; font: 600 1.45rem/1.1 var(--f-display); font-variant-numeric: lining-nums; color: var(--cream); white-space: nowrap; }
.hero__dates dd span { display: block; margin-top: 4px; font: italic 500 1rem/1.2 var(--f-display); color: var(--cream-2); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; z-index: 3;
  width: 26px; height: 42px; margin-left: -13px;
  border: 1.5px solid rgb(251 244 230 / 45%); border-radius: 14px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--gold);
  animation: scrollcue 2.2s var(--ease) infinite;
}

@media (max-width: 1080px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; }
  .hero__meta { grid-column: 2; }
}
@media (max-width: 760px) {
  .hero { --fig-h: clamp(250px, 46svh, 380px); }
  .hero__title { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
  .hero__name {
    grid-template-columns: auto auto; justify-content: center; column-gap: .22em;
    transform: none; margin-bottom: 6px;
    font-size: clamp(3rem, 16vw, 4.6rem);
  }
  .hero__kg, .hero__sami { grid-column: auto; }
  .hero__man { position: relative; left: auto; transform: none; margin-bottom: calc(var(--fig-h) * -.018); }
  .hero__echo { opacity: .18; }
  .hero__foot { grid-template-columns: 1fr; gap: 28px; }
  .hero__lede, .hero__meta { grid-column: 1; }
  .hero__meta { justify-self: start; text-align: left; order: -1; }
  .hero__dates { justify-content: flex-start; }
  .hero__scroll { display: none; }
}

/* ---------------------------------------------------------------- ribbon */
.ribbon {
  overflow: hidden;
  background: linear-gradient(90deg, #e9a04b, var(--saffron) 50%, #e9a04b);
  color: var(--on-lamp);
  border-block: 1px solid rgb(28 15 6 / 15%);
}
.ribbon__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ribbon li {
  display: flex; align-items: center; gap: .55em;
  padding: 14px 0 14px 1.6em; white-space: nowrap;
  font: italic 600 1.55rem/1 var(--f-display);
}
.ribbon li::after {
  content: ''; width: 7px; height: 7px; margin-left: 1.1em;
  background: currentColor; transform: rotate(45deg); opacity: .55;
}
.ribbon small {
  font: 700 .75rem/1 var(--f-body); font-style: normal;
  padding: 4px 7px; border-radius: 99px; background: rgb(28 15 6 / 12%);
}
.ribbon .ribbon__ta { font-size: 1.3rem; }

/* -------------------------------------------------------------- sentence */
.sentence { padding-block: var(--pad); }
.sentence__text {
  margin: 0; max-width: 30ch;
  font: 500 clamp(2rem, 1rem + 3.4vw, 4rem)/1.18 var(--f-display);
  letter-spacing: -.01em; color: var(--ink);
}
.sentence__text a {
  color: inherit; text-decoration: none;
  background: linear-gradient(var(--wash), var(--wash)) 0 88% / 100% .32em no-repeat;
  transition: background-size .35s var(--ease);
}
.sentence__text a:hover, .sentence__text a:focus-visible { background-size: 100% 100%; }
.sentence__text b { font-weight: 700; color: var(--accent); font-variant-numeric: lining-nums; }
.sentence__soft { font-style: italic; }

/* ----------------------------------------------------------------- names */
.names { padding-block: var(--pad); background: var(--bg-2); }
.names__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); }
.names__head { grid-column: 1 / -1; }

/* An arched niche, like a shrine doorway. */
.niche {
  position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 20px 20px;
  background: var(--card);
  box-shadow: var(--shadow), 0 0 0 1px var(--line), 0 0 0 10px var(--bg-2), 0 0 0 11px var(--line-2);
}
.names__faces { position: sticky; top: calc(var(--bar-h) + 32px); align-self: start; }
.names__faces img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  opacity: 0; transform: scale(1.06);
  transition: opacity .9s var(--ease), transform 1.6s var(--ease);
}
.names__faces img.is-on { opacity: 1; transform: none; }
.names__faces figcaption {
  position: absolute; inset: auto 0 0; padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgb(10 8 6 / 72%));
  color: #fbf4e6; font: italic 500 1.05rem/1.3 var(--f-display); text-align: center;
}

.names__list { list-style: none; margin: 0; padding: 0; }
.name {
  display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 8px;
  padding: 26px 0 28px; border-top: 1px solid var(--line);
}
.name:last-child { border-bottom: 1px solid var(--line); }
.name__n {
  grid-row: 1 / span 3; width: 2.2rem; height: 2.2rem; margin-top: .9rem;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-2);
  font: 700 .75rem/1 var(--f-body); color: var(--ink-3);
  transition: background-color .4s, color .4s, border-color .4s, box-shadow .4s;
}
.name__face { display: none; }
.name__ta {
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.3rem); line-height: 1.35;
  color: var(--ink-3);
  transition: color .5s;
}
.name__en { font: italic 500 1.45rem/1.2 var(--f-display); color: var(--ink); }
.name__note { margin-top: 8px; max-width: 46ch; color: var(--ink-2); font-size: 1rem; }
.name.is-active .name__ta { color: var(--accent); }
.name.is-active .name__n {
  background: var(--saffron); border-color: var(--saffron); color: var(--on-lamp);
  box-shadow: 0 0 0 5px rgb(227 139 44 / 18%);
}

/* Small screens: no sticky niche (it would sit on the text); each name
   carries its own small portrait instead. */
@media (max-width: 860px) {
  .names__grid { grid-template-columns: minmax(0, 1fr); }
  .names__faces { display: none; }
  .name { grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  .name__n { display: none; }
  .name__face {
    display: block; grid-row: 1 / span 3; margin-top: .55rem;
    width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%;
    box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 3px var(--line-2);
    filter: grayscale(.6) sepia(.3); transition: filter .6s, box-shadow .4s;
  }
  .name.is-active .name__face { filter: none; box-shadow: 0 0 0 2px var(--bg-2), 0 0 0 4px var(--saffron); }
  .name__ta { font-size: clamp(1.55rem, 7.4vw, 2.2rem); overflow-wrap: anywhere; }
}

/* --------------------------------------------------------------- journey */
.journey { padding-block: var(--pad); }
.journey__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }

.journey__list { --p: 0; position: relative; list-style: none; margin: 0; padding: 0; }
.journey__list::before,
.journey__list::after {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px;
  border-radius: 2px;
}
.journey__list::before { background: var(--line); }
.journey__list::after {
  background: linear-gradient(180deg, var(--gold), var(--saffron) 50%, var(--ember));
  box-shadow: 0 0 14px rgb(227 139 44 / 60%);
  transform-origin: top; transform: scaleY(var(--p));
}
.stop {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(56px, 9vw, 120px);
  align-items: center;
  padding-block: clamp(28px, 4vw, 48px);
}
/* Each stop is a small lamp that lights as the wick reaches it. */
.stop__dot {
  position: absolute; left: 50%; top: calc(clamp(28px, 4vw, 48px) + 22px); z-index: 1;
  width: 18px; height: 18px; margin-left: -9px;
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
  background: var(--bg); border: 2px solid var(--line-2);
  transition: background .5s, border-color .5s, box-shadow .5s;
}
.stop.is-lit .stop__dot {
  border-color: var(--saffron);
  background: radial-gradient(circle at 60% 40%, #fff1c9, var(--gold) 40%, var(--saffron));
  box-shadow: 0 0 0 6px rgb(227 139 44 / 16%), 0 0 26px rgb(243 160 70 / 85%);
}
.stop__body { grid-column: 1; text-align: right; }
.stop__body p { max-width: 46ch; margin-left: auto; color: var(--ink-2); }
.stop__media { grid-column: 2; margin: 0; }
.stop:nth-child(even) .stop__body { grid-column: 2; text-align: left; }
.stop:nth-child(even) .stop__body p { margin-left: 0; }
.stop:nth-child(even) .stop__media { grid-column: 1; grid-row: 1; }

.stop__year {
  display: block;
  font: 600 clamp(3rem, 2rem + 3vw, 4.6rem)/1 var(--f-display);
  font-variant-numeric: lining-nums; letter-spacing: -.02em;
  color: var(--accent);
}
.stop h3 { margin: 6px 0 12px; font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.15 var(--f-display); }
.stop__tags { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.stop:nth-child(even) .stop__tags { justify-content: flex-start; }
.stop__tags li {
  padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line-2);
  font: italic 600 1.05rem/1.2 var(--f-display); color: var(--ink);
}
.stop__ghost {
  grid-column: 2; grid-row: 1; align-self: center;
  font: 600 clamp(5rem, 3rem + 7vw, 10rem)/1 var(--f-display); font-variant-numeric: lining-nums;
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  user-select: none;
}
.stop:nth-child(even) .stop__ghost { grid-column: 1; justify-self: end; }
.frame {
  display: block; aspect-ratio: 1200 / 620; overflow: hidden;   /* crops the captions burnt into the scans */
  border-radius: 16px;
  box-shadow: var(--shadow);
  outline: 1px solid var(--line); outline-offset: 6px;
}
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.stop__media figcaption { margin-top: 14px; font: italic 500 1.05rem/1.35 var(--f-display); color: var(--ink-3); }
.stop:nth-child(even) .stop__media figcaption { text-align: right; }
.stop--last .stop__dot { width: 24px; height: 24px; margin-left: -12px; }
.journey__more { margin: clamp(40px, 6vw, 72px) 0 0; text-align: center; }

@media (max-width: 860px) {
  .journey__list::before, .journey__list::after { left: 10px; }
  .stop, .stop:nth-child(even) { grid-template-columns: 1fr; row-gap: 22px; padding-left: 44px; }
  .stop__dot { left: 10px; top: calc(clamp(28px, 4vw, 48px) + 16px); }
  .stop__body, .stop:nth-child(even) .stop__body { grid-column: 1; text-align: left; }
  .stop__body p { margin-left: 0; }
  .stop__media, .stop:nth-child(even) .stop__media { grid-column: 1; grid-row: auto; }
  .stop__tags { justify-content: flex-start; }
  .stop__ghost { display: none; }
  .stop:nth-child(even) .stop__media figcaption { text-align: left; }
}

/* Archive photographs start faded and come back to colour when reached. */
.js .bloom img { filter: sepia(.8) saturate(.55) contrast(.95) brightness(1.03); transition: filter 1.6s var(--ease), transform .6s var(--ease); }
.js .bloom.is-bloomed img, .js .bloom:focus-visible img, .js .bloom:focus-within img { filter: none; }
@media (hover: hover) { .js .bloom:hover img { filter: none; } }

/* ----------------------------------------------------------------- words */
.words { padding-block: var(--pad); background: var(--bg-2); }
.words__spread { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: start; }

/* A printed page: double rule, a lamp-coloured opening quote. */
.folio {
  position: relative;
  padding: clamp(32px, 4.5vw, 64px) clamp(20px, 3vw, 40px);
  background: var(--card); border-radius: 4px;
  box-shadow: var(--shadow);
}
.folio::before {
  content: ''; position: absolute; inset: 12px; pointer-events: none;
  border: 1px solid var(--line); outline: 1px solid var(--line); outline-offset: -5px;
}
.folio--quote::after {
  content: '\201C'; position: absolute; top: -.18em; left: 50%; transform: translateX(-50%);
  font: 700 9rem/1 var(--f-display); color: var(--saffron);
  pointer-events: none;
}
.folio__label {
  display: flex; justify-content: space-between; gap: 12px;
  margin: 0 0 22px; padding-top: 18px;
  font: 700 .75rem/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.folio__title { margin-bottom: 18px; text-align: center; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem); line-height: 1.4; color: var(--ink); }
.folio__verse { text-align: center; color: var(--ink); }
.folio__verse p { margin: 0; font-size: clamp(1rem, .9rem + .3vw, 1.16rem); line-height: 2.05; text-wrap: balance; }
.folio__more { display: flex; justify-content: center; margin-top: 28px; }

.contents__title, .signed__title {
  margin-bottom: 8px;
  font: 700 .75rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
}
.contents__list { list-style: none; margin: 0 0 40px; padding: 0; }
.contents__list a {
  display: grid; grid-template-columns: 2.4rem minmax(0, max-content) minmax(24px, 1fr) auto;
  align-items: baseline; column-gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.contents__n { font: 600 1.2rem/1 var(--f-display); font-variant-numeric: lining-nums; color: var(--accent); }
.contents__t { font-size: 1.15rem; line-height: 1.6; transition: color .25s; }
.contents__dots { border-bottom: 2px dotted var(--line-2); transform: translateY(-.35em); }
.contents__by { font: italic 500 1.08rem/1.2 var(--f-display); color: var(--ink-3); white-space: nowrap; }
.contents__list a:hover .contents__t, .contents__list a:focus-visible .contents__t { color: var(--accent); }

/* One series, labelled on every row: no legend, ink for every number. */
.signed { margin-bottom: 36px; }
.signed__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.signed__list li { display: grid; grid-template-columns: minmax(8rem, 10rem) 1fr 2.2rem; align-items: center; gap: 14px; font-size: .92rem; }
.signed__name { color: var(--ink-2); }
.signed__n { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.signed__bar { height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; }
.signed__bar span {
  display: block; height: 100%; width: var(--w); border-radius: 0 4px 4px 0;
  background: var(--bar);
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.2s var(--ease);
}
.signed.is-in .signed__bar span, html:not(.js) .signed__bar span { transform: none; }
.signed__list li:nth-child(2) .signed__bar span { transition-delay: .05s; }
.signed__list li:nth-child(3) .signed__bar span { transition-delay: .1s; }
.signed__list li:nth-child(4) .signed__bar span { transition-delay: .15s; }
.signed__list li:nth-child(n+5) .signed__bar span { transition-delay: .2s; }

@media (max-width: 960px) { .words__spread { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .contents__list a { grid-template-columns: 2.2rem 1fr; }
  .contents__dots { display: none; }
  .contents__by { grid-column: 2; }
  .signed__list li { grid-template-columns: 7.5rem 1fr 2rem; gap: 10px; }
}

/* ------------------------------------------------------- listening room */
.listen {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: var(--pad);
  color: var(--cream);
  background: linear-gradient(180deg, #0b1020, #0f1530 60%, #0b1020);
}
.listen__lamp {
  position: absolute; z-index: -1; right: -10%; top: -20%;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgb(227 139 44 / 22%), transparent 62%);
  animation: breathe 6s ease-in-out infinite alternate;
}
.listen h2 { color: var(--cream); }
.listen h2 em { color: var(--gold); }
.listen .lede { color: var(--cream-2); }
.listen a:not(.btn) { color: var(--gold); }

.room { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.room--stack { grid-template-columns: 1fr; }
.screen__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 18px; background: #000;
  box-shadow: 0 40px 90px -30px rgb(0 0 0 / 80%), 0 0 0 1px rgb(255 255 255 / 8%), 0 0 80px -20px rgb(227 139 44 / 35%);
}
.screen__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.screen__facade {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  padding: 0; border: 0; background: #000; cursor: pointer;
}
.screen__facade img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.65) saturate(.6) brightness(.62) contrast(1.05);
  transform: scale(1.02);
  transition: filter .6s var(--ease), transform .8s var(--ease);
}
.screen__facade:hover img, .screen__facade:focus-visible img { filter: sepia(.2) brightness(.8); transform: scale(1.05); }
.play-disc {
  position: absolute; left: 50%; top: 50%;
  width: 88px; height: 88px; margin: -44px 0 0 -44px;
  display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--saffron)); color: var(--on-lamp);
  box-shadow: 0 0 50px rgb(227 139 44 / 70%);
}
.play-disc::before {
  content: ''; position: absolute; inset: -12px; border-radius: 50%;
  border: 1.5px solid rgb(243 198 110 / 55%);
  animation: pulse 2.4s var(--ease) infinite;
}
.play-disc svg { width: 34px; height: 34px; margin-left: 5px; }
.screen__now { display: grid; gap: 4px; margin: 22px 0 0; }
.screen__label { font: 700 .75rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.screen__ta { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.6; color: var(--cream); }
.screen__en { font: italic 500 1.25rem/1.3 var(--f-display); font-variant-numeric: lining-nums; color: var(--cream-2); }
.screen__ta:empty, .screen__en:empty { display: none; }

.tracks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.track {
  width: 100%; display: grid; grid-template-columns: 2.2rem 1fr 22px; align-items: center; gap: 12px;
  min-height: 56px; padding: 12px 16px; text-align: left;
  border-radius: 14px; border: 1px solid transparent; background: transparent;
  color: var(--cream); cursor: pointer; touch-action: manipulation;
  transition: background-color .25s, border-color .25s;
}
.track:hover { background: rgb(251 244 230 / 6%); }
.track.is-on { background: rgb(227 139 44 / 13%); border-color: rgb(243 198 110 / 35%); }
.track__n { font: 600 1.15rem/1 var(--f-display); font-variant-numeric: lining-nums; color: var(--gold); }
.track__t { display: grid; gap: 2px; }
.track__t [lang="ta"] { font-size: 1.02rem; line-height: 1.55; }
.track__en { font: italic 500 1.05rem/1.25 var(--f-display); font-variant-numeric: lining-nums; color: var(--cream-2); }
.track__eq { display: flex; align-items: flex-end; gap: 3px; height: 16px; opacity: 0; }
.track__eq i { width: 4px; height: 30%; border-radius: 2px; background: var(--gold); }
.is-playing .track.is-on .track__eq { opacity: 1; }
.is-playing .track.is-on .track__eq i { animation: eq .9s ease-in-out infinite alternate; }
.is-playing .track.is-on .track__eq i:nth-child(2) { animation-delay: -.3s; }
.is-playing .track.is-on .track__eq i:nth-child(3) { animation-delay: -.6s; }

/* Numbered episode buttons (the life-history recordings). */
.episodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.episodes .track { grid-template-columns: 1fr; justify-items: center; text-align: center; min-height: 64px; padding: 8px; border-color: rgb(251 244 230 / 12%); }
.episodes .track__n { font-size: 1.45rem; }
.episodes small { display: block; font: 700 .75rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--cream-2); margin-bottom: 4px; }

.listen__more { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(36px, 5vw, 56px) 0 0; }
@media (max-width: 960px) { .room { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- letters */
.letters { padding-block: var(--pad); }
.letters__wall { columns: 3 300px; column-gap: 32px; }
.letter {
  position: relative; break-inside: avoid;
  margin: 0 0 32px; padding: 34px 30px 26px;
  border-radius: 6px; border: 1px solid var(--line);
  background: linear-gradient(170deg, rgb(255 255 255 / 4%), transparent 40%), var(--card);
  box-shadow: var(--shadow);
  rotate: var(--tilt, 0deg);
  transition: rotate .45s var(--ease), translate .45s var(--ease), box-shadow .45s var(--ease);
}
.letter:focus-within { rotate: 0deg; translate: 0 -4px; }
@media (hover: hover) { .letter:hover { rotate: 0deg; translate: 0 -4px; } }
.letter[hidden] { display: none; }
.postmark {
  position: absolute; top: 14px; right: 14px;
  width: 88px; height: 88px; overflow: visible;
  color: var(--accent); opacity: .72;
  transform: rotate(-12deg);
}
.postmark circle, .postmark__lines { fill: none; stroke: currentColor; stroke-width: 1.4; }
.postmark text { fill: currentColor; }
.postmark__place { font: 400 10.5px var(--f-ta); }
.postmark__place:not([lang]) { font: 700 9px var(--f-body); letter-spacing: 2px; }
.postmark__year { font: 700 14px var(--f-body); letter-spacing: 1.5px; }
.letter__title { margin: 0 92px 14px 0; font: 400 1.45rem/1.45 var(--f-hand); }
.letter__title a, .letter__sign a { color: var(--ink); text-decoration: none; }
.letter__title a:focus-visible, .letter__sign a:focus-visible { outline: none; }
.letter:focus-within { outline: 2px solid var(--saffron); outline-offset: 4px; }
.letter__body { margin: 0 0 18px; color: var(--ink-2); font-size: 1rem; line-height: 1.9; }
.letter__sign { display: grid; gap: 2px; margin: 0; font: 400 1.2rem/1.4 var(--f-hand); color: var(--accent); }
.letter__sign small { font: 500 .85rem/1.4 var(--f-ta); color: var(--ink-3); }
.letters__more { margin: 16px 0 0; text-align: center; }

/* ----------------------------------------------------------------- album */
.album { padding-block: var(--pad); background: var(--bg-2); }
.album__head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 24px 64px; margin-bottom: clamp(36px, 5vw, 56px); }
.album__head .lede { margin: 0; justify-self: end; }
.album__grid {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(96px, 11vw, 168px); grid-auto-flow: dense; gap: 12px;
}
.shot { grid-column: span 1; grid-row: span 1; }
.shot--0 { grid-column: span 3; grid-row: span 3; }
.shot--1, .shot--4, .shot--5, .shot--6 { grid-column: span 2; grid-row: span 2; }
.shot--2 { grid-row: span 2; }
.album__more { margin: clamp(32px, 5vw, 48px) 0 0; text-align: center; }
@media (max-width: 760px) {
  .album__head { grid-template-columns: 1fr; }
  .album__head .lede { justify-self: start; }
  .album__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 10px; }
  .shot--0 { grid-column: span 2; grid-row: span 2; }
  .shot--1, .shot--4, .shot--5, .shot--6 { grid-column: span 1; grid-row: span 1; }
  .shot--2 { grid-row: span 2; }
}

/* -------------------------------------------------------------- blessing */
.bless {
  position: relative; overflow: hidden;
  padding: var(--pad) 0 calc(var(--pad) * .8);
  color: var(--cream); text-align: center;
  background:
    radial-gradient(55% 45% at 50% 22%, rgb(227 139 44 / 20%), transparent 70%),
    linear-gradient(180deg, #0f1430, #070a16);
}
.bless__in { display: flex; flex-direction: column; align-items: center; }
.lamp { width: clamp(140px, 16vw, 200px); height: auto; margin-bottom: 8px; overflow: visible; }
.lamp__flame { transform-origin: 100px 112px; animation: flicker 2.8s ease-in-out infinite; }
.lamp__halo { transform-origin: 100px 88px; animation: halo 3.4s ease-in-out infinite alternate; }
.lamp__smoke { fill: none; stroke: rgb(217 209 196 / 45%); stroke-width: 2; stroke-linecap: round; animation: smoke 4s ease-in-out infinite; }
.bless__ta { margin: 0; font-size: clamp(2.4rem, 1rem + 6vw, 5.8rem); line-height: 1.3; }
.bless__ta span {
  display: block;
  background: linear-gradient(180deg, #fff3d6 15%, var(--gold) 60%, var(--saffron));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bless__en { margin: 18px 0 0; max-width: 30ch; font: italic 500 clamp(1.25rem, 1rem + 1vw, 1.7rem)/1.35 var(--f-display); color: var(--cream-2); }
.ask {
  margin-top: clamp(56px, 8vw, 96px); max-width: 680px; width: 100%;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 24px; border: 1px solid rgb(243 198 110 / 22%);
  background: rgb(251 244 230 / 3%);
}
.ask h3 { margin-bottom: 12px; font: 600 clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem)/1.15 var(--f-display); color: var(--cream); }
.ask p { margin: 0 auto 24px; max-width: 46ch; color: var(--cream-2); }

/* =========================================================== INNER PAGES === */

/* ------------------------------------------------- toolbar, search, chips */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 24px; }
.search { position: relative; flex: 1 1 320px; max-width: 520px; display: flex; align-items: center; }
.search svg { position: absolute; left: 18px; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.search input {
  width: 100%; min-height: 52px; padding: 0 20px 0 50px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--ink);
  font: 500 1rem var(--f-body);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.search input::-webkit-search-decoration { -webkit-appearance: none; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 4px rgb(227 139 44 / 18%); }
.toolbar__count { margin: 0 0 0 auto; color: var(--ink-3); font-size: .95rem; }
.toolbar__count strong { color: var(--ink); font: 600 1.5rem/1 var(--f-display); font-variant-numeric: lining-nums; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(28px, 4vw, 40px); padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 12px 0 16px;
  border-radius: 999px; border: 1px solid var(--line-2); background: transparent;
  color: var(--ink-2); font: 600 .9rem/1 var(--f-body); text-decoration: none; cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chip:hover { border-color: var(--saffron); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip__num { font-size: .75rem; padding: 3px 7px; border-radius: 99px; background: var(--bg-2); color: var(--ink-3); }
.chip.is-active .chip__num { background: color-mix(in srgb, var(--bg) 18%, transparent); color: inherit; }
.empty { padding: 48px 0; text-align: center; color: var(--ink-3); font: italic 500 1.3rem/1.4 var(--f-display); }
.empty[hidden] { display: none; }

/* ------------------------------------------------------- writing (pieces) */
.pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.piece {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 28px 24px;
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.piece::before {
  content: '\201C'; position: absolute; top: 6px; right: 18px;
  font: 700 5.5rem/1 var(--f-display); color: var(--saffron); opacity: .22; pointer-events: none;
}
.piece:focus-within { transform: translateY(-4px); border-color: var(--line-2); }
@media (hover: hover) { .piece:hover { transform: translateY(-4px); border-color: var(--line-2); } }
.piece[hidden] { display: none; }
.piece__by {
  display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 12px;
  font: 700 .75rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.piece__by span + span { color: var(--ink-3); }
.piece__title { margin: 0 0 10px; padding-right: 30px; font-size: 1.32rem; line-height: 1.55; }
.piece__title a { color: var(--ink); text-decoration: none; }
.piece__title a:focus-visible { outline: none; }
.piece:focus-within { outline: 2px solid var(--saffron); outline-offset: 3px; }
.piece__body { margin: 0 0 18px; color: var(--ink-2); font-size: .98rem; line-height: 1.9; }
.piece .more { margin-top: auto; }
@media (max-width: 1020px) { .pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .pieces { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- reading */
.read__meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px;
  margin: 0 0 32px; color: var(--ink-3); font-size: .92rem; font-weight: 600;
}
.read__meta span { display: inline-flex; align-items: center; gap: 8px; }
.read__meta svg { width: 16px; height: 16px; color: var(--accent); }
.read .folio { padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 72px); }
.read__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

.prose { max-width: 70ch; color: var(--ink-2); font-size: 1.05rem; }
.prose > :first-child { margin-top: 0; }
.prose :is(h2, h3, h4) { color: var(--ink); margin: 2em 0 .6em; font-family: var(--f-display); }
.prose img { border-radius: 12px; margin-block: 1.5rem; height: auto; }
.prose blockquote { margin: 1.6rem 0; padding: .2rem 0 .2rem 1.4rem; border-left: 3px solid var(--saffron); color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose a { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5rem .7rem; }
.prose--ta { max-width: none; color: var(--ink); font-family: var(--f-ta); font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); line-height: 2.05; }
.prose--ta p { margin: 0 0 1.1em; }

/* -------------------------------------------------- letters (inner pages) */
.letter--page { rotate: 0deg; max-width: 860px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) clamp(22px, 5vw, 72px); }
.letter--page:hover, .letter--page:focus-within { rotate: 0deg; translate: none; outline: none; }
/* On a full letter the postmark floats, so the opening lines wrap around it. */
.letter--page .postmark { position: static; float: right; width: 110px; height: 110px; margin: -12px -8px 12px 18px; }
.letter--page .letter__title { margin-right: 120px; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.letter__from { display: grid; gap: 4px; margin: 36px 0 0; text-align: right; }
.letter__from span { font: 400 clamp(1.4rem, 1.2rem + .8vw, 1.9rem)/1.4 var(--f-hand); color: var(--accent); }
.letter__from small { color: var(--ink-3); font-size: .95rem; }
.letter__from small[lang="ta"] { font-family: var(--f-ta); }
.sons { margin: 40px 0 0; text-align: right; font: 400 clamp(1.3rem, 1.1rem + .6vw, 1.6rem)/1.7 var(--f-hand); color: var(--accent); }
.requests { counter-reset: r; list-style: none; margin: 28px 0 0; padding: 26px clamp(18px, 3vw, 32px); border-radius: 14px; background: var(--bg-2); }
.requests li { counter-increment: r; position: relative; padding: 8px 0 8px 2.6rem; }
.requests li::before {
  content: counter(r); position: absolute; left: 0; top: 12px;
  width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%;
  background: var(--saffron); color: var(--on-lamp); font: 700 .8rem/1 var(--f-body);
}
.requests__title { margin: 48px 0 0; font-size: 1.35rem; color: var(--ink); text-align: center; }

/* --------------------------------------------------------- video cards */
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.vcard { position: relative; display: flex; flex-direction: column; }
.vcard[hidden] { display: none; }
.vcard__media {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 14px; background: #000;
  box-shadow: 0 24px 50px -24px rgb(0 0 0 / 80%), 0 0 0 1px rgb(255 255 255 / 8%);
}
.vcard__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.video-facade img {
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.6) saturate(.6) brightness(.7);
  transition: filter .5s var(--ease), transform .7s var(--ease);
}
.video-facade:hover img, .video-facade:focus-visible img { filter: none; transform: scale(1.04); }
.video-facade .play-disc { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
.video-facade .play-disc::before { inset: -8px; }
.video-facade .play-disc svg { width: 24px; height: 24px; margin-left: 3px; }
.vcard__body { padding: 16px 4px 0; }
.vcard__ta { display: block; font-size: 1.1rem; line-height: 1.6; color: var(--cream); }
.vcard__en { display: block; font: italic 500 1.15rem/1.3 var(--f-display); font-variant-numeric: lining-nums; color: var(--cream-2); }
.vcard__ta + .vcard__en { margin-top: 2px; }
.vcard__desc { margin: 8px 0 0; font-size: .92rem; color: var(--cream-2); }
.vcard__yt { display: inline-block; margin-top: 10px; font-size: .85rem; font-weight: 700; }
@media (max-width: 1020px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .vgrid { grid-template-columns: 1fr; } }

/* Talks that no longer play: unlit lamps, kept by name. */
.unlit { list-style: none; margin: 0; padding: 0; columns: 2 300px; column-gap: 40px; }
.unlit li { break-inside: avoid; position: relative; padding: 9px 0 9px 26px; border-bottom: 1px dashed var(--line); font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.unlit li::before {
  content: ''; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px;
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg); border: 1.5px solid var(--line-2);
}

/* ---------------------------------------------------------- audio: tapes */
.tapes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tape {
  position: relative; padding: 22px; border-radius: 18px;
  background: linear-gradient(160deg, #262b45, #151a30);
  color: var(--cream);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 70%), inset 0 1px 0 rgb(255 255 255 / 8%);
}
.tape__label {
  position: relative; padding: 18px 20px 14px; border-radius: 8px;
  background:
    repeating-linear-gradient(180deg, transparent 0 27px, rgb(162 68 14 / 18%) 27px 28px),
    linear-gradient(180deg, #fbf1dc, #f3e2c0);
  color: #2a1c10;
}
.tape__label::before { content: ''; position: absolute; inset: 0 0 auto; height: 8px; border-radius: 8px 8px 0 0; background: linear-gradient(90deg, var(--saffron), var(--ember)); }
.tape__label h3 { margin: 4px 0 2px; font: 400 1.5rem/1.3 var(--f-hand); color: #2a1c10; }
.tape__label p { margin: 0; font-size: .88rem; color: #5a4636; }
.tape__window {
  display: flex; align-items: center; justify-content: space-between;
  margin: 14px auto 0; width: 68%; height: 54px; padding: 0 16px;
  border-radius: 30px; background: rgb(10 12 24 / 75%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 10%);
}
.tape__reel {
  width: 38px; height: 38px; border-radius: 50%;
  background:
    radial-gradient(circle, #151a30 0 5px, transparent 6px),
    conic-gradient(from 0deg, var(--cream) 0 12%, #4a4f6a 12% 33%, var(--cream) 33% 45%, #4a4f6a 45% 66%, var(--cream) 66% 78%, #4a4f6a 78% 100%);
  box-shadow: 0 0 0 4px #3b2a20;
}
.tape__band { flex: 1; height: 14px; margin: 0 10px; border-radius: 4px; background: linear-gradient(180deg, #3b2a20, #5b3b26); }
.tape.is-playing .tape__reel { animation: spin 2.4s linear infinite; }
.tape audio, .tape video { width: 100%; margin-top: 18px; border-radius: 10px; }
.tape video { background: #000; aspect-ratio: 16 / 9; }
.tape__dl { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--gold); font-size: .88rem; font-weight: 700; text-decoration: none; }
.tape__dl svg { width: 14px; height: 14px; transform: rotate(180deg); }
@media (max-width: 760px) { .tapes { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------- notices */
.notice {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 22px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink-2);
}
.notice > svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--accent); }
.notice strong { color: var(--ink); }
.notice p { margin: .35rem 0 0; }
.notice--ok { border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.notice--ok > svg { color: var(--ok); }
.notice--bad { border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.notice--bad > svg { color: var(--bad); }
.notice--night { background: rgb(251 244 230 / 4%); border-color: rgb(243 198 110 / 22%); color: var(--cream-2); }
.notice--night strong { color: var(--cream); }
.notice--night > svg { color: var(--gold); }

/* ------------------------------------------------------------- accordion */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; cursor: pointer; list-style: none;
  font: 600 clamp(1.3rem, 1.1rem + .6vw, 1.65rem)/1.25 var(--f-display); color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(var(--accent), var(--accent)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 1.5px 12px no-repeat;
  transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary:hover { color: var(--accent); }
.accordion__body { padding: 0 4px 28px; }
.listen .accordion, .listen .accordion details { border-color: rgb(251 244 230 / 12%); }
.listen .accordion summary { color: var(--cream); }
.listen .accordion summary::after { border-color: rgb(251 244 230 / 25%); background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)); }
.listen .unlit li { color: var(--cream-2); border-color: rgb(251 244 230 / 12%); }
.listen .unlit li::before { border-color: rgb(243 198 110 / 50%); }

/* ------------------------------------------------------------- the man */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.niche--sun { background: radial-gradient(70% 55% at 50% 42%, #f8b45a, #e0702c 55%, #6b2c26 85%, #2b1b33); }
.niche--sun img { position: absolute; left: 50%; bottom: -1.5%; height: 92%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 10px 30px rgb(0 0 0 / 35%)); }
.niche--sun::after {
  content: ''; position: absolute; inset: auto 0 0; height: 16%;
  background: linear-gradient(180deg, transparent, rgb(20 14 30 / 55%));
}
.dropcap::first-letter {
  float: left; margin: .06em .12em 0 0;
  font: 600 4.6em/.8 var(--f-display); color: var(--accent);
}
.virtues { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin: 28px 0 0; padding: 0; }
.virtues li { font: italic 500 1.3rem/1.3 var(--f-display); color: var(--ink); }
.virtues li:not(:last-child)::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 14px; background: var(--saffron); transform: rotate(45deg) translateY(-3px); }

.moments {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: var(--pad); color: var(--cream);
  background: radial-gradient(60% 50% at 15% 0%, rgb(227 139 44 / 16%), transparent 60%), linear-gradient(180deg, #0b1020, #121833);
}
.moments h2 { color: var(--cream); }
.moments h2 em { color: var(--gold); }
.moments .lede { color: var(--cream-2); }
.moments__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.moment {
  position: relative; padding: 28px 22px 24px; border-radius: 18px;
  background: rgb(251 244 230 / 4%); border: 1px solid rgb(243 198 110 / 16%);
}
.moment::before {
  content: ''; position: absolute; top: -9px; left: 22px; width: 16px; height: 16px;
  border-radius: 50% 0 50% 50%; transform: rotate(-45deg);
  background: radial-gradient(circle at 60% 40%, #fff1c9, var(--gold) 40%, var(--saffron));
  box-shadow: 0 0 22px rgb(243 160 70 / 85%);
}
.moment__year { display: block; margin-bottom: 10px; font: 600 2.4rem/1 var(--f-display); font-variant-numeric: lining-nums; color: var(--gold); }
.moment p { margin: 0; color: var(--cream-2); font-size: .98rem; }
.moment--wide { grid-column: span 2; }
@media (max-width: 1020px) { .moments__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .moment--wide { grid-column: auto; } }
@media (max-width: 560px)  { .moments__grid { grid-template-columns: 1fr; } }

.chapters { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--bar-h) + 32px); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a {
  position: relative; display: block; padding: 8px 0 8px 18px; margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--ink-3); text-decoration: none; font-size: .93rem; font-weight: 600; line-height: 1.35;
  transition: color .25s, border-color .25s;
}
.toc a:hover { color: var(--ink); }
.toc a.is-current { color: var(--accent); border-left-color: var(--saffron); }
.chapter { padding: 0 0 clamp(36px, 5vw, 56px); margin-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.chapter:last-child { border-bottom: 0; margin-bottom: 0; }
.chapter__n { display: block; font: 600 1rem/1 var(--f-body); letter-spacing: .2em; color: var(--accent); margin-bottom: 10px; }
.chapter h3 { margin-bottom: 16px; font: 600 clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem)/1.1 var(--f-display); }
.chapter p { max-width: 64ch; font-size: 1.1rem; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 860px) {
  .intro, .chapters { grid-template-columns: 1fr; }
  .intro .niche { max-width: 380px; width: 100%; margin-inline: auto; }
  .toc { display: none; }
}

.places { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.place { margin: 0; }
.place .photo { width: 100%; aspect-ratio: 1200 / 660; border-radius: 14px; }
.place .photo img { object-position: 50% 0; }
.place figcaption { margin-top: 12px; font: italic 500 1.1rem/1.35 var(--f-display); color: var(--ink-2); }
@media (max-width: 960px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .places { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- gallery, photos */
.photo {
  position: relative; display: block; overflow: hidden; padding: 0; border: 0;
  border-radius: 14px; background: var(--card);
  cursor: zoom-in; box-shadow: var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter 1.6s var(--ease); }
@media (hover: hover) { .photo:hover img { transform: scale(1.04); } }
.photo__cap {
  position: absolute; inset: auto 0 0; padding: 32px 14px 12px; text-align: left;
  background: linear-gradient(transparent, rgb(10 8 6 / 75%));
  color: #fbf4e6; font: 600 .82rem/1.35 var(--f-body);
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.photo:hover .photo__cap, .photo:focus-visible .photo__cap { opacity: 1; transform: none; }
.masonry { columns: 4 240px; column-gap: 14px; }
.masonry .photo { margin: 0 0 14px; break-inside: avoid; width: 100%; height: auto; }
.masonry .photo img { height: auto; }
.masonry .photo[hidden] { display: none; }
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-bottom: clamp(48px, 6vw, 72px); }
.cover { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; color: #fbf4e6; text-decoration: none; box-shadow: var(--shadow); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
@media (hover: hover) { .cover:hover img { transform: scale(1.05); } }
.cover span {
  position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgb(10 8 6 / 80%));
}
.cover b { font: 600 1.5rem/1.1 var(--f-display); }
.cover small { font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cover[aria-current] { outline: 3px solid var(--saffron); outline-offset: 3px; }

/* --------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(28px, 4vw, 48px); background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin-bottom: 8px; }
.form-card > p { color: var(--ink-2); margin-bottom: 28px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--ink);
  font: 500 1rem/1.5 var(--f-body);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 4px rgb(227 139 44 / 18%); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field__error { margin: 0; color: var(--bad); font-size: .88rem; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lamp-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(28px, 4vw, 40px); border-radius: 24px; color: var(--cream);
  background: radial-gradient(80% 60% at 100% 0%, rgb(227 139 44 / 26%), transparent 60%), linear-gradient(180deg, #121833, #0b1020);
  box-shadow: var(--shadow);
}
.lamp-card h2 { color: var(--cream); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); margin-bottom: 22px; }
.lamp-card .eyebrow { color: var(--gold); }
.cline { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgb(251 244 230 / 10%); }
.cline__i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgb(243 198 110 / 12%); color: var(--gold); }
.cline__i svg { width: 18px; height: 18px; }
.cline small { display: block; font: 700 .75rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.cline a { color: var(--cream); }
.cline span { color: var(--cream-2); }
.lamp-card .socials { display: flex; gap: 8px; margin-top: 18px; }
.lamp-card .ibtn { color: var(--cream); }
.map { overflow: hidden; border-radius: 24px; aspect-ratio: 21 / 8; background: var(--bg-2); box-shadow: var(--shadow); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.85); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- 404 */
.lost { text-align: center; }
.lost .lamp { margin-inline: auto; }
.lost h2 { margin-top: 12px; }
.lost .lede { margin-inline: auto; }
.lost .btns { justify-content: center; margin-top: 32px; }

/* ---------------------------------------------------------------- footer */
.foot { background: #070a16; color: var(--cream-2); padding: 64px 0 28px; border-top: 1px solid rgb(251 244 230 / 8%); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot .mark { color: var(--cream); margin-bottom: 18px; }
.foot__about p { max-width: 38ch; font-size: .95rem; }
.foot__social { display: flex; gap: 8px; margin-top: 16px; }
.foot__social .ibtn { color: var(--cream); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: .95rem; }
.foot__col h2 { margin-bottom: 6px; font: 700 .75rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.foot__col a { color: var(--cream-2); text-decoration: none; }
.foot__col a:hover { color: var(--gold); }
.foot__contact p { display: flex; gap: 12px; margin: 0; }
.foot__contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--gold); }
.foot__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(251 244 230 / 8%);
  font-size: .85rem;
}
.foot__bar nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__bar a { color: var(--cream-2); text-decoration: none; }
.foot__bar a:hover { color: var(--gold); }
.foot__credit a { color: var(--gold); font-weight: 700; }
.foot__credit a:hover { text-decoration: underline; color: var(--gold); }
@media (max-width: 960px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } .foot__bar { flex-direction: column; align-items: flex-start; } }

/* ------------------------------------------------------- lightbox, to-top */
.lb {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; padding: 64px 16px;
  background: rgb(5 7 15 / 94%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.lb.is-open { opacity: 1; }
.lb[hidden] { display: none; }
.lb__stage { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lb__stage img { max-width: min(92vw, 1100px); max-height: 78vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgb(0 0 0 / 60%); }
.lb__stage figcaption { color: var(--cream-2); font: italic 500 1.15rem/1.3 var(--f-display); text-align: center; }
.lb .ibtn { position: absolute; color: var(--cream); background: rgb(255 255 255 / 6%); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; margin-top: -22px; }
.lb__next { right: 16px; top: 50%; margin-top: -22px; }

.to-top {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--saffron)); color: var(--on-lamp);
  box-shadow: 0 10px 28px -8px rgb(227 139 44 / 70%);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------------------------------------------------------------- reveal */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .9s var(--ease), translate .9s var(--ease), rotate .45s var(--ease); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
@media (hover: hover) { .js .letter.reveal.is-in:hover { translate: 0 -4px; } }

/* ------------------------------------------------------------ keyframes */
@keyframes twinkle { from { opacity: .45; } to { opacity: .9; } }
@keyframes wave {
  0%   { transform: scale(1);   opacity: 0; }
  12%  { opacity: .55; }
  100% { transform: scale(3);   opacity: 0; }
}
@keyframes ripple {
  0%   { transform: scale(.6); opacity: 0; }
  15%  { opacity: .8; }
  100% { transform: scale(6.4); opacity: 0; }
}
@keyframes shimmer { from { transform: translateY(0); } to { transform: translateY(4px); } }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes breathe { from { opacity: .7; transform: scale(1); } to { opacity: 1; transform: scale(1.06); } }
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes eq { from { height: 25%; } to { height: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flicker {
  0%, 100% { transform: scale(1, 1) skewX(0deg); }
  20%      { transform: scale(.97, 1.05) skewX(1.5deg); }
  45%      { transform: scale(1.03, .96) skewX(-2deg); }
  70%      { transform: scale(.98, 1.03) skewX(1deg); }
}
@keyframes halo { from { opacity: .75; transform: scale(.96); } to { opacity: 1; transform: scale(1.05); } }
@keyframes smoke { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px); } }

/* -------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .hero__waves circle, .phead__rings circle { opacity: .25; }
  .hero__waves circle:nth-child(2), .phead__rings circle:nth-child(2) { transform: scale(1.6); opacity: .15; }
  .hero__waves circle:nth-child(n+3), .phead__rings circle:nth-child(n+3) { display: none; }
  .hero__ripples ellipse { opacity: .4; }
  .hero__ripples ellipse:nth-child(2) { transform: scale(2.6); opacity: .25; }
  .hero__ripples ellipse:nth-child(3) { transform: scale(4.6); opacity: .12; }
  .ribbon__track { width: auto; }
  .ribbon ul { flex-wrap: wrap; justify-content: center; }
  .ribbon ul[aria-hidden] { display: none; }
  .js .bloom img { filter: none; }
  .js .reveal { opacity: 1; translate: none; }
  .signed__bar span { transform: none; }
}

/* ---------------------------------------------------------- forced colours */
@media (forced-colors: active) {
  .hero__sami, .bless__ta span { color: CanvasText; background: none; }
  .signed__bar span { background: CanvasText; }
}

/* Tools placed inside the dark rooms. */
.listen .toolbar__count { color: var(--cream-2); }
.listen .toolbar__count strong { color: var(--cream); }
.listen .empty { color: var(--cream-2); }
.listen .search input { background: rgb(251 244 230 / 6%); border-color: rgb(251 244 230 / 22%); color: var(--cream); }
.listen .search input::placeholder { color: var(--cream-2); }
.listen .search svg { color: var(--cream-2); }
.listen h3 { color: var(--cream); }


/* =========================================================== PHONES & TOUCH === */

/* Press feedback where there is no hover to give it. */
.piece:active, .letter:active, .photo:active, .cover:active, .track:active, .chip:active, .vcard__media:active { scale: .985; }

/* Long archive lists render lazily off-screen (122 pieces on one page). */
/* Height only: an intrinsic width here would push narrow screens sideways. */
.piece { content-visibility: auto; contain-intrinsic-block-size: auto 300px; }
@media (max-width: 760px) { .piece { contain-intrinsic-block-size: auto 190px; } }

/* Lightbox: count, and room for thumbs. */
.lb { overscroll-behavior: contain; }
.lb__count { position: absolute; top: 24px; left: 20px; margin: 0; color: var(--cream-2); font: 700 .8rem/1 var(--f-body); letter-spacing: .12em; }
.menu__in { overscroll-behavior: contain; }

/* Chapter jump menu (phones only; wider screens have the side contents). */
.jump { display: none; }

/* Bigger touch areas for links that are small on screen. */
@media (pointer: coarse) {
  .foot__col { gap: 0; }
  .foot__col h2 { margin-bottom: 8px; }
  .foot__col a { display: block; padding: 10px 0; }
  .foot__contact p { padding: 6px 0; }
  .foot__contact a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .foot__bar a, .foot__credit a { display: inline-block; padding: 11px 0; }
  .crumbs a { display: inline-block; padding: 10px 3px; margin: -10px -3px; }
  .more, .vcard__yt, .tape__dl { min-height: 44px; display: inline-flex; align-items: center; }
  .cline a { display: inline-flex; align-items: center; min-height: 44px; }
  .menu__sub a { padding: 11px 0; }
  .letter__sign a { display: inline-block; padding: 6px 0; }
}

@media (max-width: 760px) {
  :root { --bar-h: 64px; }
  .mark__seal { width: 38px; height: 38px; }
  .mark__txt { font-size: 1.25rem; }

  /* Banners: get to the content sooner. */
  .phead { padding: calc(var(--bar-h) + 26px) 0 60px; }
  .phead h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .phead__lede { margin-top: 14px; font-size: 1.04rem; }
  .crumbs { margin-bottom: 14px; }
  .tabs { margin-top: 22px; }
  .tabs a { min-height: 44px; }

  .section, .names, .journey, .words, .listen, .letters, .album { padding-block: clamp(56px, 14vw, 72px); }
  .head { margin-bottom: 32px; }
  .lede { font-size: 1.05rem; }

  /* Filter chips: one swipeable rail instead of a tall stack. */
  .chips {
    flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut) 12px;
    scroll-snap-type: x proximity; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gut), #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gut), #000 calc(100% - 40px), transparent);
  }
  .chips::-webkit-scrollbar { display: none; }
  .chips li { flex: none; scroll-snap-align: start; }
  .chip { min-height: 44px; }

  /* Two columns of photographs: 225 in a single column is a very long scroll. */
  .masonry { columns: 2; column-gap: 10px; }
  .masonry .photo { margin-bottom: 10px; border-radius: 10px; }
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cover b { font-size: 1.2rem; }
  .cover span { padding: 28px 12px 12px; }

  .toolbar { gap: 10px; }
  .search { flex-basis: 100%; max-width: none; }
  .toolbar__count { margin-left: 0; }

  /* Shorter excerpts keep the long lists scannable. */
  /* Phones: a scannable list. Title, byline, two lines; the whole card is the link. */
  .pieces { gap: 14px; }
  .piece { padding: 20px 20px 18px; }
  .piece::before { font-size: 4rem; top: 2px; right: 14px; }
  .piece__title { font-size: 1.2rem; margin-bottom: 6px; }
  .piece__body { margin-bottom: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .piece .more { display: none; }
  .letters__wall .letter__body { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
  .letters__wall--home .letter:nth-child(n+4) { display: none; }
  .letter { padding: 28px 22px 22px; }
  .letter__title { margin-right: 84px; font-size: 1.3rem; }

  .read .folio { padding: 40px 20px; }
  .vgrid { gap: 32px; }
  .moment { padding: 24px 20px 20px; }

  /* Lightbox: arrows move below the photo, away from it. */
  .lb { padding: 64px 12px 96px; }
  .lb__stage img { max-height: 70vh; max-width: 100%; }
  .lb__prev, .lb__next { top: auto; bottom: max(24px, env(safe-area-inset-bottom)); margin: 0; }
  .lb__prev { left: calc(50% - 60px); }
  .lb__next { right: calc(50% - 60px); }

  /* The Man: chapter jump menu, pinned while reading. */
  .jump {
    display: block; position: sticky; top: calc(var(--bar-offset, var(--bar-h)) + 10px); z-index: 6;
    margin-bottom: 32px; border: 1px solid var(--line); border-radius: 16px;
    background: color-mix(in srgb, var(--card) 94%, transparent);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: var(--shadow); transition: top .35s var(--ease);
  }
  .jump summary {
    display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 18px;
    font-weight: 700; font-size: .95rem; cursor: pointer; list-style: none;
  }
  .jump summary::-webkit-details-marker { display: none; }
  .jump summary::after { content: ''; width: 9px; height: 9px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); transition: transform .25s; }
  .jump[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
  .jump ol { list-style: none; margin: 0; padding: 4px 8px 10px; max-height: 55vh; overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--line); }
  .jump a { display: flex; gap: 12px; padding: 12px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
  .jump a span { color: var(--accent); font-variant-numeric: tabular-nums; }
  .jump a:active { background: var(--bg-2); }
}

/* Small phones (320–400px). */
@media (max-width: 400px) {
  .hero__kicker { flex-wrap: wrap; gap: .2em .5em; letter-spacing: .16em; }
  .hero__kicker::before, .hero__kicker::after { display: none; }
  .hero__ta { font-size: 1.15rem; }
  .hero__dates { gap: 20px; }
  .hero__dates dd { font-size: 1.3rem; }
  .bless__ta { font-size: clamp(2rem, 10.5vw, 2.4rem); }
  .ribbon li { font-size: 1.3rem; }
  .sentence__text { font-size: 1.85rem; }
  .signed__list li { grid-template-columns: 6.6rem 1fr 1.8rem; gap: 8px; font-size: .88rem; }
  .letter__title { margin-right: 76px; }
  .postmark { width: 76px; height: 76px; }
  .tape { padding: 16px; }
  .tape__window { width: 84%; }
  .form-card, .lamp-card { padding: 24px 18px; border-radius: 20px; }
}

/* Phones held sideways: little height, plenty of width. */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --bar-h: 60px; }
  .menu ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; margin-top: 8px; }
  .menu ol > li > a { font-size: 1.6rem; }
  .menu__bless { display: none; }
  .phead { padding: calc(var(--bar-h) + 20px) 0 52px; }
  .lb { padding: 48px 72px 16px; }
  .lb__stage img { max-height: 76vh; }
  .lb__prev, .lb__next { top: 50%; bottom: auto; margin-top: -22px; }
  .lb__prev { left: 16px; }
  .lb__next { right: 16px; }
  .jump ol { max-height: 60vh; }
}
