/* 1. BRAND VARIABLES */
:root {
    --bg: #FDFBF7;       /* Bone White / Linen */
    --bg-alt: #F4EBE6;   /* Soft Blush/Linen for alternating sections */
    --text: #2D2926;     /* Deep Charcoal */
    --accent: #B09B89;   /* THE TAUPE (Sandstone) */
    --white: #ffffff;
    --navy: #1e3a5f;     /* Keeping this for high-contrast buttons */
}

/* 2. GLOBAL RESET & BASE TYPOGRAPHY */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* 3. HEADINGS & QUOTES */
h1, h2, h3, h4, blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
}

/* 4. NAVIGATION & LOGO */
nav {
    padding: 30px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(249, 248, 246, 0.9);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Great Vibes', cursive;
    font-size: 3.2rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 400 !important;
    letter-spacing: -1.5px;
    text-transform: none;
}

.nav-links { display: flex; list-style: none; gap: 40px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }

.nav-cta {
    border: 1px solid var(--text);
    padding: 10px 20px;
    border-radius: 50px;
    transition: 0.3s;
}

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

/* STICKY CTA */
.sticky-cta {
    display: none;
    padding: 10px 25px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    border-radius: 50px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.sticky-cta.visible {
    display: inline-block;
    opacity: 1;
    transform: translateY(0);
}

.sticky-cta:hover {
    background: var(--text);
}

/* HAMBURGER STYLING */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text);
    transition: all 0.3s ease;
}

/* 5. HERO SECTION */
.hero {
    display: flex;
    height: 100vh;
    align-items: center;
    padding: 0 5%;
    gap: 5%;
}

.hero-image-wrapper { 
    flex: 1; 
    height: 80vh; 
    overflow: hidden; /* This acts as the frame—don't remove this! */
    position: relative;
}

.hero-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    filter: grayscale(20%); 
    transform: scale(1) translateZ(0);
    transform-origin: center center;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-text { flex: 1; max-width: 500px; }

.eyebrow { 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    font-size: 0.75rem; 
    color: var(--accent); 
    display: block;
    margin-bottom: 20px;
}

h1 { font-size: 5rem; line-height: 0.9; margin-bottom: 30px; }
h1 em { font-style: italic; }

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 40px;
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: 0.3s;
}

/* 6. PRESS SECTION */
.press { text-align: center; padding: 60px 5%; background: var(--bg-alt); }
.press p { text-transform: uppercase; font-size: 0.7rem; letter-spacing: 3px; margin-bottom: 40px; color: #999; }
.press-logos { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; }

.press-logo {
    height: 50px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.press-logo:hover { opacity: 1; }

/* 6.5 ABOUT SECTION */
.about {
    padding: 120px 5%;
    background: var(--bg);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: grayscale(20%);
}

.about-content .eyebrow {
    margin-bottom: 15px;
}

.about-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 35px;
}

.about-content h2 em {
    font-style: italic;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.about-content p strong {
    color: var(--text);
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.certifications span {
    padding: 8px 16px;
    background: var(--bg-alt);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
}

/* ABOUT PAGE SPECIFIC STYLES */
.about-hero {
    padding: 180px 5% 80px;
    background: var(--bg-alt);
    text-align: center;
}

.about-hero h1 {
    font-size: 4rem;
    margin-bottom: 0;
}

.about-hero .eyebrow {
    margin-bottom: 20px;
}

.about-page {
    padding-top: 80px;
}

.about-page .intro {
    font-size: 1.15rem;
    line-height: 1.9;
}

.about-philosophy {
    padding: 100px 5%;
    background: var(--bg-alt);
}

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

.philosophy-container h2 {
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: left;
}

.philosophy-item {
    padding: 30px;
    background: var(--bg);
    border-radius: 4px;
}

.philosophy-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text);
}

.philosophy-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
}

.about-cta {
    padding: 100px 5%;
    background: var(--bg);
    text-align: center;
}

.about-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.about-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-cta p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}

/* 7. SERVICES GRID */
.services { padding: 120px 5%; background: var(--bg); }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: 3rem; }
.service-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px; 
    max-width: 1200px; 
    margin: 0 auto; 
}

