:root {
    --primary-gradient: linear-gradient(45deg, #FF6B6B, #ffb199, #4ECDC4, #45B7D1, #6a11cb, #2575fc, #ff0844);
    --vibrant-pink: #FF6B6B;
    --vibrant-teal: #4ECDC4;
    --vibrant-blue: #45B7D1;
    --vibrant-yellow: #FFE66D;

    --bg-white: #ffffff;
    --text-dark: #1A1A1A;
    --text-muted: #666666;

    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --font-hero: 'Plus Jakarta Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --h1: clamp(3.5rem, 10vw, 7.5rem);
    --h2: clamp(2.5rem, 6vw, 4.5rem);
    --h3: clamp(2rem, 4vw, 3rem);
    --body-text: clamp(1rem, 1.2vw, 1.15rem);

    --radius-lg: 32px;
    --radius-md: 16px;

    /* Feel Good Spacing System */
    --section-spacing: clamp(5rem, 12vw, 10rem);
    --inner-gap: clamp(2rem, 5vw, 5rem);
    --block-gap: clamp(1.5rem, 3vw, 3rem);
    --nav-pill-width: min(calc(100% - 2.5rem), 420px);

    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Global Image Reset & Protections */
img {
    max-width: 100%;
    height: auto;
    display: block;
    
    /* Aggressive Protections against save/drag/hold */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Loading State Prevention */
.hero-title,
.hero-subtext,
.hero-actions,
nav {
    opacity: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    /* Extreme overscroll fallback strictly matching the gradient hue */
    background-color: #ffb199;
}

body {
    position: relative;
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.5;
    background-color: transparent;
}

/* Background gradient logically mapped 1:1 with the entire document so it naturally scrolls, triggering Safari's glass toolbars perfectly */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--primary-gradient);
    background-size: 400% 400%;
    animation: meshGradient 60s ease infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes meshGradient {
    0% {
        background-position: 0% 0%;
    }

    25% {
        background-position: 100% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

/* Glass System */
.glass {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Premium Glass System */
.glass-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.glass-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

@media (hover: hover) {
    .glass-card:hover {
        background: rgba(255, 255, 255, 0.5);
        border-color: rgba(255, 255, 255, 0.8);
        box-shadow:
            0 20px 40px -10px rgba(0, 0, 0, 0.1),
            inset 0 0 30px rgba(255, 255, 255, 0.4);
    }

    .glass-card:hover::after {
        opacity: 1;
    }
}

/* Containers */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 10rem 0;
}

/* Navigation */
nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 4rem);
    max-width: 1200px;
    height: 80px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(25px) saturate(160%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo {
    font-family: var(--font-hero);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-dark);
    letter-spacing: -1px;
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-accent {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    font-size: 1.8rem;
    background: var(--primary-gradient);
    background-size: 400% 400%;
    background-attachment: fixed;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: meshGradient 60s ease infinite;
    letter-spacing: 0;
}

.logo-subtext {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
    margin-top: 0.2rem;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    gap: 3.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    opacity: 0.5;
}

@media (hover: hover) {
    .nav-links a:hover {
        color: var(--vibrant-pink);
        opacity: 1;
    }
}

.cta-btn {
    background: var(--text-dark);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
}

@media (hover: hover) {
    .cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
}

.cta-btn:active {
    transform: scale(0.98);
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    perspective: 1000px;
    z-index: 10;
}

/* Localize blur directly to the exact center of the hero title natively with a much larger radial area */
.hero-title {
    font-family: var(--font-hero);
    font-size: clamp(4rem, 12vw, 8rem);
    line-height: 0.85;
    letter-spacing: -4px;
    margin-bottom: 2.5rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1; /* Establishes stacking context for pseudo z-index to stay directly under text */
}

.hero-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200vw;
    height: 450%; /* Scales relative to the title height */
    border-radius: 50%;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 60%);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 15%, rgba(0,0,0,0) 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-subtext {
    font-size: 1.5rem;
    color: #ffffff;
    max-width: 650px;
    margin: 0 auto 3.5rem;
    font-weight: 500;
    text-shadow: 0 4px 20px rgba(0,0,0,0.25);
    position: relative;
    z-index: 2; /* Ensures text renders completely above the title's backdrop blur layer */
}

.hero-actions {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2; /* Ensures button renders completely above the title's backdrop blur layer */
}

.shiny-glass-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), inset 0 2px 5px rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.shiny-glass-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.shiny-glass-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15), inset 0 2px 8px rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.6);
}

