/* ==============================================
   Covo Multipliers — covo-editorial.css
   Editorial design system (tokens + shared components).
   Load AFTER styles.css. Pages opt in by linking this file.
   No frameworks. No dependencies.
   ============================================== */


/* -----------------------------------------------
   1. TOKENS
----------------------------------------------- */

:root {
    /* Core palette */
    --c-white: #FFFFFF;
    --c-black: #0B0D0C;
    --c-ink: #1D2724;
    --c-forest: #203F34;
    --c-ivory: #F6F2E9;             /* cards, soft panels */
    --c-tan: #CDB7A2;               /* muted earth tile */
    --c-tan-text: #8C6D55;          /* wordmark accent, large text only */
    --c-lime: #DDE520;
    --c-coral: #FF5500;             /* primary button (ink text: 4.9:1) */
    --c-terracotta: #C66D4E;
    --c-terracotta-text: #9E4E33;   /* AA on white/ivory for small text */
    --c-dusty: #819AAB;

    /* Text + lines */
    --c-bg: var(--c-white);
    --c-text: var(--c-ink);
    --c-text-muted: #484F4B;        /* 8.2:1 on white */
    --c-line: #CFCBC3;              /* thin grey dividers */
    --c-on-dark: #FFFFFF;
    --c-on-dark-muted: rgba(255, 255, 255, 0.72);

    /* Type tokens (fonts, scale, rhythm) live in covo-type.css */

    /* Gritty print texture: fine grain + sparse distressed specks (inline SVG noise) */
    --tex-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .15 0 0 0 0 .14 0 0 0 .32 -.08'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    --tex-speck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420'%3E%3Cfilter id='s'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.55' numOctaves='2' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .11 0 0 0 0 .15 0 0 0 0 .14 0 0 0 9 -6.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3C/svg%3E");

    /* Space + layout */
    --container: 1240px;
    --gutter: clamp(1.25rem, 4vw, 3rem);
    --section-y: clamp(3.5rem, 7vw, 6rem);
    --radius: 6px;                  /* buttons, inputs, tiles */
    --radius-media: 8px;            /* photos, cards */

    /* Interaction */
    --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
    --t-fast: 160ms;
    --focus: var(--c-ink);
}


/* -----------------------------------------------
   2. BASE + PRIMITIVES
----------------------------------------------- */

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: var(--lh-body);
    text-rendering: optimizeLegibility;
}

strong { font-weight: 500; }

::selection { background: var(--c-lime); color: var(--c-ink); }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 3px;
}

.is-dark { --focus: var(--c-lime); }

/* Small uppercase label */
.ed-label,
.section-eyebrow {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--c-text);
}

/* Bold uppercase underlined link with arrow: LEARN MORE → */
.ed-cta-link {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--c-ink);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3em;
    transition: color var(--t-fast) var(--ease), text-decoration-color var(--t-fast) var(--ease);
}

.ed-cta-link:hover { text-decoration-thickness: 3px; }

/* Lime rounded-square badge */
.ed-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid var(--c-ink);
    color: var(--c-ink);
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ed-split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
}

@media (max-width: 860px) {
    .ed-split { grid-template-columns: 1fr; gap: 1.25rem; }
}


/* -----------------------------------------------
   3. BUTTONS
----------------------------------------------- */

.btn,
.lab-interest-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-ink);
    font-family: var(--font-ui);
    font-size: var(--fs-btn);
    font-weight: 600;
    letter-spacing: var(--tracking-ui);
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    transform: none;
    cursor: pointer;
    transition: background-color var(--t-fast) var(--ease),
                color var(--t-fast) var(--ease),
                border-color var(--t-fast) var(--ease);
}

.btn:hover,
.lab-interest-submit:hover { transform: none; }

/* Primary = the one bright action */
/* Primary = coral (top-of-page / main action). Secondary = lime (repeat CTAs lower on the page) */
.btn-primary { background: var(--c-coral); color: var(--c-ink); border-color: var(--c-ink); }
.btn-primary:hover { background: var(--c-ink); color: var(--c-coral); border-color: var(--c-ink); }

