/* ==========================================================================
   Color Palette — derived from the brand swatch board
   Each section of the site draws its accent from a different swatch so the
   page reads as one cohesive earthy palette rather than repeating a single
   gold accent everywhere.
   ========================================================================== */
:root {
    --color-teal: #3f6570;       /* slate teal - Sustainability / Social */
    --color-sage: #8fa579;       /* muted sage green - About */
    --color-sage-light: #b6c69f; /* pale sage - soft tints/backgrounds */
    --color-forest: #4c6350;     /* deep forest green - Why Choose Us */
    --color-rust: #8a5a30;       /* rust brown - Approach / Blog */
    --color-tan: #b08d5b;        /* warm tan/gold - Services / Contact */
    --color-taupe: #77706a;      /* warm gray - secondary/body text */
    --color-beige: #b6ae99;      /* light beige - section backgrounds */
    --color-ink: #34342f;        /* near-black olive - primary text/dark UI */

    /* Light section-background tints, each mixed from a palette swatch so
       every section reads as a distinct but harmonious variation instead
       of reusing one neutral gray everywhere. */
    --bg-teal-tint: #d9e6e6;
    --bg-sage-tint: #dfe8d3;
    --bg-forest-tint: #d7e0d3;
    --bg-rust-tint: #ece0c9;
    --bg-tan-tint: #f4ecdf;
    --bg-beige-tint: #efeadd;

    /* Secondary text tones, derived from the taupe swatch */
    --text-secondary: #77706a;
    --text-muted: #96908a;

    /* Lighter variants for gradients on page-hero banners */
    --color-tan-light: #c9ab7c;
    --color-sage-dark: #6f855c;

    /* A fourth, paler green tint (from the sage-light swatch) used to give
       the brown/beige sections a green background too, cycling through
       teal / sage / forest / sage-light so no two sections in a row repeat
       the exact same shade. */
    --bg-sage-light-tint: #e2ecd6;

    /* A fifth green — a slightly deeper mid-tone teal-green tint, used so
       four consecutive green sections (Approach, Services, Why Choose Us,
       Social Media) each read as visibly distinct rather than repeating. */
    --bg-teal-green-tint: #cfe0dc;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-ink);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-tan);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px;
}

/* Hero Section */
/* Base color now matches the site's own light background (the same tone
   used by the About section directly below) instead of a dark gray, so
   the triangular corners exposed by the V-cut blend seamlessly into the
   page rather than reading as a separate dark block. */
.hero {
    min-height: 100vh;
    background: var(--bg-teal-tint);
    position: relative;
    /* overflow is intentionally visible (not hidden): .hero-reel below is
       taller than the hero itself and dips past this box in a V shape into
       the Sustainability section beneath it. Giving .hero an explicit
       z-index turns it into its own stacking context that paints above
       that next section's own (auto z-index) layer, so the overflowing
       part of the video is actually visible on top of it rather than
       being covered up by the next section's background. */
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    position: relative;
    z-index: 1000;
}

.nav-left {
    position: relative;
}

/* Modern Menu Button */
.menu-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 1100;
    transition: all 0.3s ease;
}

.menu-btn span {
    width: 32px;
    height: 2px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

.menu-btn:hover span {
    background: var(--color-tan);
}

/* Menu button active state - X transformation */
.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--color-ink);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--color-ink);
}

/* Fullscreen Dropdown Menu Overlay */
.dropdown-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 240, 240, 0.92) 100%),
                url('https://images.unsplash.com/photo-1511818966892-d7d671e672a2?w=1600&q=30&blur=50') center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100%);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    padding: 0 50px;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Menu Items Container */
.dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-right: 1px solid rgba(220, 220, 220, 0.5);
    padding: 0 35px;
    height: 100%;
    opacity: 0;
    transform: translateX(-30px);
    flex: 0 0 auto;
}

.dropdown-menu.active a {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for menu items */
.dropdown-menu.active a:nth-child(1) { transition-delay: 0.1s; }
.dropdown-menu.active a:nth-child(2) { transition-delay: 0.15s; }
.dropdown-menu.active a:nth-child(3) { transition-delay: 0.2s; }
.dropdown-menu.active a:nth-child(4) { transition-delay: 0.25s; }
.dropdown-menu.active a:nth-child(5) { transition-delay: 0.3s; }
.dropdown-menu.active a:nth-child(6) { transition-delay: 0.35s; }

.dropdown-menu a:last-child {
    border-right: none;
}

.dropdown-menu a:hover {
    color: var(--color-ink);
    background: rgba(176, 141, 91, 0.08);
}

.dropdown-menu a::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-tan);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu a:hover::after {
    width: 25px;
}

/* Close button styling */
.menu-close-hint {
    display: none;
}

/* Light Navbar (for non-home pages) */
.navbar-light .menu-btn span {
    background: var(--color-ink);
}

.navbar-light .menu-btn.active span {
    background: var(--color-ink);
}

/* Logo */
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--color-tan);
}

/* Positioned as an absolute overlay spanning the EXACT same box as
   .hero::before (top:0 to bottom:0 of the whole hero, not just the space
   below the nav), and clipped with the identical V-shape polygon. This
   guarantees the P letterform inside is cut off by the V at precisely
   the same line as the background image.

   justify-content is flex-start (not center) with an explicit padding-top
   that clears the navbar plus a comfortable gap, so the tagline always
   starts with real breathing room below the nav instead of being
   vertically centered across the FULL hero box (which, with a nav sitting
   on top of it, was pushing the tagline up against/behind the nav). */
/* ==========================================================================
   Hero background video — mountains -> plot -> farmhouse -> interior.
   Full-bleed, autoplaying, muted, and looping so it reads as ambient
   cinematic background rather than media the visitor has to interact with.
   ========================================================================== */
