/* team-legacy.css — originele team-presentatie (foto's/layout) behouden binnen v2-chrome.
   Alleen geladen op de team-template. Bevat oude :root-vars (additief), fade-section,
   btn-accent, page-hero* en team* uit het v1-thema. */
:root {
    --primary: #f8f7f0;
    --primary-light: #f7f5f0;
    --secondary: #b59967;
    --secondary-dark: #9a824f;
    --secondary-light: #c9a871;
    --accent: #ede6da;
    --cream: #eae6e0;
    --white: #ffffff;
    --off-white: #faf9f5;
    --dark: #2d1f15;
    --heading: #8b7d6f;
    --text: #5c4e42;
    --text-light: #786a5e;
    --text-muted: #9a8c7e;
    --text-on-dark: #f0ece4;
    --border: rgba(181, 153, 103, 0.15);
    --border-dark: rgba(255, 255, 255, 0.12);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.06), 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 8px 20px rgba(0, 0, 0, 0.08), 0 32px 64px rgba(0, 0, 0, 0.14);
    --shadow-gold: 0 4px 16px rgba(196, 162, 101, 0.25), 0 8px 32px rgba(196, 162, 101, 0.15);
    /* Honey-glow accent layer — matcht bestaande gold-orbs in heroes (rgba 196,162,101).
       Gebruikt voor radial-gradient orbs, warme shadows en honey edges site-breed. */
    --honey-glow:        rgba(196, 162, 101, 0.10);   /* zelfde tint als hero-orbs */
    --honey-glow-soft:   rgba(196, 162, 101, 0.06);
    --honey-glow-warm:   rgba(255, 215, 145, 0.30);   /* lichte highlight, sparingly */
    --honey-glow-bright: rgba(255, 235, 200, 0.22);
    --honey-edge:        rgba(181, 153, 103, 0.20);
    --honey-edge-soft:   rgba(181, 153, 103, 0.12);
    --honey-shadow:      rgba(120, 88, 40, 0.55);
    --honey-shadow-soft: rgba(120, 88, 40, 0.25);
    --shadow-honey:
        0 22px 60px -22px rgba(120, 88, 40, 0.55),
        0 4px 14px -4px rgba(120, 88, 40, 0.25);
    --shadow-honey-deep:
        inset 0 0 0 1px rgba(255, 248, 230, 0.5),
        0 36px 90px -32px rgba(120, 88, 40, 0.55),
        0 8px 20px -8px rgba(120, 88, 40, 0.25);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-pill: 100px;
}
.fade-section {
    opacity: 1;
    transform: translateY(0);
}

body.js-ready .fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

body.js-ready .fade-section.visible,
.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-section.visible > *:nth-child(1) { animation: fadeUp 0.7s var(--ease-out) 0.05s both; }
.fade-section.visible > *:nth-child(2) { animation: fadeUp 0.7s var(--ease-out) 0.12s both; }
.fade-section.visible > *:nth-child(3) { animation: fadeUp 0.7s var(--ease-out) 0.19s both; }
.fade-section.visible > *:nth-child(4) { animation: fadeUp 0.7s var(--ease-out) 0.26s both; }
.fade-section.visible > *:nth-child(5) { animation: fadeUp 0.7s var(--ease-out) 0.33s both; }
.fade-section.visible > *:nth-child(6) { animation: fadeUp 0.7s var(--ease-out) 0.40s both; }


/* ===================================================================
   NAVIGATION -- Glass Blur / Sticky
   =================================================================== */
.btn-accent {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.btn-accent:hover {
    background: var(--dark);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}
/* ===================================================================
   PAGE HERO -- SERVICE / SUBPAGES
   =================================================================== */
.page-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4a3728, #5c4a3a);
    padding-top: 5rem;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
}

.page-hero-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(45, 31, 21, 0.55) 0%,
        rgba(45, 31, 21, 0.4) 50%,
        rgba(45, 31, 21, 0.5) 100%
    );
}

.page-hero-bg .gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.08;
    animation: float 25s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

.page-hero-bg .gradient-orb-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.08) 0%, transparent 70%);
    top: -30%;
    right: -10%;
}

