/* ===========================================================================
   Dr Kate Martin — single bundled stylesheet (no @import — AssetMapper safe)
   =========================================================================== */

/* ---- TOKENS -------------------------------------------------------------- */

:root {
    /* Espresso palette (replaces navy) */
    --coffee: oklch(18% 0.025 45);          /* #241B12 — Hero, About, Speaking, Nav */
    --coffee-fallback: #241B12;
    --navy: var(--coffee);                   /* alias kept for compatibility */
    --navy-mid: oklch(22% 0.025 45);        /* #2D2419 — CLET section */
    --navy-light: oklch(24% 0.025 45);      /* #322820 — photo placeholders */
    --navy-lighter: oklch(26% 0.025 45);    /* slightly lighter espresso */
    --navy-deepest: oklch(12% 0.025 45);    /* #1B130B — footer + scrolled nav */
    --navy-fallback-cool: oklch(18% 0.025 45);
    --accent: oklch(68% 0.13 72);
    --accent-light: oklch(73% 0.13 72);
    --accent-dark: oklch(58% 0.13 72);
    --accent-fallback: #c9933a;
    --off-white: oklch(97% 0.008 80);
    --cream-soft: oklch(94% 0.01 80);
    --cream-border: oklch(91% 0.008 80);
    --white: #ffffff;
    /* Warm body text (hue 45, no blue tint) */
    --text-dark: oklch(25% 0.015 45);       /* #3D3127 — strongest body */
    --text-mid: oklch(38% 0.015 45);        /* #5C4E42 — standard body */
    --text-mid-2: oklch(42% 0.015 45);      /* #675849 — card body */
    --text-mid-3: oklch(45% 0.015 45);      /* #6E5F50 — secondary body */
    --text-muted: oklch(55% 0.015 45);      /* #897868 — label / metadata */
    --text-meta: oklch(60% 0.015 45);       /* #998778 — subtle metadata */
    --text-timeline-inactive: oklch(35% 0.015 45);
    --white-90: rgba(255,255,255,0.9);
    --white-85: rgba(255,255,255,0.85);
    --white-75: rgba(255,255,255,0.75);
    --white-72: rgba(255,255,255,0.72);
    --white-65: rgba(255,255,255,0.65);
    --white-60: rgba(255,255,255,0.6);
    --white-55: rgba(255,255,255,0.55);
    --white-50: rgba(255,255,255,0.5);
    --white-45: rgba(255,255,255,0.45);
    --white-40: rgba(255,255,255,0.4);
    --white-30: rgba(255,255,255,0.3);
    --white-28: rgba(255,255,255,0.28);
    --white-25: rgba(255,255,255,0.25);
    --white-20: rgba(255,255,255,0.2);
    --white-15: rgba(255,255,255,0.15);
    --white-12: rgba(255,255,255,0.12);
    --white-10: rgba(255,255,255,0.1);
    --white-8: rgba(255,255,255,0.08);
    --white-7: rgba(255,255,255,0.07);
    --white-5: rgba(255,255,255,0.05);
    --white-4: rgba(255,255,255,0.04);
    --cat-service-transition: oklch(55% 0.12 250);
    --cat-research-insights: oklch(55% 0.12 140);
    --cat-identity: var(--accent);
    --cat-clet: oklch(55% 0.12 310);
    --cat-parenting: oklch(60% 0.12 20);
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --space-xs: 4px; --space-sm: 8px; --space-md: 16px; --space-lg: 24px;
    --space-xl: 40px; --space-2xl: 64px; --space-3xl: 112px;
    --max-content-width: 1280px;
    --section-padding-y: clamp(4rem, 8vw, 7rem);
    --section-padding-x: clamp(1.5rem, 5vw, 4rem);
    --nav-height: 80px;
    --nav-height-scrolled: 64px;
    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.2s ease;
    --transition-base: 0.35s var(--ease-out-expo);
    --transition-slow: 0.9s ease;
}

@supports not (color: oklch(0% 0 0)) {
    :root {
        --coffee: #241B12; --navy-mid: #2D2419; --navy-light: #322820;
        --navy-lighter: #3a2e25; --navy-deepest: #1B130B; --accent: #c9933a;
        --accent-light: #d9a84a; --accent-dark: #a87828; --off-white: #f7f5f1;
        --cream-soft: #efece5; --cream-border: #e5e2dc; --text-dark: #3D3127;
        --text-mid: #5C4E42; --text-mid-2: #675849; --text-mid-3: #6E5F50;
        --text-muted: #897868; --text-meta: #998778; --text-timeline-inactive: #5C4E42;
        --cat-service-transition: #3b5bdb; --cat-research-insights: #2f9e44;
        --cat-clet: #9b59d4; --cat-parenting: #d4694d;
    }
}

