/*
Theme Name: The Longevity Lounge
Theme URI: https://thelongevitylounge.com
Author: The Longevity Lounge
Author URI: https://thelongevitylounge.com
Description: A luxury longevity and wellness website theme for The Longevity Lounge at Four Seasons Hotel Kuala Lumpur. Where science meets luxury.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: longevity-lounge
Tags: wellness, luxury, longevity, spa, health, custom-menu, featured-images, theme-options
*/

/* ============================================
   CSS VARIABLES & ROOT STYLES
   ============================================ */
:root {
    /* Brand Colors - Luxury Palette */
    --color-gold: #996D3E;
    --color-gold-light: #B8956E;
    --color-gold-dark: #7A5730;
    --color-black: #1A1A1A;
    --color-white: #FFFFFF;
    --color-cream: #FAF8F5;
    --color-grey-light: #F5F5F5;
    --color-grey: #6B6B6B;
    --color-grey-dark: #4A4A4A;
    --color-text: #2D2D2D;

    /* Typography */
    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Montserrat', 'Helvetica Neue', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Container */
    --container-width: 1400px;
    --container-padding: 2rem;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.02em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 0.01em;
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

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

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.875rem;
}

/* ============================================
   LAYOUT & CONTAINERS
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

.container-wide {
    max-width: 1600px;
}

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

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

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-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);
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.flex-column {
    flex-direction: column;
}

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

.justify-center {
    justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    border: 2px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(197, 165, 114, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    box-shadow: 0 6px 20px rgba(197, 165, 114, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(197, 165, 114, 0.3);
    transform: translateY(-2px);
}

.btn-white {
    background-color: rgba(255, 255, 255, 0.95);
    color: #1A1A1A;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.btn-white:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
    box-shadow: 0 6px 25px rgba(197, 165, 114, 0.5);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: #1A1A1A;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 0.9375rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #FFFFFF;
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.site-header.scrolled {
    background-color: #FFFFFF;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.site-logo {
    z-index: 1001;
}

.site-logo img {
    height: 55px;
    width: auto;
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .site-logo img {
        height: 45px;
    }
}

@media (max-width: 480px) {
    .site-logo img {
        height: 38px;
    }
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
    position: absolute;
    right: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-gold-light);
    transition: var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Slide-in Navigation Panel */
.nav-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 999;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    overflow-y: auto;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
}

.nav-overlay.active {
    transform: translateX(0);
    visibility: visible;
}

/* Dark overlay behind menu */
.nav-overlay::before {
    content: '';
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.nav-overlay.active::before {
    opacity: 1;
}

.nav-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 100px 40px 40px;
}

.nav-menu {
    flex: 1;
}

.nav-menu > ul {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-menu > ul > li {
    border-bottom: 1px solid rgba(153, 109, 62, 0.12);
}

.nav-menu > ul > li:last-child {
    border-bottom: none;
}

.nav-menu > ul > li > a {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-menu > ul > li.has-submenu > a::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.nav-menu > ul > li.has-submenu.submenu-open > a::after {
    content: '−';
}

.nav-menu > ul > li > a:hover {
    color: var(--color-gold);
}

/* Submenu */
.nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background-color: rgba(250, 248, 245, 0.5);
    margin: 0 -40px;
    padding: 0 40px;
}

.nav-submenu.active {
    max-height: 400px;
}

.nav-submenu li a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--color-grey-dark);
    padding: 0.6rem 0;
    padding-left: 1rem;
    display: block;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
    position: relative;
}

.nav-submenu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-gold-light);
    transition: all 0.2s ease;
}

.nav-submenu li a:hover {
    color: var(--color-gold);
    padding-left: 1.25rem;
}

.nav-submenu li a:hover::before {
    background-color: var(--color-gold);
}

/* Nav Contact Section */
.nav-contact {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(153, 109, 62, 0.12);
}

.nav-contact-info {
    margin-bottom: 1.5rem;
}

