/* =========================================================
   WAVRIDA — Public Site
   Editorial dark aesthetic. Rose-gold accent (configurable).
   ========================================================= */

:root {
    --bg:         #0a0a0a;
    --bg-soft:    #111111;
    --bg-card:    #161616;
    --bg-elev:    #1d1d1d;
    --border:     #232323;
    --border-2:   #2a2a2a;
    --text:       #f3f1ee;
    --text-muted: #8a857d;
    --text-dim:   #5a554f;
    --accent:     #b76e79;
    --accent-h:   #d4889a;
    --accent-soft:rgba(183,110,121,0.10);
    --danger:     #c85151;
    --success:    #7fb069;

    --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --radius:    2px;
    --radius-lg: 6px;
    --shadow:    0 20px 60px -20px rgba(0,0,0,0.7);
    --shadow-lift: 0 30px 80px -20px rgba(0,0,0,0.85);

    --max-w: 1280px;
    --gutter: clamp(20px, 4vw, 60px);
}

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

html, body { margin: 0; padding: 0; }

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

img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin: 0 0 0.6em;
    color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }

p { margin: 0 0 1em; }

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

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1em;
}

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 22px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0);
    transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px var(--gutter);
    border-bottom-color: var(--border);
}
.brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}
.brand:hover { color: var(--accent); }

.nav-links {
    display: flex;
    gap: clamp(18px, 2.5vw, 36px);
    align-items: center;
    list-style: none;
    margin: 0; padding: 0;
}
.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 1px;
    background: var(--accent);
}
.nav-cta {
    display: inline-block;
    padding: 10px 22px !important;
    border: 1px solid var(--accent);
    color: var(--accent) !important;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}
.nav-cta:hover {
    background: var(--accent);
    color: var(--bg) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--text);
    cursor: pointer;
    padding: 8px;
    width: 44px; height: 44px;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
    .nav-toggle { display: block; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        bottom: 0;
        width: 80%; max-width: 340px;
        background: var(--bg-soft);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 28px;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--border);
    }
    .nav-links.open { right: 0; }
    .nav-links a { font-size: 1rem; }
}

/* =========================================================
   CINEMATIC HERO
   ========================================================= */
.hero-cinematic {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    padding: 0;
    display: block;
    background: #000;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    will-change: transform;
}

.hero-cinematic .hero-bg {
    position: absolute;
    inset: -2%;
    background-size: cover;
    background-position: center;
    transform: scale(1.14);
    transition: transform 16s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-cinematic.loaded .hero-bg {
    transform: scale(1);
}

.hero-bg-default {
    background:
        radial-gradient(ellipse 80% 60% at 25% 30%, rgba(183,110,121,0.25), transparent 50%),
        radial-gradient(ellipse 60% 60% at 75% 70%, rgba(80,20,50,0.4), transparent 50%),
        radial-gradient(ellipse at center, #1a0e12 0%, #0a0a0a 70%);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg,
        rgba(10,10,10,0.55) 0%,
        rgba(10,10,10,0.15) 25%,
        rgba(10,10,10,0.35) 60%,
        rgba(10,10,10,0.92) 100%);
    pointer-events: none;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

/* Top corner detail (handle + est. year) */
.hero-corner {
    position: absolute;
    z-index: 4;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    color: rgba(255,255,255,0.55);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 1s ease 1.6s, transform 1s ease 1.6s;
}
.hero-cinematic.loaded .hero-corner { opacity: 1; transform: none; }
.hero-corner-tr {
    top: clamp(80px, 12vh, 110px);
    right: var(--gutter);
}
.hero-corner .dot { margin: 0 10px; color: var(--accent); }

/* Main asymmetric content (bottom-left) */
.hero-content {
    position: absolute;
    bottom: clamp(70px, 12vh, 130px);
    left: var(--gutter);
    right: var(--gutter);
    z-index: 4;
    max-width: 920px;
}

.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16,1,0.3,1), transform 1.2s cubic-bezier(0.16,1,0.3,1);
}
.hero-cinematic.loaded .reveal-item {
    opacity: 1;
    transform: translateY(0);
}
.hero-cinematic.loaded .hero-tagline  { transition-delay: 0.35s; }
.hero-cinematic.loaded .hero-name     { transition-delay: 0.55s; transition-duration: 1.5s; }
.hero-cinematic.loaded .hero-rule     { transition-delay: 0.95s; }
.hero-cinematic.loaded .hero-subtitle { transition-delay: 1.15s; }
.hero-cinematic.loaded .hero-cta      { transition-delay: 1.35s; }

