:root {
    --night: #070b16;
    --ink: #10182c;
    --panel: #141c33;
    --line: rgba(120, 214, 255, 0.22);
    --text: #e7eefc;
    --muted: #a9b6d4;
    --cyan: #3de1ff;
    --magenta: #ff3d8a;
    --sand: #f3d7a4;
    --ember: #ff7a1a;
    --paper: #f6e7cf;
    --paper-ink: #2a160f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(900px 420px at 90% -10%, rgba(255, 61, 138, 0.18), transparent 55%),
        radial-gradient(800px 380px at -10% 20%, rgba(61, 225, 255, 0.12), transparent 50%),
        var(--night);
    font-family: Bahnschrift, Candara, "Segoe UI", sans-serif;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan); }
button, input { font: inherit; }
p { margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; }
.mark {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.rail {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(7, 11, 22, 0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.topbar .rail {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}
.brandlock {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: white;
    text-decoration: none;
}
.brandlock img {
    width: 72px;
    height: 72px;
    max-width: 72px;
    object-fit: contain;
    display: block;
}
.brandname {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.navline {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 18px;
    flex-wrap: wrap;
}
.navlink {
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 2px 6px;
    border-bottom: 2px solid transparent;
}
.navlink[aria-current="page"] { border-bottom-color: var(--cyan); color: white; }
.storebtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 8px;
    padding: 12px 18px 12px 14px;
    color: #2a0d04;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffc14a 0%, var(--ember) 100%);
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
    box-shadow: 0 10px 28px rgba(255, 122, 26, 0.35);
}
.storebtn .mark { width: 18px; height: 18px; }
.storebtn.is-current {
    color: white;
    background: linear-gradient(180deg, #ff6aa8 0%, var(--magenta) 100%);
    box-shadow: 0 0 0 3px #ffe3a3, 0 0 32px rgba(255, 61, 138, 0.65);
}

.stage {
    min-height: calc(100vh - 92px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 16px 0 22px;
}
.billboard {
    width: min(1040px, calc(100% - 40px), calc((100vh - 420px) * 2.048));
    margin: 0 auto;
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    background: #05070f;
}
.billboard img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1024 / 500;
    object-fit: cover;
}
.stagecopy { text-align: center; }
.eyebrow {
    margin: 0 0 8px;
    color: var(--sand);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-size: 13px;
}
.stagecopy h1 {
    font-size: 60px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.lede {
    max-width: 640px;
    margin: 0 auto 8px;
    color: var(--muted);
    font-size: 18px;
}
.launch {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.launch img {
    width: 230px;
    max-width: 46vw;
    height: auto;
    aspect-ratio: 499 / 171;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.band, .essay, .dossier, .reach, .shop, .pledge, .docket, .outcome, .faultslip {
    margin: 28px auto 64px;
}
.band {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 32px;
    align-items: center;
    padding: 28px 0 8px;
}
.emblem {
    width: 128px;
    height: 128px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 28px;
    display: block;
}
.band h2 { font-size: 34px; }
.textlink {
    color: var(--sand);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    margin-right: 18px;
}

.film {
    width: min(1180px, calc(100% - 40px));
    margin: 10px auto 70px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
}
.film a { display: block; width: 210px; }
.poster {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 1280;
    object-fit: cover;
    display: block;
    border-radius: 22px;
    border: 1px solid var(--line);
}

.page-company main { background: linear-gradient(180deg, transparent, rgba(246, 231, 207, 0.04) 30%, transparent 70%); }
.essay {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 42px;
    align-items: start;
}
.essay.flip { grid-template-columns: 200px minmax(0, 1fr); margin-top: 0; }
.plate {
    margin: 0;
}
.plate img {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 1280;
    object-fit: cover;
    display: block;
    border-radius: 26px;
    border: 1px solid rgba(243, 215, 164, 0.4);
}
.essay h1 { font-size: clamp(36px, 5vw, 58px); letter-spacing: 0.04em; }
.paper {
    background: var(--paper);
    color: var(--paper-ink);
    padding: 28px 28px 10px;
    border-radius: 8px 48px 8px 8px;
}
.paper a { color: #9a3412; }
.creed {
    width: min(1180px, calc(100% - 40px));
    margin: 10px auto 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.creed article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    padding: 18px 18px 8px;
    background: rgba(20, 28, 51, 0.85);
    border-left: 3px solid var(--magenta);
}
.creed h2 { font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase; }
.creed ul { margin: 0 0 14px; padding-left: 18px; }

.dossier {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
.dossier h1 { font-size: clamp(36px, 5vw, 60px); }
.traits {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.trait {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 12px;
    padding: 18px;
    background: linear-gradient(90deg, rgba(255, 61, 138, 0.16), rgba(20, 28, 51, 0.2));
    border-top: 1px solid var(--line);
}
.trait h2 { font-size: 20px; }
.pair {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 70px;
    display: grid;
    grid-template-columns: 200px 200px;
    gap: 18px;
    justify-content: start;
}
.pair img {
    width: 100%;
    aspect-ratio: 800 / 1280;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.reach {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
.reach h1, .dossier h2, .essay h2, .vault-tease h2 { font-size: clamp(32px, 4vw, 48px); }
.vault-tease {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 20px;
}
.vault-tease img {
    width: 103px;
    height: auto;
    aspect-ratio: 103 / 102;
    display: block;
}
.home-reach { align-items: start; margin-top: 10px; }
.reach-card {
    background: var(--ink);
    border: 1px solid var(--line);
    padding: 8px 22px;
}
.reach-row {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 12px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(120, 214, 255, 0.12);
}
.reach-row:last-child { border-bottom: 0; }
.reach-row a { color: white; text-decoration: none; }
.reach-row span { display: block; color: var(--sand); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

.shop h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: 0.05em; }
.gem-intro {
    max-width: 820px;
    color: var(--muted);
    font-size: 17px;
}
.shop-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
    gap: 22px;
    align-items: start;
}
.gemrail {
    max-height: 520px;
    overflow: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 10px;
    align-content: start;
    padding: 12px;
    background: rgba(5, 8, 18, 0.65);
    border: 1px solid var(--line);
}
.gempick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    color: white;
    background: #12192e;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
}
.gempick img {
    width: 64px;
    height: auto;
    aspect-ratio: 103 / 102;
}
.gempick strong { font-size: 14px; }
.gempick span { color: var(--sand); font-size: 13px; }
.gempick.is-picked {
    border-color: var(--ember);
    box-shadow: inset 0 0 0 1px var(--ember);
    background: #2a160f;
}
.slip {
    position: sticky;
    top: 108px;
    background: #1c130e;
    color: #fff6ea;
    padding: 22px 20px 18px;
    border: 1px solid rgba(255, 176, 92, 0.45);
}
.slip h2 { letter-spacing: 0.12em; text-transform: uppercase; font-size: 22px; }
.field { display: block; margin: 0 0 12px; }
.field > span, .paycap {
    display: block;
    margin-bottom: 6px;
    color: var(--sand);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.field input[type="text"],
.field input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(255, 214, 170, 0.35);
    background: #100c09;
    color: white;
}
.payline, .payshow { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.payshow { color: #c8b5a4; }
.moneyrow { display: flex; flex-wrap: wrap; gap: 8px; }
.cashbtn {
    border: 1px solid rgba(255, 214, 170, 0.4);
    background: transparent;
    color: white;
    padding: 8px 10px;
    cursor: pointer;
}
.cashbtn.is-on { background: var(--ember); color: #2a0d04; border-color: var(--ember); }
.agree { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 14px; font-size: 14px; }
.agree a { color: #ffd59a; }
.confirmbtn {
    width: 100%;
    border: 0;
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2a0d04;
    background: linear-gradient(180deg, #ffc14a, var(--ember));
}
.formnote {
    margin: 0 0 12px;
    padding: 10px 12px;
    background: rgba(255, 61, 138, 0.15);
    color: #ffd0e2;
}
.summary { margin: 0 0 12px; color: var(--sand); }
.pledge {
    padding: 28px 28px 10px;
    border: 1px solid var(--line);
    background: rgba(16, 24, 44, 0.75);
}
.pledge h2 { font-size: 28px; }
.pledge h3 { margin-top: 18px; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); }

.docket, .outcome, .faultslip {
    width: min(720px, calc(100% - 40px));
    padding: 32px 28px;
    background: var(--panel);
    border: 1px solid var(--line);
}
.outcome { text-align: center; }
.outcome .mark, .faultslip .mark { width: 42px; height: 42px; margin-bottom: 8px; }
.outcome.ok { border-color: rgba(61, 225, 255, 0.7); }
.outcome.bad, .faultslip { border-color: rgba(255, 61, 138, 0.7); }
.receipt {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px 12px;
    margin: 18px 0;
}
.receipt span { color: var(--sand); }

.foot {
    border-top: 1px solid var(--line);
    padding: 36px 0 18px;
    background: #05070f;
}
.footgrid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 24px;
}
.footbrand img { width: 56px; height: 56px; max-width: 56px; }
.footid p { margin: 0 0 6px; color: var(--muted); }
.footid a { color: white; text-decoration: none; }
.footlinks { display: flex; flex-direction: column; gap: 8px; }
.footlinks a { color: var(--text); text-decoration: none; }
.copyline {
    width: min(1180px, calc(100% - 40px));
    margin: 22px auto 0;
    padding-top: 14px;
    border-top: 1px solid rgba(120, 214, 255, 0.12);
    color: var(--muted);
    letter-spacing: 0.06em;
}

@media (max-height: 760px) {
    .stage { min-height: 0; }
    .billboard { width: min(720px, calc(100% - 40px)); }
}
@media (max-width: 900px) {
    .topbar .rail, .band, .essay, .essay.flip, .dossier, .reach, .vault-tease, .shop-grid, .creed, .traits, .footgrid, .pair {
        grid-template-columns: 1fr;
    }
    .brandname { white-space: normal; font-size: 18px; }
    .storebtn { margin-left: 0; }
    .slip { position: static; }
    .pair { justify-content: stretch; }
    .stagecopy h1 { font-size: 60px; }
}
