/* ==========================================================================
   The Mallard Order — Robinhood Chain chapter · v6.3 "ritual mainframe"
   Direction (founder, 2026-09-16): HACKERS (1995) × THE DARK CRYSTAL.
   Background = #sigil, a summoning circle drawn in characters (no Matrix
   rain, no noise blotches — both rejected); dense flowing fields live
   INSIDE boxes (.ascii-field). Crystal-shard panels.
   No stone, no masonry, no arches. Black + #c5fa01 only.
   Type: Cinzel (occult display) · EB Garamond (reading) · Aldrich (data).
   ========================================================================== */

:root {
  --void: #030304;
  --deep: #060707;
  --pane: rgba(5, 7, 5, 0.93);   /* opaque enough to read without a backdrop blur */
  --soul: #c5fa01;
  --soul-hi: #e2ff5c;
  --soul-dim: rgba(197, 250, 1, 0.35);
  --soul-hair: rgba(197, 250, 1, 0.16);
  --soul-faint: rgba(197, 250, 1, 0.05);
  --moss: #23350a;                 /* dark green depth */
  --bone: #f3f5ec;
  --mist: #d2d6c9;
  --faded: #9ba095;

  --font-display: 'Cinzel', 'Trajan Pro', Georgia, serif;
  --font-body: 'EB Garamond', Garamond, 'Times New Roman', serif;
  --font-ui: 'Aldrich', 'Segoe UI', system-ui, sans-serif;

  --max: 1280px;
  --gutter: clamp(16px, 3vw, 40px);
  --section: clamp(60px, 8vw, 104px);
  --cut: 20px;                     /* shard corner cut */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--void);
  color: var(--mist);
  font-family: var(--font-body);
  font-size: 1.18rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* deep-green atmospheres */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 15% 10%, rgba(35, 53, 10, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 45% at 85% 80%, rgba(35, 53, 10, 0.28), transparent 60%),
    var(--void);
}
::selection { background: var(--soul); color: #000; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--soul); text-decoration: none; }
a:hover { color: var(--soul-hi); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--soul); outline-offset: 4px; }

/* the page-wide sigil (in-house canvas), masked out under the nav band so glyphs never crowd the brand */
#sigil { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent 64px, #000 160px);
  mask-image: linear-gradient(transparent 64px, #000 160px); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; color: var(--bone); text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.02em; }
h3 { font-size: 1.26rem; letter-spacing: 0.05em; }
.glow { color: var(--soul); text-shadow: 0 0 14px rgba(197, 250, 1, 0.45), 0 0 44px rgba(197, 250, 1, 0.18); }
.overline {
  font-family: var(--font-ui); font-size: 0.78rem;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--faded);
  display: flex; align-items: center; gap: 12px; margin: 0 0 1.1rem;
}
.overline i { font-style: normal; color: var(--soul-dim); font-size: 0.72rem; }
.glyphs-inline { font-family: var(--font-ui); color: var(--soul-dim); letter-spacing: 0.3em; font-size: 0.84rem; }
.lede { font-size: clamp(1.18rem, 1.5vw, 1.34rem); max-width: 58ch; color: var(--mist); }
.lore-voice { font-style: italic; color: var(--mist); }
.small { font-size: 1rem; }
.faded { color: var(--faded); }
.num { font-variant-numeric: tabular-nums; }
.inscription {
  font-family: var(--font-ui); font-size: 0.76rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--faded); text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.inscription i { font-style: normal; color: var(--soul-dim); font-size: 0.72rem; }

/* ---------- Shard panels (crystal facets) ---------- */
.shard {
  position: relative;
  padding: 1px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  background: linear-gradient(155deg, rgba(197, 250, 1, 0.5), rgba(197, 250, 1, 0.07) 35%, rgba(197, 250, 1, 0.12) 65%, rgba(197, 250, 1, 0.4));
  /* flex column so __in fills stretched grid items; NEVER height:100% on __in —
     on full-width block shards Chromium resolves it against the viewport and
     balloons the panel to screen height */
  display: flex; flex-direction: column;
}
.shard__in {
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  background:
    radial-gradient(ellipse 90% 70% at 20% 0%, rgba(35, 53, 10, 0.35), transparent 55%),
    var(--pane);
  /* no backdrop-filter: dozens of panels re-blurring an animated canvas every frame is a
     known jank source on real GPUs; the pane alpha carries legibility instead */
  flex: 1 1 auto;
  display: flex; flex-direction: column;
}
.shard--sm { --cut: 12px; }
.shard__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid rgba(197, 250, 1, 0.12);
}
.shard__head h2, .shard__head h3 { font-size: 1.06rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bone); }
.shard__sub { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faded); margin-top: 4px; }
.shard__body { padding: clamp(18px, 2.4vw, 26px); flex: 1; display: flex; flex-direction: column; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--soul); padding: 5px 11px;
  background: rgba(197, 250, 1, 0.06);
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.dot { width: 5px; height: 5px; transform: rotate(45deg); background: var(--soul); box-shadow: 0 0 10px var(--soul); display: inline-block; }
.dot--pulse { animation: pulse 2.2s ease-in-out infinite; }
.dot--off { background: #3c4038; box-shadow: none; }

/* ---------- Rules ---------- */
.soulrule { width: 58px; height: 2px; background: var(--soul); box-shadow: 0 0 14px var(--soul-dim); margin: 1.2rem 0 1.5rem; border: 0; }

/* ---------- Data readouts ---------- */

/* ---------- Buttons: cut crystal keys ---------- */
.btn {
  position: relative;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 210px;
  padding: 1em 2.2em 1.1em;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  background:
    linear-gradient(155deg, rgba(197, 250, 1, 0.22), rgba(197, 250, 1, 0.05) 45%, rgba(197, 250, 1, 0.16)),
    rgba(6, 8, 4, 0.92);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.25), inset 0 0 26px rgba(197, 250, 1, 0.05);
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--soul);
  text-shadow: 0 0 12px rgba(197, 250, 1, 0.5);
  transition: box-shadow 0.25s, color 0.25s, transform 0.12s var(--ease), background 0.25s;
  text-align: center;
}
.btn small { font-family: var(--font-body); font-style: italic; font-size: 0.84rem; letter-spacing: 0.08em; text-transform: none; color: var(--faded); text-shadow: none; }
.btn:hover {
  color: var(--soul-hi);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.6), inset 0 0 34px rgba(197, 250, 1, 0.12), 0 0 28px rgba(197, 250, 1, 0.22);
}
.btn:hover small { color: var(--mist); }
.btn:active { transform: translateY(2px) scale(0.99); }
.btn--ghost { background: rgba(4, 5, 4, 0.7); box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.14); color: var(--mist); text-shadow: none; }
.btn--ghost:hover { color: var(--soul); box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.4), 0 0 20px rgba(197, 250, 1, 0.12); }
/* a key that is not live yet: greyed, inert, no glow; flip by removing the class and restoring href from data-href */
.btn--off { pointer-events: none; cursor: default; opacity: 0.45; filter: grayscale(1); color: var(--faded); text-shadow: none; box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.12); background: rgba(6, 8, 4, 0.9); }
.btn--off::after { display: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.textlink { font-family: var(--font-ui); font-size: 0.76rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faded); border-bottom: 1px solid rgba(197, 250, 1, 0.15); padding-bottom: 3px; }
.textlink:hover { color: var(--soul); border-bottom-color: var(--soul-dim); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; border-bottom: 1px solid transparent; transition: background 0.35s, border-color 0.35s; }
.nav.is-scrolled { background: rgba(3, 3, 4, 0.94); border-bottom-color: rgba(197, 250, 1, 0.12); } /* no backdrop-filter: a fixed strip blurring the scrolling page is a per-frame GPU cost */
.nav__inner { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 10px rgba(197, 250, 1, 0.25)); }
.brand__mark { position: relative; display: block; flex: none; width: 34px; height: 34px; }
.brand__mark img { position: absolute; inset: 0; }
.brand__old, .js:not(.reborn) .brand__new { opacity: 0; }
.js:not(.reborn) .brand__old { opacity: 1; }
.brand__mark.is-born { animation: brand-glitch 0.7s steps(1) both; }
@keyframes brand-glitch {
  0% { transform: translateX(3px) skewX(14deg); filter: brightness(2.2); }
  14% { transform: translate(-4px, 1px); clip-path: inset(30% 0 35% 0); }
  28% { transform: none; clip-path: inset(0 0 60% 0); }
  42% { transform: translateX(2px); clip-path: none; filter: brightness(1.7); }
  60% { transform: none; filter: brightness(1.2); }
  100% { transform: none; filter: none; }
}
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone); }
.nav__links { display: flex; gap: clamp(12px, 1.8vw, 24px); }
.nav__links a {
  font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--faded); white-space: nowrap; padding: 6px 0;
  transition: color 0.25s, text-shadow 0.25s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--soul); text-shadow: 0 0 10px rgba(197, 250, 1, 0.5); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__cta .btn { min-width: 0; padding: 0.7em 1.4em 0.8em; font-size: 0.74rem; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--bone); }
