/* =====================================================================
   SREGOR0280 — "Nocturne" campaign site
   A horror-premiere treatment of the original palette:
   neon green + vivid purple, used like stage light on near-black.
   Type: Cinzel (display) · Pirata One (blackletter accents)
         Spectral (body) · IBM Plex Mono (meta, clocks)
   ===================================================================== */

@font-face { font-family: 'Cinzel'; src: url('../fonts/cinzel-var.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Pirata One'; src: url('../fonts/pirata-one.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Spectral'; src: url('../fonts/spectral-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Spectral'; src: url('../fonts/spectral-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Spectral'; src: url('../fonts/spectral-400i.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Spectral'; src: url('../fonts/spectral-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/plexmono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Mono'; src: url('../fonts/plexmono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --void: #05000d;
  --ink: #080311;
  --panel: #0d0619;
  --panel-2: #120a22;
  --bone: #ece7f4;
  --text: #b4adc2;
  --muted: #7b7290;
  --faint: #524a63;

  --green: #38ff6a;
  --green-pure: #00ff41;
  --purple: #a855ff;
  --purple-pure: #9d00ff;

  --line: rgba(168, 85, 255, 0.18);
  --line-soft: rgba(236, 231, 244, 0.08);
  --glow-green: rgba(0, 255, 65, 0.45);
  --glow-purple: rgba(157, 0, 255, 0.55);

  --display: 'Cinzel', 'Spectral', Georgia, serif;
  --black: 'Pirata One', 'Cinzel', serif;
  --serif: 'Spectral', Georgia, serif;
  --mono: 'Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--void);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px; font-weight: 300; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-loading, body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--purple-pure); color: var(--bone); }
:focus-visible { outline: 1px solid var(--green); outline-offset: 4px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 300; padding: 10px 16px; background: var(--green); color: var(--void); font-family: var(--mono); font-size: 0.8rem; }
.skip-link:focus { top: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.g { color: var(--green); }

/* ---------- Intro curtain -------------------------------------------- */
.curtain {
  position: fixed; inset: 0; z-index: 200; background: var(--void);
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease) 0.15s, visibility 0s linear 1.4s;
  clip-path: inset(0 0 0 0);
}
.curtain-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.curtain-emblem {
  width: min(180px, 40vw); opacity: 0; transform: scale(0.92);
  filter: drop-shadow(0 0 40px var(--glow-purple));
  animation: curtainEmblem 1.1s var(--ease) 0.1s forwards;
}
.curtain-line { width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--green), transparent); animation: curtainLine 0.9s var(--ease) 0.5s forwards; }
.curtain-cap { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.5em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fadeIn 0.8s ease 0.8s forwards; padding-left: 0.5em; }
@keyframes curtainEmblem { to { opacity: 1; transform: scale(1); } }
@keyframes curtainLine { to { width: min(240px, 50vw); } }
@keyframes fadeIn { to { opacity: 1; } }
body:not(.is-loading) .curtain { clip-path: inset(0 0 100% 0); visibility: hidden; }
.no-intro .curtain { display: none; }

/* ---------- Atmosphere ----------------------------------------------- */
.atmo { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fog { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.fog-a { width: 70vmax; height: 70vmax; left: -25vmax; top: -30vmax; background: radial-gradient(circle, rgba(157,0,255,0.32), transparent 65%); animation: drift 38s ease-in-out infinite alternate; }
.fog-b { width: 60vmax; height: 60vmax; right: -25vmax; top: 20vh; background: radial-gradient(circle, rgba(0,255,65,0.12), transparent 65%); animation: drift 46s ease-in-out infinite alternate-reverse; }
.fog-c { width: 90vmax; height: 40vmax; left: -10vmax; bottom: -25vmax; background: radial-gradient(ellipse, rgba(168,85,255,0.16), transparent 70%); animation: drift 52s ease-in-out infinite alternate; }
@keyframes drift { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(6vw,4vh,0) scale(1.12); } }
.grain { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 150; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--purple-pure), var(--green-pure)); box-shadow: 0 0 12px var(--glow-green); }

/* ---------- Masthead ------------------------------------------------- */
.masthead {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  padding: 22px var(--gutter);
  transition: padding 0.5s var(--ease), background 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.masthead.is-scrolled { padding-top: 12px; padding-bottom: 12px; background: rgba(5,0,13,0.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-color: var(--line-soft); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; filter: drop-shadow(0 0 10px rgba(157,0,255,0.6)); transition: transform 0.8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.brand-word { font-family: var(--display); font-weight: 800; letter-spacing: 0.24em; font-size: 0.95rem; color: var(--bone); }
.brand-word b { color: var(--green); font-weight: 800; text-shadow: 0 0 16px var(--glow-green); }
.nav { justify-self: center; display: flex; gap: clamp(16px, 2.2vw, 34px); }
.nav a { font-family: var(--display); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); position: relative; padding: 6px 0; transition: color 0.3s; display: flex; gap: 8px; align-items: baseline; }
.nav a i { font-style: normal; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.05em; color: var(--faint); transition: color 0.3s; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--green); box-shadow: 0 0 8px var(--glow-green); transition: width 0.45s var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--bone); }
.nav a:hover i, .nav a.is-active i { color: var(--purple); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.mast-right { display: flex; align-items: center; gap: 14px; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); background: rgba(13,6,25,0.6); transition: border-color 0.3s, color 0.3s; white-space: nowrap; }
.status-pill:hover { border-color: var(--purple); color: var(--bone); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 10px var(--purple); animation: pulse 2.4s ease-in-out infinite; }
.status-pill.is-soon .status-dot { background: var(--green); box-shadow: 0 0 10px var(--green); }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }
.mast-shop { font-family: var(--display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--void); background: var(--green); padding: 9px 16px; transition: box-shadow 0.4s, background 0.4s; }
.mast-shop:hover { background: #7dff9c; box-shadow: 0 0 28px -4px var(--glow-green); }
.menu-btn { display: none; width: 40px; height: 40px; position: relative; }
.menu-btn span { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--bone); transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.menu-btn span:first-child { top: 16px; }
.menu-btn span:last-child { top: 24px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: rgba(5,0,13,0.97); display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 60px; }
.menu[hidden] { display: none; }
.menu-nav { display: flex; flex-direction: column; gap: 6px; }
.menu-nav a { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 8vw, 2.6rem); color: var(--bone); letter-spacing: 0.02em; display: flex; align-items: baseline; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); opacity: 0; transform: translateY(16px); animation: menuIn 0.6s var(--ease) forwards; }
.menu-nav a i { font-family: var(--mono); font-style: normal; font-size: 0.75rem; color: var(--purple); width: 2.2em; }
.menu-nav a:nth-child(2) { animation-delay: 0.05s; } .menu-nav a:nth-child(3) { animation-delay: 0.1s; } .menu-nav a:nth-child(4) { animation-delay: 0.15s; } .menu-nav a:nth-child(5) { animation-delay: 0.2s; } .menu-nav a:nth-child(6) { animation-delay: 0.25s; }
@keyframes menuIn { to { opacity: 1; transform: none; } }
.menu-cap { margin-top: 40px; font-family: var(--black); font-size: 1.6rem; color: var(--purple); }

/* ---------- Buttons -------------------------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 30px; font-family: var(--display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; overflow: hidden; isolation: isolate; transition: color 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform 0.55s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn-blood { color: var(--void); background: var(--green); box-shadow: 0 0 0 1px var(--green), 0 18px 50px -18px var(--glow-green); }
.btn-blood::before { background: var(--bone); }
.btn-blood:hover { box-shadow: 0 0 0 1px var(--bone), 0 22px 60px -16px var(--glow-green); }
.btn-veil { color: var(--bone); border: 1px solid rgba(168,85,255,0.45); background: rgba(13,6,25,0.4); }
.btn-veil::before { background: var(--purple-pure); }
.btn-veil:hover { border-color: var(--purple); box-shadow: 0 18px 50px -18px var(--glow-purple); }
.link-arrow { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); display: inline-flex; gap: 10px; align-items: center; transition: color 0.3s; }
.link-arrow::after { content: '→'; color: var(--green); transition: transform 0.4s var(--ease); }
.link-arrow:hover { color: var(--bone); }
.link-arrow:hover::after { transform: translateX(6px); }

/* ---------- Hero ----------------------------------------------------- */
.hero { position: relative; z-index: 1; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 120px var(--gutter) 150px; text-align: center; overflow: hidden; }
.hero-rays { position: absolute; inset: -20% -10% 0; z-index: -1; background: conic-gradient(from 180deg at 50% 0%, transparent 0deg, rgba(157,0,255,0.10) 160deg, transparent 172deg, rgba(168,85,255,0.07) 182deg, transparent 196deg, rgba(0,255,65,0.05) 205deg, transparent 215deg, transparent 360deg); mask-image: linear-gradient(to bottom, #000 0%, transparent 80%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 80%); animation: rays 14s ease-in-out infinite alternate; }
@keyframes rays { to { transform: rotate(4deg) scale(1.05); opacity: 0.7; } }
.hero-stage { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 980px; }
.hero-kicker { display: flex; align-items: center; gap: 18px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero-kicker .rule { width: 46px; height: 1px; background: linear-gradient(90deg, transparent, var(--purple)); }
.hero-kicker .rule:last-child { transform: scaleX(-1); }
.hero-emblem { position: relative; width: min(38vh, 72vw, 440px); aspect-ratio: 1; }
.hero-emblem img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8)) drop-shadow(0 0 40px rgba(157,0,255,0.35)); animation: breathe 7s ease-in-out infinite; will-change: transform; }
.emblem-halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(157,0,255,0.55) 0%, rgba(157,0,255,0.12) 45%, transparent 70%); filter: blur(20px); animation: halo 7s ease-in-out infinite; }
@keyframes breathe { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-8px) scale(1.015); } }
@keyframes halo { 0%,100% { opacity: 0.7; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.06); } }
.hero-tagline { width: min(500px, 82vw); margin-top: -1.5vh; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.9)); }