.btn-lime,
.immersion-cta-section .btn-primary,
.final-cta .btn-primary { background: var(--c-lime); color: var(--c-ink); border-color: var(--c-ink); }

.btn-lime:hover,
.immersion-cta-section .btn-primary:hover,
.final-cta .btn-primary:hover { background: var(--c-ink); color: var(--c-lime); border-color: var(--c-ink); }

.btn-secondary { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn-secondary:hover { background: var(--c-ink); color: var(--c-white); }

.btn-ink,
.lab-interest-submit { background: var(--c-black); color: var(--c-white); border-color: var(--c-black); }
.btn-ink:hover,
.lab-interest-submit:hover { background: var(--c-forest); border-color: var(--c-forest); color: var(--c-white); }

.btn-accent { background: var(--c-terracotta); border-color: var(--c-terracotta); color: var(--c-white); }
.btn-accent:hover { background: var(--c-terracotta-text); border-color: var(--c-terracotta-text); }

.is-dark .btn-primary:hover { background: var(--c-white); color: var(--c-ink); border-color: var(--c-white); }

.lab-interest-submit:disabled { opacity: 0.55; cursor: not-allowed; }


/* -----------------------------------------------
   4. MASTHEAD + NAVIGATION
----------------------------------------------- */

.site-masthead {
    position: relative;
    z-index: 50;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: 1.1rem var(--gutter);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.site-masthead::after {
    content: "";
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 0;
    border-bottom: 1px solid var(--c-ink);
}

.masthead-center {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.25rem);
}

.masthead-wordmark {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    line-height: 1;
    color: var(--c-ink);
    text-decoration: none;
    white-space: nowrap;
}

.masthead-wordmark em,
.footer-wordmark em { font-style: italic; }

.masthead-link {
    font-family: var(--font-ui);
    font-size: var(--fs-nav);
    font-weight: 600;
    letter-spacing: var(--tracking-ui);
    text-transform: uppercase;
    color: var(--c-ink);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.3em;
}

.masthead-link:hover { text-decoration-thickness: 3px; }

.masthead-cta {
    font-family: var(--font-ui);
    justify-self: end;
    padding: 0.6rem 1.1rem;
    border: 1px solid var(--c-ink);
    border-radius: var(--radius);
    font-size: var(--fs-nav);
    font-weight: 600;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--c-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--t-fast) var(--ease);
}

.masthead-cta:hover { background: var(--c-lime); }

/* Hamburger restyled as a thin "+" */
.menu-toggle {
    position: relative;
    top: auto;
    right: auto;
    justify-self: start;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: var(--radius);
    background: transparent;
    box-shadow: none;
    display: inline-flex;
}

.menu-toggle:hover { transform: none; box-shadow: none; background: var(--c-ivory); }

.menu-toggle span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 1.5px;
    margin: -0.75px 0 0 -10px;
    background: var(--c-ink);
    border-radius: 0;
}

.menu-toggle span:nth-child(2) { transform: rotate(90deg); }
.menu-toggle span:nth-child(3) { display: none; }

@media (max-width: 760px) {
    .masthead-link { display: none; }
    .masthead-wordmark { font-size: 1.4rem; }
    .masthead-cta { padding: 0.5rem 0.7rem; font-size: 0.9375rem; }
}

@media (max-width: 380px) {
    .masthead-wordmark { font-size: 1.2rem; }
    .site-masthead { gap: 0.5rem; }
    .masthead-cta { padding: 0.5rem 0.55rem; }
}

.menu-overlay { background: rgba(11, 13, 12, 0.4); }

/* Menu slides in from the left, matching the "+" position */
.slideout-menu {
    left: 0;
    right: auto;
    transform: translateX(-100%);
    background: var(--c-white);
    box-shadow: none;
    border-right: 1px solid var(--c-ink);
    padding: 1.1rem 1.5rem 2rem;
}

.slideout-menu.is-open { transform: translateX(0); }

