/* =========================================
   MÄO AGENCY - Core Stylesheet
   Theme: Earthy, Boutique, High-End Luxury
   ========================================= */

:root {
    --color-bg: #F9F8F6;
    --color-sand: #EAE5DE;
    --color-text: #2B2A28;
    --color-text-light: #6A6763;
    --color-accent: #8E8372;
    --color-charcoal: #1E1D1B;
    --color-white: #FFFFFF;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --space-sm: 1rem;
    --space-md: 2.5rem;
    --space-lg: 5rem;
    --space-xl: 8rem;
    --max-width: 1400px;
    
    /* Choreographed Digital — Motion System */
    --ease-organic: cubic-bezier(0.16, 1, 0.3, 1);   /* Adagio — slow in, float out */
    --ease-fast: cubic-bezier(0.4, 0, 0.2, 1);         /* Pas de chat — quick, precise */
    --duration-adagio: 0.8s;    /* Main reveals */
    --duration-andante: 0.6s;   /* Hover, nav */
    --duration-presto: 0.3s;    /* Micro-interactions */

    --transition-smooth: var(--duration-adagio) var(--ease-organic);
    --transition-fast: var(--duration-presto) var(--ease-fast);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-text);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

.cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    border-color: transparent;
    opacity: 0.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text);
}

em {
    font-style: italic;
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: var(--space-xl) 0;
}

.bg-sand {
    background-color: var(--color-sand);
}

.bg-charcoal {
    background-color: var(--color-charcoal);
    color: var(--color-bg);
}
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3, .bg-charcoal h4 {
    color: var(--color-bg);
}

.section-heading {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
}

.large-text {
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.5;
    font-family: var(--font-heading);
}

.body-text {
    font-size: 1.125rem;
    color: var(--color-text-light);
    max-width: 600px;
}

.mt-4 { margin-top: var(--space-md); }
.mt-6 { margin-top: clamp(2rem, 5vw, 4rem); }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background-color: var(--color-text);
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.75); }
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.25rem;
}

.link-arrow svg {
    transition: transform var(--transition-fast);
}

.link-arrow:hover svg {
    transform: translateX(5px);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: background-color var(--transition-fast), padding var(--transition-fast);
}

.navbar.scrolled {
    background-color: rgba(249, 248, 246, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 1.125rem;
}

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

.nav-link {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: currentColor;
    transition: width var(--duration-andante) var(--ease-organic);
}

.nav-link:hover::after,
.nav-link.active-nav::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.mobile-menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-fast);
}
.mobile-menu-btn span:first-child { top: 0; }
.mobile-menu-btn span:last-child { bottom: 0; }

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 5rem; /* reserve space for scroll indicator */
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(30,29,27,0.55) 0%,
        rgba(30,29,27,0.35) 50%,
        rgba(30,29,27,0.7) 100%
    );
    z-index: 1;
}

/* Particle canvas sits above the image, below text */
.particle-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 3;
    margin-top: 5vh;
}

.hero-eyebrow {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

.hero-title {
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: -3px;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-family: var(--font-body);
    font-weight: 300;
    margin-bottom: 0.75rem;
    color: var(--color-text-light);
}

.hero-origin {
    font-size: 0.875rem;
    font-family: var(--font-body);
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    color: var(--color-text-light);
    opacity: 0.7;
}

.hero-cta {
    display: inline-flex;
}

/* Hero CTA Button */
.btn-hero {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin-top: 1.5rem;
    background: var(--color-text);
    color: var(--color-bg);
    border: 1px solid var(--color-text);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 100px;
    transition: background var(--duration-presto) var(--ease-fast),
                border-color var(--duration-presto) var(--ease-fast),
                color var(--duration-presto) var(--ease-fast);
}

.btn-hero:hover {
    background: transparent;
    border-color: var(--color-text);
    color: var(--color-text);
}

/* Scroll indicator — hidden, revealed by JS after hero loads */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0;
    transition: opacity 1s var(--ease-organic);
    pointer-events: none;
}