/* ---- BASE RESET ---------------------------------------------------------- */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-height); }

body {
    background: var(--coffee);
    color: var(--white-85);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, svg { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--accent-light); }

button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: inherit; }
h1 { font-size: clamp(2.6rem, 5.5vw, 5rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; }
h3 { font-size: 1.5rem; line-height: 1.3; }

input, textarea, select { font-family: inherit; }
input::placeholder, textarea::placeholder { color: var(--white-30); }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- LAYOUT -------------------------------------------------------------- */

.section { padding: var(--section-padding-y) var(--section-padding-x); }
.section--dark { background: var(--coffee); color: var(--white-72); }
.section--off-white { background: var(--off-white); color: var(--text-mid); }
.section--navy-mid { background: var(--navy-mid); }

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

.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}
.two-col--center { align-items: center; }

/* Nav scrolled bg — espresso darker */
.nav.is-scrolled { background: rgba(27,19,11,0.97) !important; }

.heading-block { max-width: 560px; margin-bottom: 3.5rem; }
.heading-block--center { margin-inline: auto; text-align: center; max-width: 620px; }

/* ---- BUTTONS ------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-body); font-weight: 700; letter-spacing: 0.06em;
    text-transform: uppercase; border: 0; border-radius: 2px; cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    text-decoration: none;
}
.btn--primary { background: var(--accent); color: var(--coffee); font-size: 0.88rem; padding: 15px 32px; }
.btn--primary:hover { background: var(--accent-light); color: var(--coffee); }
.btn--primary--sm { padding: 13px 28px; font-size: 0.82rem; }
.btn--ghost { background: transparent; color: var(--white-85); border: 1px solid var(--white-30); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; padding: 15px 32px; text-transform: none; }
.btn--ghost:hover { border-color: var(--white-72); color: var(--white); }
.btn--ghost-gold { background: transparent; color: var(--accent); border: 1px solid var(--accent); font-size: 0.82rem; padding: 13px 28px; }
.btn--ghost-gold:hover { background: var(--accent); color: var(--coffee); }
.btn--link { background: none; border: 0; padding: 0; color: var(--accent); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.btn--link:hover { color: var(--accent-light); }
.btn__icon { width: 16px; height: 16px; }

/* ---- EYEBROW ------------------------------------------------------------- */

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    color: var(--accent); font-family: var(--font-body); font-size: 0.72rem;
    font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); display: inline-block; flex-shrink: 0; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 28px; height: 2px; background: var(--accent); display: inline-block; flex-shrink: 0; }

/* ---- TAGS ---------------------------------------------------------------- */

.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.tag { font-family: var(--font-body); font-size: 0.85rem; padding: 7px 14px; border-radius: 2px; }
.tag--filled { color: var(--white-85); background: var(--white-7); border: 1px solid var(--white-12); }
.tag--outline { color: var(--accent); background: transparent; border: 1px solid var(--accent-dark); }

/* ---- CARDS --------------------------------------------------------------- */

.card-pathway {
    background: var(--white); padding: 2.5rem; border-radius: 4px;
    border: 1px solid var(--cream-border);
    transition: background var(--transition-base), border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base), color var(--transition-base);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04); color: var(--text-mid-3);
}
.card-pathway:hover { background: var(--coffee); border-color: transparent; transform: translateY(-6px); box-shadow: 0 24px 60px rgba(27,19,11,0.18); color: var(--white-72); }
.card-pathway__icon { color: var(--coffee); margin-bottom: 1.25rem; transition: color var(--transition-base); }
.card-pathway:hover .card-pathway__icon { color: var(--accent); }
.card-pathway__tag { display: block; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-body); font-weight: 600; color: var(--accent); margin-bottom: 0.6rem; }
.card-pathway__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--coffee); margin: 0 0 1rem; line-height: 1.3; transition: color var(--transition-base); }
.card-pathway:hover .card-pathway__title { color: var(--white); }
.card-pathway__body { font-family: var(--font-body); font-size: 0.9rem; line-height: 1.7; color: var(--text-mid-3); margin: 0 0 1.75rem; transition: color var(--transition-base); }
.card-pathway:hover .card-pathway__body { color: var(--white-72); }

