:root {
  --ink: #130609;
  --wine: #40101b;
  --gold: #e8a74f;
  --cream: #fff3db;
  --muted: #d7b694;
  --line: rgba(255, 227, 179, .24);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body { min-width: 320px; margin: 0; overflow-x: hidden; color: var(--cream); background: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

#spark-canvas, .grain { position: fixed; inset: 0; pointer-events: none; }
#spark-canvas { z-index: 3; opacity: .72; mix-blend-mode: screen; }
.grain { z-index: 8; opacity: .15; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }

.site-shell { position: relative; isolation: isolate; min-height: max(100svh, 780px); overflow: hidden; background: linear-gradient(90deg, rgba(19, 6, 9, .9) 0%, rgba(24, 5, 10, .66) 46%, rgba(10, 2, 4, .2) 100%), url("assets/stage-background.png") center/cover no-repeat; }
.site-shell::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 45% 46%, rgba(150, 40, 49, .32), transparent 34%), linear-gradient(180deg, rgba(4, 0, 0, .15), rgba(6, 0, 2, .68)); }
.site-shell::after { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .62; background: repeating-linear-gradient(90deg, transparent 0 106px, rgba(255, 214, 148, .06) 107px 108px); mask-image: linear-gradient(90deg, black, transparent 72%); }

.topbar { height: 86px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 clamp(24px, 4vw, 76px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; font: 800 11px/1 var(--sans); letter-spacing: .13em; }
.brand small { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; letter-spacing: .19em; }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--gold); border-radius: 50%; transform: rotate(-8deg); }
.brand-mark::before, .brand-mark::after, .brand-mark i { content: ""; position: absolute; display: block; width: 6px; height: 18px; border: 1px solid var(--gold); border-radius: 55% 45% 50% 50%; background: rgba(232, 167, 79, .12); }
.brand-mark::before { transform: translateX(-8px) rotate(-30deg); }.brand-mark::after { transform: translateX(8px) rotate(30deg); }.brand-mark i:nth-child(1) { width: 11px; height: 11px; border-radius: 50%; }.brand-mark i:nth-child(2) { width: 2px; height: 2px; transform: translate(-3px, -1px); background: var(--gold); }.brand-mark i:nth-child(3) { width: 2px; height: 2px; transform: translate(3px, -1px); background: var(--gold); }
.topbar-center { margin: 0; color: var(--muted); font: 700 10px/1 var(--sans); letter-spacing: .18em; text-align: center; white-space: nowrap; }.topbar-center em { color: var(--gold); font-style: normal; }
.social-nav { display: flex; justify-content: flex-end; gap: 20px; }.social-nav a { padding-bottom: 3px; border-bottom: 1px solid transparent; color: var(--cream); font: 700 10px/1 var(--sans); letter-spacing: .13em; transition: color .2s, border-color .2s; }.social-nav a span { color: var(--gold); }.social-nav a:hover { border-color: var(--gold); color: var(--gold); }

