/* ── AIM Design System ──
   The bundled output at css/bundle.css is generated by concatenating source files.
   Regenerate with:
     cat css/base.css css/nav.css css/components.css css/animations.css \
         css/homepage.css css/backstory.css css/evidence.css css/solutions.css \
         css/syllabus.css css/modules.css css/contact.css > css/bundle.css
   Edit source files, not bundle.css. */

:root {
    /* Primary navy family (AIM brand pack) */
    --navy: #13075d;            /* primary brand navy */
    --navy-90: rgba(19,7,93,0.9);
    --navy-2: #141464;          /* secondary navy */
    --navy-3: #141450;          /* tertiary navy */
    --navy-4: #282864;          /* mid navy */
    --navy-light: #282864;      /* back-compat alias */
    --slate: #505078;           /* slate blue, used for accents */

    /* Neutrals (AIM brand pack) */
    --grey-1: #a0a0b4;
    --grey-2: #c8c8dc;
    --grey-3: #dcdcdc;
    --grey-4: #f0f0f0;
    --white: #ffffff;

    /* Semantic */
    --blue-subtle: #f0f0f8;     /* used for light info section backgrounds */
    --cream: #f0f0f0;           /* brand light grey, formerly #f9f9f7 */
    --accent: #505078;          /* brand slate replaces #3d5aef */
    --accent-hover: #3f3f60;
    --accent-blue: #0058a3;     /* arrow accent blue — confirm hex with Molly */

    /* Text */
    --text: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-light: #7a7a96;
    --border: #e8e8ee;

    --ease: cubic-bezier(.22,1,.36,1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
}

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

/* Screen reader only */
.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;
}

/* ── Section rhythm ── */
.s {
    padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 4rem);
}

.s-inner {
    max-width: 1080px;
    margin: 0 auto;
}

.s-narrow {
    max-width: 680px;
}

.s-eyebrow {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.s-heading {
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.s-body {
    font-size: 1.075rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
}

.s-body--italic {
    font-style: italic;
}

.s-body + .s-body {
    margin-top: 1rem;
}

/* ── Inline link in body copy ── */
.inline-link {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s;
}
.inline-link:hover { opacity: 0.8; }

/* ── Generic figure prefix (e.g. "up to" before a big stat) ── */
.figure-prefix {
    display: block;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    line-height: 1;
    letter-spacing: -0.005em;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

/* ── Responsive base ── */
@media (max-width: 860px) {
    .s {
        padding: clamp(3.5rem, 8vw, 5rem) 1.5rem;
    }
}
/* ── Fixed Nav ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
    /* 40px so the wordmark is the visual anchor of the banner */
    height: 40px;
    display: block;
    transition: opacity 0.2s;
}

/* Ensure the anchor wrapping the logo vertically centres inside the nav
   and doesn't introduce extra baseline whitespace from inline layout. */
.nav a:has(> .nav-logo) {
    display: flex;
    align-items: center;
    line-height: 0;
}

.nav-logo:hover { opacity: 0.8; }

/* ── Hero-aware nav states ── */
/* Note: nav-logo no longer needs a filter. The native-colour
   aim-wordmark.svg renders correctly on the white sub-page nav states,
   and the home page uses a text eyebrow instead of a logo image. */

/* ── Burger icon ── */
/* Sized for visual parity with the .nav-logo (28px tall). Three 2px lines
   with matching gaps fill a 28px box and read with similar weight to the
   wordmark beside it. */
.burger {
    width: 32px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 200;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

/* White burger on hero */
.nav.hero-visible .burger span {
    background: var(--white);
}

/* Burger X state — translate to center and rotate.
   Centre y = (28 - 2) / 2 = 13px from top.
   Span 1 starts at y=0  → translateY(+13px)
   Span 3 starts at y=26 → translateY(-13px) */
.burger.open span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

/* Always white when menu is open */
.burger.open span {
    background: var(--white);
}


/* ── Full-screen overlay menu ── */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    /* Must sit above .nav (z-index: 200) so .overlay-close inside this
       overlay is actually clickable. With overlay below the nav, the nav
       intercepts pointer events at the close button's coordinates and the
       circle X appears decorative but does nothing. */
    z-index: 250;
    background: var(--navy);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-overlay nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.menu-overlay nav a {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.25s var(--ease), transform 0.25s var(--ease);
    letter-spacing: -0.01em;
}

.menu-overlay nav a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.menu-overlay nav a.active {
    color: var(--white);
}

/* ── Strapline in menu ── */
.menu-strapline {
    margin-top: 2.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.2);
}

/* Nav visible above overlay when menu is open */
body.menu-open .nav {
    background: transparent;
    box-shadow: none;
}

/* ── Overlay close X ── */
.overlay-close {
    position: absolute;
    top: 20px;
    right: clamp(1.5rem, 4vw, 4rem);
    width: 48px;
    height: 48px;
    background: none;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    line-height: 48px;
    text-align: center;
    transition: color 0.2s, border-color 0.2s;
    z-index: 10;
}
.overlay-close:hover {
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
/* ── Buttons ── */
.btn-primary {
    display: inline-block;
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s, transform 0.15s;
    letter-spacing: -0.01em;
    font-family: inherit;
}

.btn-primary:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--border);
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.25s, transform 0.15s;
    letter-spacing: -0.01em;
    font-family: inherit;
}

.btn-secondary:hover {
    border-color: var(--navy);
    transform: translateY(-1px);
}

/* ── Cards ── */
.o-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.o-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(19,7,93,0.06);
}