/* .hero-reel is taller than the hero section itself (extends 90px below
   it via the negative bottom offset) and clipped into a downward-pointing
   V, so the video visibly continues past the hero's own rectangular
   bottom edge and dips into the Sustainability section beneath it. The
   hero's own z-index (set above) makes sure this overflow paints on top
   of that next section instead of being hidden behind it. */
.hero-reel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -90px;
    z-index: 0;
    overflow: hidden;
    background: var(--color-ink);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Reworked again per client feedback: neither the original
       brightness-only lift (1.12, read as yellow/overexposed) nor the
       saturate-down version (0.85, read as dull/washed out) actually
       fixed the warm color CAST — saturation/brightness only scale
       existing colors, they can't shift a color balance. A slight
       hue-rotate is what actually cools a yellow cast back toward
       neutral daylight (rotating away from yellow, toward blue/cyan),
       while brightness stays high so the footage still reads as bright
       and clear, not dull. */
    filter: hue-rotate(-8deg) saturate(0.92) brightness(1.1);
}

/* A flat, even, light wash across the ENTIRE .hero-reel — same size as the
   video itself (top:0 to the same -90px bottom offset, same V clip-path
   inherited from the parent), so it genuinely covers the full hero section
   top-to-bottom and edge-to-edge, not just the area directly behind the
   tagline. Kept light/transparent so the footage still reads clearly
   through it — this single layer is what keeps the text legible wherever
   it happens to sit, without needing a separate boxed panel behind it. */
.hero-reel-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: rgba(20, 22, 18, 0.3);
    pointer-events: none;
}

@media (max-width: 768px) {
    .hero-reel {
        bottom: -50px;
    }
}

/* Hero content sits above the reel, centered, no clipping/V-cut this time
   since the reel itself is the full-bleed visual now. */
.hero-content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

/* No visual distinction from the rest of the line anymore — client wants
   one uniform tagline, not a two-color split. This span now just inherits
   everything (color included) from .hero-tagline-large; kept as an
   element (rather than removing the markup) only so the HTML doesn't
   need touching. */
.hero-tagline-strong {
    color: inherit;
}

/* Small "scroll" hint at the very bottom of the hero */
.hero-scroll-cue {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.6s forwards;
}

.hero-scroll-cue span {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    position: relative;
}

.hero-scroll-cue span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    background: #fff;
    border-radius: 2px;
    animation: heroScrollDot 1.6s ease-in-out infinite;
}

@keyframes heroScrollDot {
    0% { opacity: 1; transform: translateY(0); }
    60% { opacity: 0; transform: translateY(14px); }
    100% { opacity: 0; transform: translateY(0); }
}

/* Tagline overlay — no boxed panel behind the text anymore; legibility now
   comes from the single light wash across the whole video (.hero-reel-overlay
   above) plus the text-shadow below. */
.hero-overlay-text {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 45px;
    opacity: 0;
    animation: heroTaglineReveal 2.6s cubic-bezier(0.22, 1, 0.36, 1) 1.1s forwards;
}

/* Slow, seamless reveal for the tagline: a long, gentle rise + slow
   blur-to-focus with most of the motion happening in the first half and
   an extended, barely-perceptible settle in the second half (via the
   in-between keyframe), so it never feels like it "snaps" into place. */
@keyframes heroTaglineReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    60% {
        opacity: 1;
        transform: translateY(2px);
        filter: blur(0.5px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Bebas Neue — a tall, condensed, all-caps display face with a distinct
   architectural-signage feel, used here in place of the previous plain
   sans-serif so the tagline reads as a bold, trendy statement rather than
   a soft descriptive line. */
.hero-tagline-large {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    font-size: 5.6rem;
    line-height: 1.12;
    font-weight: 400;
    color: #f8f6ef;
    text-transform: uppercase;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.6);
    letter-spacing: 3px;
    max-width: 900px;
}

/* ==========================================================================
   Section Transitions
   Several different techniques are mixed across the page (rather than one
   repeated wave) so the seam between each pair of sections feels designed
   for that specific spot rather than a copy-pasted effect:

   - .transition-wave   : a curved SVG dip, filled with the next section's
                           color, fully contained INSIDE its own section
                           (bottom: 0, not a negative offset) so overflow:
                           hidden on the section can never clip it off —
                           that clipping was the earlier bug causing a
                           stray sliver of unmatched color to show through.
   - .transition-fade    : a soft vertical gradient that fades the current
                           section's own background down into the next
                           section's flat color — a blend with no shape
                           at all, used where a hard curve read as too busy.
   - .transition-diagonal: an angled wedge cut (same V-cut technique as the
                           hero), used once for visual variety instead of
                           another wave.
   - .transition-line    : a slim gradient accent bar sitting exactly on a
                           clean straight seam, for spots that should read
                           as a deliberate flat line rather than a curve.
   All four reveal with a gentle rise/fade the moment their section
   scrolls into view (same .visible trigger already driving every other
   animation on the page).
   ========================================================================== */
.transition-wave,
.transition-fade,
.transition-diagonal,
.transition-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 4;
    pointer-events: none;
    line-height: 0;
}

.transition-wave {
    height: 100px;
    opacity: 0;
    transform: translateY(18px);
}

.transition-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

.transition-fade {
    height: 160px;
    opacity: 0;
}

.transition-diagonal {
    height: 130px;
    opacity: 0;
    transform: translateY(14px);
}

.transition-diagonal .diagonal-fill {
    position: absolute;
    inset: 0;
    clip-path: polygon(0 62%, 100% 22%, 100% 100%, 0 100%);
}

.transition-line {
    height: 5px;
    bottom: 0;
    opacity: 0;
    transform: scaleX(0.85);
    transform-origin: center;
}