.nav-contact-info h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-gold-dark);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-contact-info p {
    font-size: 0.875rem;
    color: var(--color-grey-dark);
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.nav-contact-info a {
    color: var(--color-gold);
    transition: color 0.2s ease;
}

.nav-contact-info a:hover {
    color: var(--color-gold-dark);
}

.nav-contact .btn {
    width: 100%;
    text-align: center;
    background-color: var(--color-gold-dark);
    color: var(--color-white);
    border: none;
    padding: 1rem 2rem;
}

.nav-contact .btn:hover {
    background-color: var(--color-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: 0 var(--spacing-md);
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    color: #FFFFFF;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.02em;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-style: italic;
    margin-bottom: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.hero-logo {
    width: 80px;
    height: auto;
    margin: 0 auto var(--spacing-md);
}

.hero-logo-main {
    max-width: 750px;
    width: 85vw;
    margin: 0 auto;
}

.hero-logo-main img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@media (min-width: 1200px) {
    .hero-logo-main {
        max-width: 850px;
    }
}

@media (max-width: 768px) {
    .hero-logo-main {
        max-width: 500px;
        width: 90vw;
    }
}

@media (max-width: 480px) {
    .hero-logo-main {
        max-width: 340px;
        width: 92vw;
    }
}

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

/* ============================================
   THE CURATED SERIES SECTION
   ============================================ */
.curated-series {
    background-color: var(--color-cream);
    padding: var(--spacing-lg) 0;
}

.curated-series .section-header {
    margin-bottom: var(--spacing-md);
}

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

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
    letter-spacing: 0.03em;
}

.section-description {
    max-width: 750px;
    margin: 0 auto;
    color: var(--color-text);
    font-size: 1.125rem;
    line-height: 1.8;
}

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

/* Curated Series: auto-fit grid, taller cards, centered */
.curated-series .service-cards {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
}

.service-card {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 0;
}

.curated-series .service-card {
    height: 580px;
}

.curated-series .service-card-content {
    transform: translateY(0);
}

.curated-series .service-card-title {
    font-size: 2rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.curated-series .service-card-desc {
    font-size: 1.0625rem;
    opacity: 1;
    margin-bottom: 1.25rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.curated-series .service-card-link {
    opacity: 1;
    transform: translateY(0);
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.service-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
    transition: var(--transition-normal);
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(to top, rgba(197,165,114,0.9) 0%, rgba(197,165,114,0.6) 100%);
}

.service-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    color: var(--color-white);
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.service-card:hover .service-card-content {
    transform: translateY(0);
}

.service-card-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.service-card-desc {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-sm);
}

.service-card-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.service-card:hover .service-card-link {
    opacity: 1;
    transform: translateY(0);
}

.service-card-link:hover {
    background-color: var(--color-white);
    color: var(--color-gold);
}

/* ============================================
   PARALLAX SECTION (IMMERSION COLLECTION)
   ============================================ */
.parallax-section {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 200%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 700px;
    padding: 0 var(--spacing-md);
}

.parallax-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    white-space: nowrap;
}

.parallax-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    opacity: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.parallax-description {
    font-size: 1.1875rem;
    margin-bottom: var(--spacing-lg);
    opacity: 1;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ============================================
   THE ESSENTIAL SERIES SECTION
   ============================================ */
.essential-series {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-white);
}

.essential-series .section-title {
    color: var(--color-black);
}

.essential-series .section-description {
    color: var(--color-text);
}

/* Carousel */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 1rem;
    transition: transform 0.5s ease;
    padding: var(--spacing-sm) 0;
}

.carousel-item {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: 280px;
    display: flex;
}

.program-card {
    position: relative;
    height: 420px;
    overflow: hidden;
    width: 100%;
}

.program-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.program-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover .program-card-image img {
    transform: scale(1.05);
}

.program-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.1) 100%);
    transition: var(--transition-normal);
}

.program-card:hover .program-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.15) 100%);
}

