/* ==========================================================================
   MEDICINE WITHIN - Brand Stylesheet
   "Purification to Pleasure"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variables & Brand Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Core Brand Colors */
    --deep-teal: #2F4347;
    --gold: #D4AF37;
    --charcoal: #1A1A1F;
    --burgundy: #3A1F26;
    --warm-bone: #E8E1D8;
    --soft-blush: #F2D6C9;
    
    /* Legacy Color Mappings (for backward compatibility) */
    --color-bg: var(--deep-teal);
    --color-bg-elevated: #3A4A4F;
    --color-bg-card: #384A4F;
    
    --color-gold: var(--gold);
    --color-gold-light: #E8C547;
    --color-burgundy: var(--burgundy);
    --color-forest: #2D4A3E;
    
    --color-text: var(--warm-bone);
    --color-text-muted: #c8c8c8;
    --color-text-dark: var(--charcoal);
    
    /* Gold Texture Gradient */
    --gold-texture: linear-gradient(
        135deg, 
        #9c7a22 0%, 
        #d4af37 25%, 
        #f9e4a8 50%, 
        #d4af37 75%, 
        #9c7a22 100%
    );
    
    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --font-support: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Borders */
    --border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
}

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

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-sm);
}

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

.tagline {
    font-family: var(--font-support);
    font-style: normal;
    font-size: 0.75rem;
    color: var(--color-gold);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    display: block;
}

.byline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-gold);
    letter-spacing: 0.02em;
    margin-bottom: var(--space-md);
}

.pull-quote {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-top: var(--space-md);
    color: var(--color-text);
}

/* --------------------------------------------------------------------------
   3.5 Gold Texture Utilities
   -------------------------------------------------------------------------- */
.gold-texture-text {
    background: var(--gold-texture);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.shimmer-text {
    background: linear-gradient(
        90deg, 
        #9c7a22 0%, 
        #f9e4a8 50%, 
        #9c7a22 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 8s linear infinite;
}

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

.container-narrow {
    max-width: 800px;
}

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

/* Reduce section padding on mobile for tighter spacing */
@media (max-width: 768px) {
    .section {
        padding: var(--space-lg) 0; /* Reduce from 96px to 64px */
    }
}

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

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

/* Viewport-Height Section Utilities */
.section-vh {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-vh-80 {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-vh-60 {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-vh-50 {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-vh-min {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Responsive: Remove height constraints on mobile for natural scrolling */
@media (max-width: 768px) {
    .section-vh,
    .section-vh-80,
    .section-vh-60,
    .section-vh-50,
    .section-vh-min {
        min-height: auto;
        display: block;
    }
    
    .section-vh .container,
    .section-vh-80 .container,
    .section-vh-60 .container,
    .section-vh-50 .container,
    .section-vh-min .container {
        padding: var(--space-md) 0; /* Reduce from 96px to 32px for tighter mobile spacing */
    }
}

/* Mood-Based Section Classes */
.mood-deep-anchor {
    background-color: var(--deep-teal);
    color: var(--warm-bone);
}

.mood-deep-anchor .label,
.mood-deep-anchor .tagline {
    color: var(--gold);
}

.mood-night-temple {
    background-color: var(--burgundy);
    color: var(--soft-blush);
}

.mood-night-temple .label,
.mood-night-temple .tagline {
    color: var(--gold);
}

.mood-soft-sanctuary {
    background-color: var(--warm-bone);
    color: var(--charcoal);
}

.mood-soft-sanctuary .label,
.mood-soft-sanctuary .tagline {
    color: var(--deep-teal);
}

.mood-soft-sanctuary h1,
.mood-soft-sanctuary h2,
.mood-soft-sanctuary h3,
.mood-soft-sanctuary h4,
.mood-soft-sanctuary h5,
.mood-soft-sanctuary h6 {
    color: var(--charcoal);
}

.mood-soft-sanctuary p {
    color: var(--charcoal);
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-md);
}

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

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Flexbox */
.flex { display: flex; }
.flex-center { justify-content: center; align-items: center; }
.flex-between { justify-content: space-between; align-items: center; }
.flex-column { flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* Keep the entire header/nav ABOVE the mobile overlay */
    z-index: 1200;
    padding: var(--space-sm) 0;
    background: linear-gradient(to bottom, rgba(47, 67, 71, 0.95), rgba(47, 67, 71, 0));
    transition: var(--transition-base);
}

.header.scrolled {
    background: rgba(47, 67, 71, 0.98);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Mobile header layout: always keep hamburger visible */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: nowrap;
        gap: 0.5rem; /* Tighten spacing */
        padding: 0 1rem; /* Reduced horizontal padding */
    }

    .logo {
        min-width: 0;
        flex-shrink: 1;
        gap: 0.35rem; /* Reduced gap between icon and text */
    }

    .logo-text {
        font-size: clamp(0.65rem, 2.5vw, 1em); /* Scale text down more aggressively on small screens */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex-shrink: 1;
    }

    .logo-icon {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }
}

/* Intermediate breakpoint for smoother scaling */
@media (max-width: 600px) {
    .logo-text {
        font-size: clamp(0.7rem, 2.2vw, 0.95em);
    }
    
    .header-container {
        gap: 0.4rem;
        padding: 0 0.875rem;
    }
}

/* Very small screens: even more aggressive scaling */
@media (max-width: 480px) {
    .logo-text {
        font-size: clamp(0.6rem, 2vw, 0.85em);
    }
    
    .logo-icon {
        width: 18px;
        height: 18px;
    }
    
    .header-container {
        gap: 0.35rem;
        padding: 0 0.75rem;
    }
}

/* Logo (navigation v2 component) */
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.15em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    display: inline-flex;
    gap: 0.25em;
}

.logo-accent {
    color: var(--color-gold);
}

/* Desktop nav (navigation v2 component) */
.nav-desktop {
    display: none;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--color-text);
    font-family: var(--font-support);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    white-space: nowrap;
    padding: 0.25rem 0;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.dropdown-icon {
    opacity: 0.85;
}

.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.75rem;
    background: var(--color-bg);
    border: 1px solid var(--color-bg-elevated);
    border-radius: 4px;
    min-width: 220px;
    padding: 0.35rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 1100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.dropdown-menu a {
    display: block;
    padding: 0.65rem 0.9rem;
    font-family: var(--font-support);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--color-bg-elevated);
    color: var(--color-gold);
}

/* Open desktop dropdowns on hover/focus */
.nav-desktop .dropdown:hover > .dropdown-menu,
.nav-desktop .dropdown:focus-within > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Prevent underline animation inside dropdown links */
.dropdown-menu a::after {
    display: none;
}

/* Mobile nav (navigation v2 component) */
.mobile-menu-toggle {
    background: rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    padding: 10px;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    /* Minimum recommended tap target */
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
    z-index: 1251;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-fast);
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 86%;
    max-width: 340px;
    height: 100vh;
    background: var(--color-bg);
    border-left: 1px solid var(--color-bg-elevated);
    padding: 5rem var(--space-md) var(--space-xl) var(--space-md);
    transition: var(--transition-base);
    z-index: 1250;
    overflow-y: auto;
    overflow-x: hidden;
    will-change: transform;
}

.nav-mobile.active {
    right: 0;
    isolation: isolate;
    transform: translateZ(0);
}

body.mobile-menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    /* Must be BELOW .header (stacking context) so it doesn't cover the drawer */
    z-index: 1100;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    pointer-events: auto;
}

.mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-item {
    width: 100%;
}

.mobile-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    background: none;
    border: none;
    color: var(--color-text);
    font-family: var(--font-support);
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    text-align: left;
}

.mobile-link:hover {
    color: var(--color-gold);
}