.nav__toggle svg { width: 22px; height: 22px; }

/* ---------- Hero: inside the ritual mainframe ---------- */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 130px 0 70px; }
/* a slow soulfire dawn behind the seal */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse 46% 34% at 50% 30%, rgba(197, 250, 1, 0.09), transparent 65%), radial-gradient(ellipse 70% 55% at 50% 100%, rgba(35, 53, 10, 0.4), transparent 70%); }
.hero .smoke-local { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.85; }
/* dark pool behind the headline so the glyph smoke billows AROUND the copy, never through it */
.hero__veil { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 46% 52% at 50% 54%, rgba(3, 3, 4, 0.94) 42%, rgba(3, 3, 4, 0.6) 72%, transparent 100%); }
.hero__content { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); }
.seal-wrap { position: relative; width: clamp(140px, 15vw, 190px); margin: 0 auto 2rem; }
/* The rebrand (founder, 2026-10-18): the Mallard Order seal glitches into the TMO Initiates
   mark (js/main.js "The rebrand"). <html>.js = the old seal waits, <html>.reborn = the new mark
   stands; without JS, or under reduced motion, the new mark simply stands. */
.seal-wrap .hero__seal--old, .seal-wrap .hero__mark { display: block; width: 100%; height: auto; }
.seal-wrap .hero__seal--old { position: absolute; inset: 0; z-index: 2; opacity: 0; filter: drop-shadow(0 0 28px rgba(197, 250, 1, 0.3)) drop-shadow(0 6px 14px #000); }
.seal-wrap .hero__mark { position: relative; z-index: 2; border-radius: 50%; background: radial-gradient(circle closest-side, rgba(3, 3, 4, 0.94) 86%, transparent 89%); filter: drop-shadow(0 0 24px rgba(214, 251, 19, 0.34)) drop-shadow(0 6px 14px #000); }
.js:not(.reborn) .seal-wrap .hero__seal--old { opacity: 1; }
.js:not(.reborn) .seal-wrap .hero__mark { opacity: 0; }
.seal-wrap.is-glitching .hero__seal--old, .seal-wrap.is-glitching .hero__mark { visibility: hidden; }
.rebrand__glitch { position: absolute; left: -30%; top: -30%; width: 160%; height: 160%; z-index: 3; pointer-events: none; display: none; }
.seal-wrap.is-glitching .rebrand__glitch { display: block; }
.seal-wrap.is-born .hero__mark { animation: reborn 1.5s var(--ease) both; }
.seal-wrap::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%; border: 2px solid var(--soul); opacity: 0; pointer-events: none; }
.seal-wrap.is-born::after { animation: shockwave 1.2s var(--ease) forwards; }
@keyframes reborn {
  0% { transform: scale(1.07); filter: brightness(2.4) drop-shadow(0 0 46px rgba(214, 251, 19, 0.9)) drop-shadow(0 6px 14px #000); }
  100% { transform: none; filter: brightness(1) drop-shadow(0 0 24px rgba(214, 251, 19, 0.34)) drop-shadow(0 6px 14px #000); }
}
@keyframes shockwave { 0% { opacity: 0.85; transform: scale(0.94); } 100% { opacity: 0; transform: scale(2.2); } }
/* the footer seal turns the same way, once, when it scrolls into view (main.js holds it on .is-pending) */
.seal-wrap--foot { width: 64px; margin: 0; }
.seal-wrap.is-pending .hero__seal--old { opacity: 1; }
.seal-wrap.is-pending .hero__mark { opacity: 0; }
.seal-wrap--foot .hero__seal--old, .seal-wrap--foot .hero__mark { filter: drop-shadow(0 0 16px rgba(197, 250, 1, 0.2)) drop-shadow(0 3px 8px #000); }
.seal-wrap--foot.is-born .hero__mark { animation: reborn-foot 1.2s var(--ease) both; }
@keyframes reborn-foot {
  0% { transform: scale(1.1); filter: brightness(2.4) drop-shadow(0 0 26px rgba(214, 251, 19, 0.9)) drop-shadow(0 3px 8px #000); }
  100% { transform: none; filter: brightness(1) drop-shadow(0 0 16px rgba(197, 250, 1, 0.2)) drop-shadow(0 3px 8px #000); }
}
/* "Mallards" decodes into "TMO Initiates" as the seal turns */
.rebrand-word { position: relative; display: inline-block; white-space: nowrap; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--soul); text-shadow: 0 0 14px rgba(197, 250, 1, 0.45), 0 2px 8px rgba(0, 0, 0, 0.9); }
.rebrand-word.is-scrambling { color: var(--soul-hi); }
.rebrand-word::before, .rebrand-word::after { content: attr(data-text); position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; }
.rebrand-word.is-twitch { animation: word-twitch 0.3s steps(3) both; }
.rebrand-word.is-twitch::before { opacity: 0.8; color: var(--bone); transform: translateX(-3px); clip-path: inset(0 0 55% 0); }
.rebrand-word.is-twitch::after { opacity: 0.8; color: var(--soul-hi); transform: translate(4px, 1px); clip-path: inset(58% 0 0 0); }
@keyframes word-twitch { 0% { transform: translateX(2px) skewX(-8deg); } 50% { transform: translateX(-2px); } 100% { transform: none; } }
/* the screen tears once, at the turn */
.hero__tear { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; background: repeating-linear-gradient(to bottom, rgba(197, 250, 1, 0.09) 0 1px, transparent 1px 3px); }
.hero.is-tearing .hero__tear { animation: tear 0.6s steps(1) both; }
@keyframes tear {
  0% { opacity: 1; clip-path: inset(14% 0 78% 0); transform: translateX(-16px); }
  18% { clip-path: inset(44% 0 44% 0); transform: translateX(20px); }
  36% { clip-path: inset(70% 0 20% 0); transform: translateX(-10px); }
  54% { clip-path: inset(26% 0 60% 0); transform: translateX(12px); }
  72% { opacity: 0.55; clip-path: inset(0); transform: none; }
  100% { opacity: 0; }
}
.hero h1 em { display: inline-block; }
.hero.is-tearing h1 em { animation: em-tear 0.6s steps(1) both; }
@keyframes em-tear {
  0% { transform: translateX(-6px) skewX(12deg); text-shadow: 5px 0 0 rgba(243, 245, 236, 0.7), -5px 0 0 rgba(197, 250, 1, 0.8); }
  25% { transform: translateX(8px); clip-path: inset(0 0 45% 0); }
  50% { transform: translateX(-3px) skewX(-10deg); clip-path: inset(40% 0 0 0); text-shadow: -4px 0 0 rgba(243, 245, 236, 0.7), 4px 0 0 rgba(197, 250, 1, 0.8); }
  75% { transform: none; clip-path: none; }
}
.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 6.2rem); font-weight: 900; line-height: 0.98; letter-spacing: -0.005em;
  color: var(--bone);
  text-shadow: 0 0 30px rgba(197, 250, 1, 0.15), 0 4px 16px rgba(0, 0, 0, 0.9);
}
.hero h1 em { font-style: normal; color: var(--soul); text-shadow: 0 0 18px rgba(197, 250, 1, 0.55), 0 0 60px rgba(197, 250, 1, 0.25); }
.hero .lede { margin: 1.6rem auto 2.2rem; color: var(--mist); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9); }
.hero .btn-row { justify-content: center; }
.hero__foot { margin-top: clamp(28px, 3.4vw, 44px); }
.hero__content > * { opacity: 0; animation: rise 1s var(--ease) 0.2s forwards; }
.hero__content > h1 { animation-delay: 0.4s; }
.hero__content > .lede { animation-delay: 0.6s; }
.hero__content > .btn-row { animation-delay: 0.8s; }
.hero__content > .hero__foot { animation-delay: 1s; }
/* ---------- Sections ---------- */
.section { padding: calc(var(--section) / 2) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .overline { justify-content: center; }
.section-head--center .soulrule { margin-left: auto; margin-right: auto; }

/* ---------- Marquee: the incantation stream ---------- */
.marquee { position: relative; overflow: hidden; padding: 13px 0; border-top: 1px solid rgba(197, 250, 1, 0.12); border-bottom: 1px solid rgba(197, 250, 1, 0.12); background: rgba(4, 5, 4, 0.7); }
.marquee__track { display: flex; width: max-content; animation: marquee 65s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: 0.86rem; letter-spacing: 0.32em; text-transform: uppercase; color: #d6dac9; padding: 0 28px; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--soul-dim); font-family: var(--font-ui); }

/* ---------- Duck stream (shard-framed) ---------- */
.procession { overflow: hidden; padding: clamp(20px, 3vw, 40px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.procession__track { display: flex; gap: 18px; width: max-content; animation: marquee 70s linear infinite; }
.procession__track:hover { animation-play-state: paused; }
.procession .shard { flex: 0 0 auto; width: clamp(160px, 15vw, 220px); --cut: 14px; transition: transform 0.4s var(--ease), filter 0.35s; }
.procession .shard img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(0.85); }
.procession .shard:hover { transform: translateY(-6px); filter: drop-shadow(0 0 22px rgba(197, 250, 1, 0.25)); }
.procession .shard:hover img { filter: none; }

/* ---------- The Initiates wall (founder, 2026-10-31) ----------
   Every PFP exactly once, three rows; js/main.js moves a tile that leaves one end to the other,
   so nothing is cloned. Plain squares: the founder does not want cut corners on the art. */
.wall { display: grid; gap: 12px; overflow: hidden; padding: clamp(22px, 3vw, 40px) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wall__row { display: flex; gap: 12px; width: max-content; will-change: transform; }
.wall__row:nth-child(2) { margin-left: calc(clamp(120px, 11vw, 184px) / -2); }
.wall__row img { flex: 0 0 auto; display: block; width: clamp(120px, 11vw, 184px); height: auto; aspect-ratio: 1;
  background: #0b0d0a; outline: 1px solid rgba(197, 250, 1, 0.14); outline-offset: -1px;
  transition: transform 0.35s var(--ease), outline-color 0.35s, box-shadow 0.35s; }
.wall__row img:hover { position: relative; z-index: 1; transform: scale(1.07); outline-color: rgba(197, 250, 1, 0.6); box-shadow: 0 0 26px rgba(197, 250, 1, 0.28); }

/* no cut corners on any PFP frame (founder, 2026-10-31) */
.stage, .stage .shard__in, .stage img, .thumbs .shard, .thumbs .shard .shard__in { clip-path: none; }

/* ---------- Hall (specimen viewer) ---------- */
.hall__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 26px); align-items: start; }
.stage .shard__in { padding: 10px; }
.stage img { width: 100%; aspect-ratio: 1; object-fit: cover; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); }
.stage__cap {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 11px 8px 2px;
  font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faded);
}
.stage__cap b { color: var(--soul); font-weight: 400; text-shadow: 0 0 10px rgba(197, 250, 1, 0.45); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.thumbs .shard { --cut: 9px; padding: 1px; opacity: 0.6; transition: opacity 0.3s, transform 0.3s var(--ease), filter 0.3s; cursor: pointer; }
.thumbs .shard img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs .shard:hover { opacity: 1; transform: translateY(-3px); }
.thumbs .shard.is-active { opacity: 1; filter: drop-shadow(0 0 14px rgba(197, 250, 1, 0.4)); }
.hall__note { margin-top: 14px; font-size: 1.02rem; color: var(--faded); }
.hall__note b { display: block; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bone); margin-bottom: 6px; font-weight: 400; }
.hall__note p { margin: 0; }

/* ---------- Grid pairs ---------- */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 26px); }
.col-7 { grid-column: span 7; } .col-6 { grid-column: span 6; } .col-5 { grid-column: span 5; }

/* ---------- Quest tracker ---------- */
.quests { display: grid; gap: 11px; }
.quest {
  display: grid; grid-template-columns: 52px 1fr auto; gap: clamp(12px, 1.6vw, 20px); align-items: center;
  padding: 14px 16px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  background: rgba(4, 6, 4, 0.7);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.08);
}
.quest__n { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); color: #5d6554; text-align: center; line-height: 1; }
.quest__body h3 { margin-bottom: 4px; font-size: 1.04rem; color: var(--bone); }
.quest__body p { margin: 0; color: var(--faded); font-size: 1rem; }
.quest__status { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faded); display: inline-flex; align-items: center; gap: 8px; }
.quest--live { box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.4), inset 0 0 34px rgba(197, 250, 1, 0.07), 0 0 24px rgba(197, 250, 1, 0.12); }
.quest--live .quest__n { color: var(--soul); text-shadow: 0 0 18px rgba(197, 250, 1, 0.5); }
.quest--live h3 { color: var(--soul); text-shadow: 0 0 12px rgba(197, 250, 1, 0.4); }
.quest--live .quest__status { color: var(--soul); }
.quest--next .quest__status { color: var(--bone); }
.quest--next .quest__status .dot { background: var(--bone); box-shadow: none; }
.quest--sealed { opacity: 0.5; transition: opacity 0.35s; }
.quest--sealed:hover { opacity: 1; }

/* ---------- Stat crystals ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); }
.stats .shard { --cut: 16px; }
.stats .shard__in { align-items: center; text-align: center; padding: clamp(24px, 3vw, 40px) 16px; }
.stats b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1; color: var(--soul); text-shadow: 0 0 30px rgba(197, 250, 1, 0.45); font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 9px; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faded); }

/* ---------- Ceremony ---------- */
.ceremony .shard__in { position: relative; isolation: isolate; overflow: hidden; }
.ceremony__bg { position: absolute; inset: 0; z-index: -2; background: url("../assets/img/ceremony-hall.webp") center / cover no-repeat; filter: saturate(0.6) brightness(0.56) hue-rotate(40deg); }
.ceremony__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(3, 4, 3, 0.94), rgba(3, 4, 3, 0.72) 48%, rgba(3, 4, 3, 0.2)); }
.ceremony__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(26px, 4.5vw, 70px); align-items: center; padding: clamp(26px, 3.5vw, 48px); }
.ledger { background: rgba(3, 4, 3, 0.8); clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.14); }
.ledger__head { padding: 13px 20px; border-bottom: 1px solid rgba(197, 250, 1, 0.12); font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone); display: flex; justify-content: space-between; align-items: center; }
.ledger__rows { padding: 6px 0; }
.ledger__rows > div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 9px 20px; border-bottom: 1px solid rgba(197, 250, 1, 0.06); }
.ledger__rows > div:last-child { border-bottom: 0; }
.ledger .k { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faded); }
.ledger .v { font-family: var(--font-ui); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bone); text-align: right; }
.ledger .v.soul { color: var(--soul); text-shadow: 0 0 10px rgba(197, 250, 1, 0.4); }
.ledger__foot { border-top: 1px solid rgba(197, 250, 1, 0.12); padding: 11px 20px; font-size: 0.97rem; font-style: italic; color: var(--faded); }
.ledger__foot b { color: var(--soul); font-style: normal; font-weight: 500; }
.ledger__foot a { color: var(--soul); text-underline-offset: 3px; }