.sustainability.visible .transition-wave,
.about.visible .transition-wave,
.approach.visible .transition-wave,
.services.visible .transition-wave,
.social-media.visible .transition-wave,
.blog.visible .transition-wave,
.contact.visible .transition-wave,
.client-cta-section.visible .transition-wave {
    animation: waveReveal 1.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.sustainability.visible .transition-fade,
.about.visible .transition-fade,
.approach.visible .transition-fade,
.services.visible .transition-fade,
.social-media.visible .transition-fade,
.blog.visible .transition-fade,
.contact.visible .transition-fade,
.ab-haven.visible .transition-fade,
.ab-goalvision.visible .transition-fade,
.ab-values.visible .transition-fade,
.ab-kinetic.visible .transition-fade,
.ab-stages.visible .transition-fade,
.ab-team.visible .transition-fade {
    animation: fadeReveal 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.approach.visible .transition-diagonal {
    animation: diagonalReveal 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.about.visible .transition-line,
.social-media.visible .transition-line,
.client-cta-section.visible .transition-line {
    animation: lineReveal 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

@keyframes waveReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeReveal {
    to {
        opacity: 1;
    }
}

@keyframes diagonalReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineReveal {
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@media (max-width: 768px) {
    .transition-wave {
        height: 60px;
    }

    .transition-fade {
        height: 100px;
    }

    .transition-diagonal {
        height: 80px;
    }
}

/* Sustainability Section */
.sustainability {
    background: var(--bg-teal-tint);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    min-height: 480px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Large background text - "FOR THE LOVE OF" - absolutely centered so it can never drift to one side */
.sustainability-bg-text {
    position: absolute;
    top: 52%;
    left: 50%;
    font-family: 'Oswald', sans-serif;
    font-size: 8.5rem;
    font-weight: 600;
    color: rgba(76, 99, 80, 0.16);
    letter-spacing: -1.5px;
    white-space: nowrap;
    line-height: 1;
    margin: 0;
    padding: 0;
    z-index: 0;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
}

.sustainability.visible .sustainability-bg-text {
    animation: fadeInScaleCentered 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

/* SUSTAINABILITY heading - positioned EXACTLY in center, overlapping "FOR THE LOVE OF", moved up and left */
.sustainability-heading {
    position: absolute;
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--color-forest);
    letter-spacing: -0.5px;
    margin: auto;
    padding: 0;
    z-index: 1;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    opacity: 0;
}

.sustainability.visible .sustainability-heading {
    animation: fadeInScaleCentered 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

/* Word-cycling wrapper for "VINTAGE / HEDONISM / SUSTAINABILITY" — fixed
   height/width so the layout never shifts as the word changes. Each
   .sustain-word is absolutely stacked in the same spot; JS toggles a
   single .active class at a time (strictly one word fading out fully
   before the next fades in — no overlap), which keeps the hand-off clean
   and unambiguous instead of two words ever being partially visible
   together. Pure opacity + a very slight scale is used (no directional
   slide) so the transition reads as one smooth dissolve, not motion. */
.sustain-word-cycle {
    position: relative;
    display: inline-block;
    height: 1.2em;
    min-width: 420px;
    vertical-align: bottom;
}

.sustain-word {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 1.1s ease, transform 1.1s ease;
    pointer-events: none;
}

.sustain-word.active {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 600px) {
    .sustain-word-cycle {
        min-width: 240px;
    }
}

/* CTA text - the PLOTS acronym spelled out, sitting further down and with
   more breathing room from the heading above it. */
.sustainability-cta {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-forest);
    letter-spacing: 0.3px;
    margin: 230px 0 0 0;
    padding: 0;
    z-index: 1;
    position: relative;
    max-width: 720px;
    opacity: 0;
    transform: translateY(20px);
}

.sustainability.visible .sustainability-cta {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
}

/* PLOTS full-form styling: one clean serif family throughout (matches the
   heading font sitewide, rather than mixing an italic sans into a serif
   line, which was reading as mismatched/"weird"). Each word's first
   letter is bumped up in size and weight to stand out as the acronym
   initial; the rest of the word stays the same family, just smaller and
   lighter, so it reads as one cohesive typographic voice. */
.plots-fullform {
    text-transform: none;
    line-height: 1.7;
}

.plots-word {
    white-space: nowrap;
}

.plots-cap {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--color-forest);
}

.plots-rest {
    font-weight: 400;
    font-style: normal;
    color: var(--color-forest);
}

/* Only used by absolutely-centered elements (translate(-50%,-50%) base) */
@keyframes fadeInScaleCentered {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

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

/* About Section */
.about {
    background: var(--bg-teal-tint);
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Client-provided farmhouse-land photo, on its own oversized layer (taller
   than the section, top offset -15%) that JS nudges up/down as the page
   scrolls (see initAboutParallax() in script.js) — that vertical drift IS
   the parallax effect: the photo moves at a different rate than the text
   sitting on top of it, rather than relying on background-attachment:fixed
   (which is unreliable on mobile Safari and does nothing visually distinct
   once a section is this short). A light blur softens the photo just
   enough to sit behind text, and the tint is much lower-opacity than
   before so the photo itself stays clearly visible through it. */
.about-bg-layer {
    position: absolute;
    top: -15%;
    left: -5%;
    right: -5%;
    height: 130%;
    z-index: 0;
    background-image: url('images/pexels-alimadad-3396019.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(3px);
    will-change: transform;
    opacity: 0;
}

/* Slow fade-in as the section enters view. Deliberately only animates
   opacity (not transform) — transform on this element is driven
   continuously by the JS scroll-parallax loop (initAboutParallax() in
   script.js), and animating transform here too would fight/override
   that drift once the CSS animation's fill-mode kicks in. */
.about.visible .about-bg-layer {
    animation: aboutBgFadeIn 1.6s ease forwards;
}

@keyframes aboutBgFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.about-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(238, 242, 233, 0.42) 0%, rgba(238, 242, 233, 0.32) 100%);
    z-index: 0;
    pointer-events: none;
}

.about-heading {
    position: relative;
    z-index: 1;
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: 1px;
    margin: 0 0 40px 0;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(-30px);
}

.about.visible .about-heading {
    animation: fadeInDown 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

/* "Back to Roots" accent — a different font from the rest of the heading
   (Playfair Display, already loaded on this page for the PLOTS acronym,
   so it's a font that already belongs to this site's voice rather than a
   new import) in an italic serif, lowercase, at a slightly larger size —
   reads as a highlighted, more organic/vintage phrase against the bold
   uppercase Poppins surrounding it. */
.about-heading-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    font-size: 1.05em;
    color: var(--color-forest);
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto 60px;
}

.about-mission {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--color-ink);
    line-height: 1.8;
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
}

.about.visible .about-mission {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

/* Restored to its original treatment (dark ink pill, forest-green fill
   sweeps in on hover) — client wants this button to stay as-is, with
   .approach-btn below being the deliberately reversed one, so the two
   CTA buttons on the homepage alternate rather than match. */
.about-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 38px;
    border-radius: 50px;
    background: var(--color-ink);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}

.about.visible .about-btn {
    animation: fadeInScale 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.6s forwards;
}

.about-btn-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-forest);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-btn-label {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f5f2ea;
}

.about-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-btn:hover .about-btn-fill {
    transform: scaleX(1);
}

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

.section-btn {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-ink);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--color-ink);
}

.section-btn:hover {
    background: transparent;
    color: var(--color-ink);
}

/* Approach Section */
.approach {
    background: var(--bg-teal-tint);
    padding: 70px 40px;
    position: relative;
    overflow: hidden;
}

.approach-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 80px;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(0.95);
}

.approach.visible .approach-title {
    animation: fadeInScale 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

/* "Path" accent — same treatment as .about-heading-accent: Playfair
   Display italic serif, lowercase, in the brand forest-green, so both
   homepage headings use the identical highlighted-word pattern. */
.approach-title-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    font-size: 1.05em;
    color: var(--color-forest);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 80px;
}

.approach-step {
    position: relative;
    text-align: center;
}

/* Each of the three step columns is staggered as a group (0.3s apart),
   and WITHIN each column the number, title, and description each reveal
   in their own distinct way and slightly offset from one another, so the
   whole section builds up piece by piece rather than everything just
   fading in together. */
.approach.visible .approach-step:nth-child(1) .step-number { animation-delay: 0.2s; }
.approach.visible .approach-step:nth-child(1) .step-title { animation-delay: 0.4s; }
.approach.visible .approach-step:nth-child(1) .step-description { animation-delay: 0.55s; }

.approach.visible .approach-step:nth-child(2) .step-number { animation-delay: 0.5s; }
.approach.visible .approach-step:nth-child(2) .step-title { animation-delay: 0.7s; }
.approach.visible .approach-step:nth-child(2) .step-description { animation-delay: 0.85s; }

.approach.visible .approach-step:nth-child(3) .step-number { animation-delay: 0.8s; }
.approach.visible .approach-step:nth-child(3) .step-title { animation-delay: 1s; }
.approach.visible .approach-step:nth-child(3) .step-description { animation-delay: 1.15s; }

.step-number {
    font-family: 'Oswald', sans-serif;
    font-size: 14rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.08);
    letter-spacing: -3px;
    line-height: 0.75;
    margin: 0;
    padding: 0;
    opacity: 0;
    transform: scale(0.8);
}

