/* ============================================================
   VAS EVENTS — shared styles
   Monochrome system, dark mode: paper is near-black, ink is light.
   Accent panels flip to light for contrast/rhythm.
   ============================================================ */

:root {
    --ink: #f4f4f4;          /* primary text / light marks */
    --paper: #0b0b0b;        /* page background */
    --surface: #161616;      /* elevated cards (were white) */
    --panel: #f1f1f1;        /* light accent panel (was near-black) */
    --panel-ink: #0b0b0b;    /* text on the light accent panel */
    --line: #272727;         /* borders on the dark page */
    --line-dark: #d9d9d9;    /* dividers on light accent panels */
    --grey: #9a9a9a;
    --grey-soft: #161616;

    --font-display: 'Syne', sans-serif;
    --font-body: 'Archivo', sans-serif;
    --font-mono: 'Space Mono', monospace;

    --radius: 14px;
    --radius-lg: 20px;
    --nav-h: 60px;
    --pad-x: clamp(16px, 4vw, 44px);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::selection { background: var(--ink); color: var(--paper); }

img { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    border-radius: 4px;
}

main { flex: 1; }

/* ---------- helpers ---------- */

.wrap { max-width: 1180px; margin: 0 auto; }

.section { padding: clamp(30px, 4.2vw, 56px) var(--pad-x); }

.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--grey);
    display: block;
    margin-bottom: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    border: 1px solid var(--ink);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); }

.btn-ghost { background: transparent; color: var(--ink); }

.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* links/buttons with no destination yet — shown muted & non-clickable */
.is-disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: default;
    transform: none !important;
    box-shadow: none !important;
}

/* ---------- nav ---------- */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 var(--pad-x);
    background: rgba(11, 11, 11, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

/* text wordmark (replaces the logo image) */
.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink);
    white-space: nowrap;
}

.nav-logo .wm-soft { color: var(--grey); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    color: var(--grey);
    transition: color 0.15s ease;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a[aria-current="page"] {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 1.5px;
}

.nav-links .nav-pill {
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 9px 20px;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-links .nav-pill:hover { background: var(--ink); color: var(--paper); }

.nav-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    cursor: pointer;
    align-items: center;
    z-index: 70;
}

.nav-burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* mobile menu — the 3-line burger opens a dropdown panel under the nav */
@media (max-width: 859px) {
    /* solid nav on mobile so the dropdown reads against it */
    .site-nav {
        background: var(--paper);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-burger { display: flex; }

    /* dropdown anchored to the bottom edge of the nav bar */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 60;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px var(--pad-x) 12px;
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-links a {
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 500;
        color: var(--ink);
        padding: 15px 2px;
        border-bottom: 1px solid var(--line);
    }

    .nav-links a:last-child { border-bottom: none; }

    .nav-links a[aria-current="page"] {
        text-decoration: none;
        color: var(--ink);
        font-weight: 600;
    }

    /* in the dropdown the "Contact us" pill becomes a normal row */
    .nav-links .nav-pill {
        border: none;
        border-radius: 0;
        padding: 15px 2px;
    }

    .nav-links .nav-pill:hover { background: none; color: var(--ink); }

    body.menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }

    /* 3 lines collapse into an X (middle line fades) */
    body.menu-open .nav-burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
    body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- footer ---------- */

.site-footer {
    background: var(--panel);
    color: #4a4a4a;
    padding: clamp(56px, 7vw, 80px) var(--pad-x) 0;
    margin-top: auto;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

/* text wordmark (replaces the logo image) */
.footer-brand .footer-wm {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 19px;
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--panel-ink);
    margin-bottom: 18px;
}

.footer-brand .footer-wm .wm-soft { color: #8a8a8a; }

.footer-brand p { font-size: 13.5px; max-width: 30ch; color: #5c5c5c; }

.footer-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8a8a8a;
    display: block;
    margin-bottom: 18px;
}

.footer-col a {
    display: block;
    font-size: 13.5px;
    text-decoration: none;
    color: #4a4a4a;
    margin-bottom: 12px;
    transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--panel-ink); }

.footer-col .footer-soon {
    font-family: var(--font-mono);
    font-size: 12px;
    color: #8a8a8a;
}

.footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    border-top: 1px solid var(--line-dark);
    padding: 22px 0 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #777777;
}

@media (max-width: 720px) {
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- reveal on scroll (only hidden when JS is running) ---------- */

html.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    html.js .reveal { opacity: 1; transform: none; transition: none; }
    .btn:hover { transform: none; }
    * { animation-duration: 0.001s !important; }
}

/* ---------- partner party promo (injected by site.js) ---------- */

.promo-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.promo-overlay.open { opacity: 1; pointer-events: auto; }

.promo-card {
    position: relative;
    width: min(400px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-align: center;
    transform: translateY(14px) scale(0.98);
    transition: transform 0.25s ease;
}

.promo-overlay.open .promo-card { transform: none; }

.promo-poster {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    display: block;
    margin-bottom: 16px;
    background: #0e0e0e;
}

.promo-card .eyebrow { margin-bottom: 8px; }

.promo-card h3 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.promo-card p {
    color: var(--grey);
    font-size: 13.5px;
    margin-bottom: 16px;
}

.promo-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo-actions .btn { justify-content: center; }

.promo-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.promo-close:hover { background: rgba(0, 0, 0, 0.8); }