.countdown { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cd-label { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); }
.cd-clock { display: flex; align-items: flex-start; gap: clamp(8px, 1.6vw, 18px); }
.cd-clock > i { font-family: var(--mono); font-style: normal; font-size: clamp(1.4rem, 3.4vw, 2.4rem); color: var(--faint); line-height: 1.2; }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: clamp(52px, 8vw, 84px); }
.cd-unit b { font-family: var(--mono); font-weight: 500; font-size: clamp(1.6rem, 4.2vw, 3rem); line-height: 1.1; color: var(--bone); font-variant-numeric: tabular-nums; text-shadow: 0 0 24px rgba(168,85,255,0.35); }
.cd-unit span { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }
.cd-meta { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--text); min-height: 1.7em; }
.cd-meta b { font-style: normal; font-family: var(--display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-right: 8px; }
.countdown.is-live .cd-clock { display: none; }
.countdown.is-live .cd-label { color: var(--green); font-size: 0.9rem; text-shadow: 0 0 18px var(--glow-green); }
.countdown.is-quiet .cd-clock { display: none; }

.hero-cta { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.billing { position: absolute; bottom: 64px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; gap: 24px; font-family: var(--display); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint); border-top: 1px solid var(--line-soft); padding-top: 16px; }
.billing em { font-style: normal; color: var(--purple); margin: 0 0.4em; }
.scroll-cue { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 22px; height: 34px; border: 1px solid var(--faint); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; background: var(--green); border-radius: 2px; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* hero entrance (staggered after the curtain lifts) */
[data-rise] { opacity: 0; transform: translateY(26px); }
.is-ready [data-rise] { animation: rise 1.1s var(--ease) forwards; }
.is-ready [data-rise="2"] { animation-delay: 0.08s; } .is-ready [data-rise="3"] { animation-delay: 0.2s; } .is-ready [data-rise="4"] { animation-delay: 0.32s; } .is-ready [data-rise="5"] { animation-delay: 0.44s; } .is-ready [data-rise="6"] { animation-delay: 0.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Marquee -------------------------------------------------- */
.marquee { position: relative; z-index: 2; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(157,0,255,0.08), rgba(13,6,25,0.9), rgba(0,255,65,0.05)); padding: 18px 0; transform: rotate(-1.2deg) scale(1.02); margin: -10px 0 0; }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--black); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; color: var(--bone); white-space: nowrap; }
.marquee span.hollow { color: transparent; -webkit-text-stroke: 1px var(--purple); }
.marquee b { color: var(--green); font-size: 1.1rem; text-shadow: 0 0 12px var(--glow-green); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Chapters ------------------------------------------------- */
main { position: relative; z-index: 1; }
.chapter { position: relative; padding: clamp(110px, 14vw, 190px) 0; }
.chapter-num { position: absolute; top: clamp(40px, 6vw, 80px); right: var(--gutter); font-family: var(--display); font-weight: 900; font-size: clamp(9rem, 26vw, 22rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(168,85,255,0.12); pointer-events: none; user-select: none; }
.chapter-head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 760px; }
.chapter-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.eyebrow { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 14px; }
.eyebrow span { color: var(--purple); padding-right: 14px; border-right: 1px solid var(--line); }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.display { font-family: var(--display); font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.005em; color: var(--bone); margin-top: 22px; text-wrap: balance; }
.chapter-sub { margin-top: 18px; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.chapter-sub .g { color: var(--green); }
.blackletter { font-family: var(--black); font-weight: 400; color: var(--purple); letter-spacing: 0; text-shadow: 0 0 40px rgba(157,0,255,0.45); }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- I · Host ------------------------------------------------- */
.host-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 110px); align-items: start; }
.arch { position: sticky; top: 110px; }
.arch-frame { position: relative; aspect-ratio: 2 / 3; border-radius: 999px 999px 4px 4px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(0,0,0,0.95), 0 0 0 10px rgba(13,6,25,0.6), 0 0 0 11px var(--line-soft); }
.arch-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(157,0,255,0.18), transparent 40%, rgba(5,0,13,0.75) 100%); mix-blend-mode: multiply; }
.arch-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.arch:hover .arch-frame img { transform: scale(1.02); }
.arch figcaption { margin-top: 20px; text-align: center; font-family: var(--display); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone); }
.arch figcaption em { font-family: var(--serif); font-weight: 300; text-transform: none; letter-spacing: 0.02em; color: var(--muted); font-size: 0.95rem; }
.host-copy .chapter-head { margin-bottom: 40px; }
.prose p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text); max-width: 34em; }
.prose p + p { margin-top: 1.1em; }
.prose em { color: var(--bone); }
.dropcap::first-letter { float: left; font-family: var(--black); font-size: 5.2em; line-height: 0.78; padding: 0.06em 0.12em 0 0; color: var(--purple); text-shadow: 0 0 30px rgba(157,0,255,0.5); }
.pull { margin: 56px 0; padding: 8px 0 8px 32px; border-left: 2px solid var(--green); box-shadow: -16px 0 30px -24px var(--glow-green); }
.pull p { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--bone); }
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-soft); }
.ledger div { padding: 20px 0; border-bottom: 1px solid var(--line-soft); }
.ledger div:nth-child(odd) { padding-right: 20px; }
.ledger dt { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faint); }
.ledger dd { margin-top: 6px; font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--bone); letter-spacing: 0.03em; }