.hero-cinematic .hero-tagline {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5em;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 32px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-cinematic .hero-name {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3.4rem, 13vw, 11rem);
    line-height: 0.92;
    letter-spacing: -0.025em;
    margin: 0 0 36px;
    color: #fff;
    text-shadow: 0 6px 40px rgba(0,0,0,0.5);
}

.hero-rule {
    width: 60px;
    height: 1px;
    background: var(--accent);
    margin-bottom: 30px;
    transform-origin: left;
    box-shadow: 0 0 12px var(--accent);
}
.hero-cinematic .hero-rule {
    transform: scaleX(0);
}
.hero-cinematic.loaded .hero-rule {
    transform: scaleX(1) translateY(0);
}

.hero-cinematic .hero-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    max-width: 520px;
    margin: 0 0 46px;
    line-height: 1.5;
    text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

.hero-cinematic .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 20px 46px;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(0,0,0,0.25);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}
.hero-cinematic .hero-cta {
    transition:
        opacity 1.2s cubic-bezier(0.16,1,0.3,1),
        transform 1.2s cubic-bezier(0.16,1,0.3,1),
        background 0.5s ease,
        border-color 0.5s ease,
        padding 0.5s ease,
        letter-spacing 0.5s ease,
        box-shadow 0.5s ease;
}
.hero-cinematic .hero-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    letter-spacing: 0.36em;
    padding-right: 56px;
    color: #fff;
    box-shadow: 0 24px 60px -12px rgba(183,110,121,0.5);
}
.hero-cinematic .hero-cta .arrow {
    display: inline-block;
    transition: transform 0.5s ease;
}
.hero-cinematic .hero-cta:hover .arrow {
    transform: translateX(8px);
}

/* Scroll cue */
.hero-scroll-cue {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transition: opacity 1s ease 1.9s;
}
.hero-cinematic.loaded .hero-scroll-cue { opacity: 0.75; }
.scroll-line {
    width: 1px;
    height: 56px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
    background-size: 100% 200%;
    background-position: 0 -100%;
    animation: scrollGrad 2.6s ease-in-out infinite;
}
@keyframes scrollGrad {
    0%   { background-position: 0 -100%; }
    100% { background-position: 0 100%; }
}
.scroll-text {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.42em;
    color: rgba(255,255,255,0.6);
}

/* Mobile */
@media (max-width: 760px) {
    .hero-cinematic { min-height: 580px; }
    .hero-corner-tr { top: 75px; right: 20px; font-size: 0.62rem; letter-spacing: 0.22em; }
    .hero-content { bottom: 50px; }
    .hero-cinematic .hero-tagline { letter-spacing: 0.35em; margin-bottom: 22px; font-size: 0.7rem; }
    .hero-cinematic .hero-name { font-size: clamp(3rem, 18vw, 6rem); margin-bottom: 24px; }
    .hero-rule { margin-bottom: 22px; width: 40px; }
    .hero-cinematic .hero-subtitle { margin-bottom: 32px; font-size: 1.05rem; }
    .hero-cinematic .hero-cta { padding: 16px 32px; letter-spacing: 0.22em; font-size: 0.72rem; }
    .hero-scroll-cue { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .hero-cinematic .hero-bg { transition: none !important; transform: scale(1) !important; }
    .hero-cinematic .reveal-item, .hero-cinematic .hero-corner, .hero-cinematic .hero-scroll-cue {
        opacity: 1 !important; transform: none !important; transition: none !important;
    }
    .scroll-line { animation: none; }
}

/* Legacy .hero (kept for fallback / any other pages still using it) */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px var(--gutter) 80px;
}
.hero .hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(10,10,10,0.55) 0%,
        rgba(10,10,10,0.4) 40%,
        rgba(10,10,10,0.85) 85%,
        var(--bg) 100%);
    z-index: 1;
}
.hero .hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

/* =========================================================
   SECTIONS
   ========================================================= */
.section {
    padding: clamp(80px, 12vw, 140px) var(--gutter);
    position: relative;
}
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(50px, 7vw, 90px);
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.divider {
    width: 40px;
    height: 1px;
    background: var(--accent);
    margin: 0 auto 32px;
}

/* =========================================================
   ABOUT BLOCK (home)
   ========================================================= */