.mobile-submenu {
    list-style: none;
    display: none;
    padding: 0 0 var(--space-sm) var(--space-sm);
    border-left: 2px solid rgba(212, 175, 55, 0.35);
    margin-left: 0.25rem;
}

.mobile-item.active .mobile-submenu {
    display: block;
}

.mobile-submenu a {
    display: block;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--color-text-muted);
}

.mobile-submenu a:hover {
    color: var(--color-gold);
}

/* Responsive visibility */
@media (min-width: 769px) {
    .nav-desktop {
        display: block;
    }
    .nav-mobile,
    .mobile-menu-toggle,
    body.mobile-menu-open::before {
        display: none;
    }
}

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

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (min-width: 769px) {
    .header-inner {
        flex-wrap: nowrap;
    }
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

@media (min-width: 769px) and (max-width: 1200px) {
    .logo {
        font-size: 1.25rem;
    }
}

.logo-icon {
    width: 24px;
    height: 24px;
    opacity: 0.9;
    flex-shrink: 0;
}

.logo span {
    color: var(--color-gold);
}

.nav {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    flex: 1;
    justify-content: flex-end;
}

@media (min-width: 769px) {
    .nav {
        flex-wrap: nowrap;
        max-width: none;
    }
}

.nav a,
.nav-dropdown-toggle {
    color: var(--color-text);
    font-family: var(--font-support);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    white-space: nowrap;
    padding: 0.25rem 0;
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: var(--transition-base);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover,
.nav-dropdown-toggle:hover {
    color: var(--color-gold);
}

/* Dropdown Navigation */
.nav-dropdown-wrapper {
    position: relative;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    gap: 0.25rem;
}

.nav-dropdown-toggle .caret {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-dropdown-wrapper.active .nav-dropdown-toggle .caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--color-bg);
    border: 1px solid var(--color-bg-elevated);
    border-radius: 4px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.nav-dropdown-wrapper.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text);
    text-decoration: none;
    border-bottom: 1px solid var(--color-bg-elevated);
    transition: background-color 0.2s ease;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: var(--color-bg-elevated);
    color: var(--color-gold);
}

.nav-dropdown-menu a::after {
    display: none;
}

/* Desktop: Compact nav for many items */
@media (min-width: 769px) and (max-width: 1200px) {
    .nav {
        gap: 0.5rem;
    }
    
    .nav a,
    .nav-dropdown-toggle {
        font-size: 0.7rem;
    }
}

@media (min-width: 1201px) {
    .nav {
        gap: 1rem;
    }
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-fast);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        padding: 1.5rem var(--space-md) var(--space-xl) var(--space-md);
        transition: var(--transition-base);
        border-left: 1px solid var(--color-bg-elevated);
        overflow-y: auto;
        overflow-x: hidden;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
    }
    
    .nav.open {
        right: 0;
    }
    
    .nav a,
    .nav-dropdown-toggle {
        font-size: 1rem;
        padding: var(--space-sm) 0;
        width: 100%;
        text-align: left;
        white-space: normal;
    }
    
    .nav-dropdown-wrapper {
        width: 100%;
    }
    
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        margin-left: var(--space-md);
        margin-bottom: var(--space-sm);
        width: calc(100% - var(--space-md));
        border: none;
        border-left: 2px solid var(--color-gold);
        box-shadow: none;
        display: none;
    }
    
    .nav-dropdown-wrapper.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown-menu a {
        padding: 0.5rem 0 0.5rem var(--space-sm);
        font-size: 0.9rem;
        border-bottom: 1px solid var(--color-bg-elevated);
    }
    
    .nav-dropdown-menu a::after {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   6. Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 12vh;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 0;
    transition: opacity 0.5s ease;
}

.hero-bg video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-bg {
        object-position: center 35%;
    }
    
    .hero-bg video {
        object-position: center 35%;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.3) 0%,
        rgba(26, 26, 26, 0.5) 50%,
        rgba(26, 26, 26, 0.9) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: var(--space-md);
}

.hero h1 {
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    text-transform: none; /* Keep "Mentorship" lowercase */
}

/* Style logo icon in h1 to match larger text size */
.hero h1 .logo-icon {
    width: 48px;
    height: 48px;
    opacity: 0.9;
    flex-shrink: 0;
}

/* Make "MEDICINE WITHIN" uppercase to match logo brand style */
.hero h1 .brand-text {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Ensure "Within" span is gold in h1 */
.hero h1 .brand-text span {
    color: var(--color-gold);
}

@media (max-width: 768px) {
    .hero h1 .logo-icon {
        width: 36px;
        height: 36px;
    }
}

.hero .tagline {
    margin-bottom: var(--space-xl);
}

/* Position tagline higher on page hero */
.hero-page .tagline {
    margin-top: -3rem;
}

@media (max-width: 768px) {
    .hero-page .tagline {
        margin-top: -2rem;
    }
}

/* Hero Typography - Matching build_2 style with build_1 colors */
.hero-tagline {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
}

.hero-logo {
    max-width: 120px;
    height: auto;
    margin: 0 auto var(--space-md) auto;
    display: block;
}

.hero-title {
    font-size: clamp(2rem, 1.5rem + 3vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    color: var(--color-text);
}

.hero-title span {
    color: var(--color-gold);
}

.hero-page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
    text-transform: none;
    letter-spacing: 0.02em;
}

/* Hero layout adjustment - title at top, subtitle+buttons at bottom */
.hero .hero-content {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 12vh - var(--space-xl));
    padding-bottom: 6vh;
}

.hero-top {
    /* Title section stays at top */
    text-align: center;
    margin-top: -8vh;
    padding-top: 4vh;
}

.hero-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
    font-weight: 300;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
}

/* Desktop: push bottom content lower to avoid covering face */
@media (min-width: 769px) {
    .hero-bottom {
        padding-top: 30vh;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 10vh;
    }
    
    .hero .hero-content {
        min-height: calc(100vh - 10vh - var(--space-md));
        padding-bottom: 4vh;
    }
    
    .hero-top {
        margin-top: -12vh;
        padding-top: 2vh;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: var(--space-sm);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 3.5vw, 1.25rem);
        margin-bottom: var(--space-md);
    }
    
    .hero-cta {
        flex-direction: row;
        gap: var(--space-sm);
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta .btn {
        padding: 1rem 1.25rem;
        font-size: 0.75rem;
    }
}

/* Page Hero (smaller) */
.hero-page {
    min-height: 70vh;
}

.hero-page .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.4) 0%,
        rgba(26, 26, 26, 0.7) 70%,
        rgba(26, 26, 26, 1) 100%
    );
}

/* Hero-page with new hero-top/hero-bottom structure */
.hero-page .hero-content {
    min-height: calc(70vh - 12vh - var(--space-xl));
    padding-bottom: 4vh;
}

.hero-page .hero-top {
    margin-top: 0;
    padding-top: 6vh;
}

.hero-page .hero-bottom {
    margin-top: auto;
}

@media (max-width: 768px) {
    .hero-page .hero-content {
        min-height: calc(70vh - 10vh - var(--space-md));
        padding-bottom: 3vh;
    }
    
    .hero-page .hero-top {
        padding-top: 4vh;
    }
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    cursor: pointer;
    transition: var(--transition-base);
}

.btn:hover {
    background: var(--color-gold);
    color: var(--color-text-dark);
}

.btn-primary {
    background: var(--gold-texture);
    color: var(--charcoal);
    border-color: var(--gold);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--gold-texture);
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

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

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: var(--space-md);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
}

/* Card with image support */
.card__image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg);
    margin: calc(var(--space-md) * -1) calc(var(--space-md) * -1) var(--space-md) calc(var(--space-md) * -1);
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
    filter: sepia(0.2) contrast(1.1) brightness(0.8);
}