.card-finding { background: var(--white); padding: 1.75rem; border-radius: 3px; border: 1px solid var(--cream-border); box-shadow: 0 2px 12px rgba(0,0,0,0.04); display: flex; gap: 1.25rem; align-items: start; }
.card-finding__number { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--coffee); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; }
.card-finding__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--coffee); margin-bottom: 6px; }
.card-finding__body { font-family: var(--font-body); font-size: 0.9rem; line-height: 1.65; color: var(--text-mid-2); }

.card-blog { position: relative; background: var(--white); border-radius: 3px; border: 1px solid var(--cream-border); overflow: hidden; transition: transform var(--transition-base), box-shadow var(--transition-base); box-shadow: 0 2px 8px rgba(0,0,0,0.04); display: flex; flex-direction: column; height: 100%; cursor: pointer; }
.card-blog:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
/* Stretch the title link over the whole card — makes the entire card clickable */
.card-blog__title a::after { content: ''; position: absolute; inset: 0; }
.card-blog__bar { height: 3px; background: var(--accent); }
.card-blog__bar--service-transition { background: var(--cat-service-transition); }
.card-blog__bar--research-insights { background: var(--cat-research-insights); }
.card-blog__bar--identity { background: var(--cat-identity); }
.card-blog__bar--clet { background: var(--cat-clet); }
.card-blog__bar--parenting { background: var(--cat-parenting); }
.card-blog__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-blog__cat { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.card-blog__cat--service-transition { color: var(--cat-service-transition); }
.card-blog__cat--research-insights { color: var(--cat-research-insights); }
.card-blog__cat--clet { color: var(--cat-clet); }
.card-blog__cat--parenting { color: var(--cat-parenting); }
.card-blog__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--coffee); line-height: 1.35; margin: 0.6rem 0 0.75rem; }
.card-blog__excerpt { font-family: var(--font-body); font-size: 0.85rem; line-height: 1.65; color: var(--text-mid-3); margin: 0 0 1.25rem; flex: 1; }
.card-blog__meta { display: flex; justify-content: space-between; font-family: var(--font-body); font-size: 0.72rem; color: var(--text-meta); }

