/* =========================================
   MASTER SPA TEMPLATE STYLES
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@200;300;400;600&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --bg-pearl: #FDFDFD;
    --forest-green: #1A3622;
    --text-muted: #3A5642;
}

/* --- GLOBAL LAYOUT FIXES --- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-pearl);
    color: var(--forest-green);
    line-height: 1.8;
}

h1, h2, h3, h4, .btn, .btn-glass-hero, .metric-number {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center {
    text-align: center;
}

/* --- PERFECTED TRANSPARENT NAVIGATION BAR --- */
nav {
    position: absolute; /* Keeps it purely at the top of the page without following down */
    top: 0; left: 0; width: 100%;
    background-color: transparent; /* Completely clear */
    padding: 30px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav a { 
    margin: 0 15px; 
    text-decoration: none; 
    color: #FFFFFF; 
    font-size: 0.85rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    transition: color 0.3s ease;
    white-space: nowrap; 
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); /* Ensures text is visible over the image */
}
nav a:hover {
    color: var(--forest-green);
}

/* --- FULL-SCREEN HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    background: url('https://vafzjdqepmuunwqhzunz.supabase.co/storage/v1/object/public/branding/MediLoop%20Websites.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.25); 
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-pre-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 20px;
}
.hero-main-title {
    margin: 0 0 20px 0;
    line-height: 0.8; /* Pulls the words closer together */
    text-align: center;
}
.serif-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #FFFFFF;
    letter-spacing: 4px;
}
.script-title {
    font-family: 'Great Vibes', cursive;
    font-size: 7.5rem; /* Massive flowing script */
    font-weight: 400;
    color: #FFFFFF;
    display: block;
    margin-top: -25px; /* Overlaps it over the serif text */
    margin-left: 60px; /* Pushes it slightly right for asymmetry */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4); /* Adds the subtle glow from the photo */
}
.hero-quote {
    font-size: 1rem;
    font-weight: 300;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1px;
}

/* --- THE NEW GLASSMORPHIC HERO BUTTON --- */
.btn-glass-hero {
    display: inline-block;
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--forest-green); /* Thick green border */
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 40px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4); 
}
.btn-glass-hero:hover {
    background: var(--forest-green);
    color: var(--bg-pearl);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(26, 54, 34, 0.3);
}

/* Regular button style kept for other elements if needed */
.btn {
    display: inline-block;
    padding: 15px 70px; 
    background-color: var(--forest-green);
    color: var(--bg-pearl);
    text-decoration: none;
    border-radius: 30px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(26, 54, 34, 0.2); 
}

/* --- WELCOME SECTION --- */
.welcome-section {
    max-width: 800px; 
    margin: 120px auto;
    padding: 0 20px;
    text-align: center; 
}
.welcome-text h2 { 
    font-family: 'Montserrat', sans-serif;
    font-weight: 200; 
    font-size: 2.2rem; 
    margin-bottom: 30px; 
    text-transform: uppercase; 
    letter-spacing: 6px; 
    color: var(--forest-green);
    line-height: 1.4;
}
.welcome-text p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 2; 
}

/* --- GLASSMORPHIC METRICS SECTION (WITH GLOW) --- */
.metrics-section {
    padding: 120px 20px;
    position: relative;
    background: url('https://vafzjdqepmuunwqhzunz.supabase.co/storage/v1/object/public/branding/Onboarding.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
.metrics-glass-box {
    background: rgba(255, 255, 255, 0.65);
    max-width: 1100px;
    width: 100%;
    padding: 80px 40px;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    text-align: center;
}
.metrics-glass-box .section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--forest-green);
    margin-bottom: 60px;
}
.cards-grid {
    display: flex; 
    flex-wrap: wrap; 
    gap: 40px; 
    justify-content: center;
}
.metric-circle {
    width: 320px; 
    height: 320px; 
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 25px rgba(26, 54, 34, 0.4); 
    border: 1px solid rgba(26, 54, 34, 0.2);
    display: flex; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    padding: 30px; 
    box-sizing: border-box;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.metric-circle:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 10px 40px rgba(26, 54, 34, 0.65); 
}
.metric-number { 
    font-size: 3rem; 
    font-weight: 200; 
    margin: 0 0 10px 0; 
    color: var(--forest-green); 
}
.metric-circle h4 { 
    font-size: 0.85rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    margin: 0; 
    color: var(--text-muted); 
    letter-spacing: 2px;
}
.metric-circle p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.6;
    text-transform: none;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* --- EDITORIAL RITUALS SECTION (DARK SCROLLABLE) --- */
