/* ═══════════════════════════════════════════════════════
   Theraputech — Final Splash Page
   Palette: Logo Blue + Sage Accent + Warm Cream
   Fonts: Outfit (tagline), Cormorant Garamond (headings), Source Sans 3 (body)
   ═══════════════════════════════════════════════════════ */

/* ── Design Tokens ──────────────────────────────────── */
:root {
    /* Brand blues (from logo) */
    --blue:          #0066A1;
    --blue-dark:     #003B5C;
    --blue-light:    #4A9FCC;
    --blue-faint:    #D6EBF5;

    /* Blue accents (complement logo) */
    --sage:          #6B9DB2;
    --sage-dark:     #4D7D92;
    --sage-light:    #A3C5D6;
    --sage-faint:    #DAE9F0;

    /* Neutrals */
    --cream:         #FAFAFA;
    --cream-warm:    #F1F3F5;
    --stone:         #DEE2E6;
    --stone-dark:    #ADB5BD;
    --heading:       #2D3436;
    --body:          #636E72;
    --body-light:    #8C979B;
    --white:         #FFFFFF;

    /* Shadows */
    --shadow-sm:     0 1px 3px rgba(0,59,92,0.06);
    --shadow-md:     0 4px 16px rgba(0,59,92,0.08);
    --shadow-lg:     0 8px 32px rgba(0,59,92,0.10);
    --shadow-xl:     0 12px 40px rgba(0,59,92,0.14);

    /* Radii */
    --radius:        8px;
    --radius-md:     12px;
    --radius-lg:     20px;

    /* Transitions */
    --ease:          cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition:    0.4s var(--ease);

    /* Fonts */
    --font-tagline:  'Outfit', system-ui, sans-serif;
    --font-heading:  'Cormorant Garamond', 'Georgia', serif;
    --font-body:     'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
}


/* ── Reset & Base ──────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--body);
    background-color: var(--cream);
    overflow-x: hidden;
    min-width: 320px;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
    background: none;
}


/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--heading);
    font-weight: 500;
    line-height: 1.2;
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 600;
}

p {
    max-width: 640px;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 1.5rem;
}


/* ── Layout ────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 140px 0;
}


/* ── Scroll Reveal ─────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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


/* ── Hero Load Animation ───────────────────────────── */
.anim-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--delay, 0s);
}

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


/* ═══════════════════════════════════════════════════════
   SKIP LINK
   ═══════════════════════════════════════════════════════ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: var(--blue-dark);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    z-index: 200;
    transition: top 200ms ease;
}

.skip-link:focus {
    top: 0.5rem;
}


/* ═══════════════════════════════════════════════════════
   HEADER
   Hidden on load, slides in when hero leaves viewport
   ═══════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    transition: background 300ms ease, backdrop-filter 300ms ease, -webkit-backdrop-filter 300ms ease, box-shadow 800ms ease;
}

.site-header.scrolled {
    background: rgba(250, 250, 250, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 2rem;
}

.header-logo {
    height: 30px;
    width: auto;
    transition: opacity 200ms ease;
}

.header-logo-link:hover .header-logo {
    opacity: 0.8;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--body);
    transition: color var(--transition);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--sage);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--sage-dark);
}

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

.nav-cta {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--sage-dark);
    padding: 0.5rem 1.25rem;
    border: 1.5px solid var(--sage);
    border-radius: 100px;
    transition: all var(--transition);
}

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


/* ═══════════════════════════════════════════════════════
   HERO — Light / Cream Background
   ═══════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: transparent;
}

/* ── Fixed Atmospheric Background ─────────────────── */
.bg-atmosphere {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    will-change: opacity;
}

.bg-atmosphere::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, var(--sage-faint) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 70%, var(--blue-faint) 0%, transparent 60%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 4rem 2rem;
}

/* Tagline uses Outfit */
.hero-tagline {
    font-family: var(--font-tagline);
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 600;
    line-height: 1.12;
    color: var(--heading);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 400;
    line-height: 1.7;
    color: var(--body);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    text-wrap: balance;
}


/* ── Hero Form ─────────────────────────────────────── */
.hero-form {
    max-width: 480px;
    margin: 0 auto;
}

.hero-form .form-row {
    display: flex;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--stone);
    border-radius: 60px;
    padding: 5px;
    box-shadow: var(--shadow-sm);
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.hero-form .form-row:focus-within {
    border-color: var(--sage-light);
    box-shadow: var(--shadow-lg);
}