.card-engagement { background: var(--white-5); border: 1px solid var(--white-10); padding: 1.5rem; border-radius: 3px; }
.card-engagement__eyebrow { font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.card-engagement__title { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
.card-engagement__body { font-family: var(--font-body); font-size: 0.85rem; color: var(--white-65); line-height: 1.6; }

.card-advisory { margin-top: 1.5rem; background: var(--cream-soft); padding: 1.5rem; border-radius: 3px; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.card-advisory__eyebrow { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.card-advisory__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.35rem; }
.card-advisory__body { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-dark); line-height: 1.5; }
/* card-advisory--dark — exact prototype values: bg 0.05, border 0.1 */
.card-advisory--dark { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.card-advisory--dark .card-advisory__eyebrow { color: var(--accent); }
.card-advisory--dark .card-advisory__title { color: var(--white-90); }
.card-advisory--dark .card-advisory__body { color: var(--white-65); }

/* ---- SPEAKING INTRO (centered header above 2-col grid) — exact prototype values */
.speaking-intro { max-width: 620px; margin: 0 auto 4rem; text-align: center; }
.speaking-intro__heading { font-family: var(--font-display); font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: var(--white-90); line-height: 1.2; margin: 0 0 1rem; }
.speaking-intro__body { font-family: var(--font-body); font-size: 1rem; line-height: 1.75; color: rgba(255,255,255,0.65); margin: 0; }

/* ---- TAG SECTION LABEL --------------------------------------------------- */
.tag-section-label { font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; font-weight: 600; display: block; }

/* ---- ACCORDION ----------------------------------------------------------- */

.accordion { display: flex; flex-direction: column; gap: 1rem; }
.accordion__item { background: var(--white-5); border: 1px solid var(--white-10); border-radius: 3px; overflow: hidden; }
.accordion__trigger { width: 100%; background: none; border: 0; padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; color: var(--white); text-align: left; }
.accordion__chevron { width: 16px; height: 16px; color: var(--accent); transition: transform 0.3s ease; flex-shrink: 0; }
.accordion__item.is-open .accordion__chevron { transform: rotate(180deg); }
.accordion__panel { padding: 0 1.25rem 1.1rem; font-family: var(--font-body); font-size: 0.875rem; line-height: 1.7; color: var(--white-65); }

/* ---- TIMELINE ------------------------------------------------------------ */

.timeline { position: relative; padding-left: 1.25rem; list-style: none; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 1px; background: var(--white-12); }
.timeline__item { position: relative; padding-bottom: 1.1rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__marker { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 2px; }
.timeline__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; position: relative; z-index: 1; }
.timeline__item--current .timeline__dot { background: var(--accent); box-shadow: 0 0 0 3px rgba(201,147,58,0.25); }
.timeline__year { font-family: var(--font-body); font-size: 0.65rem; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.timeline__label { font-family: var(--font-body); font-size: 0.875rem; color: var(--white-72); line-height: 1.4; padding-left: 1.35rem; }

/* ---- FORM ---------------------------------------------------------------- */

.form-card { background: var(--white-4); border: 1px solid var(--white-10); padding: 2.5rem; border-radius: 4px; }
.form-card__title { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin: 0 0 1.75rem; font-weight: 700; }
.form { display: flex; flex-direction: column; gap: 1rem; }
.form__label { display: block; font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white-50); margin-bottom: 6px; }
.form__input, .form__textarea { width: 100%; background: var(--white-7); border: 1px solid var(--white-15); color: var(--white); font-family: var(--font-body); font-size: 0.9rem; padding: 11px 14px; border-radius: 2px; outline: none; box-sizing: border-box; transition: border-color var(--transition-fast); }
.form__textarea { resize: vertical; min-height: 7rem; }
.form__input:focus, .form__textarea:focus { border-color: var(--accent); }
.form__submit { background: var(--accent); color: var(--coffee); border: 0; padding: 14px; border-radius: 2px; font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; transition: background var(--transition-fast); margin-top: 4px; }
.form__submit:hover { background: var(--accent-light); }
.form__success { text-align: center; padding: 2rem 0; }
.form__success-icon { width: 48px; height: 48px; margin: 0 auto 1rem; color: var(--accent); }
.form__success-title { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); margin-bottom: 8px; }
.form__success-body { font-family: var(--font-body); color: var(--white-65); font-size: 0.9rem; line-height: 1.65; }
.newsletter { background: var(--coffee); padding: 1.5rem; border-radius: 3px; min-width: 280px; }
.newsletter__eyebrow { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.newsletter__row { display: flex; gap: 0.5rem; }
.newsletter__input { flex: 1; background: var(--white-8); border: 1px solid var(--white-15); color: var(--white); font-family: var(--font-body); font-size: 0.85rem; padding: 9px 12px; border-radius: 2px; outline: none; transition: border-color var(--transition-fast); }
.newsletter__input:focus { border-color: var(--accent); }
.newsletter__submit { background: var(--accent); color: var(--coffee); border: 0; padding: 9px 14px; font-family: var(--font-body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px; white-space: nowrap; cursor: pointer; transition: background var(--transition-fast); }
.newsletter__submit:hover { background: var(--accent-light); }

/* ---- REVEAL -------------------------------------------------------------- */

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.9s ease, transform 0.9s ease; }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal="up-fast"] { transition-duration: 0.7s; transform: translateY(12px); }
[data-reveal="right"] { transform: translateX(20px); }
[data-reveal="right"].is-revealed { transform: none; }
[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }
[data-reveal-delay="600"] { transition-delay: 0.6s; }
[data-reveal-delay="700"] { transition-delay: 0.7s; }
[data-reveal-delay="800"] { transition-delay: 0.8s; }
[data-reveal-delay="900"] { transition-delay: 0.9s; }

/* ---- NAV ----------------------------------------------------------------- */

.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 0 var(--section-padding-x); background: transparent; border-bottom: 1px solid transparent; transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease; }
.nav.is-scrolled { background: var(--navy-mid); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--white-7); }
.nav__inner { max-width: var(--max-content-width); margin: 0 auto; height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; transition: height 0.4s ease; }
.nav.is-scrolled .nav__inner { height: var(--nav-height-scrolled); }
.nav__brand { background: none; border: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; text-align: left; color: inherit; }
.nav__brand-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--white); letter-spacing: 0.01em; line-height: 1.1; }
.nav__brand-sub { font-family: var(--font-body); font-size: 0.65rem; color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase; }
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__link { background: none; border: 0; padding: 4px 0; color: var(--white-75); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.04em; border-bottom: 1px solid transparent; transition: color var(--transition-fast), border-bottom-color var(--transition-fast); }
.nav__link:hover { color: var(--white); }
.nav__link.is-active { color: var(--accent); border-bottom-color: var(--accent); }
.nav__cta { background: var(--accent); color: var(--coffee); border: 0; font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 10px 22px; border-radius: 2px; transition: background var(--transition-fast); }
.nav__cta:hover { background: var(--accent-light); }
.nav__toggle { display: none; background: none; border: 0; padding: 4px; flex-direction: column; gap: 5px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: none; background: var(--navy-mid); border-top: 1px solid var(--white-10); padding: 1.5rem var(--section-padding-x); }
.nav.is-open .nav__mobile { display: block; }
.nav__mobile a, .nav__mobile button { display: block; width: 100%; text-align: left; background: none; border: 0; color: var(--white-85); font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--white-7); }
.nav__mobile .nav__cta { margin-top: 1rem; text-align: center; color: var(--coffee); padding: 12px 28px; width: 100%; }
@media (max-width: 680px) {
    .nav__links { display: none; }
    .nav__toggle { display: flex; }
}

