/* monopole.bar - Art Deco speakeasy meets particle physics */

:root {
    --gold: #c9a84c;
    --champagne: #e8d5a3;
    --midnight: #0d0b1a;
    --burgundy: #3d0f1e;
    --parchment: #f5f0e1;
    --sapphire: #1a2744;
    --emerald: #1a3c2e;
    --ivory: #f0ece0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Baskerville', serif;
    font-weight: 400;
    color: var(--ivory);
    background: var(--midnight);
    overflow-x: hidden;
    line-height: 1.85;
    font-size: 17px;
}

/* Navigation progress line */
#nav-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
    z-index: 200;
}

#nav-diamond {
    position: fixed;
    top: -3px;
    left: 0;
    width: 8px;
    height: 8px;
    background: var(--gold);
    transform: rotate(45deg);
    transition: left 100ms linear;
    z-index: 201;
}

/* Sections */
.section {
    position: relative;
}

/* Diamond small */
.diamond-sm {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
}

/* Gold rule */
.gold-rule {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 24px 0;
}

/* Section label */
.section-label {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 24px;
}

.section-label-center {
    text-align: center;
    margin-bottom: 48px;
}

/* Fade-up animation */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms cubic-bezier(0.25, 0, 0.25, 1), transform 800ms cubic-bezier(0.25, 0, 0.25, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section 1: The Marquee */
.section-marquee {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--midnight);
    position: relative;
    overflow: hidden;
}

.deco-frame {
    position: absolute;
    width: 80vw;
    max-width: 600px;
    height: auto;
}

.frame-path {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: drawFrame 3s ease forwards;
}

.frame-path:nth-child(1) { animation-delay: 0s; }
.frame-path:nth-child(2) { animation-delay: 0.5s; }
.frame-path:nth-child(n+3) { animation-delay: 1s; }

@keyframes drawFrame {
    to { stroke-dashoffset: 0; }
}

.marquee-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.marquee-title {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 64px;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.marquee-rule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 24px 0;
}

.rule-line {
    display: block;
    width: 120px;
    height: 1px;
    background: var(--gold);
}

.marquee-tagline {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--champagne);
    opacity: 0.8;
}

/* Section 2: The Menu Board */
.section-menu {
    min-height: 200vh;
    background: var(--midnight);
    clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 100%);
    padding: 120px 0 80px;
}

.menu-grid {
    display: grid;
    grid-template-columns: 3fr 1px 2fr;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 80vh;
}

.menu-col {
    padding: 48px;
}

.menu-col-left {
    background: var(--midnight);
}

.menu-col-right {
    background: var(--burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-divider {
    background: var(--gold);
    width: 1px;
}

.menu-heading {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 42px;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.menu-text {
    color: var(--ivory);
    opacity: 0.85;
    margin-bottom: 24px;
}

.cocktail-art {
    opacity: 0.8;
}

/* Section 3: The Gallery of Fields */
.section-gallery {
    background: var(--midnight);
    clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 calc(100% - 4vw));
    padding: 120px 24px;
}

.gallery-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.gallery-card {
    width: 28vw;
    min-width: 260px;
    max-width: 340px;
    min-height: 70vh;
    border-radius: 16px 16px 0 0;
    border: 1px solid var(--gold);
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.card-sapphire { background: var(--sapphire); }
.card-burgundy { background: var(--burgundy); }
.card-emerald { background: var(--emerald); }

.mandala {
    margin-top: 24px;
}

.card-title {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 28px;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.card-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 15px;
    color: var(--ivory);
    opacity: 0.8;
    line-height: 1.85;
}

/* Section 4: The Back Room */
.section-backroom {
    min-height: 100vh;
    background: var(--midnight);
    clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 calc(100% - 4vw));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
}

.backroom-rule-top,
.backroom-rule-bottom {
    width: 100%;
    height: 1px;
    background: var(--gold);
    opacity: 0.4;
}

.backroom-quote {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 52px;
    color: var(--gold);
    text-align: center;
    max-width: 60vw;
    line-height: 1.4;
    padding: 64px 0;
    letter-spacing: 0.06em;
}

/* Section 5: The Check */
.section-check {
    min-height: 50vh;
    background: var(--parchment);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    gap: 32px;
}

.check-domain {
    font-family: 'Poiret One', cursive;
    font-weight: 400;
    font-size: 28px;
    color: var(--midnight);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.check-border {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    max-width: 600px;
}

.chevron {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 6px solid var(--gold);
    opacity: 0.5;
}

.check-closing {
    font-family: 'Libre Baskerville', serif;
    font-size: 16px;
    color: var(--midnight);
    opacity: 0.7;
}

/* Mobile */
@media (max-width: 768px) {
    .marquee-title {
        font-size: 36px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-divider {
        width: 100%;
        height: 1px;
    }

    .gallery-cards {
        flex-direction: column;
        align-items: center;
    }

    .gallery-card {
        width: 90vw;
        min-height: 50vh;
    }

    .backroom-quote {
        font-size: 32px;
        max-width: 90vw;
    }

    .deco-frame {
        width: 95vw;
    }
}
