/* ============================================================
   Rancho Moonrise — Global Stylesheet
   Mobile-first responsive design · Light theme
   ============================================================ */

/* ---------- Brand Font: Americane (self-hosted) ---------- */
@font-face {
    font-family: 'Americane';
    src: url('fonts/Americane-Bold.otf') format('opentype');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Americane';
    src: url('fonts/Americane-Black.otf') format('opentype');
    font-weight: 800 900;
    font-style: normal;
    font-display: swap;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* Brand palette — Rancho Moonrise 2022 Brand Guide + Pinterest warmth */
    --color-bg: #F2E9DB;            /* White Denim — brand guide */
    --color-bg-alt: #ebe3d5;
    --color-bg-card: #faf7f2;
    --color-surface: #f0ead9;
    --color-orange: #C9842B;         /* Amber — brand guide */
    --color-orange-light: #ddb878;
    --color-orange-dark: #a67832;
    --color-orange-deep: #b8832e;
    --color-terracotta: #B6603F;     /* Clay — brand guide */
    --color-coral: #DE8556;          /* Coral — brand guide */
    --color-sage: #8D9B79;           /* Sage — brand guide */
    --color-pine: #31735A;           /* Pine — brand guide */
    --color-teal: #1FA1B6;           /* Cerulean — brand guide (mood color, used for teal sections) */
    --color-teal-deep: #0E6A7A;      /* Deeper Cerulean for broad section backgrounds — mirrors how --color-pine has a darker companion */
    --color-sunrise: #F9A67D;        /* Sunrise — brand guide */
    --color-cream: #F2E9DB;          /* White Denim */
    --color-cream-dark: #e4d9c8;
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    --color-charcoal: #4A4C4D;       /* Charcoal — brand guide */
    --color-text: #3d3530;
    --color-text-muted: #7a6e62;
    --color-text-light: #ffffff;
    --color-heading: #2a2520;
    --color-border: rgba(182, 96, 63, 0.2);
    --color-border-light: rgba(0, 0, 0, 0.07);
    --color-overlay: rgba(0, 0, 0, 0.5);
    --color-overlay-heavy: rgba(0, 0, 0, 0.6);
    --color-footer-bg: #1e1b16;

    /* Typography — Brand Guide: Americane (primary), Overpass (secondary), Lora (body) */
    --font-heading: 'Americane', 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Overpass', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    --font-accent: 'Lora', 'Cormorant Garamond', Georgia, serif;

    /* Spacing — 20% more breathing room */
    --space-xs: 10px;
    --space-sm: 20px;
    --space-md: 30px;
    --space-lg: 58px;
    --space-xl: 96px;
    --space-2xl: 144px;

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 800px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition: 0.3s var(--ease);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

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

a {
    color: var(--color-orange);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--color-orange-dark); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-heading);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { margin-bottom: 1em; }

.accent-text {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--color-orange);
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: var(--space-sm);
    display: block;
}

/* ---------- Layout Utilities ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

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

.text-center { text-align: center; }
.text-gold { color: var(--color-orange); }

.section {
    padding: var(--space-xl) 0;
}

.section--cream {
    background: var(--color-cream);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    color: var(--color-text);
}
.section--cream h2,
.section--cream h3 { color: var(--color-heading); }
.section--cream .section-label { color: var(--color-terracotta); }

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

.section--charcoal {
    background: var(--color-dark);
    color: var(--color-cream);
}
.section--charcoal h2,
.section--charcoal h3 { color: var(--color-cream); }
.section--charcoal .section-label { color: var(--color-orange-light); }
.section--charcoal .split__content p,
.section--charcoal .event-card__desc { color: rgba(245, 240, 232, 0.92); }

.section--sage { background: var(--color-sage); color: var(--color-white); }
.section--sage h2, .section--sage h3 { color: var(--color-white); }
.section--sage .section-label { color: var(--color-cream-dark); }
.section--sage p, .section--sage .split__content p { color: var(--color-text); }

/* Darker, richer forest green — better contrast for white body text than the
   brand-palette mid-pine (#31735A). Reserved for broad section backgrounds;
   --color-pine remains the brand token for smaller accents. */
.section--pine { background: #1f4d3a; color: var(--color-white); }
.section--pine h2, .section--pine h3 { color: var(--color-white); }
.section--pine .section-label { color: var(--color-orange-light); }
.section--pine p, .section--pine .event-card__desc, .section--pine .split__content p { color: rgba(255, 255, 255, 0.96); }

.section--terracotta { background: var(--color-terracotta); color: var(--color-white); }
.section--terracotta h2, .section--terracotta h3 { color: var(--color-white); }
.section--terracotta .section-label { color: var(--color-cream-dark); }
.section--terracotta p, .section--terracotta .split__content p { color: rgba(255, 255, 255, 0.96); }

/* Teal — Cerulean from the brand mood palette. Two depths so the homepage can
   keep its visual hierarchy after Ashley swapped out the green:
     .section--teal       → deep teal (companion to --color-pine's darker shade)
     .section--cerulean   → mid-tone Cerulean (companion to --color-sage) */
.section--teal { background: var(--color-teal-deep); color: var(--color-white); }
.section--teal h2, .section--teal h3 { color: var(--color-white); }
.section--teal .section-label { color: var(--color-orange-light); }
.section--teal p, .section--teal .event-card__desc, .section--teal .split__content p { color: rgba(255, 255, 255, 0.96); }

.section--cerulean { background: var(--color-teal); color: var(--color-white); }
.section--cerulean h2, .section--cerulean h3 { color: var(--color-white); }
.section--cerulean .section-label { color: var(--color-cream-dark); }
.section--cerulean p, .section--cerulean .split__content p { color: var(--color-text); }

/* ---------- Buttons — Outline style with fill hover ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 14px 32px;
    min-height: 44px;
    border: 1px solid;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    text-decoration: none;
    text-align: center;
}

.btn--primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
}
.btn--primary:hover {
    background: #9a4f33; /* darker Clay for hover feedback */
    color: var(--color-white);
    border-color: #9a4f33;
}

.btn--outline {
    background: var(--color-heading);
    color: var(--color-white);
    border: 1px solid var(--color-heading);
}
.btn--outline:hover {
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
}

.btn--outline-gold {
    background: transparent;
    color: var(--color-orange);
    border: 1px solid var(--color-orange);
}
.btn--outline-gold:hover {
    background: var(--color-orange);
    color: var(--color-white);
}

.btn--dark {
    background: transparent;
    color: var(--color-heading);
    border-color: var(--color-heading);
}
.btn--dark:hover {
    background: var(--color-heading);
    color: var(--color-white);
}

.btn-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

/* ---------- Navigation — Orange Glassmorphism ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /* Skinnier orange bar — fixed height, no padding, logo overflows below */
    height: 56px;
    padding: 0;
    background: rgba(182, 96, 63, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
    overflow: visible;
    border-bottom: 1px solid rgba(241, 220, 191, 0.12);
}