.o-card h3 {
    font-size: 1.3rem;
    color: var(--navy);
    line-height: 1.25;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.o-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
}

/* ── Email forms ── */
.email-row {
    display: flex;
    gap: 0.75rem;
    max-width: 460px;
    margin: 0 auto;
}

.email-row input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    background: rgba(255,255,255,0.07);
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
}

.email-row input::placeholder { color: rgba(255,255,255,0.35); }
.email-row input:focus { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.1); }

.email-row button {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 100px;
    background: var(--white);
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.25s;
    font-family: inherit;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.email-row button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* Email form on light backgrounds */
.email-row--light input {
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
}

.email-row--light input::placeholder { color: var(--text-light); }
.email-row--light input:focus { border-color: var(--accent); background: var(--white); }

.form-fine-print {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    margin-top: 1rem;
    text-align: center;
}

.form-message {
    display: none;
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    font-size: 0.95rem;
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
}

.form-message.error {
    color: #ffd7d7;
    border-color: rgba(255,130,130,0.45);
    background: rgba(255,80,80,0.12);
}

/* ── Accordion ── */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.accordion-item {
    border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.3rem;
    color: var(--navy);
    text-align: left;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

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

.accordion-trigger::after {
    content: '+';
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
    transition: transform 0.35s var(--ease);
    flex-shrink: 0;
    margin-left: 1rem;
}

.accordion-item.expanded > .accordion-trigger::after {
    transform: rotate(45deg);
}

/* Hide ::after when trigger has its own expand icon */
.pillar-trigger.accordion-trigger::after,
.objective-trigger.accordion-trigger::after {
    display: none;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
}

.accordion-inner {
    padding: 0 0 1.5rem;
}

.accordion-inner p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
}

/* Nested accordions */
.accordion-inner .accordion-trigger {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    padding: 1rem 0;
}

.accordion-inner .accordion-inner {
    padding-left: 1rem;
}

/* ── Footer ── */
/* Border spans full width. Three-column grid (`1fr auto 1fr`) pins the centre
   taglines on the true page centre while letting the left and right blocks
   extend out toward the viewport edges with only page-level gutter padding. */
footer {
    padding-block: 2.5rem;
    padding-inline: clamp(1.5rem, 4vw, 4rem);
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

footer > *:first-child  { justify-self: start; }
footer > *:nth-child(2) { justify-self: center; text-align: center; }
footer > *:last-child   { justify-self: end; }

footer p,
footer a {
    font-size: 0.78rem;
    color: var(--text-light);
}

footer a {
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover { color: var(--navy); }

.footer-taglines {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    line-height: 1.2;
}

.footer-taglines span:last-child {
    color: var(--navy);
}

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.78rem;
    color: var(--text-light);
}

.footer-meta p {
    font-size: 0.78rem;
    line-height: 1.4;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-linkedin {
    display: inline-flex;
    align-items: center;
    color: var(--text-light);
    transition: color 0.2s;
}

.footer-linkedin:hover {
    color: var(--navy);
}

/* ── Legal page body (privacy, terms) ── */
.legal-body {
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.98rem;
}

.legal-body p { margin-bottom: 1rem; }
.legal-body ul { margin: 0 0 1.25rem 1.25rem; }
.legal-body li { margin-bottom: 0.4rem; line-height: 1.65; }

.legal-body h3 {
    font-family: 'Libre Baskerville', Georgia, serif;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 400;
    margin: 2.5rem 0 0.75rem;
    letter-spacing: -0.01em;
}

.legal-body h4 {
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 600;
    margin: 1.75rem 0 0.5rem;
}

.legal-body a {
    color: var(--accent-blue);
    text-decoration: underline;
}
.legal-body a:hover { opacity: 0.8; }

/* ── Responsive ── */
@media (max-width: 860px) {
    .email-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Stack the footer vertically on narrow viewports. Override the desktop
       `grid-template-columns: 1fr auto 1fr` so the three blocks flow down
       the page instead of being crushed into narrow columns. */
    footer {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        text-align: center;
    }

    footer > *:first-child,
    footer > *:nth-child(2),
    footer > *:last-child {
        justify-self: center;
    }

    .footer-meta {
        align-items: center;
    }
}
/* ── Scroll reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Contrast pair slide-ins (Evidence page) ── */
/* Slide-ins: visible by default, animated when JS adds .animate-ready */
.slide-in-left,
.slide-in-right {
    opacity: 1;
    transform: translateX(0);
}

.contrast-pair.animate-ready .slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.contrast-pair.animate-ready .slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: 0.15s;
}

.contrast-pair.visible .slide-in-left,
.contrast-pair.visible .slide-in-right {
    opacity: 1;
    transform: translateX(0);
}

/* ── Counter animation ── */
.counter {
    font-variant-numeric: tabular-nums;
}

/* ── Bar fill animation ── */
.bar-fill {
    width: 0;
    transition: width 1.2s var(--ease);
}

.bar-fill.visible {
    width: var(--bar-width, 0%);
}

/* ── Accessibility: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .slide-in-left,
    .slide-in-right,
    .bar-fill {
        transition: none;
    }

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

    .slide-in-left,
    .slide-in-right {
        opacity: 1;
        transform: none;
    }

    .bar-fill {
        width: var(--bar-width, 0%);
    }

    .accordion-content {
        transition: none;
    }
}
/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(80,80,120,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(80,80,120,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 760px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

/* Hero logo (replaces h1 on home page).
   Uses aim-wordmark-white.svg which has the reversed brand colours
   baked in: white letters + light blue arrow, designed for navy backgrounds. */
.hero-logo {
    display: block;
    height: clamp(120px, 18vw, 200px);
    width: auto;
    margin: 0 auto 2.5rem;
}

.hero--logo .hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.15rem);
    color: rgba(255,255,255,0.7);
    max-width: 620px;
    margin: 0 auto 2.75rem;
    line-height: 1.75;
    font-weight: 300;
}