/* ---------- Realm ---------- */
.realm__facts { display: grid; gap: 9px; }
.realm__facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; border-bottom: 1px solid rgba(197, 250, 1, 0.08); padding-bottom: 7px; }
.realm__facts .k { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faded); }
.realm__facts .v { font-family: var(--font-ui); font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bone); text-align: right; }
.realm__facts .v small { display: block; font-size: 0.72rem; color: var(--faded); letter-spacing: 0.14em; }
.realm__facts .v.soul { color: var(--soul); text-shadow: 0 0 12px rgba(197, 250, 1, 0.4); }
.realm__chart { margin-top: 18px; }
.realm__chart svg { width: 100%; height: 70px; display: block; }
/* the boxed ASCII plasma field — the v2 "tokenized markets" effect, in-house */
.markets {
  position: relative; overflow: hidden;
  margin-top: 18px; min-height: 216px;
  padding: 16px 16px 18px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  background: rgba(2, 3, 2, 0.8);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.14), inset 0 0 40px rgba(197, 250, 1, 0.03);
}
.markets .ascii-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.8; }
/* the plasma field runs behind this label, so it needs its own ground to sit on */
.markets__label {
  position: relative; z-index: 1; display: inline-block;
  font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--bone);
  background: rgba(3, 4, 3, 0.92);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.14);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  padding: 6px 10px;
  margin-bottom: 12px;
}
.markets__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.markets__chips li {
  font-family: var(--font-ui); font-size: 0.76rem; letter-spacing: 0.14em;
  color: var(--bone); padding: 6px 10px;
  background: rgba(3, 4, 3, 0.92);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.22);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.realm__actions { margin-top: auto; padding-top: 16px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ---------- Relics ---------- */
.relics__media { position: relative; overflow: hidden; margin: -1px -1px 0; }
.relics__media img { width: 100%; aspect-ratio: 16 / 7.2; object-fit: cover; object-position: center 42%; filter: saturate(0.55) brightness(0.8) hue-rotate(40deg); }
.relics__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--pane)); pointer-events: none; }
.relics__media figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 11px 18px; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faded); }
.relic-list li { display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: center; padding: 10px 2px; border-bottom: 1px solid rgba(197, 250, 1, 0.07); }
.relic-list li:last-child { border-bottom: 0; }
.relic-list svg { width: 22px; height: 22px; stroke: var(--soul); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; opacity: 0.7; }
.relic-list li:hover svg { opacity: 1; filter: drop-shadow(0 0 8px var(--soul-dim)); }
.relic-list b { font-family: var(--font-display); font-weight: 700; font-size: 0.94rem; letter-spacing: 0.08em; color: var(--bone); }
.relic-list small { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faded); }