.program-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--color-white);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.program-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 900;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.program-card-subtitle {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 3px 12px rgba(0, 0, 0, 0.4);
}

.program-card-btn {
    display: inline-block;
    padding: 0.6rem 1.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(8px);
}

.program-card:hover .program-card-btn {
    opacity: 1;
    transform: translateY(0);
}

.program-card-btn:hover {
    background-color: var(--color-white);
    color: var(--color-gold);
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.carousel-btn:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   BESPOKE CURATIONS SECTION
   ============================================ */
.bespoke-curations {
    position: relative;
    padding: 0;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bespoke-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.65) 100%);
}

.bespoke-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem 2rem 6rem;
}

.bespoke-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 500;
    color: var(--color-white);
    text-transform: none;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bespoke-subtitle {
    font-family: var(--font-accent);
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 3px 12px rgba(0, 0, 0, 0.35);
}

.bespoke-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.bespoke-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.85);
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--color-white);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-normal);
    backdrop-filter: blur(6px);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.bespoke-btn:hover {
    background-color: var(--color-white);
    color: var(--color-gold);
    border-color: var(--color-white);
    text-shadow: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #1A1A1A;
    color: var(--color-white);
    position: relative;
}

.footer-top-border {
    height: 4px;
    background: linear-gradient(90deg, #8B7355 0%, #D4B896 50%, #8B7355 100%);
}

.footer-logo-section {
    text-align: center;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 80px;
    width: auto;
    margin: 0 auto var(--spacing-md);
    display: block;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-style: italic;
    color: #D4B896;
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.footer-decorative-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4B896, transparent);
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    margin-bottom: var(--spacing-md);
    color: #D4B896;
    font-weight: 600;
    font-family: var(--font-body);
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-gold-light);
    margin-bottom: 0.5rem;
    letter-spacing: 0.03em;
}

.footer-address {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

.footer-contact-link {
    margin-bottom: 0.5rem;
}

.footer-contact-link a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-normal);
}

.footer-contact-link a:hover {
    color: #D4B896;
}

.footer-hours {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 0.25rem;
}

.footer-column-cta {
    text-align: center;
}

.btn-footer {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    border: 1px solid #D4B896;
    color: #D4B896;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: var(--transition-normal);
    margin-bottom: var(--spacing-md);
}

.btn-footer:hover {
    background-color: #D4B896;
    color: #1A1A1A;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
}

.footer-social-links a:hover {
    border-color: #D4B896;
    color: #D4B896;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-credit {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-credit a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition-normal);
}

.footer-credit a:hover {
    color: #D4B896;
}

/* Footer Nav List */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-nav a:hover {
    color: #D4B896;
}

/* Footer Structured Nav */
.footer-nav--structured {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 80%;
}

.footer-nav-parent {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav-parent:last-child {
    border-bottom: none;
}

.footer-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.footer-nav-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
}

.footer-nav-toggle:hover .footer-nav-heading {
    color: #D4B896;
}

.footer-nav-arrow {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.4);
    transform: rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.footer-nav-parent.open .footer-nav-arrow {
    transform: rotate(-135deg);
    border-color: #D4B896;
}

.footer-nav-toggle:hover .footer-nav-arrow {
    border-color: #D4B896;
}

.footer-nav-sub {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.footer-nav-parent.open .footer-nav-sub {
    max-height: 300px;
    padding-bottom: 0.75rem;
}

.footer-nav-sub li {
    margin-bottom: 0;
}

.footer-nav-sub a {
    display: block;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease, padding-left 0.2s ease;
    padding: 0.3rem 0 0.3rem 1rem;
    position: relative;
}

.footer-nav-sub a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.25);
    transition: all 0.2s ease;
}

.footer-nav-sub a:hover {
    color: #D4B896;
    padding-left: 1.25rem;
}

.footer-nav-sub a:hover::before {
    background-color: #D4B896;
    width: 6px;
}

/* Footer Hours Table */
.footer-hours-table {
    width: 100%;
    border-collapse: collapse;
}