.about-block {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.about-block-img {
    aspect-ratio: 4 / 5;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-card);
    position: relative;
}
.about-block-img::before {
    content: '';
    position: absolute;
    inset: -14px -14px 14px 14px;
    border: 1px solid var(--accent);
    z-index: -1;
    opacity: 0.6;
}
.about-block-text { padding: 20px 0; }
.about-block-text p { color: var(--text-muted); font-size: 1.05rem; }
@media (max-width: 760px) {
    .about-block { grid-template-columns: 1fr; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 4px;
}
.gallery-grid.spaced {
    gap: 18px;
}
.gallery-item {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--bg-card);
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: brightness(0.92);
}
.gallery-item:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
}
.gallery-item.premium::after {
    content: '✦ PREMIUM';
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(0,0,0,0.7);
    color: var(--accent);
    padding: 6px 12px;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    border: 1px solid var(--accent);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    box-shadow: var(--shadow-lift);
}
.lightbox-close {
    position: absolute;
    top: 24px; right: 28px;
    background: none;
    border: 0;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid var(--border-2);
    color: var(--text);
    width: 50px; height: 50px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex; align-items: center; justify-content: center;
}
.lightbox-nav:hover { border-color: var(--accent); color: var(--accent); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* =========================================================
   CARDS / TIERS / PAYMENT
   ========================================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 36px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
    border-color: var(--border-2);
    background: var(--bg-elev);
    transform: translateY(-4px);
}
.card h3 { margin-bottom: 0.4em; }
.card-meta {
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1em;
}
.card-price {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--text);
    margin: 8px 0 16px;
}
.card-price small {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}
.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}
.card .btn { width: 100%; text-align: center; }

/* Payment buttons */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}
.payment-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    color: var(--text);
}
.payment-card:hover {
    background: var(--bg-elev);
    border-color: var(--accent);
    transform: translateY(-2px);
    color: var(--text);
}
.payment-icon {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--accent);
}
.payment-info { flex: 1; min-width: 0; }
.payment-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
}
.payment-handle {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.payment-arrow {
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}
.payment-card:hover .payment-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 30px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: var(--radius);
    font-family: var(--font-body);
}
.btn:hover {
    background: var(--accent);
    color: var(--bg);
    transform: translateY(-1px);
}
.btn-solid {
    background: var(--accent);
    color: var(--bg);
}
.btn-solid:hover { background: var(--accent-h); border-color: var(--accent-h); }
.btn-ghost {
    border-color: var(--border-2);
    color: var(--text-muted);
}
.btn-ghost:hover {
    color: var(--text);
    background: transparent;
    border-color: var(--accent);
}
.btn-block { width: 100%; }
.btn-lg { padding: 18px 38px; font-size: 0.85rem; }

/* =========================================================
   FORMS
   ========================================================= */
.form { max-width: 540px; margin: 0 auto; }
.form-row { margin-bottom: 22px; }
.form-row label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.form-control,
input[type="text"], input[type="email"], input[type="tel"],
input[type="password"], input[type="date"], input[type="number"],
textarea, select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: border-color 0.25s ease, background 0.25s ease;
}
.form-control:focus,
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-elev);
}
textarea { min-height: 140px; resize: vertical; }
.form-help {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 6px;
}

.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 22px;
    font-size: 0.92rem;
    border: 1px solid var(--border);
}
.alert-success {
    background: rgba(127,176,105,0.08);
    border-color: rgba(127,176,105,0.4);
    color: var(--success);
}
.alert-error {
    background: rgba(200,81,81,0.08);
    border-color: rgba(200,81,81,0.4);
    color: var(--danger);
}

/* =========================================================
   BOOKING CALENDAR
   ========================================================= */
.booking-stage {
    max-width: 720px;
    margin: 0 auto;
}
.booking-step {
    display: none;
    animation: fadeIn 0.4s ease;
}
.booking-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.session-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}
.session-option {
    border: 1px solid var(--border);
    background: var(--bg-card);
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.session-option:hover { border-color: var(--accent); background: var(--bg-elev); }
.session-option.selected {
    border-color: var(--accent);
    background: var(--accent-soft);
}
.session-option h4 { margin: 0 0 8px; }
.session-option .duration {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.session-option .price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--accent);
}