.editorial-rituals {
    background-color: var(--forest-green); 
    padding: 120px 0 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative; 
}
.editorial-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #FFFFFF;
    margin-bottom: 60px;
}
.editorial-scroll-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}
.editorial-scroll-container::-webkit-scrollbar {
    display: none; 
}
.editorial-card {
    min-width: 320px; 
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}
.editorial-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.editorial-info {
    border: 1px solid rgba(255, 255, 255, 0.3); 
    border-top: none; 
    padding: 25px 20px;
    text-align: left; 
    background-color: transparent;
    flex-grow: 1; 
}
.editorial-meta {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7); 
    margin: 0 0 15px 0;
}
.editorial-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: #FFFFFF; 
    text-transform: none; 
}
.editorial-price {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7); 
    margin: 0;
}
.scroll-indicator {
    text-align: right;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
    padding-right: 10px;
    font-family: 'Montserrat', sans-serif;
}

/* --- EDITORIAL PRESS SECTION (STAGGERED SLIDE-IN) --- */
.press-section {
    position: relative;
    padding: 150px 20px;
    background: url('https://vafzjdqepmuunwqhzunz.supabase.co/storage/v1/object/public/branding/Payment%20background.jpg') center/cover no-repeat;
}
.press-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(80, 60, 40, 0.75); 
    z-index: 1;
}
.press-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}
.press-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200; 
    font-size: 2.5rem;
    color: #FFFFFF;
    margin-bottom: 70px;
    letter-spacing: 8px; 
    text-transform: uppercase; 
}
.press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 50px;
}
.press-card {
    text-align: left; 
}
.quote-mark {
    font-size: 4rem;
    font-family: Georgia, serif; 
    color: #FFFFFF;
    line-height: 0.5;
    margin-bottom: 20px;
    display: block;
}
.press-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-weight: 300;
}
.press-author {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFFFFF;
    margin: 0;
}

/* Slide-in Animation Setup */
.press-card.slide-in {
    opacity: 0;
    transform: translateX(40px); 
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.press-card.slide-in.show {
    opacity: 1;
    transform: translateX(0); 
}
.press-card.slide-in:nth-child(1) { transition-delay: 0s; }
.press-card.slide-in:nth-child(2) { transition-delay: 0.2s; }
.press-card.slide-in:nth-child(3) { transition-delay: 0.4s; }


/* --- STACKED ALBUM SOCIALS SECTION --- */
.socials-section { 
    padding: 120px 20px; 
    background-color: var(--bg-pearl);
}
.socials-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--forest-green);
    margin-bottom: 10px;
}
.social-handle {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-decoration: none;
    transition: color 0.3s;
}
.social-handle:hover {
    color: var(--forest-green);
}
.socials-stack {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 80px auto;
}
.social-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.stack-1 { transform: rotate(-8deg) translate(-25px, 15px) scale(0.9); z-index: 1; opacity: 0.7; }
.stack-2 { transform: rotate(6deg) translate(25px, 5px) scale(0.95); z-index: 2; opacity: 0.85; }
.stack-3 { transform: rotate(-3deg) translate(-10px, -10px) scale(0.98); z-index: 3; opacity: 0.95; }
.stack-top { transform: rotate(0deg) translate(0, 0); z-index: 4; }

.socials-stack:hover .stack-1 { transform: rotate(-15deg) translate(-45px, 25px) scale(0.9); opacity: 0.9; }
.socials-stack:hover .stack-2 { transform: rotate(12deg) translate(45px, 15px) scale(0.95); opacity: 0.95; }
.socials-stack:hover .stack-3 { transform: rotate(-6deg) translate(-25px, -15px) scale(0.98); opacity: 1; }