.footer-hours-table td {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.4rem 0;
}

.footer-hours-table td:first-child {
    padding-right: 1.5rem;
    white-space: nowrap;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition-normal);
}

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

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

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

    .footer-column-cta {
        margin-top: var(--spacing-md);
    }

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

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

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

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   OUR PHILOSOPHY SECTION
   ============================================ */
.philosophy {
    padding: 6rem 0;
    background-color: #F8F5F1;
}

.philosophy-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-label {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.75rem;
}

.philosophy-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.philosophy-divider {
    width: 60px;
    height: 1px;
    background-color: var(--color-gold);
    margin: 0 auto 2rem;
}

.philosophy-text {
    font-size: 1.0625rem;
    color: var(--color-text);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.philosophy-closing {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 600;
    color: var(--color-gold-dark);
    letter-spacing: 0.02em;
}

/* Philosophy animations */
.philosophy [data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.philosophy [data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

.philosophy [data-animate]:nth-child(1) { transition-delay: 0s; }
.philosophy [data-animate]:nth-child(2) { transition-delay: 0.15s; }
.philosophy [data-animate]:nth-child(3) { transition-delay: 0.3s; }
.philosophy [data-animate]:nth-child(4) { transition-delay: 0.45s; }
.philosophy [data-animate]:nth-child(5) { transition-delay: 0.6s; }

@media (max-width: 768px) {
    .philosophy {
        padding: 4rem 0;
    }

    .philosophy-text {
        font-size: 1rem;
    }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(200, 170, 80, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(200, 170, 80, 0.6);
}

.whatsapp-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--color-white);
}

/* ============================================
   PAGE TEMPLATES
   ============================================ */
/* Page Hero */
.page-hero {
    position: relative;
    height: 70vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-hero-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.page-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--color-white);
    max-width: 90%;
    padding: 0 var(--spacing-md);
}

.page-hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.35),
        0 8px 40px rgba(0, 0, 0, 0.2);
}

.page-hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: normal;
    font-weight: 400;
    opacity: 1;
    color: var(--color-white);
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.6),
        0 4px 12px rgba(0, 0, 0, 0.35),
        0 8px 30px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.05em;
}

/* Control gap between intro text and first content section */
.page-hero + .section {
    padding-bottom: var(--spacing-md);
}

.page-hero + .section + .section,
.page-hero + .section + .service-detail {
    padding-top: var(--spacing-md);
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion {
    border-top: 1px solid var(--color-grey-light);
}

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

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    cursor: pointer;
    transition: var(--transition-normal);
}

.accordion-header:hover {
    color: var(--color-gold);
}

.accordion-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    transition: var(--transition-normal);
}

.accordion-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.accordion-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.accordion-item.active .accordion-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-content-inner {
    padding-bottom: var(--spacing-md);
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

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

.team-card-image {
    position: relative;
    width: 100%;
    padding-bottom: 120%;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.team-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.team-card-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

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

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-grey-light);
    background-color: var(--color-white);
    transition: var(--transition-normal);
}

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

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

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .service-cards:not(.curated-series .service-cards) {
        grid-template-columns: repeat(2, 1fr);
    }

    .bespoke-buttons {
        gap: 0.75rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .carousel-item {
        flex: 0 0 calc(50% - var(--spacing-md));
    }
}