.hero-sub-block {
    margin: 0 auto 2.75rem;
    max-width: 620px;
}
.hero-sub-block .hero-sub {
    margin-bottom: 1rem;
}
.hero-sub-block .hero-sub:last-child {
    margin-bottom: 0;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,0.6);
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Homepage nav logo: hidden while hero is in view, fades in on scroll */
.nav.hero-visible .nav-logo {
    opacity: 0;
    pointer-events: none;
}

.hero-strapline {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.25);
    margin-top: 2.5rem;
}

/* ── Stats strip ── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    align-items: start;
}

.stat-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Reserve a prefix-sized slot on every stat block so big numbers align
   on the same baseline whether or not a ".figure-prefix" is present. */
.stat-block::before {
    content: "";
    display: block;
    height: 1.2rem;
    margin-bottom: 0.35rem;
}
.stat-block:has(.figure-prefix)::before { display: none; }

.stat-figure {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

/* Risk modifier — draws the eye to the single most alarming figure in a
   stats strip (e.g. the "lowest scorer" Gen Z stat). */
.stat-figure--risk {
    color: #c0392b;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    font-weight: 400;
}

/* ── Audience tiles (expandable, matches Risks pattern) ── */
/* Interleaved tile+detail siblings with explicit grid placement.
   Desktop: 3 tiles in row 1, active detail in row 2 full-width.
   Mobile: auto-flow so detail appears directly after its tile. */
.audience-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    align-items: stretch;
}

