:root {
    --obsidian: #100b08;
    --obsidian-elevated: #19120e;
    --parchment: #f4ede0;
    --parchment-deep: #ebe1cf;

    --ink-dark: #1d1510;
    --ink-muted: #584a40;
    --ink-light: #f6efe4;
    --ink-light-muted: #c9bba9;

    --gold: #d4a24c;
    --gold-hover: #e2b462;
    --crimson: #8f2424;

    --rule-dark: rgba(29, 21, 16, 0.14);
    --rule-light: rgba(212, 162, 76, 0.28);

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1160px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--obsidian);
    color: var(--ink-light);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 28px;
}

/* Act I: Cinema Poster Hero */
.hero-poster {
    position: relative;
    min-height: 94svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background-color: var(--obsidian);
}

.poster-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
}

.poster-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(16, 11, 8, 0.52) 0%,
        rgba(16, 11, 8, 0.14) 36%,
        rgba(16, 11, 8, 0.72) 66%,
        rgba(16, 11, 8, 0.98) 96%,
        var(--obsidian) 100%
    );
}

.poster-topbar {
    position: relative;
    z-index: 2;
    padding-top: 24px;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.topbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--ink-light);
}

.topbar-brand img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    flex-shrink: 0;
}

.topbar-right {
    display: inline-flex;
    align-items: center;
    gap: 20px;
}

.topbar-email {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    color: var(--ink-light);
    opacity: 0.88;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.topbar-email:hover {
    opacity: 1;
    color: var(--gold);
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(246, 239, 228, 0.28);
    background-color: rgba(16, 11, 8, 0.55);
    border-radius: 10px;
    overflow: hidden;
}

.lang-item {
    padding: 7px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--ink-light-muted);
    border-right: 1px solid rgba(246, 239, 228, 0.2);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-item:last-child {
    border-right: none;
}

.lang-item:hover {
    color: var(--ink-light);
}

.lang-item.is-active {
    background-color: var(--gold);
    color: var(--obsidian);
}

.poster-content {
    position: relative;
    z-index: 2;
    padding-top: 260px;
    padding-bottom: 56px;
}

.poster-kicker {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.poster-title {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.01em;
    color: var(--ink-light);
    max-width: 16ch;
}

.poster-subtitle {
    margin: 0 0 36px;
    font-size: 1.03125rem;
    color: var(--ink-light-muted);
    max-width: 54ch;
}

.poster-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--rule-light);
}

.countdown-row {
    display: flex;
    align-items: baseline;
    gap: 32px;
}

.countdown-unit-block {
    display: flex;
    flex-direction: column;
    padding-right: 32px;
    border-right: 1px solid var(--rule-light);
}

.countdown-unit-block:last-child {
    padding-right: 0;
    border-right: none;
}

.countdown-num {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.8vw, 3.25rem);
    font-weight: 700;
    line-height: 0.95;
    font-variant-numeric: tabular-nums;
    color: var(--ink-light);
}

.countdown-label {
    margin-top: 8px;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
}

.countdown-done {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.65rem;
    color: var(--gold);
}

.poster-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid var(--gold);
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.poster-cta:hover {
    background-color: var(--gold);
    color: var(--obsidian);
}

/* Act II: Parchment Editorial Spread */
.editorial-spread {
    background-color: var(--parchment);
    color: var(--ink-dark);
    padding: 96px 0;
}

.spread-grid {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: 72px;
    align-items: center;
}

.spread-crest img {
    width: 100%;
    border-radius: 16px;
    filter: drop-shadow(0 14px 28px rgba(29, 21, 16, 0.12));
}

.eyebrow {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--crimson);
}

.eyebrow-gold {
    color: var(--gold);
}

.spread-title {
    margin: 0 0 18px;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--ink-dark);
}

.spread-intro {
    margin: 0 0 36px;
    font-size: 1.03125rem;
    color: var(--ink-muted);
    max-width: 52ch;
}

.tasting-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--rule-dark);
}

.tasting-item {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--rule-dark);
}

.tasting-name {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink-dark);
}

.tasting-note {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ink-muted);
}

/* AEO / GEO Quick Answers */
.faq-block {
    margin-top: 40px;
}

.faq-eyebrow {
    margin-bottom: 14px;
}

.faq-list {
    border-top: 1px solid var(--rule-dark);
}

.faq-item {
    border-bottom: 1px solid var(--rule-dark);
}

.faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 4px;
    font-size: 0.96875rem;
    font-weight: 700;
    color: var(--ink-dark);
    cursor: pointer;
    border-radius: 8px;
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--crimson);
}

.faq-icon {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--crimson);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    margin: 0;
    padding: 0 4px 18px;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--ink-muted);
}

/* Act III: Obsidian Location Band */
.location-band {
    background-color: var(--obsidian);
    color: var(--ink-light);
    padding: 88px 0;
    border-top: 1px solid var(--rule-light);
}

.location-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 56px;
    align-items: stretch;
}

.location-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-title {
    margin: 0 0 32px;
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.4vw, 2.85rem);
    font-weight: 400;
    line-height: 1.12;
    color: var(--ink-light);
}

.location-meta {
    display: grid;
    gap: 24px;
    margin-bottom: 36px;
}

.meta-block {
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(246, 239, 228, 0.12);
}

.meta-label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
}

.meta-value {
    margin: 0;
    font-size: 1.0625rem;
    color: var(--ink-light);
}

.email-link {
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
    transition: color 0.2s ease;
}

.email-link:hover {
    color: var(--gold);
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-gold,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--obsidian);
    border: 1px solid var(--gold);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
}

.btn-ghost {
    background-color: transparent;
    color: var(--ink-light);
    border: 1px solid rgba(246, 239, 228, 0.3);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.location-map {
    min-height: 360px;
    border: 1px solid var(--rule-light);
    border-radius: 16px;
    background-color: var(--obsidian-elevated);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    display: block;
    filter: sepia(22%) contrast(96%) brightness(92%);
    transition: filter 0.3s ease;
}

.location-map:hover iframe {
    filter: none;
}

/* Colophon Footer */
.site-footer {
    background-color: var(--obsidian);
    border-top: 1px solid rgba(246, 239, 228, 0.1);
    padding: 24px 0;
    font-size: 0.8125rem;
    color: var(--ink-light-muted);
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-brand {
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-dev-link {
    color: var(--gold);
    border-bottom: 1px solid rgba(212, 162, 76, 0.45);
    padding-bottom: 1px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-dev-link:hover {
    color: var(--gold-hover);
    border-color: var(--gold-hover);
}

/* Responsive */
@media (max-width: 980px) {
    .spread-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .spread-crest {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 680px) {
    .container {
        padding: 0 20px;
    }

    .topbar-email {
        display: none;
    }

    .hero-poster {
        min-height: auto;
    }

    .poster-content {
        padding-top: 220px;
        padding-bottom: 44px;
    }

    .countdown-row {
        gap: 18px;
    }

    .countdown-unit-block {
        padding-right: 18px;
    }

    .tasting-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .editorial-spread,
    .location-band {
        padding: 64px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.05s !important;
        animation-duration: 0.05s !important;
    }
}