@media (max-width: 480px) {
    .nav-overlay {
        width: 100%;
        max-width: 100%;
    }

    .nav-content {
        padding: 80px 24px 24px;
    }

    .nav-menu > ul > li > a {
        font-size: 1.2rem;
    }

    .nav-submenu {
        margin: 0 -24px;
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 2rem;
    }

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

    .hero {
        height: 100vh;
        min-height: 500px;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .service-card {
        height: 350px;
    }

    .curated-series .service-card {
        height: 450px;
    }

    .bespoke-title {
        font-size: 2.25rem;
    }

    .bespoke-buttons {
        flex-direction: column;
        align-items: center;
    }

    .carousel-item {
        flex: 0 0 calc(100% - var(--spacing-sm));
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .parallax-bg {
        background-attachment: scroll;
    }

    .parallax-title {
        white-space: normal;
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .page-hero {
        height: 55vh;
        min-height: 250px;
    }

    .page-hero-title {
        font-size: clamp(2rem, 7vw, 3rem);
        white-space: normal;
    }

    .page-hero-subtitle {
        font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-hours-table {
        margin: 0 auto;
        width: auto;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1.5rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.75rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .nav-menu > ul > li > a {
        font-size: 1.5rem;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

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

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

.animate-flyInUp {
    animation: flyInUp 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease forwards;
}

/* Stagger animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* Initially hidden for animation */
[data-animate] {
    opacity: 0;
}

[data-animate].animated {
    opacity: 1;
}

/* Intro section fills remaining viewport */
.page-template-template-meet-the-team .page-hero + .section,
.page-template-template-origins .page-hero + .section,
.page-template-template-precision .page-hero + .section {
    min-height: 30vh;
    display: flex;
    align-items: center;
}

/* ============================================
   TEAM MEMBER PAGE STYLES
   ============================================ */
.team-member-section {
    background-color: var(--color-white);
    padding: 5rem 0;
}

.team-member-section--alt {
    background-color: var(--color-cream);
}

.team-member-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.team-member-grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.team-member-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.team-member-content {
    padding: 1rem 0;
}

.team-member-name {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--color-black);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.team-member-title {
    font-size: 0.875rem;
    color: var(--color-gold);
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.team-member-bio {
    margin-bottom: 0;
}

/* Team reveal animation: children hidden until parent is triggered */
.team-member-grid[data-animate="teamReveal"] .team-member-image,
.team-member-grid[data-animate="teamReveal"] .team-member-name,
.team-member-grid[data-animate="teamReveal"] .team-member-title,
.team-member-grid[data-animate="teamReveal"] .team-member-bio {
    opacity: 0;
    transform: translateY(150px);
}

.team-member-grid[data-animate="teamReveal"].animated .team-member-image {
    animation: flyInUp 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0s;
}

.team-member-grid[data-animate="teamReveal"].animated .team-member-bio {
    animation: flyInUp 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0.3s;
}

.team-member-grid[data-animate="teamReveal"].animated .team-member-name {
    animation: flyInUp 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0.6s;
}

.team-member-grid[data-animate="teamReveal"].animated .team-member-title {
    animation: flyInUp 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0.8s;
}

/* Override: don't hide the grid itself, only children */
.team-member-grid[data-animate="teamReveal"] {
    opacity: 1;
}

/* Service reveal animation: image first, then text elements sequentially */
.service-detail-grid[data-animate="serviceReveal"] {
    opacity: 1;
}

.service-detail-grid[data-animate="serviceReveal"] .service-detail-image,
.service-detail-grid[data-animate="serviceReveal"] .section-subtitle,
.service-detail-grid[data-animate="serviceReveal"] .section-title,
.service-detail-grid[data-animate="serviceReveal"] .service-detail-content > p,
.service-detail-grid[data-animate="serviceReveal"] .service-meta,
.service-detail-grid[data-animate="serviceReveal"] .service-includes,
.service-detail-grid[data-animate="serviceReveal"] .service-detail-content > .btn {
    opacity: 0;
    transform: translateY(40px);
}

.service-detail-grid[data-animate="serviceReveal"].animated .service-detail-image {
    animation: flyInUp 1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0s;
}

.service-detail-grid[data-animate="serviceReveal"].animated .section-subtitle {
    animation: flyInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0.3s;
}

.service-detail-grid[data-animate="serviceReveal"].animated .section-title {
    animation: flyInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0.5s;
}

.service-detail-grid[data-animate="serviceReveal"].animated .service-detail-content > p {
    animation: flyInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0.7s;
}

.service-detail-grid[data-animate="serviceReveal"].animated .service-meta {
    animation: flyInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 0.9s;
}

.service-detail-grid[data-animate="serviceReveal"].animated .service-includes {
    animation: flyInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 1.1s;
}

.service-detail-grid[data-animate="serviceReveal"].animated .service-detail-content > .btn {
    animation: flyInUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 1.3s;
}

.team-member-bio p {
    margin-bottom: 1.25rem;
    color: var(--color-grey-dark);
    line-height: 1.9;
    font-size: 1rem;
    text-align: justify;
}

/* Team Grid on About Page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

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

.team-card-image {
    width: 200px;
    height: 200px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--color-gold-light);
}

.team-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 0.25rem;
}

.team-card-role {
    font-size: 0.875rem;
    color: var(--color-gold);
    font-weight: 500;
    margin-bottom: var(--spacing-sm);
}

.team-card-details {
    text-align: left;
    font-size: 0.875rem;
}

.team-card-details ul {
    margin-top: 0.5rem;
}

.team-card-details li {
    color: var(--color-grey-dark);
    padding-left: 1rem;
    position: relative;
}

.team-card-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-gold);
}

/* Responsive Team Styles */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .team-member-section {
        padding: 3rem 0;
    }

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

    .team-member-image img {
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }

    .team-member-name {
        font-size: 2rem;
    }
}

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

    .team-card-image {
        width: 180px;
        height: 180px;
    }

    .team-member-name {
        font-size: 1.75rem;
    }
}

/* New Header */
.border {
	border: 1px solid red;
}
header.new-header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10;
	padding: 15px 0;
}
header.new-header .container {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	align-content: stretch;
}
header.new-header .site-logo {
    display: block;
    position: relative;
}
header.new-header .site-logo img {
    height: 80px;
}
.new-header-menu > ul {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: center;
	align-content: stretch;
}
.new-header-menu > ul > li {
	display: block;
    position: relative;
	margin-left: 30px;
}
.new-header-menu > ul > li > a {
    position: relative;
    display: block;
    font-size: 0.9em;    
    letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
}
header.new-header.sticky {
	background-color: #1a1a1a;
    -webkit-box-shadow: 0px 0px 24px 0px rgba(66, 68, 90, 0.36);
    -moz-box-shadow: 0px 0px 24px 0px rgba(66, 68, 90, 0.36);
    box-shadow: 0px 0px 24px 0px rgba(66, 68, 90, 0.36);
}
header.new-header.sticky .site-logo img {
	height: 65px;
    /*opacity: 0;*/
}
header.new-header .site-logo img.logo-sticky {
    opacity: 0;
    position: absolute;
    left: 0;
    top: 0;
}
header.new-header.sticky .site-logo img.logo-sticky {
    /*opacity: 1;*/
}
header.new-header.sticky .new-header-menu > ul > li > a {
	color: #ffffff;
}
.new-header-menu > ul .nav-submenu {
    display: block;
	visibility: visible;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 8;
    max-height: none;
    overflow: auto;
    margin: 20px 0 0;
    padding: 0;
    min-width: 250px;
    background-color: #D4B896;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.new-header-menu > ul .nav-submenu > li > a:before {
    content: '';
    display: none;
}
.new-header-menu > ul > li:hover > .nav-submenu {
    pointer-events: auto;
    opacity: 1;
    margin: 0;
}
.new-header-menu > ul > li.has-submenu > a {
    padding-right: 15px;
}
.new-header-menu > ul > li.has-submenu > a:after {
    content: '';
    display: block;
    width: 7.5px;
    height: 7.5px;
    background: url('//thelongevity-lounge.com/wp-content/uploads/2026/03/icon-arrow-down-light.svg') center center no-repeat;
    background-size: contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
header.new-header.sticky .new-header-menu > ul > li.has-submenu > a:after {
    background: url('//thelongevity-lounge.com/wp-content/uploads/2026/03/icon-arrow-down-gold.svg') center center no-repeat;
    background-size: contain;
}
header.new-header .hamburger { display: none; }
.hamburger span { background-color: #fff; }
body.menu-open .hamburger span { background-color: var(--color-gold-light); }
@media (max-width: 1023px) {
    header.new-header .site-logo img { height: 65px; }
    header.new-header.sticky .site-logo img { height: 55px; }
    .new-header-menu { display: none; }
    header.new-header .hamburger { display: flex; position: relative; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
    .new-header-menu > ul > li { margin-left: 20px; }
    .new-header-menu > ul > li > a, 
    .new-header-menu .nav-submenu a { 
        font-size: 0.75em;
    }
    .new-header-menu > ul .nav-submenu { min-width: auto; }
    .new-header-menu .nav-submenu a { padding: 7.5px 15px; }
    .new-header-menu .nav-submenu a:hover { padding-left: 15px; }
}
/* Custom */
body.menu-open .new-header .site-logo {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.hero-media {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}
.hero-content {
    max-width: 1000px;
}
.hero-logo-main img {
    width: auto;
    max-width: 100%;
}
.hero-overlay-headline {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 300;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
#section-immersion-collection {
	height: auto;
	padding-top: 200px;
	padding-bottom: 200px;
}
#section-immersion-collection .parallax-overlay {
    background: rgba(0, 0, 0, 0.6);
}
.our-philosophy-parallax {
	height: auto;
	padding-top: 200px;
	padding-bottom: 200px;
}
.our-philosophy-parallax .parallax-content {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	text-align: left;
}
.our-philosophy-parallax .parallax-content .parallax-wrapper {
	width: 850px;
	max-width: 100%;
}
.our-philosophy-parallax .parallax-overlay {
    background: rgba(0, 0, 0, 0.25);
}
.our-philosophy-parallax  .philosophy-closing {
    font-size: 1.75rem;
    color: #fff;
}
.bespoke-curations {
    position: relative;
    padding: 100px 0;
    min-height: none;
}
.bespoke-overlay {
    background: rgba(0, 0, 0, 0.35);
}
.bespoke-subtitle {
    font-size: 1.5rem
}
.bespoke-curations .container {
    /*width: 1200px;*/
    /*max-width: 100%;*/
}
.bespoke-curations .carousel-item {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: 280px;
    display: flex;
}
.bespoke-curations .carousel-nav {
    display: none;
}
.bespoke-curations .carousel-btn {
    background-color: rgba(255,255,255,0.5)
}
.bespoke-curations .program-card {
    height: 550px;
}
.bespoke-curations .program-card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: stretch;
    gap: 20px;
}
.bespoke-curations .program-card-content .bespoke-content-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: stretch;
    align-content: stretch;
    gap: 10px;
}
.bespoke-curations .program-card-content .bespoke_label {
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 0.3rem;
    letter-spacing: 0.25em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 4px 16px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    color: var(--color-white);
}
.footer-nav {
	margin: 0;
}
.page-hero {
    height: 70vh;
    min-height: 500px;
	padding-top: 100px;
}

@media (max-width: 767px) {
	.hero-media { background-attachment: scroll; }
    .carousel-item,
    .bespoke-curations .carousel-item {
        flex: 0 0 calc(100%);
    }
    .bespoke-curations .carousel-nav {
        display: flex;
    }
	.our-philosophy-parallax,
	.bespoke-curations {
		padding: var(--spacing-lg) 0;
	}
	.bespoke-inner {
		padding: 1.5rem 2rem;
	}
	.carousel { gap: 0px; }
}

@media (min-width: 768px) and (max-width: 992px) {
    .bespoke-curations .carousel-item {
        flex: 0 0 calc(50%);
    }
    .bespoke-curations .carousel-nav {
        display: flex;
    }
	.our-philosophy-parallax,
	.bespoke-curations {
		padding: var(--spacing-lg) 0;
	}
	.bespoke-inner {
		padding: 1.5rem 2rem;
	}
}