.nav--scrolled {
    background: rgba(182, 96, 63, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
    /* Same height/padding as .nav — don't resize on scroll */
    height: 56px;
    padding: 0;
}

.nav__inner {
    max-width: none;
    margin: 0;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    height: 100%;
    overflow: visible;
}

.nav__logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    /* Logo center is offset down so the hang below the bar is asymmetric */
    align-self: center;
    position: relative;
    z-index: 2;
}

/* Pre-logo nav link (e.g., Happenings) — sits to the left of the logo on
   desktop. Hidden on mobile since the hamburger menu already lists it. */
.nav__pre-link {
    display: none;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color var(--transition);
    flex-shrink: 0;
}
.nav__pre-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--transition);
}
/* Override the global `a:hover { color: var(--color-orange-dark) }` so the
   pre-link stays white on the terracotta nav bg instead of fading into it. */
.nav__pre-link:hover,
.nav__pre-link:focus { color: var(--color-white); }
.nav__pre-link:hover::after { width: 100%; }
@media (min-width: 960px) {
    .nav__pre-link { display: inline-flex; align-items: center; }
}

.nav__logo-img {
    /* Taller than the 56px nav so it hangs into the hero below */
    height: 104px;
    width: auto;
    flex-shrink: 0;
    background: #fff;
    border-radius: 14px;
    padding: 8px;
    border: 1px solid rgba(182, 96, 63, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.14);
    /* Push logo down so more of it extends into the hero than clips above */
    margin-top: 30px;
    object-fit: contain;
}

.nav--scrolled .nav__logo-img {
    height: 104px;
    padding: 8px;
    background: #fff;
    border: 1px solid rgba(182, 96, 63, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.14);
    margin-top: 30px;
}

.nav__links {
    display: none;
    list-style: none;
    gap: var(--space-md);
    align-items: center;
    margin-left: 0;
    flex-grow: 1;
}

.nav__links li a {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
    padding: 6px 0;
    position: relative;
    transition: color var(--transition);
}
.nav__links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width var(--transition);
}
.nav__links li a:hover { color: var(--color-white); }
.nav__links li a:hover::after { width: 100%; }

.nav__links .btn {
    padding: 10px 18px;
    font-size: 0.7rem;
    background: var(--color-white);
    color: var(--color-terracotta);
    border: 1px solid var(--color-white);
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.nav__social-group {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav__links .btn:hover {
    background: var(--color-terracotta);
    color: var(--color-white);
    border-color: var(--color-terracotta);
}

/* Remove underline effect on buttons */
.nav__links .btn::after { display: none; }

.nav__toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all var(--transition);
}

/* Mobile menu */
.nav__mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
}
.nav__mobile.is-open { display: flex; }

.nav__mobile a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-heading);
    text-decoration: none;
}
.nav__mobile a:hover { color: var(--color-orange); }

.nav__close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--color-heading);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: left;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    /* Legacy: some templates still use background-image on this div */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero__bg > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.08) 40%,
        rgba(0, 0, 0, 0.40) 100%
    );
}

/* Slideshow */
.hero--slideshow .hero__slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.hero--slideshow .hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}
/* Per-slide positioning for non-standard aspect ratios */
.hero--slideshow .hero__slide[data-pos="top"] .hero__img { object-position: center 20%; }
.hero--slideshow .hero__slide[data-pos="center"] .hero__img { object-position: center center; }
.hero--slideshow .hero__slide.is-active { opacity: 1; }
.hero--slideshow .hero__slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.08) 40%,
        rgba(0, 0, 0, 0.40) 100%
    );
}

.hero__nav {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero__arrow {
    display: none;
}

.hero__dots {
    display: flex;
    gap: 8px;
}

.hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}
.hero__dot.is-active {
    background: var(--color-white);
    transform: scale(1.2);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(900px, calc(100vw - 32px));
    max-width: 900px;
    margin: 0 0 104px clamp(24px, 4vw, 64px);
    padding: clamp(24px, 3vw, 36px) clamp(28px, 4vw, 48px);
}

.hero__label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
    line-height: 1.1;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
    text-wrap: balance;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    margin-bottom: var(--space-md);
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 42rem;
}

.hero__content .btn-group {
    justify-content: flex-start;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--color-orange-light);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    transition: opacity var(--transition);
}
.hero__scroll:hover { opacity: 1; }
.hero__scroll span {
    width: 1px;
    height: 40px;
    background: var(--color-orange-light);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 1; height: 50px; }
}

/* ---------- Feature Grid ---------- */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.feature-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
}

.feature-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.feature-card:hover .feature-card__img {
    transform: scale(1.05);
}

.feature-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
}

.feature-card__title {
    font-size: 1.3rem;
    color: var(--color-white);
    margin-bottom: 4px;
}

.feature-card__desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

/* ---------- Split Section ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.split__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split__content {
    padding: var(--space-md) 0;
}

.split__content p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

/* ---------- Event Slideshow (contained) ---------- */
.event-slideshow {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    /* Teal-deep matches the wellness `section--teal` background so any
       letterbox on non-square slides blends in (was pine when the section
       used --color-pine). */
    background: var(--color-teal-deep);
}

.event-slideshow__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-slideshow__slide.is-active { opacity: 1; }

.event-slideshow__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-slideshow__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.event-slideshow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.event-slideshow__dot.is-active {
    background: var(--color-white);
    transform: scale(1.3);
}

/* ---------- Testimonial Marquee ---------- */
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-marquee {
    position: relative;
    overflow: hidden;
    padding: var(--space-lg) 0;
}

.testimonial-marquee__header {
    text-align: center;
    margin-bottom: var(--space-md);
}

.testimonial-marquee__track {
    display: flex;
    gap: var(--space-md);
    /* Slowed from 50s → 120s so reviews stay on screen long enough to read.
       Mobile override below further tunes for smaller card width. */
    animation: marquee-scroll 120s linear infinite;
    width: max-content;
}

.testimonial-marquee:hover .testimonial-marquee__track,
.testimonial-marquee.is-touch-paused .testimonial-marquee__track {
    animation-play-state: paused;
}

.testimonial-marquee__card {
    flex: 0 0 360px;
    background: var(--color-bg-card);
    border-left: 3px solid var(--color-terracotta);
    border-radius: 8px;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-sm);
}

.testimonial-marquee__quote {
    font-family: var(--font-accent);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-heading);
    line-height: 1.6;
    margin: 0;
}

.testimonial-marquee__quote::before { content: '\201C'; }
.testimonial-marquee__quote::after { content: '\201D'; }

.testimonial-marquee__attr {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-orange);
    letter-spacing: 1px;
}

