/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Tenor+Sans&display=swap');

/* Reset & Variables */
:root {
    /* Color Palette */
    --color-primary-text: #2C2C2C;
    --color-muted-gold: #C5A059;
    --color-organic-cream: #F9F8F4;
    --color-sage-green: #8A9A5B;
    --color-warm-stone: #EBE9E1;
    --color-white: #FFFFFF;
    --color-gold-leaf: #D4AF37;

    /* Typography */
    --font-accent: 'Tenor Sans', sans-serif;
    --font-headline: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Font Sizes (Desktop Default) */
    --fs-h1: 3.5rem;
    --fs-h2: 2.5rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
    --fs-body: 1rem;
    --fs-small: 0.95rem;
    --fs-btn: 0.9rem;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    /* Slightly reduced from 8rem for better balance */

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* Responsive Typography Scale */
@media (max-width: 1024px) {
    :root {
        --fs-h1: 3rem;
        --fs-h2: 2.25rem;
        --spacing-lg: 3.5rem;
        --spacing-xl: 5rem;
    }
}

@media (max-width: 600px) {
    :root {
        --fs-h1: 2.15rem;
        /* Highly readable on mobile */
        --fs-h2: 1.75rem;
        --fs-h3: 1.35rem;
        --fs-h4: 1.1rem;
        --fs-body: 1rem;

        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
}

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

html {
    scroll-behavior: smooth;
    /* Offset in-page anchor jumps so the target isn't hidden under the fixed header */
    scroll-padding-top: 100px;
}

body {
    background-color: var(--color-organic-cream);
    color: var(--color-primary-text);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    /* Increased from 1.6 for better readability */
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-organic-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--color-muted-gold);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-sage-green);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headline);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Typography Utilities */
.text-accent {
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: var(--fs-small);
}

.text-center {
    text-align: center;
}

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

.section-padding {
    padding: clamp(4.8rem, 8.5vw, 6.8rem) 0;
}

.section-padding .container {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(44, 44, 44, 0.05);
    border-radius: var(--radius-lg);
    padding: clamp(1.2rem, 2.8vw, 2rem);
    box-shadow: 0 10px 30px rgba(44, 40, 30, 0.04);
}

/* Standard Section Header */
.section-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto clamp(2rem, 4vw, 2.8rem) auto;
}

.section-header .text-accent {
    display: block;
    color: #8C6E2C;
    /* deeper gold — more legible than muted-gold on light backgrounds */
    margin-bottom: 1rem;
    /* Consistent spacing above title */
    font-size: 0.92rem;
}

.section-header h2 {
    margin-bottom: 1.2rem;
}

.section-header p {
    opacity: 0.9;
    line-height: 1.8;
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
    width: 100%;
    max-width: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 11px 30px;
    font-family: var(--font-accent);
    background-color: var(--color-muted-gold);
    color: var(--color-white);
    border: 1px solid var(--color-muted-gold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--fs-btn);
    position: relative;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--color-white);
    z-index: -1;
    transition: all 0.3s ease;
}

.btn:hover {
    color: var(--color-primary-text);
    /* Darker text for better contrast on white flare */
}

.btn:hover::after {
    height: 100%;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--color-primary-text);
    color: var(--color-primary-text);
}

.btn-outline:hover {
    background-color: var(--color-primary-text) !important;
    color: var(--color-white) !important;
}

/* Ensure btn-outline doesn't get the white flare which would hide the dark background */
.btn-outline::after {
    display: none;
}

/* Header */
header {
    padding: var(--spacing-md) 0;
    position: fixed;
    /* Changed to fixed for constant access */
    width: 100%;
    z-index: 9999;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(249, 248, 244, 0.9);
    /* Frosted Organic Cream */
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

header.scrolled .logo,
header.scrolled .nav-links a {
    color: var(--color-primary-text);
    text-shadow: none;
}

header.scrolled .hamburger-menu {
    color: var(--color-primary-text);
}

.nav-links a.active {
    color: var(--color-muted-gold);
    border-bottom: 1px solid var(--color-muted-gold);
    padding-bottom: 3px;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--color-muted-gold);
    z-index: 10000;
    transition: width 0.1s ease;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-accent);
    font-size: 2.4rem;
    color: var(--color-white);
    letter-spacing: 5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-family: var(--font-accent);
    font-size: var(--fs-btn);
    letter-spacing: 1px;
    color: var(--color-white);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.55);
}

.nav-links a:hover {
    color: var(--color-muted-gold);
}

/* Hero Section */
.hero {
    height: auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
}

/* Ken Burns slider removed */

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(60, 50, 40, 0.12) 0%, rgba(45, 35, 25, 0.55) 60%, rgba(30, 20, 10, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    max-width: 900px;
    padding: var(--spacing-md);
    padding-top: 150px;
    z-index: 10;
}



.hero h1 {
    font-size: var(--fs-h1);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}


.hero p {
    font-size: calc(var(--fs-body) * 1.3);
    /* Slightly larger than standard body */
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.hero .btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.hero .btn-outline:hover {
    background-color: var(--color-white) !important;
    color: var(--color-primary-text) !important;
}


/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 15px;
    /* Pushed significantly lower */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 1s ease 1s;
}

.hero-scroll-indicator.scroll-visible {
    opacity: 0.7;
}

.hero-scroll-indicator span {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    animation: mouseScroll 2s infinite;
}

