:root {
    --primary: #2D2926;
    --primary-light: #4A4541;
    --accent: #C5B358;
    --accent-dark: #7A6915; /* High-contrast gold for text WCAG AA compliance (5.1:1 contrast) */
    --bg: #F9FAFB;
    --secondary: #F2ECE4;
    --text: #2D2926;
    --text-muted: #6B7280;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(200, 180, 150, 0.2);
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 1280px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
}

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

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Eyebrow */
.eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: var(--accent-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Glass Card */
.glass-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

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

.card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    color: white;
    transform: scale(1.05);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.experience-section {
    padding: 8rem 0;
    background: url('assets/watercolor_bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6); /* Reduced overlay to let more color through */
    z-index: 1;
}

.experience-section .container {
    position: relative;
    z-index: 2;
}

.science-section {
    padding: 8rem 0;
    background: url('assets/watercolor_bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.science-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.science-section .container {
    position: relative;
    z-index: 2;
}

nav.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid var(--glass-border);
}

nav.scrolled .logo a {
    font-size: 1.8rem;
}

/* Nav CTA Transparent Header Override */
.nav-cta .btn-primary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.nav-cta .btn-primary:hover {
    background-color: white;
    color: var(--primary);
}

nav.scrolled .nav-cta .btn-primary {
    background-color: var(--accent);
    color: var(--primary);
    border: 2px solid var(--accent);
}

nav.scrolled .nav-cta .btn-primary:hover {
    background-color: var(--accent-dark);
    color: white;
    border-color: var(--accent-dark);
}

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

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

.brand-logo {
    display: grid;
    place-items: center;
    width: clamp(165px, 20vw, 250px);
    height: 70px;
    line-height: 1;
    transition: width 0.3s ease, height 0.3s ease;
}

.brand-logo__asset {
    grid-area: 1 / 1;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.brand-logo__asset img,
.footer-brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-logo__asset--on-dark {
    opacity: 1;
    filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.35));
}

.brand-logo__asset--on-light {
    opacity: 0;
}

nav.scrolled .brand-logo {
    width: clamp(155px, 18vw, 230px);
    height: 58px;
}

nav.scrolled .brand-logo__asset--on-dark {
    opacity: 0;
}

nav.scrolled .brand-logo__asset--on-light {
    opacity: 1;
    filter: none;
}

.logo a {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    line-height: 0.8;
    color: var(--primary);
    letter-spacing: 0;
}

.logo a.brand-logo,
.logo a.footer-brand-logo {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1;
}

.logo-sub {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 2px;
    color: var(--primary-light);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

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

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

nav.scrolled .nav-links a:hover {
    color: var(--accent-dark);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: white;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
    transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

nav.scrolled .mobile-toggle span {
    background-color: var(--primary);
    filter: none;
}

.mobile-toggle.open span {
    background-color: var(--primary) !important;
}

/* Section Spacing */
section {
    padding: 100px 0;
    position: relative;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(45, 41, 38, 0.8), transparent);
}

.hero-content {
    color: white;
    max-width: 800px;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content span {
    color: var(--accent);
    font-style: italic;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1), transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.atelier-menu-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.menu-category h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-dark);
    border-bottom: 1px solid var(--accent);
    padding-bottom: 0.5rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.item-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--onyx);
}

.item-price {
    font-weight: 600;
    white-space: nowrap;
    color: var(--onyx);
}

.item-price small {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-dark);
    text-align: right;
}

@media (max-width: 768px) {
    .atelier-menu-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.gallery-item {
    overflow: hidden;
}

.gallery-img {
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Experience Section */
.experience-list {
    margin-top: 2rem;
}

.experience-list li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.experience-list li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Treatments Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
}

.treatment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.treatment-card {
    padding: 3rem;
    text-align: center;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.treatment-card.highlight {
    border: 1px solid var(--accent);
    background: white;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.treatment-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.promo-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--primary);
    padding: 0.4rem 1.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.treatment-card h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.treatment-card .price {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.treatment-card .desc {
    margin-bottom: 2rem;
    opacity: 0.8;
}

.btn-text {
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--accent);
}

.treatment-note {
    text-align: center;
    margin-top: 4rem;
    opacity: 0.7;
    font-size: 0.875rem;
}

.treatment-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* Science Section */
.science-section {
    background-color: var(--secondary);
    border-radius: 60px 60px 0 0;
}

.science-stats {
    display: flex;
    gap: 3rem;
    margin: 3rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--accent-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.science-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.science-card {
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.science-card .icon {
    font-size: 2rem;
}

.science-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.science-card p {
    font-size: 0.9375rem;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gallery-item {
    border-radius: 30px;
    overflow: hidden;
    height: 500px;
}

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

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

.gallery-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.studio-features {
    margin-top: 2rem;
    display: grid;
    gap: 1rem;
}

.studio-features li {
    font-weight: 600;
    color: var(--accent-dark);
    padding-left: 1.5rem;
    position: relative;
}

.studio-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 350px;
    }
}

/* Footer */
footer {
    background-color: var(--primary);
    color: white;
    padding: 80px 0 40px;
}

footer h3, footer h4 {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
}

.social-links a:hover {
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand p {
    margin: 1.5rem 0;
    opacity: 0.8;
    max-width: 300px;
}

.footer-brand-logo {
    display: block;
    width: min(280px, 100%);
    height: 92px;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.25));
}

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

.footer-links a {
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-contact .btn-outline {
    border-color: var(--accent);
    color: var(--accent);
}

.footer-contact .btn-outline:hover {
    background-color: var(--accent);
    color: var(--primary);
    transform: scale(1.05);
}

/* Treatment Menu Details */
.menu-category-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.item-sub {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Testimonials (Trust Engine) */
.testimonials-section {
    padding: 8rem 0;
    background-color: var(--bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    padding: 3rem 2.5rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-card .rating {
    color: var(--accent-dark);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.testimonial-card .quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text);
    font-style: italic;
    flex: 1;
}

.testimonial-card .author {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Local Map & Location */
.location-section {
    padding: 8rem 0;
    background-color: var(--secondary);
    border-radius: 60px 60px 0 0;
    position: relative;
    z-index: 2;
}

.location-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 60px 60px 0 0;
    z-index: 1;
}

.location-section .container {
    position: relative;
    z-index: 2;
}

.location-details {
    margin: 2rem 0;
    display: grid;
    gap: 1.25rem;
}

.location-details li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text);
    padding-left: 1.75rem;
    position: relative;
}

.location-details li::before {
    content: "📍";
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.location-details li:nth-child(2)::before {
    content: "🚗";
}

.location-details li:nth-child(3)::before {
    content: "♿";
}

.location-map {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.location-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}


.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.5;
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        gap: 1.5rem;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        display: block;
        padding: 0.5rem 0;
        color: var(--text) !important;
        text-shadow: none !important;
    }
    
    .nav-links a:hover {
        color: var(--accent-dark) !important;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        position: relative;
        gap: 0;
    }
    
    .mobile-toggle span {
        display: block;
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--primary);
        transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease;
    }
    
    .mobile-toggle span:nth-child(1) {
        transform: translateY(-4px);
    }
    
    .mobile-toggle span:nth-child(2) {
        transform: translateY(4px);
    }
    
    .mobile-toggle.open span:nth-child(1) {
        transform: translateY(0) rotate(45deg);
    }
    
    .mobile-toggle.open span:nth-child(2) {
        transform: translateY(0) rotate(-45deg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