.page-hero-bg .gradient-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196, 162, 101, 0.06) 0%, transparent 70%);
    bottom: -20%;
    left: -10%;
    opacity: 0.1;
    animation-delay: -8s;
}

.page-hero-grain {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.page-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
}

.page-hero .hero-eyebrow {
    margin-bottom: 2rem;
}

.page-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}


/* Compact hero */
.page-hero-compact {
    min-height: 50vh;
}

.page-hero-compact .page-hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
}


/* Team hero */
.page-hero-team {
    min-height: 50vh;
    background: linear-gradient(135deg, #4a3728, #5c4a3a);
}

.page-hero-team .page-hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(45, 31, 21, 0.5) 0%,
        rgba(45, 31, 21, 0.35) 50%,
        rgba(45, 31, 21, 0.45) 100%
    );
}

.page-hero-team .page-hero-title {
    color: var(--white);
}

.page-hero-team .page-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}


/* Legal hero */
.page-hero-legal {
    min-height: 35vh;
    background: linear-gradient(135deg, #4a3728, #5c4a3a);
}

.page-hero-legal .page-hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(45, 31, 21, 0.6) 0%,
        rgba(45, 31, 21, 0.5) 100%
    );
}

.page-hero-legal .page-hero-title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    color: var(--white);
}

.page-hero-legal .page-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.page-hero-legal .hero-eyebrow {
    background: rgba(255, 255, 255, 0.06);
}


/* About hero */
.page-hero-about {
    min-height: 50vh;
    background: linear-gradient(135deg, #4a3728, #5c4a3a);
}

.page-hero-about .page-hero-overlay {
    background: linear-gradient(
        135deg,
        rgba(45, 31, 21, 0.5) 0%,
        rgba(45, 31, 21, 0.35) 50%,
        rgba(45, 31, 21, 0.45) 100%
    );
}

.page-hero-about .page-hero-title {
    color: var(--white);
}

.page-hero-about .page-hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}


/* Page hero responsive */
@media (max-width: 768px) {
    .page-hero {
        min-height: 60vh;
        padding: 120px 0 60px;
    }

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

    .page-hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
        padding: 0 10px;
    }

    .page-hero .hero-eyebrow {
        margin-bottom: 1.5rem;
    }

    .page-hero-compact {
        min-height: 45vh;
    }

    .page-hero-team {
        min-height: 50vh;
    }

    .page-hero-legal {
        min-height: 40vh;
        padding: 100px 0 50px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        min-height: 55vh;
        padding: 100px 0 50px;
    }

    .page-hero-title {
        font-size: 1.85rem;
        padding: 0 15px;
    }

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

/* ===================================================================
   TEAM PAGE — Stiltefilm
   Editorial roster: sticky portrait pane + scrolling profiles
   =================================================================== */

/* ─── Manifesto ──────────────────────────────────────────── */
.team-manifesto {
    background: var(--primary);
    padding: clamp(96px, 14vw, 180px) 5% clamp(80px, 12vw, 160px);
    position: relative;
    overflow: hidden;
}

.team-manifesto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 64px;
    background: linear-gradient(180deg, transparent, var(--secondary));
    opacity: 0.55;
}

.team-manifesto-mark {
    display: block;
    max-width: 920px;
    margin: 0 auto 2.5rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--secondary);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.team-manifesto-text {
    max-width: 920px;
    margin: 0 auto;
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: clamp(1.35rem, 2.6vw, 2.1rem);
    line-height: 1.45;
    color: var(--heading);
    letter-spacing: -0.012em;
}

@media (max-width: 768px) {
    .team-manifesto {
        padding: 80px 6% 70px;
    }
    .team-manifesto-mark {
        margin-bottom: 1.75rem;
        letter-spacing: 0.25em;
    }
}


/* ─── CTA ──────────────────────────────────────────────── */
.team-cta {
    padding: clamp(96px, 14vw, 180px) 5%;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(181, 153, 103, 0.15);
}