@keyframes mouseScroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-scroll-indicator {
        display: none;
    }
}
/* =================================================================
   Split Editorial Hero (Homepage only — .hero-split)
   ================================================================= */
.hero-split {
    height: auto;
    min-height: 600px;
    max-height: 740px;
    flex-direction: row;
    align-items: stretch;
    text-align: left;
}

/* Cancel the gradient overlay on the split hero (used by inner pages) */
.hero-split::after {
    display: none;
}

.hero-text-panel {
    flex: 0 0 40%;
    background: linear-gradient(160deg, #2A1A0C 0%, #1E1108 50%, #1C1208 100%);
    display: flex;
    align-items: flex-start;
    padding: 0 clamp(2rem, 4.5%, 4rem) 0 clamp(2.5rem, 5.5%, 5.5rem);
}

.hero-text-inner {
    max-width: 400px;
    padding-top: clamp(120px, 16vh, 155px);
    padding-bottom: 3.5rem;
    width: 100%;
}

.hero-eyebrow {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 0;
    opacity: 0.58;
}

/* Gold rule between eyebrow and headline */
.hero-eyebrow::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--color-muted-gold);
    margin-top: 1.1rem;
    margin-bottom: 1.4rem;
    opacity: 0.65;
}

.hero-split .hero-title {
    font-family: var(--font-headline);
    font-size: clamp(1.7rem, 2.3vw, 2.4rem);
    font-weight: 300;
    line-height: 1.22;
    color: #F5F0E8;
    margin-bottom: 1.3rem;
    text-shadow: none;
    letter-spacing: 0.01em;
}

.hero-split .hero-subtitle {
    font-size: 0.82rem;
    line-height: 1.95;
    color: rgba(245, 240, 232, 0.62);
    font-family: var(--font-accent);
    letter-spacing: 0.05em;
    margin-bottom: 2.8rem;
    text-shadow: none;
}