/* ---------- Origins ---------- */
.origins__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 3.5vw, 44px); }
.origins__text .dropcap::first-letter { font-family: var(--font-display); font-size: 3em; float: left; line-height: 0.82; padding: 4px 10px 0 0; color: var(--soul); text-shadow: 0 0 16px rgba(197, 250, 1, 0.35); }
.origins__media { display: grid; gap: 14px; }
.origins__media img { clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); filter: saturate(0.8); }
.origins__figure { margin: 0; position: relative; }
.origins__figure img { clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); filter: saturate(0.6) brightness(0.82) hue-rotate(28deg); }
.origins__figure figcaption { margin-top: 10px; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faded); text-align: center; }
.comics-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.comics-card img { width: 100px; }
.comics-card h4 { font-size: 0.97rem; margin-bottom: 5px; }
.comics-card p { font-size: 0.97rem; color: var(--faded); margin: 0; }
.sig { display: flex; align-items: flex-end; gap: 14px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(197, 250, 1, 0.1); }
.sig b { font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; line-height: 1; color: var(--soul-dim); }
.sig span { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faded); padding-bottom: 4px; }
.schools { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 0 clamp(24px, 3.5vw, 44px) clamp(24px, 3.5vw, 44px); }
.school { text-align: center; padding: 16px 8px 13px; display: grid; gap: 8px; justify-items: center; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); background: rgba(4, 6, 4, 0.65); box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.08); transition: box-shadow 0.35s; }
.school:hover { box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.35), inset 0 0 26px rgba(197, 250, 1, 0.06); }
.school svg { width: 26px; height: 26px; stroke: var(--soul); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0.65; transition: opacity 0.35s, filter 0.35s; }
.school:hover svg { opacity: 1; filter: drop-shadow(0 0 10px var(--soul-dim)); }
.school b { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bone); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid rgba(197, 250, 1, 0.08); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.05em;
  color: var(--bone); padding: 15px 38px 15px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "◆"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); color: var(--soul-dim); font-size: 0.74rem; transition: transform 0.35s, color 0.35s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(135deg); color: var(--soul); }