/* ---------- II · Ritual (film reel) ---------------------------------- */
.ritual { background: linear-gradient(180deg, transparent, rgba(13,6,25,0.7) 18%, rgba(13,6,25,0.7) 82%, transparent); }
.reel { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; padding: 26px 2px; background: #000; border: 1px solid var(--line-soft); }
.reel::before, .reel::after { content: ''; position: absolute; left: 0; right: 0; height: 10px; background-image: radial-gradient(circle at 50% 50%, rgba(236,231,244,0.14) 0 2.6px, transparent 3px); background-size: 22px 10px; }
.reel::before { top: 8px; }
.reel::after { bottom: 8px; }
.frame { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 230px; padding: 22px 18px 20px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.f-day { font-family: var(--display); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.f-date { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 14px; }
.f-time { font-family: var(--mono); font-weight: 500; font-size: 0.86rem; color: var(--bone); }
.f-cat { font-family: var(--display); font-weight: 700; font-size: 1.02rem; line-height: 1.2; color: var(--green); margin-top: 4px; }
.f-title { font-size: 0.86rem; line-height: 1.45; color: var(--text); }
.f-seg { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.f-time small { display: block; font-size: 0.66rem; font-weight: 400; letter-spacing: 0.08em; color: var(--muted); margin-top: 2px; }
.f-flag { margin-top: auto; align-self: flex-start; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.24em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--line); color: var(--muted); }
.frame.is-off .f-time { color: var(--faint); }
.frame.is-off .f-title { color: var(--faint); font-style: italic; }
.frame.is-today { box-shadow: inset 0 2px 0 var(--purple); }
.frame.is-today .f-day { color: var(--bone); }
.frame.is-live { box-shadow: inset 0 -2px 0 rgba(0,255,65,0.6); }
.frame.is-live:hover { transform: translateY(-4px); }
.frame.is-next { background: radial-gradient(circle at 50% 0%, rgba(157,0,255,0.3), transparent 70%), linear-gradient(180deg, #1a0d30, var(--panel)); box-shadow: inset 0 0 0 1px rgba(168,85,255,0.55), 0 24px 60px -24px var(--glow-purple); z-index: 1; }
.frame.is-next .f-flag { color: var(--void); background: var(--green); border-color: var(--green); }
.frame.is-canceled .f-cat, .frame.is-canceled .f-time { text-decoration: line-through; color: var(--faint); }
.f-seg + .f-seg { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line-soft); }
.reel-foot { margin-top: 28px; text-align: center; font-size: 0.95rem; color: var(--muted); }
.reel-foot a, .vac a { color: var(--green); border-bottom: 1px solid rgba(0,255,65,0.3); }
.vac { margin-bottom: 20px; text-align: center; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--purple); }

/* ---------- III · Summoning (theater) -------------------------------- */
.theater { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2px; padding: 2px; background: linear-gradient(135deg, rgba(157,0,255,0.6), rgba(13,6,25,1) 40%, rgba(13,6,25,1) 60%, rgba(0,255,65,0.4)); box-shadow: 0 60px 120px -50px rgba(157,0,255,0.45), 0 0 0 1px var(--line-soft); }
.screen { position: relative; aspect-ratio: 16 / 9; background: #000; }
.chat { background: #0e0e10; min-height: 300px; }
.screen iframe, .chat iframe { width: 100%; height: 100%; border: 0; display: block; }
.screen-idle { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.screen-idle img { width: 120px; opacity: 0.35; animation: breathe 5s ease-in-out infinite; }
.theater-foot { display: flex; gap: 34px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- IV · Vault ----------------------------------------------- */
.vault-gallery[data-state="ready"] { margin-bottom: 64px; }
.vault-gallery[data-state="idle"], .vault-gallery[data-state="error"], .vault-gallery[data-state="empty"], .vault-gallery[data-state="loading"] { display: none; }
.vault-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.vault-refresh { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 7px 12px; transition: color 0.3s, border-color 0.3s; }
.vault-refresh:hover:not(:disabled) { color: var(--green); border-color: rgba(0,255,65,0.4); }
.vault-refresh.spinning .vr-icon { display: inline-block; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.game-group + .game-group { margin-top: 56px; }
.game-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.game-title { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--bone); }
.game-count { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.yt-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.8s var(--ease), opacity 0.4s; }
.yt-thumb:hover img { transform: scale(1.05); opacity: 1; }
.yt-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border: 1px solid rgba(236,231,244,0.6); border-radius: 50%; background: rgba(5,0,13,0.55); backdrop-filter: blur(4px); transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease); }
.yt-play::before { content: ''; position: absolute; left: 23px; top: 19px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--bone); }
.yt-thumb:hover .yt-play { border-color: var(--green); box-shadow: 0 0 30px -4px var(--glow-green); transform: scale(1.08); }
.yt-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.yt-title { margin-top: 12px; font-size: 0.95rem; line-height: 1.45; color: var(--text); }
.portals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.portal { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 40px 34px 44px 0; border-bottom: 1px solid var(--line); transition: background 0.5s; overflow: hidden; }
.portal + .portal { padding-left: 34px; border-left: 1px solid var(--line); }
.portal::after { content: '↗'; position: absolute; top: 36px; right: 30px; font-size: 1.2rem; color: var(--faint); transition: color 0.3s, transform 0.5s var(--ease); }
.portal:hover::after { color: var(--green); transform: translate(4px, -4px); }
.portal:hover { background: linear-gradient(180deg, rgba(157,0,255,0.08), transparent); }
.portal-k { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--purple); }
.portal-t { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--bone); line-height: 1.1; }
.portal-d { font-size: 0.98rem; color: var(--muted); }

/* ---------- V · Merch ------------------------------------------------ */
.merch { background: radial-gradient(ellipse 80% 60% at 30% 40%, rgba(157,0,255,0.14), transparent 70%); }
.merch-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; margin-bottom: clamp(70px, 9vw, 120px); }
.merch-stage { position: relative; aspect-ratio: 3 / 4; display: grid; place-items: center; }
.merch-stage .spot { position: absolute; inset: 4% 0 0; background: radial-gradient(ellipse 55% 45% at 50% 42%, rgba(157,0,255,0.55), transparent 70%), radial-gradient(ellipse 45% 10% at 50% 92%, rgba(0,0,0,0.9), transparent 70%); filter: blur(10px); }
.merch-stage img { position: relative; width: 100%; filter: drop-shadow(0 40px 50px rgba(0,0,0,0.85)); transition: transform 1.2s var(--ease); }
.merch-stage:hover img { transform: translateY(-10px) rotate(-1.5deg); }
.merch-copy .display { font-size: clamp(2.2rem, 5vw, 4rem); }
.merch-copy .blackletter { display: block; font-size: 1.18em; line-height: 1.05; margin: 6px 0; }
.merch-lede { margin: 28px 0 40px; font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 30em; }
.rail { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.item { display: flex; flex-direction: column; }
.item-img { position: relative; aspect-ratio: 3 / 4; background: radial-gradient(circle at 50% 40%, #1d1230, var(--panel) 70%); border: 1px solid var(--line-soft); overflow: hidden; transition: border-color 0.5s, box-shadow 0.5s; }
.item-img img { width: 100%; height: 100%; object-fit: contain; transform: scale(0.94); transition: transform 1s var(--ease); }
.item:hover .item-img { border-color: var(--line); box-shadow: 0 30px 60px -30px var(--glow-purple); }
.item:hover .item-img img { transform: scale(1.02); }
.item-n { margin-top: 18px; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.2em; color: var(--purple); }
.item-t { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--bone); margin-top: 4px; transition: color 0.3s; }
.item:hover .item-t { color: var(--green); }
.item-d { font-size: 0.9rem; color: var(--muted); }

/* ---------- VI · Realms (index list) --------------------------------- */
.index { list-style: none; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.index a { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1.2fr) 40px; align-items: center; gap: 24px; padding: 30px 0; transition: padding 0.6s var(--ease); isolation: isolate; }
.index a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(157,0,255,0.16), rgba(0,255,65,0.04) 70%, transparent); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.index a:hover::before { transform: scaleY(1); }
.index a:hover { padding-left: 22px; padding-right: 10px; }
.ix-n { font-family: var(--mono); font-size: 0.74rem; color: var(--faint); }
.ix-t { font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem); color: var(--bone); line-height: 1.1; transition: color 0.4s; }
.index a:hover .ix-t { color: var(--green); text-shadow: 0 0 30px rgba(0,255,65,0.25); }
.ix-k { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--purple); }
.ix-d { font-size: 0.98rem; color: var(--muted); }
.ix-go { font-size: 1.4rem; color: var(--faint); justify-self: end; transition: transform 0.5s var(--ease), color 0.3s; }
.index a:hover .ix-go { color: var(--green); transform: translateX(6px); }