.hero-split .hero-btns {
    display: flex;
    flex-direction: row;
    gap: 0.85rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-btn-outline {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: var(--fs-btn);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 12px 22px;
    border: 1px solid rgba(245, 240, 232, 0.38);
    color: rgba(245, 240, 232, 0.78);
    background: transparent;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-outline:hover {
    background: rgba(245, 240, 232, 0.07);
    border-color: rgba(245, 240, 232, 0.7);
    color: #F5F0E8;
}

.hero-image-panel {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Gradient overlay at top of image — makes nav links readable over the photo */
.hero-image-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Left-edge blend: dark panel bleeds into photo for a seamless editorial feel */
.hero-image-panel::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 100px;
    background: linear-gradient(to right, rgba(28, 18, 8, 0.65) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Image crossfade slides */
.hero-img-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
}

.hero-img-slide.is-active {
    opacity: 1;
}

.hero-img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Responsive split hero */
@media (max-width: 900px) {
    .hero-split {
        flex-direction: column-reverse; /* Image on top on mobile */
        max-height: none;
        min-height: auto;
    }
    .hero-text-panel {
        flex: none;
        padding: 2.5rem var(--spacing-md) 3rem;
        align-items: center;
    }
    .hero-text-inner {
        max-width: 100%;
        padding-top: 1.5rem;
        padding-bottom: 0;
    }
    .hero-split .hero-btns {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hero-image-panel {
        flex: none;
        height: 360px;
    }
    .hero-image-panel::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-image-panel {
        height: 280px;
    }
    .hero-split .hero-title {
        font-size: 1.6rem;
    }
    .hero-split .hero-btns {
        flex-direction: column;
    }
}


/* Introduction Section */
.intro {
    background-color: var(--color-organic-cream);
}

.intro h2 {
    font-size: var(--fs-h2);
    margin-bottom: var(--spacing-md);
}

/* Service Teasers */
.service-teasers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

@media (max-width: 1100px) {
    .service-teasers {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .service-teasers {
        grid-template-columns: 1fr;
    }
}

/* Homepage 3-card layout */
.service-teasers-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
    .service-teasers-3 {
        grid-template-columns: 1fr;
    }
}

/* Wellness 2-card layout (memberships) */
.service-teasers-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 600px) {
    .service-teasers-2 {
        grid-template-columns: 1fr;
    }
}

.teaser-card {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Updated Border: Visible Sage/Grey Mix */
    border: 1px solid rgba(138, 154, 91, 0.3);
    border-radius: var(--radius-md);
    overflow: hidden;
    /* Lifted Initial State */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.teaser-card:hover {
    transform: translateY(-10px);
    /* Stronger Gold Border on Hover */
    border-color: var(--color-muted-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.teaser-image-container {
    height: 300px;
    overflow: hidden;
    margin: calc(var(--spacing-md) * -1);
    margin-bottom: var(--spacing-md);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Divide image from content */
}

.teaser-image {
    height: 100%;
    width: 100%;
    background-color: #eee;
    transition: transform 0.8s ease;
}

.teaser-card:hover .teaser-image {
    transform: scale(1.1);
}

/* Social Proof */
.social-proof {
    background-color: var(--color-sage-green);
    /* Parallax Effect with Texture */
    background:
        linear-gradient(rgba(138, 154, 91, 0.9), rgba(124, 141, 81, 0.95)),
        url('../assets/img/gallery_nature.webp') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;

    color: var(--color-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
}

.testimonial-slider-container {
    position: relative;
    max-width: 650px;
    /* Narrower */
    margin: 0 auto;
    padding: 0 40px;
}

.testimonial-slider {
    position: relative;
    height: 220px;
    /* Condensed */
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-content {
    font-size: 1.15rem;
    /* Slightly larger for emphasis */
    font-family: var(--font-accent);
    line-height: 1.8;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.testimonial-date {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.25rem;
    display: block;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 10;
    padding: 10px;
}

.slider-arrow:hover {
    opacity: 1;
}

.prev-arrow {
    left: -20px;
}

.next-arrow {
    right: -20px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--color-white);
}

/* Vibe Check */
.vibe-check {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.vibe-text {
    padding: var(--spacing-xl);
}

.vibe-image {
    height: 600px;
    background-color: #ccc;
}

/* Enhanced Footer */
footer {
    background-color: var(--color-primary-text);
    color: var(--color-organic-cream);
    padding: var(--spacing-xl) 0 2rem 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr 1.2fr;
    gap: 4rem;
    text-align: left;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-organic-cream);
}

.footer-brand .logo img {
    height: 180px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 0 0 1.5px rgba(196, 164, 108, 0.3);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.85;
    max-width: 300px;
}

.footer-column h4 {
    color: var(--color-muted-gold);
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.98rem;
    margin-bottom: 2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.footer-social-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-links i {
    width: 20px;
    text-align: center;
    color: var(--color-muted-gold);
    font-size: 1rem;
}

.footer-column a {
    color: var(--color-organic-cream);
    opacity: 0.7;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--color-muted-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile Navigation Overlay */
.hamburger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-white);
    z-index: 10001;
    transition: color 0.3s ease;
}

.hamburger-menu .close-icon {
    display: none;
}

.hamburger-menu.active .hamburger-icon {
    display: none;
}

.hamburger-menu.active .close-icon {
    display: block;
    color: var(--color-primary-text);
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-organic-cream);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-links li {
    margin: var(--spacing-md) 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-nav-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for links */
.mobile-nav-overlay.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-nav-overlay.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-nav-overlay.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-nav-overlay.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-nav-overlay.active .mobile-nav-links li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav-links a {
    font-family: var(--font-headline);
    font-size: 2rem;
    color: var(--color-primary-text);
}

.mobile-nav-links a:hover {
    color: var(--color-muted-gold);
}

.mobile-nav-cta-wrap {
    margin-top: 1.4rem;
}

.mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    background: var(--color-muted-gold);
    color: var(--color-white) !important;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(44, 40, 30, 0.12);
}

.mobile-nav-cta:hover {
    background: var(--color-sage-green);
    color: var(--color-white) !important;
}

/* Hamburger Animation State Removed for Font Awesome Icon Toggling */

/* Grid Utilities */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.map-container {
    height: 100%;
    min-height: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Utility for Mobile */
@media (max-width: 900px) {
    header .nav-links {
        display: none !important;
    }

    .hamburger-menu {
        display: block !important;
        z-index: 1002;
    }

    .section-padding {
        padding: var(--spacing-lg) 0;
    }

    .vibe-check {
        grid-template-columns: 1fr;
    }

    .vibe-image {
        height: 400px;
        order: -1;
        /* Image first on mobile */
    }

    .vibe-text {
        padding: var(--spacing-md);
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .testimonial-slider {
        height: 300px;
        /* Reduced from 450px */
    }

    .hero {
        height: auto;
        min-height: 50vh;
        padding: 6rem 0 4rem 0;
    }

    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-social-links li a {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Testimonial Mobile Optimization */
    .social-proof {
        padding: var(--spacing-lg) 0;
        /* Consistent with other sections (3rem) */
    }

    .testimonial-slider-container {
        padding: 0 15px;
    }

    .testimonial-content {
        padding: 0 5px;
        margin-bottom: 1rem;
    }

    .slider-dots {
        margin-top: 0.5rem;
    }
}


/* Animation Utilities */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Interactive Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}


.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(138, 154, 91, 0.2);
    /* Sage overlay */
    backdrop-filter: blur(0px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    padding: 2rem;
    text-align: center;
    color: var(--color-white);
}

.gallery-overlay i {
    font-size: 2rem;
    margin-bottom: 1rem;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-overlay span {
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover {
    transform: scale(1.02) translateY(0) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    backdrop-filter: blur(8px);
}

.gallery-item:hover .gallery-overlay i,
.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Video Gallery Item Override */
.gallery-item.video-item {
    background: transparent;
    box-shadow: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: default;
    overflow: hidden;
    /* Ensure video stays within bounds */
}

.gallery-item.video-item:hover {
    transform: none !important;
}

.gallery-item.video-item iframe {
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
}

/* Lightbox/Modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 2rem;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    max-height: 85vh;
}

.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.4s ease, opacity 0.3s ease;
    cursor: pointer;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 10002;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-white);
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.4;
    transition: all 0.3s ease;
    padding: 2rem;
    z-index: 10001;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-nav:hover {
    opacity: 1;
    scale: 1.1;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-caption {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--color-white);
    font-family: var(--font-headline);
    font-size: 1.5rem;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
    margin-top: 0.5rem;
    color: var(--color-white);
    opacity: 0.5;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .lightbox-nav {
        display: none;
        /* Hide arrows on touch devices (swipe/tap is better) */
    }

    .lightbox-content-wrapper {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Modern Slider Styles */
.gallery-slider-wrapper {
    position: relative;
    max-width: 100%;
    margin: 2rem 0;
}

.gallery-slider {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    /* Hide scrollbar for standard browsers */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.gallery-slider::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.gallery-slider .gallery-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    height: 300px;
    /* Fixed height for consistency */
}

.gallery-slider .gallery-item.video-item {
    flex: 0 0 auto;
    width: auto;
    aspect-ratio: auto;
    /* Let the iframe determine width if needed, or fix it */
    min-width: 267px;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 55%;
    /* Centered vertically relative to the slider content slightly offset for hint */
    transform: translateY(-50%);
    background: var(--color-white);
    border: 1px solid var(--color-warm-stone);
    color: var(--color-muted-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.slider-arrow:hover {
    background: var(--color-muted-gold);
    color: var(--color-white);
    opacity: 1;
}

.slider-prev {
    left: -20px;
}

.slider-next {
    right: -20px;
}

@media (max-width: 768px) {
    .slider-arrow {
        display: none;
        /* Hide arrows on mobile/tablet where swipe is intuitive */
    }
}

.slider-hint {
    text-align: right;
    font-size: 0.9rem;
    color: var(--color-muted-gold);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.desktop-only {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

.teaser-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* Featured Sage Card Variant - Lighter, Airy Design */
.card-variant-sage {
    background: linear-gradient(to bottom, #ffffff 0%, #f4f7f0 100%);
    /* White to very subtle sage tint */
    border: 2px solid rgba(138, 154, 91, 0.4);
    /* Thicker, more visible sage border */
    border-top: 5px solid var(--color-sage-green);
    /* Visual color pop */
    color: var(--color-primary-text);
    position: relative;
}

/* Remove the previous dark-mode glow */
.card-variant-sage::before {
    display: none;
}

.card-variant-sage i {
    color: var(--color-sage-green) !important;
    text-shadow: none;
}

.card-variant-sage h3 {
    color: var(--color-primary-text);
    margin-bottom: 0.5rem;
}

.card-variant-sage h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-muted-gold);
    margin: 1rem auto;
    opacity: 0.6;
}

.card-variant-sage p {
    color: var(--color-primary-text);
    opacity: 0.8;
}

.card-variant-sage .text-accent {
    color: var(--color-sage-green) !important;
    /* Highlight price in brand color */
    font-weight: 600;
    text-shadow: none;
}

.card-variant-sage .btn-outline {
    border-color: var(--color-sage-green);
    color: var(--color-sage-green);
}

.card-variant-sage .btn-outline:hover {
    background-color: var(--color-sage-green) !important;
    color: var(--color-white) !important;
    box-shadow: 0 4px 10px rgba(138, 154, 91, 0.3);
}

/* CSS Update for Branded Header and Hero Medallion */

/* Updated Logo Styling */
.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align title and subtitle */
    line-height: 1.2;
}

.logo-main {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--color-white);
    letter-spacing: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: color 0.3s ease;
}

.logo-sub {
    font-family: var(--font-body);
    /* Use body font for cleanliness */
    font-size: 0.72rem;
    color: var(--color-white);
    /* Match main logo */
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-top: -2px;
    /* Pull closer to main text */
    transition: color 0.3s ease;
}

/* Hover effects inherited from header rules, but ensuring specific targeting */
header.scrolled .logo-main,
header.scrolled .logo-sub {
    color: var(--color-primary-text);
    text-shadow: none;
}

.logo:hover .logo-main,
.logo:hover .logo-sub {
    color: var(--color-muted-gold);
}

/* Dragonfly Icon in Nav */
.logo-dragonfly {
    height: 85px;
    width: 85px;
    margin-right: 1rem;
    flex-shrink: 0;
    align-self: center;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 0 0 2px rgba(196, 164, 108, 0.35);
}

.logo:hover .logo-dragonfly {
    transform: scale(1.08);
    box-shadow: 0 0 0 2px rgba(196, 164, 108, 0.6);
}

header.scrolled .logo-dragonfly {
    box-shadow: 0 0 0 1.5px rgba(196, 164, 108, 0.4);
}

/* =================================================================
   Wellness Team Cards
   ================================================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.team-card {
    text-align: center;
    padding: var(--spacing-lg) var(--spacing-md);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.team-photo-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(138, 154, 91, 0.12), rgba(196, 164, 108, 0.12));
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(138, 154, 91, 0.25);
}

.team-photo-placeholder i {
    font-size: 2.5rem;
    color: rgba(138, 154, 91, 0.4);
}

.team-card h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-card p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    opacity: 0.75;
}

.team-card p.text-accent {
    opacity: 1;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--color-muted-gold) !important;
}

/* Override parallax white text for team cards */
.parallax-brand-section .team-card,
.parallax-brand-section .team-card h4,
.parallax-brand-section .team-card p {
    color: #3a3a3a !important;
}

.parallax-brand-section .team-card p.text-accent {
    color: #c4a46c !important;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .logo-dragonfly {
        height: 54px;
        width: 54px;
        margin-right: 0.6rem;
    }
}


/* =================================================================
   Flip Cards (Hair Spa service menu)
   ================================================================= */

/* 2x2 grid for hair-spa page */
.service-teasers-2x2 {
    grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 1024px) {
    .service-teasers-2x2 {
        grid-template-columns: 1fr !important;
    }
}

.flip-card {
    perspective: 1000px;
    cursor: pointer;
    min-height: 420px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-y: auto;
}

.flip-card-front {
    background-color: var(--color-white);
    border: 1px solid rgba(138, 154, 91, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    z-index: 2;
}

.flip-card-back {
    background-color: var(--color-white);
    border: 1px solid rgba(196, 164, 108, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: rotateY(180deg);
    z-index: 1;
    justify-content: flex-start;
    padding-top: 1.5rem;
}

.flip-card-back h3 {
    font-family: var(--font-headline);
    font-size: 1.4rem;
    margin: 0.35rem 0 0.75rem;
    color: var(--color-primary-text);
}

/* Service list styles */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.service-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(196, 164, 108, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-list li strong {
    font-family: var(--font-accent);
    font-size: 0.92rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-primary-text);
}

.service-list li span {
    font-size: 0.9rem;
    color: var(--color-primary-text);
    opacity: 0.8;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .flip-card {
        min-height: 380px;
    }

    .flip-card-inner {
        min-height: 380px;
    }
}

/* Mobile/tablet: swap front<->back and let the card grow to fit content
   instead of relying on internal scroll inside a 3D-flipped face
   (touch-scrolling inside a preserve-3d rotateY face is broken on mobile
   Safari/Chrome, which left the service list + Call button unreachable). */
@media (max-width: 1024px) {
    .flip-card {
        perspective: none;
        min-height: 0;
    }

    .flip-card-inner {
        transform: none !important;
        transform-style: flat;
        transition: none;
        min-height: 0;
        height: auto;
    }

    .flip-card-front,
    .flip-card-back {
        position: relative;
        inset: auto;
        transform: none;
        -webkit-backface-visibility: visible;
        backface-visibility: visible;
        overflow: visible;
        height: auto;
        min-height: 380px;
    }

    .flip-card-back {
        display: none;
    }

    .flip-card.flipped .flip-card-front {
        display: none;
    }

    .flip-card.flipped .flip-card-back {
        display: flex;
    }
}

/* Animation Keyframes (if not already defined, defining here safely) */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Logo */
@media (max-width: 768px) {
    .logo-main {
        font-size: 1.6rem;
    }

    .logo-sub {
        font-size: 0.62rem;
        letter-spacing: 2px;
    }
}

/* =================================================================
   Restored Team Card Styling (Robust)
   ================================================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.gallery-item.team-card {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: visible !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
}

.gallery-item.team-card .gallery-image {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background-size: cover !important;
    background-position: center top !important;
    margin: 0 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-info {
    display: block !important;
    position: relative !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: var(--color-white);
    padding: 1.5rem 1rem;
    text-align: center;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 2;
}

.team-info h3 {
    color: var(--color-primary-text);
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.team-info p {
    color: var(--color-muted-gold);
    font-family: var(--font-accent);
    font-size: 0.9rem;
    margin: 0;
}

/* Disable overlay for team cards */
.gallery-item.team-card .gallery-overlay {
    display: none !important;
}

/* Disable Hover Scaling for Team Cards */
.gallery-item.team-card:hover {
    transform: none !important;
    box-shadow: none !important;
    cursor: default;
}

.gallery-item.team-card:hover .gallery-image {
    transform: none !important;
}


/* =================================================================
   The Space — Masonry Photo Grid (Homepage)
   ================================================================= */
.space-masonry {
    columns: 3 220px;
    column-gap: 8px;
    max-width: 1100px;
    margin: 2.5rem auto 0;
}

.space-masonry .space-item {
    break-inside: avoid;
    margin-bottom: 8px;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
    cursor: pointer;
    display: block;
}

.space-masonry .space-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.space-masonry .space-item:hover img {
    transform: scale(1.04);
}

/* Caption on hover */
.space-masonry .space-item::after {
    content: attr(data-caption);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.7rem 0.9rem;
    background: linear-gradient(transparent, rgba(28, 20, 12, 0.75));
    color: var(--color-white);
    font-family: var(--font-accent);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.space-masonry .space-item:hover::after {
    opacity: 1;
}

@media (max-width: 680px) {
    .space-masonry {
        columns: 2;
    }
}

@media (max-width: 420px) {
    .space-masonry {
        columns: 1;
    }
}


/* Head spa card now uses a real photo — no filter needed */

/* =================================================================
   Sanctuary Roster — Team Section (Our Story Page)
   ================================================================= */
/* ── Team Group Photo ── */
.team-group-photo {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 4rem auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
}
.team-group-photo img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 45%;
    display: block;
}

/* ── Team Portrait Cards ── */
.team-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
    max-width: 1120px;
    margin: 0 auto;
}
.team-card {
    display: flex;
    flex-direction: column;
    padding: 1rem 0.25rem 0;
    background: linear-gradient(180deg, rgba(249, 244, 234, 0.95), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(197, 160, 89, 0.16);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}
.team-card-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.2rem;
}
.team-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}
.team-card:hover .team-card-img-wrap img {
    transform: scale(1.03);
}
.team-card-info {
    text-align: center;
    padding: 0 0.8rem 0.6rem;
}
.team-card-info .text-accent {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-muted-gold);
    margin-bottom: 0.45rem;
}
.team-card-info h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary-text);
    margin-bottom: 0.45rem;
}
.team-card-info p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--color-primary-text);
    opacity: 0.82;
}

@media (max-width: 900px) {
    .team-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-group-photo img {
        height: 360px;
    }
}
@media (max-width: 600px) {
    .team-card-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 360px;
    }
    .team-group-photo img {
        height: 260px;
    }
}

.team-roster {
    max-width: 860px;
    margin: 0 auto;
}

.team-member-row {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: center;
    padding: 3.5rem 0;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.team-member-row:last-child {
    border-bottom: none;
}

/* Even rows: flip photo to the right */
.team-member-row:nth-child(even) {
    grid-template-columns: 1.6fr 1fr;
}

.team-member-row:nth-child(even) .team-member-photo {
    order: 2;
}

.team-member-row:nth-child(even) .team-member-bio {
    order: 1;
}

.team-member-photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(197, 160, 89, 0.3);
    display: block;
}

/* Initials placeholder for missing headshots */
.team-photo-initials {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(138, 154, 91, 0.12), rgba(197, 160, 89, 0.12));
    border: 3px solid rgba(197, 160, 89, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headline);
    font-size: 2.5rem;
    color: var(--color-muted-gold);
    letter-spacing: 3px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.team-member-bio .text-accent {
    color: var(--color-muted-gold);
    display: block;
    margin-bottom: 0.6rem;
}

.team-member-bio h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--color-primary-text);
}

.team-member-bio p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--color-primary-text);
    opacity: 0.85;
}

@media (max-width: 768px) {
    .team-member-row,
    .team-member-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2.5rem 0;
    }

    .team-member-row:nth-child(even) .team-member-photo,
    .team-member-row:nth-child(even) .team-member-bio {
        order: unset;
    }

    .team-member-photo img,
    .team-photo-initials {
        width: 160px;
        margin: 0 auto;
    }

    .team-member-bio {
        text-align: center;
    }

    .team-member-bio h3 {
        font-size: 1.5rem;
    }
}

/* =================================================================
   Standardized Parallax Brand Sections
   ================================================================= */
.parallax-brand-section {
    position: relative;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--color-white);
    text-align: center;
    padding: var(--spacing-xl) 0;
}