.calendar {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 24px;
}
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.cal-month {
    font-family: var(--font-display);
    font-size: 1.5rem;
}
.cal-nav {
    background: none;
    border: 1px solid var(--border-2);
    color: var(--text);
    width: 38px; height: 38px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.cal-nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-dow {
    text-align: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    padding: 8px 0;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.92rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}
.cal-day.empty { cursor: default; }
.cal-day.disabled { color: var(--text-dim); opacity: 0.3; cursor: not-allowed; }
.cal-day.available { color: var(--text); background: var(--bg-elev); }
.cal-day.available:hover { border-color: var(--accent); color: var(--accent); }
.cal-day.selected {
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
}
.cal-day.today { font-weight: 700; }

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}
.time-slot {
    padding: 14px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
    text-align: center;
    font-size: 0.92rem;
    transition: all 0.25s ease;
}
.time-slot:hover { border-color: var(--accent); }
.time-slot.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

.booking-summary {
    background: var(--bg-elev);
    border: 1px solid var(--accent);
    padding: 24px;
    margin-bottom: 24px;
}
.booking-summary dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 4px;
}
.booking-summary dd {
    margin: 0 0 14px;
    color: var(--text);
}

.step-nav {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 24px;
}

/* =========================================================
   PAGE / ARTICLE
   ========================================================= */
.page-hero {
    padding: 180px var(--gutter) 60px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.3em; }

.page-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 70px var(--gutter) 100px;
    font-size: 1.05rem;
    color: var(--text-muted);
}
.page-content p { margin-bottom: 1.4em; }
.page-content h2, .page-content h3 { color: var(--text); margin-top: 1.5em; }
.page-content a { color: var(--accent); border-bottom: 1px solid transparent; }
.page-content a:hover { border-bottom-color: var(--accent); }
.page-content blockquote {
    border-left: 2px solid var(--accent);
    padding-left: 24px;
    font-style: italic;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin: 1.5em 0;
}
.page-content ul, .page-content ol { padding-left: 24px; }
.page-content img { margin: 24px 0; border-radius: var(--radius); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 60px var(--gutter) 40px;
    background: var(--bg-soft);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    max-width: var(--max-w);
    margin: 0 auto 40px;
}
.footer-grid h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.footer-grid a { color: var(--text-muted); display: block; margin-bottom: 8px; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .brand { font-size: 1.6rem; }
.footer-brand p { color: var(--text-muted); margin-top: 14px; font-size: 0.9rem; }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 28px;
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.8rem;
}

@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}

/* =========================================================
   AGE GATE
   ========================================================= */
.age-gate {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
}
.age-gate-inner { max-width: 480px; }
.age-gate h1 { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: 1rem; }
.age-gate p { color: var(--text-muted); margin-bottom: 2rem; }
.age-gate-buttons { display: flex; gap: 16px; justify-content: center; }

/* =========================================================
   ANIMATIONS / UTILITY
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: none; }

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* =========================================================
   GALLERY PAGE - MASONRY EDITION
   ========================================================= */

.gallery-hero {
    position: relative;
    min-height: 50vh;
    padding: 180px var(--gutter) 80px;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.gallery-hero-bg {
    position: absolute;
    inset: -10px;
    background-size: cover;
    background-position: center;
    filter: blur(30px) brightness(0.5);
    transform: scale(1.1);
    z-index: 0;
}
.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(10,10,10,0.7) 70%, var(--bg) 100%),
        linear-gradient(180deg, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 100%);
    z-index: 1;
}
.gallery-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}
.gallery-hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 0.4em;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.gallery-hero p {
    color: rgba(255,255,255,0.75);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.25rem;
    margin: 0 0 24px;
}
.gallery-meta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 8px 22px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 24px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.7);
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.gallery-section {
    padding-top: 60px;
}

/* Filter tabs */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.gallery-filter a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    color: var(--text-muted);
    border-bottom: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.3s ease;
}
.gallery-filter a:hover {
    color: var(--text);
}
.gallery-filter a.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.gallery-filter .count {
    font-size: 0.68rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.05em;
}
.gallery-filter a.active .count {
    background: var(--accent-soft);
    color: var(--accent);
}

/* Masonry via CSS Grid + JS row-span calculation */
.masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 8px;
    gap: 14px;
}
@media (max-width: 1100px) { .masonry { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .masonry { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (max-width: 420px)  { .masonry { grid-template-columns: 1fr; } }

/* Override base .gallery-item rules for masonry context */
.masonry .gallery-item {
    margin: 0;
    display: block;
    position: relative;
    aspect-ratio: auto;       /* override base */
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border-radius: 2px;
    /* grid-row-end set dynamically by JS based on rendered height */
}

.masonry .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
    filter: brightness(0.92) saturate(0.95);
    object-fit: cover;
}

.masonry .gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05) saturate(1.1);
}