.team-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 22% 28%, rgba(181, 153, 103, 0.20), transparent 55%),
        radial-gradient(ellipse at 82% 78%, rgba(181, 153, 103, 0.09), transparent 60%);
    pointer-events: none;
}

.team-cta::after {
    content: 'TEAM';
    position: absolute;
    bottom: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Outfit', sans-serif;
    font-size: clamp(10rem, 22vw, 22rem);
    font-weight: 800;
    color: rgba(181, 153, 103, 0.06);
    line-height: 0.85;
    white-space: nowrap;
    letter-spacing: -0.04em;
    pointer-events: none;
    user-select: none;
}

.team-cta-container {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.team-cta h2 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--white);
    margin: 0 0 1.25rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.team-cta p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 540px;
    margin: 0 auto 2.5rem;
}

.team-cta .btn-accent {
    background: var(--secondary);
    color: var(--white);
    border: 0;
    box-shadow: 0 12px 40px rgba(181, 153, 103, 0.32);
}

.team-cta .btn-accent:hover {
    background: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 18px 50px rgba(181, 153, 103, 0.4);
}

@media (max-width: 768px) {
    .team-cta { padding: 80px 6%; }
    .team-cta::after { font-size: 7rem; }
}

.team-empty {
    text-align: center;
    padding: 80px 6%;
    color: var(--text-muted);
    font-size: 1rem;
    background: var(--cream);
}

/* ===================================================================
   TEAM PAGE — Atelier (honey-glow editorial)
   Manifesto reveal, ensemble gallery, editorial spreads.
   =================================================================== */

/* ─── Manifesto: line-by-line reveal ─────────────────────── */
.team-manifesto-line {
    display: inline;
    opacity: 0;
    filter: blur(6px);
    transition:
        opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-manifesto.visible .team-manifesto-line {
    opacity: 1;
    filter: blur(0);
}

.team-manifesto.visible .team-manifesto-line:nth-child(1) { transition-delay: 0ms; }
.team-manifesto.visible .team-manifesto-line:nth-child(2) { transition-delay: 220ms; }
.team-manifesto.visible .team-manifesto-line:nth-child(3) { transition-delay: 380ms; }
.team-manifesto.visible .team-manifesto-line:nth-child(4) { transition-delay: 520ms; }
.team-manifesto.visible .team-manifesto-line:nth-child(5) { transition-delay: 640ms; }
.team-manifesto.visible .team-manifesto-line:nth-child(6) { transition-delay: 740ms; }
.team-manifesto.visible .team-manifesto-line:nth-child(7) { transition-delay: 820ms; }

body:not(.js-ready) .team-manifesto-line {
    opacity: 1;
    filter: none;
}


/* ─── ENSEMBLE: honey-glow gallery (replaces dark overture) ─ */
.team-ensemble {
    position: relative;
    padding: clamp(120px, 14vw, 200px) 5% clamp(96px, 12vw, 160px);
    /* Basis blijft in site-cream-familie (--off-white → --accent → --cream),
       de glow-character zit in .team-ensemble-glow radial orbs erboven. */
    background:
        linear-gradient(180deg, var(--off-white) 0%, var(--accent) 60%, var(--cream) 100%);
    overflow: hidden;
    isolation: isolate;
}

.team-ensemble-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 78% 12%, var(--honey-glow-warm), transparent 60%),
        radial-gradient(ellipse 70% 55% at 12% 92%, var(--honey-glow), transparent 65%),
        radial-gradient(ellipse 40% 30% at 50% 50%, var(--honey-glow-bright), transparent 70%);
}

.team-ensemble-grain {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
    opacity: 0.06;
    mix-blend-mode: multiply;
}

.team-ensemble-head {
    position: relative;
    z-index: 2;
    max-width: 1480px;
    margin: 0 auto clamp(56px, 7vw, 96px);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 32px;
}

.team-ensemble-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--secondary-dark);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.team-ensemble-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--secondary);
}

.team-ensemble-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(2.2rem, 4.6vw, 3.8rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    color: var(--dark);
    margin: 18px 0 0;
}

.team-ensemble-title em {
    font-family: 'Outfit', sans-serif;
    font-weight: 200;
    font-style: italic;
    color: var(--secondary-dark);
}