.scroll-indicator .line {
    width: 1px;
    height: 40px;
    background-color: var(--color-text);
    animation: scrollLine 2s infinite cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Animated SVG graphic — About section */
.about-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-bg) 100%);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.system-svg {
    width: 85%;
    height: auto;
    max-width: 420px;
}

/* Connection lines start faint, breathe in together */
.conn {
    animation: breatheLine 6s ease-in-out infinite;
}

@keyframes breatheLine {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* --- Studio Section --- */
.studio-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 1rem;
}

.studio-header .section-eyebrow {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    display: block;
}

.studio-tagline-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-top: 1rem;
    letter-spacing: 0.5px;
}

.studio-pride {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: inline-block;
}

/* Team Photo Carousel — infinite horizontal scroll */
.team-carousel {
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.team-carousel-track {
    display: flex;
    gap: 1.5rem;
    animation: teamScroll 35s linear infinite;
    width: max-content;
}

.team-carousel-slide {
    flex-shrink: 0;
    width: 420px;
    height: 320px;
    border-radius: 6px;
    overflow: hidden;
}

.team-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) contrast(1.05);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-carousel-slide:hover img {
    transform: scale(1.04);
}

@keyframes teamScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

/* Legacy — kept for landing pages */
.studio-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.studio-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border-radius: 4px;
}

.studio-tagline {
    font-style: italic;
    opacity: 0.8;
}

.team-img-full {
    width: 100%;
    overflow: hidden;
    height: 60vh;
    min-height: 300px;
}

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

/* --- Testimonials --- */
.testimonials {
    background-color: var(--color-bg);
}

.testimonials-header {
    margin-bottom: var(--space-md);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 4px;
    background: var(--color-white);
    transition: var(--transition-smooth);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.testimonial-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.testimonial-author {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    border-radius: 4px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img.revealed { 
    transform: scale(1);
}

.services-header {
    margin-bottom: var(--space-lg);
}

.pillar-subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.accordion-body {
    padding-bottom: 2rem;
    padding-left: clamp(2rem, 5vw, 4rem);
}

.service-list {
    list-style: none;
    margin-top: 1.5rem;
}

.service-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--color-text-light);
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.closing-statement {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    text-align: center;
    margin-top: var(--space-lg);
    color: var(--color-text);
    line-height: 1.4;
}

.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.accordion-header {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.accordion-header:hover {
    color: var(--color-accent);
}

.accordion-header .number {
    font-family: var(--font-body);
    font-size: 0.875rem;
    margin-right: 2rem;
    opacity: 0.5;
}

.accordion-header h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    flex-grow: 1;
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform var(--transition-smooth);
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    /* Adagio: slowest transition — 700ms, organic */
    transition: max-height 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content p {
    padding-bottom: 2rem;
    padding-left: clamp(2rem, 5vw, 4rem);
    max-width: 800px;
    color: var(--color-text-light);
    font-size: 1.125rem;
}

.work-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--space-lg);
}

.work-sub {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-top: -2rem;
    margin-bottom: var(--space-lg);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg) 2rem;
}

.work-item--offset {
    transform: translateY(10%);
}

.work-item {
    cursor: pointer;
}