.slideout-menu-header { border-bottom: 1px solid var(--c-ink); }

.slideout-menu-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--c-ink);
}

.menu-close { color: var(--c-ink); font-weight: 300; }

.slideout-menu-links { gap: 0; }

.slideout-menu-links a {
    font-family: var(--font-ui);
    padding: 1rem 0;
    border-radius: 0;
    border-bottom: 1px solid var(--c-line);
    font-size: var(--fs-nav);
    font-weight: 600;
    letter-spacing: var(--tracking-ui);
    text-transform: uppercase;
    color: var(--c-ink);
}

.slideout-menu-links a:hover { background: transparent; color: var(--c-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

.slideout-menu-links a.menu-lab-button {
    margin-top: 1.5rem;
    padding: 0.95rem 1rem;
    border: 1px solid var(--c-ink);
    border-radius: var(--radius);
    background: var(--c-coral);
    color: var(--c-ink);
}

.slideout-menu-links a.menu-lab-button:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-coral); text-decoration: none; }


/* -----------------------------------------------
   5. HERO — text left, photo right (text first on mobile)
----------------------------------------------- */

.hero {
    display: block;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) var(--section-y);
    background: transparent;
    text-align: left;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: stretch;
}

.hero .logo-area { max-width: none; margin: 0; }

.hero .logo-tagline {
    font-family: var(--font-ui);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--c-ink);
    margin: 0 0 1.75rem;
}

.hero .logo-wordmark {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--fs-hero);
    line-height: 1;
    letter-spacing: var(--tracking-display);
    color: var(--c-ink);
    max-width: none;
    margin: 0 0 2rem;
}

/* "the open door." — lime highlighter stroke across the lower half of the words */
.hero .hero-mark {
    color: inherit;
    background: linear-gradient(transparent 52%, var(--c-lime) 52%, var(--c-lime) 90%, transparent 90%);
    padding: 0 0.06em;
    margin: 0 -0.06em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* intentional line breaks: one span per line */
.hero .logo-wordmark .hl { display: block; white-space: nowrap; }

.hero .logo-positioning {
    font-size: var(--fs-lead);
    line-height: 1.5;
    color: var(--c-text-muted);
    max-width: 26rem;
    margin: 0;
}

.hero .hero-cta-row { justify-content: flex-start; margin-top: 2.25rem; }

.hero .hero-microcopy {
    margin-top: 0.85rem;
    font-size: 1.0625rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--c-ink);
    opacity: 0.8;
}

/* Desktop: photo top lines up with the headline, bottom with the end of
   the text column (tagline height + its margin = --hero-tag-offset). */
/* Photo keeps its native 16:9 ratio (no cropping) and is centred against the text */
.hero-media {
    margin: 0;
    align-self: center;
}

.hero-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius-media);
}

/* desktop swaps in a square version of the photo (<picture> source at 901px+) */
@media (min-width: 901px) {
    .hero-media img { aspect-ratio: 1 / 1; }

    /* text block: inset from the left edge (closer to the photo) and
       vertically centred on the photo's centre line */
    .hero .logo-area {
        align-self: center;
        padding-left: clamp(1.5rem, 5vw, 5rem);
    }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { order: -1; }   /* photo first on mobile */
}

/* Phones: tight vertical rhythm so "Join a Free Lab" shows on first load */
@media (max-width: 600px) {
    .hero { padding: 1.25rem 1.25rem 3rem; }                  /* 20px under the nav, 20px sides */
    .hero-grid { gap: 1.5rem; }                              /* image → eyebrow 24px */
    .hero .logo-tagline { margin-bottom: 0.75rem; }          /* eyebrow → headline 12px */
    .hero .logo-wordmark {
        font-size: min(11.2vw, 2.625rem);                    /* ~42px */
        line-height: 1.04;
        margin-bottom: 0.875rem;                             /* headline → paragraph 14px */
    }
    .hero .logo-wordmark .hl { white-space: normal; }
    .hero .hero-cta-row { margin-top: 1.25rem; }             /* paragraph → CTA 20px */
    .hero .hero-cta-row .btn { width: 100%; }
    .hero .hero-microcopy { margin-top: 0.5rem; }            /* CTA → microcopy 8px */
}