.faq details p { color: var(--faded); margin: 0 0 15px; max-width: 60ch; font-size: 1.04rem; }
.watch__img { margin: -1px -1px 0; overflow: hidden; }
.watch__img img { width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; filter: sepia(1) hue-rotate(52deg) saturate(2.1) brightness(0.82); }
.watch__body h3 { font-size: 0.92rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--soul); text-shadow: 0 0 12px rgba(197, 250, 1, 0.35); margin-bottom: 10px; }
.watch__body ul { display: grid; gap: 7px; }
.watch__body li { font-size: 1rem; color: var(--mist); display: flex; gap: 9px; }
.watch__body li::before { content: "◆"; color: var(--soul-dim); font-size: 0.72rem; padding-top: 6px; }

/* ---------- The Door (boxed ASCII field finale) ---------- */
.door .shard__in { position: relative; isolation: isolate; overflow: hidden; text-align: center; align-items: center; justify-content: center; padding: clamp(70px, 9vw, 120px) var(--gutter); }
.door .ascii-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.door__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 46% 62% at 50% 52%, rgba(3, 3, 4, 0.88) 30%, transparent 78%); }
.door__content { position: relative; z-index: 2; }
.door h2 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 900; color: var(--bone); text-shadow: 0 0 30px rgba(197, 250, 1, 0.18), 0 4px 16px rgba(0, 0, 0, 0.9); }
.door .lore-voice { font-size: 1.2rem; margin: 0.9rem 0 2rem; }
.door .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { margin-bottom: clamp(18px, 2.2vw, 30px); }
.footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; }
.footer__cols > div { padding: clamp(22px, 3vw, 32px); border-right: 1px solid rgba(197, 250, 1, 0.08); }
.footer__cols > div:last-child { border-right: 0; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer__brand img { width: 64px; filter: drop-shadow(0 0 16px rgba(197, 250, 1, 0.2)); }
.footer__brand p { font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faded); line-height: 2.1; margin: 0; }
.footer h4 { font-family: var(--font-ui); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone); border-bottom: 1px solid rgba(197, 250, 1, 0.1); padding-bottom: 9px; margin: 0 0 13px; }
.footer ul { display: grid; gap: 8px; }
.footer li a, .footer li button { font-size: 1.02rem; color: var(--mist); padding: 0; }
.footer li a:hover, .footer li button:hover { color: var(--soul); }
/* brand marks are inline SVG on currentColor so the hover colour reaches them; never an icon font */
.footer li a .ico { width: 15px; height: 15px; fill: currentColor; vertical-align: -2px; margin-right: 9px; }
.footer li a small { display: block; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faded); margin-top: 2px; }
.footer li a:hover small { color: var(--soul-dim); }
.footer__legal { border-top: 1px solid rgba(197, 250, 1, 0.1); padding: 12px var(--gutter); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faded); }

/* ---------- Reveal & toast ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 16px);
  background: rgba(8, 10, 6, 0.95); color: var(--bone); border: 1px solid var(--soul-dim);
  font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 12px 18px; opacity: 0; pointer-events: none; transition: 0.3s var(--ease); z-index: 90;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Keyframes ---------- */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Mint copy components (2026-09-24 master summary) ---------- */
.lede b { color: var(--bone); font-weight: 500; }
.callout { font-size: 1.22rem; color: var(--bone); margin: 1.2rem 0 0; padding-left: 14px; border-left: 2px solid var(--soul); }

/* the four rites: how a Vault fills */
.rites { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 20px); padding: 0 clamp(26px, 3.5vw, 48px); position: relative; z-index: 1; }
.rite {
  position: relative; padding: 18px 18px 16px 20px;
  background: rgba(3, 4, 3, 0.72);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.14);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.rite__n { font-family: var(--font-display); font-size: 1.6rem; color: var(--soul-dim); line-height: 1; display: block; margin-bottom: 8px; }
.rite h3 { font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soul); text-shadow: 0 0 12px rgba(197, 250, 1, 0.35); margin-bottom: 8px; }
.rite p { margin: 0; font-size: 1rem; color: var(--mist); }
.rite b { color: var(--bone); font-weight: 500; }
.rite em { color: var(--soul); font-style: italic; }

/* formula strips: weight = rarity x commitment, the Trial chain */
.formula-row { position: relative; z-index: 1; padding: clamp(18px, 2.4vw, 26px) clamp(26px, 3.5vw, 48px) 0; display: grid; gap: 10px; justify-items: center; }
.formula {
  display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0.7rem;
  margin: 0; padding: 0.9rem 1.2rem;
  background: rgba(3, 4, 3, 0.75);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.14);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  font-family: var(--font-ui); font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist);
}
.formula em { font-style: normal; color: var(--faded); font-size: 0.95rem; }
.formula strong { color: var(--soul); font-weight: 400; text-shadow: 0 0 14px rgba(197, 250, 1, 0.35); }
.formula--chain { margin: 0 0 22px; width: 100%; }
.formula__note { margin: 0; font-style: italic; color: var(--mist); text-align: center; }
.funding { position: relative; z-index: 1; margin: 0; padding: clamp(18px, 2.4vw, 26px) clamp(26px, 3.5vw, 48px) clamp(26px, 3.5vw, 48px); color: var(--mist); font-size: 1rem; }
.funding b { color: var(--bone); font-weight: 500; }
.stats--4 { grid-template-columns: repeat(4, 1fr); }
.stats--4 .shard__in b { font-size: clamp(1.7rem, 3.4vw, 2.9rem); }