.work-img-wrapper {
    overflow: hidden;
    margin-bottom: 1.5rem;
    background-color: #e5e5e5;
    aspect-ratio: 4/5;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.work-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.work-info p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-container {
    padding-top: var(--space-lg);
}

.footer-title {
    font-size: clamp(3rem, 8vw, 7rem);
    margin-bottom: var(--space-lg);
    line-height: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.email-link {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-family: var(--font-heading);
    display: block;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.email-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 5px;
    left: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.email-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-location {
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;
}

.footer-note {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.4);
    max-width: 320px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 4rem;
}

.link-group h4 {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.4);
}

.link-group a {
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.link-group a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}

/* ===========================================
   FADE-UP — Relevé principle
   Elements rise from below with organic easing.
   Never snappy, never linear.
   =========================================== */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity var(--duration-adagio) var(--ease-organic),
                transform var(--duration-adagio) var(--ease-organic);
    will-change: opacity, transform;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger group — children staggered via JS */
.stagger-group .fade-up {
    transition-delay: 0s; /* delay applied by JS */
}

/* --- Mobile Menu --- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
}

.mobile-nav-link {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--color-text);
}

.mobile-cta {
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 0.25rem;
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE — Tablet (max-width: 1024px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-container,
    .studio-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-image-wrapper,
    .studio-image-wrapper {
        order: -1;
        max-height: 60vw;
        overflow: hidden;
        border-radius: 4px;
    }

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

    .work-item--offset {
        transform: translateY(0);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .footer-links {
        flex-direction: row;
        gap: var(--space-md);
    }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Mobile (max-width: 768px)
   Apple Design Principles:
   · One focused idea per screen
   · Touch targets ≥ 44px
   · Reduced motion respected
   · 100svh for true mobile viewport
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Root scale ── */
    :root {
        --space-xl: 5rem;
        --space-lg: 3rem;
        --space-md: 2rem;
    }

    /* ── NAV ── */
    .nav-links { display: none; }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }

    .mobile-menu-btn span {
        width: 22px;
        height: 1.5px;
        background: currentColor;
        display: block;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .mobile-menu-btn.open span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }
    .mobile-menu-btn.open span:nth-child(2) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    /* Full-screen mobile drawer */
    .mobile-menu {
        position: fixed;
        inset: 0;
        background: rgba(249,248,246,0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.25rem;
        z-index: 10000;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1);
        padding: 2rem;
    }

    .mobile-menu.open {
        opacity: 1;
        pointer-events: all;
    }

    .mobile-nav-link {
        font-family: var(--font-heading);
        font-size: clamp(1.5rem, 7vw, 2.25rem);
        font-weight: 400;
        color: var(--color-text);
        text-align: center;
        text-decoration: none;
        opacity: 0;
        transform: translateY(12px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .mobile-menu.open .mobile-nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu.open .mobile-nav-link:nth-child(1) { transition-delay: 0.05s; }
    .mobile-menu.open .mobile-nav-link:nth-child(2) { transition-delay: 0.1s; }
    .mobile-menu.open .mobile-nav-link:nth-child(3) { transition-delay: 0.15s; }
    .mobile-menu.open .mobile-nav-link:nth-child(4) { transition-delay: 0.2s; }
    .mobile-menu.open .mobile-nav-link:nth-child(5) { transition-delay: 0.25s; }

    .mobile-cta {
        font-family: var(--font-body);
        font-size: 0.9rem;
        font-weight: 500;
        letter-spacing: 1px;
        text-transform: uppercase;
        padding: 0.9rem 2.5rem;
        border: 1px solid var(--color-text);
        border-radius: 100px;
        margin-top: 0.5rem;
    }

    /* ── HERO ── */
    .hero {
        min-height: 100svh; /* true mobile viewport height */
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-content {
        padding: 0 1.5rem;
        margin-top: -2rem;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 2px;
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 11vw, 4.5rem);
        letter-spacing: -2px;
        margin-bottom: 1rem;
        line-height: 1.0;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .hero-origin {
        font-size: 0.8rem;
        opacity: 0.6;
        margin-bottom: 1rem;
    }

    .btn-hero {
        padding: 0.85rem 2rem;
        font-size: 0.7rem;
    }

    .scroll-indicator { display: none; }

    /* ── SECTION PADDING ── */
    .section-padding {
        padding: 3rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* ── GLOBAL TEXT ── */
    .section-heading {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 1.25rem;
    }

    .body-text {
        font-size: 0.95rem;
    }

    .large-text {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
        line-height: 1.45;
    }

    /* ── ABOUT SECTION ── */
    .about-intro { text-align: left; }
    .about-sub { text-align: left; margin-left: 0; font-size: 0.95rem; }

    /* ── SERVICES ── */
    .services-header p {
        max-width: 100%;
    }

    .accordion-header {
        padding: 1.25rem 0;
        min-height: 44px;
    }

    .accordion-header h3 {
        font-size: 1.1rem;
    }

    .accordion-body {
        padding-bottom: 1.25rem;
        font-size: 0.9rem;
    }

    .accordion-body ul {
        padding-left: 0;
    }

    .closing-statement {
        font-size: 0.95rem;
        text-align: center;
        margin-top: 2rem;
    }

    /* ── WORK ── */
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .work-item--offset { transform: none; }

    /* ── STUDIO ── */
    .studio-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .studio-image-wrapper {
        order: -1;
        border-radius: 4px;
        overflow: hidden;
        max-height: 60vw;
    }

    .studio-text .large-text {
        font-size: 1.25rem;
    }

    .team-carousel-slide {
        width: 280px;
        height: 220px;
    }

    .team-img-full {
        margin-top: 2rem;
    }

    .team-img {
        height: 60vw;
        object-fit: cover;
        border-radius: 4px;
    }

    /* ── TESTIMONIALS ── */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-quote {
        font-size: 1rem;
    }

    /* ── PARTNERS ── */
    .partners-strip {
        gap: 2rem 1.5rem;
        justify-content: flex-start;
    }

    .partner-logo svg { height: 24px; }
    .partner-logo-text { font-size: 1rem; }

    /* ── FOOTER ── */
    .footer-container {
        padding: 3rem 1.5rem;
    }

    .footer-title {
        font-size: clamp(1.75rem, 8vw, 3rem);
        margin-bottom: 2rem;
    }

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

    .footer-links {
        flex-direction: row;
        gap: 2rem;
        flex-wrap: wrap;
    }

    .email-link {
        font-size: clamp(1rem, 4.5vw, 1.5rem);
        word-break: break-all;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-top: 2rem;
        margin-top: 2rem;
    }

    /* ── CURSOR ── */
    .cursor { display: none; }

    /* ── START HERE BUTTON ── */
    .start-here-btn {
        bottom: 1.25rem;
        right: 1.25rem;
        font-size: 0.8rem;
        padding: 0.75rem 1.25rem;
    }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Small Mobile (max-width: 390px)
   iPhone SE / small Android
   ═══════════════════════════════════════════════════ */
@media (max-width: 390px) {
    .hero-title {
        font-size: 2.75rem;
        letter-spacing: -1.5px;
    }

    .container { padding: 0 1.25rem; }

    .footer-links { flex-direction: column; gap: 1.5rem; }
}



    



/* ═══════════════════════════════════════════════════
   BRAND GUIDELINES — Texture & Effects Layer
   From MÄO Brand Guidelines v1.0 (March 2026)
   ═══════════════════════════════════════════════════ */

/* Film Grain Texture — 3.5% opacity noise overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    mix-blend-mode: multiply;
}

/* Gradient Orbs — Ambient depth on hero & sections */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(142, 131, 114, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.about::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(142, 131, 114, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

/* Gradient Dividers — 1px lines with Stone color fade */
.gradient-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(142, 131, 114, 0.35), transparent);
    border: none;
    margin: var(--space-lg) auto;
    max-width: 80%;
}

/* Capability Tags — Pill-shaped labels (Brand Guidelines p.07) */
.capability-tag {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(43, 42, 40, 0.12);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text);
    background: transparent;
    transition: all var(--duration-presto) var(--ease-fast);
}

.capability-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.capability-tag.active,
.capability-tag.highlighted {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* Section positions need relative for orbs */
.hero, .about, section {
    position: relative;
}

/* ═══════════════════════════════════════════════════
   WORK SECTION — Case Study Cards
   ═══════════════════════════════════════════════════ */

/* Linked work items */
.work-item--linked {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-item--linked:hover {
    transform: translateY(-4px);
}

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

/* Work tags — pill style per brand guidelines */
.work-tags {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.work-tag {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid rgba(43, 42, 40, 0.15);
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--color-text-light);
    background: transparent;
    transition: all 0.3s var(--ease-organic);
}

.work-item--linked:hover .work-tag {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Placeholder card for case studies without images */
.work-img-wrapper--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.work-img-wrapper--placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.06;
    mix-blend-mode: screen;
    pointer-events: none;
}

.work-placeholder-text {
    text-align: center;
    z-index: 1;
    color: #F9F8F6;
}

.work-placeholder-name {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.work-placeholder-sub {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 400;
    font-style: italic;
    opacity: 0.7;
    margin-top: 4px;
}
