/* ==========================================================================
   John Geiger — "The Descent"
   Palette and type come from the Quest Option 4 banner design tokens.
   ========================================================================== */

:root {
  --abyss: #02060a;
  --deep: #070f18;
  --navy: #0e1a24;
  --slate: #182733;
  --water: #0e1a24;               /* updated by JS as you scroll deeper */

  --ice: #96bee6;
  --ice-hi: #d4e6f6;
  --glow: #569ce0;
  --gold: #c9a35b;
  --gold-hi: #e8c886;
  --gold-ink: #8a6424;
  --red: #c4472f;

  --text: #e7edf3;
  --muted: #93a6b9;
  --line: rgba(150, 190, 230, .16);

  --paper: #efe6d2;
  --paper-2: #e5d9bf;
  --ink: #241808;
  --ink-2: #4a3a22;
  --ink-line: rgba(58, 42, 20, .18);

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-body: "Spectral", Georgia, serif;
  --f-ui: "Archivo", system-ui, -apple-system, sans-serif;

  --wrap: min(1240px, 100% - 2 * var(--gutter));
  --gutter: clamp(20px, 4.5vw, 64px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --nav-h: 76px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--water);
  color: var(--text);
  font: 300 clamp(16px, 1.05vw + 10px, 19px)/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
em { font-style: italic; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--deep); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 2px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--deep); font: 600 14px var(--f-ui); border-radius: 4px; }
.skip:focus { top: 12px; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: var(--wrap); margin-inline: auto; position: relative; }

/* ---------- shared type ---------- */
.eyebrow, .label {
  font: 500 12px/1.4 var(--f-ui);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 22px;
}
.label em { font-family: var(--f-display); font-size: 1.35em; letter-spacing: .04em; text-transform: none; }
.rule { width: 46px; height: 1px; background: currentColor; display: inline-block; }
/* no stray last words: balance short blocks, polish paragraphs (js/main.js also
   joins each block's last two words with a non-breaking space for Safari) */
h1, h2, h3, h4, .lede, .quest__subtitle, .hero__quote p, .pullquote blockquote, .card h3, .row__title,
.video__title, .shelf__title, .shelf__sub, .topic__sub, .role__org, .honour__title, .honour__by,
.stats__label, .topic p, .card p, .role__desc, .video__meta, .dispatch__sig span,
.about__portrait blockquote, .card__tr, .row__title small { text-wrap: balance; }
p, li, blockquote, figcaption { text-wrap: pretty; }
.nl { display: block; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); max-width: 860px; }
.section-head h2, .contact h2 {
  font: 500 clamp(40px, 5.6vw, 84px)/1.02 var(--f-display);
  letter-spacing: -.01em;
}
.section-head h2 em, .contact h2 em { color: var(--gold-hi); }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.lede { font-size: clamp(19px, 1.4vw + 10px, 24px); line-height: 1.55; color: var(--ice-hi); margin-top: 26px; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font: 500 13px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; border: 1px solid var(--b);
  position: relative; overflow: hidden; isolation: isolate;
  flex-shrink: 0; white-space: nowrap; /* overflow:hidden would otherwise let flex squash the label ("INDIG…") */
  transition: color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn em { font: italic 600 18px/0 var(--f-display); letter-spacing: .02em; text-transform: none; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--b); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: none; }
.btn--gold { background: var(--gold); color: var(--deep); --b: var(--gold-hi); border-color: var(--gold); }
.btn--ghost { color: var(--text); --b: var(--text); border-color: rgba(231, 237, 243, .4); }
.btn--ghost:hover { color: var(--deep); }
.iconbtn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent;
  font: 400 18px/1 var(--f-ui); display: inline-grid; place-items: center;
  transition: background .3s, border-color .3s, color .3s;
}
.iconbtn:hover { background: var(--gold); color: var(--deep); border-color: var(--gold); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 18px;
  background: var(--deep); transition: opacity .8s var(--ease), visibility .8s;
}
.loader__rose { width: 120px; color: var(--gold-hi); animation: rose-in 1.6s var(--ease) both; }
.loader__label { font: 500 11px var(--f-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); animation: fade 1s .3s both; }
.is-loaded .loader { opacity: 0; visibility: hidden; }
@keyframes rose-in { from { transform: rotate(-120deg) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } }
html:not(.js) .loader { display: none; }

/* ---------- marine snow ---------- */
.snow { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .footer { position: relative; z-index: 1; }

/* ---------- depth gauge ---------- */
.gauge {
  position: fixed; right: 10px; top: 50%; z-index: 60; transform: translateY(-50%);
  height: min(58vh, 520px); width: 44px; display: flex; flex-direction: column; align-items: center;
  padding: 16px 0 12px; border-radius: 30px;
  background: rgba(7, 15, 24, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  opacity: 0; transition: opacity .6s;
}
.gauge.is-on { opacity: 1; }
.gauge__track { position: relative; flex: 1; width: 2px; background: var(--line); border-radius: 2px; }
.gauge__fill { position: absolute; inset: 0 0 auto 0; height: 0; background: linear-gradient(var(--ice), var(--gold)); border-radius: 2px; }
.gauge__fill::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; transform: translateX(-50%); background: var(--gold-hi); box-shadow: 0 0 0 4px rgba(232, 200, 134, .18), 0 0 18px var(--gold); }
.gauge__stops { position: absolute; inset: 16px 0 52px; margin: 0; padding: 0; list-style: none; }
.gauge__stops li { position: absolute; left: 0; right: 0; height: 0; display: flex; justify-content: center; }
.gauge__stops a { position: relative; display: block; width: 14px; height: 14px; margin-top: -7px; }
.gauge__stops a::before { content: ""; position: absolute; inset: 5px 0; height: 1px; top: 6px; background: var(--muted); transition: background .3s; }
.gauge__stops a span {
  position: absolute; right: 30px; top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  font: 500 11px var(--f-ui); letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 4px; background: rgba(7, 15, 24, .85); color: var(--text);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
}
.gauge__stops a:hover span, .gauge__stops a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.gauge__stops a.is-active::before { background: var(--gold-hi); }
.gauge__readout { margin-top: 12px; font: 600 13px/1 var(--f-ui); color: var(--gold-hi); text-align: center; font-variant-numeric: tabular-nums; }
.gauge__readout small { display: block; margin-top: 3px; font-size: 9px; letter-spacing: .2em; color: var(--muted); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background .4s, box-shadow .4s, height .4s;
}
.nav.is-solid { background: rgba(7, 15, 24, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); --nav-h: 64px; }
.nav__brand { font: 500 26px/1 var(--f-display); text-decoration: none; color: var(--gold-hi); letter-spacing: .01em; }
.nav__brand em { font-style: normal; }
.nav__menu { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
.nav__menu a { font: 400 14px var(--f-ui); letter-spacing: .04em; text-decoration: none; color: rgba(231, 237, 243, .82); position: relative; padding: 6px 0; }
.nav__menu a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-hi); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__menu a:hover, .nav__menu a.is-active { color: #fff; }
.nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 10px 18px !important; border: 1px solid var(--gold); border-radius: 999px; color: var(--gold-hi) !important; transition: background .3s, color .3s; }
.nav__cta:hover { background: var(--gold); color: var(--deep) !important; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; position: relative; z-index: 2; }
.nav__toggle span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s; }
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   HERO — the banner's layer stack, live
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; background: var(--deep); }
.hero__bg, .hero__vignette { position: absolute; inset: 0; }
.layer { position: absolute; will-change: transform; }
.hero__ground {
  inset: 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='700' height='700'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.011' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/></svg>") center / 140% 140%,
    radial-gradient(135% 115% at 58% 64%, #182733 0%, #0e1a24 44%, #070f18 76%, #03080d 100%);
  background-blend-mode: soft-light, normal;
}
.hero__ground::after {
  content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23g)'/></svg>") 0 0 / 200px 200px;
}
/* chart + ship sit in a 16:9 frame (width --s) that always covers the hero,
   anchored right and centred vertically — offsets are the banner's own */
