/* ---------------------------------------------------
   Synodic — tokens
   A dark house, a lit stage: theatre palette, not
   the usual near-black + single neon accent.
--------------------------------------------------- */
:root {
    --void:      #0b0908;   /* backstage black, warm not blue */
    --curtain:   #3b0f1a;   /* velvet maroon */
    --curtain-2: #59182a;   /* velvet highlight fold */
    --brass:     #c9a227;   /* proscenium trim / marquee bulbs */
    --amber:     #f2c879;   /* spotlight / projector beam */
    --cream:     #ede3d0;   /* marquee lettering, paper */
    --smoke:     #a89c8f;   /* body copy */

    --sx: 50%;
    --sy: 45%;
    --tiltx: 0deg;
    --tilty: 0deg;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: var(--void);
}

body {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    color: var(--smoke);
}

a { color: inherit; }

/* ---------------------------------------------------
   Atmosphere — grain, spotlight, letterbox
--------------------------------------------------- */
.grain {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    z-index: 5;
    opacity: 0.05;
    pointer-events: none;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    animation: grain 0.7s steps(2) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(-2%, 2%); }
}

.spotlight {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    background:
            radial-gradient(560px 560px at var(--sx) var(--sy), rgba(242, 200, 121, 0.16), transparent 55%),
            radial-gradient(900px 900px at var(--sx) var(--sy), rgba(201, 162, 39, 0.08), transparent 65%),
            radial-gradient(140% 120% at 50% 100%, var(--curtain), var(--void) 55%);
    animation: ignite 1.1s ease-out 0.9s forwards;
}

@keyframes ignite {
    to { opacity: 1; }
}

.letterbox {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 3;
    height: clamp(10px, 3vh, 26px);
    background: var(--void);
    pointer-events: none;
}
.letterbox--top    { top: 0; border-bottom: 1px solid rgba(201, 162, 39, 0.35); }
.letterbox--bottom { bottom: 0; border-top: 1px solid rgba(201, 162, 39, 0.35); }

/* ---------------------------------------------------
   Curtain reveal — the opening night moment
--------------------------------------------------- */
.curtain {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 10;
    pointer-events: none;
    background:
            repeating-linear-gradient(
                    90deg,
                    var(--curtain-2) 0px,
                    var(--curtain) 22px,
                    var(--curtain-2) 44px
            );
    box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.6);
}

.curtain--left {
    left: 0;
    border-right: 3px solid var(--brass);
    animation: openLeft 1.5s cubic-bezier(0.76, 0, 0.24, 1) 0.65s forwards;
}
.curtain--right {
    right: 0;
    border-left: 3px solid var(--brass);
    animation: openRight 1.5s cubic-bezier(0.76, 0, 0.24, 1) 0.65s forwards;
}

@keyframes openLeft  { to { transform: translateX(-100%); } }
@keyframes openRight { to { transform: translateX(100%); } }

/* ---------------------------------------------------
   Stage content
--------------------------------------------------- */
.stage {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 24px;
    max-width: 720px;
    transform: perspective(1200px) rotateX(var(--tiltx)) rotateY(var(--tilty));
}

.eyebrow {
    margin: 0 0 14px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--amber);
    opacity: 0;
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.5s forwards;
}

.marquee {
    margin: 0 0 16px;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(3.2rem, 11vw, 7rem);
    letter-spacing: 0.06em;
    line-height: 1;
    color: var(--cream);
    opacity: 0;
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.65s forwards;
}

.marquee span span {
    display: inline-block;
    animation: bulbChase 3s ease-in-out infinite;
}
.marquee span span:nth-child(1) { animation-delay: 0.00s; }
.marquee span span:nth-child(2) { animation-delay: 0.14s; }
.marquee span span:nth-child(3) { animation-delay: 0.28s; }
.marquee span span:nth-child(4) { animation-delay: 0.42s; }
.marquee span span:nth-child(5) { animation-delay: 0.56s; }
.marquee span span:nth-child(6) { animation-delay: 0.70s; }
.marquee span span:nth-child(7) { animation-delay: 0.84s; }

.marquee:hover span span {
    animation-duration: 1s;
}

@keyframes bulbChase {
    0%, 100% { text-shadow: 0 0 8px rgba(201, 162, 39, 0.2); color: var(--cream); }
    50%      { text-shadow: 0 0 22px rgba(242, 200, 121, 0.85), 0 0 46px rgba(201, 162, 39, 0.45); color: #fff8ea; }
}

.tagline {
    margin: 0 0 18px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.1rem, 2.4vw, 1.4rem);
    color: var(--cream);
    opacity: 0;
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.8s forwards;
}

.lede {
    margin: 0 0 36px;
    font-size: clamp(0.95rem, 1.6vw, 1.05rem);
    line-height: 1.65;
    max-width: 46ch;
    opacity: 0;
    animation: rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.95s forwards;
}

@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------
   The bill — two divisions, side by side
--------------------------------------------------- */
.bill {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: 100%;
    margin-bottom: 36px;
    opacity: 0;
    animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 2.1s forwards;
}

.card {
    position: relative;
    padding: 26px 22px;
    border: 1px solid rgba(201, 162, 39, 0.28);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.05), transparent 60%);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 162, 39, 0.7);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(242, 200, 121, 0.08);
}

.card__icon {
    width: 34px;
    height: 34px;
    color: var(--brass);
    margin-bottom: 14px;
}

.card__title {
    margin: 0 0 4px;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--cream);
}

.card__tag {
    margin: 0;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
}

.card__rule {
    margin: 14px 0;
    border: none;
    border-top: 1px dashed rgba(201, 162, 39, 0.3);
}

.card__desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--smoke);
}

/* ---------------------------------------------------
   Actions — support + donate
--------------------------------------------------- */
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    opacity: 0;
    animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 2.3s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    font-size: 12.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--brass);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn--ghost {
    color: var(--cream);
    background: transparent;
}
.btn--ghost:hover {
    background: rgba(201, 162, 39, 0.1);
    box-shadow: 0 0 24px rgba(242, 200, 121, 0.15);
    transform: translateY(-2px);
}

.btn--fill {
    color: var(--void);
    background: linear-gradient(180deg, var(--amber), var(--brass));
}
.btn--fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(242, 200, 121, 0.25);
}

.btn__icon {
    width: 16px;
    height: 16px;
}

/* ---------------------------------------------------
   Responsive
--------------------------------------------------- */
@media (max-width: 640px) {
    .bill { grid-template-columns: 1fr; }
    .actions { flex-direction: column; width: 100%; }
    .btn { justify-content: center; }
}

/* ---------------------------------------------------
   Accessibility
--------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .curtain { animation: none !important; transform: translateX(-100%); }
    .curtain--right { transform: translateX(100%); }
    .spotlight { animation: none !important; opacity: 1; }
    .grain { animation: none !important; opacity: 0.03; }
    .marquee span span { animation: none !important; }
    .eyebrow, .marquee, .tagline, .lede, .bill, .actions {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .card, .btn { transition: none; }
}