.shiny-glass-cta:hover::before {
    left: 140%;
}

.shiny-glass-cta:active {
    transform: translateY(0) scale(0.98);
}

/* ═══ HERO IMAGE INTEGRATION ═══ */
.hero {
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.75; /* Slightly transparent so the gradient animation shows through beautifully */
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}

.hero > * {
    position: relative;
    z-index: 2;
}

/* Sections */
h2 {
    font-family: var(--font-hero);
    font-size: 4rem;
    letter-spacing: -3px;
    margin-bottom: 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
    /* Reduced gap to align cards vertically */
}

.section-title {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 0;
    line-height: 1.1;
}

.section-subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    opacity: 0.6;
    font-size: 1.25rem;
    margin-top: 1rem;
    display: block;
}

.section-subtitle::after {
    display: none !important;
    /* Remove decorative line */
}

.vibrant-text,
.vibrant-pink,
.vibrant-teal,
.vibrant-blue,
.vibrant-yellow {
    background: var(--primary-gradient);
    background-size: 400% 400%;
    background-attachment: fixed;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: meshGradient 60s ease infinite;
    font-weight: 800;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    perspective: 1500px;
}

#retreats {
    overflow: hidden;
    padding: 10rem 0;
}

#retreats .container {
    max-width: 1200px;
    margin: 0 auto;
    width: min(100% - 3rem, 1200px);
}

#retreats h2 {
    margin-bottom: 4rem;
    text-align: center;
}

.retreats-showcase {
    display: flex;
    flex-direction: column;
    gap: 10rem;
    padding: 3rem 0;
}

.retreat-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    width: 100%;
}

.retreat-group-title {
    width: 100%;
    font-family: var(--font-hero);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    opacity: 0.3;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Tier 1: Active - Balanced Wide Aspect */
.active-retreats .retreat-card {
    width: 320px;
}

.active-retreats .image-container {
    height: 300px;
}

/* Tier 2: Pre-Order - Compact Portrait */
.preorder-retreats .retreat-card {
    width: 240px;
}

.preorder-retreats .image-container {
    height: 310px;
}

.preorder-retreats .card-content {
    padding: 1.5rem !important;
}

.preorder-retreats h3 {
    font-size: 1.4rem !important;
}

/* Tier 3: TBA - Pixelated Mystery (Smallest & Grey) */
.tba-retreats .retreat-card {
    width: 200px;
    filter: url(#pixelate) blur(4px) contrast(1.1);
    /* Sharp pixelate + light blur */
    opacity: 0.15;
    pointer-events: auto;
    /* Enable for mystery alert */
    cursor: pointer;
    box-shadow: none;
    transition: opacity 1s ease, transform 0.5s ease;
}

.tba-retreats .retreat-card:hover {
    opacity: 0.4;
    transform: translateY(-5px);
}

.tba-retreats:hover .retreat-card {
    opacity: 0.35;
    /* Subtle reveal hint on row hover if desired */
}

.tba-retreats .image-container {
    height: 240px;
    position: relative;
}

/* Obscuring overlay to ensure NO details are readable */
.tba-retreats .image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, transparent, rgba(0, 0, 0, 0.4));
    z-index: 5;
}

.tba-retreats .card-content {
    padding: 1.5rem 1rem !important;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 20;
}

