/* =====================================================================
   MAGGIECHOOS — shared stylesheet
   Used by: /index.html, /chow/index.html, /nest/index.html
   ===================================================================== */


/* ---------- Reset ---------- */

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

html,
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
    margin: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
}

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

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

button,
input,
textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
}

button {
    cursor: pointer;
}


/* ---------- Design tokens ---------- */

:root {
    /* Base palette — one unified dark-elegant theme */
    --color-bg: #0b0a08;
    --color-bg-alt: #141210;
    --color-surface: #1b1815;
    --color-surface-2: #211d19;
    --color-line: rgba(243, 237, 226, 0.10);
    --color-line-strong: rgba(243, 237, 226, 0.22);
    --color-text: #f3ede2;
    --color-text-muted: #b3a998;
    --color-text-faint: #7d7565;
    /* Shared accent — brass/gold */
    --color-accent: #c9a24b;
    --color-accent-soft: #e8cf8a;
    --color-accent-dim: #8a6f30;
    /* Per-venue accent (overridden per page via [data-venue]) */
    --venue-accent: var(--color-accent);
    --venue-accent-soft: var(--color-accent-soft);
    --font-display: 'Fraunces', 'Noto Serif Thai', serif;
    --font-body: 'Manrope', 'Noto Sans Thai', sans-serif;
    --container: 1240px;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --section-pad: clamp(4rem, 10vw, 8rem);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-s: 0.4s;
    --dur-m: 0.8s;
    --dur-l: 1.2s;
}

body[data-venue="chow"] {
    --venue-accent: #b5583f;
    --venue-accent-soft: #d98f6f;
}

body[data-venue="nest"] {
    --venue-accent: #3f8f8a;
    --venue-accent-soft: #7fc4bd;
}


/* ---------- Base ---------- */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

::selection {
    background: var(--venue-accent);
    color: #0b0a08;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.15;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--venue-accent-soft);
    font-weight: 600;
}

.eyebrow::before {
    content: "";
    width: 2.2em;
    height: 1px;
    background: var(--venue-accent);
}

.section {
    padding: var(--section-pad) 0;
    position: relative;
}

.section--alt {
    background: var(--color-bg-alt);
}