.card:hover .card__image img {
    transform: scale(1.05);
    filter: sepia(0) contrast(1.2) brightness(0.9);
}

.card__content {
    flex: 1;
}

/* --------------------------------------------------------------------------
   Portal Cards (Home)
   -------------------------------------------------------------------------- */
.portal-grid {
    gap: var(--space-lg);
}

.portal-card {
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    overflow: hidden;
    color: var(--color-text);
    text-decoration: none;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.portal-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-bg);
}

.portal-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.05) 0%,
        rgba(26, 26, 26, 0.35) 75%,
        rgba(26, 26, 26, 0.55) 100%
    );
    pointer-events: none;
}

.portal-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    transform: scale(1.01);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
    filter: sepia(0.2) contrast(1.1) brightness(0.8);
}

.portal-card__body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.portal-card__title {
    margin: 0;
    color: var(--color-gold);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 1.35rem;
}

.portal-card__desc {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.portal-card__cta {
    margin-top: auto;
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.portal-card__cta::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.portal-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-6px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
}

.portal-card:hover .portal-card__media img {
    transform: scale(1.07);
    filter: sepia(0) contrast(1.2) brightness(0.9);
}

.portal-card:hover .portal-card__cta::after {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .portal-grid {
        gap: var(--space-md);
    }
    .portal-card__title {
        font-size: 1.25rem;
    }
}

/* --------------------------------------------------------------------------
   Temple Offering Cards - Split Screen Design
   -------------------------------------------------------------------------- */
.offering-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

.offering-card {
    display: flex;
    align-items: stretch;
    background: var(--color-bg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    min-height: 450px;
    overflow: visible;
    transition: var(--transition-base);
    width: 100%;
}

.offering-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.offering-card-image {
    flex: 0 0 45%;
    position: relative;
    overflow: hidden;
    background: var(--color-bg-card);
    min-height: 100%;
    z-index: 0;
}

.offering-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-position: center;
    margin: 0;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow), filter 0.5s ease;
    filter: sepia(0.2) contrast(1.1) brightness(0.8);
    z-index: 0;
}

.offering-card:hover .offering-card-image img {
    transform: scale(1.05);
    filter: sepia(0) contrast(1.2) brightness(0.9);
}

.offering-card.reverse {
    flex-direction: row-reverse;
}

.offering-card.reverse .offering-card-content {
    visibility: visible !important;
    opacity: 1 !important;
    display: flex !important;
}

.offering-card.reverse .offering-card-content * {
    visibility: visible !important;
    opacity: 1 !important;
}

.offering-card-divider {
    width: 2px;
    background: var(--color-gold);
    opacity: 0.3;
    flex-shrink: 0;
}

.offering-card-content {
    flex: 1 1 calc(55% - 1px);
    padding: var(--space-xl);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    background: var(--color-bg);
    position: relative;
    z-index: 1;
    min-height: 200px;
    min-width: 300px;
    overflow: visible;
    width: calc(55% - 1px);
    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
    color: var(--color-text);
}

.offering-card-content * {
    visibility: visible !important;
    opacity: 1 !important;
}

.offering-card-content .tagline {
    color: var(--color-gold) !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

.offering-card-content .btn {
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
}

.offering-card-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--color-gold) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    font-weight: 400;
    line-height: 1.2;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.offering-card-description {
    color: var(--color-text) !important;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.offering-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-lg) 0;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.offering-feature-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-md);
    position: relative;
    color: var(--color-text) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    display: list-item !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.offering-feature-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 0.875rem;
}

.offering-price {
    color: var(--color-gold);
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font-heading);
    margin-top: auto;
    padding-top: var(--space-md);
}

/* Responsive */
@media (max-width: 768px) {
    .offering-card {
        flex-direction: column;
        min-height: auto;
        overflow: visible;
    }
    
    .offering-card-image {
        flex: 0 0 auto;
        height: 300px;
        min-height: 300px;
        width: 100%;
    }
    
    .offering-card-divider {
        width: 100%;
        height: 2px;
        opacity: 0.2;
    }
    
    .offering-card-content {
        padding: var(--space-md);
        min-height: auto;
        flex: 1 1 auto;
        display: flex !important;
        flex-direction: column;
        justify-content: flex-start;
        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1;
    }
    
    .offering-card-content * {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .offering-card-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: var(--space-sm);
        display: block !important;
        visibility: visible !important;
    }
    
    .offering-card-description {
        font-size: 0.95rem;
        margin-bottom: var(--space-md);
        display: block !important;
        visibility: visible !important;
    }
    
    .offering-feature-list {
        display: block !important;
        visibility: visible !important;
    }
    
    .offering-price {
        font-size: 1.25rem;
        margin-top: var(--space-sm);
        padding-top: var(--space-sm);
    }
}

/* Spoke Cards (Image background) */
.spoke-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.spoke-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.spoke-card:hover .spoke-card-bg {
    transform: scale(1.05);
}

.spoke-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(26, 26, 26, 0.4) 50%,
        rgba(26, 26, 26, 0.1) 100%
    );
    transition: var(--transition-base);
}

.spoke-card:hover .spoke-card-overlay {
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.98) 0%,
        rgba(26, 26, 26, 0.5) 50%,
        rgba(26, 26, 26, 0.2) 100%
    );
}

.spoke-card-content {
    position: relative;
    z-index: 2;
    padding: var(--space-md);
    width: 100%;
}

.spoke-card h3 {
    font-size: 1.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: var(--space-xs);
}

.spoke-card p {
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

.spoke-card .link-arrow {
    color: var(--color-gold);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.spoke-card .link-arrow::after {
    content: ' →';
    transition: var(--transition-fast);
}

.spoke-card:hover .link-arrow::after {
    margin-left: 8px;
}

/* Pricing Cards */
.pricing-card {
    text-align: center;
    padding: var(--space-lg) var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.pricing-card-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.85);
    z-index: 1;
}

.pricing-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.pricing-card.featured {
    border-color: var(--color-gold);
    position: relative;
}

.pricing-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--color-gold);
    color: var(--color-text-dark);
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 3;
}

.pricing-card h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-amount {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-gold);
    margin: var(--space-md) 0;
}

.pricing-amount span {
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-md);
}

.pricing-features li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* --------------------------------------------------------------------------
   9. Instagram Grid
   -------------------------------------------------------------------------- */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

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

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0);
    transition: var(--transition-base);
}

.instagram-item:hover::after {
    background: rgba(212, 175, 55, 0.2);
}

/* Instagram Embed Grid */
.instagram-embed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    justify-items: center;
}