/* ---- FOOTER -------------------------------------------------------------- */

.footer { background: var(--navy-deepest); padding: clamp(3rem, 6vw, 5rem) var(--section-padding-x) 2rem; }
.footer__grid { max-width: var(--max-content-width); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 3rem; margin-bottom: 3rem; }
.footer__brand-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.footer__brand-sub { font-family: var(--font-body); font-size: 0.7rem; color: var(--accent); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer__brand-desc { font-family: var(--font-body); font-size: 0.85rem; line-height: 1.7; color: var(--white-45); }
.footer__col-heading { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 1rem; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 0.6rem; }
.footer__list a { font-family: var(--font-body); font-size: 0.88rem; color: var(--white-55); transition: color var(--transition-fast); }
.footer__list a:hover { color: var(--white); }
.footer__contact { font-family: var(--font-body); font-size: 0.85rem; color: var(--white-55); line-height: 1.7; }
.footer__contact a { color: var(--accent); }
.footer__contact a:hover { color: var(--accent-light); }
.footer__credentials { font-family: var(--font-body); font-size: 0.78rem; color: var(--white-40); line-height: 1.4; }
.footer__credentials li { margin-bottom: 0.4rem; list-style: none; }
.footer__bar { max-width: var(--max-content-width); margin: 0 auto; border-top: 1px solid var(--white-7); padding-top: 1.75rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-family: var(--font-body); font-size: 0.75rem; color: var(--white-28); }

/* ---- HOME SECTIONS ------------------------------------------------------- */

/* Hero — exact prototype values */
.hero { position: relative; background: var(--coffee); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
/* Background texture: 135deg, white lines, 0.04 opacity, 60px spacing — matches prototype */
.hero::before { content: ""; position: absolute; inset: 0; opacity: 0.04; background-image: repeating-linear-gradient(135deg, #fff 0px, #fff 1px, transparent 1px, transparent 60px); pointer-events: none; }
/* Hero inner: padding-top 8rem, sides match section padding, bottom 5rem — exact prototype */
.hero__inner { max-width: var(--max-content-width); margin: 0 auto; width: 100%; position: relative; padding: 8rem clamp(1.5rem,5vw,4rem) 5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,500px),1fr)); gap: 4rem; align-items: center; }
.hero__content { position: relative; }

/* Gold bar — exact prototype: left matches section padding, width 2px, height 180px */
.hero__accent-bar { position: absolute; top: 0; left: clamp(1.5rem,5vw,4rem); width: 2px; height: 180px; background: var(--accent); }

/* Eyebrow — exact prototype: 0.72rem, weight 500, dash 28px × 2px */
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 2rem; }
.hero__eyebrow::before { content: ""; display: block; width: 28px; height: 2px; background: var(--accent); flex-shrink: 0; }

/* Heading — exact prototype: clamp(2.6rem, 5.5vw, 5rem) */
.hero__heading { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5.5vw, 5rem); line-height: 1.1; color: var(--white-90); margin-bottom: 1.5rem; }
.hero__heading em { font-style: normal; color: var(--accent); }