/* supply table */
.supply { display: grid; gap: 0; }
.supply__row { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: baseline; padding: 11px 6px; border-bottom: 1px solid rgba(197, 250, 1, 0.08); font-size: 1.04rem; color: var(--bone); }
.supply__row > span:nth-child(2), .supply__row > span:nth-child(3) { font-family: var(--font-ui); font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; text-align: right; min-width: 5.2rem; }
.supply__row small { display: block; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faded); margin-top: 3px; }
.supply__row .soul { color: var(--soul); text-shadow: 0 0 10px rgba(197, 250, 1, 0.4); }
.supply__row--head { padding-top: 0; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faded); }
.supply__row--head > span { font-size: 0.72rem !important; }
.supply__row--total { border-bottom: 0; border-top: 1px solid rgba(197, 250, 1, 0.24); margin-top: 4px; padding-top: 14px; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.86rem; }
.supply__row--total .num { color: var(--soul); font-size: 1.1rem; text-shadow: 0 0 14px rgba(197, 250, 1, 0.4); }
.supply__foot { margin-top: 18px; display: grid; gap: 8px; }
.never { margin: 0; font-size: 1.12rem; color: var(--bone); }
.never b { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--soul); text-shadow: 0 0 18px rgba(197, 250, 1, 0.4); margin-right: 4px; }

/* holders: the two claim tiles */
.claims { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); margin: 22px 0 26px; }
.claim {
  padding: 22px 22px 18px;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(197, 250, 1, 0.07), transparent 60%), rgba(3, 4, 3, 0.72);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.2);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  display: flex; flex-direction: column; gap: 4px;
}
.claim__label { font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faded); }
.claim__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; color: var(--soul); text-shadow: 0 0 30px rgba(197, 250, 1, 0.45); }
.claim__sub { font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); margin-bottom: 10px; }
.claim__sub .soul { color: var(--soul); }
.claim p { margin: 0 0 8px; font-size: 1rem; color: var(--mist); }
.claim p b { color: var(--bone); font-weight: 500; }
.claim__rule { font-family: var(--font-ui); font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soul); margin: auto 0 0 !important; padding-top: 10px; border-top: 1px solid rgba(197, 250, 1, 0.12); }

/* holders: standing table */
.standing { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(18px, 3vw, 40px); align-items: start; padding: 22px 0 26px; border-top: 1px solid rgba(197, 250, 1, 0.1); }
.standing__text h3 { font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); margin-bottom: 8px; }
.standing__text p { margin: 0 0 10px; color: var(--mist); }
.standing__text .lore-voice b { color: var(--soul); font-weight: 500; font-style: normal; }
.standing__grid { font-size: 0.86rem; }
.standing__grid .k { font-size: 0.74rem; }
.standing__grid .v { font-size: 0.96rem; color: var(--soul); text-shadow: 0 0 10px rgba(197, 250, 1, 0.35); }

/* holders: the rules */
.rules__title { font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bone); margin: 4px 0 12px; }
.rules { display: grid; gap: 10px; }
.rules li {
  position: relative; padding: 12px 16px 12px 18px; font-size: 1rem; color: var(--mist);
  background: rgba(3, 4, 3, 0.6);
  box-shadow: inset 2px 0 0 0 rgba(197, 250, 1, 0.35), inset 0 0 0 1px rgba(197, 250, 1, 0.08);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.rules li b { color: var(--bone); font-weight: 500; }
.rules li em { color: var(--soul); font-style: italic; }
.rules__warn { box-shadow: inset 2px 0 0 0 var(--soul-hi), inset 0 0 0 1px rgba(226, 255, 92, 0.3) !important; background: rgba(197, 250, 1, 0.05) !important; }
.rules__warn b { color: var(--soul-hi); }

/* the Trial: three Seals */
.seals { display: grid; gap: 8px; margin: 0 0 20px; }
.seal {
  display: grid; grid-template-columns: 4.2rem 1.1fr 1.6fr 5.5rem; gap: 16px; align-items: center;
  padding: 14px 18px;
  background: rgba(3, 4, 3, 0.66);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.1);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  color: var(--mist);
}
.seal--head { background: none; box-shadow: none; clip-path: none; padding: 0 18px 4px; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faded); }
.seal--head span:last-child { text-align: right; }
.seal__n { font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; color: var(--soul-dim); }
.seal__part b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); }
.seal__part small, .seal__reward small { display: block; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faded); margin-top: 3px; }
.seal__reward { font-size: 1rem; }
.seal__reward b { color: var(--soul); font-weight: 500; }
.seal__slots { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--soul); text-align: right; text-shadow: 0 0 16px rgba(197, 250, 1, 0.4); }
.seal--ember { box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.4), inset 0 0 34px rgba(197, 250, 1, 0.06), 0 0 24px -8px rgba(197, 250, 1, 0.3); }
.seal--ember .seal__n { color: var(--soul); text-shadow: 0 0 14px rgba(197, 250, 1, 0.5); }
.trial__notes { display: grid; gap: 8px; }
.trial__notes p { margin: 0; color: var(--mist); }
.trial__notes b { color: var(--bone); font-weight: 500; }
.trial__notes .soul { color: var(--soul); font-weight: 500; }
/* the intro sits centred over the centred formula; a 58ch left-aligned block under a full-width header read as parked in the corner */
#trial .lede { max-width: 72ch; margin-left: auto; margin-right: auto; text-align: center; }
.trial__cta { justify-content: center; margin-top: 22px; }

/* receipts */
.receipts__tally { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(197, 250, 1, 0.1); font-family: var(--font-ui); font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faded); }
.receipts__tally b { color: var(--soul); font-weight: 400; }
.relic-list svg { fill: none; }

/* the Mint: one subtraction, three phase rows, one paragraph.
   The sum is the whole point — 10,000 − 2,602 = 7,398 has to read as arithmetic,
   not as three unrelated tiles (which is exactly how the old stat band read). */
.stats--3 { grid-template-columns: repeat(3, 1fr); }

/* the mint day: the loudest line in the panel (founder, 2026-10-26: the header chip
   was "wayyy too low key"). Light-only breathing, so nothing shifts. */
.mintday {
  display: grid; justify-items: center; gap: 10px; text-align: center;
  padding: clamp(17px, 2.5vw, 27px) 18px;
  margin-bottom: 22px;
  background:
    radial-gradient(ellipse 60% 90% at 50% 50%, rgba(197, 250, 1, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(35, 53, 10, 0.6), rgba(3, 4, 3, 0.85));
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.5), inset 0 0 60px rgba(197, 250, 1, 0.08);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.mintday__k, .mintday__s { font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--mist); }
.mintday__k { display: flex; align-items: center; gap: 14px; color: var(--soul); }
.mintday__k::before, .mintday__k::after { content: ""; width: clamp(22px, 6vw, 72px); height: 1px; background: linear-gradient(90deg, transparent, var(--soul)); }
.mintday__k::after { transform: scaleX(-1); }
.mintday__d {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.12rem, 6vw, 3.36rem); line-height: 1;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; color: var(--soul);
  text-shadow: 0 0 22px rgba(197, 250, 1, 0.55), 0 0 70px rgba(197, 250, 1, 0.25);
  animation: mintday-breathe 3.2s ease-in-out infinite;
}
@keyframes mintday-breathe {
  0%, 100% { text-shadow: 0 0 18px rgba(197, 250, 1, 0.45), 0 0 56px rgba(197, 250, 1, 0.18); }
  50% { text-shadow: 0 0 30px rgba(197, 250, 1, 0.8), 0 0 96px rgba(197, 250, 1, 0.38); }
}