@media (max-width: 768px) {
    .instagram-embed-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Instagram Media (Embedded Posts) */
.instagram-media {
    margin: 0 auto !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* Instagram Feed Widget Container */
.instagram-feed-widget {
    width: 100%;
    margin: 2rem 0;
}

.instagram-feed-widget iframe {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

/* --------------------------------------------------------------------------
   10. Gallery
   -------------------------------------------------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

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

.gallery-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow), filter 0.5s ease;
    margin: 0;
    filter: sepia(0.2) contrast(1.1) brightness(0.8);
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: sepia(0) contrast(1.2) brightness(0.9);
}

/* Flush gallery (tight, modern) - used for the home ceremonial field section */
.mw-gallery--flush .gallery {
    gap: 0;
}

@media (max-width: 768px) {
    /* Make images feel intentional on mobile: edge-to-edge tiles, header stays padded */
    .mw-gallery--flush .container {
        padding-left: 0;
        padding-right: 0;
    }

    .mw-gallery--flush .section-header {
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    /* Keep a 2-column stack on mobile even when using gallery-2 */
    .mw-gallery--flush .gallery-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .mw-gallery--flush .gallery-item {
        aspect-ratio: 1 / 1;
    }
}

/* --------------------------------------------------------------------------
   11. Features / Info Blocks
   -------------------------------------------------------------------------- */
.feature-list {
    list-style: none;
}

.feature-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-md);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

.info-box {
    background: var(--color-bg-elevated);
    border-left: 3px solid var(--color-gold);
    padding: var(--space-md);
    margin: var(--space-md) 0;
}

.info-box h4 {
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Info box in soft sanctuary sections - white text */
.mood-soft-sanctuary .info-box {
    color: #ffffff;
}

.mood-soft-sanctuary .info-box * {
    color: #ffffff;
}

.mood-soft-sanctuary .info-box h4 {
    color: var(--color-gold);
}

/* Contraindications (warning style) */
.warning-box {
    background: rgba(107, 45, 60, 0.2);
    border-left: 3px solid var(--color-burgundy);
}

.warning-box h4 {
    color: #e8a0a0;
}

/* --------------------------------------------------------------------------
   12. Methodology Cards - Redesigned from First Principles
   -------------------------------------------------------------------------- */
.methodology-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    max-width: 1400px;
    margin: 0 auto;
}

.methodology-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.methodology-card:nth-child(1) {
    animation-delay: 0.1s;
}

.methodology-card:nth-child(2) {
    animation-delay: 0.2s;
}

.methodology-card:nth-child(3) {
    animation-delay: 0.3s;
}

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

.methodology-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(212, 175, 55, 0.1);
}

.methodology-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--color-bg);
}

.methodology-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    filter: sepia(0.2) contrast(1.1) brightness(0.8);
}

.methodology-card:hover .methodology-card-image img {
    transform: scale(1.08);
    filter: sepia(0) contrast(1.2) brightness(0.9);
}

.methodology-card-number {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 48px;
    height: 48px;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-gold);
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.methodology-card:hover .methodology-card-number {
    background: var(--color-gold);
    color: var(--color-text-dark);
    border-color: var(--color-gold);
    transform: scale(1.1);
}

.methodology-card-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.methodology-card-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 2.5vw, 2.5rem);
    font-weight: 400;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.methodology-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
}

.methodology-card-list li {
    position: relative;
    padding-left: var(--space-lg);
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 300;
}

.methodology-card-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: 400;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.methodology-card:hover .methodology-card-list li::before {
    opacity: 1;
}

/* Desktop Enhancements */
@media (min-width: 1025px) {
    .methodology-cards {
        gap: var(--space-xl);
        padding: var(--space-xl) var(--space-md);
    }
    
    .methodology-card-image {
        height: 320px;
    }
    
    .methodology-card-content {
        padding: var(--space-xl);
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .methodology-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
    
    .methodology-card-image {
        height: 260px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .methodology-cards {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding: var(--space-lg) 0;
    }
    
    .methodology-card-image {
        height: 240px;
    }
    
    .methodology-card-content {
        padding: var(--space-md);
    }
    
    .methodology-card-title {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        margin-bottom: var(--space-sm);
    }
    
    .methodology-card-list li {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    }
    
    .methodology-card-number {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        top: var(--space-sm);
        right: var(--space-sm);
    }
}

/* --------------------------------------------------------------------------
   13. Testimonials
   -------------------------------------------------------------------------- */
.testimonial {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: var(--space-sm);
    position: relative;
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
    flex: 1;
    overflow-y: auto;
    min-height: 0;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--color-gold);
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.3;
}

.testimonial-author {
    color: var(--color-gold);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.testimonial-name {
    color: var(--color-gold);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: normal;
    font-style: italic;
}

/* Testimonials Grid with Avatars */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto var(--space-md);
    border: 3px solid var(--color-gold);
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.2) contrast(1.1) brightness(0.8);
}

.testimonial-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-content .testimonial-quote {
    font-size: 1.1rem;
    font-style: normal;
    line-height: 1.8;
    margin-bottom: var(--space-md);
    color: var(--color-text);
    font-family: var(--font-body);
}

.testimonial-content .testimonial-quote::before {
    display: none;
}

.testimonial-content .testimonial-author {
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-transform: none;
    letter-spacing: normal;
}

.testimonial-content .testimonial-author strong {
    color: var(--color-gold);
    font-size: 1rem;
    display: block;
}

.testimonial-content .testimonial-author span {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .testimonial {
        max-height: 90vh;
    }
}

/* Transformation Gallery */
.transformation-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.transformation-gallery .gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.transformation-gallery .gallery-item:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.transformation-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    transition: transform 0.6s ease;
}

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

@media (max-width: 768px) {
    .transformation-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
}

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    position: relative;
    padding-left: var(--space-lg);
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    opacity: 0.3;
}

.process-step {
    display: flex;
    gap: var(--space-lg);
    position: relative;
}

.process-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    flex-shrink: 0;
    position: absolute;
    left: 0;
    z-index: 2;
}

.process-step-content {
    margin-left: calc(40px + var(--space-lg));
    flex: 1;
}