/* Ensure text readability regardless of background */
.parallax-brand-section .section-header {
    max-width: 760px;
    margin: 0 auto 2rem;
}

.parallax-brand-section .section-header .text-accent {
    color: var(--color-white) !important;
    opacity: 0.95;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.parallax-brand-section h2 {
    color: var(--color-white) !important;
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.parallax-brand-section p {
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.75;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

/* Variant: Sage (Wellness Partners, Client Love, Men's Grooming) */
.parallax-sage {
    background-image: linear-gradient(rgba(138, 154, 91, 0.9), rgba(124, 141, 81, 0.95));
}

/* Button overrides for dark/sage backgrounds */
.parallax-brand-section .btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.parallax-brand-section .btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-sage-green);
}

/* =================================================================
   Responsive Audit Fixes
   ================================================================= */

/* 1. background-attachment: fixed is janky / breaks on iOS Safari & most
   mobile browsers (the image jumps or freezes during scroll). Fall back to
   normal scrolling on touch-sized screens. */
@media (max-width: 900px) {

    .social-proof,
    .parallax-brand-section {
        background-attachment: scroll;
    }
}

/* 2. Inner-page heroes carry a large 150px top padding meant to clear the
   fixed header on tall desktop heroes. On the shorter mobile hero this pushes
   the headline too low; trim it so the content stays vertically balanced. */
@media (max-width: 768px) {

    .hero-content {
        padding-top: 100px;
    }
}

/* 3. The "Best Value" membership card is scaled up 5% via an inline style.
   Once the grid collapses to one column on mobile, that scale pushes the card
   past the viewport edge (horizontal clipping). Reset it when stacked. */
@media (max-width: 600px) {

    .service-teasers-2 .teaser-card {
        transform: none !important;
    }
}

/* 4. Respect users who prefer reduced motion — disable the crossfades,
   parallax-style transitions, auto-sliders, and smooth scrolling. */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

/* =================================================================
   Editorial Cream Hero System  (homepage + inner-page headers)
   ================================================================= */

/* --- Light header: dark nav text/logo while sitting over a cream hero --- */
.page-light-hero header:not(.scrolled) {
    background: transparent;
}

.page-light-hero header:not(.scrolled) .logo-main,
.page-light-hero header:not(.scrolled) .logo-sub,
.page-light-hero header:not(.scrolled) .nav-links a,
.page-light-hero header:not(.scrolled) .hamburger-menu {
    color: var(--color-primary-text);
    text-shadow: none;
}

.page-light-hero header:not(.scrolled) .nav-links a:hover {
    color: var(--color-muted-gold);
}

/* Nav brand is a text wordmark in every state (the dragonfly emblem lives in the
   hero medallion + footer, where it's large enough to read). */

/* =================================================================
   Homepage v2 — Editorial / immersive
   ================================================================= */

/* Immersive full-bleed hero */
.home-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    background-color: var(--color-primary-text);
    background-size: cover;
    background-position: center;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 70% at 50% 45%, rgba(18, 14, 10, 0.18), rgba(18, 14, 10, 0) 72%),
        linear-gradient(to bottom,
            rgba(18, 14, 10, 0.58) 0%,
            rgba(18, 14, 10, 0.30) 32%,
            rgba(18, 14, 10, 0.42) 72%,
            rgba(18, 14, 10, 0.72) 100%);
    z-index: 1;
}