.team-ensemble-count {
    font-family: 'DM Sans', sans-serif;
    font-feature-settings: 'tnum';
    color: var(--secondary-dark);
    font-size: 0.74rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    padding-bottom: 6px;
}

.team-ensemble-count strong {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--dark);
    font-size: 1rem;
    letter-spacing: 0.04em;
    margin-right: 8px;
}

.team-ensemble-grid {
    position: relative;
    z-index: 2;
    list-style: none;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(20px, 2.4vw, 40px);
    row-gap: clamp(40px, 5vw, 80px);
}

.team-ensemble-item {
    list-style: none;
}

/* Editorial vertical offset — staggered like a contact sheet */
.team-ensemble-grid > .team-ensemble-item:nth-child(4n+1) { transform: translateY(0); }
.team-ensemble-grid > .team-ensemble-item:nth-child(4n+2) { transform: translateY(clamp(20px, 3vw, 56px)); }
.team-ensemble-grid > .team-ensemble-item:nth-child(4n+3) { transform: translateY(clamp(8px, 1.5vw, 24px)); }
.team-ensemble-grid > .team-ensemble-item:nth-child(4n+4) { transform: translateY(clamp(36px, 4.5vw, 80px)); }

.team-ensemble-card {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.6s var(--ease);
}

.team-ensemble-card:hover { transform: translateY(-8px); }
.team-ensemble-card:focus-visible { outline: 2px solid var(--secondary); outline-offset: 6px; }

.team-ensemble-photo {
    position: relative;
    aspect-ratio: 4/5;
    margin: 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-dark));
    box-shadow:
        inset 0 0 0 1px rgba(255, 248, 230, 0.5),
        var(--shadow-honey);
}

.team-ensemble-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    filter: contrast(1.04) saturate(0.96);
    transition: transform 0.9s var(--ease), filter 0.6s ease;
    display: block;
}

.team-ensemble-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(45, 31, 21, 0.42));
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.team-ensemble-card:hover .team-ensemble-photo img {
    transform: scale(1.05);
    filter: contrast(1.06) saturate(1.04);
}

.team-ensemble-num {
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 2;
    font-family: 'Outfit', sans-serif;
    font-weight: 200;
    font-size: 0.74rem;
    color: var(--white);
    letter-spacing: 0.32em;
    font-feature-settings: 'tnum';
    text-shadow: 0 1px 8px rgba(45, 31, 21, 0.55);
}

.team-ensemble-arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(-6px, 6px) scale(0.85);
    transition: opacity 0.4s ease, transform 0.5s var(--ease);
    box-shadow: 0 6px 18px rgba(45, 31, 21, 0.18);
}

.team-ensemble-card:hover .team-ensemble-arrow,
.team-ensemble-card:focus-visible .team-ensemble-arrow {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.team-ensemble-arrow svg { width: 14px; height: 14px; }

.team-ensemble-text {
    display: block;
    padding: 18px 2px 0;
}

.team-ensemble-name {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: clamp(1.05rem, 1.4vw, 1.2rem);
    line-height: 1.15;
    letter-spacing: -0.012em;
    color: var(--dark);
    margin: 0 0 4px;
}

.team-ensemble-role {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--secondary-dark);
    letter-spacing: 0.02em;
    line-height: 1.35;
}

/* Entrance: opacity-only fade so the staggered translateY offset is preserved.
   The card itself owns the hover-translateY; the item owns the column offset. */
.team-ensemble-card { will-change: opacity; }

.team-ensemble-item .team-ensemble-card {
    opacity: 0;
    transition:
        opacity 0.9s var(--ease) calc(var(--idx, 0) * 70ms),
        transform 0.6s var(--ease);
}

.team-ensemble.in-view .team-ensemble-item .team-ensemble-card {
    opacity: 1;
}

body:not(.js-ready) .team-ensemble-item .team-ensemble-card { opacity: 1; }