/* Desktop: 3 tiles in row 1, active detail in row 2 full-width */
.audience-tile[data-aud="1"] { grid-column: 1; grid-row: 1; }
.audience-tile[data-aud="2"] { grid-column: 2; grid-row: 1; }
.audience-tile[data-aud="3"] { grid-column: 3; grid-row: 1; }
.audience-detail {
    grid-column: 1 / -1;
    grid-row: 2;
}

.audience-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2.5rem 2rem 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: inherit;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.audience-tile:hover,
.audience-tile[aria-expanded="true"] {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(19,7,93,0.08);
    border-color: var(--accent);
}

.audience-tile:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.audience-tile h3 {
    font-size: 1.625rem;
    color: var(--navy);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 400;
}

.audience-more {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: auto;
    font-family: 'Montserrat', sans-serif;
}

.audience-chevron {
    display: inline-block;
    transition: transform 0.3s var(--ease);
    margin-left: 0.15rem;
}

.audience-tile[aria-expanded="true"] .audience-chevron {
    transform: rotate(180deg);
}

.audience-detail {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    animation: riskDetailIn 0.35s var(--ease);
}

.audience-detail[hidden] {
    display: none;
}

.audience-detail-inner {
    padding: 2rem 2.5rem;
}

.audience-detail-inner p {
    font-size: 1.156rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1rem;
}

.audience-detail-inner p:last-child {
    margin-bottom: 0;
}

/* ── Section CTA ── */
/* Sits under a section's content (stats, tiles, etc.) and routes the reader
   to the relevant deep page. Single-button by default; add .section-cta--row
   to wrap two or three buttons on a line with even spacing. */
.section-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.section-cta--row {
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 560px) {
    .section-cta--row {
        flex-direction: column;
        align-items: stretch;
    }
    .section-cta--row .btn-primary {
        text-align: center;
    }
}

/* ── Founders strip ── */
.founders-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.founder {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.founder-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: var(--blue-subtle);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.founder h4 {
    font-size: 1.625rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.founder p {
    font-size: 1.156rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
}

/* ── Risks grid ── */
/* Tiles and details are interleaved siblings. Explicit grid-column/row
   placement on desktop and tablet keeps tiles in their row and drops
   the active detail into a full-width row directly below the tile's row.
   On mobile the placement resets to auto-flow so each detail appears
   right after the tile that was tapped (source-order based). */
.risks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
    align-items: stretch;
}

/* Desktop: 4 tiles in row 1, active detail in row 2 full-width */
.risk-tile[data-risk="1"] { grid-column: 1; grid-row: 1; }
.risk-tile[data-risk="2"] { grid-column: 2; grid-row: 1; }
.risk-tile[data-risk="3"] { grid-column: 3; grid-row: 1; }
.risk-tile[data-risk="4"] { grid-column: 4; grid-row: 1; }
.risk-detail {
    grid-column: 1 / -1;
    grid-row: 2;
}

.risk-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding: 2.25rem 1.5rem 1.75rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
    color: inherit;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.risk-tile:hover,
.risk-tile[aria-expanded="true"] {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(19,7,93,0.08);
    border-color: var(--accent);
}

.risk-tile:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.risk-icon {
    width: 56px;
    height: 56px;
    color: var(--navy);
    flex-shrink: 0;
}

.risk-tile h3 {
    font-size: 1.05rem;
    color: var(--navy);
    line-height: 1.3;
    letter-spacing: -0.005em;
    margin: 0;
    font-weight: 400;
}

.risk-more {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: auto;
    font-family: 'Montserrat', sans-serif;
}

.risk-chevron {
    display: inline-block;
    transition: transform 0.3s var(--ease);
    margin-left: 0.15rem;
}

.risk-tile[aria-expanded="true"] .risk-chevron {
    transform: rotate(180deg);
}

.risk-detail {
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 12px;
    margin-top: 0;
    animation: riskDetailIn 0.35s var(--ease);
}

.risk-detail[hidden] {
    display: none;
}

@keyframes riskDetailIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .risk-detail,
    .audience-detail {
        animation: none;
    }
}