/* -----------------------------------------------
   6. WHY SECTION
----------------------------------------------- */

.why-section {
    padding: 0 var(--gutter);
    background: var(--c-white);
}

.why-container {
    max-width: var(--container);
    padding: var(--section-y) 0;
    border-top: 1px solid var(--c-line);
}

.why-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.why-head-left { display: flex; flex-direction: column; gap: 1.25rem; }

.why-split-image { max-width: 130px; margin: 0; border-radius: 0; }

.why-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--fs-h2);
    line-height: var(--lh-heading);
    letter-spacing: var(--tracking-display);
    color: var(--c-ink);
    text-align: left;
    max-width: 15ch;
    margin: 0;
}

.why-copy {
    max-width: 36rem;
    margin: 0;
    font-size: var(--fs-lead);
    line-height: 1.6;
    color: var(--c-text-muted);
    text-align: left;
}

.why-copy strong { color: var(--c-ink); }
.why-copy p + p { margin-top: 1rem; }

.why-cards { gap: clamp(1rem, 2.5vw, 2rem); }

.why-card {
    background: var(--c-ivory);
    border: 0;
    border-radius: var(--radius-media);
    box-shadow: none;
    padding: 1.6rem;
}

.why-icon {
    width: 44px;
    height: 44px;
    background: var(--c-white);
    border: 0;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.why-icon svg { width: 24px; height: 24px; stroke: var(--c-ink); stroke-width: 1.5; }

.why-card h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--fs-h3);
    line-height: 1.1;
    color: var(--c-ink);
    margin-bottom: 0.6rem;
}

.why-card p { font-size: var(--fs-card); line-height: 1.6; color: var(--c-text-muted); }

@media (max-width: 480px) {
    .why-section { padding: 0 var(--gutter); }
    .why-split-image { max-width: 110px; }
    .why-title { max-width: none; }
}


/* -----------------------------------------------
   7. CENTERED STATEMENT (was photo banner)
----------------------------------------------- */

.workplace-banner {
    position: relative;
    z-index: 2;                     /* statement text stays in front of the photo's glow */
    display: block;
    min-height: 0;
    padding: 0 var(--gutter);
    background: transparent;
    overflow: visible;
}

.workplace-banner::after { content: none; }

.workplace-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: var(--section-y) 0;
    border-top: 1px solid var(--c-line);
    text-align: center;
}

.workplace-content .ed-badge { margin-bottom: 1.75rem; }
.workplace-content .workplace-trust { margin-bottom: 1.25rem; }

.workplace-trust {
    font-size: var(--fs-body);
    color: var(--c-text-muted);
    margin: 0 auto 0.75rem;
}

.workplace-stakes {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(2.125rem, 4.4vw, 3.5rem);
    line-height: 1.06;
    letter-spacing: var(--tracking-display);
    color: var(--c-ink);
    max-width: 26ch;
    margin: 0 auto;
}

/* one sentence per block, each balanced: breaks fall on the phrases */
.workplace-stakes .sl { display: block; text-wrap: balance; }

@media (max-width: 480px) {
    .workplace-content { padding: var(--section-y) 0; }
    .workplace-trust { font-size: var(--fs-card); }
}


/* -----------------------------------------------
   7B. GROUNDED CUTOUT PHOTO
   Transparent cutout that "stands" on a full-bleed rule.
----------------------------------------------- */

.ground-photo {
    position: relative;             /* paint above the statement section so nothing clips the top */
    z-index: 1;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--c-ink);  /* full-bleed, browser edge to edge */
    background: transparent;
}