/* Body — exact prototype: clamp(1rem, 1.8vw, 1.2rem), max-width 520px */
.hero__body { font-family: var(--font-body); font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.75; color: rgba(255,255,255,0.7); max-width: 520px; margin-bottom: 2.5rem; }
.hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Photo column — prototype: justify center, max 420px */
.hero__visual { position: relative; width: min(420px, 100%); align-self: center; justify-self: center; }

/* Photo placeholder — prototype uses a child absolute div for stripes */
.hero__photo { width: 100%; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; background-color: var(--navy-light); position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.75rem; }
.hero__photo::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, var(--navy-lighter) 0px, var(--navy-lighter) 10px, oklch(22% 0.025 45) 10px, oklch(22% 0.025 45) 20px); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }
.hero__photo-icon { width: 52px; height: 52px; color: var(--white-30); position: relative; z-index: 1; }
.hero__photo-label { font-family: monospace; font-size: 0.65rem; letter-spacing: 0.05em; color: rgba(255,255,255,0.25); text-align: center; line-height: 1.5; position: relative; z-index: 1; }

/* Stat card — overlaps bottom-left corner of photo */
.hero__stat-card { position: absolute; bottom: 2rem; left: -1.5rem; background: var(--accent); color: var(--coffee); padding: 1.25rem 1.5rem; border-radius: 3px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); z-index: 2; }
.hero__stat-number { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; color: var(--coffee); }
.hero__stat-label { font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-mid); margin-top: 4px; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--white-40); font-family: var(--font-body); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; animation: heroScrollBounce 2s ease-in-out infinite; }
.hero__scroll-line { width: 1px; height: 32px; background: linear-gradient(to bottom, var(--accent), transparent); }
@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* Stats bar — exact prototype values */
.stats-bar { background: var(--accent); padding: 2.5rem clamp(1.5rem,5vw,4rem); }
.stats-bar__inner { max-width: var(--max-content-width); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; }
.stat-cell { padding: 1.25rem 1rem; border-right: 1px solid var(--accent-dark); text-align: center; }
.stat-cell:last-child { border-right: 0; }
.stat-cell__number { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--coffee); line-height: 1; }
.stat-cell__label { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-mid); font-weight: 600; margin-top: 6px; }

.pathways-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; margin-top: 3.5rem; }

.teaser { padding: var(--section-padding-y) var(--section-padding-x); }
.teaser--dark { background: var(--coffee); }
.teaser--light { background: var(--off-white); }
/* teaser__inner — exact prototype: align-items start (not center) */
.teaser__inner { max-width: var(--max-content-width); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
.teaser__inner--reverse { direction: rtl; }
.teaser__inner--reverse > * { direction: ltr; }
.teaser__image { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background-color: var(--navy-light); background-image: repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(255,255,255,0.07) 12px, rgba(255,255,255,0.07) 13px); }
.teaser__image--tall { aspect-ratio: 3 / 4; max-width: 400px; }
.teaser__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.teaser__content { display: flex; flex-direction: column; gap: 0; }
/* teaser__heading — prototype About: margin 0 0 2rem, Research: 0 0 1.5rem. Use 1.5rem to match Research. */
.teaser__heading { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; }
.teaser--dark .teaser__heading { color: var(--white-90); }
.teaser--light .teaser__heading { color: var(--coffee); }
.teaser__body { font-family: var(--font-body); font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
.teaser--dark .teaser__body { color: var(--white-72); }
.teaser--light .teaser__body { color: var(--text-mid); }
/* Speaking section overrides the teaser grid to wider minmax (480px vs 440px) */
#speaking .teaser__inner { grid-template-columns: repeat(auto-fit, minmax(min(100%,480px),1fr)); gap: 3rem; }
/* About section: prototype uses 2rem heading margin-bottom */
#about .teaser__heading { margin-bottom: 2rem; }

.blog-teaser { padding: var(--section-padding-y) var(--section-padding-x); background: var(--off-white); }
.blog-teaser__inner { max-width: var(--max-content-width); margin: 0 auto; }
.blog-teaser__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 3rem; }
.blog-teaser__header-text { flex: 1; }
/* blog grid — exact prototype: auto-fill, 280px min (not auto-fit / 300px) */
.blog-teaser__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.blog-teaser__footer { text-align: center; }