.section-head {
    max-width: 640px;
    margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.section-head h2 {
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    margin-top: 0.6em;
}

.section-head p {
    margin-top: 1.1em;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.section-head--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/* ---------- Reveal-on-scroll base states ---------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

[data-reveal-scale] {
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

[data-reveal-scale].is-visible {
    opacity: 1;
    transform: none;
}


/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.95em 1.9em;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: transform var(--dur-s) var(--ease), background var(--dur-s) var(--ease), color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
    white-space: nowrap;
}

.btn--solid {
    background: var(--venue-accent);
    color: #0b0a08;
}

.btn--solid:hover {
    background: var(--venue-accent-soft);
    transform: translateY(-2px);
}

.btn--outline {
    border: 1px solid var(--color-line-strong);
    color: var(--color-text);
}

.btn--outline:hover {
    border-color: var(--venue-accent);
    color: var(--venue-accent-soft);
    transform: translateY(-2px);
}

.btn--ghost {
    color: var(--venue-accent-soft);
    padding-left: 0;
    padding-right: 0;
}

.btn--ghost::after {
    content: "→";
    transition: transform var(--dur-s) var(--ease);
}

.btn--ghost:hover::after {
    transform: translateX(6px);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}


/* ---------- Nav ---------- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 500;
    padding: 1.6rem 0;
    transition: padding var(--dur-s) var(--ease), background var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease);
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    padding: 1rem 0;
    background: rgba(11, 10, 8, 0.86);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--color-line);
}

.nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.06em;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.brand small {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 0.24em;
    color: var(--color-text-faint);
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(1.4rem, 3vw, 2.6rem);
}

.nav-link {
    position: relative;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--color-text-muted);
    transition: color var(--dur-s) var(--ease);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 1px;
    background: var(--color-accent);
    transition: right var(--dur-s) var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    right: 0;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--color-line-strong);
    border-radius: 999px;
    padding: 0.3rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.lang-toggle button {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    color: var(--color-text-faint);
    transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease);
}

.lang-toggle button.is-active {
    background: var(--color-accent);
    color: #0b0a08;
}

.nav-burger {
    display: none;
    width: 26px;
    height: 18px;
    position: relative;
}

.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--color-text);
    transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}

.nav-burger span {
    top: 8px;
}

.nav-burger span::before {
    top: -8px;
}

.nav-burger span::after {
    top: 8px;
}

.nav.is-open .nav-burger span {
    background: transparent;
}

.nav.is-open .nav-burger span::before {
    transform: translateY(8px) rotate(45deg);
}

.nav.is-open .nav-burger span::after {
    transform: translateY(-8px) rotate(-45deg);
}


/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 10, 8, 0.35) 0%, rgba(11, 10, 8, 0.55) 55%, rgba(11, 10, 8, 0.94) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: clamp(3rem, 8vw, 6rem);
}

.hero-kicker {
    color: var(--venue-accent-soft);
}

.hero-title {
    font-size: clamp(2.8rem, 9vw, 7rem);
    margin-top: 0.5em;
    overflow: hidden;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .line span {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
}

.hero-sub {
    max-width: 560px;
    margin-top: 1.3em;
    color: var(--color-text-muted);
    font-size: 1.08rem;
}

.hero-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: clamp(2.2rem, 5vw, 3.5rem);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.scroll-cue {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-faint);
}

.scroll-cue-line {
    width: 1px;
    height: 34px;
    background: var(--color-line-strong);
    position: relative;
    overflow: hidden;
}

.scroll-cue-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--venue-accent);
    animation: scrollcue 2.2s var(--ease) infinite;
}

@keyframes scrollcue {
    0% {
        transform: translateY(-100%);
    }
    60%,
    100% {
        transform: translateY(100%);
    }
}


/* ---------- Media slot (placeholder-aware image/video) ---------- */

.media-slot {
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.media-slot img,
.media-slot video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--dur-m) var(--ease), transform 1.4s var(--ease);
}

.media-slot.is-loaded img,
.media-slot.is-loaded video {
    opacity: 1;
}

.media-slot.is-empty::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(243, 237, 226, 0.035) 18px 19px);
}

.media-slot.is-empty .media-slot-label {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.6rem;
    padding: 1.5rem;
    color: var(--color-text-faint);
}

.media-slot.is-empty .media-slot-label .tag {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--venue-accent-soft);
}

.media-slot.is-empty .media-slot-label .path {
    font-family: 'Manrope', monospace;
    font-size: 0.72rem;
    color: var(--color-text-faint);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.3em 0.7em;
    border-radius: 6px;
    border: 1px dashed var(--color-line-strong);
}

.media-slot.is-empty .media-slot-label svg {
    width: 34px;
    height: 34px;
    opacity: 0.5;
}

.media-slot.is-loaded .media-slot-label {
    display: none;
}


/* ---------- Homepage: intro ---------- */

.intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.intro-media {
    aspect-ratio: 4/5;
    border-radius: 4px;
}

.intro-text p {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-top: 1.2em;
}

.intro-text h2 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
}


/* ---------- Venue showcase cards ---------- */

.venues-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.venue-card {
    position: relative;
    min-height: 560px;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}

.venue-card .media-slot {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.venue-card .media-slot img {
    transition: transform 1.6s var(--ease);
}

.venue-card:hover .media-slot img {
    transform: scale(1.08);
}

.venue-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 10, 8, 0) 30%, rgba(11, 10, 8, 0.92) 100%);
    z-index: 0;
}

.venue-card-body {
    position: relative;
    z-index: 1;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    width: 100%;
}