/* ---------- Finale --------------------------------------------------- */
.finale { position: relative; padding: clamp(130px, 16vw, 220px) 0; overflow: hidden; text-align: center; border-top: 1px solid var(--line-soft); background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(157,0,255,0.2), transparent 70%); }
.finale-mark { position: absolute; left: 50%; top: 50%; width: min(900px, 140vw); transform: translate(-50%, -50%); opacity: 0.07; filter: grayscale(0.3); pointer-events: none; animation: slowspin 120s linear infinite; }
@keyframes slowspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.finale-inner { display: flex; flex-direction: column; align-items: center; }
.finale-title { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 9vw, 7.4rem); line-height: 0.98; color: var(--bone); margin-top: 26px; letter-spacing: -0.01em; }
.finale-title em { font-family: var(--black); font-style: normal; font-weight: 400; color: var(--green); text-shadow: 0 0 50px var(--glow-green); }
.finale-sub { margin-top: 28px; max-width: 32em; font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.finale-cta { margin-top: 44px; display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ---------- Credits footer ------------------------------------------- */
.credits { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--ink); padding: 60px 0 46px; }
.credits-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 36px; }
.credits-brand { display: flex; align-items: center; gap: 14px; }
.credits-brand img { width: 46px; height: 46px; }
.credits-brand p { font-family: var(--display); font-weight: 800; letter-spacing: 0.24em; color: var(--bone); }
.credits-brand b { color: var(--green); }
.credits-links { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.credits-links a { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); transition: color 0.3s; }
.credits-links a:hover { color: var(--green); }
.credits-copy { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.12em; color: var(--faint); }

