html { scroll-behavior: smooth; }

a.btn { text-decoration: none; }
a.btn-outline, a.btn-outline:link, a.btn-outline:visited { color: #1a1a1a !important; }
a.btn-filled, a.btn-filled:link, a.btn-filled:visited { color: #ffffff !important; }

/* --- GLOBAL FUNCTIONALITY (Always Load) --- */

/* This is what makes the text disappear from the bottom of your screen */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    display: flex;
    justify-content: center;
    visibility: hidden; /* CRITICAL: Hides the menu by default */
    opacity: 0;
    transition: all 0.4s ease;
}

/* This only shows the menu when JavaScript triggers it */
.menu-overlay.open { 
    visibility: visible; 
    opacity: 1; 
}

.menu-content {
    background-color: #fff;
    width: 100%;
    max-width: 500px;
    padding: 0; /* Remove padding here */
    border-radius: 0 0 40px 40px;
    overflow: hidden; /* Clips the wave to the rounded corners */
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: 90vh;
}

.menu-top-section {
    padding: 40px 30px 20px 30px;
}

.menu-overlay.open .menu-content { 
    transform: translateY(0); 
}









/* Hide desktop nav on mobile */
.desktop-nav { display: none; }

/* Story popup and video modal hidden by default on all screen sizes */
#storyPopup { display: none; }
#videoModal { display: none; }

/* Footer green globally */
.footer-wrapper {
    background-color: #3A4D44;
    color: #ffffff;
}

/* Desktop footer row hidden on mobile */
.footer-desktop-row { display: none; }
.footer-mobile-logo { display: block; }

/* Services footer buttons — global */
.services-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.link-rates {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #000;
    border-radius: 30px;
    padding: 14px 28px;
    background: #ffffff;
    cursor: pointer;
}

/* ===== SERVICE FLIP CARDS (global) ===== */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.service-card {
    perspective: 1000px;
    cursor: pointer;
    height: 260px;
}

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

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 24px;
    text-align: center;
}

.service-card-front {
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.service-card-icon {
    width: 72px;
    height: 72px;
    background-color: #c9d6b8;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.service-card-icon img {
    width: 50%;
    height: auto;
}

.service-card-front h3 {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.service-card-back {
    background-color: #3A4D44;
    color: #ffffff;
    transform: rotateY(180deg);
    gap: 20px;
}

.service-card-back h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.service-card-back p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.92;
}

/* Arrow hidden on desktop, shown on mobile */
.service-card-arrow {
    display: none;
}

.service-card-cta {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.75;
    letter-spacing: 0.3px;
}

/* ===== SERVICE DRAWER (desktop) ===== */
.service-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99998;
}

.service-drawer.open {
    display: block;
}

.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.service-drawer.open .drawer-overlay {
    opacity: 1;
}

.drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    height: 100%;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.service-drawer.open .drawer-panel {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 36px 24px;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
}

.drawer-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    margin: 0;
}

.drawer-close {
    background: #f2f2f2;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.drawer-close:hover { background: #e5e5e5; }

.drawer-body {
    padding: 32px 36px 48px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    flex: 1;
}

.drawer-description {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

.drawer-pills-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3A4D44;
    margin: 0 0 12px 0;
}

.drawer-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-pill {
    background-color: #C5D3B8;
    color: #3A4D44;
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 600;
}

.drawer-insurance-section h3 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #3A4D44;
    margin: 0 0 16px 0;
}

.drawer-insurance-logos {
    display: flex;
    align-items: center;
    gap: 24px;
}

.drawer-insurance-logos img:first-child { width: 140px; height: auto; }
.drawer-insurance-logos img:last-child  { width: 110px; height: auto; }

.drawer-fee-section {
    background: #f8f9f8;
    border-radius: 16px;
    padding: 20px 24px;
}

.drawer-fee-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin: 0 0 4px 0;
}

.drawer-fee-amount {
    font-size: 26px;
    font-weight: 800;
    color: #3A4D44;
    margin: 0;
}

.drawer-note {
    font-size: 12px;
    color: #999;
    margin: 0;
    line-height: 1.5;
}

.drawer-cta {
    background-color: #3A4D44;
    color: #ffffff;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease;
}

.drawer-cta:hover { background-color: #2e3d36; }

.drawer-back {
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: #3A4D44;
    cursor: pointer;
    padding: 0;
    margin-right: auto;
}

.drawer-back:hover { opacity: 0.7; }

.drawer-selection-label {
    font-size: 16px;
    color: #555;
    margin: 0;
}

.drawer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.drawer-option-btn {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 20px 24px;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    text-align: left;
}

.drawer-option-btn:hover {
    background: #f4f6f2;
    border-color: #3A4D44;
}

/* Coaching disclaimer note on story slide */
.coaching-disclaimer {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    text-align: center;
    padding: 0 10px;
}

/* ===== FAQ HEADER (global — keeps question and arrow on same line) ===== */
.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* ===== FAQ ACCORDION (global — works on all screen sizes) ===== */
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    overflow: hidden;
}