@media (max-width: 768px) {
    .process-timeline {
        padding-left: var(--space-md);
    }
    
    .process-step-number {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .process-step-content {
        margin-left: calc(36px + var(--space-md));
    }
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    max-width: 100%;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    padding: var(--space-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.faq-question {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
}

.faq-answer {
    color: var(--color-text);
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: var(--space-xs);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-gold);
}

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

/* Small inline icon for messages */
.icon-inline {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
    margin: 0 0.25em;
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-input {
    flex: 1;
}

/* ConvertKit Native Form Styling */
.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

/* Target ALL ConvertKit forms on the page (they inject outside containers) */
form[data-sv-form],
form.formkit-form,
.seva-form {
    width: 100% !important;
    max-width: 100% !important;
}

/* Target ConvertKit form fields container */
form[data-sv-form] [data-element="fields"],
form.formkit-form [data-element="fields"],
.seva-form .formkit-fields,
.seva-fields {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: var(--space-sm) !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    width: 100% !important;
}

/* Target ConvertKit form field wrapper */
form[data-sv-form] .formkit-field,
form.formkit-form .formkit-field,
.seva-form .formkit-field {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ensure email input takes available space */
form[data-sv-form] .formkit-field input[type="email"],
form.formkit-form .formkit-field input[type="email"],
.seva-form .formkit-field input[type="email"] {
    flex: 1 !important;
}

/* Ensure submit button doesn't shrink */
form[data-sv-form] [data-element="submit"],
form.formkit-form [data-element="submit"],
.seva-form button[type="submit"],
button.formkit-submit {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

/* Target ConvertKit email input - AGGRESSIVE STYLING */
form[data-sv-form] input[type="email"],
form.formkit-form input[type="email"],
.seva-form input[type="email"],
.formkit-input[type="email"],
input.formkit-input[name="email_address"] {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    background: var(--color-bg-elevated) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--border-radius) !important;
    color: var(--color-text) !important;
    font-family: var(--font-body) !important;
    font-size: 1rem !important;
    transition: var(--transition-fast) !important;
    box-sizing: border-box !important;
}

form[data-sv-form] input[type="email"]:focus,
form.formkit-form input[type="email"]:focus,
.seva-form input[type="email"]:focus,
.formkit-input[type="email"]:focus {
    outline: none !important;
    border-color: var(--color-gold) !important;
}

form[data-sv-form] input[type="email"]::placeholder,
form.formkit-form input[type="email"]::placeholder,
.seva-form input[type="email"]::placeholder,
.formkit-input[type="email"]::placeholder {
    color: var(--color-text-muted) !important;
    opacity: 1 !important;
}

/* Target ConvertKit submit button - AGGRESSIVE STYLING */
form[data-sv-form] button[type="submit"],
form.formkit-form button[type="submit"],
.seva-form button[type="submit"],
form[data-sv-form] [data-element="submit"],
form.formkit-form [data-element="submit"],
.formkit-submit,
button.formkit-submit {
    padding: 0.75rem 2rem !important;
    background: var(--color-gold) !important;
    color: var(--color-text-dark) !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    font-family: var(--font-body) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: var(--transition-fast) !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

form[data-sv-form] button[type="submit"]:hover,
form.formkit-form button[type="submit"]:hover,
.seva-form button[type="submit"]:hover,
.formkit-submit:hover {
    background: var(--color-gold-light) !important;
}

/* Target ConvertKit alerts */
form[data-sv-form] .formkit-alert,
form.formkit-form .formkit-alert,
form[data-sv-form] [data-element="errors"],
form.formkit-form [data-element="errors"] {
    margin-bottom: 1rem !important;
    padding: 0.75rem 1rem !important;
    border-radius: var(--border-radius) !important;
    font-size: 0.9rem !important;
}

form[data-sv-form] .formkit-alert-error,
form.formkit-form .formkit-alert-error {
    background: rgba(231, 76, 60, 0.1) !important;
    border: 1px solid rgba(231, 76, 60, 0.3) !important;
    color: #e74c3c !important;
}

form[data-sv-form] .formkit-alert-success,
form.formkit-form .formkit-alert-success {
    background: rgba(16, 191, 122, 0.1) !important;
    border: 1px solid rgba(16, 191, 122, 0.3) !important;
    color: #10bf7a !important;
}

/* Fix ConvertKit full-screen form alignment */
form[data-sv-form][data-format="inline"] .formkit-fields,
form.formkit-form[data-format="inline"] .formkit-fields,
.seva-form[data-format="inline"] .formkit-fields {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 12px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    max-width: 100% !important;
}

form[data-sv-form][data-format="inline"] .formkit-field,
form.formkit-form[data-format="inline"] .formkit-field,
.seva-form[data-format="inline"] .formkit-field {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
}

form[data-sv-form][data-format="inline"] .formkit-field input[type="email"],
form.formkit-form[data-format="inline"] .formkit-field input[type="email"],
.seva-form[data-format="inline"] .formkit-field input[type="email"] {
    width: 100% !important;
    box-sizing: border-box !important;
}

form[data-sv-form][data-format="inline"] [data-element="submit"],
form.formkit-form[data-format="inline"] [data-element="submit"],
.seva-form[data-format="inline"] button[type="submit"] {
    flex: 0 0 auto !important;
    align-self: stretch !important;
    margin: 0 !important;
}

/* Hide "Built with Kit" branding - TARGET EVERYWHERE */
.formkit-powered-by-convertkit-container,
.formkit-powered-by,
a[data-element="powered-by"],
a.formkit-powered-by {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

@media (max-width: 576px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form .formkit-fields,
    form[data-sv-form] .formkit-fields,
    form.formkit-form .formkit-fields,
    .seva-form .formkit-fields {
        flex-direction: column !important;
        flex-wrap: wrap !important;
    }
    
    .newsletter-form .formkit-field {
        min-width: 100%;
    }
    
    .newsletter-form .formkit-submit {
        width: 100%;
    }
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--color-bg);
    padding: var(--space-xl) 0 var(--space-md);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

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

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer h4 {
    font-family: var(--font-support);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: var(--space-sm);
}

@media (max-width: 768px) {
    .social-links {
        justify-content: center;
    }
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-muted);
    transition: var(--transition-fast);
}

.social-links a:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   16. Decorative Elements
   -------------------------------------------------------------------------- */
.divider {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin: var(--space-md) auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header .tagline {
    margin-bottom: var(--space-sm);
}

/* Ornamental line - Three-element design (lines + logo) */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.ornament::before,
.ornament::after {
    content: '';
    width: 80px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.3), var(--color-gold));
    flex-shrink: 0;
}

.ornament::after {
    background: linear-gradient(to left, transparent, rgba(212, 175, 55, 0.3), var(--color-gold));
}

.ornament span {
    display: inline-block;
    width: 36px;
    height: 36px;
    font-size: 0;
    line-height: 0;
    color: transparent;
    background-image: url('../assets/img/logo-gold.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
    flex-shrink: 0;
}

/* If ornament contains an img tag instead of span */
.ornament img {
    width: 36px;
    height: 36px;
    opacity: 0.85;
    display: block;
    flex-shrink: 0;
}

/* Responsive: Longer lines on desktop */
@media (min-width: 768px) {
    .ornament::before,
    .ornament::after {
        width: 110px;
    }
    
    .ornament span,
    .ornament img {
        width: 40px;
        height: 40px;
    }
}

/* Easter egg variant - for special high-quality symbols */
.ornament-easter-egg span {
    background-image: none;
    font-size: 1.5rem;
    color: var(--color-gold);
    opacity: 0.7;
    line-height: 1;
}

@media (min-width: 768px) {
    .ornament-easter-egg span {
        font-size: 1.75rem;
    }
}

/* Decorative logo elements */
.logo-watermark {
    opacity: 0.08;
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

/* Deprecated: Use .ornament instead */
.logo-decorative {
    width: 40px;
    height: 40px;
    opacity: 0.6;
    margin: 0 auto;
}

.logo-footer {
    width: 32px;
    height: 32px;
    opacity: 0.8;
    margin-right: 0.75rem;
}

.footer .logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Deprecated: Use .ornament instead */
.logo-section {
    width: 48px;
    height: 48px;
    opacity: 0.4;
    margin: 0 auto var(--space-sm);
}

/* --------------------------------------------------------------------------
   17. Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* --------------------------------------------------------------------------
   18. Page-Specific Overrides
   -------------------------------------------------------------------------- */

/* Kambo Page - Forest Theme */
.theme-forest .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(45, 74, 62, 0.3) 0%,
        rgba(26, 26, 26, 0.6) 50%,
        rgba(26, 26, 26, 0.95) 100%
    );
}

.theme-forest .section-header h2 {
    color: var(--color-text);
}

/* Temple Page - Burgundy Theme */
.theme-temple .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(107, 45, 60, 0.3) 0%,
        rgba(26, 26, 26, 0.6) 50%,
        rgba(26, 26, 26, 0.95) 100%
    );
}

/* Mentorship Page - Clean Theme */
.theme-clean .section {
    background: var(--color-bg);
}

.theme-clean .hero-bg {
    object-position: center 5%;
}

@media (max-width: 768px) {
    .theme-clean .hero-bg {
        object-position: center 10%;
    }
}

/* Retreats Page - Dream Theme */
.theme-dream .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.4) 0%,
        rgba(26, 26, 26, 0.7) 70%,
        rgba(26, 26, 26, 1) 100%
    );
}

/* --------------------------------------------------------------------------
   19. Utility Classes
   -------------------------------------------------------------------------- */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.pt-sm { padding-top: var(--space-sm); }
.pt-md { padding-top: var(--space-md); }
.pt-lg { padding-top: var(--space-lg); }
.pb-sm { padding-bottom: var(--space-sm); }
.pb-md { padding-bottom: var(--space-md); }
.pb-lg { padding-bottom: var(--space-lg); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* --------------------------------------------------------------------------
   20. Events Section
   -------------------------------------------------------------------------- */

/* View Toggle */
.events-view-toggle {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

.view-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-fast);
}

.view-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.view-btn.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-text-dark);
}

.view-btn svg {
    flex-shrink: 0;
}

/* Events Container */
.events-container {
    min-height: 600px;
    position: relative;
    margin-top: var(--space-md);
}

.events-view {
    display: none;
}

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

/* Loading State */
.events-loading {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    color: var(--color-text-muted);
}