.risk-detail-inner {
    padding: 2rem 2.5rem;
}

.risk-detail-inner p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
    margin-bottom: 1rem;
}

.risk-detail-inner p:last-child {
    margin-bottom: 0;
}

/* ── Who We Are extras ── */
.who-we-are-intro {
    margin-bottom: 0;
}

.who-we-are-closing {
    margin-top: 3rem;
    text-align: center;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.who-we-are-closing p {
    font-size: 1.075rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
}

.who-we-are-mission {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    color: var(--navy);
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-top: 2rem;
    font-weight: 400;
}

.who-we-are-cta {
    margin-top: 2rem;
}

/* ── Final CTA ── */
.final-cta {
    background: var(--navy);
    text-align: center;
    padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 4vw, 4rem);
}

.final-cta .s-eyebrow { color: rgba(255,255,255,0.3); }

.final-cta .s-heading {
    color: var(--white);
    max-width: 550px;
    margin: 0 auto 1rem;
}

.final-cta .s-body {
    color: rgba(255,255,255,0.5);
    margin: 0 auto 3rem;
    text-align: center;
    max-width: 480px;
}

.final-cta .email-row input {
    border-color: rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
}

.final-cta .form-fine-print { color: rgba(255,255,255,0.25); }

/* ── Responsive ── */
@media (max-width: 860px) {
    .hero { min-height: auto; padding: 8rem 1.5rem 5rem; }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .audience-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

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

    /* Tablet: 2x2 tiles. Tiles 1-2 in row 1, detail of tile 1 or 2 in row 2.
       Tiles 3-4 in row 3, detail of tile 3 or 4 in row 4. */
    .risk-tile[data-risk="1"] { grid-column: 1; grid-row: 1; }
    .risk-tile[data-risk="2"] { grid-column: 2; grid-row: 1; }
    .risk-tile[data-risk="3"] { grid-column: 1; grid-row: 3; }
    .risk-tile[data-risk="4"] { grid-column: 2; grid-row: 3; }
    .risk-detail[data-risk="1"],
    .risk-detail[data-risk="2"] {
        grid-column: 1 / -1;
        grid-row: 2;
    }
    .risk-detail[data-risk="3"],
    .risk-detail[data-risk="4"] {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    /* Audience: stack to 1 column, reset grid placement to auto-flow */
    .audience-tile[data-aud="1"],
    .audience-tile[data-aud="2"],
    .audience-tile[data-aud="3"],
    .audience-detail {
        grid-column: auto;
        grid-row: auto;
    }

    .risk-detail-inner {
        padding: 1.5rem 1.5rem;
    }

    .who-we-are-mission {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }
}

@media (max-width: 560px) {
    .stats-strip {
        grid-template-columns: 1fr;
    }

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

    /* Mobile: reset explicit grid placement so interleaved source order
       takes over. Detail appears directly after its tapped tile. */
    .risk-tile[data-risk="1"],
    .risk-tile[data-risk="2"],
    .risk-tile[data-risk="3"],
    .risk-tile[data-risk="4"],
    .risk-detail,
    .risk-detail[data-risk="1"],
    .risk-detail[data-risk="2"],
    .risk-detail[data-risk="3"],
    .risk-detail[data-risk="4"] {
        grid-column: auto;
        grid-row: auto;
    }
}
/* ── Two voices layout ── */
/* Subgrid lets the inner .voice elements share the parent's row tracks,
   so the label / heading / intro / accordion / quote rows align horizontally
   across both columns even when individual elements have different heights. */
.voices-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto auto;
    column-gap: 4rem;
    row-gap: 0;
    margin-top: 4rem;
}

.voice {
    position: relative;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: 1 / span 5;
    row-gap: 0;
}

.voice-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.voice h3 {
    font-size: 1.5rem;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 1.25rem;
    letter-spacing: -0.01em;
}

.voice-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.voice .accordion-inner p {
    margin-bottom: 1rem;
}