.venue-card-name {
    font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

.venue-card-tag {
    color: var(--color-text-muted);
    margin-top: 0.6em;
    max-width: 30em;
}

.venue-card[data-accent="chow"] {
    --venue-accent: #b5583f;
    --venue-accent-soft: #d98f6f;
}

.venue-card[data-accent="nest"] {
    --venue-accent: #3f8f8a;
    --venue-accent-soft: #7fc4bd;
}

.venue-card-cta {
    margin-top: 1.4rem;
}


/* ---------- Gallery grid ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 110px;
    grid-auto-flow: dense;
    gap: 0.85rem;
}

.gallery-grid .media-slot {
    border-radius: 4px;
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-grid .media-slot.is-wide {
    grid-column: span 3;
}

.gallery-grid .media-slot.is-tall {
    grid-row: span 3;
}

.gallery-grid .media-slot.is-big {
    grid-column: span 4;
    grid-row: span 4;
}


/* ---------- Stats row ---------- */

.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(2rem, 6vw, 5rem);
}

.stat .num {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--venue-accent-soft);
}

.stat .label {
    margin-top: 0.4em;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-faint);
}


/* ---------- Feature list (about/concept sections) ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
}

.feature-card {
    padding: clamp(1.6rem, 3vw, 2.2rem);
    border: 1px solid var(--color-line);
    border-radius: 6px;
    background: var(--color-surface);
}

.feature-card .num {
    font-family: var(--font-display);
    color: var(--venue-accent);
    font-size: 1.1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-top: 0.8em;
}

.feature-card p {
    margin-top: 0.7em;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}


/* ---------- Day / Night split (CHOW) ---------- */

.split-scene {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 640px;
}

.split-scene-panel {
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: clamp(1.75rem, 4vw, 3rem);
    overflow: hidden;
}

.split-scene-panel .media-slot {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.split-scene-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 10, 8, 0.1), rgba(11, 10, 8, 0.92));
    z-index: 1;
}

.split-scene-panel-body {
    position: relative;
    z-index: 2;
}

.split-scene-panel .eyebrow {
    color: var(--color-accent-soft);
}

.split-scene-panel h3 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-top: 0.5em;
}

.split-scene-panel p {
    margin-top: 0.6em;
    color: var(--color-text-muted);
    max-width: 26em;
}

.split-scene-divider {
    display: none;
}


/* ---------- Events / cards row ---------- */

.card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
}

.event-card {
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
}

.event-card .media-slot {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.event-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 10, 8, 0.05), rgba(11, 10, 8, 0.95));
    z-index: 1;
}

.event-card-body {
    position: relative;
    z-index: 2;
    padding: 1.6rem;
}

.event-card-day {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--venue-accent-soft);
}

.event-card h4 {
    font-size: 1.25rem;
    margin-top: 0.5em;
}

.event-card p {
    margin-top: 0.5em;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}


/* ---------- Location / contact ---------- */

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}

.location-info dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem 1.5rem;
    margin-top: 1.6rem;
}

.location-info dt {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    white-space: nowrap;
    padding-top: 0.2em;
}

.location-info dd {
    color: var(--color-text);
    font-size: 1rem;
}

.location-map {
    border-radius: 6px;
    aspect-ratio: 4/3;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.2rem;
    margin-top: 1.8rem;
}

.form-grid .field-full {
    grid-column: 1 / -1;
}

.field label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: 0.5em;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.85em 1em;
    background: var(--color-surface);
    border: 1px solid var(--color-line-strong);
    border-radius: 4px;
    font-size: 0.95rem;
    transition: border-color var(--dur-s) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--venue-accent);
}

.field textarea {
    resize: vertical;
    min-height: 110px;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--color-text-faint);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.88rem;
}

.form-status[data-state="ok"] {
    color: var(--venue-accent-soft);
}

.form-status[data-state="err"] {
    color: #d98f6f;
}


/* ---------- Footer ---------- */

.site-footer {
    padding: clamp(3rem, 7vw, 5rem) 0 2rem;
    border-top: 1px solid var(--color-line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
}

.footer-brand .brand {
    font-size: 1.6rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--color-text-muted);
    max-width: 32em;
    font-size: 0.92rem;
}

.footer-col h5 {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

.footer-col a:hover {
    color: var(--color-accent-soft);
}

.footer-social {
    display: flex;
    gap: 0.9rem;
    margin-top: 0.4rem;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-line-strong);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    border-color: var(--color-accent);
}