.hero__bg { --s: max(100vw, 177.78svh); }
.hero__chart, .hero__ship { mix-blend-mode: screen; }
.hero__chart { opacity: .32; width: calc(var(--s) * .9219); left: calc(100% - var(--s) * 1.0859); top: calc(50% - var(--s) * .30938); }
.hero__ship { opacity: .1; width: var(--s); left: calc(100% - var(--s)); top: calc(50% - var(--s) * .38435); }
.hero__spot { inset: 0; background: radial-gradient(46% 60% at 67% 52%, rgba(86, 156, 224, .3), transparent 70%); }
.hero__halftone { inset: 0; opacity: .1; mix-blend-mode: multiply; background: radial-gradient(rgba(150, 190, 230, .5) .6px, transparent 1.3px) 0 0 / 4px 4px; }

/* figures: a 1280×720 stage, sized by height and pinned bottom-right,
   so John's expedition badge is never cropped */
.hero__figs { --h: 100%; position: absolute; bottom: 0; right: 0; height: var(--h); aspect-ratio: 16 / 9; pointer-events: none; }
.hero__figs > * { position: absolute; will-change: transform; }
.hero__compass { left: 78.44%; top: 8.06%; width: 18.44%; color: #efe6d2; opacity: .34; mix-blend-mode: screen; }
.hero__shackleton { left: 28.125%; top: 10.28%; width: 40.625%; opacity: .6; filter: drop-shadow(0 14px 30px rgba(20, 12, 0, .5)); }
.hero__john { left: 38.83%; top: 5%; width: 76.17%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); }
.hero__vignette { background: radial-gradient(120% 100% at 50% 42%, transparent 48%, rgba(28, 16, 4, .7) 100%); mix-blend-mode: multiply; opacity: .7; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(transparent, var(--water)); pointer-events: none; }

.hero__text {
  /* centred in the space below the nav, so the wordmark never slides under it */
  position: absolute; z-index: 3; left: var(--gutter); top: calc(50% + var(--nav-h) / 2); transform: translateY(-50%);
  width: min(560px, 46vw);
}
.hero__text::before { content: ""; position: absolute; inset: -18% -40% -18% -30%; z-index: -1; background: radial-gradient(closest-side, rgba(7, 15, 24, .55), transparent); pointer-events: none; }
/* sized by width AND height so the full wordmark always fits; no clipping masks */
.hero__title { font: 500 clamp(64px, min(10.5vw, 16.5svh), 176px)/.9 var(--f-display); letter-spacing: -.02em; margin: 6px 0 clamp(20px, 3.4svh, 34px); }
.hero__title .line { display: block; padding: 0 .06em .02em 0; }
.hero__title .line > * { display: inline-block; }
.hero__title em { color: var(--gold-hi); }
.js .hero__title .line > * { opacity: 0; transform: translateY(.18em); filter: blur(6px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.is-loaded .hero__title .line > * { opacity: 1; transform: none; filter: none; }
.is-loaded .hero__title .line:nth-child(2) > * { transition-delay: .14s; }
.hero__quote { margin: 0 0 34px; max-width: 34ch; }
.hero__quote p { font: italic 400 clamp(19px, 1.5vw + 8px, 25px)/1.4 var(--f-display); color: var(--ice-hi); margin: 0 0 8px; }
.hero__quote cite { font: 400 15px var(--f-body); font-style: italic; color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
/* the scroll cue lives inside the text column, so it can't collide with John or the buttons */
.hero__cue {
  display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(22px, 4svh, 40px);
  font: 500 11px var(--f-ui); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; color: var(--muted);
  transition: color .3s;
}
.hero__cue:hover { color: var(--gold-hi); }
.hero__cue i { position: relative; width: 1px; height: 34px; background: rgba(232, 200, 134, .25); overflow: hidden; }
.hero__cue i::after { content: ""; position: absolute; inset: 0; background: var(--gold-hi); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(100%); } }
@media (max-height: 640px) { .hero__cue { display: none; } }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: rgba(7, 15, 24, .6); padding: 18px 0; }
.ticker__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 13px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--ice-hi); white-space: nowrap; }
.ticker__track span::after { content: "◆"; color: var(--gold); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   QUEST
   ========================================================================== */
.quest { padding: clamp(90px, 12vw, 170px) 0 clamp(70px, 9vw, 120px); position: relative; }
.quest::before { content: ""; position: absolute; inset: 0; background: url("../assets/img/hero/chart.webp") 70% 30% / 1500px auto no-repeat; opacity: .07; mix-blend-mode: screen; pointer-events: none; }
.quest__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.quest__visual { display: grid; justify-items: center; gap: 26px; }
.quest__title { font: 500 clamp(80px, 11vw, 168px)/.85 var(--f-display); letter-spacing: .06em; color: #fff; }
.quest__subtitle { font: italic 500 clamp(22px, 1.6vw + 10px, 32px)/1.25 var(--f-display); color: var(--gold-hi); margin: 18px 0 30px; }
.quest__body p { color: rgba(231, 237, 243, .86); }
.quest__buy { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.quest__badge { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--ice-hi); padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; }
.quest__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #4fd18b; box-shadow: 0 0 0 0 rgba(79, 209, 139, .6); animation: pulse 2s infinite; }
.quest__blurb { margin: -4px 0 0; text-align: center; }
.quest__blurb blockquote { margin: 0; font: italic 500 clamp(34px, 2.4vw + 14px, 48px)/1 var(--f-display); color: #fff; }
.quest__blurb figcaption { margin-top: 12px; font: 500 12px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; }
.quest__blurb a { color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.quest__blurb a:hover, .quest__blurb a:focus-visible { color: var(--gold-hi); border-bottom-color: currentColor; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(79, 209, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 209, 139, 0); } }

/* 3D book (used for Quest + the shelf) */
.book3d {
  --rx: 0deg; --ry: -18deg; --gx: 50%; --gy: 30%;
  position: relative; width: min(100%, 360px); aspect-ratio: 2 / 3;
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d; transition: transform .6s var(--ease);
  border-radius: 2px 6px 6px 2px;
}
.book3d img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 12px 24px -12px rgba(0, 0, 0, .6); }
.book3d::before { /* spine shading */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; z-index: 1; border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .45), rgba(255, 255, 255, .18) 45%, rgba(0, 0, 0, .25));
}
.book3d::after { /* page block */
  content: ""; position: absolute; top: 1.5%; bottom: 1.5%; right: 0; width: 26px;
  background: repeating-linear-gradient(90deg, #f3ecdb 0 1px, #d9cfb8 1px 2px);
  transform: translateX(13px) rotateY(90deg); transform-origin: left; border-radius: 0 3px 3px 0;
}
.book3d__glare { position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .28), transparent 45%); mix-blend-mode: soft-light; }
.book3d--hero { width: min(100%, 400px); }