.home-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 130px var(--spacing-md) 90px;
}

.home-hero .eyebrow {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-gold-leaf);
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.home-hero .eyebrow::after {
    content: '';
    display: block;
    width: 56px;
    height: 1px;
    background: var(--color-gold-leaf);
    opacity: 0.85;
    margin: 1.3rem auto 0;
}

.home-hero h1 {
    font-family: var(--font-headline);
    font-weight: 400;
    font-size: clamp(2.3rem, 4.8vw, 3.6rem);
    line-height: 1.12;
    color: var(--color-white);
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
    text-wrap: balance;
}

.home-hero .hero-lede {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 2.1rem;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}

.home-hero .he-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.home-hero .btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.home-hero .btn-outline:hover {
    background-color: var(--color-white) !important;
    color: var(--color-primary-text) !important;
}

@media (max-width: 600px) {
    .home-hero .he-btns {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Dragonfly seal sits over the hero photo (its cream ring reads against the photo) */
.home-hero .hero-medallion {
    width: clamp(280px, 34vw, 420px);
    height: clamp(280px, 34vw, 420px);
    margin: 0 auto 2rem;
    padding: clamp(16px, 2.2vw, 24px);
}

/* Welcome / brand moment */
.welcome {
    background: var(--color-organic-cream);
    text-align: center;
}

.welcome .container {
    max-width: 740px;
}

.welcome .hero-medallion {
    width: clamp(150px, 18vw, 200px);
    height: clamp(150px, 18vw, 200px);
    margin-bottom: 2rem;
}

.welcome .eyebrow {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8C6E2C;
    margin-bottom: 1.2rem;
}

.welcome h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin-bottom: 1.4rem;
}

.welcome p {
    font-size: 1.08rem;
    line-height: 1.9;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

.welcome .welcome-divider {
    width: 42px;
    height: 1px;
    background: var(--color-muted-gold);
    opacity: 0.6;
    margin: 2.2rem auto 0;
}

/* Alternating feature rows */
.feature-rows {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 6vw, 5.5rem);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(44, 44, 44, 0.06);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 16px 40px rgba(44, 40, 30, 0.06);
}

.feature-img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(44, 40, 30, 0.16);
    background-size: cover;
    background-position: center;
}