.hero-form .email-input {
    flex: 1;
    min-width: 0;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--heading);
    background: transparent;
    border-radius: 60px;
}

.hero-form .email-input::placeholder {
    color: var(--body-light);
}

.hero-form .email-input:disabled {
    opacity: 0.6;
}

/* CTA Button */
.cta-btn {
    position: relative;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-dark);
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
    border: none;
    border-radius: 60px;
    white-space: nowrap;
    min-height: 48px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
    box-shadow: 0 2px 8px rgba(0, 59, 92, 0.2);
    overflow: hidden;
}

.cta-btn:hover {
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
    box-shadow: 0 4px 16px rgba(0, 59, 92, 0.3);
    transform: scale(1.02);
}

.cta-btn:active {
    transform: scale(0.98);
}

.cta-btn:focus-visible {
    outline: 2px solid var(--sage-light);
    outline-offset: 2px;
}

.cta-btn:disabled {
    cursor: not-allowed;
}

.cta-spinner,
.cta-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

.cta-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--blue-dark);
    border-top-color: transparent;
    border-radius: 50%;
}

.cta-check {
    width: 20px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003B5C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Loading state */
.cta-btn.loading .cta-text { opacity: 0; }
.cta-btn.loading .cta-spinner {
    opacity: 1;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Success state */
.cta-btn.success {
    background: var(--sage-dark);
    pointer-events: none;
}
.cta-btn.success .cta-text { opacity: 0; }
.cta-btn.success .cta-check {
    opacity: 1;
    animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes popIn {
    from { transform: translate(-50%, -50%) scale(0); }
    to   { transform: translate(-50%, -50%) scale(1); }
}

/* Error state */
.cta-btn.error {
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-8px); }
    75%      { transform: translateX(8px); }
}


/* ── Scroll Indicator ──────────────────────────────── */
.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    opacity: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: var(--body-light);
}

.scroll-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-arrow {
    width: 18px;
    height: 18px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50%      { transform: translateY(4px); opacity: 1; }
}


/* ═══════════════════════════════════════════════════════
   OUR APPROACH
   ═══════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════ */
.team-section {
    background: transparent;
    padding: 160px 0;
    scroll-margin-top: 60px;
}

.team-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 5rem;
}

.team-header h2 {
    margin-bottom: 1rem;
}

.team-header p {
    margin: 0 auto;
}

.team-group {
    margin-bottom: 4.5rem;
}

.team-group:last-child {
    margin-bottom: 0;
}

.team-group-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--body-light);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 2.5rem;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.team-grid--2 {
    max-width: 560px;
    margin: 0 auto;
}

.team-grid--3 {
    max-width: 840px;
    margin: 0 auto;
}


/* ── Team Card (flip) ──────────────────────────────── */
.team-card {
    width: 252px;
    height: 340px;
    perspective: 800px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    outline: none;
}

.team-card:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
    border-radius: var(--radius-md);
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card.flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.team-card-front {
    background: var(--white);
    border: 1px solid var(--stone);
    transition: box-shadow 300ms ease, transform 300ms ease, border-color 300ms ease;
}

.team-card-back {
    background: var(--sage-faint);
    color: var(--heading);
    transform: rotateY(180deg);
    text-align: center;
    padding: 2rem 1.25rem;
    border: 1px solid var(--sage-light);
}

.team-card-back .team-name {
    color: var(--heading);
}

.team-card-back .team-role {
    color: var(--sage-dark);
}

.team-card-back .team-bio {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--body);
    margin-top: 1rem;
    max-width: 210px;
}

/* Desktop hover lift */
@media (hover: hover) and (pointer: fine) {
    .team-card:hover:not(.flipped) .team-card-front {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: var(--sage-light);
    }
}


/* Team Photo */
.team-photo {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.25rem;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

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

.team-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 0.3rem;
    text-align: center;
    line-height: 1.3;
}

.team-role {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--blue);
    text-align: center;
    line-height: 1.4;
}


/* ═══════════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════════ */
.cta-section {
    background-color: var(--cream);
    padding: 140px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--stone);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--heading);
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--body);
    margin: 0 auto 3rem;
    font-size: 1.05rem;
}

/* CTA form (light variant) */
.cta-form {
    max-width: 480px;
    margin: 0 auto;
}