.tba-retreats h3 {
    font-size: 0.7rem !important;
    letter-spacing: 0.6em;
    opacity: 0.6;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

/* Retreat Cards Content Reset */
.retreat-card {
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.retreat-card .image-container {
    overflow: hidden;
    position: relative;
    border-radius: 4px;
    /* Slight rounding for elegant portrait */
}

/* Glassmorphic Overlays */
.retreat-badge {
    position: absolute;
    z-index: 10;
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-hero);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

/* Pre-order Badge: Floating Pill */
.preorder-badge {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.6rem 1.4rem;
    font-size: 0.65rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
}

/* Active Badge: Matching Style */
.active-badge {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.6rem 1.4rem;
    font-size: 0.65rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.15);
}

/* TBA Badge: Full Centered Overlay */
.tba-badge {
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    letter-spacing: 0.4em;
    opacity: 0.8;
}

.active-retreats .retreat-card:hover .active-badge,
.preorder-retreats .retreat-card:hover .preorder-badge {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.tba-retreats .retreat-card:hover .retreat-badge {
    transform: none;
    /* Keep TBA stable */
    opacity: 1;
}


.retreat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.retreat-card:hover img {
    transform: scale(1.1);
}

.retreat-card .card-content {
    padding: 2.5rem;
    position: relative;
    z-index: 1;
}

.card-meta {
    margin-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.date-tag {
    font-weight: 800;
    font-size: 0.9rem;
}

.availability {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.6;
}

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

.retreat-card h3 {
    font-family: var(--font-hero);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.retreat-card .features {
    list-style: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.retreat-card .features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.retreat-card .features li::before {
    content: '→';
    color: var(--vibrant-teal);
}

/* Testimonials: Natively Scrollable Refined Design */
.testimonials-overflow {
    min-height: auto;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(to bottom, transparent, rgba(230, 247, 255, 0.3), transparent);
}

.elegant-slider {
    position: relative;
    width: 100%;
    margin-top: 2rem;
}

.testimonials-scroll-area {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2rem 0;
    cursor: grab;
}

.testimonials-scroll-area:active {
    cursor: grabbing;
}

.testimonials-scroll-area::-webkit-scrollbar {
    display: none;
}

.elegant-track {
    display: flex;
    gap: 3rem;
    padding: 0 calc(50vw - 190px);
    width: max-content;
    align-items: center;
}

.elegant-card {
    scroll-snap-align: center;
    width: 380px;
    min-height: auto;
    height: auto;
    flex-shrink: 0;
    padding: 2.5rem 2.2rem !important;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    /* Elegant rounded edges */
    /* Soft and premium */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    overflow: visible;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--text-dark);
}

.slider-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev {
    left: 2rem;
}

.slider-btn.next {
    right: 2rem;
}

@media (max-width: 900px) {
    .slider-btn {
        display: none;
    }
}

.elegant-card::after {
    border-radius: 30px;
}

/* Removed the teal corner to clean up the visual space */

.elegant-card p {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    /* Balanced for smaller card */
    line-height: 1.4;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.elegant-meta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
}

.elegant-meta strong {
    font-family: var(--font-hero);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.elegant-meta span {
    font-size: 0.8rem;
    color: var(--vibrant-pink);
    margin-top: 0.5rem;
    opacity: 0.7;
}

.glass-ornament {
    position: absolute;
    bottom: -30px;
    right: -30px;
    font-family: var(--font-serif);
    font-size: 8rem;
    color: var(--vibrant-teal);
    opacity: 0.05;
    pointer-events: none;
    font-style: italic;
}

/* Animations Reveal */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    will-change: transform, opacity;
}

/* Form Styles Refinement: Sleek Form */
.sleek-form {
    padding: 0;
    margin: 0;
    width: 100%;
}

.sleek-group {
    margin-bottom: 2.5rem;
}

.sleek-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 0;
    font-size: 1.15rem;
    font-family: var(--font-body);
    color: #ffffff; /* Brightened text for high contrast against gradient */
    transition: all 0.4s ease;
    border-radius: 0;
}

.sleek-input:focus {
    outline: none;
    background: transparent;
    border-color: #ffffff;
    transform: none;
    box-shadow: none;
}

/* Custom UI/UX Checkbox Pill Buttons */
.custom-checkbox {
    display: inline-block;
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.custom-cb-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0,0,0,0.08);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.custom-checkbox input:checked + .custom-cb-label {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

@media (hover: hover) {
    .custom-checkbox:hover .custom-cb-label {
        background: rgba(255,255,255,0.8);
        border-color: rgba(0,0,0,0.15);
    }
    
    .custom-checkbox input:checked:hover + .custom-cb-label {
        background: #000;
        border-color: #000;
    }
}

.sleek-input.auto-expand {
    min-height: 45px;
    resize: none;
    overflow-y: hidden;
}

.sleek-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 0;
    font-size: 1.15rem;
    text-transform: none;
}

.sleek-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 1.2rem 2.5rem !important;
    background: transparent;
    color: var(--text-dark);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 100px !important;
    font-size: 1rem !important;
    text-transform: none;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1.5rem;
    cursor: pointer;
}

.sleek-submit:hover {
    background: var(--text-dark);
    color: white;
    border-color: var(--text-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* Team Section Refined */
#team {
    position: relative;
}

.team-card {
    padding: 3rem !important;
}

.team-img-wrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 2.5rem;
}

.team-img-wrapper::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(15px);
    transition: var(--transition);
}

.team-card:hover .team-img-wrapper::before {
    opacity: 0.5;
    inset: -15px;
}

.team-img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 50% !important;
    padding: 4px !important;
    background: white !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-img img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    transition: transform 0.6s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.1);
}