.service-item { 
    padding: 40px; 
    border-left: 1px solid #eee; 
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-icon-wrapper {
    margin-bottom: 25px;
    color: var(--accent);
    display: flex;
    justify-content: center;
}

.service-icon {
    opacity: 0.8;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon {
    transform: translateY(-5px);
    opacity: 1;
}

.service-item h3 { margin-bottom: 20px; font-size: 1.5rem; }

/* 8. TESTIMONIALS CAROUSEL */
.testimonials {
    padding: 120px 5%;
    background: var(--bg-alt);
    text-align: center;
    overflow: hidden;
}

.testimonials .section-header {
    margin-bottom: 30px;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    cursor: grab;
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonial-slide blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    line-height: 1.5;
    margin: 0 auto 30px;
    font-style: italic;
    color: var(--text);
    max-width: 600px;
}

.testimonial-slide cite {
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    font-style: normal;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-btn {
    background: transparent;
    border: 1px solid var(--accent);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--accent);
}

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

.carousel-dots {
    display: flex;
    gap: 10px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* NEWSLETTER */
.newsletter { padding: 100px 5%; background: var(--bg); }
.newsletter-box { background: var(--text); color: var(--white); padding: 80px; text-align: center; max-width: 1000px; margin: 0 auto; }
.newsletter-box h2 { font-size: 2.4rem; margin-bottom: 20px; }
.email-form { margin-top: 40px; display: flex; justify-content: center; }
.email-form input { padding: 20px; width: 300px; border: none; }
.email-form button { padding: 20px 40px; background: var(--accent); color: white; border: none; cursor: pointer; text-transform: uppercase; font-weight: 600; }

/* 9. FOOTER */
footer { padding: 120px 5%; text-align: center; background: var(--bg-alt); }
footer h2 { font-size: 2.4rem; margin-bottom: 20px; white-space: nowrap; }
.privacy-note { max-width: 500px; margin: 40px auto; font-size: 0.8rem; color: var(--accent); line-height: 1.4; }
.btn-dark { display: inline-block; padding: 20px 50px; background: var(--text); color: var(--white); text-decoration: none; text-transform: uppercase; letter-spacing: 2px; margin: 40px 0; }
.footer-bottom { margin-top: 100px; font-size: 0.7rem; opacity: 0.5; text-transform: uppercase; letter-spacing: 1px; }

/* 10. REFINED STAGGERED REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 
        opacity 1.2s cubic-bezier(0.2, 0.6, 0.2, 1),
        transform 1.2s cubic-bezier(0.2, 0.6, 0.2, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Add this to parents where children should reveal in a sequence */
.stagger-container .reveal:nth-child(1) { transition-delay: 0.1s; }
.stagger-container .reveal:nth-child(2) { transition-delay: 0.25s; }
.stagger-container .reveal:nth-child(3) { transition-delay: 0.4s; }
.stagger-container .reveal:nth-child(4) { transition-delay: 0.55s; }

/* 11. RESPONSIVE */
@media (max-width: 900px) {
    .hero { flex-direction: column; height: auto; padding-top: 120px; }
    h1 { font-size: 3.5rem; }
    .service-grid { grid-template-columns: 1fr; }
    .hero-image-wrapper { width: 100%; height: 50vh; margin-bottom: 40px; }
    .newsletter-box { padding: 60px 40px; }
    .testimonial-slide blockquote { font-size: 1.5rem; }
    .mobile-menu-toggle { display: flex; }
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    }
    .nav-links.active { right: 0; }
    
    /* About section responsive */
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-image img {
        height: 400px;
    }
    .about-content h2 {
        font-size: 2.5rem;
    }
    
    /* About page responsive */
    .about-hero h1 { font-size: 3rem; }
    .philosophy-grid { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 600px) {
    nav { padding: 20px 5%; }
    .logo { font-size: 2.2rem; }
    .hero { padding-top: 80px; padding-bottom: 40px; }
    h1 { font-size: 2.5rem; line-height: 1; }
    .service-item { border-left: none; border-top: 1px solid #eee; }
    .sticky-cta { 
        padding: 8px 16px; 
        font-size: 0.6rem; 
    }
    
    /* Press logos 2x2 grid on mobile */
    .press-logos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
        max-width: 320px;
        margin: 0 auto;
    }
    .press-logo {
        height: 40px;
        max-width: 140px;
        justify-self: center;
    }
    
    /* Footer headline smaller on mobile */
    footer h2 { font-size: 1.8rem; }
    
    /* Section headers smaller on mobile */
    .section-header h2 { font-size: 2.7rem; }
    
    /* About section mobile */
    .about { padding: 80px 5%; }
    .about-image img { height: 350px; }
    .about-content h2 { font-size: 2rem; }
    .about-content p { font-size: 1rem; }
    .certifications { gap: 10px; }
    .certifications span { 
        padding: 6px 12px; 
        font-size: 0.65rem; 
    }
    
    /* About page mobile */
    .about-hero { padding: 140px 5% 60px; }
    .about-hero h1 { font-size: 2.2rem; }
    .about-philosophy { padding: 60px 5%; }
    .philosophy-container h2 { font-size: 2rem; margin-bottom: 40px; }
    .philosophy-item { padding: 25px; }
    .about-cta { padding: 60px 5%; }
    .about-cta h2 { font-size: 2rem; }
}

/* ======================= */
/* CONTACT PAGE STYLES     */
/* ======================= */

.contact-hero {
    padding: 180px 5% 80px;
    background: var(--bg-alt);
    text-align: center;
}

.contact-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.contact-hero .eyebrow {
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.1rem;
    color: #555;
    max-width: 500px;
    margin: 0 auto;
}

.contact-section {
    padding: 80px 5% 120px;
    background: var(--bg);
}

.contact-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.contact-form {
    background: var(--white);
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    font-weight: 500;
}

.form-group label .required {
    color: #c45;
}

.form-group label .optional {
    color: #999;
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #e0dcd8;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(176, 155, 137, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

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

.submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 20px 40px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: var(--text);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.contact-info {
    padding-top: 20px;
}

.contact-info-item {
    margin-bottom: 40px;
}

.contact-info-item h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.contact-info-item p {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
}

.contact-info-item a {
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--accent);
    transition: border-color 0.3s ease;
}

.contact-info-item a:hover {
    border-color: var(--text);
}

/* Thank You Page */
.thank-you-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 5%;
    background: var(--bg);
}

.thank-you-content {
    max-width: 500px;
}

.thank-you-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.thank-you-content p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Contact Page Responsive */
@media (max-width: 900px) {
    .contact-hero h1 { font-size: 3rem; }
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-form { padding: 40px; }
    .contact-info { 
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .contact-info-item { margin-bottom: 0; }
}

@media (max-width: 600px) {
    .contact-hero { padding: 140px 5% 60px; }
    .contact-hero h1 { font-size: 2.2rem; }
    .contact-section { padding: 60px 5% 80px; }
    .contact-form { padding: 30px 25px; }
    .contact-info { grid-template-columns: 1fr; gap: 25px; }
    .thank-you-content h1 { font-size: 3rem; }
}