.feature-row:nth-child(even) .feature-img {
    order: 2;
}

.feature-text .eyebrow {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8C6E2C;
    margin-bottom: 1rem;
}

.feature-text h3 {
    font-family: var(--font-headline);
    font-weight: 400;
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    margin-bottom: 1.1rem;
}

.feature-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    opacity: 0.85;
    margin-bottom: 1.1rem;
}

.feature-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.35rem;
}

.feature-highlights li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(138, 154, 91, 0.12);
    color: var(--color-primary-text);
    font-family: var(--font-accent);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@media (max-width: 768px) {

    .feature-row,
    .feature-row:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-row:nth-child(even) .feature-img,
    .feature-img {
        order: 0;
    }

    .feature-text {
        text-align: center;
    }
}

/* The Space — clean uniform grid (overrides the old masonry columns) */
.space-masonry {
    columns: auto;
    column-gap: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    max-width: 1100px;
    margin: 2.5rem auto 0;
}

.space-masonry .space-item {
    margin: 0;
    aspect-ratio: 1 / 1;
}

.space-masonry .space-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 760px) {
    .space-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 440px) {
    .space-masonry {
        grid-template-columns: 1fr;
    }
}

/* Testimonials — full-bleed photo + scrim */
.testimonial-band {
    position: relative;
    background-color: var(--color-primary-text);
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.testimonial-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(20, 16, 12, 0.74), rgba(22, 18, 13, 0.82));
    z-index: 0;
}