.curator-name {
    font-family: var(--font-hero);
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.curator-role {
    color: var(--vibrant-teal);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.team-bio {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Responsiveness System (Premium Overhaul) --- */

/* Desktop hide hamburger */
.menu-trigger {
    display: none;
}

.container {
    width: min(100% - 6rem, 1300px);
    margin: 0 auto;
}

/* Responsive section-header reduced */
.section-header {
    margin-bottom: clamp(3rem, 6vw, 6rem);
}

/* Responsive h2 default */
h2 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: clamp(-1.5px, -0.15vw, -3px);
}

/* Responsive retreats-showcase gap */
.retreats-showcase {
    gap: clamp(4rem, 8vw, 10rem);
}

@media (max-width: 1024px) {
    .container {
        width: min(100% - 4rem, 1200px);
    }
}

@media (max-width: 768px) {
    .container {
        width: min(100% - 2.5rem, 1200px);
    }

    :root {
        --radius-lg: 24px;
        --radius-md: 16px;
        --section-spacing: clamp(4rem, 10vw, 8rem);
    }

    /* ═══ NAVIGATION ═══ */
    nav {
        top: 0.75rem !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: var(--nav-pill-width) !important;
        height: 60px !important;
        padding: 0 1rem !important;
        border-radius: 100px !important;
        justify-content: space-between !important;
        z-index: 5000 !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
    }

    .nav-links {
        position: fixed;
        top: 5rem;
        left: 50%;
        transform: translateX(-50%) translateY(-20px);
        width: calc(100% - 2rem);
        max-width: 400px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(30px) saturate(160%);
        -webkit-backdrop-filter: blur(30px) saturate(160%);
        border-radius: 24px;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border: 1px solid rgba(255, 255, 255, 0.5);
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
        z-index: 5001;
    }

    .nav-links.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0);
    }

    .nav-links a {
        display: block !important;
        font-size: 1.1rem !important;
        font-family: var(--font-hero);
        font-weight: 700;
        color: var(--text-dark);
        padding: 0.5rem 0;
    }

    /* Hide nav CTA on mobile (both class names used across pages) */
    nav .cta-btn,
    nav .shiny-glass-cta,
    .logo-subtext {
        display: none !important;
    }

    .menu-trigger {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: var(--text-dark);
        color: white;
        cursor: pointer;
        font-size: 1.1rem;
        order: 3;
        flex-shrink: 0;
    }

    .logo-wrapper {
        order: 1;
    }

    .logo {
        font-size: 1.35rem;
    }

    .logo-accent {
        font-size: 1.5rem;
    }

    /* ═══ HERO ═══ */
    .hero {
        padding-top: 7rem !important;
        padding-bottom: 4rem !important;
        height: auto !important;
        min-height: 85svh !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: clamp(2.8rem, 10vw, 3.8rem) !important;
        line-height: 1.05 !important;
        letter-spacing: -2px !important;
    }

    .hero-subtext {
        font-size: 1.05rem !important;
        line-height: 1.65 !important;
        margin-bottom: 2.5rem !important;
        max-width: 90% !important;
    }

    /* ═══ SECTIONS ═══ */
    section {
        padding: var(--section-spacing) 0;
    }

    .reveal,
    .reveal-stagger {
        margin-bottom: var(--section-spacing);
    }

    .section-title {
        font-size: clamp(2rem, 6vw, 3.5rem) !important;
    }

    .section-subtitle {
        font-size: 1.05rem !important;
        margin-top: 0.75rem !important;
    }

    /* ═══ GRID & LAYOUT ═══ */
    .grid {
        grid-template-columns: 1fr !important;
        gap: var(--inner-gap) !important;
    }

    .retreat-group {
        gap: var(--inner-gap) !important;
    }

    /* Events page preorder grid */
    .preorder-retreats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .preorder-retreats .image-container {
        height: 180px !important;
    }

    .preorder-retreats .card-content {
        padding: 1rem !important;
    }

    .preorder-retreats h3 {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }

    .preorder-retreats p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .preorder-retreats .retreat-group-title,
    .preorder-retreats .filter-controls {
        grid-column: 1 / -1 !important;
        width: 100% !important;
        text-align: center !important;
    }

    .filter-controls {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.4rem !important;
        padding: 0 !important;
    }

    .filter-btn {
        padding: 0.6rem 0.2rem !important;
        font-size: 0.65rem !important;
        width: 100% !important;
        text-align: center !important;
    }

    .preorder-retreats .retreat-badge {
        font-size: 0.55rem !important;
        padding: 0.4rem 0.6rem !important;
        top: 0.5rem !important;
        right: 0.5rem !important;
        bottom: auto !important;
        border-radius: 100px !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }

    .retreat-card {
        width: 100% !important;
        max-width: 400px;
        margin: 0 auto;
        transform: none !important;
    }

    .retreat-card .card-content {
        padding: 1.5rem !important;
    }

    .retreat-card h3 {
        font-size: 1.5rem !important;
    }

    /* ═══ TESTIMONIALS (keep horizontal animation) ═══ */
    .testimonials-overflow {
        min-height: auto !important;
        padding: 4rem 0 !important;
        overflow: hidden !important;
    }

    .section-header {
        margin-bottom: clamp(3rem, 8vw, 6rem) !important;
    }

    .elegant-slider {
        margin-top: 2rem !important;
    }

    .elegant-card {
        width: 280px !important;
        max-width: 80vw !important;
        height: auto !important;
        min-height: 220px !important;
        padding: 2rem !important;
        flex-shrink: 0 !important;
    }

    .elegant-card p {
        font-size: 1.1rem !important;
        margin-bottom: 1.25rem !important;
    }

    .elegant-track {
        flex-direction: row !important;
        gap: 1.5rem !important;
        width: max-content !important;
        margin-left: 0;
        padding: 0 1.25rem !important;
        overflow-x: visible !important;
    }

    /* ═══ TEAM / CURATOR SECTION ═══ */
    .image-reveal-mask {
        aspect-ratio: 1/1 !important;
        max-width: 350px !important;
        margin: 0 auto !important;
    }

    .curator-info {
        text-align: center !important;
    }

    .curator-info h3 {
        font-size: clamp(2.2rem, 8vw, 2.8rem) !important;
        letter-spacing: -1px !important;
    }

    .team-img-wrapper {
        width: 120px !important;
        height: 120px !important;
    }

    /* ═══ CONTACT SECTION ═══ */
    #contact {
        margin-top: var(--section-spacing) !important;
        margin-bottom: var(--section-spacing) !important;
    }

    #contact > div {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 3rem !important;
    }

    #contact h2 {
        font-size: clamp(2rem, 6vw, 2.5rem) !important;
        letter-spacing: -1px !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }

    #contact p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
    }

    #contact {
        position: relative !important;
        padding-bottom: 0 !important;
        margin-bottom: calc(var(--section-spacing) + 5rem) !important;
    }

    .contact-text-col {
        position: static !important;
    }

    .contact-socials {
        position: absolute !important;
        bottom: -5rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100% !important;
        justify-content: center !important;
        margin-top: 0 !important;
    }

    .contact-form {
        padding: 3rem 1.5rem !important;
    }

    .sleek-input {
        font-size: 1rem !important;
    }

    .sleek-input::placeholder {
        font-size: 1rem !important;
    }

    /* ═══ BUTTONS ═══ */
    .shiny-glass-cta {
        padding: 1rem 2rem !important;
        font-size: 0.95rem !important;
    }

    .sleek-submit {
        padding: 1rem 2rem !important;
        font-size: 0.9rem !important;
        margin-top: 1rem !important;
    }

    /* ═══ INLINE STYLE OVERRIDES ═══ */
    /* Force ethos section flex children to stack vertically */
    .ethos-section > div[style*="display: flex"] {
        flex-direction: column !important;
    }

    /* Fix inline min-width: 300px on flex children that cause horizontal scroll */
    [style*="min-width: 300px"],
    [style*="min-width:300px"] {
        min-width: 0 !important;
        width: 100% !important;
        flex: none !important;
    }

    /* Force curator/team grid to single column */
    .reveal-stagger[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Fix experience block flex children */
    .experience-block > [style*="flex: 1"] {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Fix inline font-size values that are too large for mobile */
    .ethos-section h3,
    .text-content h2 {
        font-size: clamp(2rem, 5vw, 3rem) !important;
    }

    /* Fix experience blocks on retreat pages */
    .experience-block {
        gap: 2rem !important;
        margin-bottom: 4rem !important;
    }

    .experience-block [style*="padding: 4rem"],
    .experience-block [style*="padding:4rem"] {
        padding: 2rem !important;
    }

    /* Fix gallery grids on retreat detail pages */
    .gallery-grid {
        gap: 1rem !important;
    }

    .gallery-item:nth-child(n) {
        grid-column: 1 / 13 !important;
        height: 250px !important;
        margin-top: 0 !important;
    }

    .gallery-info {
        bottom: 1.5rem !important;
        left: 1.5rem !important;
        right: 1.5rem !important;
    }

    .gallery-info h4 {
        font-size: 1.4rem !important;
    }

    .gallery-info p {
        font-size: 0.9rem !important;
    }

    /* Fix retreat detail page sidebar */
    .price-card {
        position: static !important;
        margin-top: 2rem;
    }

    .content-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Fix retreat header */
    .retreat-header {
        padding-top: 7rem !important;
        padding-bottom: 3rem !important;
    }

    .retreat-meta-badges {
        gap: 0.5rem !important;
    }

    .meta-badge {
        font-size: 0.7rem !important;
        padding: 0.5rem 1rem !important;
    }

    /* Fix floating sanctuary section */
    .floating-sanctuary-section {
        height: auto !important;
        min-height: 60vh !important;
        padding-top: 3rem !important;
    }

    .sanc-img-item {
        width: clamp(120px, 30vw, 200px) !important;
    }

    /* Event detail page heroes */
    .event-hero {
        height: auto !important;
        min-height: 65vh !important;
        padding-top: 7rem !important;
    }

    .event-title {
        font-size: clamp(2.2rem, 7vw, 3.5rem) !important;
        letter-spacing: -1px !important;
    }

    /* Split content on event detail pages */
    .split-content {
        gap: 2.5rem !important;
    }

    .split-content.reverse {
        flex-direction: column !important;
    }

    .split-image {
        aspect-ratio: 4/3 !important;
        max-width: 100% !important;
    }

    .split-title {
        font-size: clamp(2rem, 5vw, 3rem) !important;
    }

    /* ═══ FOOTER ═══ */
    footer {
        padding: 3rem 1.25rem !important;
    }
}

/* ═══ SMALL PHONE REFINEMENTS ═══ */
@media (max-width: 480px) {
    :root {
        --h1: 2.5rem;
        --h2: 2.1rem;
    }

    .container {
        width: min(100% - 2rem, 1200px);
    }

    .hero-title {
        font-size: clamp(2.4rem, 9vw, 3.2rem) !important;
        line-height: 1.05 !important;
        letter-spacing: -1.5px !important;
    }

    .hero-subtext {
        font-size: 0.95rem !important;
    }

    p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* Single column for event cards on small phones */
    .preorder-retreats {
        grid-template-columns: 1fr !important;
    }

    .preorder-retreats .image-container {
        height: 220px !important;
    }

    .elegant-card {
        width: 250px !important;
    }

    /* Smaller border-radius on small screens for cleanliness */
    .glass-card,
    .image-frame,
    .image-reveal-mask {
        border-radius: 20px !important;
    }

    .gallery-item {
        border-radius: 20px !important;
        height: 200px !important;
    }

    /* Price card compact */
    .price-card {
        padding: 2rem !important;
        border-radius: 24px !important;
    }

    .price-value {
        font-size: 2.8rem !important;
    }

    /* Journey page timeline */
    .timeline-box {
        padding: 1.5rem !important;
        border-radius: 20px !important;
    }

    /* Announcement cards */
    .announcement-card {
        padding: 1.8rem !important;
        border-radius: 24px !important;
    }

    .announcement-title {
        font-size: 1.4rem !important;
    }

    /* Category filter tighter on small screens */
    .category-filter,
    .cat-btn {
        gap: 0.5rem !important;
    }

    .cat-btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.7rem !important;
    }
}

/* --- Mystery Modal Styling --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: min(90%, 450px);
    padding: 3.5rem 2.5rem;
    text-align: center;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.1);
    /* Lighter glass tint */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    font-family: var(--font-hero);
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    /* Brightened significantly */
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.modal-actions .cta-btn {
    width: 100%;
    justify-content: center;
}

.text-link {
    background: none;
    border: none;
    color: white;
    font-family: var(--font-hero);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0.7;
    /* Increased from 0.5 */
    transition: opacity 0.3s ease;
    padding: 0.5rem 1rem;
}

.text-link:hover {
    opacity: 1;
}