/* ---------- Responsive ----------------------------------------------- */
/* seven nav links (Music added 2026-11-02): tighten before the menu takes over at 1100px */
@media (max-width: 1320px) {
  .nav { gap: 18px; }
  .nav a { letter-spacing: 0.14em; }
  .nav a i { display: none; }
}
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .masthead { grid-template-columns: auto 1fr; }
  .mast-right { justify-self: end; }
  .reel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .theater { grid-template-columns: 1fr; }
  .chat { height: 420px; }
  .rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index a { grid-template-columns: 50px minmax(0, 1fr) auto 30px; }
  .ix-d { display: none; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .host-grid { grid-template-columns: 1fr; }
  .arch { position: relative; top: 0; max-width: 340px; margin: 0 auto; }
  .merch-hero { grid-template-columns: 1fr; }
  .merch-stage { max-width: 420px; margin: 0 auto; width: 100%; }
  .portals { grid-template-columns: 1fr; }
  .portal, .portal + .portal { padding: 30px 0 34px; border-left: 0; }
  .billing { display: none; }
  .credits-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 560px) {
  .status-pill { display: none; }
  .brand-word { font-size: 0.82rem; letter-spacing: 0.18em; }
  .hero { padding-bottom: 90px; }
  .hero-kicker { letter-spacing: 0.28em; font-size: 0.62rem; }
  .hero-kicker .rule { display: none; }
  .reel { grid-template-columns: 1fr; padding: 24px 2px; }
  .frame { min-height: 0; padding: 18px 18px 16px; }
  .frame .f-date { margin-bottom: 8px; }
  .frame.is-off { flex-direction: row; align-items: baseline; gap: 14px; }
  .frame.is-off .f-date { margin-bottom: 0; }
  .frame.is-off .f-time { display: none; }
  .frame.is-off .f-title { margin-left: auto; font-size: 0.8rem; }
  .f-flag { margin-top: 4px; }
  .ledger { grid-template-columns: 1fr; }
  .ledger div:nth-child(odd) { padding-right: 0; }
  .index a { grid-template-columns: 34px minmax(0, 1fr) 24px; gap: 14px; padding: 24px 0; }
  .ix-k { display: none; }
  .theater-foot { gap: 22px; }
  .hero-cta .btn { width: 100%; }
  .pull { padding-left: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-rise], [data-reveal] { opacity: 1 !important; transform: none !important; }
  .curtain { display: none; }
  .marquee-track { animation: none; }
}