.approach.visible .step-number {
    animation: stepNumberReveal 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes stepNumberReveal {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: 0.5px;
    margin: -40px 0 20px 0;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(18px);
}

.approach.visible .step-title {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.step-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-ink);
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    transform: translateY(14px);
}

.approach.visible .step-description {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Same fill-sweep concept as .about-btn, but with the two colors
   reversed: starts as a forest-green pill, and on hover an ink-dark fill
   sweeps in — the inverse of .about-btn's dark-pill/green-sweep. Centered
   via flex on its wrapper (see .approach .section-container) rather than
   margin:auto, since inline-flex elements don't respond to auto-margins
   the way block elements do — that mismatch was why it drifted to one
   side before. */
.approach-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 38px;
    border-radius: 50px;
    background: var(--color-forest);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    margin: 0 auto;
    width: fit-content;
    opacity: 0;
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}

.approach.visible .approach-btn {
    animation: fadeInScale 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s forwards;
}

.approach-btn-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.approach-btn-label {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f5f2ea;
}

.approach-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.approach-btn:hover .approach-btn-fill {
    transform: scaleX(1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Services Section — "pinned scroll" pattern. .services itself is a tall
   scroll track (JS sets its height to N steps * viewport height, see
   initServicesScrollSwap in script.js); .services-pin is sticky to the
   top of the viewport for the full height of that track, so the section
   visually holds still while the user scrolls through all 6 steps —
   each step swaps in as its own "page" of scroll distance — and only
   releases into Social Media once the last step has fully passed. */
.services {
    background: var(--bg-teal-tint);
    padding: 0;
    position: relative;
}

.services-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.services-heading-row {
    padding: 70px 60px 10px;
}

.services-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: 1px;
    text-align: left;
    margin: 0;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(0.95);
}

.services.visible .services-title {
    animation: fadeInScale 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

/* "Create" accent — same treatment as the "Path"/"Back to Roots" accents
   in the sections above: Playfair Display italic, lowercase, brand
   forest-green, so all three homepage headings share one consistent
   highlighted-word pattern. */
.services-title-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    font-size: 1.05em;
    color: var(--color-forest);
}

.services-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-auto-rows: 1fr is the actual fix here — without it, the
       single implicit row only sizes to its content's natural height
       (i.e. as tall as the text list), so the image container's
       height:100% below was matching that shorter height instead of the
       full pinned viewport, which is why the image looked shrunk down
       with empty space above it. This makes the row (and therefore the
       image) stretch to fill all remaining vertical space. */
    grid-auto-rows: 1fr;
    align-items: stretch;
    flex: 1;
    min-height: 0;
}