/* Bottom accent line on hover */
.masonry .gallery-item::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 3;
}
.masonry .gallery-item:hover::before {
    transform: scaleX(1);
}

/* Caption slide on hover */
.masonry .gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px 18px 18px;
    background: linear-gradient(to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.6) 50%,
        transparent 100%);
    color: #fff;
    font-size: 0.88rem;
    line-height: 1.4;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
    font-family: var(--font-display);
    font-style: italic;
    letter-spacing: 0.02em;
}
.masonry .gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

/* Premium badge in masonry */
.masonry .gallery-item.premium::after {
    content: '\2726 PREMIUM';
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(0,0,0,0.75);
    color: var(--accent);
    padding: 5px 11px;
    font-size: 0.62rem;
    letter-spacing: 0.22em;
    border: 1px solid var(--accent);
    z-index: 2;
    backdrop-filter: blur(6px);
    font-family: var(--font-body);
    font-weight: 500;
}

/* Reveal animation for masonry items - stagger via CSS variable */
.masonry .gallery-item.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.masonry .gallery-item.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .masonry .gallery-item img,
    .masonry .gallery-item::before,
    .masonry .gallery-caption,
    .masonry .gallery-item.reveal {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* =========================================================
   PARALLAX SECTIONS - Full control: effect / height / overlay / position
   ========================================================= */
.parallax-section {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(80px, 14vw, 160px) var(--gutter);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: var(--bg-pos, center);
}

/* Heights */
.parallax-section.height-compact  { min-height: 60vh; }
.parallax-section.height-standard { min-height: 90vh; }
.parallax-section.height-tall     { min-height: 120vh; }
.parallax-section.height-full     { min-height: 100vh; }

/* Effect: slow scroll (JS-translated bg) */
.parallax-section.effect-slow {
    background-image: none !important;
}
.parallax-section.effect-slow .parallax-bg {
    position: absolute;
    inset: -15% 0;
    background-size: cover;
    background-position: var(--bg-pos, center);
    will-change: transform;
    z-index: 0;
}

/* Effect: fixed (classic background-attachment, content scrolls over) */
.parallax-section.effect-fixed {
    background-image: var(--bg-image);
    background-attachment: fixed;
}
.parallax-section.effect-fixed .parallax-bg { display: none; }

/* Effect: static (no parallax, just full-bleed bg) */
.parallax-section.effect-static {
    background-image: var(--bg-image);
    background-attachment: scroll;
}
.parallax-section.effect-static .parallax-bg { display: none; }

/* Overlays */
.parallax-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.parallax-section.overlay-light .parallax-overlay {
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(10,10,10,0.4) 80%),
        linear-gradient(180deg, rgba(10,10,10,0.25) 0%, rgba(10,10,10,0.15) 50%, rgba(10,10,10,0.4) 100%);
}
.parallax-section.overlay-medium .parallax-overlay {
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(10,10,10,0.65) 70%),
        linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.3) 50%, rgba(10,10,10,0.6) 100%);
}
.parallax-section.overlay-heavy .parallax-overlay {
    background:
        radial-gradient(ellipse at center, rgba(10,10,10,0.4) 0%, rgba(10,10,10,0.85) 80%),
        linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.55) 50%, rgba(10,10,10,0.85) 100%);
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    text-align: center;
    color: #fff;
}

.parallax-mark {
    font-family: var(--font-display);
    font-size: clamp(5rem, 12vw, 10rem);
    line-height: 0.6;
    color: var(--accent);
    margin-bottom: 0;
    opacity: 0.9;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.parallax-quote {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 300;
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    line-height: 1.35;
    margin: 20px auto 30px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    max-width: 820px;
    border: 0;
    padding: 0;
}

.parallax-attribution {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.78rem;
    color: var(--accent);
    margin-top: 24px;
}

/* About block image with subtle parallax */
.about-block-img.parallax-soft {
    will-change: transform;
}

/* Mobile: kill background-attachment (iOS Safari hates it), kill JS parallax */
@media (max-width: 760px) {
    .parallax-section {
        min-height: 60vh !important;
        padding: 80px var(--gutter);
    }
    .parallax-section.effect-fixed,
    .parallax-section.effect-slow {
        background-attachment: scroll;
        background-image: var(--bg-image);
    }
    .parallax-section.effect-slow .parallax-bg { display: none; }
    .about-block-img.parallax-soft { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
    .parallax-section.effect-slow .parallax-bg,
    .about-block-img.parallax-soft {
        transform: none !important;
        transition: none !important;
    }
}