.voice .accordion-inner p:last-child {
    margin-bottom: 0;
}

/* ── Pull quote ── */
.voice-quote {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 3px solid var(--navy);
    max-width: 400px;
}

.voice-quote blockquote {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.25rem;
    color: var(--navy);
    line-height: 1.45;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.voice-quote cite {
    font-style: normal;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ── Convergence section ── */
.convergence {
    margin-top: 5rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.convergence .s-body {
    margin: 0 auto;
    max-width: 700px;
    text-align: center;
}

.convergence .btn-primary {
    margin-top: 2.5rem;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .voices-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
/* ── Evidence page intro ── */
.evidence-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}
.evidence-intro .s-body {
    margin: 0 auto;
    text-align: center;
}

.ev-hero-eyebrow,
.ev-hero-heading {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    color: var(--navy);
    line-height: 1.15;
    letter-spacing: -0.015em;
    font-weight: 400;
}

.ev-hero-eyebrow {
    margin-bottom: 0.25rem;
}

.ev-hero-heading {
    margin-bottom: 1.5rem;
}

/* ── Sections ── */
.ev-section {
    padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 4rem);
}
.ev-section--info        { background: var(--blue-subtle); }
.ev-section--neutral     { background: var(--white); }
.ev-section--opportunity { background: var(--cream); }

.ev-eyebrow {
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.ev-action-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    color: var(--navy);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 920px;
}

/* ── Rows ── */
.ev-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: start;
    padding-bottom: 2.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid rgba(19,7,93,0.08);
}
.ev-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ev-row-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
    padding-top: 0.5rem;
}

.ev-row-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.ev-row-stats--single {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
}

.ev-row-source {
    grid-column: 1 / -1;
    margin-top: 0.75rem;
    text-align: right;
    font-size: 0.72rem;
    font-style: italic;
    color: var(--text-light);
}
.ev-row-source a {
    color: var(--text-light);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.ev-row-source a:hover {
    color: var(--accent);
}

/* ── Stats ── */
.ev-stat {
    padding: 2rem 1.75rem;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
    background: var(--white);
    border: 1px solid var(--border);
    transition: transform 0.3s var(--ease);
}

.ev-section--info .ev-stat {
    background: var(--white);
}
.ev-section--neutral .ev-stat {
    background: var(--blue-subtle);
    border-color: rgba(19,7,93,0.08);
}
.ev-section--opportunity .ev-stat {
    background: var(--white);
    border-color: rgba(140,109,47,0.18);
}

/* Hero stat — visually larger */
.ev-stat--hero {
    box-shadow: 0 12px 40px rgba(19,7,93,0.06);
}

/* Risk stat — red palette, applied per-stat in red sections (2-5) */
.ev-stat--risk {
    background: #fef5f5;
    border-color: rgba(192,57,43,0.18);
}

/* ── Figures ── */
.ev-figure {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.02em;
    display: block;
}
.ev-stat--risk .ev-figure {
    color: #c0392b;
}
/* Figure prefix colour matches its parent stat */
.ev-stat--risk .figure-prefix {
    color: #c0392b;
}

/* Hero figure — bolder weight to anchor the section; kept close in size to the
   non-hero figure so longer values like "30–48%" don't wrap to two lines. */
.ev-stat--hero .ev-figure {
    font-size: clamp(2.6rem, 4.6vw, 3.6rem);
    font-weight: 700;
}

/* Text-style figures (no number, e.g. "Pronounced", "Lowest scorers") */
.ev-stat--text .ev-figure {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    line-height: 1.2;
}
.ev-stat--hero.ev-stat--text .ev-figure {
    font-size: clamp(1.9rem, 3.2vw, 2.4rem);
}

.ev-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
}

/* ── Closing CTA ── */
.ev-cta {
    padding: clamp(5rem, 10vw, 7rem) clamp(1.5rem, 4vw, 4rem);
    background: var(--navy);
    text-align: center;
}
.ev-cta-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.02em;
    margin-bottom: 0.85rem;
}
.ev-cta-headline {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: -0.015em;
}
.ev-cta-btn {
    background: var(--white);
    color: var(--navy);
}
.ev-cta-btn:hover {
    background: rgba(255,255,255,0.92);
    color: var(--navy);
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .ev-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .ev-action-title {
        margin-bottom: 2rem;
    }
    .ev-row-text {
        padding-top: 0;
    }
}