/* pull quote + praise carousel */
.pullquote { margin: clamp(80px, 10vw, 140px) auto clamp(56px, 7vw, 90px); text-align: center; max-width: 1000px; }
.pullquote blockquote { margin: 0; font: italic 500 clamp(32px, 4.2vw, 64px)/1.15 var(--f-display); color: #fff; }
.pullquote figcaption { margin-top: 22px; font: 500 13px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
/* praise: reviewer rail + a stack of expedition dispatches */
.praise { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(30px, 5vw, 80px); align-items: center; border-top: 1px solid var(--line); padding-top: clamp(50px, 6vw, 80px); }
.praise__side .label { margin-bottom: 14px; }
.praise__intro { font: italic 300 17px/1.5 var(--f-body); color: var(--muted); margin-bottom: 26px; }
.praise__names { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.praise__names button {
  all: unset; box-sizing: border-box; position: relative; display: grid; grid-template-columns: 38px 1fr; align-items: baseline;
  width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line); cursor: pointer; transition: padding .35s var(--ease);
}
.praise__names button:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.praise__num { font: 500 11px var(--f-ui); letter-spacing: .18em; color: var(--muted); }
.praise__who { font: 500 clamp(21px, 1vw + 12px, 26px)/1.1 var(--f-display); color: rgba(231, 237, 243, .55); transition: color .35s; }
.praise__names button:hover .praise__who { color: #fff; }
.praise__names button.is-active { padding-left: 10px; }
.praise__names button.is-active .praise__who { color: var(--gold-hi); }
.praise__names button.is-active .praise__num { color: var(--gold); }
.praise__names i { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--gold-hi); }
.praise__names button.is-active i { width: 100%; opacity: .5; }
.praise.is-playing .praise__names button.is-active i { opacity: 1; animation: fillbar 10s linear forwards; }
@keyframes fillbar { from { width: 0; } to { width: 100%; } }
.praise__nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.praise__count { font: 500 13px var(--f-ui); color: var(--muted); font-variant-numeric: tabular-nums; min-width: 52px; text-align: center; }

.praise__deck { position: relative; touch-action: pan-y; cursor: grab; }
.praise__deck:active { cursor: grabbing; }
.dispatch {
  --pos: 0; position: absolute; left: 0; top: 0; width: calc(100% - 36px);
  padding: clamp(24px, 3vw, 44px) clamp(24px, 3.4vw, 52px) clamp(24px, 2.8vw, 38px);
  color: var(--ink); border-radius: 3px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23p)' opacity='.45'/></svg>") 0 0 / 300px,
    radial-gradient(130% 100% at 20% 0%, #f7f0de, #efe5cc 60%, #e4d6b6);
  background-blend-mode: multiply, normal;
  box-shadow: 0 34px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(58, 42, 20, .12);
  transform: translate(calc(var(--pos) * 14px), calc(var(--pos) * 14px)) rotate(calc(var(--rot) * min(var(--pos), 1)));
  opacity: calc(1 - max(0, var(--pos) - 2));
  filter: brightness(calc(1 - var(--pos) * .07));
  transition: transform .75s var(--ease), opacity .5s, filter .5s;
}
.dispatch { display: flex; flex-direction: column; min-height: var(--card-h, 0); }
.dispatch > * { transition: opacity .35s; }
.dispatch:not([data-pos="0"]) > * { opacity: 0; } /* cards behind are blank paper */
.dispatch::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(58, 42, 20, .16); pointer-events: none; }
.dispatch.is-leaving { transform: translate(-70%, 70px) rotate(-16deg); opacity: 0; transition: transform .65s cubic-bezier(.5, 0, .75, 0), opacity .55s; }
.dispatch__head { display: flex; justify-content: space-between; gap: 16px; padding: 0 116px 12px 0; margin-bottom: 22px; border-bottom: 1px dashed rgba(58, 42, 20, .3); font: 400 12px/1.3 "Courier New", Courier, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.dispatch__stamp { position: absolute; top: 14px; right: 20px; width: 104px; color: #9e3220; opacity: .62; transform: rotate(-13deg); mix-blend-mode: multiply; pointer-events: none; }
.dispatch__stamp circle { fill: none; stroke: currentColor; stroke-width: 1.7; }
.dispatch__stamp text { fill: currentColor; text-anchor: middle; }
.dispatch__stamp .ring { font: 600 7.8px var(--f-ui); letter-spacing: .06em; text-anchor: start; }
.dispatch__stamp .big { font: 600 17px var(--f-display); letter-spacing: .16em; }
.dispatch__stamp .small { font: 400 9px "Courier New", monospace; letter-spacing: .2em; }
.dispatch__quote { margin: auto 0; font: italic 500 clamp(20px, 1.15vw + 12px, 27px)/1.42 var(--f-display); color: var(--ink); }
.dispatch--short .dispatch__quote { font-size: clamp(25px, 1.7vw + 13px, 37px); line-height: 1.32; }
.dispatch__gap { float: right; width: 92px; height: 52px; }
.dispatch--word .dispatch__quote { font-size: clamp(54px, 4.5vw + 22px, 96px); line-height: 1.05; letter-spacing: -.01em; }
.dispatch--word .dispatch__gap { display: none; }
.dispatch--long .dispatch__quote { font-size: clamp(17px, .75vw + 11px, 21.5px); line-height: 1.46; }
.dispatch__sig { margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(58, 42, 20, .2); display: grid; gap: 4px; }
.dispatch__sig b { font: 600 13px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.dispatch__sig span { font: italic 300 15px/1.4 var(--f-body); color: var(--ink-2); }

/* ==========================================================================
   EXPEDITION — scroll story
   ========================================================================== */
.expedition { padding: clamp(90px, 12vw, 160px) 0 clamp(80px, 10vw, 140px); }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); }
.story__stage { position: sticky; top: calc(var(--nav-h) + 4vh); height: min(80vh, 760px); align-self: start; }
.scene { position: relative; height: 100%; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #040a11; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9); }
.scene__svg { width: 100%; height: 100%; }
.scene__hud { position: absolute; z-index: 2; left: 22px; top: 18px; right: 22px; display: flex; justify-content: space-between; align-items: baseline; pointer-events: none; }
.scene__year { font: 500 clamp(40px, 4.6vw, 64px)/1 var(--f-display); color: #fff; transition: opacity .3s; }
.scene__status { font: 500 11px var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--gold-hi); text-align: right; }
.scene__depth { position: absolute; right: 22px; bottom: 16px; font: 600 13px var(--f-ui); letter-spacing: .12em; color: var(--ice); font-variant-numeric: tabular-nums; }
.scene .scale line { stroke: rgba(150, 190, 230, .35); stroke-width: 1; }
.scene .scale text { fill: rgba(150, 190, 230, .55); font: 500 10px var(--f-ui); }
.scene .surface { fill: none; stroke: rgba(212, 230, 246, .55); stroke-width: 1.2; }
.scene .seabed { fill: #0a0d0f; }
/* ship — a paper cutout of the real Quest; group origin = waterline, mid-hull */
.scene .ship { transform: translate(200px, 142px); transition: transform 2.4s cubic-bezier(.45, .05, .2, 1), opacity 1s, filter 1s; }
.scene .ship image { animation: bob 4.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes bob { 50% { transform: translateY(2px) rotate(.9deg); } }
.scene[data-state="sink"] .ship, .scene[data-state="sonar"] .ship, .scene[data-state="alvin"] .ship, .scene[data-state="twin"] .ship { transform: translate(214px, 478px) rotate(-2deg); }
.scene[data-state="sink"] .ship image, .scene[data-state="sonar"] .ship image, .scene[data-state="alvin"] .ship image, .scene[data-state="twin"] .ship image { animation: none; }
.scene[data-state="sink"] .ship { opacity: .55; filter: brightness(.38) saturate(.5); }
.scene[data-state="sonar"] .ship { opacity: 1; filter: sepia(1) saturate(3.4) hue-rotate(-12deg) brightness(1.08) drop-shadow(0 0 5px rgba(255, 195, 90, .9)); }
.scene[data-state="alvin"] .ship { opacity: 1; filter: sepia(.4) brightness(.92); }
.scene[data-state="twin"] .ship { opacity: .1; filter: brightness(.6); }
/* survey vessel + sonar */
.survey, .alvin, .twin { opacity: 0; transition: opacity 1s; }
.survey__ship { animation: bob 4.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.survey__beam { opacity: .0; animation: beam 2.6s ease-in-out infinite; }
.survey__ping { fill: none; stroke: #ffc35a; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; }
.survey__ping--2 { animation-delay: 1.3s; }
@keyframes beam { 0%, 100% { opacity: .25; } 50% { opacity: .85; } }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(5); opacity: 0; } }
.scene[data-state="sonar"] .survey { opacity: 1; }
/* alvin */
.alvin__body rect { fill: #e9edf0; }
.alvin__body rect:nth-child(2) { fill: #c4472f; }
.alvin__port { fill: #9fd6ff; }
.alvin__body { animation: hover 5s ease-in-out infinite; }
.alvin__lamp { animation: lamp 3.4s ease-in-out infinite; }
@keyframes hover { 50% { transform: translate(-6px, -5px); } }
@keyframes lamp { 50% { opacity: .7; } }
.scene[data-state="alvin"] .alvin { opacity: 1; }
/* digital twin: the same ship traced in light, swept by a photogrammetry scan */
.twin { transform: translate(214px, 478px) rotate(-2deg); filter: drop-shadow(0 0 2.5px rgba(127, 224, 255, .9)); }
.twin image { animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: .72; } }
.scan { fill: #7fe0ff; opacity: 0; filter: drop-shadow(0 0 6px #7fe0ff); transition: opacity .6s; }
.scene[data-state="twin"] .twin { opacity: 1; }
.scene[data-state="twin"] .scan { opacity: .85; animation: scan 3.2s ease-in-out infinite alternate; }
@keyframes scan { to { transform: translateX(112px); } }

.story__steps { list-style: none; margin: 0; padding: 4vh 0 30vh; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step__date { font: 600 12px var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.step h3 { font: 500 clamp(30px, 2.6vw + 10px, 48px)/1.08 var(--f-display); color: #fff; margin-bottom: 18px; }
.step p { color: rgba(231, 237, 243, .85); max-width: 46ch; }

.stats { list-style: none; margin: clamp(30px, 6vw, 80px) 0 0; padding: 40px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats li { display: grid; gap: 6px; }
.stats b { font: 500 clamp(52px, 6vw, 92px)/1 var(--f-display); color: #fff; font-variant-numeric: lining-nums; }
.stats b small { font-size: .42em; color: var(--gold-hi); margin-left: 4px; }
.stats__label { font: 500 12px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* ==========================================================================
   PAPER SECTIONS — the archive
   ========================================================================== */
.paper {
  position: relative; z-index: 2; color: var(--ink);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='p'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23p)' opacity='.5'/></svg>") 0 0 / 400px,
    radial-gradient(120% 80% at 30% 0%, #f5eedc, var(--paper) 60%, var(--paper-2));
  background-blend-mode: multiply, normal;
  padding: clamp(90px, 12vw, 160px) 0;
}
.paper--deep { background-color: var(--paper-2); background-blend-mode: multiply, normal; }
.paper .eyebrow, .paper .label { color: var(--gold-ink); }
.paper .section-head h2 { color: var(--ink); }
.paper .section-head h2 em { color: var(--gold-ink); }
.paper .lede { color: var(--ink-2); }
.paper a { color: var(--ink); }
.paper::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--ink-line); pointer-events: none; }

/* about */
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.portrait { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 1 / 1.05; background: var(--deep); box-shadow: 0 30px 60px -30px rgba(36, 24, 8, .55); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.95); transition: filter 1.2s var(--ease), transform 1.6s var(--ease); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #569ce0, #0e1a24 70%); mix-blend-mode: color; opacity: .9; transition: opacity 1.2s var(--ease); }
.portrait:hover img { filter: none; transform: scale(1.03); }
.portrait:hover::after { opacity: 0; }
.about__portrait figcaption { margin-top: 26px; }
.about__portrait blockquote { margin: 0 0 8px; font: italic 500 clamp(24px, 1.6vw + 12px, 34px)/1.25 var(--f-display); color: var(--ink); }
.about__portrait cite { font: 500 12px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); font-style: normal; }
.about__copy > .lede:first-child { margin-top: 0; font-size: clamp(22px, 1.6vw + 12px, 30px); font-family: var(--f-display); font-weight: 500; line-height: 1.3; color: var(--ink); }
.about__copy p { color: var(--ink-2); }
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 38px 0 0; }
.role { position: relative; display: grid; gap: 8px; padding: 26px 26px 28px; border: 1px solid var(--ink-line); border-radius: 6px; text-decoration: none; background: rgba(255, 255, 255, .28); transition: background .4s, transform .4s var(--ease), box-shadow .4s; }
.role:hover { background: #fff8e8; transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(36, 24, 8, .5); }
.role__kicker { font: 600 11px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.role__org { font: 600 24px/1.15 var(--f-display); color: var(--ink); }
.role__desc { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.role__go { position: absolute; top: 20px; right: 22px; font-family: var(--f-ui); transition: transform .4s var(--ease); }
.role:hover .role__go { transform: translate(3px, -3px); }
.about__social { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 26px 0 0; }
.about__social a { font: 500 13px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--gold-ink); padding-bottom: 4px; }

.honours { margin-top: clamp(70px, 9vw, 120px); }
/* honours: a ledger — year · honour · conferring body */
.honours__list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid rgba(58, 42, 20, .35); }
.honour {
  display: grid; grid-template-columns: 120px minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: baseline;
  padding: 22px 12px 22px 0; border-bottom: 1px solid var(--ink-line);
  transition: background .35s, padding .35s var(--ease);
}
.honour:hover { background: rgba(255, 252, 240, .45); padding-left: 12px; }
.honour__year { font: 500 clamp(32px, 2.6vw, 42px)/1 var(--f-display); color: var(--gold-ink); font-variant-numeric: lining-nums; }
.honour__title { font: 500 clamp(22px, 1vw + 13px, 28px)/1.2 var(--f-display); color: var(--ink); }
.honour__by { font: 500 12px/1.55 var(--f-ui); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-2); }

/* books */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font: 500 12px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: all .3s; }
.filters button[aria-selected="true"], .filters button:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.paper .filters button { border-color: var(--ink-line); color: var(--ink-2); }
.paper .filters button[aria-selected="true"], .paper .filters button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.shelf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(40px, 5vw, 70px) clamp(24px, 3.4vw, 48px); }
.shelf li { justify-self: center; width: 100%; max-width: 205px; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.shelf li.is-hidden { display: none; }
.shelf li.is-entering { opacity: 0; transform: translateY(16px); }
.shelf button { all: unset; display: block; width: 100%; cursor: pointer; }
.shelf button:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 8px; border-radius: 4px; }
.shelf__slot { display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 2 / 3; margin-bottom: 24px; }
.book3d--natural { aspect-ratio: auto; }
.book3d--natural img { height: auto; }
.shelf .book3d { width: 100%; --ry: -14deg; }
.shelf .book3d img { box-shadow: 0 26px 40px -18px rgba(36, 24, 8, .65), 0 8px 16px -10px rgba(36, 24, 8, .5); }
.shelf button:hover .book3d, .shelf button:focus-visible .book3d { --ry: -30deg; --rx: 4deg; transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(-10px); }
.shelf__num { font: 600 11px var(--f-ui); letter-spacing: .2em; color: var(--gold-ink); }
.shelf__title { display: block; font: 600 clamp(21px, 1.1vw + 12px, 26px)/1.15 var(--f-display); color: var(--ink); margin: 6px 0 4px; }
.shelf__sub { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.hint { margin-top: 50px; font: italic 300 15px var(--f-body); color: var(--ink-2); text-align: center; }

/* ==========================================================================
   SPEAKING
   ========================================================================== */
.speaking { padding: clamp(90px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); }
.speaking__intro { max-width: 860px; margin-bottom: clamp(60px, 8vw, 100px); }
.speaking__intro .lede { margin-top: 0; }
.speaking__intro p:not(.lede) { color: rgba(231, 237, 243, .82); }
.topics { list-style: none; margin: 0 0 clamp(80px, 10vw, 130px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.topic { position: relative; padding: 34px 30px 36px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(24, 39, 51, .7), rgba(7, 15, 24, .55)); overflow: hidden; min-height: 330px; display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .5s; }
.topic:hover { transform: translateY(-6px); border-color: rgba(201, 163, 91, .5); }
.topic__num { font: 500 13px var(--f-ui); color: var(--gold); letter-spacing: .18em; }
.topic h4 { font: 500 clamp(30px, 2vw + 12px, 40px)/1.05 var(--f-display); color: #fff; margin: 54px 0 6px; position: relative; z-index: 1; }
.topic__sub { font: italic 400 18px/1.3 var(--f-display); color: var(--gold-hi); margin-bottom: 18px; position: relative; z-index: 1; }
.topic p { font-size: 16px; line-height: 1.6; color: rgba(231, 237, 243, .78); margin: 0; position: relative; z-index: 1; }
.topic img { position: absolute; right: -24px; top: -18px; width: 132px; border-radius: 3px; transform: rotate(10deg); opacity: .22; transition: opacity .6s, transform .6s var(--ease); box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.topic:hover img { opacity: .55; transform: rotate(5deg) translate(-6px, 6px); }

.venues { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
/* the globe: an orthographic Atlantic hemisphere — disc radius is 46% of the box */
.venues__map { position: relative; aspect-ratio: 1 / 1; }
.globe__sea {
  position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #1a3a57 0%, #0c1d2e 52%, #050c14 100%);
  box-shadow: 0 0 0 1px rgba(150, 190, 230, .2), 0 0 70px 6px rgba(86, 156, 224, .16), inset -30px -46px 90px rgba(0, 0, 0, .6);
}
.globe__land { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .92; }
.globe::after { /* glint of light on the sphere */
  content: ""; position: absolute; inset: 4%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 26%, rgba(212, 230, 246, .12), transparent 42%);
}
.venues__arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.venues__arcs path { fill: none; stroke: var(--gold); stroke-width: .17; stroke-linecap: round; opacity: .6; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease), opacity .3s, stroke-width .3s; }
.venues.is-in .venues__arcs path { stroke-dashoffset: 0; }
.venues__arcs path.is-hot { opacity: 1; stroke-width: .34; stroke: var(--gold-hi); transition-delay: 0s !important; }
.pin { position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 0; padding: 0; background: none; border-radius: 50%; display: grid; place-items: center; }
.pin::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 12px var(--gold); transition: transform .3s var(--ease); }
.pin::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid var(--gold-hi); animation: pinpulse 3s ease-out infinite; animation-delay: var(--d, 0s); }
.pin:hover::before, .pin.is-hot::before { transform: scale(1.7); }
.pin--home::before { width: 12px; height: 12px; background: #fff; box-shadow: 0 0 16px #fff; }
.pin--wreck::before { background: var(--red); box-shadow: 0 0 14px var(--red); }
.pin--wreck::after { border-color: var(--red); }
@keyframes pinpulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.venues__tip { position: absolute; z-index: 3; pointer-events: none; max-width: 260px; padding: 10px 14px; border-radius: 8px; background: rgba(7, 15, 24, .92); border: 1px solid var(--line); opacity: 0; transform: translate(-50%, calc(-100% - 16px)); transition: opacity .25s; }
.venues__tip.is-on { opacity: 1; }
.venues__tip b { display: block; font: 600 12px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); }
.venues__tip span { font-size: 14px; line-height: 1.4; }
.venues__side .label { margin-bottom: 18px; }
.venues__list { list-style: none; margin: 0 0 30px; padding: 0; }
.venues__list li { display: flex; gap: 14px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); cursor: default; transition: padding .3s var(--ease), color .3s; }
.venues__list li:hover, .venues__list li.is-hot { padding-left: 8px; }
.venues__list b { font: 500 20px/1.2 var(--f-display); color: #fff; min-width: 108px; }
.venues__list span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.venues__list li.is-hot b { color: var(--gold-hi); }

/* ==========================================================================
   NEWS
   ========================================================================== */
.news { padding: clamp(90px, 12vw, 160px) 0 0; }
.news__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: rgba(14, 26, 36, .65); text-decoration: none; transition: transform .5s var(--ease), border-color .5s, box-shadow .5s; }
.card:hover { transform: translateY(-6px); border-color: rgba(201, 163, 91, .45); box-shadow: 0 34px 60px -34px rgba(0, 0, 0, .9); }
.card__img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--slate); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.85); }
.card:hover .card__img img { transform: scale(1.06); filter: saturate(1); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(7, 15, 24, .7)); }
.card__outlet { position: absolute; z-index: 1; left: 18px; bottom: 14px; font: 600 12px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card time { font: 500 12px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.card h3 { font: 500 clamp(22px, 1.1vw + 13px, 28px)/1.2 var(--f-display); color: #fff; margin: 12px 0 12px; }
.card p { font-size: 16px; line-height: 1.6; color: rgba(231, 237, 243, .74); }
.card__go { margin-top: auto; padding-top: 10px; font: 500 12px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ice-hi); }
.card__go i { font-style: normal; display: inline-block; transition: transform .4s var(--ease); }
.card:hover .card__go i { transform: translate(3px, -3px); }
.card--lead { grid-column: 1 / -1; flex-direction: row; }
.card--lead .card__img { flex: 0 0 58%; aspect-ratio: auto; min-height: 420px; }
.card--lead .card__body { padding: clamp(28px, 3.4vw, 50px); justify-content: center; }
.card--lead h3 { font-size: clamp(30px, 2.4vw + 10px, 46px); }
.card--lead .card__badge { align-self: flex-start; margin-bottom: 18px; font: 600 11px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--deep); background: var(--gold-hi); padding: 6px 12px; border-radius: 999px; }
.news__grid.anim .card, .news__list.anim li { animation: card-in .7s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.card__tr { font: italic 500 18px/1.35 var(--f-display) !important; color: var(--ice-hi) !important; margin-bottom: 10px; }
em.lang { display: inline-block; margin-left: 8px; padding: 3px 7px; border-radius: 3px; vertical-align: 2px; font: 600 9px/1.2 var(--f-ui); font-style: normal; letter-spacing: .16em; text-transform: uppercase; background: rgba(150, 190, 230, .18); color: var(--ice-hi); }

/* watch */
.watch { margin-bottom: clamp(70px, 9vw, 120px); }
.watch__grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, .72fr); gap: 24px; align-items: start; }
.video { margin: 0; display: block; }
.video--lead { grid-column: 1; grid-row: 1; }
.video--vertical { grid-column: 2; grid-row: 1; }
.video--link { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); align-items: center; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; background: rgba(14, 26, 36, .65); transition: border-color .4s, transform .5s var(--ease); }
.video--link:hover { border-color: rgba(201, 163, 91, .45); transform: translateY(-4px); }
.video__frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line); }
.video--vertical .video__frame { aspect-ratio: 9 / 16; }
.video--link .video__frame { border: 0; border-radius: 0; }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn { all: unset; position: absolute; inset: 0; display: block; cursor: pointer; }
.video__btn:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: -4px; border-radius: 14px; }
.video__frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.82); transition: transform 1.2s var(--ease), filter .6s; }
.video__btn:hover img, .video--link:hover img { transform: scale(1.04); filter: none; }
.video__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: rgba(7, 15, 24, .5); border: 1px solid rgba(255, 255, 255, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .4s var(--ease), background .3s, border-color .3s; }
.video__play::after { content: ""; position: absolute; left: 31px; top: 25px; border-left: 20px solid #fff; border-block: 13px solid transparent; }
.video--vertical .video__play, .video--link .video__play { transform: scale(.75); }
.video__btn:hover .video__play, .video--link:hover .video__play { background: var(--gold); border-color: var(--gold); }
.video__len { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 4px; background: rgba(0, 0, 0, .72); font: 600 12px var(--f-ui); color: #fff; font-variant-numeric: tabular-nums; }
.video figcaption, .video__cap { display: grid; gap: 6px; margin-top: 16px; }
.video--link .video__cap { margin: 0; padding: 22px clamp(20px, 3vw, 34px); }
.video__meta { font: 500 12px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.video__title { font: 500 clamp(19px, .9vw + 12px, 25px)/1.22 var(--f-display); color: #fff; }
.video--lead .video__title { font-size: clamp(24px, 1.5vw + 13px, 34px); }
.video--vertical .video__title { font-size: 18px; }
.video__go { margin-top: 6px; font: 500 12px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ice-hi); }

/* read */
.read__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.read__head .label { margin: 0; }
.news__list { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); }
.news__list:empty { display: none; }
.row { display: grid; grid-template-columns: 112px minmax(0, 230px) minmax(0, 1fr) 20px; gap: 22px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease), background .3s; }
.row:hover { padding-left: 10px; background: rgba(150, 190, 230, .04); }
.row time { font: 500 12px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.row__outlet { font: 500 13px var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ice-hi); }
.row__title { font: 500 clamp(19px, .8vw + 12px, 23px)/1.3 var(--f-display); color: #fff; }
.row__title small { display: block; margin-top: 4px; font: italic 300 15px/1.4 var(--f-body); color: var(--muted); }
.row i { font-style: normal; color: var(--ice-hi); transition: transform .3s var(--ease); }
.row:hover i { transform: translate(3px, -3px); }
@keyframes card-in { from { opacity: 0; transform: translateY(20px); } }
.card__credit { position: absolute; z-index: 1; right: 12px; top: 10px; font: 400 10px var(--f-ui); letter-spacing: .06em; color: rgba(255, 255, 255, .7); text-shadow: 0 1px 2px #000; }

.press { margin-top: clamp(80px, 10vw, 130px); padding: 34px 0 40px; border-top: 1px solid var(--line); overflow: hidden; text-align: center; }
.press .label { justify-content: center; color: var(--muted); }
.press__track { display: flex; align-items: center; width: max-content; padding-block: 10px; animation: marquee 50s linear infinite; }
.press:hover .press__track { animation-play-state: paused; }
/* official logos, shown in one light tone so they sit together on the dark water */
.press__item { display: inline-flex; align-items: center; height: 48px; padding-right: clamp(48px, 5vw, 76px); }
.press__item img { width: auto; max-width: 220px; filter: brightness(0) invert(1); opacity: .55; transition: opacity .35s; }
.press__item img:hover { opacity: .95; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding: clamp(90px, 12vw, 170px) 0; }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.contact__links { list-style: none; margin: 40px 0 0; padding: 0; }
.contact__links a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 14px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; transition: padding .3s var(--ease), color .3s; }
.contact__links a span { font: italic 400 16px var(--f-body); letter-spacing: 0; text-transform: none; color: var(--muted); }
.contact__links a:hover { padding-left: 10px; color: var(--gold-hi); }
.form { padding: clamp(28px, 4vw, 52px); border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(24, 39, 51, .55), rgba(7, 15, 24, .55)); backdrop-filter: blur(6px); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.field { display: block; margin: 0 0 26px; padding: 0; border: 0; }
.field > span, .field legend { display: block; font: 500 11px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.field small { letter-spacing: .06em; text-transform: none; }
.field input, .field textarea {
  width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid rgba(150, 190, 230, .3); border-radius: 0;
  background: transparent; color: var(--text); font: 300 18px/1.5 var(--f-body); transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold-hi); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font: 400 14px var(--f-ui); color: rgba(231, 237, 243, .8); transition: all .25s; }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.chip input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.form__foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.form__status { margin: 0; font-size: 15px; color: var(--muted); }
.form__status.is-ok { color: #7fe0b0; }
.form__status.is-err { color: #ff9b85; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- footer ---------- */
.footer { padding: clamp(60px, 8vw, 100px) 0 40px; border-top: 1px solid var(--line); background: linear-gradient(transparent, rgba(0, 0, 0, .35)); }
.footer__mark { font: 500 clamp(64px, 12vw, 190px)/.9 var(--f-display); letter-spacing: -.02em; color: rgba(231, 237, 243, .1); }
.footer__mark em { color: rgba(232, 200, 134, .22); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: 40px 0 50px; }
.footer__nav a { font: 400 14px var(--f-ui); letter-spacing: .08em; text-decoration: none; color: var(--muted); transition: color .3s; }
.footer__nav a:hover { color: var(--gold-hi); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); font: 400 13px var(--f-ui); color: var(--muted); }
.footer__base p { margin: 0; }
.footer__depth { color: var(--gold); letter-spacing: .1em; }
.footer__depth em { font-family: var(--f-display); font-size: 1.2em; }
.footer__credit { margin: 22px 0 0; font: 400 11px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: rgba(231, 237, 243, .32); }
.footer__credit a { color: inherit; text-decoration: none; transition: color .3s; }
.footer__credit a:hover, .footer__credit a:focus-visible { color: var(--gold-hi); }

/* ---------- book modal ---------- */
.modal {
  width: min(980px, 100% - 32px); max-height: min(88vh, 900px); padding: 0; border: 1px solid var(--ink-line); border-radius: 14px;
  background: var(--paper); color: var(--ink); overflow: auto; box-shadow: 0 60px 120px -30px rgba(0, 0, 0, .8);
}
.modal::backdrop { background: rgba(2, 6, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .55s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.modal__close { position: sticky; float: right; top: 14px; margin: 14px 14px 0 0; z-index: 2; background: var(--paper); border-color: var(--ink-line); color: var(--ink); font-size: 24px; }
.modal__body { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(26px, 4vw, 54px); padding: clamp(28px, 4vw, 54px); }
.modal__cover .book3d { width: 100%; --ry: -16deg; }
.modal__meta { font: 600 11px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.modal h2 { font: 500 clamp(36px, 3.6vw, 56px)/1 var(--f-display); margin: 12px 0 8px; }
.modal__sub { font: italic 500 22px/1.3 var(--f-display); color: var(--ink-2); margin-bottom: 22px; }
.modal__blurb { color: var(--ink-2); }
.modal__praise { list-style: none; margin: 26px 0; padding: 0; border-top: 1px solid var(--ink-line); }
.modal__praise li { padding: 16px 0; border-bottom: 1px solid var(--ink-line); }
.modal__praise q { font: italic 500 21px/1.35 var(--f-display); quotes: "“" "”"; }
.modal__praise span { display: block; margin-top: 6px; font: 600 11px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); }
.modal__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.modal .btn--ghost { color: var(--ink); border-color: var(--ink-line); --b: var(--ink); }
.modal .btn--ghost:hover { color: var(--paper); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1199px) {
  .gauge { display: none; }
}
@media (max-width: 1180px) {
}
@media (max-width: 980px) {
  :root { --nav-h: 64px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px;
    background: rgba(2, 6, 10, .97); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav__menu a { font: 500 34px var(--f-display); letter-spacing: 0; }
  .nav__cta { font: 500 14px var(--f-ui) !important; letter-spacing: .14em !important; text-transform: uppercase; margin-top: 10px; }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }
  /* a backdrop-filter on the bar would trap the fixed menu inside it */
  .nav.is-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  .gauge { display: none; }

  .hero__text { top: calc(var(--nav-h) + 4svh); transform: none; width: auto; right: var(--gutter); }
  .hero__text::before { inset: -20% -20% -10% -20%; }
  .hero__title { font-size: clamp(64px, 16vw, 120px); margin-bottom: 20px; }
  .hero__quote { margin-bottom: 22px; }
  .hero__quote p { font-size: 18px; }
  .hero__ctas { display: none; }
  .hero__figs { --h: 60svh; right: auto; left: calc(58vw - var(--h) * 16 / 9 * .692); }
  .hero__cue { display: none; }

  .quest__grid, .about__grid, .contact__grid, .venues { grid-template-columns: minmax(0, 1fr); }
  .quest__visual { order: -1; }
  .book3d--hero { width: min(70%, 320px); }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story__stage { top: var(--nav-h); height: 46svh; z-index: 2; margin: 0 calc(-1 * var(--gutter)); }
  .scene { border-radius: 0; border-inline: 0; }
  .story__steps { padding-bottom: 10vh; }
  .step { min-height: 72svh; justify-content: flex-start; padding-top: 6svh; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .topics { grid-template-columns: minmax(0, 1fr); }
  .topic { min-height: 0; }
  .roles { grid-template-columns: minmax(0, 1fr); }
  .praise { grid-template-columns: minmax(0, 1fr); }
  .praise__names { display: flex; gap: 6px 22px; overflow-x: auto; border-top: 0; scrollbar-width: none; }
  .praise__names button { width: auto; grid-template-columns: auto auto; gap: 8px; white-space: nowrap; border-bottom: 1px solid transparent; }
  .praise__names button.is-active { padding-left: 0; }
  .dispatch { width: calc(100% - 18px); transform: translate(calc(var(--pos) * 8px), calc(var(--pos) * 8px)) rotate(calc(var(--rot) * min(var(--pos), 1) * .6)); }
  .dispatch__stamp { width: 84px; top: 10px; right: 12px; }
  .dispatch__head { padding-right: 90px; letter-spacing: .12em; }
  .dispatch__head span:last-child { display: none; } /* the postmark already says "Quest 2026" */
  .dispatch__gap { width: 70px; height: 34px; }
  .venues__map { max-width: 560px; width: 100%; margin-inline: auto; }
  .watch__grid { grid-template-columns: minmax(0, 1fr); }
  .video--lead, .video--vertical { grid-column: auto; grid-row: auto; }
  .video--vertical { max-width: 300px; }
  .video--link { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 14px; }
  .row__title { grid-column: 1 / -1; grid-row: 2; }
  .card--lead { flex-direction: column; }
  .card--lead .card__img { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .modal__body { grid-template-columns: minmax(0, 1fr); }
  .modal__cover { max-width: 240px; }
}
@media (max-width: 680px) {
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news__grid { grid-template-columns: minmax(0, 1fr); }
  .honour { grid-template-columns: 74px minmax(0, 1fr); gap: 4px 16px; padding-block: 18px; }
  .honour__by { grid-column: 2; }
  .honour__year { font-size: 30px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .section-head--split { align-items: start; }
  .paper::before { inset: 8px; }
  .venues__list b { min-width: 92px; font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .snow { display: none; }
}