.events-loading.active {
    display: flex;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: var(--space-sm);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.events-empty {
    text-align: center;
    padding: var(--space-xl);
}

/* Events Footer */
.events-footer {
    text-align: center;
    margin-top: var(--space-lg);
}

/* --------------------------------------------------------------------------
   20a. List View
   -------------------------------------------------------------------------- */
.events-list-view {
    display: none;
    flex-direction: column;
    gap: var(--space-sm);
}

.events-list-view.active {
    display: flex;
}

.event-list-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md);
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition-base);
}

.event-list-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateX(4px);
}

.event-date-block {
    text-align: center;
    min-width: 70px;
    padding: var(--space-sm);
    background: rgba(212, 175, 55, 0.1);
    border-left: 3px solid var(--color-gold);
}

.event-date-day {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    line-height: 1;
}

.event-date-month {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.event-date-year {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

.event-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.event-info .event-type {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.event-info .event-meta {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.event-info .event-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.event-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    align-items: flex-end;
}

.event-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-gold);
}

.event-spots {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.event-spots.limited {
    color: #e8a0a0;
}

.btn-book {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

@media (max-width: 768px) {
    .event-list-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .event-date-block {
        border-left: none;
        border-bottom: 3px solid var(--color-gold);
        margin: 0 auto;
    }
    
    .event-info .event-meta {
        justify-content: center;
    }
    
    .event-actions {
        align-items: center;
    }
}

/* --------------------------------------------------------------------------
   20b. Grid View
   -------------------------------------------------------------------------- */
.events-grid-view {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-md);
}

.events-grid-view.active {
    display: grid;
}

.event-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
    transition: var(--transition-base);
}

.event-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
}

.event-card-header {
    position: relative;
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(107, 45, 60, 0.3) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.event-card-header.temple-night {
    background: linear-gradient(135deg, rgba(107, 45, 60, 0.4) 0%, rgba(26, 26, 26, 0.8) 100%);
}

.event-card-header.womens-circle {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(26, 26, 26, 0.8) 100%);
}

.event-card-header.immersion {
    background: linear-gradient(135deg, rgba(45, 74, 62, 0.4) 0%, rgba(26, 26, 26, 0.8) 100%);
}

.event-card-date {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: var(--space-xs);
}

.event-card-date .day {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-gold);
    line-height: 1;
}

.event-card-date .month-year {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text);
}

.event-card-type {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: 0.25rem 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
}

.event-card-body {
    padding: var(--space-md);
}

.event-card h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.event-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-card-meta svg {
    flex-shrink: 0;
    color: var(--color-gold);
}

.event-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.event-card-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
}

/* --------------------------------------------------------------------------
   20c. Calendar View
   -------------------------------------------------------------------------- */
.events-calendar-view {
    display: none;
    flex-direction: column;
}

.events-calendar-view.active {
    display: flex;
}

.calendar-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.calendar-month {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    min-width: 200px;
    text-align: center;
}

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--color-gold);
    cursor: pointer;
    transition: var(--transition-fast);
}

.calendar-nav:hover {
    background: var(--color-gold);
    color: var(--color-text-dark);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: var(--space-xs);
    text-align: center;
}

.calendar-weekdays span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    padding: var(--space-xs);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    color: var(--color-text-muted);
    position: relative;
    cursor: default;
    min-height: 60px;
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.today {
    border-color: var(--color-gold);
}

.calendar-day.today .day-number {
    color: var(--color-gold);
    font-weight: 600;
}

.calendar-day.has-event {
    cursor: pointer;
    transition: var(--transition-fast);
}

.calendar-day.has-event:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.day-number {
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

.day-events {
    display: flex;
    gap: 3px;
    margin-top: 4px;
}

.event-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.event-dot.temple-night {
    background: var(--color-burgundy);
}

.event-dot.womens-circle {
    background: var(--color-gold);
}

.event-dot.immersion {
    background: var(--color-forest);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.legend-dot.temple-night {
    background: var(--color-burgundy);
}

.legend-dot.womens-circle {
    background: var(--color-gold);
}

.legend-dot.immersion {
    background: var(--color-forest);
}

/* Calendar Event Tooltip */
.calendar-tooltip {
    position: fixed;
    z-index: 1000;
    background: var(--color-bg-card);
    border: 1px solid var(--color-gold);
    padding: var(--space-sm);
    max-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.calendar-tooltip.visible {
    opacity: 1;
}

.calendar-tooltip h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.calendar-tooltip .tooltip-type {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.calendar-tooltip .tooltip-meta {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

@media (max-width: 576px) {
    .calendar-day {
        min-height: 45px;
    }
    
    .day-number {
        font-size: 0.9rem;
    }
    
    .calendar-weekdays span {
        font-size: 0.65rem;
    }
    
    .event-dot {
        width: 6px;
        height: 6px;
    }
}

/* --------------------------------------------------------------------------
   20d. Iframe View (Hipsy Embed)
   -------------------------------------------------------------------------- */
.hipsy-iframe {
    width: 100%;
    min-height: 800px;
    height: 1500px;
    border: none;
    border-radius: 4px;
    background: var(--color-bg-card);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition-base);
    display: block;
}

/* Iframe Error Message */
.iframe-error-message {
    text-align: center;
    padding: var(--space-xl);
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
}

.iframe-error-message h3 {
    color: var(--color-gold);
    margin: var(--space-md) 0;
}

.iframe-error-message code {
    background: rgba(212, 175, 55, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--color-gold);
}

/* Responsive iframe adjustments */
@media (max-width: 768px) {
    .hipsy-iframe {
        height: 1200px;
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .hipsy-iframe {
        height: 1000px;
        min-height: 400px;
    }
}

/* ==========================================================================
   Floating Discovery Call Button
   ========================================================================== */

.floating-discovery-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-gold);
    color: var(--color-text-dark);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.floating-discovery-btn:hover {
    background: var(--color-gold-light);
    transform: translateY(0) scale(1.05);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.floating-discovery-btn:active {
    transform: translateY(0) scale(0.98);
}

.floating-discovery-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

@media (max-width: 768px) {
    .floating-discovery-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .floating-discovery-btn {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* ==========================================================================
   Kambo Page - Experience Timeline
   ========================================================================== */

.experience-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    gap: 0;
    padding: 0 var(--space-md);
}

.experience-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.experience-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    margin: 0 auto var(--space-md);
    position: relative;
    z-index: 2;
}

.experience-content h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.experience-connector {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, var(--color-gold), rgba(212, 175, 55, 0.3));
    margin: 30px -15px 0;
    align-self: flex-start;
    max-width: 100px;
    position: relative;
    top: 30px;
}

@media (max-width: 768px) {
    .experience-timeline {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .experience-connector {
        display: none;
    }
    
    .experience-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* ==========================================================================
   FAQ Accordion - First Principles Redesign
   ========================================================================== */

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-gold);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-question[aria-expanded="true"] {
    color: var(--color-gold);
}

.faq-question[aria-expanded="true"] + .faq-answer {
    border-color: rgba(212, 175, 55, 0.4);
}

/* Modern browsers with :has() support */
@supports selector(:has(*)) {
    .faq-item:has(.faq-question[aria-expanded="true"]) {
        border-color: rgba(212, 175, 55, 0.4);
        box-shadow: 0 6px 30px rgba(212, 175, 55, 0.1);
    }
    
    .faq-item:has(.faq-question[aria-expanded="true"])::before {
        height: 100%;
    }
}

/* Fallback for browsers without :has() - using expanded class added by JS */
.faq-item.expanded {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.1);
}

.faq-item.expanded::before {
    height: 100%;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: transparent;
    border: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.faq-question:hover {
    color: var(--color-gold);
}

.faq-question:focus {
    outline: none;
    color: var(--color-gold);
}

.faq-question:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: -2px;
    border-radius: 12px;
}

.faq-question-text {
    flex: 1;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    position: relative;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question:hover .faq-icon {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
}

.faq-question[aria-expanded="true"] .faq-icon {
    background: var(--color-gold);
    color: var(--color-text-dark);
    transform: rotate(180deg) scale(1.1);
}

.faq-question[aria-expanded="true"] .faq-icon svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease 0.1s;
    padding: 0 1.75rem;
    opacity: 0;
    position: relative;
    z-index: 1;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 1000px;
    padding: 0 1.25rem 1rem 1.25rem;
    opacity: 1;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease 0.1s;
}

.faq-answer-content {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
}

.faq-answer-content p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.faq-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-cta-text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

.faq-cta-link {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
}

.faq-cta-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.faq-cta-link:hover {
    color: var(--color-gold-light);
}

.faq-cta-link:hover::after {
    width: 100%;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .faq-container {
        gap: 0.5rem;
    }
    
    .faq-item {
        border-radius: 8px;
    }
    
    .faq-question {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        gap: 0.75rem;
    }
    
    .faq-icon {
        width: 22px;
        height: 22px;
    }
    
    .faq-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .faq-question[aria-expanded="true"] + .faq-answer {
        padding: 0 1rem 0.875rem 1rem;
    }
    
    .faq-answer-content {
        padding-top: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .faq-answer-content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .faq-cta {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }
    
    .faq-cta-text {
        font-size: 0.95rem;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .faq-item,
    .faq-question,
    .faq-icon,
    .faq-answer,
    .faq-cta-link::after {
        transition: none;
    }
    
    .faq-item:hover {
        transform: none;
    }
    
    .faq-question:hover .faq-icon {
        transform: none;
    }
    
    .faq-question[aria-expanded="true"] .faq-icon {
        transform: rotate(180deg);
    }
}

/* ==========================================================================
   Contraindications List
   ========================================================================== */

.contraindications-list {
    list-style: none;
    margin-top: var(--space-md);
    padding: 0;
}

.contraindications-list li {
    padding: var(--space-sm) 0;
    padding-left: var(--space-md);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.6;
}

.contraindications-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 0.9rem;
}

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

/* ==========================================================================
   VIDEO STYLES - Performance Optimized
   ========================================================================== */

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: #000;
    min-height: 300px;
}

.video-container video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 300px;
    position: relative;
    z-index: 2;
}

/* Fallback poster image - shown while video loads */
.video-poster-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 0.5s ease;
}

/* Hide fallback when video is ready */
.video-container video[src],
.video-container video source[src] {
    z-index: 2;
}

.video-container video:not([src]):not(:has(source[src])) ~ .video-poster-fallback,
.video-container:has(video[src]) .video-poster-fallback,
.video-container:has(video source[src]) .video-poster-fallback {
    opacity: 0;
    pointer-events: none;
}

/* Background Video (Hero-style) */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Hide image when video is present and ready */
.hero:has(.video-background[src]),
.hero:has(.video-background source[src]),
.spoke-card:has(.video-background[src]),
.spoke-card:has(.video-background source[src]) {
    .hero-bg:not(.video-background),
    .spoke-card-bg:not(.video-background) {
        opacity: 0;
        transition: opacity 0.5s ease;
    }
}

/* Fallback for browsers that don't support :has() */
.hero .video-background[src] ~ .hero-bg:not(.video-background),
.hero .video-background source[src] ~ .hero-bg:not(.video-background),
.spoke-card .video-background[src] ~ .spoke-card-bg:not(.video-background),
.spoke-card .video-background source[src] ~ .spoke-card-bg:not(.video-background) {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-background-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Featured Video (Click-to-play) */
.video-featured {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--color-bg-card);
}

.video-featured video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

/* Video Poster (Click-to-play overlay) */
.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    z-index: 2;
    transition: opacity var(--transition-base);
}

.video-poster:hover {
    opacity: 0.9;
}

.video-poster::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: transform var(--transition-base), background var(--transition-base);
}