@media (max-width: 560px) {
    .ev-row-stats {
        grid-template-columns: 1fr;
    }
    .ev-stat--hero .ev-figure {
        font-size: clamp(2.6rem, 9vw, 3.4rem);
    }
}
/* ── Solutions page ── */
.solutions-intro {
    /* full container width — matches headings and grids below */
}

.solutions-intro .s-body {
    margin-bottom: 1rem;
}

/* ── Pillar cards ── */
.pillars {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pillar-item {
    border-bottom: 1px solid var(--border);
}

.pillar-item:last-child {
    border-bottom: none;
}

.pillar-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}

.pillar-trigger:hover .pillar-title {
    color: var(--accent);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--blue-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    flex-shrink: 0;
    line-height: 1;
}

.pillar-title {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.5rem;
    color: var(--navy);
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}

.pillar-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-top: 0.25rem;
}

.pillar-trigger .pillar-expand {
    margin-left: auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-light);
    transition: transform 0.35s var(--ease);
    flex-shrink: 0;
}

.pillar-item.expanded > .pillar-trigger .pillar-expand {
    transform: rotate(45deg);
}

.pillar-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
}

.pillar-inner {
    padding: 0 0 2rem 4.5rem;
}

/* ── Objective items inside pillars ── */
.objective-item {
    border-bottom: 1px solid var(--border);
}

.objective-item:last-child {
    border-bottom: none;
}

.objective-trigger {
    width: 100%;
    display: flex;
    align-items: baseline;
    gap: 1rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    transition: color 0.2s;
}

.objective-trigger:hover {
    color: var(--accent);
}

.objective-code {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-blue);
    letter-spacing: 0.02em;
    min-width: 96px;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.objective-trigger .objective-expand {
    margin-left: auto;
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-light);
    transition: transform 0.35s var(--ease);
    flex-shrink: 0;
}

.objective-item.expanded > .objective-trigger .objective-expand {
    transform: rotate(45deg);
}

.objective-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
}

.objective-inner {
    padding: 0 0 1.25rem 2.5rem;
}

.objective-inner p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.75;
    font-weight: 300;
}

/* ── CTA ── */
.solutions-cta {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .pillar-inner {
        padding-left: 0;
    }

    .objective-inner {
        padding-left: 2rem;
    }
}
/* ── Syllabus page ── */
.syllabus-intro {
    /* full container width — matches headings and grids below */
}

/* ── Delivery formats grid ── */
.delivery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.delivery-card {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
}

.delivery-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.delivery-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.delivery-list li {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 300;
    padding-left: 1.25rem;
    position: relative;
}

.delivery-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
}

/* ── Mapping section ── */
.mapping-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.mapping-item {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--blue-subtle);
    text-align: center;
}

.mapping-item .stat-figure {
    font-size: 2rem;
    margin-bottom: 0.35rem;
}

.mapping-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* ── Customisation section ── */
.custom-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.custom-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    padding-left: 1.5rem;
    position: relative;
}

.custom-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
}

.custom-list li:last-child {
    border-bottom: none;
}

.syllabus-cta {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .delivery-grid {
        grid-template-columns: 1fr;
    }

    .mapping-row {
        flex-direction: column;
    }
}
/* ── Modules page ── */

/* ── Flagship hero card ── */
.flagship-hero {
    background: var(--navy);
    border-radius: 20px;
    padding: 3.5rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.flagship-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(80,80,120,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.flagship-hero-content {
    position: relative;
    z-index: 1;
}

.flagship-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1rem;
}

.flagship-hero h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.flagship-hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    font-weight: 300;
    max-width: 600px;
}