/* photo spans the full screen width; its cropped sides meet the browser edges */
.ground-photo img {
    position: relative;
    z-index: 1;
    filter: saturate(0.75) contrast(1.03);
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

/* glowing lime sphere behind the cutout, 75% of the screen width.
   Clipped at the screen edges and at the ground line; free to rise above
   the photo, where the statement section (stacked above) stays in front. */
.ground-photo { clip-path: inset(-100vh 0 0 0); }

.ground-photo::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 52%;
    left: 50%;
    width: 75vw;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%,
        rgba(221, 229, 32, 0.95) 0%,
        rgba(221, 229, 32, 0.75) 28%,
        rgba(221, 229, 32, 0.32) 52%,
        rgba(221, 229, 32, 0) 70%);
    filter: blur(12px);
    pointer-events: none;
}

/* Desktop only: gritty texture that fades in from white at the top of the
   statement and is at full strength behind the photo. Mobile stays clean. */
@media (min-width: 901px) {
    .workplace-banner::before,
    .ground-photo::after {
        content: "";
        position: absolute;
        background-image: var(--tex-speck), var(--tex-grain);
        background-size: 420px 420px, 240px 240px;
        pointer-events: none;
    }

    .workplace-banner::before {
        inset: 0;
        z-index: -1;                /* behind the statement text */
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
                mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
    }

    .ground-photo::after {
        z-index: 0;                 /* over the glow, under the photo */
        inset: calc(var(--section-y) * 0.4) 0 0 0;   /* starts where the banner ends, so grain never doubles */
    }
}

/* Desktop uses a wider crop of the same photo (<picture> source at
   901px+), about 40% shorter than the mobile image at full width. */

/* the statement above hands its bottom spacing to the photo */
.workplace-banner + .ground-photo { margin-top: calc(var(--section-y) * -0.4); }

@media (max-width: 600px) {
    .workplace-banner + .ground-photo { margin-top: calc(var(--section-y) * -0.5); }
}

/* the photo's rule replaces the labs divider */
.ground-photo + .labs-section .labs-container { border-top: 0; }


/* -----------------------------------------------
   8. LABS (events)
----------------------------------------------- */

.labs-section {
    padding: 0 var(--gutter);
    background: var(--c-white);
    overflow: visible;
}

.labs-section::before { content: none; }

.labs-container {
    max-width: var(--container);
    padding: clamp(3rem, 5.5vw, 4.5rem) 0 clamp(2.5rem, 4.5vw, 3.5rem);
    border-top: 1px solid var(--c-line);
}

/* centered stack: title, intro, urgency, social proof */
.labs-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 44rem;
    margin: 0 auto clamp(1.75rem, 3vw, 2.25rem);
    text-align: center;
}

.labs-head .labs-title,
.labs-head .labs-explainer,
.labs-head .labs-urgency { text-align: center; margin-left: auto; margin-right: auto; }

.labs-head .labs-proof { justify-content: center; }
.labs-head .labs-proof p { flex: 0 1 auto; text-wrap: balance; }

.labs-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--fs-h2);
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--c-ink);
    text-align: left;
    margin: 0;
}

.labs-explainer {
    max-width: 34rem;
    margin: 0;
    font-size: var(--fs-lead);
    line-height: 1.55;
    color: var(--c-text-muted);
    text-align: left;
}

.labs-explainer strong { color: var(--c-ink); }

/* compact social proof under the intro: small overlapping avatars + one line */
.labs-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.85rem;
    margin-top: 1.25rem;
}

.labs-proof img {
    flex: 0 0 auto;
    width: 110px;
    height: auto;
    margin: 0;
    border-radius: 0;
}

.labs-proof p {
    flex: 1 1 12rem;               /* sits beside the avatars, wraps under them only on very narrow screens */
    margin: 0;
    font-size: var(--fs-card);
    line-height: 1.4;
    color: var(--c-text-muted);
}

.labs-urgency {
    margin: 0.75rem 0 0;
    font-size: var(--fs-small);
    font-weight: 600;
    color: var(--c-terracotta-text);
    text-align: left;
}

.labs-loading,
.labs-empty { color: var(--c-text-muted); text-align: left; }
.labs-empty a { color: var(--c-ink); text-underline-offset: 0.25em; }