.video-poster:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(212, 175, 55, 1);
}

.video-poster::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-left: 20px solid var(--color-text-dark);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    z-index: 4;
}

/* Gallery Video Item */
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Video Overlay (matching hero overlay) */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.3) 0%,
        rgba(26, 26, 26, 0.5) 50%,
        rgba(26, 26, 26, 0.7) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Video Controls Styling */
.video-featured video::-webkit-media-controls-panel {
    background-color: rgba(26, 26, 26, 0.8);
}

.video-featured video::-webkit-media-controls-play-button {
    background-color: var(--color-gold);
    border-radius: 50%;
}

.video-featured video::-webkit-media-controls-current-time-display,
.video-featured video::-webkit-media-controls-time-remaining-display {
    color: var(--color-text);
}

/* Responsive Video Styles */
@media (max-width: 768px) {
    .video-poster::after {
        width: 60px;
        height: 60px;
    }
    
    .video-poster::before {
        border-left-width: 15px;
        border-top-width: 9px;
        border-bottom-width: 9px;
        transform: translate(-35%, -50%);
    }
    
    .video-background {
        /* On mobile, consider disabling autoplay or using lower quality */
    }
}

/* Video Loading State */
.video-loading {
    position: relative;
    background: var(--color-bg-card);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-top-color: var(--color-gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Aspect Ratio Preservation */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video in Grid Layouts */
.gallery video,
.grid video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Sub-Navigation */
.sub-nav {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1.25rem 0;
    z-index: 90;
    /* Removed sticky positioning as it felt "hanging" and disconnected from content */
}

.sub-nav-list {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-nav-link {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.3s ease;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.sub-nav-link:hover,
.sub-nav-link.active {
    color: var(--color-gold);
    border-bottom-color: var(--color-gold);
}

@media (max-width: 768px) {
    .sub-nav {
        padding: 0;
    }
    
    .sub-nav .container {
        padding: 0;
    }
    
    .sub-nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        /* Remove any horizontal scrolling */
        overflow-x: visible;
        white-space: normal;
    }
    
    .sub-nav-list li {
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }
    
    .sub-nav-list li:last-child {
        border-bottom: none;
    }
    
    /* Accordion structure - hide non-active items by default */
    .sub-nav-list li:not(.sub-nav-item-active) {
        display: none;
    }
    
    /* Show active item and all items when expanded */
    .sub-nav-list li.sub-nav-item-active {
        display: block;
    }
    
    .sub-nav-list.sub-nav-expanded li {
        display: block;
    }
    
    .sub-nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.85rem;
        padding: 1rem var(--space-md);
        width: 100%;
        text-align: left;
        border-bottom: none;
        cursor: pointer;
    }
    
    /* Add chevron icon for accordion toggle on active item */
    .sub-nav-item-active .sub-nav-link::after {
        content: '';
        width: 10px;
        height: 10px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        opacity: 0.7;
        flex-shrink: 0;
        margin-left: 0.5rem;
    }
    
    .sub-nav-list.sub-nav-expanded .sub-nav-item-active .sub-nav-link::after {
        transform: rotate(225deg);
    }
    
    .sub-nav-link.active {
        background: rgba(212, 175, 55, 0.1);
        color: var(--color-gold);
        border-bottom-color: transparent;
    }
    
    .sub-nav-link:hover {
        background: rgba(212, 175, 55, 0.05);
        color: var(--color-gold);
    }
}

/* --------------------------------------------------------------------------
   MW HERO COMPONENT (hero-v2)
   -------------------------------------------------------------------------- */
.mw-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    background-color: var(--color-bg);
    padding: 4rem;
}

/* Media Container */
.mw-hero__media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mw-hero__media img,
.mw-hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    filter: sepia(0.2) contrast(1.1) brightness(0.8);
}

/* Overlay */
.mw-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Content Container */
.mw-hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}