.cta-form .form-row {
    display: flex;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--stone);
    border-radius: 60px;
    padding: 5px;
    box-shadow: var(--shadow-sm);
    transition: border-color 300ms ease, box-shadow 300ms ease;
}

.cta-form .form-row:focus-within {
    border-color: var(--sage-light);
    box-shadow: var(--shadow-lg);
}

.cta-form .email-input {
    flex: 1;
    min-width: 0;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--heading);
    background: transparent;
    border-radius: 60px;
}

.cta-form .email-input::placeholder {
    color: var(--body-light);
}

.cta-form .email-input:disabled {
    opacity: 0.6;
}

/* CTA button on light bg — same sage style */
.cta-btn--inverse {
    background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 100%);
    color: var(--white);
}

.cta-btn--inverse:hover {
    background: linear-gradient(135deg, var(--sage) 0%, var(--sage-dark) 100%);
}

.cta-btn--inverse.success {
    background: var(--sage-dark);
}

.cta-btn--inverse.loading .cta-spinner {
    border-color: var(--white);
    border-top-color: transparent;
}


/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
    background-color: var(--cream-warm);
    border-top: 1px solid var(--stone);
    padding: 3rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    height: 28px;
    width: auto;
    opacity: 0.5;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.footer-email {
    font-size: 0.85rem;
    color: var(--body-light);
    transition: color 200ms ease;
}

.footer-email:hover {
    color: var(--body);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--body-light);
}


/* ═══════════════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 300ms ease, visibility 300ms ease, transform 300ms ease, background 200ms ease;
    z-index: 90;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--sage-dark);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--sage-light);
    outline-offset: 4px;
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Tablet (768px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    section {
        padding: 100px 0;
    }

}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    section {
        padding: 80px 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Header */
    .header-nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.8rem;
    }

    .nav-cta {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    /* Hero */
    .hero-content {
        padding: 3rem 1.5rem;
    }

    .hero-tagline {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-form .form-row,
    .cta-form .form-row {
        flex-direction: column;
        border-radius: var(--radius-md);
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .hero-form .email-input,
    .cta-form .email-input {
        border-radius: var(--radius);
        text-align: center;
        width: 100%;
    }

    .hero-form .cta-btn,
    .cta-form .cta-btn {
        border-radius: var(--radius);
        width: 100%;
        justify-content: center;
    }

    /* Team */
    .team-section {
        padding: 80px 0;
    }

    .team-header {
        margin-bottom: 3rem;
    }

    .team-group {
        margin-bottom: 3rem;
    }

    .team-card {
        width: 240px;
        height: 350px;
    }

    .team-photo {
        width: 155px;
        height: 155px;
    }

    /* CTA */
    .cta-section {
        padding: 80px 0;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}


/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Small Mobile (480px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    section {
        padding: 60px 0;
    }

    /* Header */
    .header-inner {
        padding: 0.6rem 1.25rem;
    }

    .header-logo {
        height: 24px;
    }

    .header-nav {
        gap: 0.6rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .nav-cta {
        font-size: 0.75rem;
        padding: 0.35rem 0.85rem;
    }

    /* Hero */
    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-tagline {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Team */
    .team-card {
        width: calc(100vw - 2.5rem);
        max-width: 280px;
        height: 360px;
    }

    .team-photo {
        width: 150px;
        height: 150px;
        margin-bottom: 1rem;
    }

    .team-name {
        font-size: 0.9rem;
    }

    .team-role {
        font-size: 0.75rem;
    }

    .team-card-back .team-bio {
        font-size: 0.8rem;
    }

    .team-group-label {
        margin-bottom: 1.5rem;
    }

    /* Back to top */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    .scroll-indicator {
        bottom: 1.5rem;
    }
}


/* ═══════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .anim-fade-up {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .reveal {
        transition: none;
        opacity: 1;
        transform: none;
    }


    .team-card-inner {
        transition: none;
    }

    .site-header {
        transition: none;
    }

    .team-card-front {
        transition: none;
    }

    .back-to-top {
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}


/* ── Focus styles ──────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--sage);
    outline-offset: 3px;
}

.hero-form .form-row:has(.email-input:focus-visible),
.cta-form .form-row:has(.email-input:focus-visible) {
    outline: 2px solid var(--sage-light);
    outline-offset: 3px;
}

.hero-form .email-input:focus-visible,
.cta-form .email-input:focus-visible {
    outline: none;
}