.hero-grid { width: min(100%, 1920px); min-height: calc(100svh - 130px); display: grid; grid-template-columns: minmax(430px, .91fr) minmax(540px, 1.09fr); align-items: center; margin: 0 auto; padding: clamp(36px, 6vh, 88px) clamp(24px, 6.4vw, 122px) 26px; }
.story-panel { z-index: 5; max-width: 620px; animation: rise-in .8s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--gold); font: 800 10px/1 var(--sans); letter-spacing: .19em; }.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(232,167,79,.7); animation: pulse 1.8s infinite; }
h1 { margin: 0; color: var(--cream); font: clamp(65px, 6.4vw, 122px)/.74 var(--serif); letter-spacing: -.08em; text-shadow: 0 7px 0 rgba(47, 4, 14, .38); } h1 span { margin-left: clamp(48px, 6vw, 112px); color: #f7cc81; font-style: italic; }
.manifesto { max-width: 450px; margin: 28px 0 12px; font: 600 clamp(17px, 1.32vw, 23px)/1.2 var(--serif); letter-spacing: -.02em; }.lore { max-width: 500px; margin: 0; color: #dfc9b1; font: 400 13px/1.55 var(--sans); letter-spacing: .015em; }
.button { min-height: 47px; margin-top: 28px; border: 1px solid var(--gold); padding: 0 17px; color: #26090f; background: linear-gradient(110deg, #d48b38, #f8c66f); box-shadow: 0 12px 32px rgba(227,143,52,.24); font: 800 10px/1 var(--sans); letter-spacing: .13em; transition: transform .2s ease, filter .2s ease; }.button:hover { transform: translateY(-3px) rotate(-1deg); filter: brightness(1.08); }.ca-button { display: inline-flex; align-items: center; gap: 7px; }.ca-button span { color: #5c2b19; }.ca-button strong { color: #26090f; }.copy-glyph { font-size: 16px; font-style: normal; }
.lore-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: clamp(22px, 3.3vh, 52px); }.lore-strip > div { border-top: 1px solid var(--line); padding-top: 11px; }.lore-strip span { color: var(--gold); font: italic 22px/1 var(--serif); }.lore-strip p { margin: 7px 0 0; color: #c8aa90; font-size: 10px; line-height: 1.4; }

.stage { position: relative; display: grid; place-items: center; align-self: stretch; min-height: 620px; perspective: 900px; }.spotlight { position: absolute; width: min(60vw, 760px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(240, 168, 78, .3) 0%, rgba(196, 74, 68, .1) 31%, transparent 68%); filter: blur(3px); animation: breathe 4s ease-in-out infinite; }.stage-floor { position: absolute; right: 4%; bottom: 6%; left: 10%; height: 14%; background: radial-gradient(ellipse, rgba(233,157,67,.26), transparent 67%); filter: blur(11px); transform: rotate(-2deg); }.stage-orbit { position: absolute; border: 1px solid rgba(235, 176, 95, .32); border-radius: 50%; mix-blend-mode: screen; }.orbit-one { width: min(52vw, 700px); aspect-ratio: 1; transform: rotate(-13deg) skewX(-32deg); animation: orbit 14s linear infinite; }.orbit-two { width: min(38vw, 500px); aspect-ratio: 1.36; transform: rotate(55deg) skewX(24deg); animation: orbit 10s linear infinite reverse; }.gold-thread { position: absolute; width: 24%; height: 36%; border: 1px solid transparent; border-top-color: rgba(244, 185, 94, .72); border-radius: 50%; filter: drop-shadow(0 0 6px #d28938); }.thread-a { top: 13%; right: 10%; transform: rotate(31deg); animation: thread 6s ease-in-out infinite; }.thread-b { bottom: 10%; left: 15%; transform: rotate(-47deg) scale(.6); animation: thread 5.2s ease-in-out infinite reverse; }
.character-portrait { position: relative; z-index: 2; width: min(44vw, 595px); aspect-ratio: 2/3; filter: drop-shadow(0 28px 28px rgba(4,0,1,.75)); }.character-portrait img { width: 100%; height: 100%; object-fit: contain; user-select: none; }.stage-whisper { position: absolute; bottom: 3%; left: 11%; color: rgba(255, 238, 204, .68); font: italic 11px/1 var(--serif); letter-spacing: .12em; transform: rotate(-4deg); }

.footer-line { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(24px, 4vw, 76px); border-top: 1px solid var(--line); color: #b9977b; font: 800 8px/1 var(--sans); letter-spacing: .15em; }.footer-line p { margin: 0; }.quiet-button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; letter-spacing: inherit; }.quiet-button span { color: var(--gold); }.quiet-button:hover { color: var(--gold); }
.toast { position: fixed; z-index: 30; bottom: 34px; left: 50%; padding: 13px 18px; border: 1px solid var(--gold); color: var(--cream); background: rgba(33, 6, 14, .95); box-shadow: 0 15px 50px rgba(0,0,0,.4); font: 800 10px/1 var(--sans); letter-spacing: .12em; opacity: 0; transform: translate(-50%, 100px); transition: opacity .22s, transform .22s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } } @keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(232,167,79,0); } 100% { box-shadow: 0 0 0 0 rgba(232,167,79,0); } } @keyframes breathe { 50% { opacity: .74; transform: scale(1.08); } } @keyframes orbit { to { rotate: 1turn; } } @keyframes thread { 50% { transform: rotate(50deg) translate(18px, -12px) scale(1.08); } }
@media (max-width: 980px) { .topbar { grid-template-columns: 1fr auto; }.topbar-center { display: none; }.hero-grid { grid-template-columns: 1fr; padding-top: 44px; }.story-panel { max-width: 680px; }.stage { min-height: 540px; margin-top: -44px; }.character-portrait { width: min(72vw, 510px); }.lore-strip { margin-top: 24px; }.footer-line { flex-wrap: wrap; padding-top: 13px; padding-bottom: 13px; } }
@media (max-width: 620px) { .site-shell { min-height: 100svh; }.topbar { height: 70px; padding: 0 17px; }.brand { font-size: 9px; }.brand small { font-size: 6px; }.brand-mark { width: 28px; height: 28px; }.social-nav { gap: 11px; }.social-nav a { font-size: 8px; }.hero-grid { padding: 38px 20px 24px; }.eyebrow { font-size: 8px; } h1 { font-size: clamp(58px, 18vw, 84px); }.manifesto { font-size: 18px; }.lore { font-size: 12px; }.lore-strip { grid-template-columns: 1fr; gap: 9px; }.lore-strip > div { display: grid; grid-template-columns: 36px 1fr; gap: 7px; }.lore-strip p { margin: 0; }.stage { min-height: 530px; margin-top: -12px; }.character-portrait { width: min(91vw, 480px); }.stage-whisper { bottom: 5%; left: 2%; font-size: 9px; }.footer-line { font-size: 7px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } #spark-canvas { display: none; } }
