:root {
    --navy: #0b1f3a;
    --navy-mid: #16324f;
    --navy-soft: #1e4468;
    --gold: #c4a35a;
    --gold-bright: #e0be72;
    --honey: #d4a017;
    --ink: #122033;
    --mute: #5a6b7c;
    --paper: #eef3f7;
    --sheet: #f7f9fb;
    --wood: #3a2414;
    --line: rgba(196, 163, 90, 0.38);
    --danger: #b42318;
    --ok: #1f7a4d;
    --rail: 1120px;
    --mast: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: Outfit, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 12px;
    color: var(--navy);
}

.shell { min-height: 100vh; display: flex; flex-direction: column; }
.canvas { flex: 1; }
.rail { width: 100%; max-width: var(--rail); margin: 0 auto; padding: 0 22px; }

.mast {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--mast);
    background: var(--navy);
    border-bottom: 1px solid var(--line);
}
.mast-inner {
    height: var(--mast);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-mark { height: 52px; width: auto; max-width: 240px; object-fit: contain; }
.mast-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}
.mast-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
.mast-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    color: #d7e0ea;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
}
.mast-link i { font-size: 13px; }
.mast-link:hover { color: var(--gold-bright); }
.mast-link.is-current { color: #fff; }

.mast-link--home.is-current { border-bottom-color: #7eb6ff; }
.mast-link--about.is-current { border-bottom-color: #8fbf88; }
.mast-link--game.is-current { border-bottom-color: #e08a5a; }
.mast-link--faq.is-current { border-bottom-color: #c4a35a; }
.mast-link--contact.is-current { border-bottom-color: #6fc3c3; }

.mast-link--shop {
    margin-left: 10px;
    background: var(--gold);
    color: var(--navy);
    border-bottom: 0;
    padding: 10px 16px;
    font-weight: 700;
    animation: shopPulse 2.8s ease-in-out infinite;
}
.mast-link--shop:hover,
.mast-link--shop.is-current {
    background: var(--gold-bright);
    color: var(--navy);
}

@keyframes shopPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 163, 90, 0.0); }
    50% { box-shadow: 0 0 0 6px rgba(196, 163, 90, 0.18); }
}

.tone-home .mast { background: rgba(11, 31, 58, 0.92); }
.tone-about .mast { background: #0e2744; }
.tone-game .mast { background: #12283f; }
.tone-faq .mast { background: #0c2238; }
.tone-contact .mast { background: #102a46; }
.tone-shop .mast { background: #0b1f3a; }

.overture {
    position: relative;
    min-height: calc(100vh - var(--mast));
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--navy);
}
.overture-plane {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.overture-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 31, 58, 0.88) 0%, rgba(11, 31, 58, 0.55) 48%, rgba(11, 31, 58, 0.2) 100%),
        linear-gradient(180deg, rgba(11, 31, 58, 0.2) 0%, rgba(11, 31, 58, 0.72) 100%);
}
.overture-copy {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 72px 22px 80px;
    margin-left: max(22px, calc((100% - var(--rail)) / 2));
    color: #f4f7fa;
    animation: riseIn 0.9s ease both;
}
.overture-copy h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.1rem); margin-bottom: 10px; }
.overture-copy .lede { font-size: 1.25rem; color: var(--gold-bright); margin: 0 0 14px; }
.overture-copy .note { margin: 0 0 22px; color: #d5dee8; max-width: 36em; }
.brand-signal {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 10px;
}

@keyframes riseIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.play-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.play-row img { height: 54px; width: auto; }
.whisper { margin-top: 16px; font-size: 0.92rem; color: #c9d4e0; }

.band { padding: 72px 0; }
.band-navy { background: var(--navy); color: #e6edf4; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-wood {
    background: var(--wood);
    color: #f3ebe0;
}
.band-wood h2, .band-wood h3 { color: #fff; }
.band-sheet { background: var(--sheet); }

.kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.lead { max-width: 40em; color: var(--mute); margin: 0 0 28px; }
.band-navy .lead, .band-wood .lead { color: #c9d4e0; }

.shift {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}
.shift.is-flip { grid-template-columns: 0.95fr 1.05fr; }
.shift.is-flip .shift-visual { order: -1; }
.shift-visual img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}
.shift-copy h2 { font-size: 2.1rem; }
.shift-copy p { margin: 0 0 14px; }

.feature-stack { display: grid; gap: 0; }
.feature-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 18px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    animation: riseIn 0.7s ease both;
}
.feature-row:nth-child(2) { animation-delay: 0.08s; }
.feature-row:nth-child(3) { animation-delay: 0.16s; }
.feature-row:nth-child(4) { animation-delay: 0.24s; }
.feature-idx {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 2rem;
    color: var(--gold);
    line-height: 1;
}
.feature-row h3 { font-size: 1.35rem; margin-bottom: 6px; }
.feature-row p { margin: 0; color: var(--mute); }
.band-navy .feature-row p { color: #c9d4e0; }

.cta-gold,
.cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 13px;
}
.cta-gold { background: var(--gold); color: var(--navy); }
.cta-gold:hover { background: var(--gold-bright); color: var(--navy); }
.cta-ghost { border: 1px solid var(--gold); color: var(--gold); }
.cta-ghost:hover { background: rgba(196, 163, 90, 0.12); color: var(--gold-bright); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.page-intro { padding: 56px 0 12px; }
.page-intro h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }

.page-shop .page-intro {
    background: var(--navy);
    color: #e6edf4;
    padding: 56px 0 48px;
}
.page-shop .page-intro h1 { color: #fff; }
.page-shop .page-intro .lead { color: #c9d4e0; }

.band-store { background: #fff; }
.page-shop .band-sheet { background: #d7e3ee; }

.belief-list { display: grid; gap: 28px; margin-top: 8px; }
.belief-item { display: grid; grid-template-columns: 42px 1fr; gap: 16px; }
.belief-item i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--gold);
    border: 1px solid var(--line);
    font-size: 16px;
}
.belief-item p { margin: 0; color: var(--mute); }

.portrait {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.step-track { position: relative; margin: 36px 0 12px; padding-left: 28px; }
.step-track::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--line);
}
.step {
    position: relative;
    margin-bottom: 28px;
}
.step::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 8px;
    width: 9px;
    height: 9px;
    background: var(--gold);
}
.step h3 { font-size: 1.45rem; }
.step p { margin: 0; color: var(--mute); }

.shot-offset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}
.shot-offset img:nth-child(odd) { margin-top: 28px; }
.shot-offset img { width: 100%; height: 220px; object-fit: cover; }

.tips { margin: 0; padding: 0; list-style: none; }
.tips li {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}
.tips i { color: var(--gold); margin-top: 4px; }

.faq-list { display: grid; gap: 10px; }
.faq-item {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: transparent;
}
.faq-item + .faq-item { border-top: 0; }
.faq-item summary {
    cursor: pointer;
    padding: 18px 4px;
    font-weight: 650;
    color: var(--navy);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 18px; color: var(--mute); max-width: 46em; }

.reach {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: start;
}
.reach-photo img { width: 100%; height: 420px; object-fit: cover; }
.reach-list { display: grid; gap: 0; }
.reach-row {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
.reach-row i { color: var(--gold); font-size: 18px; margin-top: 4px; }
.reach-row h3 { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.reach-row p, .reach-row a { margin: 0; color: var(--ink); }

.store-notes {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    gap: 10px;
}
.store-notes li { display: flex; gap: 10px; color: var(--mute); }
.store-notes i { color: var(--gold); margin-top: 4px; }

.money-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 22px;
}
.money-bar span { font-size: 13px; font-weight: 700; color: var(--mute); }
.money-btn {
    border: 1px solid var(--line);
    background: transparent;
    color: var(--navy);
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 700;
}
.money-btn.is-on { background: var(--navy); color: #fff; }

.pack-table { width: 100%; border-collapse: collapse; }
.pack-scroll {
    max-height: 320px;
    overflow-y: auto;
    border: 1px solid var(--line);
    background: var(--paper);
    padding: 4px 8px;
    -webkit-overflow-scrolling: touch;
}
.pack-scroll::-webkit-scrollbar { width: 8px; }
.pack-scroll::-webkit-scrollbar-thumb { background: var(--gold); }
.pack-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(11, 31, 58, 0.08);
    cursor: pointer;
    background: transparent;
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
}
.pack-row.is-on { background: rgba(196, 163, 90, 0.14); }
.pack-row img { width: 48px; height: 48px; object-fit: contain; }
.pack-title { font-weight: 700; color: var(--navy); }
.pack-price { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.4rem; color: var(--gold); }
.pack-wait, .pack-empty { padding: 28px 8px; color: var(--mute); }

.order-desk {
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); }
.field input[type="text"],
.field input[type="email"] {
    border: 0;
    border-bottom: 1px solid var(--navy);
    background: transparent;
    padding: 10px 0;
    font: inherit;
    color: var(--ink);
}
.field input[readonly] { color: var(--mute); }
.picked {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--navy);
    color: var(--mute);
}
.picked.has-on { color: var(--navy); font-weight: 650; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-opt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    padding: 10px 12px;
    cursor: pointer;
    font-weight: 600;
}
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt.is-on { border-color: var(--gold); background: rgba(196, 163, 90, 0.12); }
.pay-opt i { color: var(--navy); font-size: 18px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.agree a { text-decoration: underline; }
.trap { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.hint { color: var(--danger); font-size: 0.85rem; min-height: 1.1em; }
.alert {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    color: var(--danger);
    font-weight: 600;
}
.confirm-btn {
    border: 0;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 18px;
    cursor: pointer;
    width: 100%;
}
.confirm-btn:hover { background: var(--gold-bright); }

.receipt {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 520px;
}
.receipt-stamp {
    background: var(--navy);
    color: var(--gold);
    padding: 36px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.receipt-stamp h1 { color: #fff; font-size: 2rem; }
.receipt-body { padding: 36px 32px; background: var(--sheet); }
.receipt-table { width: 100%; border-collapse: collapse; }
.receipt-table th {
    text-align: left;
    width: 140px;
    padding: 10px 0;
    color: var(--mute);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.receipt-table td { padding: 10px 0; border-bottom: 1px solid rgba(11, 31, 58, 0.08); }
.receipt-total { color: var(--gold); font-size: 1.3rem; font-weight: 700; }
.count { font-family: "Cormorant Garamond", Georgia, serif; font-size: 3rem; color: var(--gold); margin: 8px 0; }

.status-band { padding: 88px 0; text-align: left; }
.status-band h1 { font-size: 2.6rem; }
.status-ok { background: #e8f3ec; }
.status-bad { background: #f8eceb; }
.status-icon { font-size: 2.2rem; color: var(--gold); margin-bottom: 12px; }
.status-bad .status-icon { color: var(--danger); }

.legal { padding: 48px 0 80px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.35rem; margin-top: 28px; }
.legal h3 { font-size: 1.1rem; margin-top: 16px; }
.legal p { color: var(--mute); }
.legal-date { text-align: right; font-style: italic; color: var(--mute); }

.base {
    background: var(--navy);
    color: #c9d4e0;
    padding: 36px 0 28px;
    margin-top: auto;
}
.base-grid { display: grid; gap: 18px; }
.base-brand { display: flex; gap: 14px; align-items: center; }
.base-brand img { height: 48px; width: auto; }
.base-brand strong { display: block; color: #fff; }
.base-brand span { display: block; font-size: 0.9rem; }
.base-nav { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.base-nav a { color: #d7e0ea; font-size: 0.92rem; }
.base-nav a:hover { color: var(--gold); }
.base-copy { margin: 0; font-size: 0.85rem; color: #8ea0b3; }

@media (max-width: 900px) {
    .mast-toggle { display: grid; place-items: center; }
    .mast-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: var(--mast);
        background: var(--navy);
        padding: 12px 18px 22px;
        border-bottom: 1px solid var(--line);
    }
    .mast-nav.is-open { display: block; }
    .mast-nav ul { flex-direction: column; align-items: stretch; }
    .mast-link--shop { margin-left: 0; justify-content: center; }
    .shift, .shift.is-flip, .reach, .order-desk, .receipt { grid-template-columns: 1fr; }
    .shift.is-flip .shift-visual { order: 0; }
    .shot-offset { grid-template-columns: 1fr; }
    .shot-offset img:nth-child(odd) { margin-top: 0; }
    .overture { min-height: 78vh; }
    .overture-copy { margin-left: 0; padding: 48px 22px 56px; }
    .receipt-stamp { min-height: 180px; }
}

@media (max-width: 560px) {
    .play-row img { height: 46px; }
    .pack-row { grid-template-columns: 44px 1fr auto; }
}
