/* =========================================================
   swarm.css — The Ghost Swarm v2.0.3
   Change summary (v2.0.3): Engines menu type matches every other page (names Cinzel 400 .9rem, lines Inter .74rem upright).
   Prior (v2.0.2): .brand-logo — the GhostFire Digital logo in the nav (46px, 40px on phones), glow matched to style.css.
   Prior (v2.0.1):
   GhostFire Digital · ghostfire.ai/swarm
   Change summary (v2.0.1): Engines menu in the nav (DARWA™ · JIBO™ · Ghost Swarm), styled in the Swarm's own type.
   Prior (v2.0.0):
   Change summary (v2.0.0): launch design. Full-bleed ghost stage under a floating nav with a text band below it,
     above the fold; seals and burning wicks instead of buttons; flame kickers with drawn wisps; a manifesto that
     ignites word by word; a staggered séance path; a summoning circle for import; exploded export plates; roll call.
   ========================================================= */

:root {
  --void: #030304;
  --void-2: #08080b;
  --void-3: #0f0f13;
  --hot: #fff1e0;
  --text: #f3eee6;
  --text-2: #bdb7ad;
  --smoke: #8a8f98;
  --fire: #ff6a00;
  --ember: #ff8c1a;
  --deep: #be3400;
  --wraith: #b79cff;
  --red: #ff3b2f;
  --line: rgba(255, 241, 224, .08);
  --line-2: rgba(255, 241, 224, .16);
  --f-display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --f-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 52px);
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--void); color: var(--text); font-family: var(--f-serif); font-size: 19px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { display: block; }
::selection { background: rgba(255, 106, 0, .4); color: #fff; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--fire); color: #000; font-family: var(--f-mono); font-size: .8rem; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 1px dashed var(--ember); outline-offset: 5px; }
.wrap { width: min(1200px, 100% - var(--gutter) * 2); margin: 0 auto; }
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ─── WICK: a link that burns along its own fuse ─── */
.wick {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 2px 12px;
  font-family: var(--f-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.wick::before {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, var(--fire), var(--ember) 45%, rgba(255, 140, 26, .18) 46%);
  background-size: 220% 100%;
  background-position: 100% 0;
  transition: background-position .9s var(--ease);
}
.wick::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 30%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--hot);
  box-shadow: 0 0 8px var(--ember), 0 0 16px var(--fire);
  transition: left .9s var(--ease), opacity .4s ease;
}
.wick:hover::before, .wick:focus-visible::before { background-position: 0 0; }
.wick:hover::after, .wick:focus-visible::after { left: calc(100% - 4px); }
.wick:hover, .wick:focus-visible { color: var(--hot); }
.wick--big { margin-top: 30px; font-size: .9rem; }
.wick--nav { font-size: .68rem; }
.wick-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fire); box-shadow: 0 0 10px var(--fire); animation: ember 1.8s ease-in-out infinite; }
@keyframes ember { 50% { opacity: .35; transform: scale(.7); } }