.testimonial-band .container {
    position: relative;
    z-index: 1;
}

.testimonial-band .eyebrow {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-leaf);
    margin-bottom: 1rem;
}

.testimonial-band h2 {
    color: var(--color-white);
    margin-bottom: 3rem;
}

/* Testimonials — light refined band (distinct from the dark CTA below it) */
.testimonial-light {
    background: var(--color-warm-stone);
    color: var(--color-primary-text);
    text-align: center;
}

.testimonial-light .eyebrow {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8C6E2C;
    margin-bottom: 1rem;
}

.testimonial-light h2 {
    color: var(--color-primary-text);
    margin-bottom: 3rem;
}

.testimonial-light .dot {
    background-color: rgba(44, 44, 44, 0.22);
}

.testimonial-light .dot.active {
    background-color: var(--color-muted-gold);
}

/* Closing CTA band */
.cta-band {
    position: relative;
    background-color: var(--color-primary-text);
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(12, 10, 8, 0.72), rgba(12, 10, 8, 0.84));
    z-index: 0;
}

.cta-band .container {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.cta-band .eyebrow {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #F5D98B;
    margin-bottom: 1rem;
}

.cta-band h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    margin-bottom: 1.2rem;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.96);
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

/* --- Shared eyebrow (gold label + hairline rule) --- */
.hero-editorial .eyebrow {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8C6E2C;
    /* deeper gold — far more legible on cream than muted-gold */
    margin-bottom: 1.2rem;
}

.hero-editorial .eyebrow::after,
.page-header .eyebrow::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: var(--color-muted-gold);
    opacity: 0.55;
    margin: 1.1rem auto 0;
}