/* Placeholder when no photo (e.g., logo fallback) */
.team-portrait-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.team-portrait-placeholder span {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

@media (max-width: 1024px) {
    .team-ensemble-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .team-ensemble-grid > .team-ensemble-item { transform: none; }
    .team-ensemble-grid > .team-ensemble-item:nth-child(3n+2) { transform: translateY(36px); }
    .team-ensemble-grid > .team-ensemble-item:nth-child(3n+3) { transform: translateY(18px); }
}

@media (max-width: 720px) {
    .team-ensemble { padding: 80px 6% 72px; }
    .team-ensemble-head { margin-bottom: 40px; }
    .team-ensemble-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
        row-gap: 32px;
    }
    .team-ensemble-grid > .team-ensemble-item { transform: none !important; }
    .team-ensemble-grid > .team-ensemble-item:nth-child(2n) { transform: translateY(24px) !important; }
    .team-ensemble-name { font-size: 0.95rem; }
    .team-ensemble-role { font-size: 0.72rem; }
}


/* ─── EDITORIAL: alternating per-member spreads ──────────── */
.team-editorial {
    position: relative;
    /* Vloeit door uit ensemble (--cream) naar --primary; honey-glow leeft in ::before orbs. */
    background:
        linear-gradient(180deg, var(--cream) 0%, var(--accent) 8%, var(--primary) 30%, var(--accent) 78%, var(--cream) 100%);
    overflow: hidden;
    isolation: isolate;
}

.team-editorial::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 25% at 85% 8%,  var(--honey-glow-warm),   transparent 60%),
        radial-gradient(ellipse 55% 30% at 12% 38%, var(--honey-glow),        transparent 65%),
        radial-gradient(ellipse 60% 30% at 88% 70%, var(--honey-glow-warm),   transparent 65%),
        radial-gradient(ellipse 60% 28% at 12% 95%, var(--honey-glow),        transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.team-editorial::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
    opacity: 0.05;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

.team-editorial-list {
    position: relative;
    z-index: 2;
    list-style: none;
    margin: 0;
    padding: 0;
}

.team-spread {
    position: relative;
    max-width: 1380px;
    margin: 0 auto;
    padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 80px);
}

.team-spread + .team-spread {
    border-top: 1px solid var(--honey-edge-soft);
}

.team-spread-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
}

/* Default — odd: photo left, body right */
.team-spread-photo { grid-column: 1 / span 5; grid-row: 1; }
.team-spread-body  { grid-column: 7 / span 6; grid-row: 1; }

/* Even — flip */
.team-spread:nth-child(even) .team-spread-photo { grid-column: 8 / span 5; }
.team-spread:nth-child(even) .team-spread-body  { grid-column: 1 / span 6; }

/* Decorative outsized numeral behind each spread */
.team-spread-numeral {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: clamp(8rem, 18vw, 18rem);
    line-height: 0.85;
    letter-spacing: -0.05em;
    color: rgba(120, 88, 40, 0.07);
    pointer-events: none;
    user-select: none;
    font-feature-settings: 'tnum';
}

.team-spread:nth-child(odd)  .team-spread-numeral { right: -1vw; }
.team-spread:nth-child(even) .team-spread-numeral { left: -1vw; }

/* Photo */
.team-spread-photo {
    position: relative;
    margin: 0;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-dark));
    box-shadow: var(--shadow-honey-deep);
}

.team-spread-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    filter: contrast(1.04) saturate(0.95);
    display: block;
}

.team-spread-photo-tag {
    position: absolute;
    bottom: 16px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 200;
    font-size: 0.74rem;
    letter-spacing: 0.28em;
    color: var(--white);
    font-feature-settings: 'tnum';
    text-shadow: 0 1px 8px rgba(45, 31, 21, 0.6);
}

/* Body */
.team-spread-body { position: relative; }

.team-spread-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--secondary-dark);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.team-spread-eyebrow::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--secondary);
}

.team-spread-eyebrow em {
    font-style: italic;
    text-transform: none;
    letter-spacing: 0.04em;
    font-weight: 400;
    color: var(--text-light);
}

.team-spread-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.028em;
    color: var(--dark);
    margin: 0 0 22px;
}

.team-spread-name .word {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    line-height: inherit;
}

