/* Heroes of Elysium. One dark glaze world; sections read like bands on a vase.
   Tokens follow CLAUDE.md section 3. */

:root {
  --glaze: #0b0705;
  --glaze-2: #140c07;
  --panel: #1a110a;
  --line: #2e1e10;
  --line-2: #4a3220;
  --clay: #dc8a4a;
  --clay-dark: #a8522a;
  --coral: #e5603e;
  --cream: #f2e9d6;
  --muted: #a8957a;
  --gold: #e3b04a;
  --added-red: #8e2b22;
  --ink: #15100c;
  --pnl-down: #ff8a6a;

  --display: "Cinzel", "Alegreya Sans", Georgia, serif;
  --body: "Alegreya Sans", system-ui, sans-serif;
  --mono: ui-monospace, Menlo, Consolas, monospace;

  --gutter: 18px;
  --radius: 14px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --band-key: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='26'%3E%3Cg fill='none' stroke='%23dc8a4a' stroke-width='2'%3E%3Cpath d='M0 1H30M0 25H30'/%3E%3Cpath d='M0 20.5H30M24 20.5V5.5H8V16.5H18V10.5H13' stroke-width='2.4'/%3E%3C/g%3E%3C/svg%3E");
  --band-tongue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='26'%3E%3Cg fill='none' stroke='%23dc8a4a' stroke-width='2'%3E%3Cpath d='M0 1H18M0 25H18'/%3E%3Cpath d='M3 4V13A6 6 0 0 0 15 13V4' stroke-width='2.4'/%3E%3C/g%3E%3C/svg%3E");
  --band-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='26'%3E%3Cg fill='none' stroke='%23dc8a4a' stroke-width='2'%3E%3Cpath d='M0 1H44M0 25H44'/%3E%3Cpath d='M0 17C8 17 9 6 18 6C25 6 27 13 22 15C18 16.5 16 12 19 10.5M22 17H44' stroke-width='2.3' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .06 0 0 0 0 .03 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--glaze);
  color: var(--cream);
  font: 400 18px/1.6 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.04; margin: 0; letter-spacing: .01em; }
h2 { font-size: clamp(34px, 5vw, 58px); text-wrap: balance; }
h3 { font-size: 22px; font-weight: 700; }
h2 + p { margin-top: 22px; }
strong { font-weight: 700; }
.gold { color: var(--gold); }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-family: var(--display); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

/* Greek inscriptions: Cinzel has no Greek glyphs, so Alegreya Sans (Greek subset) carries them,
   which reads like letters cut into stone. */
.greek { font-family: "Alegreya Sans", var(--display); font-weight: 500; letter-spacing: .42em; }

.eyebrow {
  font: 700 13px/1.4 var(--display);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15px/1 var(--display); letter-spacing: .06em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--clay); }
.btn-ghost:hover { background: rgba(220, 138, 74, .1); }
.btn-sm { min-height: 40px; padding: 9px 18px; font-size: 13px; }

/* ---------- band dividers ---------- */
.band { height: 26px; opacity: .55; background-repeat: repeat-x; background-position: center; }
.band-key { background-image: var(--band-key); }
.band-tongue { background-image: var(--band-tongue); }
.band-wave { background-image: var(--band-wave); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(11, 7, 5, .86); border-color: var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 15px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.brand img { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 16px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--cream); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 18px) 0 40px;
  overflow-x: clip;
  display: flex; align-items: center;
  background: var(--glaze);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-greek { color: var(--clay); font-size: 14px; margin-bottom: 14px; }