/* --- Homepage editorial hero --- */
.hero-editorial {
    position: relative;
    text-align: center;
    padding: clamp(170px, 22vh, 240px) var(--spacing-md) clamp(40px, 6vh, 70px);
    background-color: var(--color-organic-cream);
    background-image:
        /* sage-tinted glow behind the medallion = depth */
        radial-gradient(ellipse 60% 50% at 50% 30%,
            rgba(138, 154, 91, 0.10) 0%,
            rgba(138, 154, 91, 0) 60%),
        /* warm-stone vignette to frame the center column */
        radial-gradient(circle at 50% 18%,
            rgba(235, 233, 225, 0) 42%,
            rgba(235, 233, 225, 0.5) 100%),
        /* fine "linen" texture — two offset hairline grids */
        repeating-linear-gradient(45deg,
            rgba(44, 44, 44, 0.018) 0 1px, transparent 1px 7px),
        repeating-linear-gradient(-45deg,
            rgba(44, 44, 44, 0.018) 0 1px, transparent 1px 7px);
    background-blend-mode: normal, multiply, multiply, multiply;
}

/* Soft gold "wing-light" gradients hugging both edges fill the horizontal space */
.hero-editorial::before,
.hero-editorial::after {
    content: '';
    position: absolute;
    top: 0;
    width: 38vw;
    max-width: 520px;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-editorial::before {
    left: 0;
    background-image: radial-gradient(circle at 0% 42%,
        rgba(197, 160, 89, 0.10) 0%, rgba(197, 160, 89, 0) 55%);
}

.hero-editorial::after {
    right: 0;
    background-image: radial-gradient(circle at 100% 42%,
        rgba(197, 160, 89, 0.10) 0%, rgba(197, 160, 89, 0) 55%);
}

.hero-editorial-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

/* Charcoal "pressed seal" medallion — gold logo, high contrast on cream.
   Interior padding gives the artwork more breathing room on all sides; the
   #2F2F2F fill matches the logo's own background exactly, so there's no seam. */
.hero-medallion {
    width: clamp(280px, 34vw, 420px);
    height: clamp(280px, 34vw, 420px);
    margin: 0 auto 2.4rem;
    padding: clamp(16px, 2.2vw, 24px);
    border-radius: 50%;
    background: #2F2F2F;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow:
        0 0 0 1px rgba(212, 175, 55, 0.45),
        0 0 0 4px var(--color-organic-cream),
        0 0 0 5px rgba(212, 175, 55, 0.18),
        0 22px 48px rgba(44, 40, 30, 0.18);
}

/* Zoom the artwork in to fill the coin (crops the logo's built-in margins),
   but not so far that the BELLE VIE wordmark clips at the edges. */
.hero-medallion img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 47%;
    transform: scale(1.06);
}

.hero-editorial h1 {
    font-family: var(--font-headline);
    font-weight: 400;
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    line-height: 1.12;
    color: var(--color-primary-text);
    margin-bottom: 1.4rem;
    text-wrap: balance;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Keep phrases from breaking awkwardly (e.g. "Hair & Wellness") */
.nowrap {
    white-space: nowrap;
}

.hero-editorial .hero-lede {
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 1.2rem;
    color: var(--color-primary-text);
    opacity: 0.8;
}

.hero-editorial .he-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Slim, contained photo band below the hero (never full-bleed) --- */
.hero-photo-band {
    max-width: 1200px;
    margin: clamp(2rem, 4.5vh, 3.5rem) auto 0;
    padding: 0 var(--spacing-md);
}

.hero-photo-band-inner {
    position: relative;
    height: clamp(260px, 40vh, 430px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(44, 40, 30, 0.16);
}

.hero-photo-band .hero-img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 600px) {
    .hero-editorial .he-btns {
        flex-direction: column;
        align-items: stretch;
    }
}

/* --- Inner-page image hero (photo + editorial typography) --- */
.page-hero {
    position: relative;
    text-align: center;
    padding: clamp(190px, 30vh, 300px) var(--spacing-md) clamp(70px, 12vh, 120px);
    background-color: var(--color-primary-text);
    /* fallback while img loads */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Top + bottom scrim keeps the fixed nav and the subhead legible over the photo */
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        /* soft central pool keeps the headline/eyebrow legible over bright photo areas */
        radial-gradient(ellipse 70% 55% at 50% 56%,
            rgba(20, 18, 14, 0.40) 0%,
            rgba(20, 18, 14, 0) 75%),
        linear-gradient(to bottom,
            rgba(28, 26, 22, 0.55) 0%,
            rgba(28, 26, 22, 0.28) 28%,
            rgba(28, 26, 22, 0.30) 58%,
            rgba(28, 26, 22, 0.78) 100%);
    pointer-events: none;
    z-index: 0;
}

.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.page-hero .eyebrow {
    display: block;
    font-family: var(--font-accent);
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-leaf);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
    margin-bottom: 1.2rem;
}

.page-hero .eyebrow::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    background: var(--color-gold-leaf);
    opacity: 0.85;
    margin: 1.1rem auto 0;
}

.page-hero h1 {
    font-family: var(--font-headline);
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.12;
    color: var(--color-white);
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.page-hero-sub {
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
/* The Space — "Load More" reveal */
.space-masonry .space-item.is-hidden {
    display: none;
}

.space-more-wrap {
    text-align: center;
    margin-top: 1.6rem;
}

.space-more-btn {
    cursor: pointer;
    font: inherit;
}

.space-more-btn[hidden] {
    display: none;
}
