/* ════════════════════════════════════════════════
   Bar Necessities — Art Deco Cocktail Bar
   Dark, warm, gold-accented. Playfair Display for
   headlines, DM Sans for body. The feel is a menu
   card at a very good bar.
   ════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg:         #0E0B13;
    --bg-warm:    #141019;
    --surface:    #181523;
    --gold:       #C4803A;
    --gold-light: #E0BB70;
    --gold-pale:  #D4AA60;
    --text:       #EDE8F4;
    --text-dim:   #8E88A8;
    --text-faint: #504C68;
    --rule:       rgba(196, 128, 58, 0.25);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ── Noise grain overlay ── */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* ════════ Hero ════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 60px 24px;
}

.hero-glow {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(196, 128, 58, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-rule {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
    opacity: 0.5;
}

.hero-rule.top { margin-bottom: 36px; }
.hero-rule.bottom { margin-top: 36px; margin-bottom: 28px; }

.jigger {
    width: 36px;
    height: auto;
    display: block;
    margin: 0 auto 40px;
    opacity: 0.85;
}

.jigger-sm { width: 24px; margin-bottom: 28px; }

h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.tagline {
    font-size: 1.05rem;
    color: var(--text-dim);
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.badge {
    display: inline-block;
    transition: opacity 0.2s;
}
.badge:hover { opacity: 0.8; }
.badge img { display: block; }

/* ════════ Pitch ════════ */

.pitch {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 24px 100px;
    text-align: center;
}

.pitch p {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    color: var(--text-dim);
    line-height: 1.75;
}

.pitch p + p { margin-top: 12px; }

.pitch em {
    color: var(--gold-pale);
    font-style: italic;
}

/* ════════ Cards ════════ */

.cards {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 760px) {
    .cards { grid-template-columns: 1fr; gap: 16px; }
}

.card {
    background: var(--surface);
    border: 1px solid var(--rule);
    padding: 36px 28px;
    position: relative;
}

.card-number {
    font-family: 'Playfair Display', serif;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 16px;
    opacity: 0.7;
}

.card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
    line-height: 1.25;
}

.card p {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ════════ Stats Ribbon ════════ */

.ribbon {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: flex;
    justify-content: center;
    gap: 64px;
    text-align: center;
}

@media (max-width: 600px) {
    .ribbon {
        flex-direction: column;
        gap: 36px;
        padding: 40px 24px 60px;
    }
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--gold-light);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-faint);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* ════════ Close ════════ */

.close {
    text-align: center;
    padding: 80px 24px 60px;
}

.close-rule {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 36px;
    opacity: 0.4;
}

.close-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.close-sub {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 32px;
}

/* ════════ Footer ════════ */

footer {
    text-align: center;
    padding: 48px 24px;
    border-top: 1px solid rgba(80, 76, 104, 0.15);
}

footer nav {
    margin-bottom: 12px;
}

footer a {
    color: var(--text-faint);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
    margin: 0 16px;
}

footer a:hover { color: var(--gold); }

footer small {
    color: var(--text-faint);
    font-size: 0.7rem;
    opacity: 0.5;
    display: block;
}

footer small a {
    margin: 0;
    font-size: inherit;
}

/* ════════ Entrance Animations ════════ */

@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: arrive 1s ease-out;
    }

    .card {
        opacity: 0;
        animation: cardIn 0.5s ease-out forwards;
    }
    .card:nth-child(1) { animation-delay: 0.05s; }
    .card:nth-child(2) { animation-delay: 0.12s; }
    .card:nth-child(3) { animation-delay: 0.19s; }

    .stat {
        opacity: 0;
        animation: arrive 0.6s ease-out forwards;
    }
    .stat:nth-child(1) { animation-delay: 0.1s; }
    .stat:nth-child(2) { animation-delay: 0.2s; }
    .stat:nth-child(3) { animation-delay: 0.3s; }

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

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