.testimonial-marquee__stars {
    color: var(--color-orange);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* Fade edges */
.testimonial-marquee::before,
.testimonial-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.testimonial-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--color-bg) 0%, transparent 100%);
}

.testimonial-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--color-bg) 0%, transparent 100%);
}

@media (max-width: 600px) {
    .testimonial-marquee__card { flex: 0 0 280px; }
    /* Slowed from 35s → 80s so mobile readers have time to finish a review. */
    .testimonial-marquee__track { animation-duration: 80s; }
}

/* ---------- Events Timeline ---------- */
.events-timeline-section {
    position: relative;
    padding-top: var(--space-lg);
}

.events-timeline-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(222, 133, 86, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(141, 155, 121, 0.12), transparent 28%);
    pointer-events: none;
}

.events-timeline-intro {
    position: relative;
    display: grid;
    gap: var(--space-sm);
    align-items: end;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(182, 96, 63, 0.16);
}

.events-timeline-intro__eyebrow,
.events-month__eyebrow {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #ab6447;
    margin-bottom: var(--space-xs);
}

.events-timeline-intro p,
.events-month__header p {
    max-width: 36rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.events-timeline {
    display: grid;
    gap: var(--space-xl);
}

.events-month {
    display: grid;
    gap: var(--space-md);
}

.events-month__header {
    position: relative;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(182, 96, 63, 0.16);
}

.events-month__list {
    position: relative;
    display: grid;
    gap: var(--space-sm);
}

.events-month__list::before {
    content: "";
    position: absolute;
    left: 47px;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(to bottom, rgba(171, 100, 71, 0.28), rgba(136, 199, 178, 0.18));
}

.event-card {
    position: relative;
    display: grid;
    /* `minmax(0, 310px)` caps the image column at 310px so the natural pixel
       dimensions of large source images don't blow out the auto-track. */
    grid-template-columns: minmax(0, 310px) minmax(0, 1fr);
    gap: var(--space-sm);
    align-items: start;
    background: rgba(250, 247, 242, 0.92);
    border: 1px solid rgba(182, 96, 63, 0.14);
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 12px 32px rgba(74, 76, 77, 0.06);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.event-card:hover {
    border-color: rgba(171, 100, 71, 0.34);
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(74, 76, 77, 0.1);
}

.event-card--timeline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 47px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #88c7b2;
    border: 3px solid var(--color-bg);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 3px rgba(136, 199, 178, 0.18);
}

.event-card__date-badge {
    position: relative;
    z-index: 1;
    min-width: 58px;
    padding: 12px 8px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ab6447 0%, #c98366 100%);
    color: var(--color-white);
    text-align: center;
    box-shadow: 0 10px 24px rgba(171, 100, 71, 0.22);
}

.event-card__date-day,
.event-card__date-month {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.event-card__date-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    line-height: 1;
    margin: 6px 0;
}

.event-card__body {
    display: grid;
    gap: 10px;
    align-content: start;
    min-width: 0;
}

.event-card__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: center;
}

.event-card__tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(171, 100, 71, 0.12);
    color: #874f38;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.event-card__tag--sage {
    background: rgba(136, 199, 178, 0.22);
    color: #31735A;
}

.event-card__tag--free {
    background: rgba(237, 169, 130, 0.2);
    color: #a86246;
}

.event-card__date {
    font-family: var(--font-body);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ab6447;
    margin-bottom: 0;
}

.event-card__title {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin-bottom: 0;
}

.event-card__desc {
    font-size: 0.98rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
    max-width: 42rem;
}

.event-card__link {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ab6447;
}

.event-card__img {
    width: min(100%, 310px);
    justify-self: end;
    /* `align-self: start` keeps the image square per its aspect-ratio.
       The timeline view overrides this to stretch and fill row height. */
    align-self: start;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--color-cream-dark);
}
.event-card--timeline .event-card__img { align-self: stretch; }

.event-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.event-card:hover .event-card__img img { transform: scale(1.05); }

/* ---------- Venue Showcase (two-up side-by-side) ---------- */
.venue-duo {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.venue-duo__card {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
}

.venue-duo__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.venue-duo__card:hover img {
    transform: scale(1.05);
}

.venue-duo__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-md);
    /* Stronger gradient so white text reads clearly on bright image regions */
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.15) 100%);
}

.venue-duo__overlay h3 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--color-white);
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.75), 0 1px 3px rgba(0,0,0,0.9);
}

.venue-duo__overlay p {
    font-size: 0.95rem;
    color: #ffffff;
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 8px rgba(0,0,0,0.75), 0 1px 3px rgba(0,0,0,0.9);
}

.venue-duo__overlay .btn {
    text-shadow: none;
}

@media (min-width: 960px) {
    .venue-duo { grid-template-columns: 1fr 1fr; }
    /* Four-card variant: keep a 2x2 grid so each card stays tall enough to read */
    .venue-duo--quad { grid-template-columns: 1fr 1fr; }
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    position: relative;
    padding: var(--space-xl) var(--space-md);
    text-align: center;
    overflow: hidden;
}

.cta-banner__bg {
    position: absolute;
    inset: 0;
    /* Legacy: some templates still use background-image on this div */
    background-size: cover;
    background-position: center;
}
.cta-banner__bg > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.cta-banner__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-overlay-heavy);
}

.cta-banner__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-banner__content h2 { color: var(--color-white); }
.cta-banner__content p { color: rgba(255, 255, 255, 0.8); }

/* ---------- Footer ---------- */
.footer {
    background: var(--color-footer-bg);
    border-top: 3px solid var(--color-terracotta);
    padding: var(--space-xl) 0 var(--space-lg);
    color: rgba(245, 240, 232, 0.7);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.footer h2, .footer h3 { color: var(--color-cream); }

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer__brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-cream);
    margin-bottom: var(--space-sm);
}