.phases { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ph {
  display: grid; grid-template-columns: 42px 1fr auto auto; align-items: center; gap: 6px 18px;
  padding: 15px 18px;
  background: rgba(3, 4, 3, 0.6);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.12);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.ph--lit { background: linear-gradient(180deg, rgba(35, 53, 10, 0.34), rgba(3, 4, 3, 0.7)); box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.28); }
/* who each row's number belongs to, so every count is explained where it sits */
.ph__split { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 7px; font-family: var(--font-ui); font-size: max(0.74rem, 0.8em); letter-spacing: 0.06em; color: var(--mist); }
.ph__split > span { white-space: nowrap; }
.ph__split > span + span::before { content: "·"; margin: 0 0.6em; color: var(--soul); opacity: 0.6; }
.ph__what .ph__split b { display: inline; font-family: var(--font-display); font-weight: 700; font-size: 1.08em; letter-spacing: 0.02em; text-transform: none; color: var(--bone); margin-right: 0.35em; font-variant-numeric: lining-nums tabular-nums; }
.ph--claims .ph__price { letter-spacing: 0.18em; text-transform: uppercase; }
.ph--total { background: transparent; box-shadow: inset 0 1px 0 rgba(197, 250, 1, 0.3); clip-path: none; padding-top: 12px; padding-bottom: 4px; }
.ph--total .ph__count { color: var(--bone); text-shadow: none; }

/* the whole 10,000 in one bar: segment widths are the real counts (--n) */
.split { margin-bottom: 22px; }
.split__top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-family: var(--font-ui); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faded); }
.split__top b { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.15rem, 2vw, 1.5rem); letter-spacing: 0.02em; color: var(--bone); margin-right: 0.4em; font-variant-numeric: lining-nums tabular-nums; }
.split__top span:last-child b { color: var(--soul); text-shadow: 0 0 18px rgba(197, 250, 1, 0.4); }
.split__top { flex-wrap: wrap; align-items: baseline; }
.split__tally { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.split__top .split__tally span:first-child b { color: var(--bone); text-shadow: none; }
.split__left b { color: var(--soul); text-shadow: 0 0 18px rgba(197, 250, 1, 0.45); }
.split__left { color: var(--soul); }
/* filled = already accounted for, the dark slot after it = what is left (--t of --n) */
.split__bar { display: flex; gap: 3px; height: 16px; }
.split__seg {
  flex: var(--n) 1 0; --c: rgba(197, 250, 1, 0.6);
  background: linear-gradient(90deg, var(--c) 0 calc(var(--t) / var(--n) * 100%), rgba(197, 250, 1, 0.06) 0);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.4);
}
.split__seg--claims { --c: rgba(197, 250, 1, 0.34); }
.split__seg--gtd { --c: var(--soul); }
.split__seg--fcfs { --c: rgba(197, 250, 1, 0.6); }
.split__keys { display: flex; gap: 3px; margin-top: 8px; }
.split__keys > span { flex: var(--n) 1 5rem; min-width: 0; display: grid; align-content: start; gap: 2px; font-family: var(--font-ui); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faded); }
.split__keys b { font-family: var(--font-display); font-weight: 900; font-size: clamp(0.95rem, 1.5vw, 1.2rem); letter-spacing: 0.02em; color: var(--bone); font-variant-numeric: lining-nums tabular-nums; }
.split__keys em { font-style: normal; letter-spacing: 0.1em; color: var(--soul); }

/* the urgency line: what is still left to earn, and until when */
.mint__urgent {
  margin: 0 0 18px; padding: 14px 18px; color: var(--bone);
  background: linear-gradient(180deg, rgba(35, 53, 10, 0.5), rgba(3, 4, 3, 0.8));
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.45), 0 0 34px rgba(197, 250, 1, 0.06);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.mint__urgent b { color: var(--soul); font-weight: 500; }

/* each row: how much of it is already accounted for, how much is left */
.ph__meter { display: grid; gap: 6px; margin-top: 10px; font-family: var(--font-ui); font-size: max(0.74rem, 0.8em); letter-spacing: 0.06em; color: var(--mist); }
.ph__meter > i {
  display: block; height: 6px; max-width: 420px;
  background: linear-gradient(90deg, var(--soul) 0 calc(var(--t) / var(--n) * 100%), rgba(197, 250, 1, 0.07) 0);
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.35);
}
.ph__what .ph__meter b { display: inline; font-family: var(--font-display); font-weight: 700; font-size: 1.08em; letter-spacing: 0.02em; text-transform: none; color: var(--bone); font-variant-numeric: lining-nums tabular-nums; }
.ph__meter em { font-style: normal; white-space: nowrap; color: var(--soul); }
.ph__meter em::before { content: "· "; color: var(--mist); }
.ph__n { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; line-height: 1; color: var(--soul); opacity: 0.75; text-align: center; font-variant-numeric: lining-nums; }
.ph__what b { display: block; font-family: var(--font-display); font-weight: 700; font-size: max(0.82rem, 0.88em); letter-spacing: 0.1em; text-transform: uppercase; color: var(--bone); }
.ph__what small { display: block; margin-top: 3px; font-size: max(0.78rem, 0.86em); color: var(--mist); }
.ph__price { font-family: var(--font-ui); font-size: max(0.8rem, 0.9em); letter-spacing: 0.08em; color: var(--soul); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.ph__price .unit { display: block; margin-top: 3px; font-size: 0.72em; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); }
.ph__count { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1; color: var(--soul); text-shadow: 0 0 20px rgba(197, 250, 1, 0.34); font-variant-numeric: lining-nums tabular-nums; text-align: right; min-width: 4.4ch; }
.ph--public .ph__n, .ph--public .ph__count { color: var(--bone); text-shadow: none; }
.ph__count .unit { display: block; margin-top: 4px; font-family: var(--font-ui); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mist); text-shadow: none; }

.mint__note { margin: 0; color: var(--mist); }
.mint__note b { color: var(--soul); font-weight: 500; }

/* ---------- The whitelist checker (dialog) ----------
   Reads robinhood.mallardorder.io/api/bind/check cross-origin and merges the Trials
   registry; the result is a .ledger so it reads like the Vault panel's facts. z-index
   sits above the fixed nav (60) and under the toast (90). */