/* CLET — exact prototype: max padding 6rem (not 7rem), border-top, responsive grid, gap max 5rem */
.clet { background: var(--navy-mid); padding: clamp(4rem,8vw,6rem) clamp(1.5rem,5vw,4rem); border-top: 1px solid rgba(255,255,255,0.07); }
.clet__inner { max-width: var(--max-content-width); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,440px),1fr)); gap: clamp(3rem,6vw,5rem); align-items: center; }
.clet__eyebrow { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.clet__heading { font-family: var(--font-display); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; color: var(--white-90); line-height: 1.2; margin-bottom: 1.25rem; }
.clet__body { font-family: var(--font-body); font-size: 1rem; line-height: 1.8; color: var(--white-72); margin-bottom: 2rem; }

.pull-quote { border-left: 3px solid var(--accent); padding: 1.25rem 0 1.25rem 1.75rem; margin-block: 2rem; }
/* pull-quote text — exact prototype: 1.15rem fixed, line-height 1.6 */
.pull-quote__text { font-family: var(--font-display); font-size: 1.15rem; font-style: italic; line-height: 1.6; color: var(--white-90); margin-bottom: 0.75rem; }
.pull-quote--light .pull-quote__text { color: var(--coffee); }
/* pull-quote dark — exact prototype: border-radius right-side only, tighter padding */
.pull-quote--dark { background: var(--coffee); border-left: 3px solid var(--accent); border-radius: 0 3px 3px 0; padding: 1.5rem 1.75rem; margin-block: 2rem; }
.pull-quote--dark .pull-quote__text { color: var(--white-90); }
.pull-quote__attribution { font-family: var(--font-body); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-top: 12px; display: block; }

/* ---- TEASER FACETS ------------------------------------------------------- */
.teaser__facets { display: flex; gap: 0; margin-top: 1.75rem; margin-bottom: 1.75rem; border-top: 1px solid var(--white-10); padding-top: 1.75rem; flex-wrap: wrap; }
.teaser__facet { flex: 1; min-width: 90px; padding-right: 1rem; }
/* facet title — exact prototype: Playfair Display, 1rem */
.teaser__facet strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--accent); margin-bottom: 3px; }
/* facet sub — exact prototype: 0.78rem, white-50, marginTop 2px */
.teaser__facet span { font-family: var(--font-body); font-size: 0.78rem; color: var(--white-50); line-height: 1.5; display: block; margin-top: 2px; }

/* ---- ABOUT PAGE — FACETS SECTION (off-white bg, readable dark text) ----- */
.about-facets-section { text-align: center; }
.about-facets-header { margin-bottom: 2.5rem; }
.about-facets-heading {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--coffee);
    margin: 0;
    line-height: 1.25;
}
.about-facets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}
.about-facet-card {
    background: #fff;
    border-radius: 6px;
    border-top: 3px solid var(--accent);
    padding: 2rem 1.75rem 1.75rem;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: center;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.about-facet-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.about-facet-card__label {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--coffee);
    line-height: 1.2;
}
.about-facet-card__sub {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--text-mid);
    line-height: 1.6;
}
@media (max-width: 640px) {
    .about-facets-grid { grid-template-columns: 1fr; max-width: 400px; }
}
@media (min-width: 641px) and (max-width: 900px) {
    .about-facets-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .about-facet-card { padding: 1.5rem 1.25rem; }
}

/* ---- TEASER IMAGE LABEL -------------------------------------------------- */
.teaser__image-label { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--white-30); text-align: center; padding: 1rem; }

/* ---- PAGE HERO (inner pages) --------------------------------------------- */

.page-hero {
    background: var(--coffee);
    padding-top: calc(var(--nav-height) + clamp(3rem, 6vw, 5rem));
    padding-bottom: clamp(3rem, 6vw, 5rem);
    padding-inline: var(--section-padding-x);
}
.page-hero__inner { max-width: var(--max-content-width); margin: 0 auto; }
.page-hero__heading {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white-90);
    max-width: 740px;
    margin-bottom: 1.25rem;
}
.page-hero__body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--white-65);
    max-width: 560px;
}

/* ---- ABOUT HERO (split: text left, photo right flush) --------------------- */