.services-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 40px 60px 60px;
    text-align: left;
}

/* Numbered service rows — small, compact, left-aligned, per the
   reference screenshot (the old version used large centered type; this
   uses a much smaller size, closer to the reference's understated list).
   .active is toggled by JS (initServicesScrollSwap in script.js) as each
   row crosses the section's vertical center while scrolling, which also
   drives the image swap on the right. The active row's arrow fades/slides
   in and its number+title shift into the brand green — mirroring the
   reference's "VITRYAK →" active-row treatment. */
.service-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.12);
    width: 100%;
    opacity: 0;
    transform: translateX(-30px);
    cursor: default;
}

.service-item:first-child {
    border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.services.visible .service-item {
    animation: fadeInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.services.visible .service-item:nth-child(1) { animation-delay: 0.3s; }
.services.visible .service-item:nth-child(2) { animation-delay: 0.4s; }
.services.visible .service-item:nth-child(3) { animation-delay: 0.5s; }
.services.visible .service-item:nth-child(4) { animation-delay: 0.6s; }
.services.visible .service-item:nth-child(5) { animation-delay: 0.7s; }
.services.visible .service-item:nth-child(6) { animation-delay: 0.8s; }

/* Different typeface from the rest of the section (Oswald, condensed and
   technical) used only for the number + service name — keeps this list
   visually distinct from the heading/button fonts elsewhere. */
.service-number {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    min-width: 24px;
    transition: color 0.4s ease;
}

.service-item.active .service-number {
    color: var(--color-forest);
}

.service-name {
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin: 0;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.service-item.active .service-name {
    color: var(--color-forest);
    font-weight: 600;
}

/* Arrow only shows on the active row, sliding in from the left — the
   distinctive "currently in focus" cue from the reference screenshot. */
.service-arrow {
    margin-left: auto;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--color-forest);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-item.active .service-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Image stack — every .services-image is absolutely stacked on top of
   the container; only the .active one is opaque, so switching which
   image has that class produces a clean cross-fade rather than a hard
   swap or layout jump. Container now spans the section's full height
   (not an inset rounded card), matching the reference screenshot where
   the image runs edge-to-edge on the right half of the section. */
.services-image-container {
    position: relative;
    overflow: hidden;
    height: 100%;
    opacity: 0;
    transform: scale(1.02);
}

.services.visible .services-image-container {
    animation: fadeIn 1.3s ease 0.3s forwards;
}

/* Soft fade at the bottom edge of the image, into the section's own
   background color — so the image doesn't end in a hard cut line right
   at the screen's bottom edge. */
.services-image-container::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 35%;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(217, 230, 230, 0) 0%, #d9e6e6 100%);
    pointer-events: none;
}

.services-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1s ease, transform 1.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-image.active {
    opacity: 1;
    transform: scale(1);
}

/* Exact match to .about-btn — same dark-ink pill, same forest-green
   sweep-in on hover, same font/size, per client request that this button
   look identical to the one in "Our Back to Roots Story" rather than
   being its own distinct style. */
.services-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 36px 0 0 0;
    width: fit-content;
    padding: 15px 38px;
    border-radius: 50px;
    background: var(--color-ink);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}

.services.visible .services-btn {
    animation: fadeInScale 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s forwards;
}

.services-btn-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-forest);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-btn-label {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f5f2ea;
}

.services-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.services-btn:hover .services-btn-fill {
    transform: scaleX(1);
}

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