body.is-locked { overflow: hidden; }
.checker { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.checker[hidden] { display: none; }
.checker__veil { position: absolute; inset: 0; background: rgba(3, 4, 4, 0.84); backdrop-filter: blur(6px); }
.checker__panel { position: relative; width: min(640px, 100%); animation: rise 0.5s var(--ease) both; }
.checker__panel .shard__in { max-height: calc(100vh - 42px); max-height: calc(100dvh - 42px); overflow: auto; }
.checker .shard__head { flex-wrap: nowrap; align-items: flex-start; }
.checker__close { flex: 0 0 auto; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--faded); padding: 2px 8px 6px; }
.checker__close:hover { color: var(--soul); }
.checker__label { display: block; font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faded); margin-bottom: 8px; }
.checker__row { display: flex; gap: 10px; }
.checker__input {
  flex: 1 1 auto; min-width: 0; padding: 0.85em 1em;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace; font-size: 0.95rem; color: var(--bone);
  background: rgba(3, 4, 3, 0.75); border: 0;
  box-shadow: inset 0 0 0 1px rgba(197, 250, 1, 0.18);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.checker__input::placeholder { color: var(--faded); }
.checker__input:focus { outline: 0; box-shadow: inset 0 0 0 1px var(--soul), 0 0 22px rgba(197, 250, 1, 0.12); }
.checker__row .btn { min-width: 0; padding: 0.85em 1.6em 0.95em; }
.checker__hint { margin: 10px 0 0; font-size: 0.98rem; color: var(--faded); }
.checker__result { margin-top: 18px; }
.checker__result:empty { display: none; }
.checker__status, .checker__error { margin: 0; font-style: italic; color: var(--mist); }
.checker__error::before { content: "\2715\00a0\00a0"; font-style: normal; color: var(--faded); }
.verdict { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); margin-bottom: 12px; }
.verdict--yes { color: var(--soul); text-shadow: 0 0 14px rgba(197, 250, 1, 0.4); }
.checker .ledger .v .mono { font-family: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace; text-transform: none; letter-spacing: 0; font-size: 0.86rem; }
.checker .ledger__foot { font-size: 0.98rem; }
@media (max-width: 560px) {
  .checker { padding: 12px; }
  .checker__row { flex-direction: column; }
  .checker__row .btn { width: 100%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .grid-12 { grid-template-columns: 1fr; }
  .col-7, .col-6, .col-5 { grid-column: auto; }
  .hall__grid, .ceremony__grid, .origins__grid { grid-template-columns: 1fr; }
  .stats, .stats--4, .stats--3 { grid-template-columns: 1fr 1fr; }
  .schools { grid-template-columns: repeat(3, 1fr); }
  .rites { grid-template-columns: 1fr 1fr; }
  .claims, .standing { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__cols > div { border-right: 0; border-bottom: 1px solid rgba(197, 250, 1, 0.08); }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__links { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: rgba(3, 3, 4, 0.97); border-bottom: 1px solid rgba(197, 250, 1, 0.12); padding: 18px var(--gutter) 24px; gap: 14px; }
}
@media (max-width: 560px) {
  body { font-size: 1.1rem; }
  /* keep the size lift, drop the tracking that makes tracked caps wrap on a phone */
  .shard__head { flex-wrap: wrap; gap: 10px; }
  .shard__head h2, .shard__head h3 { font-size: 0.88rem; letter-spacing: 0.12em; }
  .shard__sub { font-size: 0.72rem; letter-spacing: 0.1em; }
  .chip { font-size: 0.72rem; letter-spacing: 0.08em; padding: 5px 8px; }
  .stage__cap { font-size: 0.72rem; letter-spacing: 0.09em; gap: 8px; }
  .quest__status { font-size: 0.72rem; letter-spacing: 0.08em; }
  .ledger .k, .realm__facts .k { letter-spacing: 0.14em; }
  .realm__facts .v small { letter-spacing: 0.1em; }
  .footer__legal { letter-spacing: 0.14em; }
  .brand span { display: none; }
  .nav__cta .btn { padding: 0.55em 1em 0.65em; font-size: 0.72rem; min-width: 0; }
  .thumbs { grid-template-columns: repeat(4, 1fr); gap: 7px; }
  .schools { grid-template-columns: 1fr 1fr; }
  .comics-card { grid-template-columns: 1fr; }
  .quest { grid-template-columns: 38px 1fr; gap: 12px; }
  .quest__status { grid-column: 2; justify-self: start; }
  .btn { min-width: 0; }
  .hero__veil { background: radial-gradient(ellipse 80% 44% at 50% 56%, rgba(3, 3, 4, 0.95) 55%, rgba(3, 3, 4, 0.6) 82%, transparent 100%); }
  .stats, .stats--4, .stats--3 { grid-template-columns: 1fr; }
  /* pin the phase cells to explicit rows — auto-placement drops price and count onto separate lines */
  .ph { grid-template-columns: 34px 1fr auto; gap: 6px 12px; padding: 13px 14px; }
  .ph__n { grid-row: 1 / span 2; grid-column: 1; font-size: 1.25rem; }
  .ph__what { grid-row: 1; grid-column: 2 / span 2; }
  .ph__price { grid-row: 2; grid-column: 2; justify-self: start; }
  .ph__count { grid-row: 2; grid-column: 3; }
  .ph--total .ph__price { display: none; }
  /* "182 left" on its own line under the count, never split from its number */
  .ph__meter em { display: block; }
  .ph__meter em::before { content: none; }
  /* one "who" per line on a phone; a wrapped dot at a line start reads as a stray bullet */
  .ph__split { display: grid; gap: 3px; }
  .ph__split > span + span::before { content: none; }
  .rites { grid-template-columns: 1fr; }
  /* three columns survive at 390 once the fixed min-width goes; the bucket text wraps instead */
  .supply__row { grid-template-columns: 1fr auto auto; gap: 6px 12px; padding: 10px 2px; font-size: 0.98rem; }
  .supply__row > span:nth-child(2), .supply__row > span:nth-child(3) { min-width: 0; font-size: 0.8rem; }
  .supply__row small { font-size: 0.72rem; letter-spacing: 0.1em; }
  .seal { grid-template-columns: 3rem 1fr auto; gap: 6px 10px; }
  .seal__n { grid-column: 1; grid-row: 1; }
  .seal__part { grid-column: 2; grid-row: 1; }
  .seal__slots { grid-column: 3; grid-row: 1; font-size: 1.3rem; }
  .seal__reward { grid-column: 2 / -1; grid-row: 2; padding-left: 0; }
  .seal--head { display: none; }
  .formula { letter-spacing: 0.08em; gap: 0.4rem; font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__content > * { opacity: 1 !important; }
  .marquee__track { animation: none; }
  .wall__row { width: auto; overflow-x: auto; }
  #sigil, .smoke-local, .ascii-field { display: none; }
}