.footer__desc {
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer__heading {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: var(--space-sm);
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer__links a {
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer__links a:hover { color: var(--color-orange-light); }

.footer__contact p {
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}
.footer__contact a { color: rgba(245, 240, 232, 0.6); }
.footer__contact a:hover { color: var(--color-orange-light); }

.footer__social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.footer__social a {
    color: rgba(245, 240, 232, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer__social a:hover { color: var(--color-orange-light); }

.footer__bottom {
    border-top: 1px solid rgba(245, 240, 232, 0.1);
    padding-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.5);
}

.footer__bottom a { color: rgba(245, 240, 232, 0.5); }
.footer__bottom a:hover { color: var(--color-orange-light); }

/* ---------- Blog Scaffold ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.blog-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color var(--transition), transform var(--transition);
}
.blog-card:hover {
    border-color: var(--color-border);
    transform: translateY(-4px);
}

.blog-card__img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }

.blog-card__body {
    padding: var(--space-md);
}

.blog-card__date {
    font-size: 0.75rem;
    color: var(--color-orange);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.blog-card__title {
    font-size: 1.1rem;
    margin-bottom: var(--space-xs);
}

.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ---------- Page Header ---------- */
.page-header {
    padding: calc(var(--space-2xl) + 60px) 0 var(--space-xl);
    text-align: center;
    background: var(--color-bg-alt);
}

.page-header .section-label { margin-bottom: var(--space-xs); }

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.page-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text-muted);
}

.page-header--hero {
    position: relative;
    overflow: hidden;
    color: var(--color-cream);
}
.page-header--hero h1 { color: var(--color-white); }
.page-header--hero p { color: rgba(255, 255, 255, 0.85); }
.page-header--hero .section-label { color: var(--color-orange-light); }
.page-header--hero .page-header__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.page-header--hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
    z-index: 0;
}
.page-header--hero .container {
    position: relative;
    z-index: 1;
}

/* ---------- FAQ Accordion ---------- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-md) 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-heading);
}

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--color-orange);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.is-open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.faq-answer__inner {
    padding: 0 0 var(--space-md);
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ---------- Contact Form ---------- */
.form-group {
    margin-bottom: var(--space-sm);
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-orange-dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg);
    border: 1px solid #d4cfc7;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem; /* 16px — prevents iOS Safari auto-zoom on focus */
    min-height: 44px;
    transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-orange);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Accommodations Grid ---------- */
.accom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.accom-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-light);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.accom-card__gallery {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.accom-card__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accom-card__body {
    padding: var(--space-md);
}

.accom-card__amenities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-sm);
    margin: var(--space-sm) 0;
}

.accom-card__amenities li {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    padding: 4px 12px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-alt);
}

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

/* The base events-grid (homepage upcoming-events block). Stacks vertically
   as full-width cards. The responsive `grid-template-columns` rules below are
   dormant — they would only kick in if `display: grid` is added here. Kept
   as a single-column stack since each card is wide enough to lay out
   image-left + body-right comfortably. */
.events-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Tablet */
@media (min-width: 640px) {
    .features { grid-template-columns: repeat(2, 1fr); }
    .events-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 960px) {
    .nav__links { display: flex; }
    .nav__toggle { display: none; }

    .features { grid-template-columns: repeat(3, 1fr); }

    .split { grid-template-columns: 1fr 1fr; }
    .split--contact { grid-template-columns: 3fr 2fr; align-items: start; }
    .split--contact > div:last-child { position: sticky; top: 100px; }
    .split--reverse .split__image { order: 2; }
    .split--reverse .split__content { order: 1; }

    .events-grid { grid-template-columns: repeat(3, 1fr); }
    .blog-grid { grid-template-columns: repeat(3, 1fr); }

    .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }

    .accom-card {
        grid-template-columns: 1fr 1fr;
    }
}

/* Large */
@media (min-width: 1200px) {
    .features { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Animations ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--color-orange);
    color: var(--color-white);
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 700;
    font-size: 0.85rem;
}
.skip-link:focus { top: 8px; }

/* ---------- Contact Trust Bar ---------- */
.contact-trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    margin-bottom: var(--space-md);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-light);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
}

.contact-trust-bar__stars {
    color: var(--color-orange);
    letter-spacing: 1px;
}

.contact-trust-bar__stars strong {
    color: var(--color-heading);
}

.contact-trust-bar__divider {
    width: 1px;
    height: 16px;
    background: var(--color-border-light);
}

@media (max-width: 600px) {
    .contact-trust-bar { flex-direction: column; gap: 4px; text-align: center; }
    .contact-trust-bar__divider { display: none; }
}

/* ---------- Intent Selector ---------- */
.intent-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: var(--space-lg);
}

.intent-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 16px 22px;
    background: var(--color-white);
    border: 2px solid var(--color-border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    font-family: var(--font-body);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.intent-btn:hover {
    border-color: var(--color-orange-light);
    background: var(--color-cream);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.intent-btn.is-active {
    border-color: var(--color-orange);
    background: linear-gradient(to bottom, rgba(201,148,74,0.06), rgba(201,148,74,0.01));
    box-shadow: 0 0 0 1px var(--color-orange), 0 8px 24px rgba(201,148,74,0.15);
    transform: translateY(-2px);
}

.intent-btn__icon {
    color: var(--color-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(201,148,74,0.08);
    flex-shrink: 0;
}

.intent-btn__icon svg {
    width: 28px;
    height: 28px;
}

.intent-btn.is-active .intent-btn__icon {
    background: var(--color-orange);
    color: var(--color-white);
}

.intent-btn__label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.2;
}

.intent-btn__desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

@media (max-width: 900px) {
    .intent-selector {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .intent-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .intent-btn { padding: 20px 12px 16px; }
    .intent-btn__icon { width: 48px; height: 48px; }
    .intent-btn__icon svg { width: 24px; height: 24px; }
    .intent-btn__label { font-size: 0.9rem; }
    .intent-selector .intent-btn:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 60%;
        justify-self: center;
    }
}

/* ---------- Intent Forms ---------- */
.intent-form {
    animation: fadeInUp 0.3s var(--ease);
}

.intent-form__header {
    margin-bottom: var(--space-md);
}

.intent-form__header h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-heading);
    margin-bottom: var(--space-xs);
}

.intent-form__header p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.intent-redirect {
    padding: var(--space-lg);
    background: var(--color-bg-alt);
    border: 1px solid rgba(201,148,74,0.15);
    text-align: center;
}

/* ---------- Form Rows (two-column) ---------- */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 600px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
}

/* ---------- Calendly CTA ---------- */
.calendly-cta {
    padding: var(--space-md);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-light);
    margin-bottom: var(--space-md);
}

.calendly-cta__text {
    font-size: 1rem;
    color: var(--color-heading);
}

.calendly-cta__note {
    margin-top: var(--space-xs);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.calendly-cta__options {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.calendly-cta__option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.calendly-cta__option svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-orange);
}

.calendly-cta__option strong {
    display: block;
    color: var(--color-heading);
    font-size: 0.85rem;
}

.calendly-cta__option a {
    color: var(--color-orange-dark);
    font-size: 0.85rem;
}

/* Calendly placeholder */
.calendly-placeholder {
    position: relative;
}

/* ---------- Urgency Banner ---------- */
.urgency-banner {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, rgba(201,148,74,0.1) 0%, rgba(201,148,74,0.05) 100%);
    border: 1px solid rgba(201,148,74,0.25);
    font-size: 0.95rem;
    color: var(--color-heading);
}

.urgency-banner p { margin-bottom: 0; }

.urgency-banner a {
    color: var(--color-orange-dark);
    font-weight: 700;
}

/* ---------- Chat Widget ---------- */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9000;
    font-family: var(--font-body);
}

.chat-widget__toggle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-orange);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(201,148,74,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
    color: var(--color-white);
    font-size: 1.5rem;
    line-height: 1;
    animation: chatPulse 2s ease-in-out infinite;
}