.social-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 20px; 
}
.social-btn {
    padding: 12px 40px; 
    border: 1px solid var(--forest-green);
    color: var(--forest-green); 
    text-decoration: none; 
    border-radius: 30px; 
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem; 
    font-weight: 400; 
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}
.social-btn:hover { 
    background: var(--forest-green); 
    color: var(--bg-pearl); 
}

/* --- STRICT DARK FOOTER --- */
.footer-dark {
    background-color: #000000;
    color: #ffffff;
    padding: 80px 20px 30px 20px;
    font-size: 0.9rem;
}
.footer-grid {
    max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 50px;
}
.footer-col h4 { color: #ffffff; margin-bottom: 20px; font-size: 1.1rem; letter-spacing: 2px;}
.footer-col p, .footer-col a { color: #a0a0a0; margin: 8px 0; text-decoration: none; display: block; transition: color 0.3s;}
.footer-col a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid #222; padding-top: 30px; text-align: center; color: #666; font-size: 0.8rem; letter-spacing: 1px; }
.footer-bottom a { color: #ffffff; text-decoration: none; font-weight: 600;}


/* =========================================
   ABOUT PAGE: LUXURY EDITORIAL STYLES
   ========================================= */

/* 1. Focus Reveal Hero */
.subpage-hero {
    height: 70vh;
    background: url('https://vafzjdqepmuunwqhzunz.supabase.co/storage/v1/object/public/branding/Payment%20background.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}
.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: inherit;
    filter: blur(20px);
    transform: scale(1.2);
    animation: clearFocus 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.subpage-hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 54, 34, 0.4); 
}
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpText 1.5s ease 0.5s forwards;
}
@keyframes clearFocus {
    to { filter: blur(0px); transform: scale(1); }
}
@keyframes fadeUpText {
    to { opacity: 1; transform: translateY(0); }
}

/* 2. Philosophy Infinite Vertical Scroll */
.philosophy-sticky-section {
    padding: 120px 20px;
    background-color: var(--bg-pearl);
}
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start; 
}
.philosophy-text-sticky {
    position: sticky;
    top: 150px; 
}
.philosophy-text-sticky p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 2;
    margin-bottom: 25px;
    font-weight: 300;
}
.philosophy-image-window {
    height: 80vh; 
    overflow: hidden; 
    position: relative;
    border-radius: 20px;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent); 
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
.philosophy-image-track {
    display: flex;
    flex-direction: column;
    animation: scrollVertical 25s linear infinite;
}
.scroll-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 30px; 
    flex-shrink: 0;
}
.philosophy-image-window:hover .philosophy-image-track {
    animation-play-state: paused; 
}
@keyframes scrollVertical {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } 
}

/* 3. The Quote Break */
.quote-break-section {
    padding: 80px 20px;
    background-color: var(--bg-pearl); 
}
.slick-fade-line {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 34, 0.4), transparent);
    width: 100%;
    margin: 0 auto;
}
.quote-break-text {
    font-family: Georgia, serif; 
    font-size: 1.8rem;
    font-style: italic;
    font-weight: 300;
    color: var(--forest-green);
    margin: 40px 0 20px 0;
    line-height: 1.6;
}
.quote-break-author {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* 4. Expanding Image Accordion */
.accordion-section {
    padding: 120px 20px;
    background-color: var(--bg-pearl);
}
.accordion-hint {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(26, 54, 34, 0.4); 
    margin-bottom: 50px; 
}
.accordion-container {
    display: flex;
    gap: 15px;
    height: 600px;
    max-width: 1100px;
    margin: 0 auto;
}
.accordion-item {
    position: relative;
    flex: 1; 
    border-radius: 20px; 
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
}
.accordion-item img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.accordion-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 54, 34, 0.6); 
    transition: background 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vertical-title {
    color: white;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 6px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    transition: opacity 0.4s ease;
}
.accordion-content {
    position: absolute;
    bottom: 40px; left: 40px; right: 40px;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    text-align: left;
}
.accordion-content h3 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 4px;
    margin-bottom: 10px;
}
.accordion-item:hover {
    flex: 4; 
}
.accordion-item:hover .accordion-overlay {
    background: rgba(0, 0, 0, 0.2); 
}
.accordion-item:hover .vertical-title {
    opacity: 0; 
}
.accordion-item:hover .accordion-content {
    opacity: 1; 
    transform: translateY(0);
    transition-delay: 0.3s;
}