.labs-list {
    gap: clamp(1.25rem, 3vw, 2.5rem);
    grid-auto-rows: 1fr;          /* every card matches the tallest, on desktop and when stacked on mobile */
}

/* Card = date · title · one sentence · CTA */
.lab-item {
    display: flex;
    flex-direction: column;
    background: var(--c-ivory);
    border-radius: var(--radius-media);
    box-shadow: none;
    padding: clamp(1.35rem, 2vw, 1.75rem);
    transition: background-color var(--t-fast) var(--ease);
}

.lab-item:hover { transform: none; box-shadow: none; background: #EFE9DC; }

.lab-item a { display: flex; flex-direction: column; flex: 1; }

.lab-when {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    margin-bottom: 1.1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--c-line);
}

.lab-datetime {
    font-family: var(--font-ui);
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: var(--tracking-label);
    text-transform: uppercase;
    color: var(--c-ink);
    margin: 0;
}

.lab-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--fs-h3);
    line-height: 1.1;
    letter-spacing: -0.005em;
    color: var(--c-ink);
    padding-right: 0;
    margin-bottom: 0.75rem;
}

.lab-sub {
    font-weight: 400;
    font-size: max(var(--fs-card), 15px);   /* never below 15px; cards grow instead */
    line-height: 1.5;
    color: var(--c-text-muted);
    margin: 0;
}

.lab-link-text {
    font-family: var(--font-ui);
    align-self: flex-start;
    margin-top: auto;
    padding-top: 1.25rem;
    font-size: var(--fs-btn);
    font-weight: 600;
    letter-spacing: var(--tracking-ui);
    text-transform: uppercase;
    color: var(--c-ink);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
}

.lab-item:hover .lab-link-text { text-decoration-thickness: 3px; }

/* Seat count: quiet inline note beside the date, lime only when seats remain */
.lab-seats {
    font-family: var(--font-ui);
    position: static;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    background: var(--c-lime);
    border: 0;
    color: var(--c-ink);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: none;
    box-shadow: none;
}

.lab-seats.is-full { background: transparent; padding-left: 0; color: var(--c-text-muted); }

@media (max-width: 480px) {
    .labs-section { padding: 0 var(--gutter); }
    .lab-item { padding: 1.35rem; }
}


/* -----------------------------------------------
   9. EMAIL CAPTURE — rounded card
----------------------------------------------- */

.lab-interest-section {
    padding: 0 var(--gutter) var(--section-y);
    background: var(--c-white);
    border: 0;
}

.lab-interest-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter);
    background: var(--c-ivory);
    border-radius: var(--radius-media);
    text-align: center;
}

.lab-interest-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--fs-h3);
    line-height: 1.1;
    color: var(--c-ink);
    margin-bottom: 0.4rem;
}

.lab-interest-copy { font-size: var(--fs-body); color: var(--c-text-muted); margin: 0 auto; max-width: 30rem; }

/* underline-only field */
.lab-interest-input {
    height: 50px;
    padding: 0.6rem 0.1rem;
    border: 0;
    border-bottom: 1px solid var(--c-ink);
    border-radius: 0;
    background: transparent;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--c-ink);
}

.lab-interest-input::placeholder { color: #5E6560; }

.lab-interest-input:focus {
    border-color: var(--c-ink);
    box-shadow: 0 2px 0 0 var(--c-ink);
}

.lab-interest-message.success { color: var(--c-forest); }
.lab-interest-message.error { color: #A3321F; }

@media (max-width: 480px) {
    .lab-interest-section { padding: 0 var(--gutter) var(--section-y); }
    .lab-interest-container { padding: 2.25rem 1.25rem; }
}


/* -----------------------------------------------
   10. BLACK BAND (community / WhatsApp)
----------------------------------------------- */

.whatsapp-cta-section {
    padding: calc(var(--section-y) * 1.1) var(--gutter);
    background: var(--c-black);
    border: 0;
    text-align: center;
}

.whatsapp-cta-container { max-width: 44rem; margin: 0 auto; }

.whatsapp-cta-eyebrow {
    font-family: var(--font-ui);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-dusty);
    margin: 0 0 1.25rem;
}

.whatsapp-cta-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--fs-h2);
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--c-on-dark);
    margin: 0 auto 1.25rem;
    max-width: 18ch;
}