@keyframes fadeInRightScale {
    from {
        opacity: 0;
        transform: translateX(40px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Social Media Section — testimonials + asymmetric social feed, per
   client-provided reference layout. Bottom padding reduced further
   (120px -> 70px -> 40px) to tighten the gap to Blog below, per client
   request. */
.social-media {
    background: var(--bg-teal-tint);
    padding: 120px 40px 40px;
    position: relative;
    overflow: hidden;
}

/* ---- Top row: heading + auto-cycling testimonial ---- */
.social-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 70px;
}

.social-media-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: 1px;
    text-align: left;
    margin: 0;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(0.95);
}

.social-media.visible .social-media-title {
    animation: fadeInScale 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

/* "Best" accent — same treatment as the other homepage headings'
   highlighted word: italic Playfair Display, brand forest-green. */
.social-media-title-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    font-size: 1.05em;
    color: var(--color-forest);
}

.testimonial-widget {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 8px;
    opacity: 0;
    transform: translateY(15px);
}

.social-media.visible .testimonial-widget {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

/* Small circular avatar stack — only the .active one is visible; JS
   (initTestimonialCycle in script.js) swaps which avatar/text pair is
   active every few seconds, cross-fading between them. */
.testimonial-avatar-stack {
    position: relative;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.testimonial-avatar {
    position: absolute;
    inset: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-forest);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-avatar.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text-stack {
    position: relative;
    flex: 1;
    min-height: 62px;
}

.testimonial-block {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.testimonial-block.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.testimonial-name {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-ink);
    margin: 0 0 4px 0;
}

.testimonial-role {
    font-weight: 400;
    color: var(--text-muted);
}

.testimonial-quote {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ---- Social feature grid: matches the reference image's exact layout ----
   Row 1: square photo | landscape video | portrait (spans both rows)
   Row 2: description+icons | square photo | (portrait continues)
   3 equal-width columns, description block sits parallel to the video
   and second square tile, per client request. */
.social-tile-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    grid-template-rows: 165px 165px;
    gap: 16px;
    margin-bottom: 0;
}

.social-tile {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    opacity: 0;
    transform: translateY(26px) scale(0.9);
}

/* Softer, slightly bouncier entrance than a plain scale-fade — eases
   past 1 briefly on scale for a touch of life, and rises up rather than
   just fading in place. */
.social-media.visible .social-tile {
    animation: tileRise 0.9s cubic-bezier(0.34, 1.15, 0.35, 1) forwards;
}

/* Forced to a true square (width == height == the row height) rather
   than stretching to fill its column — column 1 is narrower than the
   165px row height would need for a natural square, so this fixes the
   size explicitly. Right-aligned within its column (justify-self: end)
   so its right edge lines up with the video tile's left edge beside it. */
.tile-square-1 {
    grid-column: 1;
    grid-row: 1;
    width: 165px;
    height: 165px;
    justify-self: end;
}
.tile-landscape { grid-column: 2; grid-row: 1; }
/* Second square tile — back to its original 165px square size (left-
   aligned within its column, same as before). The new second video
   tile sits directly beside it in the SAME grid cell, spanning the
   rest of column 2's width — rectangular (height matches the square's
   165px, width fills whatever space remains in the column), not
   square, per client correction. */
.tile-square-2 {
    grid-column: 2;
    grid-row: 2;
    width: 165px;
    height: 165px;
    justify-self: start;
}
.tile-video-2 {
    grid-column: 2;
    grid-row: 2;
    height: 165px;
    /* Fills the leftover width in column 2 next to the 165px square —
       column 2 is 1.4fr vs column 1/3's 1fr, so it has extra width
       beyond a single square; this rectangle picks up exactly that
       remaining space, with a small gap matching the grid's own gap. */
    width: calc(100% - 165px - 16px);
    justify-self: end;
}
.tile-portrait { grid-column: 3; grid-row: 1 / span 2; }

.social-media.visible .tile-square-1 { animation-delay: 0.4s; }
.social-media.visible .tile-landscape { animation-delay: 0.55s; }
.social-media.visible .tile-square-2 { animation-delay: 0.7s; }
.social-media.visible .tile-video-2 { animation-delay: 0.78s; }
.social-media.visible .tile-portrait { animation-delay: 0.85s; }

@keyframes tileRise {
    0% {
        opacity: 0;
        transform: translateY(26px) scale(0.9);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Each tile now stacks 2-3 images absolutely on top of one another;
   only .active is opaque, so swapping which one has that class (done by
   initSocialTileCycle in script.js, on a per-tile independent timer)
   produces a smooth crossfade — the tiles keep quietly cycling through
   different photos rather than staying static. */
.social-tile-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease, transform 6s ease;
}

.social-tile-img.active {
    opacity: 1;
    transform: scale(1);
}

.social-tile:hover .social-tile-img.active {
    transform: scale(1.06);
}

/* Video tiles show a static thumbnail with a play glyph overlay only —
   no actual video element/playback here, per client request. */
.social-tile-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(52, 52, 47, 0.55);
    color: #f5f2ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    backdrop-filter: blur(2px);
    pointer-events: none;
}

/* ---- Description + icons block — occupies the grid cell directly below
   the first square tile, parallel/level with the video and second square
   tile beside it, rather than sitting in a separate full-width row. ---- */
.social-tile-description {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(15px);
}

.social-media.visible .social-tile-description {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.9s forwards;
}

.social-connect-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-ink);
    line-height: 1.55;
    margin: 0 0 16px 0;
}

.social-connect-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}

.social-connect-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--color-forest);
    color: var(--color-forest);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

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

.social-connect-icon:hover {
    background: var(--color-forest);
    color: #f5f2ea;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .social-top-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .social-tile-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 200px);
    }

    .tile-square-1 {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: 100%;
        justify-self: stretch;
    }
    .tile-landscape { grid-column: 2; grid-row: 1; }
    .social-tile-description { grid-column: 1; grid-row: 2; }
    .tile-square-2 {
        grid-column: 2;
        grid-row: 2;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        justify-self: stretch;
        align-self: stretch;
    }
    .tile-video-2 {
        grid-column: 2;
        grid-row: 3;
        width: 100%;
        height: 100%;
        justify-self: stretch;
        align-self: stretch;
    }
    .tile-portrait { grid-column: 1; grid-row: 3; }
}

@media (max-width: 600px) {
    .social-tile-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 220px) auto;
    }

    .tile-square-1 {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: 100%;
        justify-self: stretch;
    }
    .tile-landscape { grid-column: 1; grid-row: 2; }
    .tile-square-2 {
        grid-column: 1;
        grid-row: 3;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        justify-self: stretch;
    }
    .tile-video-2 {
        grid-column: 1;
        grid-row: 4;
        width: 100%;
        height: 100%;
        justify-self: stretch;
    }
    .tile-portrait { grid-column: 1; grid-row: 5; }
    .social-tile-description { grid-column: 1; grid-row: 6; }
}

/* Blog Section — top/bottom padding reduced further (120px -> 60px ->
   35px) to tighten the gaps to Social Media above and Contact below,
   per client request. */
.blog {
    background: var(--bg-teal-tint);
    padding: 35px 40px;
    position: relative;
    overflow: hidden;
}

.blog-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.7rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 70px;
    text-transform: uppercase;
    opacity: 0;
    transform: scale(0.95);
}

.blog.visible .blog-title {
    animation: fadeInScale 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}

/* "Trend" accent — same treatment as the other homepage headings'
   highlighted word: italic Playfair Display, brand forest-green. */
.blog-title-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    font-size: 1.05em;
    color: var(--color-forest);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Same fill-sweep pill as .approach-btn (forest-green base, ink-dark
   sweep on hover, same font/size) — client asked for this button to
   match "The Path We Take" section's button design exactly. Continues
   the alternating scheme: Services just before this used the dark-pill
   variant, so Blog reverses back to green, same as Approach did. */
.blog-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 38px;
    border-radius: 50px;
    background: var(--color-forest);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    margin: 0 auto;
    width: fit-content;
    opacity: 0;
    transform: scale(0.95);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}

.blog.visible .blog-btn {
    animation: fadeInScale 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.7s forwards;
}

.blog-btn-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-btn-label {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f5f2ea;
}