/* 5. Manifesto Marquee (Slim & Pill) */
.manifesto-marquee {
    position: relative;
    height: 250px; 
    background-color: var(--forest-green);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.marquee-bg {
    position: absolute;
    white-space: nowrap;
    opacity: 0.05; 
    font-family: 'Montserrat', sans-serif;
    font-size: 8rem;
    font-weight: 600;
    color: white;
    animation: scrollMarquee 40s linear infinite;
}
.manifesto-pill-box {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 60px;
    border-radius: 100px; 
}
.manifesto-pill-box h3 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.2rem; 
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
}


/* =========================================
   RITUALS & SERVICES PAGE STYLES
   ========================================= */

/* 1. Breathing Hero */
.breathing-hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
}
.breathing-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(10, 20, 15, 0.5), rgba(10, 20, 15, 0.5)), url('https://vafzjdqepmuunwqhzunz.supabase.co/storage/v1/object/public/branding/MediLoop%20Websites.png') center/cover no-repeat;
    animation: breatheHero 10s infinite alternate ease-in-out;
}
@keyframes breatheHero {
    0% { transform: scale(1); }
    100% { transform: scale(1.04); } /* Gentle 4% zoom mimicking a breath */
}

/* 2. Interactive Mood Menu */
.mood-menu-section {
    position: relative;
    min-height: 100vh;
    padding: 120px 0;
    display: flex;
    align-items: center;
    color: #FFFFFF;
}
.mood-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}
.mood-bg.active {
    opacity: 1;
}
.mood-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mood-filter-bar {
    text-align: center;
    margin-bottom: 80px;
    width: 100%;
}
.mood-prompt {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 1.5rem;
    letter-spacing: 6px;
    margin-bottom: 30px;
}
.mood-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.mood-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 25px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.mood-btn:hover, .mood-btn.active {
    background: #FFFFFF;
    color: var(--forest-green);
    border-color: #FFFFFF;
}

/* 3. Expandable Treatment Lists */
.mood-lists-container {
    width: 100%;
    max-width: 800px;
}
.mood-list {
    display: none;
    flex-direction: column;
    gap: 15px;
}
.mood-list.active {
    display: flex;
    animation: fadeInList 0.8s ease forwards;
}
@keyframes fadeInList {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.treatment-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.treatment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
}
.treatment-title-area h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    margin: 0 0 5px 0;
    text-transform: none;
}
.treatment-meta {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
}
.treatment-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
}
.treatment-expansion {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.treatment-item.expanded .treatment-expansion {
    max-height: 300px; /* Provides enough room to slide open smoothly */
}
.botanicals {
    font-family: Georgia, serif;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 10px 0 25px 0;
}
.btn-reserve {
    display: inline-block;
    padding: 10px 30px;
    background: #FFFFFF;
    color: var(--forest-green);
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    transition: transform 0.3s;
}
.btn-reserve:hover {
    transform: translateY(-2px);
}

/* --- The Etiquette Section (White Space Break) --- */
.etiquette-section {
    background-color: var(--bg-pearl);
    padding: 120px 20px;
}
.etiquette-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.etiquette-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--forest-green);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.etiquette-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* 4. The Gift Card Bookend Section */
.gift-card-section {
    background-color: rgba(20, 40, 25, 1); /* Very dark olive/forest green */
    padding: 120px 20px;
}
.gift-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.gift-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1rem;
}
.btn-transparent {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}
.btn-transparent:hover {
    background: #FFFFFF;
    color: var(--forest-green);
}
.gift-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* =========================================
   REWARDS PAGE STYLES
   ========================================= */