/* ─── SEAL: a circular rite; the ring of words turns, the fire core holds the ghost ─── */
.seal { position: relative; display: inline-block; width: 136px; height: 136px; flex: none; text-decoration: none; border-radius: 50%; }
.seal svg { width: 100%; height: 100%; overflow: visible; }
.seal-halo { fill: none; stroke: rgba(255, 140, 26, .35); stroke-width: 1; stroke-dasharray: 2 6; transition: stroke .4s ease; }
.seal-spin { transform-origin: 80px 80px; animation: spin 22s linear infinite; }
.seal-spin text { font-family: var(--f-mono); font-size: 10.6px; font-weight: 700; letter-spacing: 3.1px; fill: var(--hot); }
.seal-core { fill: var(--fire); filter: drop-shadow(0 0 14px rgba(255, 106, 0, .75)); transform-origin: 80px 80px; transition: transform .5s var(--ease), fill .4s ease; }
.seal-ghost { fill: #1a0a00; transition: transform .6s var(--ease); }
.seal-ghost path { transition: transform .6s var(--ease); }
.seal:hover .seal-spin, .seal:focus-visible .seal-spin { animation-duration: 6s; }
.seal:hover .seal-core, .seal:focus-visible .seal-core { transform: scale(1.08); fill: var(--ember); }
.seal:hover .seal-halo, .seal:focus-visible .seal-halo { stroke: var(--fire); }
.seal:hover .seal-ghost path, .seal:focus-visible .seal-ghost path { transform: translateY(-4px); }
.seal--btn { width: 118px; height: 118px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── NAV ─── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 var(--gutter); transition: background-color .4s ease, box-shadow .4s ease; }
.nav.is-solid { background: rgba(3, 3, 4, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--f-display); font-size: 1.24rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; }
.brand b { font-weight: 700; color: var(--fire); }
.brand-ghost { width: 20px; height: 25px; fill: var(--fire); filter: drop-shadow(0 0 6px rgba(255, 106, 0, .6)); }
.brand-logo { display: block; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center 45%; filter: drop-shadow(0 0 12px rgba(255, 190, 80, .75)); }
.nav-links { display: flex; gap: 34px; }
.nav-links a { font-family: var(--f-display); font-size: .86rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--text-2); transition: color .25s ease; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--hot); }
.nav-links { align-items: center; }
.nav-eng { position: relative; }
.nav-eng-btn { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 0; background: none; border: 0; cursor: pointer; font-family: var(--f-display); font-size: .86rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); transition: color .25s ease; }
.nav-eng:hover > .nav-eng-btn, .nav-eng.is-open > .nav-eng-btn, .nav-eng.is-current > .nav-eng-btn, .nav-eng-btn:focus-visible { color: var(--hot); }
.nav-eng.is-current > .nav-eng-btn { text-shadow: 0 0 14px rgba(255, 106, 0, .55); }
.nav-caret { width: 9px; height: 6px; flex: none; transition: transform .25s ease; }
.nav-caret path { fill: none; stroke: var(--fire); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.nav-eng:hover .nav-caret, .nav-eng.is-open .nav-caret { transform: rotate(180deg); }
.nav-eng-menu { position: absolute; top: 100%; left: 50%; min-width: 280px; margin-top: 22px; padding: 10px 0 12px; display: flex; flex-direction: column; background: rgba(3, 3, 4, .96); border-radius: 0 0 16px 16px; box-shadow: 0 26px 50px rgba(0, 0, 0, .85); opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, 6px); transition: opacity .18s ease-out, transform .18s ease-out, visibility .18s ease-out; }
.nav-eng-menu::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--fire) 30%, var(--ember) 50%, var(--fire) 70%, transparent); box-shadow: 0 0 12px rgba(255, 106, 0, .55); }
.nav-eng-menu::after { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
.nav-eng:hover .nav-eng-menu, .nav-eng:focus-within .nav-eng-menu, .nav-eng.is-open .nav-eng-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.nav-links .nav-eng-menu a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 11px 26px 11px 30px; white-space: nowrap; letter-spacing: 0; text-transform: none; }
.nav-links .nav-eng-menu a::before { content: ""; position: absolute; left: 16px; top: 50%; width: 2px; height: 0; border-radius: 2px; background: var(--fire); transform: translateY(-50%); transition: height .2s ease, box-shadow .2s ease; }
.nav-links .nav-eng-menu a:hover::before, .nav-links .nav-eng-menu a:focus-visible::before, .nav-links .nav-eng-menu a[aria-current="page"]::before { height: 70%; box-shadow: 0 0 10px rgba(255, 106, 0, .7); }
.nav-links .nav-eng-menu a:focus-visible { outline: none; }
.nav-eng-name { display: inline-flex; align-items: center; gap: 9px; font-family: 'Cinzel', serif; font-size: .9rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: #f2f2f2; }
.nav-eng-say { font-family: 'Inter', system-ui, sans-serif; font-style: normal; font-size: .74rem; letter-spacing: .02em; text-transform: none; color: rgba(242, 242, 242, .5); }
.nav-eng-menu a:hover .nav-eng-name, .nav-eng-menu a[aria-current="page"] .nav-eng-name { color: #ffae52; }
.nav-eng-menu a:hover .nav-eng-say, .nav-eng-menu a[aria-current="page"] .nav-eng-say { color: rgba(255, 174, 82, .7); }
@media (prefers-reduced-motion: reduce) { .nav-caret, .nav-eng-menu { transition: none; } }

/* ─── HERO: the swarm on top, the words beneath, all above the fold ─── */
.hero { position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
.stage { position: relative; flex: 1 1 auto; min-height: 340px; overflow: hidden; touch-action: pan-y; background: var(--void); }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 120% 90% at 50% 45%, transparent 55%, rgba(3, 3, 4, .85) 100%), linear-gradient(180deg, rgba(3, 3, 4, .7) 0, transparent var(--nav-h), transparent 82%, var(--void) 100%); }
.hud { position: absolute; z-index: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); pointer-events: none; }
.hud--tl { left: var(--gutter); top: calc(var(--nav-h) + 14px); align-items: center; }
.hud--bl { left: var(--gutter); bottom: 20px; }
.hud--br { right: var(--gutter); bottom: 20px; max-width: 44ch; text-align: right; letter-spacing: .08em; text-transform: none; font-size: .72rem; }
.hud-ghost { width: 14px; height: 18px; fill: var(--fire); filter: drop-shadow(0 0 6px var(--fire)); animation: float 3.4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-3px); } }
.hud-n { font-family: var(--f-display); font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; color: var(--hot); font-variant-numeric: tabular-nums; }
.hud-who { color: var(--ember); }
.hud-who::before { content: "\2014  "; color: var(--smoke); }
.hud-k { color: var(--smoke); }
.hud--bl b { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; letter-spacing: .03em; text-transform: none; color: var(--hot); text-shadow: 0 0 18px rgba(255, 106, 0, .5); }
.hud-tag { color: var(--ember); }
.hud-idx { font-variant-numeric: tabular-nums; }
.stage[data-act="speak"] .hud-k, .stage[data-act="hold"] .hud-k { color: var(--fire); }