@keyframes chatPulse {
    0%, 100% { box-shadow: 0 4px 24px rgba(201,148,74,0.4); }
    50% { box-shadow: 0 4px 24px rgba(201,148,74,0.4), 0 0 0 8px rgba(201,148,74,0.15); }
}

.chat-widget__toggle:hover {
    transform: scale(1.1);
    background: var(--color-orange-dark);
    animation: none;
    box-shadow: 0 6px 30px rgba(201,148,74,0.5);
}

.chat-widget__label {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 10px;
    background: var(--color-white);
    color: var(--color-heading);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    white-space: nowrap;
    pointer-events: none;
    animation: labelFadeIn 0.5s ease 3s both;
}

.chat-widget__label::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 24px;
    border: 6px solid transparent;
    border-top-color: var(--color-white);
}

@keyframes labelFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-widget__panel {
    position: absolute;
    bottom: 76px;
    right: 0;
    width: 380px;
    max-height: 520px;
    background: var(--color-white);
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-widget__panel.is-open {
    display: flex;
}

.chat-widget__header {
    padding: 16px 20px;
    background: var(--color-orange);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-widget__header h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.chat-widget__close {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chat-widget__body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    max-height: 340px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-msg {
    max-width: 85%;
    padding: 10px 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    animation: fadeInUp 0.25s var(--ease);
}

.chat-msg--bot {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-light);
    align-self: flex-start;
    color: var(--color-text);
}

.chat-msg--user {
    background: var(--color-orange);
    color: var(--color-white);
    align-self: flex-end;
}

.chat-msg a {
    color: var(--color-orange-dark);
    font-weight: 600;
}

.chat-msg--user a {
    color: var(--color-white);
    text-decoration: underline;
}

.chat-widget__suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 16px 12px;
}

.chat-suggestion {
    padding: 6px 12px;
    background: var(--color-cream);
    border: 1px solid rgba(201,148,74,0.2);
    font-size: 0.8rem;
    color: var(--color-orange-dark);
    cursor: pointer;
    font-family: var(--font-body);
    transition: background 0.2s var(--ease);
}

.chat-suggestion:hover {
    background: var(--color-orange-light);
    color: var(--color-white);
}

.chat-widget__input {
    display: flex;
    border-top: 1px solid var(--color-border-light);
}

.chat-widget__input input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--color-bg);
    color: var(--color-text);
}

.chat-widget__input input:focus {
    outline: none;
}

.chat-widget__input button {
    padding: 12px 16px;
    background: var(--color-orange);
    border: none;
    color: var(--color-white);
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: background 0.2s var(--ease);
}

.chat-widget__input button:hover {
    background: var(--color-orange-dark);
}

/* Mobile chat responsiveness */
@media (max-width: 480px) {
    .chat-widget__panel {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 68px;
        max-height: 70vh;
    }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Mobile Responsiveness Fixes ---------- */
@media (max-width: 639px) {
    /* Tighten section padding on mobile */
    .section { padding: var(--space-lg) 0; }
    .page-header { padding: calc(var(--space-xl) + 60px) 0 var(--space-lg); }
    .page-header p { padding: 0 var(--space-sm); }

    /* Hero breathing room */
    .hero { min-height: 82vh; }
    .hero__content {
        width: calc(100vw - 24px);
        margin: 0 12px 88px;
        padding: 22px 16px 24px;
    }
    .hero__subtitle { font-size: 0.95rem; margin-bottom: var(--space-md); }
    .hero__label { font-size: 0.65rem; letter-spacing: 3px; }

    /* Buttons don't crowd — keep 44px tap target and readable label */
    .btn { padding: 14px 24px; font-size: 0.8rem; min-height: 48px; letter-spacing: 2px; }
    .btn-group { gap: 10px; }

    /* Feature cards: single column with less height */
    .feature-card { aspect-ratio: 16 / 9; }

    /* Split sections: less gap */
    .split { gap: var(--space-md); }
    .split__content { padding: var(--space-sm) 0; }

    /* CTA banners */
    .cta-banner { padding: var(--space-lg) var(--space-sm); }

    /* Testimonial */
    .testimonial { padding: var(--space-md) var(--space-sm); }

    /* Footer: tighter layout */
    .footer { padding: var(--space-lg) 0 var(--space-md); }
    .footer__grid { gap: var(--space-md); }
    .footer__social { flex-wrap: wrap; }

    /* Events timeline */
    .events-timeline { gap: var(--space-lg); }
    .events-month__list::before { left: 41px; }
    .event-card--timeline::before { left: 41px; }
    .event-card { padding: 16px; }
    .event-card__img { width: 100%; aspect-ratio: 16 / 10; }

    /* Accommodations */
    .accom-grid { gap: var(--space-md); }

    /* Nav: ensure logo + hamburger don't collide */
    .nav { height: 56px; padding: 0; }
    .nav--scrolled { height: 56px; padding: 0; }
    .nav__inner { padding: 0 var(--space-sm); }
    /* Framed logo card — stacked wordmark in white rounded square */
    .nav__logo-img {
        height: 92px;
        width: auto;
        padding: 7px;
        margin-top: 22px;
        background: #fff;
        border: 1px solid rgba(182, 96, 63, 0.12);
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    }
    .nav--scrolled .nav__logo-img {
        height: 92px;
        padding: 7px;
        margin-top: 22px;
        background: #fff;
        border: 1px solid rgba(182, 96, 63, 0.12);
        box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    }

    /* Mobile menu: breathing room */
    .nav__mobile a { font-size: 1.3rem; }
    .nav__mobile { gap: var(--space-sm); }

    /* Blog grid */
    .blog-card__body { padding: var(--space-sm); }
}

@media (max-width: 400px) {
    .btn-group { flex-direction: column; align-items: center; }
    .btn-group .btn { width: 100%; }
    .hero__title { font-size: 1.62rem; }
    .hero__content { margin-bottom: 78px; }
    .nav__logo-img {
        height: 80px;
        padding: 6px;
        margin-top: 18px;
        background: #fff;
        border: 1px solid rgba(182, 96, 63, 0.12);
        box-shadow: 0 8px 18px rgba(0,0,0,0.20);
    }
    .nav--scrolled .nav__logo-img {
        height: 80px;
        padding: 6px;
        margin-top: 18px;
        background: #fff;
        border: 1px solid rgba(182, 96, 63, 0.12);
        box-shadow: 0 8px 18px rgba(0,0,0,0.20);
    }
}

@media (min-width: 900px) {
    .events-timeline-intro {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    }

    .events-month {
        grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
        align-items: start;
        gap: var(--space-lg);
    }

    .events-month__header {
        position: sticky;
        top: 110px;
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Timeline-style cards on /events have 3 children (date-badge | body | image)
       so they need a 3-column grid. The homepage events-grid uses the same
       .event-card class with only 2 children — keep that scoped to its own rule. */
    .event-card--timeline {
        grid-template-columns: auto minmax(0, 1fr) minmax(220px, 300px);
        gap: var(--space-md);
        align-items: center;
    }
}

@media (max-width: 899px) {
    .events-timeline-intro {
        margin-bottom: var(--space-md);
    }

    .events-month__list::before {
        display: none;
    }

    .event-card--timeline::before {
        display: none;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-card__date-badge {
        width: fit-content;
        min-width: 72px;
    }

    .event-card__img {
        justify-self: stretch;
        order: 3;
    }
}

/* ---------- Events View Toggle ---------- */
.events-view-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--space-lg);
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-light);
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border-radius: 999px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
}