/* 1. Monthly Curations (Asymmetric Overlap) */
.curations-section {
    padding: 120px 20px;
    background-color: var(--bg-pearl);
}
.curation-block {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto 100px auto;
    position: relative;
}
.curation-block.reverse {
    flex-direction: row-reverse;
}
.curation-img {
    width: 60%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.curation-card {
    width: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(26, 54, 34, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-left: -10%; /* Creates the elegant overlap */
    text-align: left;
    position: relative;
    z-index: 2;
}
.curation-block.reverse .curation-card {
    margin-left: 0;
    margin-right: -10%;
}
.curation-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--forest-green);
    border-bottom: 1px solid var(--forest-green);
    padding-bottom: 5px;
    margin-bottom: 20px;
    display: inline-block;
}
.curation-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 2rem;
    color: var(--forest-green);
    margin: 0 0 15px 0;
}
.curation-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 2. The Passport Timeline */
.passport-section {
    background-color: var(--forest-green);
    padding: 120px 20px;
    position: relative;
}
.passport-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
/* The Vertical Thread */
.passport-timeline::after {
    content: '';
    position: absolute;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -0.5px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 60px;
}
.timeline-item.left {
    left: 0;
    text-align: right;
}
.timeline-item.right {
    left: 50%;
    text-align: left;
}
/* The Glowing Dots */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    right: -8px;
    background-color: var(--bg-pearl);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}
.timeline-item.right::after {
    left: -8px;
}
.timeline-content {
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}
.timeline-content:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}
.timeline-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 10px 0;
}
.timeline-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: #FFFFFF;
    margin: 0 0 15px 0;
}
.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
}

/* =========================================
   JOURNAL & PRESS PAGE STYLES
   ========================================= */

/* Parallax Background for the Feed */
.journal-feed-section {
    padding: 120px 20px;
    background: linear-gradient(rgba(15, 30, 20, 0.9), rgba(15, 30, 20, 0.9)), url('https://vafzjdqepmuunwqhzunz.supabase.co/storage/v1/object/public/branding/Spa%20image%202.png') center/cover no-repeat;
    background-attachment: fixed; /* Creates the parallax scrolling effect */
    position: relative;
}