.band { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) auto; gap: 18px clamp(24px, 4vw, 64px); align-items: center; padding: clamp(14px, 2.4vh, 26px) var(--gutter) clamp(18px, 3vh, 32px); }
.h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.1rem, 3.9vw, 3.6rem); line-height: 1; letter-spacing: .04em; text-transform: uppercase; }
.h1 em { font-style: normal; background: linear-gradient(90deg, var(--fire), var(--ember) 50%, var(--hot)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 22px rgba(255, 106, 0, .35)); }
.claim { margin-top: 8px; font-family: var(--f-serif); font-size: clamp(1.3rem, 1.9vw, 1.75rem); font-style: italic; color: var(--text-2); }
.claim em { color: var(--ember); }
.band-lede { max-width: 44ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; color: var(--text-2); }
.band-cta { display: flex; align-items: center; gap: 24px; }

/* ─── KICKER: a flame, a numeral, a name, and a wisp of smoke that draws itself ─── */
.k { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 100%; margin-bottom: 20px; }
.k-flame { width: 14px; height: 19px; fill: var(--fire); filter: drop-shadow(0 0 8px var(--fire)); transform-origin: 50% 100%; animation: flicker 1.6s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scaleY(1) rotate(0); } 30% { transform: scaleY(1.12) rotate(-3deg); } 60% { transform: scaleY(.92) rotate(2deg); } }
.k-n { font-family: var(--f-display); font-size: 1rem; font-weight: 700; color: var(--fire); }
.k-t { font-family: var(--f-display); font-size: .8rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--hot); }
.k-wisp { width: 96px; height: 12px; fill: none; stroke: var(--ember); stroke-width: 1.2; stroke-linecap: round; opacity: .8; stroke-dasharray: 140; stroke-dashoffset: 140; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.k.in-view .k-wisp { stroke-dashoffset: 0; }
.h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.7rem); line-height: 1.04; letter-spacing: .02em; max-width: 18ch; }
.h2 em { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: 0; background: linear-gradient(90deg, var(--fire), var(--ember) 55%, var(--hot)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.h2--wide { max-width: 22ch; }

/* ─── SECTIONS ─── */
.sec { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.manifesto { padding: clamp(80px, 12vw, 170px) 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(255, 106, 0, .06), transparent 70%); }
.mf { max-width: 26ch; margin: 0 auto; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.16; text-align: center; }
.mw { color: rgba(243, 238, 230, .14); transition: color .5s ease, text-shadow .5s ease; }
.mw.lit { color: var(--text); }
.mw.lit:nth-last-child(-n+15) { color: var(--hot); text-shadow: 0 0 26px rgba(255, 106, 0, .4); }

/* Séance: three rites stepping down a descending path */
.path { position: relative; margin-top: clamp(40px, 6vw, 70px); }
.path::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(180deg, var(--fire), rgba(255, 106, 0, .1)); transform: scaleY(0); transform-origin: top; transition: transform 1.8s var(--ease); }
.path.in-view::before { transform: scaleY(1); }
.rite { position: relative; max-width: 560px; padding: 0 0 clamp(36px, 5vw, 56px) 52px; opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s var(--ease); }
.rite:nth-child(2) { margin-left: clamp(0px, 12vw, 180px); }
.rite:nth-child(3) { margin-left: clamp(0px, 24vw, 360px); padding-bottom: 0; }
.rite::before { content: ""; position: absolute; left: 4px; top: 12px; width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle, var(--hot) 0 25%, var(--fire) 55%, transparent 72%); box-shadow: 0 0 22px var(--fire); }
.rite:nth-child(2)::before, .rite:nth-child(3)::before { left: 4px; }
.path.in-view .rite { opacity: 1; transform: none; }
.path.in-view .rite:nth-child(2) { transition-delay: .25s; }
.path.in-view .rite:nth-child(3) { transition-delay: .5s; }
.rite-n { display: block; font-family: var(--f-display); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: linear-gradient(90deg, var(--hot), var(--ember)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rite p { margin-top: 8px; font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--text-2); }

/* Raise: the summoning circle and the ledger */
.raise { background: radial-gradient(ellipse 50% 60% at 22% 60%, rgba(255, 106, 0, .07), transparent 70%); }
.altar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; margin-top: clamp(30px, 5vw, 56px); }
.summon { position: relative; display: grid; place-items: center; width: min(100%, 460px); aspect-ratio: 1; margin: 0 auto; cursor: pointer; border-radius: 50%; }
.summon input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border-radius: 50%; }
.summon-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sm-outer { fill: none; stroke: rgba(255, 140, 26, .45); stroke-width: 1; stroke-dasharray: 3 9; transform-origin: 200px 200px; animation: spin 90s linear infinite reverse; }
.sm-spin { transform-origin: 200px 200px; animation: spin 70s linear infinite; }
.sm-spin text { font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 1.6px; fill: rgba(255, 241, 224, .55); }
.sm-mid { fill: none; stroke: rgba(255, 241, 224, .12); stroke-width: 1; }
.sm-star path { fill: none; stroke: rgba(255, 106, 0, .3); stroke-width: 1; }
.sm-star { transform-origin: 200px 200px; animation: spin 140s linear infinite; }
.sm-in { fill: rgba(255, 106, 0, .05); stroke: rgba(255, 106, 0, .55); stroke-width: 1; transition: fill .4s ease; }
.summon-t { position: relative; max-width: 9ch; font-family: var(--f-display); font-size: clamp(1.1rem, 1.8vw, 1.45rem); font-weight: 700; line-height: 1.15; letter-spacing: .06em; text-align: center; text-transform: uppercase; pointer-events: none; margin-top: -14px; }
.summon-s { position: absolute; top: calc(50% + 34px); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--smoke); pointer-events: none; }
.summon:hover .sm-in, .summon.is-lit .sm-in, .summon:focus-within .sm-in { fill: rgba(255, 106, 0, .16); }
.summon:hover .sm-spin, .summon.is-lit .sm-spin { animation-duration: 18s; }
.summon.is-lit .sm-outer { stroke: var(--fire); }
.ledger { min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.field label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.field label span { letter-spacing: .02em; text-transform: none; color: var(--smoke); }
.field textarea { width: 100%; min-height: 192px; padding: 0 2px; border: 0; border-radius: 0; resize: vertical; background: transparent repeating-linear-gradient(180deg, transparent 0 31px, rgba(255, 140, 26, .2) 31px 32px); color: var(--text); font-family: var(--f-mono); font-size: .92rem; line-height: 32px; }
.field input { width: 100%; padding: 10px 2px; border: 0; border-bottom: 1px solid rgba(255, 140, 26, .35); border-radius: 0; background: transparent; color: var(--hot); font-family: var(--f-serif); font-size: 1.3rem; font-style: italic; }
.field textarea:focus, .field input:focus { outline: none; }
.field input:focus { border-bottom-color: var(--fire); box-shadow: 0 1px 0 var(--fire); }
.field textarea:focus { background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(255, 106, 0, .5) 31px 32px); }
.ledger-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.status { min-height: 1.4em; margin-top: 14px; font-family: var(--f-mono); font-size: .76rem; color: var(--ember); }
.status.err { color: var(--red); }
.privacy { margin-top: 10px; font-size: 1.05rem; color: var(--text-2); }
.privacy b { font-family: var(--f-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--hot); margin-right: 6px; }