.faq-card.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-answer-content {
    min-height: 0;
    padding: 0 10px 15px 10px;
}

.faq-card.active .chevron {
    display: inline-block;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* hero-content is transparent on mobile — children style themselves */
.hero-content { display: contents; }

/* Mobile-only architecture */
@media only screen and (max-width: 768px) {
    :root {
        --dark-green: #3A4D44;
        --light-sage: #d6ded1;
        --bg-white: #ffffff;
        --text-black: #1a1a1a;
        --text-grey: #666666;
    }

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

    body {
        font-family: 'Inter', sans-serif;
        color: var(--text-black);
        background-color: #f9f9f9;
        line-height: 1.4;
        
    }

        /* The full-screen dark background */


    /* The actual white menu card */


    .menu-overlay.open { visibility: visible; opacity: 1; }
    .menu-overlay.open .menu-content { transform: translateY(0); }

    /* When the "open" class is added */
  


    .menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    }

    .menu-wave-container {
    position: relative;
    background-color: #3A4D44; /* Match your dark green */
    margin-top: 40px; /* Space between links and wave */
    }

    .menu-wave-svg {
    position: absolute;
    top: -80px; /* Pulls the wave shape up into the white area */
    left: 0;
    width: 100%;
    height: 100px;
    }

    .menu-logo { height: 40px; }
    .close-btn { font-size: 24px; cursor: pointer; font-family: sans-serif; }

    /* Links Styling */
    .menu-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 38px; /* Large bold text */
    font-weight: 700;
    color: #000;
    text-decoration: none;
    margin-bottom: 25px;
    text-decoration: none;
    }

    .chevron-right { font-weight: 300; font-size: 30px; }

    /* Footer Links & Contact */
    .menu-footer { margin-top: 40px; border-top: 1px solid #eee; padding-top: 30px; }
    .secondary-links a {
    display: block;
    color: #E2FFE1;
    text-decoration: none;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    }

    .menu-footer-content {
    position: relative;
    z-index: 2;
    padding: 20px 30px 40px 30px;
    color: #E2FFE1; /* White text for the dark background */
    height: 50vh;
    }

    .contact-info {
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    }
    /* ... add more link/contact styling here ... */

    /* Header */
    /* The Header container handles the positioning */
    /* --- FIXED HEADER ARCHITECTURE --- */
    /* --- CLEANED HEADER & LOGO --- */
    .header {
    width: 100%;
    padding: 30px 20px; /* Increased padding to give logo breathing room */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    position: relative;
    z-index: 100; /* Stays above hero */
    overflow: visible !important;
    }

    .logo-container {
    max-width: 220px; /* Increased to prevent word-wrapping */
    text-align: left;
    overflow: visible !important;
    }

    .logo {
    font-family: 'Playfair Display', serif;
    font-size: 26px; /* Slightly larger */
    font-weight: 700;
    line-height: 1.3; /* Vital for script fonts like 'Restored' */
    display: block;
    color: var(--text-black);
    white-space: nowrap; /* Prevents the logo from splitting into two lines */
    }

    /* Ensure the hero doesn't overlap the logo */
    .hero h1{
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        line-height: 1.1; /* Tightens the gap between the two lines */
        color: #3A4D44;
        font-size: 35px;
        margin-bottom: 20px;
    }
    .hero {
    margin-top: -20px;
    padding-top: 40px; 
    position: relative;
    z-index: 1;
    }
    .hero-svg {
    width: 100%;                /* Span the full width of the screen */
    height: auto;               
    display: block;
    padding-top: 50px;
    
    /* THE ZOOM: Adjust the 1.2 to 1.5 for more/less zoom */
    transform: scale(1);      
    
    /* Optional: Shift the image up or down if the zoom cuts off the roof */
    transform-origin: center bottom; 
    
    transition: transform 0.5s ease; /* Smoothly zooms if you ever add a hover */
    }

    /* If the logo is an image, ensure it doesn't get clipped */
    .logo-container img {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
    }

    .menu-circle {
     z-index: 10000; /* Keeps menu toggle above any stray curves */
    }

    /* Ensure the Hero section doesn't try to overlap the header */
    .hero {
        padding-top: 20px; 
        text-align: center;
    }

    .hero-svg {
        width: 100%;
        height: auto; /* Ensures the SVG doesn't distort */
        max-width: 450px; /* Prevents it from getting too large on tablets */
        display: block;
    }


    .profile-box {
        width: 240px;
        height: 340px;
        background-color: #e0e0e0;
        border: 1px solid #ccc;
        border-radius: 24px;
        margin: 0 auto 15px;
    }
    .menu-circle {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
    }

    .menu-circle span {
        width: 25px;
        height: 2px;
        background: #000;
    }

    /* Typography */
    h1 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 15px;
        letter-spacing: -0.5px;
    }

    .section-title {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .section-title em {
        font-family: 'Playfair Display', serif;
    }

    .subtitle, .hero-sub {
        font-size: 14px;
        color: var(--text-grey);
        margin-bottom: 10px;
        text-align: center;
    }

    .credentials {
        font-size: 13px;
        margin-bottom: 30px;
    }

    /* Placeholders */
    .placeholder-box {
        background-color: #e0e0e0;
        border: 1px solid #ccc;
        margin: 0 auto;
    }

    .illustration-box {
        width: 100%;
        height: 180px;
        margin-top: 30px;
        background: repeating-linear-gradient(45deg, #e0e0e0, #e0e0e0 10px, #d8d8d8 10px, #d8d8d8 20px);
    }

    .illustration-container {
    width: 100vw;               /* Force container to full viewport width */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;         /* "Break out" trick to ignore parent padding */
    margin-right: -50vw;
    
    overflow: hidden;           /* Clips the "zoom" so it doesn't overlap other sections */
    line-height: 0;             /* Removes tiny white space at the bottom */
    }

    .profile-box {
        width: 240px;
        height: 340px;
        border-radius: 24px;
        margin-bottom: 15px;
    }

    /* Buttons */
    .cta-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0 20px;
    }

    .btn {
        display: block;
        text-decoration: none;
        width: 100%;
        max-width: 280px;
        padding: 14px;
        border-radius: 30px;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        border: none;
        cursor: pointer;
        box-sizing: border-box;
    }

    .btn-filled {
        background-color: var(--dark-green);
        color: white;
    }

    .btn-outline {
        background: transparent;
        border: 1px solid #000;
        color: #000;
    }

    /* Sections */
    section {
        padding: 60px 20px;
        text-align: center;
    }

    /* The Curved SVG Line */
    .curved-divider {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 200px; /* Adjust height of the curve area */
        z-index: 1;
    }

    .curved-divider svg {
        width: 100%;
        height: 100%;
    }

    .meet-abi {
        position: relative;
        background-color: #f8f9f8;
        padding-bottom: 60px;
        /* Keeps the thick stroke from bleeding into other sections */
        overflow: hidden; 
    }

    .wave-container {
        position: absolute;
        top: -35px;
        left: 0;
        width: 100%;
        height: 250px;
        /* Ensures it sits behind the text and photo */
        z-index: 1; 
        /* Match the slight tilt from your image */
        transform: translateY(-20px); 
    }

    .global-wave-container {
    position: absolute;
    top: 700px; /* Adjust this number to move the wave up or down across the sections */
    left: 0;
    width: 100%;
    height: 300px;
    z-index: 10; /* High number to stay on top of backgrounds */
    pointer-events: none; /* Allows users to still click buttons underneath the curve */
    }

    .global-wave-container svg {
    width: 100%;
    height: 100%;
    }

    .meet-abi, .services {
    position: relative;
    overflow: visible !important; /* This prevents the sections from 'cutting' the curve */
    }

    .meet-content {
        position: relative;
        /* Pushes content above the green line layer */
        z-index: 2; 
        padding-top: 130px; 
    }

    .meet-content, .services-inner {
    position: relative;
    z-index: 11; /* Slightly higher than the wave's z-index */
    }

    .section-title {
        font-family: 'Inter', sans-serif;
        font-size: 35px;
        font-weight: 800;
        letter-spacing: -0.5px;
        margin-bottom: 4px;
    }

    .subtitle {
        font-size: 14px;
        color: #666;
        margin-bottom: 30px;
    }

  
    /* 1. This container holds the window */
    .carousel-container {
        width: 100%;
        overflow: hidden; /* Clips the cards that are off-screen */
        padding: 20px 0;
    }

    /* 2. This viewport is the actual track you swipe on */
    .carousel-viewport {
        flex-direction: row; /* Ensures they stay side-by-side */
        flex-wrap: nowrap;   /* CRITICAL: Prevents cards from stacking or overlapping */
        overflow-x: auto;    /* Enables horizontal swiping */
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding: 0 10%;      /* Gives space for the side cards to peek in */
        -webkit-overflow-scrolling: touch;
        display: flex;
    overflow-x: auto;         /* Allow horizontal scrolling */
    overflow-y: hidden;       /* STRICTLY disable vertical scrolling */
    
    /* Disable browser-default touch behaviors like pull-to-refresh or vertical panning */
    touch-action: pan-x;      
    
    /* Optional: Smooth snapping so cards lock into place */
    scroll-snap-type: x mandatory; 
    
    /* Hide scrollbars for a cleaner look */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
    }

    /* Hide the ugly scrollbar */
    .carousel-viewport::-webkit-scrollbar {
        display: none;
    }

    /* 3. CRUCIAL: The cards must NOT shrink */
    .side-card, .profile-card {
        flex: 0 0 80%;       /* 0 grow, 0 shrink, 80% width */
        scroll-snap-align: center;
        min-height: 400px;
        position: relative;  /* Ensures no absolute positioning is causing overlap */
    }

    /* Photo specific styles */
    .abi-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 40px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    /* Side text card styles */
    .side-card {
        background: #fff;
        padding: 30px 20px;
        border-radius: 40px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        font-size: 13px;
        text-align: left;
    }





    .side-card.left { margin-left: -100px; } /* Pulls card partially off-screen */
    .side-card.right { margin-right: -100px; }

    /* Center Profile Card */

    /* Typography & Buttons */
    .as-seen {
        font-size: 13px;
        margin-bottom: 25px;
    }

    .psych-link {
        color: #2b6cb0;
        font-weight: 700;
    }

    .cta-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .as-seen {
        font-size: 12px;
        margin-bottom: 25px;
    }

    .psych-link {
        color: #2b6cb0;
        font-weight: 700;
    }

    /* Service Cards — mobile restores original horizontal row look */
    .service-cards-grid {
        display: block;
        margin-bottom: 20px;
    }

    .service-card {
        height: auto;
        perspective: none;
    }

    .service-card-inner {
        position: static;
        transform-style: flat;
        transition: none;
        height: auto;
    }

    .service-card:hover .service-card-inner {
        transform: none;
    }

    .service-card-front {
        position: static;
        backface-visibility: visible;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 30px 0;
        gap: 20px;
        background: transparent;
    }

    .service-card-front h3 {
        flex: 1;
        text-align: left;
        font-size: clamp(18px, 4vw, 24px);
        margin: 0;
        color: #1a1a1a;
    }

    .service-card-icon {
        width: clamp(60px, 10vw, 80px);
        height: clamp(60px, 10vw, 80px);
        border-radius: 12px;
        flex-shrink: 0;
        margin-bottom: 0;
    }

    .service-card-arrow {
        display: flex;
        width: 44px;
        height: 44px;
        background-color: #efefef;
        border-radius: 8px;
        justify-content: center;
        align-items: center;
        flex-shrink: 0;
        font-size: 16px;
        color: #666;
    }

    .service-card-back {
        display: none !important;
    }

    /* Original Service Cards */

    /* Overlay Background */
    /* Full screen dimmed background */
    /* --- 1. OVERLAY & CONTAINER --- */
    .story-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999999;
    display: none; 
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    font-family: 'Inter', -apple-system, sans-serif;
    }

    .story-overlay .story-content-card {
    width: 92%;
    max-width: 420px;
    height: 85vh;
    background: white;
    border-radius: 45px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transition: background-color 0.4s ease, color 0.4s ease;
    }

    /* --- 2. THE SLIDING TRACK --- */
    .story-overlay .story-track {
    display: flex;
    width: 1000%; 
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .story-overlay .story-slide {
    /* KEY FIX: Set width so text doesn't stretch */
    width: 10%; 
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: center;
    height: 100%;
    padding: 80px 35px 40px; 
    box-sizing: border-box;
    }
    .story-slide-top-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 1;
    min-height: 0;
    overflow-y: auto;
    }

    /* --- 3. THEME STATES (MATCHING YOUR CHART) --- */
    /* Green Mode (Slide 1 in branches) */
    .story-content-card.green-mode {
    background-color: #3A4D44 !important;
    color: #FFFFFF !important;
    }

    /* --- 4. TYPOGRAPHY (EXACT MATCH) --- */
    .story-overlay .story-title-large {
    font-size: 42px;
    font-weight: 800;
    color: #3A4D44;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 50px;
    }

    .story-overlay .title-branch {
    font-size: 52px;
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -2px;
    margin-bottom: 30px;
    }

    .story-overlay .italic-style {
    font-family: 'Inter', -apple-system, sans-serif;
    font-style: bold;
    font-weight: 800;
    font-size: 48px;
    display: block;
    text-transform: lowercase;
    }

    .story-overlay .body-text {
    font-size: 17px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 30px;
    }

    /* --- 5. BUTTONS & UI --- */
    /* Selection buttons (Slide 1) */
    .story-overlay .story-option {
    background: none;
    border: none;
    font-size: 34px;
    font-weight: 500;
    color: #4A5D54;
    margin-bottom: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    }

    /* The Pill 'Next' Button */
    .story-overlay .story-next-btn {
    background: #3A4D44;
    color: white;
    border: none;
    padding: 16px 45px;
    border-radius: 50px; /* Pill shape */
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-shrink: 0;
    }

    /* Next Button when on Green slide */
    .green-mode .story-next-btn {
    background: white;
    color: #3A4D44;
    }

    /* --- 6. PROGRESS BARS --- */
    .story-overlay .story-progress-container {
    position: absolute;
    top: 35px;
    left: 0;
    width: 100%;
    display: flex;
    gap: 8px;
    padding: 0 30px;
    z-index: 100;
    }

    .story-overlay .progress-segment {
    flex: 1;
    height: 3px;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    }

    /* Progress bar logic for Green/White themes */
    .green-mode .progress-segment { background: rgba(255,255,255,0.2); }
    .green-mode .progress-segment.active { background: #FFFFFF !important; }
    .story-content-card:not(.green-mode) .progress-segment.active { background: #3A4D44 !important; }

    /* Close Button */
    .story-overlay .story-close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    z-index: 101;
    color: #3A4D44;
    }
    .green-mode .story-close { color: #FFFFFF; }

    /* Subtitle "Can help with" */
    .story-overlay .story-subtitle-bold {
    font-size: 24px;
    font-weight: 800;
    color: #3A4D44;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    }

    /* The Therapy Pills Container */
    .story-overlay .therapy-pill-container {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Slightly tighter gap to save vertical space */
    width: 100%;
    max-width: 320px;
    margin: 0 auto; 
    /* Allow it to shrink if the screen is tiny */
    flex-shrink: 1; 
    }

    /* Individual Pill Style matching your screenshot */
    .story-overlay .therapy-pill {
    background-color: #C5D3B8;
    color: #3A4D44;
    padding: 10px 20px; /* Reduced vertical padding slightly */
    border-radius: 40px;
    font-size: 15px; /* Slightly smaller font for mobile safety */
    font-weight: 700;
    }

    /* Ensure the Next button is positioned consistently */
    .story-overlay .dark-btn {
    background-color: #3A4D44;
    color: #FFFFFF;
    margin: 0 auto;
    }

    .story-overlay .white-btn {
    background-color: #FFFFFF;
    color: #3A4D44;
    margin: 0 auto;
    }

    





    /* --- Insurance Slide Specifics --- */

    /* Logo Grid */
    .story-overlay .insurance-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
    width: 100%;
    }

    .story-overlay .insurance-logo-large {
        width: 180px; /* Adjust based on your SVG aspect ratio */
        height: auto;
    }
    .story-overlay .insurance-logo-small {
    width: 140px;
    height: auto;
    }

    /* Fee Typography */
    .story-overlay .fee-container {
    text-align: center;
    margin-bottom: 20px;
    }

    .story-overlay .fee-label {
    font-size: 18px;
    color: #3A4D44;
    font-weight: 500;
    margin-bottom: 5px;
    }

    .story-overlay .fee-amount {
    font-size: 22px;
    font-weight: 800;
    color: #3A4D44;
    }
    
    .story-overlay .fee-amount {
        font-size: 22px;
        font-weight: 800;
        color: #3A4D44;
    }
    
    .story-overlay .fee-amount {
        font-size: 22px;
        font-weight: 800;
        color: #3A4D44;
    }
    /* --- Footer Buttons --- */
    .story-overlay .story-footer-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    padding-bottom: 10px;
    }

    .story-overlay .book-btn-final {
    background-color: #3A4D44;
    color: #FFFFFF;
    border: none;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    width: 85%; /* Matches the wide pill look in your image */
    cursor: pointer;
    transition: transform 0.2s ease;
    }

    .story-overlay .book-btn-final:active {
    transform: scale(0.96);
    }

    .story-overlay .return-home-link {
    font-size: 16px;
    color: #8E9B94; /* Greyed out look from your screenshot */
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    }

 


    /* Container and Typography */
    .services-container {
  background-color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Inter', sans-serif;
  padding-top: 20px;
    }

    .services-header {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 35px;
  text-align: center;
  margin-bottom: 40px;
  line-height: 90%;
    }

    .services-header em {
  font-family: serif;
  font-style: italic;
  font-weight: 400;
    }

    /* Row Styling - Forced Horizontal */
    .service-horizontal-row {
  display: flex !important;
  flex-direction: row !important; /* Prevents stacking on mobile */
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #e0e0e0;
  cursor: pointer;
  gap: 20px;
  width: 100%;
    }

    /* Icon Box - Fixed size so it doesn't shrink */
    .service-icon-box {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  background-color: #c9d6b8;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0; /* Important: keeps the box square */
    }

    .service-icon-box img {
  width: 50%;
  height: auto;
    }

    /* Text Content Area */
    .service-details {
  flex: 1; /* Occupies all available middle space */
  text-align: left;
    }

    .service-details h3 {
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 700;
  margin: 0 0 4px 0;
    }

    .service-details p {
  font-size: clamp(12px, 3vw, 15px);
  line-height: 1.4;
  color: #444;
  margin: 0;
    }

    /* Grey Arrow Button - Fixed size */
    .service-arrow-box {
  width: 44px;
  height: 44px;
  background-color: #efefef;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
    }

    .chevron-icon {
  font-size: 16px;
  color: #666;
  font-weight: bold;
    }

    /* Footer Section */
    .services-footer {
  text-align: center;
  margin-top: 50px;
    }

    .btn-book {
  background-color: #3d4c44;
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
    }

    .text-or {
  margin: 12px 0;
  color: #888;
  font-size: 14px;
    }








    
    /* FAQ */
    .faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 95%;
    max-width: 500px; /* Adjust this to match your overall site width */
    margin: 30px auto;
    }
   .faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    }

  .faq-card {
    cursor: pointer;
    display: block; /* Ensure it's a block container */
    background-color: #ffffff; /* Sets background to white */
    border-radius: 12px;       /* Keeps those nice rounded corners */
    margin-bottom: 5px;       /* Adds spacing between questions */
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;

    }

    .faq-text {
    flex: 1;
    margin: 0;
    text-align: left;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
    }

    .faq-icon-box {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important; /* This prevents the "skinny" look */
    background-color: #C6D6B1 !important; /* Your sage green */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Important: prevents text from squishing the box */
    margin-left: 15px;
    }

    .inquiry-sq {
    margin: 0 auto 15px !important; /* Centers the square above the text */
    font-size: 20px;
    font-weight: bold;
    }
    .faq {
        background-color: var(--bg-grey);
    }
    .chevron {
    font-size: 12px;
    color: #2c2c2c;
    }

    .faq-list {
        margin: 30px 0;
    }

    .faq-item {
        background: white;
        padding: 16px;
        margin-bottom: 10px;
        border-radius: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        font-size: 14px;
        font-weight: 600;
    }
    .faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    }
    .faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr; /* Starts at 0 fraction of height */
    transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
    opacity: 0;
    overflow: hidden;
    }
    .faq-card.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
    opacity: 1;
    }
    .faq-answer-content {
    min-height: 0; 
    padding: 0 10px 15px 10px; /* Adjust spacing here */
    }
    .faq-card.active .faq-answer {
    max-height: 200px; /* Adjust if your answers are very long */
    opacity: 1;
    padding-top: 15px; /* Spacing between question and answer */
    padding-bottom: 10px;
    }
    .faq-card.active .chevron {
    transform: rotate(180deg);
    display: inline-block;
    transition: transform 0.3s ease;
    }

    .chevron-box {
        background-color: var(--light-sage);
        color: var(--dark-green);
        width: 28px;
        height: 28px;
        border-radius: 6px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 10px;
    }

    .icon-placeholder {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        margin-bottom: 15px;
    }

    .inquiry-section h3 {
        margin-bottom: 5px;
    }

    .inquiry-section p {
        font-size: 14px;
        color: #777;
        margin-bottom: 20px;
    }

  /* 1. Full-Width Background Wrapper */
    .footer-wrapper {
        background-color: #3A4D44;
        color: #ffffff;
        padding: 50px 24px 40px;
        font-family: 'Inter', sans-serif;
    }

    .footer-mobile-logo img {
        width: 160px;
        height: auto;
        margin-bottom: 36px;
        opacity: 0.9;
        filter: brightness(0) invert(1);
    }

    .footer-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 0;
        margin-bottom: 32px;
        width: 100%;
    }

    .footer-row:last-child { margin-bottom: 0; }

    .footer-col.left,
    .footer-col.right {
        text-align: left;
        margin-bottom: 32px;
    }

    .footer-col.right { margin-bottom: 0; }

    .footer-heading {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: rgba(255,255,255,0.45);
        margin: 0 0 14px 0;
    }

    .footer-links {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-links li { margin-bottom: 12px; }

    .footer-links a {
        color: #ffffff;
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        opacity: 0.85;
    }

    .footer-address {
        font-size: 15px;
        line-height: 1.7;
        opacity: 0.85;
    }

    .address-title {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        color: rgba(255,255,255,0.45);
        display: block;
        margin-bottom: 10px;
    }

  
    


}