.events-view-toggle__btn {
    padding: 10px 24px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.events-view-toggle__btn:hover {
    color: var(--color-heading);
}

.events-view-toggle__btn.is-active {
    background: linear-gradient(180deg, var(--color-orange), var(--color-orange-dark));
    color: var(--color-white);
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(185, 132, 43, 0.28);
}

.events-view-toggle__btn svg {
    width: 16px;
    height: 16px;
}

/* ---------- Events Calendar View ---------- */
.events-calendar {
    display: none;
    max-width: 900px;
    margin: 0 auto var(--space-xl);
    padding: 0 var(--space-sm);
}

.events-calendar.is-active {
    display: block;
}

.events-calendar .section {
    padding-top: var(--space-md);
    background: linear-gradient(180deg, rgba(252, 247, 239, 0.98), rgba(244, 235, 221, 0.98));
    border: 1px solid var(--color-border-light);
    border-radius: 18px;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.05);
}

.events-list-view.is-active {
    display: block;
}

.events-list-view {
    display: none;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    padding: 0 var(--space-xs);
}

.calendar-nav__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-heading);
}

.calendar-nav__btn {
    background: none;
    border: 1px solid var(--color-border-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-orange);
    font-size: 1.2rem;
    transition: all var(--transition);
}

.calendar-nav__btn:hover {
    background: var(--color-orange);
    color: var(--color-white);
    border-color: var(--color-orange);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
    border-radius: 16px;
}

.calendar-grid__header {
    padding: 12px 4px;
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-orange);
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border-light);
}

.calendar-grid__cell {
    min-height: 112px;
    padding: 10px;
    border-right: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    position: relative;
    background: var(--color-bg);
    transition: background var(--transition);
}

.calendar-grid__cell:nth-child(7n) {
    border-right: none;
}

.calendar-grid__cell--empty {
    background: var(--color-bg-alt);
}

.calendar-grid__cell--today {
    background: rgba(201, 148, 74, 0.05);
}

.calendar-grid__cell--today .calendar-grid__day {
    background: var(--color-orange);
    color: var(--color-white);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-grid__day {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 4px;
}

.calendar-grid__event {
    display: block;
    padding: 6px 8px;
    margin-bottom: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    background: var(--color-orange);
    color: var(--color-white);
    cursor: pointer;
    transition: background var(--transition);
    white-space: normal;
    overflow: hidden;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
    border-radius: 8px;
    line-height: 1.25;
    box-shadow: 0 6px 14px rgba(185, 132, 43, 0.22);
}

.calendar-grid__event:hover {
    background: var(--color-orange-dark);
}

/* Event detail popup */
.calendar-event-detail {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    background: linear-gradient(180deg, rgba(251, 247, 239, 0.99), rgba(245, 236, 223, 0.99));
    border: 1px solid rgba(182, 96, 63, 0.14);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
    max-width: 420px;
    width: calc(100% - 32px);
    padding: var(--space-md);
}

.calendar-event-detail.is-open {
    display: block;
}

.calendar-event-detail__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1999;
}

.calendar-event-detail__overlay.is-open {
    display: block;
}

.calendar-event-detail__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
    line-height: 1;
}

.calendar-event-detail__date {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: var(--space-xs);
}

.calendar-event-detail__title {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
}

.calendar-event-detail__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.calendar-event-detail__link {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-orange);
}

/* Calendar responsive */
@media (max-width: 639px) {
    .calendar-grid__cell { min-height: 60px; padding: 4px; }
    .calendar-grid__day { font-size: 0.75rem; }
    .calendar-grid__event { font-size: 0.6rem; padding: 2px 4px; }
    .calendar-grid__header { font-size: 0.6rem; padding: 8px 2px; letter-spacing: 1px; }
    .calendar-nav__title { font-size: 1.2rem; }
    .events-view-toggle__btn { padding: 8px 16px; font-size: 0.7rem; }
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Mobile Sticky CTA ---------- */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--color-terracotta);
    padding: 16px var(--space-md);
    text-align: center;
    box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.15);
}
.mobile-cta a {
    display: block;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    min-height: 44px;
    line-height: 44px;
}