.team-spread-name .word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.team-spread.in-view .team-spread-name .word-inner { transform: translateY(0); }
.team-spread.in-view .team-spread-name .word:nth-child(1) .word-inner { transition-delay: 80ms; }
.team-spread.in-view .team-spread-name .word:nth-child(2) .word-inner { transition-delay: 180ms; }
.team-spread.in-view .team-spread-name .word:nth-child(3) .word-inner { transition-delay: 280ms; }
.team-spread.in-view .team-spread-name .word:nth-child(4) .word-inner { transition-delay: 380ms; }

body:not(.js-ready) .team-spread-name .word-inner { transform: none; }

.team-spread-specialties {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.team-spread-specialties li {
    padding: 6px 14px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.04em;
    background: rgba(255, 248, 230, 0.55);
    border: 1px solid var(--honey-edge);
    border-radius: 100px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.team-spread-specialties li:hover {
    background: rgba(255, 248, 230, 0.85);
    border-color: var(--secondary);
    transform: translateY(-1px);
}

.team-spread-bio {
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: clamp(0.98rem, 1.1vw, 1.05rem);
    line-height: 1.85;
    color: var(--text);
    max-width: 60ch;
    margin: 0 0 28px;
}

.team-spread-bio p { margin: 0 0 1.1rem; }
.team-spread-bio p:last-child { margin-bottom: 0; }

.team-spread-quote {
    margin: 0;
    padding: 0 0 0 clamp(22px, 2.4vw, 36px);
    border: 0;
    max-width: 56ch;
    position: relative;
}

.team-spread-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--secondary);
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s;
}

.team-spread.in-view .team-spread-quote::before { transform: scaleY(1); }

body:not(.js-ready) .team-spread-quote::before { transform: scaleY(1); }

.team-spread-quote p {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.5;
    color: var(--dark);
    letter-spacing: -0.005em;
    margin: 0;
}

/* Entrance reveal — body elements fade-up */
@media (min-width: 901px) {
    .team-spread-body > *:not(.team-spread-name) {
        opacity: 0;
        transform: translateY(18px);
        transition:
            opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
            transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .team-spread.in-view .team-spread-body > *:not(.team-spread-name) {
        opacity: 1;
        transform: translateY(0);
    }

    .team-spread.in-view .team-spread-eyebrow      { transition-delay: 0ms; }
    .team-spread.in-view .team-spread-specialties  { transition-delay: 280ms; }
    .team-spread.in-view .team-spread-bio          { transition-delay: 360ms; }
    .team-spread.in-view .team-spread-quote        { transition-delay: 440ms; }

    .team-spread-photo {
        opacity: 0;
        transform: translateY(28px) scale(0.98);
        transition:
            opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
            transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .team-spread.in-view .team-spread-photo {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    body:not(.js-ready) .team-spread-body > *,
    body:not(.js-ready) .team-spread-photo {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ─── Tablet (≤900px) ────────────────────────────────────── */
@media (max-width: 900px) {
    .team-spread { padding: 72px 6%; }

    .team-spread-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .team-spread-photo,
    .team-spread:nth-child(even) .team-spread-photo {
        grid-column: 1;
        grid-row: 1;
        max-width: 420px;
        margin: 0;
    }

    .team-spread-body,
    .team-spread:nth-child(even) .team-spread-body {
        grid-column: 1;
        grid-row: 2;
    }

    .team-spread-numeral { font-size: 7rem; opacity: 0.7; }
    .team-spread:nth-child(odd)  .team-spread-numeral { right: -2vw; top: 8%; transform: none; }
    .team-spread:nth-child(even) .team-spread-numeral { left: -2vw;  top: 8%; transform: none; }

    .team-spread-name { font-size: clamp(1.7rem, 7vw, 2.4rem); margin-bottom: 18px; }
    .team-spread-bio { font-size: 1rem; }
}

/* ─── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .team-spread-name .word-inner,
    .team-spread-quote::before,
    .team-spread-photo,
    .team-spread-body > *,
    .team-ensemble-item {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .team-ensemble-photo img { transition: none !important; }
}