@media screen and (min-width: 1024px) {

    /* ========== GLOBAL ========== */
    *, *::before, *::after { box-sizing: border-box; }

    body {
        font-family: 'Inter', sans-serif;
        color: #1a1a1a;
        background-color: #f9f9f9;
        overflow-x: hidden;
    }

    main { display: block !important; }

    section { padding: 80px 80px; }

    /* ========== HEADER ========== */
    .menu-button { display: none; }
    .menu-overlay { display: none !important; }

    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 36px;
    }

    .desktop-nav a {
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        font-weight: 500;
        color: #1a1a1a;
        text-decoration: none;
        transition: color 0.2s ease;
    }

    .desktop-nav a:hover { color: #3A4D44; }

    .desktop-nav .nav-cta {
        background-color: #3A4D44;
        color: #ffffff !important;
        padding: 12px 26px;
        border-radius: 50px;
        font-weight: 600;
        transition: background-color 0.2s ease;
    }

    .desktop-nav .nav-cta:hover { background-color: #2e3d36; }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 22px 80px;
        background-color: #f9f9f9;
        border-bottom: 1px solid rgba(0,0,0,0.07);
        z-index: 1000;
    }

    .main-logo { width: 220px; height: auto; }

    /* ========== HERO ========== */
    .hero {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        min-height: 100vh;
        padding: 0;
        margin: 0;
        text-align: left;
        background-color: #f9f9f9;
        overflow: hidden;
    }

    .illustration-container {
        flex: 0 0 55%;
        align-self: flex-end;
        margin: 0;
        position: relative;
        left: -20px;
        transform: translateY(-160px);
        order: 1;
    }

    .hero-svg { width: 100%; height: auto; display: block; }

    .hero-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        align-self: stretch;
        order: 2;
        text-align: left;
        padding: 0px 80px 80px 40px;
    }

    /* Match mobile: green h1 */
    .hero h1 {
        font-family: 'Inter', sans-serif;
        font-size: 64px;
        font-weight: 700;
        line-height: 1.1;
        color: #3A4D44;
        margin: 0 0 20px 0;
        letter-spacing: -1.5px;
    }

    .hero-sub {
        font-size: 18px;
        line-height: 1.6;
        color: #666666;
        margin: 0 0 12px 0;
        text-align: left;
    }

    .credentials {
        font-size: 14px;
        font-weight: 600;
        color: #1a1a1a;
        margin: 0 0 36px 0;
        text-align: left;
    }

    .hero .cta-stack {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 0;
    }

    /* Match mobile button sizing */
    .hero .btn {
        width: 300px;
        padding: 14px;
        border-radius: 30px;
        font-size: 14px;
        font-weight: 600;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        border: none;
        text-decoration: none;
        box-sizing: border-box;
        transition: opacity 0.2s ease;
    }

    .hero .btn:hover { opacity: 0.85; }

    .btn-filled {
        background-color: #3A4D44 !important;
        color: #ffffff !important;
        border: none;
    }


    .btn-outline {
        background-color: transparent !important;
        border: 1px solid #000 !important;
        color: #000 !important;
    }

    /* ========== WAVE DIVIDER ========== */
    .global-wave-container {
        position: relative;
        margin-top: -220px;
        z-index: 10;
        pointer-events: none;
    }

    .global-wave-container::before {
        content: "A   s p a c e   t o   b r e a t h e ,   u n p a c k ,   a n d   b e g i n   a g a i n .";
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
        font-family: 'Inter', sans-serif;
        font-size: 13px;
        letter-spacing: 5px;
        color: #465147;
        opacity: 0.65;
    }

    /* ========== MEET ABI ========== */
    /* Match mobile: #f8f9f8 background */
    .meet-abi {
        background-color: #f8f9f8;
        padding: 80px 80px;
        overflow: visible;
    }

    .meet-content {
        max-width: 1100px;
        margin: 0 auto;
        padding-top: 0;
        z-index: auto;
    }

    /* Match mobile section-title style */
    .meet-abi .section-title {
        font-family: 'Inter', sans-serif;
        font-size: 35px;
        font-weight: 800;
        letter-spacing: -0.5px;
        margin-bottom: 4px;
        text-align: left;
    }

    .meet-abi .subtitle {
        font-size: 14px;
        color: #666;
        margin-bottom: 30px;
        text-align: left;
    }

    .carousel-container {
        width: 100%;
        overflow: visible;
        padding: 20px 0;
        margin-bottom: 20px;
    }

    .carousel-viewport {
        display: grid !important;
        grid-template-columns: 300px 1fr 1fr;
        gap: 20px;
        overflow: visible !important;
        padding: 0 !important;
        scroll-snap-type: none !important;
        touch-action: auto !important;
    }

    .carousel-viewport::-webkit-scrollbar { display: none; }

    .profile-card {
        height: 440px;
        border-radius: 40px;
        overflow: hidden;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        scroll-snap-align: none;
        flex: none;
    }

    .abi-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 40px;
    }

    .side-card {
        min-height: 440px;
        background: #ffffff;
        border-radius: 40px;
        padding: 30px 24px;
        font-size: 14px;
        line-height: 1.7;
        color: #1a1a1a;
        text-align: left;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        scroll-snap-align: none;
        flex: none;
    }

    /* Match mobile cta-stack */
    .meet-abi .cta-stack {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 0;
    }

    .meet-abi .btn {
        width: auto;
        padding: 14px 32px;
        border-radius: 30px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: opacity 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .meet-abi .btn:hover { opacity: 0.85; }

    /* ========== SERVICES ========== */
    /* Light sage green background */
    .services-container {
        background-color: #d6ded1;
        max-width: 100%;
        margin: 0;
        padding: 80px 80px;
        scroll-margin-top: 150px;
    }

    .services-header {
        font-family: 'Inter', sans-serif;
        font-size: 35px;
        font-weight: 800;
        letter-spacing: -0.5px;
        text-align: left;
        margin-bottom: 40px;
        line-height: 90%;
    }

    .services-header em {
        font-family: serif;
        font-style: italic;
        font-weight: 400;
    }

    .service-cards-grid {
        gap: 24px;
    }

    .service-card {
        height: 300px;
    }

    .service-card-front h3 { font-size: 24px; }

    .services-footer {
        margin-top: 50px;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .text-or { margin: 0; }
    .btn-book {
        background-color: #3A4D44;
        color: #ffffff;
        border: none;
        border-radius: 30px;
        padding: 14px 40px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: opacity 0.2s ease;
    }

    .btn-book:hover { opacity: 0.85; }

    /* ========== FAQ ========== */
    /* Match mobile: inherits #f9f9f9 body bg */
    .faq {
        background-color: #f9f9f9;
        padding: 100px 80px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .faq .section-title {
        font-family: 'Inter', sans-serif;
        font-size: 52px;
        font-weight: 800;
        letter-spacing: -1.5px;
        text-align: center;
        margin-bottom: 12px;
        color: #1a1a1a;
    }

    .faq-subtitle {
        font-size: 16px;
        color: #666;
        margin-bottom: 50px;
        text-align: center;
    }

    .faq-container {
        width: 100%;
        max-width: 720px;
        margin: 0;
    }

    .faq-card {
        background-color: #ffffff;
        border-radius: 16px;
        padding: 14px 28px;
        margin-bottom: 10px;
        cursor: pointer;
        transition: box-shadow 0.2s ease;
        text-align: left;
    }

    .faq-card:hover {
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }

    .faq-card.active {
        background-color: #d6ded1;
    }

    .faq-text { font-size: 16px; font-weight: 600; color: #1a1a1a; }
    .faq-answer-content p { font-size: 15px; line-height: 1.7; color: #555; padding-top: 4px; }

    .faq-icon-box {
        background: none !important;
        border-radius: 0;
        width: auto !important;
        height: auto !important;
        min-width: unset !important;
        padding: 0;
        margin-left: 12px;
    }

    /* ========== FOOTER ========== */
    .footer-wrapper {
        padding: 70px 80px;
    }

    .footer-row { display: none; }
    .footer-desktop-row { display: flex; }
    .footer-mobile-logo { display: none; }

    .footer-wrapper::after {
        content: '';
        display: block;
        clear: both;
    }

    /* Single horizontal layout for desktop */
    .footer-wrapper {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .footer-desktop-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 60px;
        max-width: 1200px;
        width: 100%;
    }

    .footer-heading {
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: rgba(255,255,255,0.5);
        margin: 0 0 16px 0;
    }

    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-links li { margin-bottom: 10px; }

    .footer-links a {
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        opacity: 0.85;
        transition: opacity 0.2s ease;
    }

    .footer-links a:hover { opacity: 1; }

    .footer-address {
        font-size: 14px;
        line-height: 1.7;
        opacity: 0.85;
    }

    .address-title {
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: rgba(255,255,255,0.5);
        display: block;
        margin-bottom: 8px;
    }

    /* ========== VIDEO MODAL ========== */
    .video-modal {
        display: none !important;
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        z-index: 99999;
        background-color: rgba(0,0,0,0.9);
        align-items: center;
        justify-content: center;
    }

    .video-container { position: relative; width: 90%; max-width: 900px; }
    .video-container video { width: 100%; display: block; border-radius: 8px; }

    .close-modal {
        position: absolute;
        top: -44px; right: 0;
        color: white; font-size: 35px; cursor: pointer;
    }

    /* ========== STORY POPUP ========== */
    .story-overlay { align-items: center; justify-content: center; }

    .story-overlay .story-content-card {
        width: 420px;
        height: 82vh;
        max-height: 780px;
    }
}