.form-status {
    margin-top: 14px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

@media (max-width: 960px) {
    .mobile-cta { display: block; }
    body { padding-bottom: 56px; }
}

/* ---------- Mobile Responsiveness Improvements ---------- */
@media (max-width: 600px) {
    /* Better touch targets for buttons */
    .btn { padding: 16px 28px; min-height: 48px; font-size: 0.82rem; letter-spacing: 2px; }

    /* Tighter hero on mobile */
    .hero {
        min-height: 78vh;
        align-items: flex-end;
    }
    .hero__content {
        width: calc(100vw - 24px);
        margin: 0 12px 84px;
        padding: 22px 16px 24px;
    }
    .hero__title {
        font-size: clamp(1.45rem, 6.2vw, 2.05rem);
        line-height: 1.04;
        max-width: 11ch;
        margin-left: auto;
        margin-right: auto;
    }
    .hero__subtitle { font-size: 0.88rem; margin-bottom: var(--space-md); }

    /* Better section spacing on mobile */
    .section { padding: var(--space-lg) 0; }
    .container { padding: 0 var(--space-sm); }

    /* Stack btn-groups vertically on mobile */
    .btn-group { flex-direction: column; align-items: stretch; }
    .btn-group .btn { text-align: center; }

    /* Better card readability */
    .event-card__body { padding: var(--space-sm); }
    .event-card__title { font-size: 1.1rem; }

    /* Improve page header on mobile */
    .page-header { padding: calc(var(--space-xl) + 60px) 0 var(--space-lg); }
    .page-header h1 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

    /* Nav mobile menu: bigger touch targets */
    .nav__mobile a { font-size: 1.3rem; padding: 8px 0; min-height: 48px; }

    /* Accom cards stack better */
    .accom-card__amenities { gap: 6px 10px; }
    .accom-card__amenities li { font-size: 0.75rem; padding: 3px 10px; }

    /* FAQ touch targets */
    .faq-question { padding: var(--space-sm) 0; min-height: 48px; font-size: 1rem; }
}

/* ---------- Section Divider ---------- */
.divider {
    width: 60px;
    height: 1px;
    background: var(--color-terracotta);
    margin: 0 auto;
}

/* ---------- Header Social Buttons (nav) ---------- */
.nav__social-group {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin-left: auto;
}
@media (min-width: 960px) {
    .nav__social-group { display: inline-flex; margin-left: auto; }
}
.nav__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--color-white, #fff);
    border: 1px solid transparent;
    background: var(--color-terracotta, #B6603F);
    transition: background var(--transition), transform var(--transition);
}
.nav__social:hover,
.nav__social:focus-visible {
    background: #9a4f33; /* darker Clay */
    transform: translateY(-1px);
    outline: none;
}
.nav__social--primary {
    background: var(--color-orange, #C9842B);
}
.nav__social--primary:hover,
.nav__social--primary:focus-visible {
    background: var(--color-orange-dark, #a67832);
}

/* Mobile social row (inside slide-out nav — white-bg overlay) */
.nav__mobile-social {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: var(--space-md, 1.5rem);
    padding-top: var(--space-md, 1.5rem);
    border-top: 1px solid rgba(0,0,0,0.08);
}
.nav__mobile-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-terracotta, #B6603F);
    color: var(--color-white, #fff);
    text-decoration: none;
    transition: background var(--transition), transform var(--transition);
}
.nav__mobile-social a:hover,
.nav__mobile-social a:focus-visible {
    background: #9a4f33;
    color: var(--color-white, #fff);
    transform: translateY(-1px);
    outline: none;
}

/* ---------- Instagram Feed Grid (homepage) ---------- */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    max-width: 900px;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 0.35rem; }
}
.instagram-grid__tile {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-cream, #F2E9DB);
    transition: transform var(--transition), box-shadow var(--transition);
}
.instagram-grid__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 400ms ease;
}
.instagram-grid__tile:hover img,
.instagram-grid__tile:focus-visible img {
    transform: scale(1.04);
}
.instagram-grid__tile:hover,
.instagram-grid__tile:focus-visible {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    outline: none;
}

/* ---------- Wedding Gallery Placeholder ---------- */
.wedding-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}
@media (max-width: 640px) {
    .wedding-gallery { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
}
.wedding-gallery__tile {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-cream, #F2E9DB);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(0,0,0,0.5);
}
.wedding-gallery__tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wedding-gallery__note {
    font-size: 0.85rem;
    color: rgba(0,0,0,0.6);
    text-align: center;
    margin-top: var(--space-sm, 1rem);
    font-style: italic;
}

/* ============================================================
   Mobile UX homepage pass (2026-04-14)
   Items 2, 4, 5, 9 from the homepage fix brief.
   ============================================================ */

/* Item 2 — Nav quick-action cluster (Instagram + Call Now) visible beside
   the hamburger on mobile, hidden on desktop where full nav appears. */
.nav__mobile-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    margin-right: 8px;
}
@media (min-width: 960px) {
    /* Desktop uses the full .nav__links row; hide the compact mobile cluster. */
    .nav__mobile-cta { display: none; }
}
.nav__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-white, #fff);
    color: var(--color-terracotta, #B6603F);
    border: none;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: background var(--transition), transform var(--transition), color var(--transition);
}
.nav__icon-btn:hover,
.nav__icon-btn:focus-visible {
    background: var(--color-orange, #C9842B);
    color: var(--color-white, #fff);
    transform: translateY(-1px);
    outline: none;
}
.nav__icon-btn--call {
    /* "Call Now" feels action-y — give it the amber fill to stand apart from
       Instagram's neutral white pill. */
    background: var(--color-orange, #C9842B);
    color: var(--color-white, #fff);
}
.nav__icon-btn--call:hover,
.nav__icon-btn--call:focus-visible {
    background: var(--color-orange-dark, #a67832);
}

/* Hide the nav mobile-CTA cluster on very narrow screens if space is tight —
   still keep both icons visible at 375px, only collapse if <340px. */
@media (max-width: 339px) {
    .nav__icon-btn { width: 40px; height: 40px; }
    .nav__mobile-cta { gap: 6px; margin-right: 4px; }
}

/* Item 4 — Hero headline: make it dominant on mobile. The base clamp
   (2.5rem – 4rem) was being overridden to 1.45–2.05rem below 600px, which
   hides the value prop. Bump the mobile floor up significantly. */
@media (max-width: 768px) {
    .hero__title {
        font-size: clamp(2.25rem, 8.5vw, 3rem);
        line-height: 1.02;
        max-width: 14ch;
    }
}
@media (max-width: 390px) {
    .hero__title {
        font-size: clamp(2rem, 10vw, 2.6rem);
        line-height: 1.02;
        max-width: 12ch;
    }
}

/* Item 5 — Hero CTA buttons: make the labels fill the button. These are the
   .btn-group buttons in .hero__content specifically, not every .btn on the
   page — we keep smaller buttons in, e.g., the venue overlays. */
@media (max-width: 768px) {
    .hero__content .btn-group .btn {
        font-size: 1rem;
        letter-spacing: 2px;
        padding: 18px 28px;
        min-height: 56px;
        width: 100%;
    }
    .hero__content .btn-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
}

/* Item 9 — Instagram feed: collapse vertical footprint into a horizontal
   filmstrip on mobile. Uniform square tiles (136px), momentum scroll,
   hidden scrollbar. Desktop grid layout preserved above 640px. */
@media (max-width: 640px) {
    .instagram-grid {
        display: flex;
        grid-template-columns: none; /* override the 2-col fallback above */
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding: 4px 16px 12px; /* inner padding so first/last tile don't hug edges */
        scrollbar-width: none;       /* Firefox */
        -ms-overflow-style: none;    /* IE/Edge legacy */
    }
    .instagram-grid::-webkit-scrollbar { display: none; } /* Chrome/Safari */
    .instagram-grid__tile {
        flex: 0 0 136px;
        width: 136px;
        height: 136px;
        aspect-ratio: 1 / 1;
        scroll-snap-align: start;
        border-radius: 10px;
    }
}

/* =========================================================
   2026-04-14 — Accommodations / Weddings / Events mobile pass
   ========================================================= */

/* --- Accommodations: larger hero headline on mobile --- */
@media (max-width: 768px) {
    .page-header--hero h1,
    .page-header h1 {
        font-size: clamp(2.25rem, 8.5vw, 3rem);
        line-height: 1.04;
    }
}
@media (max-width: 390px) {
    .page-header--hero h1,
    .page-header h1 {
        font-size: clamp(2rem, 10vw, 2.6rem);
    }
}

/* --- Page hero: shared layout for top-level page heroes (Weddings, Private Events, etc.) --- */
.hero--weddings,
.hero--page { min-height: 78vh; }
.hero__content--centered {
    text-align: center;
    margin: 0 auto;
    max-width: 780px;
    padding: clamp(var(--space-md), 10vh, var(--space-xl)) var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero__content--centered .hero__label {
    display: inline-block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
}
.hero__content--centered .hero__title {
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
}
.hero__subtitle--small {
    font-size: 0.95rem;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.92;
}
.hero__content--centered .btn-group {
    justify-content: center;
}
@media (max-width: 768px) {
    .hero--weddings,
    .hero--page { min-height: 82vh; }
    .hero__content--centered { padding-top: clamp(var(--space-lg), 14vh, var(--space-xxl)); }
    .hero__content--centered .hero__title {
        font-size: clamp(2.4rem, 9vw, 3.2rem);
        line-height: 1.02;
    }
    .hero__subtitle--small { font-size: 0.9rem; }
}
@media (max-width: 390px) {
    .hero__content--centered .hero__title { font-size: clamp(2rem, 10vw, 2.6rem); }
    .hero__subtitle--small { font-size: 0.85rem; }
}

/* --- Weddings: center feature-card text --- */
.hero--weddings ~ .section .feature-card__content,
.hero--weddings ~ .section .feature-card__title,
.hero--weddings ~ .section .feature-card__desc {
    text-align: center;
}
.hero--weddings ~ .section .feature-card__content {
    align-items: center;
}

/* --- Wedding gallery grid: 3-col mobile / 4-col desktop --- */
.wedding-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}
@media (min-width: 900px) {
    .wedding-gallery { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
.wedding-gallery__tile {
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
    transition: transform 0.25s var(--ease);
}
.wedding-gallery__tile:focus-visible {
    outline: 3px solid var(--color-white);
    outline-offset: 3px;
}
.wedding-gallery__tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--ease);
}
.wedding-gallery__tile:hover img { transform: scale(1.05); }

/* --- Lightbox overlay --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10, 10, 12, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox[hidden] { display: none; }
.lightbox__stage {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 100%;
    gap: 12px;
}
.lightbox__img {
    max-width: 92vw;
    max-height: 78vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox__caption {
    color: rgba(255,255,255,0.88);
    font-size: 0.9rem;
    text-align: center;
    max-width: 720px;
    padding: 0 12px;
}
.lightbox__counter {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.75);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin: 0;
}
.lightbox__close,
.lightbox__nav {
    position: absolute;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
    .lightbox__nav { width: 44px; height: 44px; font-size: 1.6rem; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .lightbox__close { top: 12px; right: 12px; }
    .lightbox__img { max-height: 72vh; }
}

/* --- Events list view: eliminate dead space on mobile --- */
@media (max-width: 899px) {
    /* Override the 1-col stack to put date next to body on mobile */
    .event-card.event-card--timeline {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-areas:
            "date  body"
            "img   img";
        gap: 14px;
        align-items: start;
    }
    .event-card--timeline .event-card__date-badge {
        grid-area: date;
        align-self: start;
    }
    .event-card--timeline .event-card__body {
        grid-area: body;
    }
    .event-card--timeline .event-card__img {
        grid-area: img;
        order: initial;
        width: 100%;
        margin-top: 4px;
    }
}
@media (max-width: 390px) {
    /* Ultra-narrow: stack date above title but eliminate large white gap */
    .event-card.event-card--timeline {
        grid-template-columns: 1fr;
        grid-template-areas:
            "date"
            "body"
            "img";
        gap: 10px;
    }
}

/* ============================================================
   Scroll Effects (parallax, stagger, sticky split, drag gallery)
   Paired with site/js/scroll-effects.js
   ============================================================ */

/* ---------- Parallax hero ----------
   The hero containers are already overflow: hidden; pulling the bg div
   beyond its bounds gives the parallax room to translate without exposing
   gaps at the top/bottom. JS sets transform; CSS just defines the canvas. */
/* Doubled selector raises specificity above existing
   .hero--slideshow .hero__slide and .hero__bg rules (0,2,0). */
.parallax-hero.parallax-hero {
    position: absolute;
    inset: -25%;
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    .parallax-hero.parallax-hero {
        inset: 0;
        will-change: auto;
        transform: none !important;
    }
}

/* ---------- Reveal stagger ----------
   Container marker; children are the animated elements so we can stagger
   their delays in JS. Pairs with .reveal (handled by main.js) where
   sequencing isn't needed. */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-stagger > *.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Nav .scrolled state (80px threshold) ----------
   Independent from .nav--scrolled (60px, terracotta deepen). After 80px
   the nav swaps to dark footer-bg for stronger contrast over light pages. */
.nav.scrolled {
    background: rgba(30, 27, 22, 0.95); /* var(--color-footer-bg) at 95% */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

/* ---------- Sticky scroll section ----------
   Desktop: left text column sticks while right images scroll past.
   Mobile: stacks normally. */
.sticky-scroll {
    background: var(--color-bg);
    padding: var(--space-xl) 0;
}
.sticky-scroll__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}
.sticky-scroll__images {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}
.sticky-scroll__images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.sticky-scroll__text h2 {
    margin-top: var(--space-xs);
}
@media (min-width: 900px) {
    .sticky-scroll__inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
        align-items: start;
    }
    .sticky-scroll__text {
        position: sticky;
        top: 120px;
        align-self: start;
    }
}

/* ---------- Horizontal drag gallery ---------- */
.drag-gallery-section {
    background: var(--color-footer-bg);
    padding: var(--space-xl) 0 var(--space-lg);
    overflow: hidden;
}
.drag-gallery-section__header {
    text-align: center;
    margin-bottom: var(--space-md);
    padding: 0 var(--space-md);
}
.drag-gallery-section__label {
    display: inline-block;
    font-family: var(--font-accent);
    color: var(--color-orange);
    font-size: 0.95rem;
    font-style: italic;
    letter-spacing: 1px;
    margin-bottom: var(--space-xs);
}
.drag-gallery-section__title {
    color: var(--color-white);
    font-family: var(--font-heading);
    margin: 0 0 var(--space-xs);
}
.drag-gallery-section__subtitle {
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.drag-gallery {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--space-sm) var(--space-md);
    cursor: grab;
    scroll-behavior: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    user-select: none;
}
.drag-gallery::-webkit-scrollbar { display: none; }
.drag-gallery.is-dragging { cursor: grabbing; }
.drag-gallery__item {
    flex: 0 0 auto;
    height: 420px;
}
.drag-gallery__item img {
    height: 100%;
    width: auto;
    display: block;
    border-radius: 4px;
    pointer-events: none;
    object-fit: cover;
}
@media (max-width: 899px) {
    .drag-gallery__item { height: 280px; }
    .drag-gallery-section { padding: var(--space-lg) 0 var(--space-md); }
}
