:root {
  --ink: #f6f0e0;
  --muted: #aaa6b2;
  --night: #08070d;
  --panel: #11101a;
  --line: rgba(255,255,255,.13);
  --gold: #e5bd64;
  --violet: #a253ff;
  --element: #ff6933;
  --element-soft: rgba(255,105,51,.26);
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; color: var(--ink); background: var(--night); font-family: var(--sans); line-height: 1.6; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 30; opacity: .035; 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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: #fff; color: #000; padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 20; height: 80px; padding: 0 clamp(1.25rem, 4vw, 5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid transparent; transition: .35s ease; }
.site-header.is-scrolled { height: 68px; background: rgba(8,7,13,.86); backdrop-filter: blur(18px); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--serif); text-transform: uppercase; letter-spacing: .18em; font-size: .92rem; }
.brand img { filter: drop-shadow(0 0 12px rgba(177,83,255,.55)); }
.site-nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.4rem); }
.site-nav a { text-decoration: none; color: rgba(255,255,255,.75); font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; transition: color .2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: #fff; }
.site-nav .nav-status { color: var(--gold); padding: .55rem .9rem; border: 1px solid rgba(229,189,100,.4); }
.menu-button { display: none; border: 0; padding: .5rem; background: none; color: #fff; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 1px; background: currentColor; margin: 5px 0; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -3; background: url("assets/cover.webp") center 38% / cover no-repeat; transform: scale(1.045); animation: hero-breathe 16s ease-in-out infinite alternate; }
.hero-scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(6,5,10,.96) 0%, rgba(6,5,10,.77) 37%, rgba(6,5,10,.12) 72%), linear-gradient(0deg, #08070d 0%, transparent 34%, rgba(0,0,0,.2) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg,transparent,var(--gold),var(--violet),transparent); opacity: .65; }
.hero-content { width: min(1360px, 100%); margin: 0 auto; padding: 9rem clamp(1.5rem, 7vw, 7rem) 5.5rem; }
.eyebrow, .kicker { margin: 0 0 1rem; color: var(--gold); text-transform: uppercase; letter-spacing: .24em; font-size: .72rem; font-weight: 700; }
.hero h1 { margin: 0; font-family: var(--serif); text-transform: uppercase; font-size: clamp(4rem, 10vw, 9rem); line-height: .78; letter-spacing: -.055em; text-shadow: 0 8px 40px rgba(0,0,0,.8); }
.hero-copy { max-width: 610px; margin: 2rem 0; color: #d4ced6; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 1.5rem; text-decoration: none; text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; font-weight: 700; }
.button-primary { color: #130f09; background: linear-gradient(135deg,#f3daa0,#c79235); clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); transition: transform .2s, filter .2s; }
.button-primary:hover { transform: translateY(-2px); filter: brightness(1.1); }
.text-link { text-decoration: none; color: #ddd7e0; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: .15rem; }
.hero-facts { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; gap: 0; }
.hero-facts li { min-width: 130px; padding: 0 1.7rem; border-left: 1px solid var(--line); display: grid; }
.hero-facts li:first-child { padding-left: 0; border-left: 0; }
.hero-facts strong { font-family: var(--serif); font-size: 1.5rem; color: #fff; }
.hero-facts span { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.scroll-cue { position: absolute; right: clamp(1.5rem,5vw,5rem); bottom: 3.3rem; display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--muted); text-transform: uppercase; letter-spacing: .2em; font-size: .62rem; writing-mode: vertical-rl; }
.scroll-cue span { width: 1px; height: 48px; background: linear-gradient(var(--gold),transparent); }

.section { max-width: 1360px; margin: 0 auto; padding: clamp(6rem, 10vw, 10rem) clamp(1.5rem, 6vw, 6rem); }
.section-heading { max-width: 840px; margin-bottom: 5rem; }
.section-heading.compact { margin-bottom: 3rem; }
.section-heading h2, .lore-copy h2, .veilheart-copy h2, .development-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 1.4rem; }
.section-heading > p:last-child { color: var(--muted); max-width: 650px; font-size: 1.06rem; }
.board-composition { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(320px,.8fr); gap: clamp(3rem,7vw,7rem); align-items: center; }
.board-wrap { position: relative; }
.board-wrap img { position: relative; z-index: 2; filter: drop-shadow(0 30px 45px rgba(0,0,0,.65)); }
.board-aura { position: absolute; inset: 15%; background: radial-gradient(circle,var(--element-soft),transparent 68%); filter: blur(35px); }
.board-label { position: absolute; z-index: 3; padding: .55rem .8rem; background: rgba(9,8,14,.88); border: 1px solid var(--line); text-transform: uppercase; letter-spacing: .12em; font-size: .62rem; color: var(--muted); backdrop-filter: blur(8px); }
.board-label span { color: var(--gold); margin-right: .4rem; }
.label-one { left: 2%; top: 34%; }.label-two { right: 4%; bottom: 19%; }
.principles { list-style: none; padding: 0; margin: 0; }
.principles li { display: grid; grid-template-columns: 52px 1fr; gap: 1.2rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.principles li:last-child { border-bottom: 1px solid var(--line); }
.step { color: var(--gold); font-family: var(--serif); font-size: .85rem; }
.principles h3 { margin: 0 0 .45rem; font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.principles p { margin: 0; color: var(--muted); font-size: .93rem; }

.factions-section { max-width: none; background: linear-gradient(180deg,#0c0b13,#09080e); padding-left: max(1.5rem, calc((100vw - 1240px)/2)); padding-right: max(1.5rem, calc((100vw - 1240px)/2)); border-block: 1px solid var(--line); }
.faction-tabs { display: grid; grid-template-columns: repeat(6,1fr); border: 1px solid var(--line); margin-bottom: 2.5rem; overflow: auto; }
.faction-tab { min-width: 118px; border: 0; border-right: 1px solid var(--line); padding: 1rem .6rem; background: transparent; color: #8d8993; font: inherit; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; cursor: pointer; transition: .25s; }
.faction-tab:last-child { border-right: 0; }
.faction-tab .sigil { display: block; font-size: 1.25rem; color: currentColor; margin-bottom: .25rem; }
.faction-tab:hover { color: #fff; background: rgba(255,255,255,.03); }
.faction-tab.is-active { color: var(--element); background: linear-gradient(180deg,var(--element-soft),transparent); box-shadow: inset 0 2px var(--element); }
.faction-stage { min-height: 600px; position: relative; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 4rem; overflow: hidden; padding: clamp(2rem,5vw,5rem); border: 1px solid var(--line); background: radial-gradient(circle at 76% 48%,var(--element-soft),transparent 34%),#0a090f; transition: background .45s; }
.faction-stage::before { content: ""; position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(30deg,transparent 48%,var(--element) 49%,transparent 51%),linear-gradient(-30deg,transparent 48%,var(--element) 49%,transparent 51%); background-size: 86px 150px; }
.faction-copy, .card-showcase { position: relative; z-index: 2; }
.faction-number { color: var(--element); text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; }
.faction-copy h3 { margin: 0; font-family: var(--serif); font-size: clamp(4rem,8vw,7.5rem); line-height: .9; font-weight: 400; }
.faction-line { color: #fff; font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.faction-copy > p:not(.faction-number):not(.faction-line) { color: var(--muted); max-width: 520px; }
.faction-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.7rem; }
.faction-tags span { padding: .45rem .75rem; border: 1px solid color-mix(in srgb,var(--element) 45%,transparent); color: color-mix(in srgb,var(--element) 75%,white); text-transform: uppercase; font-size: .62rem; letter-spacing: .12em; }
.card-showcase { margin: 0; min-height: 510px; display: grid; place-items: center; perspective: 1200px; }
.card-showcase img { width: min(470px,90%); filter: drop-shadow(0 35px 35px rgba(0,0,0,.7)); transform: rotate(3deg); transition: opacity .18s, transform .45s cubic-bezier(.2,.8,.2,1); }
.card-showcase:hover img { transform: rotate(0deg) translateY(-8px) scale(1.02); }
.card-showcase figcaption { position: absolute; right: 0; bottom: 0; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .16em; }
.card-orbit { position: absolute; width: 72%; aspect-ratio: 1; border: 1px solid var(--element); border-radius: 50%; opacity: .2; box-shadow: 0 0 60px var(--element-soft); }

.lore-section { min-height: 780px; position: relative; display: grid; place-items: center; padding: clamp(6rem,12vw,12rem) clamp(1.5rem,7vw,7rem); overflow: hidden; }
.lore-art { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(7,6,11,.2),rgba(7,6,11,.92) 62%),url("assets/cover.webp") 26% 58% / cover no-repeat; filter: saturate(.75); }
.lore-copy { position: relative; z-index: 2; width: min(650px,100%); margin-left: auto; }
.lore-copy p:not(.kicker) { color: #bbb5c0; }
.lore-copy blockquote { margin: 2rem 0 0; padding: 1.5rem 0 1.5rem 1.5rem; border-left: 1px solid var(--gold); font-family: var(--serif); font-size: 1.3rem; color: #f0e3c3; }

.veilheart-section { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 5rem; }
.veilheart-copy > p:not(.kicker) { color: var(--muted); max-width: 600px; }
.rule-note { margin-top: 2rem; padding: 1rem 1.2rem; border-left: 2px solid var(--gold); display: grid; background: rgba(255,255,255,.025); }
.rule-note span { color: var(--gold); font-size: .64rem; text-transform: uppercase; letter-spacing: .16em; }
.rule-note strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.veilheart-visual { min-height: 440px; display: grid; place-items: center; position: relative; }
.hex-ring { position: absolute; aspect-ratio: 1; clip-path: polygon(50% 0,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%); background: linear-gradient(135deg,rgba(229,189,100,.7),transparent 35%,rgba(162,83,255,.8)); opacity: .25; }
.ring-one { width: 360px; animation: spin 24s linear infinite; }.ring-two { width: 295px; animation: spin 18s linear infinite reverse; }
.hex-ring::after { content: ""; position: absolute; inset: 2px; clip-path: inherit; background: var(--night); }
.heart-core { position: relative; z-index: 3; width: 210px; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 45% 38%,#3f284e,#100e17 70%); border: 2px solid var(--gold); box-shadow: 0 0 0 12px #17141e,0 0 0 13px rgba(229,189,100,.25),0 0 70px rgba(162,83,255,.35); }
.heart-core span { font-family: var(--serif); font-size: 5rem; line-height: 1; }
.heart-core small { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: .58rem; }

.development-section { padding: 2rem clamp(1.5rem,6vw,6rem) 8rem; }
.development-card { width: min(1240px,100%); margin: auto; padding: clamp(2.5rem,5vw,5rem); display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: end; border: 1px solid rgba(229,189,100,.28); background: linear-gradient(135deg,rgba(229,189,100,.08),rgba(162,83,255,.06)); }
.development-card > div:first-child { max-width: 760px; }
.development-card h2 { font-size: clamp(2.4rem,4vw,4rem); }
.development-card p:last-child { color: var(--muted); }
.status-block { display: flex; gap: .8rem; align-items: center; min-width: 220px; padding: 1rem; border: 1px solid var(--line); background: rgba(0,0,0,.18); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #70d998; box-shadow: 0 0 15px #70d998; }
.status-block div { display: grid; }.status-block small { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .58rem; }.status-block strong { font-family: var(--serif); font-weight: 400; }
.site-footer { min-height: 180px; border-top: 1px solid var(--line); padding: 3rem clamp(1.5rem,5vw,5rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--muted); }
.footer-mark { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-transform: uppercase; letter-spacing: .15em; font-family: var(--serif); }.site-footer > p:nth-child(2) { font-family: var(--serif); font-style: italic; }.copyright { justify-self: end; font-size: .7rem; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease,transform .8s ease; }.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-breathe { from { transform: scale(1.04); } to { transform: scale(1.095); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .site-header { height: 68px; }.menu-button { display: block; z-index: 2; }.site-nav { position: fixed; inset: 0; padding: 7rem 2rem 3rem; background: rgba(8,7,13,.98); flex-direction: column; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }.site-nav.is-open { opacity: 1; pointer-events: auto; }.site-nav a { font-family: var(--serif); font-size: 1.4rem; }
  .hero-scrim { background: linear-gradient(90deg,rgba(6,5,10,.88),rgba(6,5,10,.38)),linear-gradient(0deg,#08070d 0%,transparent 60%); }.hero-content { padding-bottom: 4rem; }.scroll-cue { display: none; }
  .board-composition,.faction-stage,.veilheart-section,.development-card { grid-template-columns: 1fr; }.board-composition { gap: 4rem; }.faction-stage { gap: 1rem; }.card-showcase { order: -1; min-height: 420px; }.card-showcase img { width: min(390px,85%); }.lore-art { background: linear-gradient(0deg,rgba(7,6,11,.98) 0%,rgba(7,6,11,.7) 75%),url("assets/cover.webp") 35% center/cover; }.lore-copy { margin: 15rem 0 0; }.development-card { gap: 1.5rem; }.status-block { width: fit-content; }
}
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(3.8rem,19vw,6rem); }.hero-copy { font-size: .96rem; }.hero-facts { justify-content: space-between; }.hero-facts li { min-width: 0; padding: 0 .8rem; }.hero-facts strong { font-size: 1.2rem; }.hero-facts span { font-size: .52rem; }.section-heading { margin-bottom: 3rem; }.section-heading h2,.lore-copy h2,.veilheart-copy h2 { font-size: 2.55rem; }.board-label { display: none; }.faction-tabs { grid-template-columns: repeat(6,98px); }.faction-stage { padding: 1.5rem; min-height: 650px; }.faction-copy h3 { font-size: 3.6rem; }.card-showcase { min-height: 350px; }.lore-section { min-height: 900px; }.veilheart-visual { min-height: 350px; }.ring-one { width: 300px; }.ring-two { width: 240px; }.heart-core { width: 170px; }.site-footer { grid-template-columns: 1fr; gap: 1rem; text-align: center; }.footer-mark { justify-content: center; }.copyright { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