.about-hero { background: var(--coffee); padding-top: calc(var(--nav-height) + clamp(2.5rem, 5vw, 4rem)); overflow: hidden; }
.about-hero__inner { max-width: var(--max-content-width); margin: 0 auto; padding-inline: var(--section-padding-x); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: end; }
.about-hero__content { padding-bottom: clamp(3rem, 5vw, 5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.about-hero__heading { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 700; line-height: 1.1; color: var(--white-90); }
.about-hero__body { font-family: var(--font-body); font-size: 1.05rem; line-height: 1.8; color: var(--white-60); }
.about-hero__visual { aspect-ratio: 3 / 4; overflow: hidden; border-radius: 4px 4px 0 0; align-self: end; max-height: 600px; }
.about-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.about-hero__visual-placeholder { width: 100%; height: 100%; background: var(--navy-light); background-image: repeating-linear-gradient(-45deg, transparent, transparent 12px, var(--navy-lighter) 12px, var(--navy-lighter) 13px); }

/* ---- ABOUT BIO section ---------------------------------------------------- */

.about-bio { padding: var(--section-padding-y) var(--section-padding-x); background: var(--coffee); }
.about-bio__body-inner { max-width: 760px; margin: 0 auto; }
.about-bio__text { display: flex; flex-direction: column; gap: 1.25rem; }
.about-bio__para { font-family: var(--font-body); font-size: 1rem; line-height: 1.85; color: var(--white-72); }
.about-bio__credentials { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }

/* ---- CARD FACET ---------------------------------------------------------- */

.facets-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.5rem; margin-top: 3.5rem; }
.card-facet { background: var(--white); border: 1px solid var(--cream-border); border-radius: 4px; padding: 2.25rem; box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.card-facet__icon { width: 48px; height: 48px; margin-bottom: 1.5rem; color: var(--accent); }
.card-facet__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--coffee); margin-bottom: 0.75rem; }
.card-facet__body { font-family: var(--font-body); font-size: 0.9rem; line-height: 1.7; color: var(--text-mid-2); }

/* ---- ABOUT TIMELINE SECTION ---------------------------------------------- */

.about-timeline { padding: var(--section-padding-y) var(--section-padding-x); background: var(--coffee); }
.about-timeline__inner { max-width: var(--max-content-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.about-timeline__lead { color: var(--white-72); font-family: var(--font-body); font-size: 1rem; line-height: 1.8; }

/* ---- LEGAL PROSE --------------------------------------------------------- */

.legal-prose { font-family: var(--font-body); color: var(--text-mid); font-size: 1rem; line-height: 1.85; }
.legal-prose p { margin-bottom: 1.25rem; }
.legal-prose h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--coffee); margin: 2.5rem 0 0.75rem; }
.legal-prose h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--coffee); margin: 1.75rem 0 0.5rem; }
.legal-prose ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.legal-prose li { margin-bottom: 0.4rem; }
.legal-prose a { color: var(--accent); }
.legal-prose a:hover { color: var(--accent-light); }
.legal-prose strong { color: var(--coffee); }

/* ---- RESPONSIVE ---------------------------------------------------------- */

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { display: none; }
    .stats-bar__inner { grid-template-columns: repeat(3, 1fr); }
    .stat-cell:nth-child(3) { border-right: 0; }
    .stat-cell:nth-child(4) { border-top: 1px solid var(--accent-dark); }
    .clet__inner { grid-template-columns: 1fr; }
    .about-hero__inner { grid-template-columns: 1fr; }
    .about-hero__visual { max-width: 420px; border-radius: 4px; max-height: 420px; }
    .about-bio__inner { grid-template-columns: 1fr; }
    .about-timeline__inner { grid-template-columns: 1fr; }
    .blog-teaser__header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
    .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
    .stat-cell:nth-child(2) { border-right: 0; }
    .stat-cell:nth-child(3) { border-right: 1px solid var(--accent-dark); border-top: 1px solid var(--accent-dark); }
    .stat-cell:nth-child(4) { border-top: 1px solid var(--accent-dark); border-right: 0; }
    .stat-cell:nth-child(5) { border-right: 1px solid var(--accent-dark); border-top: 1px solid var(--accent-dark); }
    .stat-cell:nth-child(6) { border-top: 1px solid var(--accent-dark); }
    .hero__stat-card { left: 0; right: 0; bottom: -1.5rem; min-width: unset; }
}

/* ── AJAX form feedback messages ─────────────────────────────────────────── */
.form-ajax-msg {
    min-height: 1.4em;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.form-ajax-msg--ok      { color: #4ade80; }
.form-ajax-msg--err     { color: #f87171; }
.form-ajax-msg--loading { color: rgba(255,255,255,0.5); font-style: italic; }