.flagship-tags {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.flagship-tag {
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
}

/* ── Module sections ── */
.module-section {
    margin-top: 4rem;
}

.module-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.module-number {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.25rem;
    color: var(--accent);
    opacity: 0.5;
}

.module-section h3 {
    font-size: 1.35rem;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.module-focus {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.module-components {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.module-components li {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 300;
    padding: 0.85rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.module-components li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.4;
}

.module-components li:last-child {
    border-bottom: none;
}

/* ── Timetable ── */
.timetable {
    margin-top: 2rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.tt-module-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 2rem;
    background: var(--navy);
}

.tt-module-number {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1.25rem;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.tt-module-header h3 {
    font-size: 1.15rem;
    color: var(--white);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
}

.tt-module-header p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    font-weight: 300;
    line-height: 1.4;
}

.tt-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 1rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.tt-row:last-child {
    border-bottom: none;
}

.tt-time {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 0.95rem;
    color: var(--navy);
    padding-top: 0.15rem;
    white-space: nowrap;
}

.tt-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tt-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 300;
}

.tt-type {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    width: fit-content;
}

.tt-type--learn {
    background: var(--blue-subtle);
    color: var(--accent);
}

.tt-type--activity {
    background: #f0f8f0;
    color: #2d7d46;
}

.tt-type--demo {
    background: #fef5e7;
    color: #b8860b;
}

.tt-type--discuss {
    background: #f5f0f8;
    color: #7b5ea7;
}

.tt-type--compete {
    background: #fff1f2;
    color: #b43044;
}

/* Learning-objective reference tag, shown inline after the type chip. */
.tt-obj {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--accent-blue);
    margin-left: 0.4rem;
}

/* Flagship learning-objective code chip (used on the modules accordion). */
.mod-obj-code {
    color: var(--accent-blue);
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.75rem;
    font-family: inherit;
}

.tt-break {
    background: var(--cream);
}

.tt-break .tt-time {
    color: var(--text-light);
}

.tt-break p {
    font-weight: 500;
    color: var(--text-light);
    font-style: italic;
}

.tt-end {
    background: var(--navy);
}

.tt-end .tt-time {
    color: rgba(255,255,255,0.5);
}

.tt-end p {
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

@media (max-width: 860px) {
    .tt-row {
        grid-template-columns: 55px 1fr;
        padding: 0.85rem 1.25rem;
        gap: 0.75rem;
    }

    .tt-time {
        font-size: 0.85rem;
    }

    .tt-module-header {
        padding: 1.25rem 1.25rem;
    }
}

/* ── Delivery approach ── */
.delivery-approach {
    margin-top: 4rem;
    padding: 2.5rem;
    border-radius: 16px;
    background: var(--blue-subtle);
}

.delivery-approach h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.approach-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 2rem;
}

.approach-list li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 300;
    padding-left: 1.25rem;
    position: relative;
}

.approach-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.8rem;
}

/* ── Coming soon ── */
.coming-soon {
    margin-top: 4rem;
    padding: 2rem;
    border: 1px dashed var(--border);
    border-radius: 16px;
    text-align: center;
}

.coming-soon p {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 400;
}

.modules-cta {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .flagship-hero {
        padding: 2.5rem 1.5rem;
    }

    .approach-list {
        grid-template-columns: 1fr;
    }
}
/* ── Contact page ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3.5rem;
    align-items: start;
}

/* Contact details block (phone + address) */
.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
}

.contact-detail-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.4rem;
}

.contact-detail a,
.contact-detail-value {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 500;
    text-decoration: none;
}

.contact-detail a:hover {
    color: var(--navy);
    text-decoration: underline;
}

/* ── Structured form ── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%237a7a96'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form .btn-primary {
    align-self: flex-start;
    margin-top: 0.5rem;
}

.contact-form .form-message {
    background: var(--blue-subtle);
    border-color: var(--border);
    color: var(--text);
    border-radius: 10px;
    text-align: left;
    margin: 0;
    max-width: none;
}

.contact-form .form-message.error {
    background: #fef5f5;
    border-color: #f5c6c6;
    color: #c0392b;
}

/* ── Right column: book a call + email ── */
.contact-alt {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--white);
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.contact-card p {
    font-size: 0.925rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
    margin-bottom: 1.25rem;
}

.contact-card .btn-secondary {
    display: inline-block;
}

.contact-email {
    padding: 1.5rem 2rem;
    border-radius: 16px;
    background: var(--blue-subtle);
}

.contact-email p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.contact-email a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-email a:hover {
    color: var(--accent);
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