.mw-hero__label {
    font-family: var(--font-support);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    color: var(--color-gold);
    font-weight: 500;
}

.mw-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    font-weight: 400;
}

.mw-hero__title.shimmer-text {
    /* Shimmer effect applied via class */
}

.mw-hero__title span {
    display: block;
    font-size: 0.5em;
    color: var(--color-gold);
    margin-top: 0.5rem;
}

.mw-hero__subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-style: italic;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: var(--color-text);
    opacity: 0.9;
    line-height: 1.5;
}

.mw-hero__cta .btn {
    display: inline-block;
    padding: 1.1rem 2.2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid var(--color-gold);
    background: var(--gold-texture);
    color: var(--charcoal);
    font-weight: 600;
    transition: all 0.4s ease;
}

.mw-hero__cta .btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* PLACEMENT MODIFIERS */
.mw-hero--place-center {
    justify-content: center;
    align-items: center;
}

.mw-hero--place-center .mw-hero__content {
    align-items: center;
    text-align: center;
}

.mw-hero--place-bottom-left {
    justify-content: flex-start;
    align-items: flex-end;
}

.mw-hero--place-bottom-left .mw-hero__content {
    align-items: flex-start;
    text-align: left;
}

.mw-hero--place-bottom-right {
    justify-content: flex-end;
    align-items: flex-end;
}

.mw-hero--place-bottom-right .mw-hero__content {
    align-items: flex-end;
    text-align: right;
}

.mw-hero--place-top-left {
    justify-content: flex-start;
    align-items: flex-start;
}

.mw-hero--place-top-left .mw-hero__content {
    align-items: flex-start;
    text-align: left;
}

.mw-hero--place-top-right {
    justify-content: flex-end;
    align-items: flex-start;
}

.mw-hero--place-top-right .mw-hero__content {
    align-items: flex-end;
    text-align: right;
}

.mw-hero--place-split {
    align-items: stretch;
    justify-content: center;
}

.mw-hero--place-split .mw-hero__content {
    justify-content: space-between;
    height: 100%;
    align-items: center;
    text-align: center;
}

/* Split variant with top/bottom sections */
.mw-hero--place-split .mw-hero__top {
    margin-top: 2rem;
}

.mw-hero--place-split .mw-hero__bottom {
    margin-bottom: 2rem;
}

/* OVERLAY MODIFIERS */
.mw-hero--overlay-bottom .mw-hero__overlay {
    background: linear-gradient(to top, rgba(26, 26, 31, 0.8) 0%, transparent 60%);
}

.mw-hero--overlay-top .mw-hero__overlay {
    background: linear-gradient(to top, rgba(26, 26, 31, 0.8) 0%, transparent 60%);
}

.mw-hero--overlay-left .mw-hero__overlay {
    background: linear-gradient(to top, rgba(26, 26, 31, 0.8) 0%, transparent 60%);
}

.mw-hero--overlay-right .mw-hero__overlay {
    background: linear-gradient(to top, rgba(26, 26, 31, 0.8) 0%, transparent 60%);
}

.mw-hero--overlay-vignette .mw-hero__overlay {
    background: linear-gradient(to top, rgba(26, 26, 31, 0.8) 0%, transparent 60%);
}

.mw-hero--overlay-teal .mw-hero__overlay {
    background: linear-gradient(to top, rgba(26, 26, 31, 0.8) 0%, transparent 60%);
}

/* MEDIA ALIGNMENT MODIFIERS */
.mw-hero--media-top .mw-hero__media img {
    object-position: top center;
}

.mw-hero--media-bottom .mw-hero__media img {
    object-position: bottom center;
}

.mw-hero--media-left .mw-hero__media img {
    object-position: center left;
}

.mw-hero--media-right .mw-hero__media img {
    object-position: center right;
}

/* MOBILE BEHAVIOR */
.mw-hero--mobile-bottom .mw-hero__content {
    justify-content: flex-end;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .mw-hero {
        padding: 2rem;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .mw-hero__content {
        align-items: center !important;
        text-align: center !important;
    }
    
    .mw-hero__title {
        font-size: 2.5rem;
    }
    
    .mw-hero__subtitle {
        max-width: 100%;
    }
}

/* --------------------------------------------------------------------------
   YOUTUBE EMBED COMPONENT
   -------------------------------------------------------------------------- */
.youtube-embed-container {
    width: 100%;
    margin: 0 auto;
}

.youtube-embed-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--color-bg-card);
}

.youtube-embed-container.ratio-16x9 .youtube-embed-wrapper {
    aspect-ratio: 16/9;
}

.youtube-embed-container.ratio-9x16 .youtube-embed-wrapper {
    aspect-ratio: 9/16;
    max-width: 450px;
    margin: 0 auto;
}

.youtube-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transform: none !important; /* Prevent any rotation transforms */
}

.youtube-caption {
    margin-top: var(--space-sm);
    text-align: center;
    font-size: 0.9rem;
    font-style: italic;
    color: var(--color-text-muted);
}

/* Mobile: Set portrait YouTube embeds to 1 viewport height */
@media (max-width: 768px) {
    .youtube-embed-container.ratio-9x16 {
        height: 100vh;
        height: 100dvh; /* Use dynamic viewport height for better mobile support */
    }
    
    .youtube-embed-container.ratio-9x16 .youtube-embed-wrapper {
        height: 100%;
        aspect-ratio: unset; /* Let video maintain natural aspect ratio to prevent rotation */
        max-width: 100%;
        width: 100%;
    }
    
    .youtube-embed-container.ratio-9x16 .youtube-embed-wrapper iframe {
        /* Iframe will maintain natural aspect ratio - YouTube handles the video display */
    }
}

/* --------------------------------------------------------------------------
   CONTENT BLOCK / MEDIA BLOCK COMPONENT
   -------------------------------------------------------------------------- */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.content-block__text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.content-block__text h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--color-gold);
    margin: 0;
    letter-spacing: 0.05em;
}

.content-block__text p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0;
    opacity: 0.9;
}

.content-block__cta {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    text-align: center;
}

/* Hide empty CTA containers as fallback */
.content-block__cta:empty,
.content-block__cta:not(:has(.btn)) {
    display: none;
}

.content-block__cta .btn {
    display: inline-block;
    padding: 1.1rem 2.2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    text-decoration: none;
    border: 1px solid var(--color-gold);
    background: var(--gold-texture);
    color: var(--charcoal);
    font-weight: 600;
    transition: all 0.4s ease;
}

.content-block__cta .btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.content-block__media {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 100%;
}

.content-block__media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    filter: sepia(0.2) contrast(1.1) brightness(0.8);
    transition: filter 0.5s ease;
}

.content-block__media:hover > img {
    filter: sepia(0) contrast(1.2) brightness(0.9);
}

/* Image Gallery */
.image-gallery {
    display: grid;
    gap: 0.5rem;
    height: 100%;
    width: 100%;
}

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

/* Ensure gallery images are visible and properly sized */
.image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: calc(var(--border-radius) * 0.5);
    filter: sepia(0.2) contrast(1.1) brightness(0.8);
    transition: filter 0.5s ease, transform 0.3s ease;
    display: block;
}

.image-gallery img:hover {
    filter: sepia(0) contrast(1.2) brightness(0.9);
    transform: scale(1.02);
    z-index: 1;
    position: relative;
}

/* Hide empty galleries */
.image-gallery:empty {
    display: none;
}

.content-block--reverse .content-block__text {
    order: 2;
}

.content-block--reverse .content-block__media {
    order: 1;
}

@media (max-width: 768px) {
    .content-block {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .content-block--reverse .content-block__text {
        order: 1;
    }
    
    .content-block--reverse .content-block__media {
        order: 2;
    }
}