.blog-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.blog-btn:hover .blog-btn-fill {
    transform: scaleX(1);
}

/* Smaller cards (image height 170px -> 135px, tighter content padding
   and font sizes) so three fit the row more compactly, per client
   request. Each card also now has its own entrance animation instead of
   relying on the generic section-container fade — see the
   .blog.visible .blog-card rules below, which stagger each card in with
   a rise + slight scale so the grid doesn't just appear "stuck to the
   page" on load. */
.blog-card {
    background: #fff;
    border-radius: 18px;
    border: 2px solid transparent;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(36px) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.45s ease, border-color 0.45s ease;
}

/* Staggered per-card reveal, keyed off the section's own .visible class
   (same trigger the title/button already use) — each card rises up and
   scales in slightly, one after another. Slowed down considerably
   (0.85s -> 1.6s per card, delays spaced out to 0.5s apart instead of
   0.2s) per client feedback that the original timing felt too quick/
   snappy for this section. */
.blog.visible .blog-card:nth-child(1) {
    animation: blogCardIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
.blog.visible .blog-card:nth-child(2) {
    animation: blogCardIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}
.blog.visible .blog-card:nth-child(3) {
    animation: blogCardIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.3s forwards;
}

@keyframes blogCardIn {
    0% {
        opacity: 0;
        transform: translateY(46px) scale(0.94);
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Hover lift pairs with a forest-green accent border that fades in,
   matching the site's green palette instead of a generic shadow-only
   lift — ties the hover state into the rest of the theme. Slightly
   quicker/springier than before so it feels more responsive on hover. */
.blog-card:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 22px 48px rgba(76, 99, 80, 0.22);
    border-color: var(--color-forest);
}

.blog-img-container {
    overflow: hidden;
    height: 135px;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    filter: saturate(1);
}

/* Slight zoom + a light green-tinted saturation lift on hover — a subtle
   nod to the site's green identity rather than just a plain zoom. */
.blog-card:hover .blog-img {
    transform: scale(1.1);
    filter: saturate(1.15);
}

.blog-content {
    padding: 16px 18px;
}

.blog-date {
    font-size: 0.75rem;
    color: var(--color-rust);
    font-weight: 500;
    letter-spacing: 1px;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin: 6px 0;
    color: var(--color-ink);
}

.blog-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.blog-link {
    color: var(--color-forest);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.blog-link:hover {
    color: var(--color-rust);
    letter-spacing: 0.5px;
}

/* Contact Section — top/bottom padding reduced further (120px/60px ->
   35px/35px) to tighten the gaps to Blog above and Client CTA below,
   per client request. */
.contact {
    background: var(--bg-teal-tint);
    padding: 35px 40px 35px;
    position: relative;
    overflow: hidden;
}

.contact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 90px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(34px) scale(0.94);
    filter: blur(4px);
}

/* A more distinctive reveal than a plain fade-scale: rises up from
   below while unblurring into focus, with a touch of overshoot at the
   end (the bezier dips past 1 briefly) — per client request for a
   better entrance than the generic version used before. */
.contact.visible .contact-title {
    animation: headingRiseIn 1.4s cubic-bezier(0.22, 1.1, 0.36, 1) 0.2s forwards;
}

@keyframes headingRiseIn {
    0% {
        opacity: 0;
        transform: translateY(34px) scale(0.94);
        filter: blur(4px);
    }
    70% {
        filter: blur(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* "Work" accent — same recipe as every other homepage heading's
   highlighted word (Playfair Display italic, brand forest-green),
   per the established accent-word pattern (see Section 4.9 of the
   handover / .blog-title-accent, .approach-title-accent, etc.). */
.contact-title-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    font-size: 1.05em;
    color: var(--color-forest);
}

.contact-form-lines {
    max-width: 800px;
    margin: 0 auto 70px;
    display: flex;
    flex-direction: column;
    gap: 55px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.contact-form-field {
    opacity: 0;
    transform: translateY(18px);
}

.contact.visible .contact-form-row .contact-form-field {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.contact.visible .contact-form-row .contact-form-field:nth-child(1) { animation-delay: 0.35s; }
.contact.visible .contact-form-row .contact-form-field:nth-child(2) { animation-delay: 0.45s; }
.contact.visible .contact-form-row .contact-form-field:nth-child(3) { animation-delay: 0.55s; }

.contact.visible .contact-form-field-full {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.65s forwards;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--color-forest);
    background: transparent;
    padding: 8px 0 12px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--color-ink);
    resize: none;
    transition: border-color 0.3s ease;
}

.contact-form-field textarea {
    overflow: hidden;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    color: var(--color-forest);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    outline: none;
    border-bottom-color: var(--color-ink);
}

/* Exact match to .services-btn / .about-btn — same dark-ink pill, same
   forest-green sweep-in on hover, same font/size — per client request
   that this button be "similar to the Our Services button" in the
   Services section. Replaces the old outline-style button. */
.contact-form-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 0;
    width: fit-content;
    padding: 15px 38px;
    border: none;
    border-radius: 50px;
    background: var(--color-ink);
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
    /* Reset native <button> UA styling (default font/line-height/
       appearance) so it renders at the exact same size as the anchor-tag
       pill buttons elsewhere on the page (.about-btn, .approach-btn,
       .services-btn, .blog-btn, .client-cta-btn) — without this, some
       browsers apply their own smaller default button font/box metrics
       even though the padding values match. */
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    line-height: normal;
}

.contact.visible .contact-form-btn {
    animation: fadeInScale 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}

.contact-form-btn-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-forest);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-form-btn-label {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f5f2ea;
}

.contact-form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.contact-form-btn:hover .contact-form-btn-fill {
    transform: scaleX(1);
}

@media (max-width: 700px) {
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

.contact-cta .section-btn:hover {
    background: transparent;
    color: var(--color-tan);
}

/* Footer */
.footer {
    background: var(--color-ink);
    color: var(--text-muted);
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-ink);
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-block;
}

.footer-brand p {
    color: var(--text-secondary);
    font-style: italic;
}

.footer-links {
    display: flex;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-col a {
    display: inline-block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-right: 25px;
    transition: all 0.3s ease;
}

.footer-col a:last-child {
    margin-right: 0;
}

.footer-col a:hover {
    color: var(--color-tan);
}

.footer-contact-line {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.footer-contact-line span {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-contact-divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding: 25px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .footer-contact-line {
        flex-direction: column;
        gap: 10px;
    }

    .footer-contact-divider {
        display: none;
    }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
    }

    .section-container {
        padding: 60px 25px;
    }

    .section-title {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Below this width the pinned/scroll-locked layout (side-by-side list
       + full-height image within one sticky viewport) doesn't have room
       to work well, so it reverts to a normal stacked, non-pinned list —
       JS (initServicesScrollSwap) also skips applying the scroll-track
       height at this size, see the matching check in script.js. */
    .services {
        height: auto !important;
    }

    .services-pin {
        position: static;
        height: auto;
    }

    .services-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-image-container {
        height: 320px;
        order: -1;
    }

    .contact-cta {
        padding: 30px;
    }

    .contact-cta h3 {
        font-size: 1.5rem;
    }

    .hero-tagline-large {
        font-size: 2.6rem;
        letter-spacing: 1.5px;
    }

    .hero-overlay-text {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-tagline-large {
        font-size: 1.8rem;
        letter-spacing: 0.5px;
    }

    .services-image-container {
        height: 250px;
    }

    .about-text, .approach-text {
        font-size: 1rem;
    }

    .point h3 {
        font-size: 1.1rem;
    }

    .description p {
        font-size: 1.1rem;
    }
}

/* Client Portal CTA Section — top padding reduced further (120px ->
   60px -> 35px) to tighten the gap to Contact above, per client
   request. */
.client-cta-section {
    background: var(--bg-teal-tint);
    padding: 35px 40px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.client-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.client-cta-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-ink);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
    opacity: 0;
    transform: translateY(30px) scale(0.94);
    filter: blur(4px);
}

/* Same rise-and-unblur treatment as .contact-title, for a more
   distinctive entrance than the plain fade-scale used before. */
.client-cta-section.visible .client-cta-content h2 {
    animation: headingRiseIn 1.4s cubic-bezier(0.22, 1.1, 0.36, 1) 0.15s forwards;
}

/* "Client ?" accent — same recipe as every other homepage heading's
   highlighted word (Playfair Display italic, brand forest-green), and
   the question mark is folded into the same span so it picks up the
   identical font/color too, matching the "Trend ?" treatment in Blog. */
.client-cta-title-accent {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 600;
    text-transform: none;
    font-size: 1.05em;
    color: var(--color-forest);
}

.client-cta-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: var(--color-ink);
    line-height: 1.7;
    margin: 0 0 15px 0;
    opacity: 0;
    transform: translateY(15px);
}

.client-cta-section.visible .client-cta-content p {
    animation: fadeInUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards;
}

/* Same fill-sweep pill as .blog-btn (forest-green base, ink-dark sweep
   on hover, same font/size) — client asked for this button to match
   the "Read Our Blogs" button design. */
.client-cta-btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 38px;
    border-radius: 50px;
    background: var(--color-forest);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    width: fit-content;
    opacity: 0;
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}

.client-cta-section.visible .client-cta-btn {
    animation: fadeInScale 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.65s forwards;
}

.client-cta-btn-fill {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.client-cta-btn-label {
    position: relative;
    z-index: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #f5f2ea;
}

.client-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.client-cta-btn:hover .client-cta-btn-fill {
    transform: scaleX(1);
}

/* Status badges for invoice table */
.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-badge.paid {
    background: #e8f5e9;
    color: #4CAF50;
}

.status-badge.in-progress {
    background: #fff8e1;
    color: #f57c00;
}

.status-badge.pending {
    background: var(--bg-beige-tint);
    color: var(--text-secondary);
}

/* Category tags */
.category-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--bg-beige-tint);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Responsive for client CTA */
@media (max-width: 768px) {
    .client-cta-content h2 {
        font-size: 2rem;
    }
    
    .client-cta-content p {
        font-size: 1rem;
    }
}

/* Responsive styles for fullscreen menu */
@media (max-width: 1024px) {
    .dropdown-menu a {
        font-size: 0.9rem;
        letter-spacing: 1.3px;
        padding: 0 25px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
    }
    
    .dropdown-menu {
        justify-content: center;
        flex-direction: row;
        gap: 0;
    }
    
    .dropdown-menu a {
        font-size: 0.85rem;
        letter-spacing: 1px;
        padding: 0 18px;
        border-right: 1px solid rgba(220, 220, 220, 0.5);
    }
    
    .dropdown-menu a:last-child {
        border-right: none;
    }
    
    .menu-btn span {
        width: 28px;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .dropdown-menu {
        flex-wrap: wrap;
        padding: 0 20px;
    }
    
    .dropdown-menu a {
        font-size: 0.8rem;
        padding: 0 12px;
        letter-spacing: 0.8px;
    }
    
    .menu-btn span {
        width: 26px;
    }
}

@media (max-width: 480px) {
    .dropdown-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 80px 20px;
        gap: 0;
    }
    
    .dropdown-menu a {
        font-size: 0.9rem;
        padding: 20px;
        letter-spacing: 1px;
        border-right: none;
        border-bottom: 1px solid rgba(200, 200, 200, 0.3);
        transform: translateX(-30px);
        justify-content: flex-start;
    }
    
    .dropdown-menu.active a {
        transform: translateX(0);
    }
    
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
    
    .navbar {
        padding: 15px 20px;
    }
    
    .menu-btn span {
        width: 26px;
    }
}