.footer-bottom {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: 1.6rem;
    border-top: 1px solid var(--color-line);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-faint);
}


/* ---------- i18n visibility ---------- */

[data-i18n],
[data-i18n-html] {}

html[lang="th"] [data-lang-en-only] {
    display: none !important;
}

html[lang="en"] [data-lang-th-only] {
    display: none !important;
}


/* ---------- Preloader ---------- */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-word {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 5vw, 3rem);
    letter-spacing: 0.1em;
    color: var(--color-text);
    opacity: 0;
}

.preloader-bar {
    position: absolute;
    bottom: 14%;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 1px;
    background: var(--color-line-strong);
    overflow: hidden;
}

.preloader-bar-fill {
    display: block;
    position: absolute;
    inset: 0;
    background: var(--venue-accent);
    transform: scaleX(0);
    transform-origin: left;
}


/* ---------- Custom cursor ---------- */

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--venue-accent);
}

.cursor-ring {
    width: 34px;
    height: 34px;
    border: 1px solid var(--color-line-strong);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.cursor-ring.is-active {
    width: 58px;
    height: 58px;
    border-color: var(--venue-accent);
    background: rgba(201, 162, 75, 0.08);
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor textarea,
body.has-custom-cursor select {
    cursor: none;
}


/* ---------- Marquee ticker ---------- */

.marquee {
    overflow: hidden;
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    background: var(--color-bg-alt);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1.15rem 1.25rem;
    white-space: nowrap;
}

.marquee-group span {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    color: var(--color-text-faint);
}

.marquee-group span.is-accent {
    color: var(--venue-accent-soft);
}

.marquee-group .dot {
    color: var(--venue-accent);
    font-size: 0.8em;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* ---------- Parallax / tilt readiness ---------- */

[data-parallax] {
    will-change: transform;
}

.gallery-grid .media-slot {
    transition: transform 0.4s var(--ease);
}

.gallery-grid .media-slot img {
    transition: opacity var(--dur-m) var(--ease), transform 0.6s var(--ease);
}

.hero-media img,
.hero-media video,
.split-scene-panel .media-slot img,
.split-scene-panel .media-slot video {
    transition: opacity var(--dur-m) var(--ease), transform 1.6s var(--ease);
}


/* ---------- Eyebrow draw-in line (scroll-triggered) ---------- */

.eyebrow--draw::before {
    width: 0;
    transition: width 1s var(--ease) 0.15s;
}

[data-reveal].is-visible .eyebrow--draw::before,
.is-visible.eyebrow--draw::before {
    width: 2.2em;
}


/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
    .preloader {
        display: none;
    }
    .cursor-dot,
    .cursor-ring {
        display: none;
    }
    .marquee-track {
        animation: none;
    }
    [data-reveal],
    [data-reveal-scale] {
        transition: none;
        opacity: 1;
        transform: none;
    }
    .hero-title .line span {
        transition: none;
        transform: none;
    }
}


/* ---------- Utility ---------- */

.text-muted {
    color: var(--color-text-muted);
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.pb-0 {
    padding-bottom: 0;
}

.form-narrow {
    max-width: 760px;
    margin: 0 auto;
}


/* ---------- Responsive ---------- */

@media (max-width: 980px) {
    .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(80vw, 360px);
        background: var(--color-bg-alt);
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        padding: 2.5rem;
        gap: 1.8rem;
        transform: translateX(100%);
        transition: transform var(--dur-m) var(--ease);
        border-left: 1px solid var(--color-line);
    }
    .nav.is-open .nav-links {
        transform: translateX(0);
    }
    .nav-burger {
        display: block;
    }
    .intro-grid,
    .venues-grid,
    .split-scene,
    .location-grid,
    .card-row,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .split-scene {
        min-height: 0;
    }
    .split-scene-panel {
        min-height: 380px;
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
    .gallery-grid .media-slot,
    .gallery-grid .media-slot.is-wide,
    .gallery-grid .media-slot.is-big {
        grid-column: span 2;
        grid-row: span 2;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .hero-foot {
        flex-direction: column;
        align-items: flex-start;
    }
}