.hero-title { font: 900 clamp(46px, 6.4vw, 92px)/.95 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.hero-title .of { display: block; font-size: .3em; color: var(--clay); letter-spacing: .4em; margin: .35em 0 .25em; }
.tagline { font: 700 clamp(19px, 2vw, 24px)/1.3 var(--display); color: var(--gold); letter-spacing: .03em; margin: 22px 0 14px; text-wrap: balance; }
.hero-sub { color: #ddd0b8; max-width: 44ch; margin-bottom: 24px; }
.hero-count { max-width: 380px; margin-bottom: 28px; }
.count-title { font: 700 13px/1.4 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--clay); margin-bottom: 12px; }
.count-when { color: var(--muted); font-size: 15px; margin: 12px 0 0; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tick {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 4px 9px; text-align: center; display: grid; gap: 2px;
}
.tick i { font-style: normal; font-size: 12px; color: var(--clay); letter-spacing: .08em; min-height: 1.2em; line-height: 1.2; }
.tick b { font: 700 32px/1 var(--display); font-variant-numeric: tabular-nums; }
.tick span { font-size: 13px; color: var(--muted); }
.hero-count.is-open .countdown { display: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* twelve heroes; every few seconds two of them trade places */
.hero-grid { margin: 0; position: relative; }
.grid12 { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.grid12 .cell { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px var(--line); }
.grid12 img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.grid12 .cell.is-swap img { opacity: 0; }
.grid-cap { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 12px; font-size: 15px; color: var(--muted); }
.grid-cap b { font-family: var(--display); }

/* ---------- the vase: flat black glaze, a frieze of heroes drifting round the belly ---------- */
.vase { margin: 0; width: min(92%, calc((92svh - var(--nav-h)) * .55)); position: relative; }
.vase-art { position: relative; width: 100%; aspect-ratio: 400 / 640; }
.vase-body, .vase-sheen { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vase-sheen { pointer-events: none; }
.vase-body .handle { fill: none; stroke: #170f09; stroke-width: 15; stroke-linecap: round; }
.vase-kalos { font: 500 20px var(--body); letter-spacing: .5em; fill: var(--clay); opacity: .8; }

/* The frieze band sits over the belly, masked to the vase's outline so its edges follow the curve. */
.frieze {
  position: absolute;
  left: 7.5%; width: 85%; top: 36.875%; height: 24.375%;
  overflow: hidden;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='30 236 340 156' preserveAspectRatio='none'%3E%3Cpath d='M140 46H260C254 92 251 122 262 150C332 176 370 232 370 312C370 424 312 512 252 562L240 590H160L148 562C88 512 30 424 30 312C30 232 68 176 138 150C149 122 146 92 140 46Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='30 236 340 156' preserveAspectRatio='none'%3E%3Cpath d='M140 46H260C254 92 251 122 262 150C332 176 370 232 370 312C370 424 312 512 252 562L240 590H160L148 562C88 512 30 424 30 312C30 232 68 176 138 150C149 122 146 92 140 46Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  background: #0d0805;
}
.frieze-strip { display: flex; gap: 6px; height: 100%; width: max-content; animation: frieze 90s linear infinite; }
.frieze-strip img { height: 100%; width: auto; aspect-ratio: 1; max-width: none; flex: none; }
@keyframes frieze { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(72px, 10vw, 128px); overflow-x: clip; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.lede { font-size: 20px; color: #ddd0b8; margin-top: 18px; max-width: 64ch; }
.quiet { color: var(--muted); font-size: 15px; }
.lift { transform: translateY(24px); transition: transform 1s var(--ease); }
.lift.is-seen { transform: none; }

/* ---------- the crossing: a sticky picture, four stations scroll past ---------- */
.journey { padding-bottom: 0; }
.journey-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); }
.stage { position: sticky; top: calc(var(--nav-h) + 4vh); height: calc(100svh - var(--nav-h) - 8vh); }
.scene { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.96); transition: opacity .8s, transform .8s; pointer-events: none; }
.scene.is-on { opacity: 1; transform: none; pointer-events: auto; }
.scene-boat svg { width: min(100%, 460px); }
.mint-card { margin: 0; width: min(100%, 440px); }
.mint-frame { aspect-ratio: 1; width: 100%; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.mint-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mint-steps span { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; transition: border-color .4s, color .4s; }
.mint-steps b { font: 700 16px/1.2 var(--display); color: var(--cream); letter-spacing: .04em; }
.mint-steps .is-on { border-color: var(--clay); color: var(--clay); }
.usd { display: block; font-size: 14px; color: var(--clay); font-variant-numeric: tabular-nums; }
.stat-sub .usd { display: inline; margin-right: 4px; }
.usd-note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.stats-note { grid-column: 1 / -1; margin: 0; }
.stations { padding: 6vh 0 18vh; }
.station { min-height: 86svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; opacity: .35; transition: opacity .6s; }
.station.is-on { opacity: 1; }
.station > * { width: 100%; max-width: 520px; }
.station > .btn { width: auto; }
.numeral { font: 700 15px/1 var(--display); letter-spacing: .16em; color: var(--clay); }
.station-title { font: 900 clamp(32px, 4.2vw, 50px)/1.06 var(--display); margin: 12px 0 18px; text-wrap: balance; }
.station p { color: #ddd0b8; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; }
.tile b { font: 700 clamp(22px, 2.4vw, 28px)/1.1 var(--display); font-variant-numeric: tabular-nums; }
.tile span { font-size: 14px; color: var(--muted); }

/* ---------- the Obol ---------- */
.coin-wrap { position: relative; display: grid; justify-items: center; }
.coin {
  position: relative; width: min(30vw, 380px, 52svh); aspect-ratio: 1;
  background: none; border: 0; padding: 0; cursor: pointer;
  perspective: 1400px; border-radius: 50%;
}
.coin-inner {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform 1.3s cubic-bezier(.3, 1.35, .45, 1);
  transform: rotateY(var(--flip, 0deg)) rotateX(8deg);
}
.coin-face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin-front { transform: translateZ(7px); }
.coin-back { transform: rotateY(180deg) translateZ(7px); }
.coin-edge { position: absolute; inset: 0; transform-style: preserve-3d; }
.coin-edge img { position: absolute; inset: 0; width: 100%; height: 100%; filter: brightness(.42) sepia(.6); }
.coin-shadow { width: 56%; height: 22px; margin-top: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .8), transparent); }
.greek-line { color: var(--clay); font-size: 15px; margin: 14px 0 22px; }
.facts { margin: 22px 0 26px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 700 13px/1.5 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; }

/* ---------- Charon's list ---------- */
.checker { margin-top: 22px; background: var(--glaze-2); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 30px); }
.check-form label { display: block; font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.check-row { display: flex; gap: 10px; }
.check-row input {
  flex: 1; min-width: 0; height: 52px; padding: 0 18px;
  background: var(--glaze); color: var(--cream); font-size: 16px;
  border: 1.5px solid var(--line-2); border-radius: 999px;
}
.check-row input:focus { outline: none; border-color: var(--gold); }
.linkish { background: none; border: 0; padding: 0; margin-top: 12px; color: var(--clay); font: 500 15px var(--body); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.result {
  margin-top: 20px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); padding: 20px;
  transition: border-color .4s, background-color .4s;
}
.result-addr { font-size: 14px; color: var(--muted); margin-bottom: 6px; overflow-wrap: anywhere; }
.result-verdict { font: 700 clamp(21px, 2.4vw, 26px)/1.2 var(--display); margin-bottom: 6px; }
.result-note { color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 700 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.chip.is-on { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.result[data-state="yes"] { border-style: solid; border-color: var(--gold); background: rgba(227, 176, 74, .05); }
.result[data-state="yes"] .result-verdict { color: var(--gold); }
.result[data-state="no"], .result[data-state="bad"] { border-style: solid; border-color: var(--added-red); }
.result[data-state="bad"] .result-verdict { color: var(--pnl-down, #ff8a6a); }

/* ---------- paint wipe and the six grounds ---------- */
.grounds { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.paint { position: relative; overflow: hidden; }
.paint img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.paint img.is-wiping { animation: wipe 1s var(--ease) both; }
.ground-frame {
  aspect-ratio: 1; width: 100%; max-width: 480px; justify-self: center;
  border-radius: 6px; box-shadow: 0 0 0 1px var(--line);
}
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.paint .brush {
  position: absolute; top: 0; bottom: 0; width: 4px; left: 0; pointer-events: none;
  background: var(--clay);
  animation: brush 1s var(--ease) both;
}
@keyframes brush { from { left: 0; opacity: 1; } 90% { opacity: 1; } to { left: 100%; opacity: 0; } }
.ground-list { display: grid; gap: 10px; }
.ground {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; text-align: left;
  background: transparent; color: var(--cream); cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 18px;
  transition: border-color .3s, background-color .3s;
}
.ground:hover { border-color: var(--line-2); }
.ground[aria-checked="true"] { border-color: var(--clay); background: var(--panel); }
.ground-name { font: 700 19px/1.3 var(--display); letter-spacing: .04em; }
.ground-pct { font: 700 17px/1.3 var(--display); color: var(--clay); font-variant-numeric: tabular-nums; }
.ground-desc { grid-column: 1 / -1; color: var(--muted); font-size: 16px; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; align-content: start; gap: 6px; }
.stat-label { font-size: 14px; color: var(--muted); }
.stat b { font: 700 clamp(30px, 3.4vw, 42px)/1.05 var(--display); font-variant-numeric: tabular-nums; }
.stat b small { font-size: .42em; letter-spacing: .1em; color: var(--clay); }
.stat-sub { font-size: 13px; color: var(--muted); }

/* ---------- the oracle ---------- */
.oracle-head { margin-inline: auto; text-align: center; }
.oracle-head .lede { margin-inline: auto; }
.quiz { max-width: 760px; margin: 0 auto; background: rgba(20, 12, 7, .85); border: 1px solid #8a5a20; border-radius: 20px; padding: clamp(22px, 4vw, 40px); text-align: center; }
.q-step { font: 700 12px/1 var(--display); letter-spacing: .3em; color: var(--clay); margin-bottom: 14px; }
.q-text { font: 700 clamp(22px, 2.6vw, 28px)/1.25 var(--display); margin-bottom: 22px; }
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.answer { min-height: 64px; padding: 14px 18px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--panel); color: var(--cream); text-align: left; cursor: pointer; font-size: 17px; line-height: 1.35; transition: border-color .2s, transform .2s; }
.answer:hover, .answer:focus-visible { border-color: var(--gold); transform: translateY(-2px); outline: none; }
.verdict { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 26px; align-items: center; text-align: left; }
.verdict img { border-radius: 10px; border: 1px solid #8a5a20; }
.verdict h3 { font-size: clamp(26px, 3vw, 34px); color: var(--gold); margin: 0 0 12px; }
.verdict p { color: #ddd0b8; }
.verdict .btn-row { justify-content: flex-start; margin-top: 18px; }

/* ---------- Legends ---------- */
.legend-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.legend {
  position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line);
}
.legend img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.legend.is-revealed { border-color: #8a5a20; }
.legend.is-revealed:hover img { transform: scale(1.04); }
.legend-name {
  position: absolute; inset: auto 0 0; padding: 30px 12px 10px;
  background: linear-gradient(transparent, rgba(11, 7, 5, .92));
  font: 700 clamp(12px, 1.4vw, 16px)/1.2 var(--display); letter-spacing: .1em; color: var(--gold); text-transform: uppercase;
}
.legend-hidden { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 4px; }
.legend-hidden svg { width: 48%; }
.legend-hidden span { font: 700 clamp(12px, 1.3vw, 15px)/1 var(--display); letter-spacing: .3em; color: #8a5a20; }

/* ---------- the gods / Chronicle ---------- */
.gods { overflow: hidden; }
.gods .wrap { position: relative; }
.gods-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.eye-wrap { display: grid; place-items: center; }
.eye { width: min(100%, 480px); overflow: visible; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .7)); }
.greek-eyebrow span { letter-spacing: .34em; }
.greek-quote { font: 700 20px/1.4 var(--display); color: var(--gold); margin: 24px 0 0; }

/* cards: the colour bars, the Chronicle */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); }
.card-title { font: 700 13px/1.4 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--clay); margin-bottom: 16px; }

.spread { margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.bars { display: grid; gap: 14px; }
.bar-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.bar-top b { font: 700 17px/1.2 var(--display); }
.bar-top span { color: var(--muted); font-variant-numeric: tabular-nums; }
.bar { height: 10px; border-radius: 999px; background: var(--glaze-2); border: 1px solid var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); min-width: 4px; background: var(--clay); border-radius: inherit; transform-origin: left; }
.bar.is-gold i { background: var(--gold); }
.spread.is-seen .bar i { animation: fill 1.4s var(--ease) both; }

.chronicle { margin-top: 26px; }
.chron-rank { font: 900 clamp(34px, 4vw, 46px)/1 var(--display); margin-bottom: 14px; }
.ichor-track { height: 10px; border-radius: 999px; background: var(--glaze-2); border: 1px solid var(--line); overflow: hidden; }
.ichor-fill { height: 100%; width: calc(var(--fill) * 100%); background: var(--gold); border-radius: inherit; transform-origin: left; }
.is-seen .ichor-fill { animation: fill 1.8s var(--ease) both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ichor-label { font-size: 15px; color: var(--muted); margin: 8px 0 14px; font-variant-numeric: tabular-nums; }
.ichor-label b { color: var(--gold); font-family: var(--display); }
.ranks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ranks li { font: 700 12px/1 var(--display); letter-spacing: .12em; padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); text-transform: uppercase; }
.ranks .is-current { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.labor-strip { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.labor-strip li { text-align: center; padding: 10px 0; border-radius: 8px; border: 1px solid var(--line); font: 700 13px var(--display); color: var(--muted); }
.labor-strip li.is-done { border-color: #8a5a20; color: var(--gold); background: rgba(227, 176, 74, .06); }
.chron-note { margin: 16px 0 0; font-size: 14px; color: var(--muted); }

/* ---------- why: four pillars, the last two in gold ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pillar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); transform: translateY(24px); transition: transform 1s var(--ease); }
.pillar.is-seen { transform: none; }
.pillar-num { display: flex; justify-content: space-between; gap: 12px; font: 700 15px/1 var(--display); letter-spacing: .16em; color: var(--clay); margin-bottom: 16px; }
.pillar-num .greek { font-size: 13px; letter-spacing: .34em; }
.pillar h3 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 900; }
.pillar-line { font: 700 18px/1.35 var(--display); color: var(--cream); margin: 10px 0 14px; letter-spacing: .02em; }
.pillar p:last-of-type { color: #d9ccb5; }
.pillar.is-gold { border-color: #8a5a20; background: #1f150b; }
.pillar.is-gold .pillar-num, .pillar.is-gold .pillar-line { color: var(--gold); }
.feed { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.feed li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.feed b { font: 700 13px/1.6 var(--display); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.feed .is-alert b, .feed .is-alert span { color: var(--gold); }
.why-quote { text-align: center; margin-top: clamp(32px, 4vw, 48px); text-wrap: balance; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  display: flex; justify-content: space-between; gap: 18px;
  font: 700 clamp(17px, 2vw, 20px)/1.35 var(--display);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--clay); font-size: 1.2em; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: #d9ccb5; max-width: 68ch; padding-bottom: 20px; margin: 0; }

/* ---------- footer ---------- */
.foot { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
.foot-in { padding-top: 48px; text-align: center; }
.foot-line { font: 700 clamp(20px, 3vw, 30px)/1.3 var(--display); text-wrap: balance; margin-bottom: 18px; }
.foot-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; color: var(--muted); font-size: 15px; }
.foot-meta a { color: var(--clay); text-decoration: none; }
.foot-meta a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero { min-height: 0; }
  .hero-in { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-count { width: 100%; max-width: 420px; }
  .btn-row { justify-content: center; }
  .hero-grid { max-width: 520px; width: 100%; margin-inline: auto; }
  .spread { grid-template-columns: minmax(0, 1fr); }
  .journey-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stage { top: var(--nav-h); height: 38svh; z-index: 2; margin-inline: calc(var(--gutter) * -1); background: linear-gradient(rgba(11, 7, 5, .94) 84%, rgba(11, 7, 5, 0)); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .scene-boat svg { max-height: 30svh; width: auto; max-width: 80%; }
  .mint-card { width: auto; height: 100%; display: grid; justify-items: center; padding-block: 1svh 3svh; }
  .mint-frame { width: auto; height: 100%; }
  .mint-steps { display: none; }
  .coin { width: min(54vw, 28svh); }
  .coin-shadow { margin-top: 8px; }
  .vase { width: calc((38svh - 40px) * .58); }
  .stations { padding: 2vh 0 4vh; }
  .station { min-height: 72svh; justify-content: flex-start; padding-top: 5vh; }
  .station > * { max-width: none; }
  .station[id] { scroll-margin-top: calc(38svh - 12px); }
  .grounds, .gods-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legend-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .brand span { font-size: 13px; letter-spacing: .08em; }
  .btn { white-space: normal; text-align: center; }
  .btn-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; margin-inline: auto; }
  .tick b { font-size: 28px; }
  .legend-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .labor-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .check-row { flex-direction: column; }
  .check-row input { flex: none; }
  .answers, .verdict { grid-template-columns: minmax(0, 1fr); }
  .verdict { text-align: center; }
  .verdict img { max-width: 200px; margin: 0 auto; }
  .verdict .btn-row { justify-content: center; }
  .tile { padding: 12px; }
}
@media (max-width: 440px) {
  .brand span { display: none; }
  .nav .btn { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lift { transform: none; transition: none; }
  .coin-inner, .scene, .station, .answer { transition: none; }
  .frieze-strip, .pillar { animation: none; transform: none; transition: none; }
  .paint img.is-wiping, .paint .brush, .is-seen .ichor-fill, .spread.is-seen .bar i { animation: none; }
  .grid12 img { transition: none; }
}