/* Glassmorphic Article Boxes */
.glass-article {
    display: flex;
    max-width: 1000px;
    margin: 0 auto 60px auto;
    background: rgba(255, 255, 255, 0.08); /* Extremely subtle white tint */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden; /* Forces the image to clip to the soft corners */
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.glass-article.reverse {
    flex-direction: row-reverse;
}
.glass-article:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Image Setup */
.article-image-box {
    width: 45%;
    position: relative;
    overflow: hidden;
}
.article-image-box img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.glass-article:hover .article-image-box img {
    transform: scale(1.05); /* Gentle zoom on hover */
}

/* Text Content Setup */
.article-content {
    width: 55%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.article-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #FFFFFF; /* Pure bright white */
    font-weight: 600;
    margin-bottom: 15px;
}
.article-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.8rem;
    margin: 0 0 20px 0;
    line-height: 1.3;
}
.article-snippet {
    color: #FFFFFF; /* Pure bright white */
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.95;
}
.read-more {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.arrow {
    transition: transform 0.3s ease;
}
.glass-article:hover .arrow {
    transform: translateX(10px); /* Arrow slides right on hover */
}

/* The Final Quote Break */
.final-quote-section {
    background-color: #050505; /* Seamless transition to the black footer */
    padding: 100px 20px 40px 20px;
}
.final-quote-text {
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 300;
    font-size: 2.2rem;
    color: #FFFFFF;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

/* =========================================
   NEW SPLIT EDITORIAL SUBPAGE HERO
   ========================================= */

.subpage-hero-new {
    height: 45vh; 
    background-color: var(--forest-green); 
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 60px;
}
.hero-split {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.hero-left {
    text-align: left;
    max-width: 600px;
}
.hero-left h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    font-size: 3.5rem;
    color: #FFFFFF;
    margin: 0 0 15px 0;
    letter-spacing: 6px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Adds contrast against images */
}
.hero-line {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    width: 80px; 
    margin: 0 0 20px 0;
}
.hero-left p {
    font-family: Georgia, serif;
    font-style: italic;
    color: #FFFFFF; /* Changed to pure white */
    font-size: 1.2rem;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}
.btn-glass {
    display: inline-block;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 30px; 
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* =========================================
   MOBILE RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 768px) {
    /* Nav */
    nav {
        padding: 15px 10px;
        justify-content: flex-start; 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        -ms-overflow-style: none;  
        scrollbar-width: none;  
    }
    nav::-webkit-scrollbar { display: none; }
    nav a { margin: 0 10px; font-size: 0.7rem; }

         /* Welcome & Hero */
    .hero-pre-title { font-size: 0.75rem; letter-spacing: 5px; }
    .serif-title { font-size: 2.5rem; letter-spacing: 2px; }
    .script-title { font-size: 5rem; margin-top: -15px; margin-left: 30px; }
    .welcome-section { padding: 0 20px; margin: 80px auto; }
    .welcome-text h2 { font-size: 1.8rem; letter-spacing: 4px; }

    /* Metrics */
    .metrics-glass-box { padding: 40px 20px; }
    .metric-circle { width: 280px; height: 280px; }

    /* Rituals & Press Main Page */
    .editorial-heading, .press-heading { font-size: 1.8rem; }
    .press-grid { grid-template-columns: 1fr; gap: 40px; } 

    /* Socials Album Stack */
    .socials-heading { font-size: 1.8rem; letter-spacing: 4px; }
    .socials-stack { width: 260px; height: 260px; margin-bottom: 60px; }
    .social-buttons { flex-direction: column; align-items: center; }
    .social-btn { width: 200px; text-align: center; }

    /* Footer */
    .footer-grid { flex-direction: column; text-align: center; }

    /* About Page */
    .philosophy-grid { grid-template-columns: 1fr; gap: 40px; }
    .philosophy-text-sticky { position: static; }
    .philosophy-image-window { height: 50vh; } 
    .scroll-img { height: 300px; }
    .quote-break-text { font-size: 1.4rem; }
    .accordion-container { flex-direction: column; height: 800px; }
    .vertical-title { writing-mode: horizontal-tb; transform: none; }
    .manifesto-pill-box { margin: 0 20px; padding: 20px 30px; text-align: center; border-radius: 50px; }
    .manifesto-pill-box h3 { font-size: 1rem; }

    /* Rituals/Services Page */
    .mood-prompt { font-size: 1.2rem; }
    .treatment-title-area h3 { font-size: 1.1rem; }
    .treatment-price { font-size: 1rem; }
    .gift-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .gift-image img { height: 300px; }
    .etiquette-grid { grid-template-columns: 1fr; gap: 40px; }

    /* Rewards Page Mobile Fixes */
    .curation-block, .curation-block.reverse { flex-direction: column; }
    .curation-img { width: 100%; height: 350px; }
    .curation-card { width: 90%; margin-left: 0; margin-top: -50px; padding: 30px; text-align: center; }
    .curation-block.reverse .curation-card { margin-right: 0; }

    .passport-timeline::after { left: 20px; } 

    /* Moves thread to the left */
    .timeline-item { width: 100%; padding-left: 60px; padding-right: 0; margin-bottom: 40px; }
    .timeline-item.left, .timeline-item.right { left: 0; text-align: left; }
    .timeline-item::after, .timeline-item.right::after { left: 12px; }

    /* Press Page Mobile Fixes */
    .glass-article, .glass-article.reverse { 
        flex-direction: column; 
        margin-bottom: 40px; 
        width: 100%; 
        box-sizing: border-box; /* Stops the box from bleeding outward */
    }
    .article-image-box { width: 100%; height: 250px; }
    .article-image-box img { min-height: 250px; }
    .article-content { 
        width: 100%; 
        padding: 30px 15px; /* Slightly tighter padding for phones */
        text-align: center; 
        box-sizing: border-box; 
        overflow-wrap: break-word; /* Forces long words to wrap securely */
    }
    .article-title { font-size: 1.5rem; } /* Slightly smaller to fit phone screens perfectly */
    .read-more { justify-content: center; }
    .final-quote-text { font-size: 1.6rem; }

    /* Split Hero Mobile Fixes */
    .subpage-hero-new { height: auto; padding: 120px 20px 60px 20px; }
    .hero-split { flex-direction: column; align-items: flex-start; gap: 40px; }
    .hero-left h1 { font-size: 2.5rem; }
}