/* coral phrase on the black band (6.1:1 contrast) */
.accent-coral { color: var(--c-coral); }

.whatsapp-cta-copy {
    font-size: var(--fs-lead);
    line-height: 1.65;
    color: var(--c-on-dark-muted);
    margin: 0 auto 1.75rem;
    max-width: 34rem;
}

.whatsapp-cta-btn.ed-cta-link {
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--c-on-dark);
    text-decoration-color: var(--c-lime);
}

.whatsapp-cta-btn.ed-cta-link:hover { background: none; transform: none; color: var(--c-lime); }


/* -----------------------------------------------
   11. TESTIMONIALS / PULL QUOTES
----------------------------------------------- */

.testimonials-section {
    background: var(--c-white);
    padding: 0 var(--gutter);
}

.testimonials-container {
    max-width: var(--container);
    padding: var(--section-y) 0;
}

.testimonials-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.testimonials-head .first-split-image { max-width: 88px; margin: 0 0 1.25rem; border-radius: 0; }

.testimonials-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--fs-h2);
    line-height: 1.04;
    color: var(--c-ink);
    text-align: left;
    margin: 0;
}

.testimonials-intro {
    margin: 0;
    max-width: 30rem;
    font-size: var(--fs-lead);
    line-height: 1.55;
    color: var(--c-text-muted);
    text-align: left;
}

.testimonials-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4.5rem);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: 0;
    border-top: 1px solid var(--c-ink);
    border-radius: 0;
    box-shadow: none;
    padding: 1.75rem 0 0;
}

.testimonial-quote {
    font-family: var(--font-sans);
    font-style: normal;
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--c-ink);
    margin-bottom: 1.25rem;
    max-width: 38rem;
}

.testimonial-quote strong { font-weight: 600; }

/* Featured quote: full width, large serif */
.testimonial-card:first-child { grid-column: 1 / -1; }

.testimonial-card:first-child .testimonial-quote {
    font-family: var(--font-serif);
    font-size: var(--fs-quote);
    line-height: 1.18;
    letter-spacing: var(--tracking-display);
    max-width: none;                /* spans the full two-column width */
    text-wrap: pretty;              /* no one-word last line */
    margin-bottom: 1.5rem;
}

.testimonial-card:first-child .testimonial-quote strong {
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: var(--c-lime);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.16em;
    text-decoration-skip-ink: auto;
}

.testimonial-attribution {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: var(--tracking-ui);
    text-transform: uppercase;
    color: var(--c-ink);
    margin-top: 0.25rem;
}

@media (max-width: 760px) {
    .testimonials-list { grid-template-columns: 1fr; }
}


/* -----------------------------------------------
   12. FEATURE (immersion CTA)
----------------------------------------------- */

.immersion-cta-section {
    background: var(--c-white);
    padding: 0 var(--gutter);
    border: 0;
}

.immersion-cta-inner {
    max-width: var(--container);
    padding: var(--section-y) 0;
    border-top: 1px solid var(--c-line);
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.immersion-cta-image-wrap {
    border-radius: var(--radius-media);
    box-shadow: none;
    aspect-ratio: 4 / 3;
    background: var(--c-ivory);
}

.immersion-cta-copy { max-width: 34rem; }

.immersion-cta-section .section-eyebrow { color: var(--c-terracotta-text); margin-bottom: 1rem; }

.immersion-cta-heading {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--fs-h2);
    line-height: 1.04;
    color: var(--c-ink);
    margin-bottom: 1.25rem;
}

.immersion-cta-lead { font-size: var(--fs-lead); color: var(--c-text-muted); line-height: 1.55; }

.immersion-cta-list { gap: 0; margin-top: 1.5rem; border-top: 1px solid var(--c-line); }

.immersion-cta-list li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--c-line);
    font-size: var(--fs-card);
    color: var(--c-ink);
}