/* Plates: the export, pulled apart into names, fire and signal */
.plates { overflow: hidden; }
.plates-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(24px, 4vw, 48px); }
.stack-view { position: relative; aspect-ratio: 1.15; perspective: 2200px; display: grid; place-items: center; }
.stack { position: relative; width: 70%; aspect-ratio: 1200 / 750; transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(-34deg); --sep: .6; }
.plate { position: absolute; inset: 0; margin: 0; border-radius: 14px; overflow: hidden; transform-style: preserve-3d; transition: transform .2s linear; box-shadow: 0 0 0 1px var(--line-2); }
.plate canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate--1 { transform: translateZ(0); background: var(--void); box-shadow: 0 0 0 1px var(--line-2), 0 60px 80px -30px rgba(0, 0, 0, .9); }
.plate--2 { transform: translateZ(calc(var(--sep) * 170px)); background: rgba(10, 6, 4, .18); box-shadow: 0 0 0 1px rgba(255, 140, 26, .28), 0 0 60px -20px rgba(255, 106, 0, .4); }
.plate--3 { transform: translateZ(calc(var(--sep) * 340px)); background: rgba(14, 9, 6, .14); box-shadow: none; outline: 1.5px dashed rgba(255, 106, 0, .75); outline-offset: -1px; }
.plate figcaption { position: absolute; left: 5%; top: 7%; display: flex; flex-direction: column; gap: 2px; }
.plate figcaption b { font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--ember); }
.plate figcaption i { font-family: var(--f-serif); font-size: .95rem; color: var(--text-2); }
.plate--1 figcaption { top: auto; bottom: 8%; }
.plate--2 figcaption { left: auto; right: 6%; text-align: right; }
.plate--3 figcaption { top: auto; bottom: 9%; left: auto; right: 6%; text-align: right; }
.console { min-width: 0; }
.console-lede { font-size: clamp(1.1rem, 1.35vw, 1.25rem); color: var(--text-2); }
.fmt { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 28px; }
.fmt button { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; text-align: left; color: var(--smoke); transition: color .3s ease; }
.fmt svg { grid-row: span 2; height: 40px; width: auto; fill: none; stroke: currentColor; stroke-width: 2; transition: stroke .3s ease, filter .3s ease; }
.fmt span { font-family: var(--f-display); font-size: 1.3rem; font-weight: 700; color: var(--text-2); }
.fmt i { font-family: var(--f-mono); font-size: .64rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }
.fmt button[aria-pressed="true"] { color: var(--fire); }
.fmt button[aria-pressed="true"] span { color: var(--hot); }
.fmt button[aria-pressed="true"] svg { filter: drop-shadow(0 0 6px var(--fire)); }
.fmt button:hover { color: var(--ember); }
.console-go { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.rec { width: 132px; height: 132px; border-radius: 50%; flex: none; }
.rec svg { width: 100%; height: 100%; overflow: visible; }
.rec-track { fill: none; stroke: var(--line-2); stroke-width: 2; }
.rec-prog { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 389.56; stroke-dashoffset: 389.56; transform: rotate(-90deg); transform-origin: 70px 70px; filter: drop-shadow(0 0 6px var(--red)); }
.rec-spin { transform-origin: 70px 70px; animation: spin 26s linear infinite; }
.rec-spin text { font-family: var(--f-mono); font-size: 9.6px; font-weight: 700; letter-spacing: 2.6px; fill: var(--text-2); }
.rec-core { fill: var(--red); filter: drop-shadow(0 0 12px rgba(255, 59, 47, .8)); transform-origin: 70px 70px; transition: transform .4s var(--ease); }
.rec:hover .rec-core, .rec:focus-visible .rec-core { transform: scale(1.12); }
.rec:hover .rec-spin { animation-duration: 8s; }
.rec.is-rec .rec-core { animation: recPulse 1s ease-in-out infinite; }
.rec.is-rec .rec-spin text { fill: var(--hot); }
@keyframes recPulse { 50% { transform: scale(.7); opacity: .7; } }

/* Roll call: the names as one flowing wall */
.tune { margin-top: clamp(28px, 4vw, 44px); }
.tune-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 24px; }
.tune-k { margin: 0 0 10px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--smoke); }
.tune-row .tune-k { margin: 0; }
.tune-k span { letter-spacing: .02em; text-transform: none; }
.tune-or { font-style: italic; color: var(--smoke); }
.tg { position: relative; padding: 2px 0; font-family: var(--f-serif); font-size: 1.45rem; font-style: italic; color: var(--text-2); transition: color .3s ease; }
.tg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--fire); box-shadow: 0 0 8px var(--fire); transform: scaleX(0); transition: transform .4s var(--ease); }
.tg[aria-pressed="true"] { color: var(--hot); }
.tg[aria-pressed="true"]::after { transform: scaleX(1); }
.tg:hover { color: var(--hot); }
.legend, .heads { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 26px; }
.lg { display: inline-flex; align-items: baseline; gap: 8px; padding: 4px 0; font-family: var(--f-mono); font-size: .86rem; color: var(--text-2); transition: color .3s ease, text-shadow .3s ease; }
.lg i { align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.lg sup { font-size: .62rem; color: var(--smoke); }
.lg:hover { color: var(--hot); }
.lg[aria-pressed="true"] { color: var(--c); text-shadow: 0 0 14px var(--c); }
.hd { display: inline-flex; align-items: baseline; gap: 6px; padding: 3px 0; font-family: var(--f-display); font-size: 1rem; font-weight: 600; color: var(--text); text-decoration-color: var(--red); transition: color .3s ease; }
.hd sup { font-family: var(--f-mono); font-size: .58rem; color: var(--c); }
.hd:hover, .hd:focus-visible { color: var(--smoke); text-decoration: line-through 1.5px var(--red); }
.wall { position: relative; max-height: 300px; overflow: hidden; margin-top: 10px; padding-top: 22px; border-top: 1px solid var(--line); line-height: 2.05; -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); mask-image: linear-gradient(180deg, #000 60%, transparent); }
.wall.is-open { max-height: none; -webkit-mask-image: none; mask-image: none; }
.wl-h { display: inline-block; margin: 0 14px 0 0; font-family: var(--f-display); font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; color: var(--c); text-shadow: 0 0 14px color-mix(in srgb, var(--c) 50%, transparent); }
.wl-h:not(:first-child) { margin-left: 18px; }
.wl-n { font-family: var(--f-mono); font-size: .86rem; color: color-mix(in srgb, var(--c) 55%, var(--text-2)); white-space: nowrap; }
.wl-n::after { content: "\00b7"; margin: 0 10px; color: rgba(255, 241, 224, .18); }
.roll .wick { margin-top: 16px; }

.lic .wrap { position: relative; z-index: 1; }
.lic { background: radial-gradient(ellipse 50% 70% at 80% 60%, rgba(183, 156, 255, .07), transparent 70%), radial-gradient(ellipse 40% 60% at 20% 40%, rgba(255, 106, 0, .06), transparent 70%); }
.lic { overflow: hidden; }
.lic-ghost { position: absolute; right: -4%; top: 50%; width: min(36vw, 440px); height: auto; transform: translateY(-50%) rotate(8deg); fill: none; stroke: rgba(255, 106, 0, .16); stroke-width: .25; filter: drop-shadow(0 0 24px rgba(255, 106, 0, .2)); pointer-events: none; }
.lic-lede { max-width: 48ch; margin-top: 22px; font-size: clamp(1.15rem, 1.5vw, 1.35rem); color: var(--text-2); }

/* Footer */
.foot { position: relative; padding: 80px var(--gutter) 84px; text-align: center; background: #000; }
.foot::before { content: ""; position: absolute; left: 50%; top: 0; width: min(560px, 70vw); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--fire) 35%, var(--hot) 50%, var(--fire) 65%, transparent); }
.foot-ghost { width: 30px; height: 38px; margin: 0 auto 18px; fill: var(--fire); filter: drop-shadow(0 0 12px var(--fire)); animation: float 3.4s ease-in-out infinite; }
.foot-mark { font-family: var(--f-display); font-size: 1.6rem; font-weight: 700; letter-spacing: .05em; }
.foot-mark b { color: var(--fire); }
.foot-creed { margin-top: 8px; font-family: var(--f-serif); font-size: 1.3rem; font-style: italic; color: var(--text-2); }
.foot-creed span { color: var(--ember); }
.foot-meta, .foot-ug { margin-top: 14px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; color: var(--smoke); }
.foot-ug { margin-top: 6px; }
.foot-meta a { color: var(--text); text-decoration: none; }
.foot-meta a:hover { color: var(--ember); }
.foot-ug i { font-style: italic; font-weight: 700; color: var(--fire); }

/* Ascend */
.ascend { position: fixed; right: clamp(14px, 2.4vw, 28px); bottom: clamp(14px, 2.4vw, 28px); z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: rgba(8, 8, 11, .9); box-shadow: 0 10px 28px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .4s ease, transform .4s var(--ease), box-shadow .3s ease; }
.ascend.is-on { opacity: 1; transform: none; pointer-events: auto; }
.ascend svg { width: 100%; height: 100%; }
.as-track { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.as-prog { fill: none; stroke: var(--fire); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; transform: rotate(-90deg); transform-origin: 28px 28px; filter: drop-shadow(0 0 4px var(--fire)); }
.as-ghost { fill: var(--hot); transform: translateY(calc(var(--pr, 0) * -4px)); transition: transform .5s var(--ease), fill .3s ease; }
.ascend:hover, .ascend:focus-visible { box-shadow: 0 0 0 1px var(--fire), 0 0 26px rgba(255, 106, 0, .35); }
.ascend:hover .as-ghost, .ascend:focus-visible .as-ghost { transform: translateY(-6px); fill: var(--ember); }

/* ─── Responsive ─── */
@media (max-width: 1080px) {
  .band { grid-template-columns: minmax(0, 1fr) auto; }
  .band-lede { grid-column: 1; grid-row: 2; }
  .band-cta { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 900px) {
  .altar, .plates-in { grid-template-columns: minmax(0, 1fr); }
  .stack-view { aspect-ratio: 1.3; }
  .rite:nth-child(2) { margin-left: 8vw; }
  .rite:nth-child(3) { margin-left: 16vw; }
}
@media (max-width: 700px) {
  :root { --nav-h: 58px; }
  .lic-ghost { width: 80vw; right: -30%; opacity: .6; }
  .nav-links { display: none; }
  .brand-logo { width: 40px; height: 40px; }
  .hero { min-height: 0; }
  .stage { flex: none; height: 54vh; height: 54svh; min-height: 320px; }
  .hud--br { display: none; }
  .hud--tl { font-size: .62rem; }
  .hud-who { flex-basis: 100%; }
  .hud--bl b { font-size: 1.1rem; }
  .band { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; padding-top: 14px; }
  .band-lede { grid-column: 1 / -1; grid-row: auto; font-size: 1.04rem; }
  .band-cta { grid-column: 2; grid-row: 1; flex-direction: column; gap: 4px; }
  .band-cta .wick { display: none; }
  .seal { width: 96px; height: 96px; }
  .h1 { font-size: clamp(1.7rem, 7.6vw, 2.3rem); }
  .claim { font-size: 1.2rem; }
  .foot { padding-bottom: 110px; }
  .rite { padding-left: 44px; }
  .rite:nth-child(2), .rite:nth-child(3) { margin-left: 0; }
}
@media (max-width: 420px) {
  body { font-size: 18px; }
  .k-wisp { display: none; }
  .k-t { letter-spacing: .18em; }
  .wick--nav span { display: none; }
  .seal { width: 84px; height: 84px; }
  .fmt { gap: 18px; }
}
@media (max-height: 640px) and (min-width: 701px) {
  .band { padding-top: 10px; padding-bottom: 12px; }
  .h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
  .seal { width: 108px; height: 108px; }
  .hud--tl { top: calc(var(--nav-h) + 6px); }
}

@media (prefers-reduced-motion: reduce) {
  .seal-spin, .sm-spin, .sm-outer, .sm-star, .rec-spin, .k-flame, .hud-ghost, .foot-ghost, .wick-dot { animation: none; }
  .k-wisp { stroke-dashoffset: 0; transition: none; }
  .rite { opacity: 1; transform: none; transition: none; }
  .path::before { transform: none; transition: none; }
  .mw { transition: none; }
  .wick::before, .wick::after, .plate, .seal-core, .seal-ghost path, .as-ghost, .tg::after { transition: none; }
}