.immersion-cta-check {
    width: auto;
    height: auto;
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--c-terracotta-text);
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 0.1rem;
}

.immersion-cta-note { color: var(--c-text-muted); font-size: var(--fs-small); }

@media (max-width: 860px) {
    .immersion-cta-inner { grid-template-columns: 1fr; }
    .immersion-cta-image-wrap { aspect-ratio: 3 / 2; }
    .immersion-cta-copy { max-width: none; }
}

@media (max-width: 480px) {
    .immersion-cta-section { padding: 0 var(--gutter); }
}


/* -----------------------------------------------
   13. CLOSING STATEMENT (final CTA, centered)
----------------------------------------------- */

/* Dusty-blue color block: ink text only (5.2:1), lime CTA */
.final-cta {
    background: var(--c-dusty);
    padding: calc(var(--section-y) * 1.2) var(--gutter);
    text-align: center;
}

.final-cta-container {
    max-width: var(--container);
    margin: 0 auto;
}

.final-cta-title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--fs-display);
    line-height: var(--lh-tight);
    letter-spacing: var(--tracking-display);
    color: var(--c-ink);
    margin-bottom: 1.5rem;
}

.final-cta-copy {
    font-size: var(--fs-lead);
    color: var(--c-ink);
    max-width: 30rem;
    margin: 0 auto 1.75rem;
}

.final-cta-or { margin: 1.25rem 0 0.35rem; color: var(--c-ink); font-size: var(--fs-small); }
.final-cta .btn-primary { border-color: var(--c-ink); }

/* closing CTA: a full-size primary action, not a utility link */
.final-cta .btn {
    min-height: 56px;
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
}

@media (max-width: 600px) {
    .final-cta .btn { width: 100%; max-width: 420px; }   /* same full-width shape as the mobile hero CTA */
}

.final-cta-whatsapp-link {
    font-family: var(--font-ui);
    color: var(--c-ink);
    border-bottom: 0;
    font-weight: 600;
    font-size: var(--fs-btn);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.35em;
}

.final-cta-whatsapp-link:hover { color: var(--c-ink); text-decoration-color: var(--c-white); }


/* -----------------------------------------------
   14. FOOTER — light, columned
----------------------------------------------- */

.site-footer {
    background: var(--c-white);
    color: var(--c-text-muted);
    padding: 0 var(--gutter) 3.5rem;
}

.footer-inner {
    position: relative;
    max-width: var(--container);
    padding-top: clamp(2.5rem, 5vw, 3.5rem);
    border-top: 1px solid var(--c-ink);
    gap: 3rem;
}

/* after the dusty-blue block the colour change is the divider */
.final-cta + .site-footer .footer-inner { border-top: 0; }

.footer-wordmark {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 2rem;
    line-height: 1;
    color: var(--c-ink);
    margin-bottom: 0.9rem;
}

.footer-wordmark em { color: var(--c-tan-text); }

.footer-desc { color: var(--c-text-muted); font-size: var(--fs-card); max-width: 20rem; }

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(9rem, auto));
    gap: 2rem clamp(2rem, 5vw, 4rem);
    text-align: left;
}

.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; }

.footer-heading {
    font-family: var(--font-ui);
    font-size: var(--fs-label);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-ink);
    margin-bottom: 0.3rem;
}

.footer-nav a {
    color: var(--c-ink);
    font-size: var(--fs-small);
    font-weight: 400;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
}

.footer-nav a:hover { color: var(--c-ink); text-decoration-thickness: 2px; }

.footer-nav a.footer-highlight { color: var(--c-ink); font-weight: 600; text-decoration-thickness: 2px; }

.back-to-top {
    position: absolute;
    right: 0;
    bottom: -2rem;
    color: var(--c-ink);
    font-size: 1.1rem;
    text-decoration: none;
}

@media (max-width: 760px) {
    .footer-nav { grid-template-columns: 1fr 1fr; }
}


/* -----------------------------------------------
   15. MOTION PREFERENCES
----------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
