/* ===========================================================================
 * THE FOUNDRY — design system
 *
 * Shared across every page. Mirrors the structural shape of the Founder's
 * Cup marketing site (deliberately, to read as the same family) but with
 * a blue + teal palette and a more enterprise-grounded posture, aimed at
 * headmasters and curriculum leads rather than students.
 *
 * Single source of truth for the colour reshade: change the :root vars
 * here and every page reflows.
 * ========================================================================= */

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

:root {
    /* Brand gradient — bright azure → bright aqua-teal → light cyan.
     * Brightened 2026-05-30: navy (#1E3A5F) was too dark / muddy on the
     * accent text. The brand reads lighter and more energetic now. */
    --g1: #2E9BE0;
    --g2: #25D0C4;
    --g3: #57C2E2;

    /* Light mode is default for The Foundry (headmaster-ready, paper-feel). */
    --bg:         #F5F2EB;
    --bg-card:    #FFFFFF;
    --bg-raised:  #EDE9E0;
    --border:     #DDD9D0;
    --border-hi:  #C8C2B8;
    --text:       #0E0E0C;
    --text-muted: #3A3530;
    --text-dim:   #6A6560;
    --nav-bg:     rgba(245,242,235,0.92);

    --ink:        #0E0E0C;
    --cream:      #F5F2EB;
    /* Solid brand blue — lifted from navy to a bright, confident blue.
     * Still deep enough that cream/white button labels stay legible. */
    --blue:       #2477C4;
    --teal:       #1CC3BC;
    --teal-deep:  #1F9FB0;
    --teal-soft:  rgba(28,195,188,0.14);
    --blue-soft:  rgba(36,119,196,0.10);
}

/* Dark mode for those who want it. Inverted but the blue/teal stay dominant. */
html.dark {
    --bg:         #08090C;
    --bg-card:    #11141A;
    --bg-raised:  #1A1F28;
    --border:     #232A36;
    --border-hi:  #2F3A4A;
    --text:       #EDE9E0;
    --text-muted: #B8B5AC;
    --text-dim:   #7A7570;
    --nav-bg:     rgba(8,9,12,0.88);
}

/* ── BASE TYPOGRAPHY ── */
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.0;
}

a { color: inherit; }

::selection { background: var(--teal); color: #fff; }

/* ── BRAND GRADIENTS ──
 * The flowing gradient is a deliberate echo of the Founder's Cup kinetic
 * quality, here in blue and teal instead of orange and gold. Used on:
 *   - .accent spans inside headlines
 *   - .logo-foundry (the FOUNDRY wordmark inside the navigation logo)
 *   - .g-text utility (anything that wants the shimmer)
 *   - .g-bg utility (block-fill version, used on the pathway hero)
 *
 * Edge-rendering note: `padding-inline-end` adds ~0.08em of breathing room
 * so the gradient bounding box doesn't clip the trailing glyph on Safari
 * (the "P." looking like "P▮" bug from the first cut of the site).
 */
@keyframes gradientFlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.g-text,
.hero-headline .accent,
.nav-logo .logo-foundry,
.footer-logo-accent {
    background: linear-gradient(270deg, var(--g1), var(--g2), var(--g3), var(--g2), var(--g1));
    background-size: 400% 400%;
    animation: gradientFlow 9s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-inline-end: 0.08em;
}

.g-bg {
    background: linear-gradient(270deg, var(--g1), var(--g2), var(--g3), var(--g2), var(--g1));
    background-size: 400% 400%;
    animation: gradientFlow 9s ease infinite;
}

/* Respect reduced-motion preferences: kill the animation but keep the
 * static gradient so the brand colour still reads. */
@media (prefers-reduced-motion: reduce) {
    .g-text,
    .hero-headline .accent,
    .nav-logo .logo-foundry,
    .footer-logo-accent,
    .g-bg { animation: none; }
}

/* ── LAYOUT PRIMITIVES ── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.divider {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 0;
}

.section-label {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(36px, 5vw, 64px);
    color: var(--text);
    margin-bottom: 32px;
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 32px;
    background: var(--nav-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 0.14em;
    text-decoration: none;
    color: var(--text);
    flex-shrink: 0;
}

/* .nav-logo .logo-foundry — its gradient + animation are defined in the
 * .g-text family above. */

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin-left: 24px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--teal); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-cta {
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--blue);
    transition: background 0.15s, transform 0.15s;
    white-space: nowrap;
}

.nav-cta:hover { background: var(--teal-deep); border-color: var(--teal-deep); transform: translateY(-1px); }

.theme-toggle {
    background: none;
    border: 1px solid var(--border-hi);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, color 0.15s;
    padding: 0;
}

.theme-toggle:hover { border-color: var(--teal); color: var(--text); }

.hamburger {
    display: none;
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.15s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px 32px;
    flex-direction: column;
    gap: 18px;
    z-index: 99;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

@media (max-width: 880px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .theme-toggle { display: none; }
}

/* ── HERO ──
 *
 * Full-viewport editorial hero. The photo runs in COLOUR behind the
 * content, with a soft haze (blur + light cream wash) over the top
 * to dial the on-image text out of focus without killing the scene.
 * The text anchors top-left and runs down the left third, so the
 * eye lands hard on the headline rather than floating in the middle.
 *
 *   Filter strategy: 3px Gaussian blur (the haze itself) + a tiny
 *   saturation drop. No grayscale, no duotone, no vignette. The image
 *   stays a photograph; the blur is what defeats the AI-generated
 *   on-image text (whiteboard handwriting, posters) without flattening
 *   the scene.
 *
 *   Readability strategy: a strong dark wash from the LEFT edge,
 *   fading to transparent before the centre. That lets the cream
 *   text sit on a near-black left without ever darkening the right
 *   half of the image.
 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 720px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: #0E1622;
    color: var(--cream);
    padding: 0;
}

/* Image layer — natural colour, soft 3px haze, slight saturation
 * pullback. Scaled up 4% to hide blur edges. */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
    filter: blur(3px) saturate(0.92) brightness(1.02);
    transform: scale(1.06);
}

/* Subtle cream haze — like fogged glass. Just enough to soften the
 * scene's overall contrast without changing its colour. */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(245, 242, 235, 0.06);
    pointer-events: none;
}

/* Full-frame wash so the giant headline reads everywhere, not just
 * on the left. Slightly stronger on the left for stacking-context
 * but covers the entire image. */
.hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        100deg,
        rgba(8, 13, 22, 0.72) 0%,
        rgba(8, 13, 22, 0.52) 40%,
        rgba(8, 13, 22, 0.40) 70%,
        rgba(8, 13, 22, 0.35) 100%
    );
    pointer-events: none;
}

/* Content fills the entire viewport width edge-to-edge. Each child
 * (eyebrow, headline, sub, CTAs, links) spans the full available
 * width — no left-column constraint. Padding is the only horizontal
 * margin. */
.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    /* Top padding clears the sticky nav; bottom clears the stats bar.
     * justify-content stays flex-start so the block never overflows
     * upward under the nav — it grows downward into the safe area. */
    padding: 120px 56px 150px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;  /* children take the full hero width */
    min-height: 0;         /* allow the flex item to shrink, no overflow */
}

.hero .hero-eyebrow {
    color: rgba(28,195,188, 0.95);
    margin-bottom: 20px;
    font-size: clamp(11px, 0.9vw, 14px);
    letter-spacing: 0.32em;
}

.hero .hero-headline {
    color: var(--cream);
    /* Big and dominant, but sized so 'FROM ZERO TO PITCH.' holds on one
     * line and the two-line block fits within the viewport. The 220px
     * ceiling was overflowing and clipping the top line under the nav. */
    font-size: clamp(40px, 7vw, 124px);
    line-height: 0.94;
    letter-spacing: 0.01em;
    margin-bottom: 30px;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
    overflow-wrap: break-word;
}

.hero .hero-sub {
    color: rgba(245, 242, 235, 0.92);
    font-size: clamp(18px, 1.5vw, 24px);
    line-height: 1.5;
    /* No max-width — sub spans across the full hero width like the
     * headline. Hero is editorial-poster, not column-of-copy. */
    max-width: none;
    margin-bottom: 40px;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.40);
    font-weight: 400;
}
.hero .hero-sub strong { color: #fff; font-weight: 700; }

.hero .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 22px;
}

.hero .hero-link {
    color: rgba(245, 242, 235, 0.85);
    text-decoration-color: rgba(245, 242, 235, 0.35);
}
.hero .hero-link:hover { color: var(--teal); text-decoration-color: var(--teal); }

/* Buttons on the dark hero — primary stays branded, secondary
 * becomes glass-cream so it reads over the photo. */
.hero .btn-secondary {
    color: var(--cream);
    border-color: rgba(245, 242, 235, 0.35);
    background: rgba(8, 13, 22, 0.30);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero .btn-secondary:hover {
    color: var(--cream);
    border-color: var(--teal);
    background: rgba(28,195,188, 0.22);
}

/* Stats live in a full-width glass bar at the very bottom of the
 * hero, not inside the content column. Three columns, equal weight,
 * separated by hairlines. */
.hero-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 24px 64px;
    background: rgba(8, 13, 22, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(245, 242, 235, 0.12);
}

.hero-stats-bar > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 24px;
    border-left: 1px solid rgba(245, 242, 235, 0.10);
}
.hero-stats-bar > div:first-child {
    border-left: none;
    padding-left: 16px;
}

.hero-stats-bar .hero-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    color: var(--cream);
    line-height: 1;
    letter-spacing: 0.02em;
}

.hero-stats-bar .hero-stat-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(245, 242, 235, 0.62);
}

/* Small "Illustration" tag in the bottom-right corner, sitting just
 * above the stats bar so it never collides. */
.hero-figure-tag {
    position: absolute;
    bottom: 96px;
    right: 24px;
    z-index: 3;
    background: rgba(8, 9, 12, 0.40);
    color: rgba(245, 242, 235, 0.65);
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 4px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Mobile / tablet — the left column gets a wider safe area, the
 * left-shade extends across the whole frame so any text position
 * still has dark backing. */
@media (max-width: 880px) {
    .hero { height: auto; min-height: 92vh; }
    .hero-shade {
        background: linear-gradient(
            180deg,
            rgba(8, 13, 22, 0.55) 0%,
            rgba(8, 13, 22, 0.65) 50%,
            rgba(8, 13, 22, 0.85) 100%
        );
    }
    .hero-content {
        padding: 120px 28px 132px;
    }
    .hero-stats-bar {
        padding: 18px 24px;
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-stats-bar > div { padding-left: 12px; }
    .hero-stats-bar > div:first-child { padding-left: 0; }
    .hero-figure-tag { bottom: 88px; right: 16px; }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, var(--teal-soft) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 70%, var(--blue-soft) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--teal-deep);
    font-weight: 500;
    margin-bottom: 28px;
}

.hero-headline {
    font-family: 'Bebas Neue', 'Impact', sans-serif;
    font-size: clamp(48px, 8.5vw, 120px);
    line-height: 0.96;
    letter-spacing: 0.01em;
    margin-bottom: 36px;
    color: var(--ink);
    /* Keep the gradient text and any trailing punctuation on the same
     * baseline-flow, and don't allow a stranded period to wrap to its own
     * line. */
    text-wrap: balance;
    overflow-wrap: break-word;
}

/* .hero-headline .accent rule is consolidated into the .g-text family
 * above. Don't add a separate rule here; it'd shadow the animation. */

.hero-sub {
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.5;
    color: var(--text-muted);
    max-width: 720px;
    margin-bottom: 40px;
}

.hero-sub strong {
    color: var(--text);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 16px 28px;
    border-radius: 10px;
    border: 1px solid var(--blue);
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(36,119,196,0.18);
}

.btn-primary:hover {
    background: var(--teal-deep);
    border-color: var(--teal-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(44,126,138,0.28);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 15px 24px;
    border-radius: 10px;
    border: 1px solid var(--border-hi);
    transition: border-color 0.15s, color 0.15s;
}

.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

.hero-link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--border-hi);
    transition: color 0.15s, text-decoration-color 0.15s;
}

.hero-link:hover { color: var(--teal); text-decoration-color: var(--teal); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.hero-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    color: var(--ink);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-label {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
}

@media (max-width: 720px) {
    .hero-stats { grid-template-columns: 1fr 1fr; }
    .hero-stat-num { font-size: 42px; }
}

/* ── SECTIONS ── */
section.section-block {
    padding: 100px 32px;
}

section.section-block.surface {
    background: var(--bg-card);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 880px) {
    .two-col { grid-template-columns: 1fr; gap: 40px; }
    section.section-block { padding: 64px 24px; }
}

.lede {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.lede strong { color: var(--text); }

/* ── CARDS ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 1px 2px rgba(14,22,34,0.04), 0 4px 16px rgba(14,22,34,0.04);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    border-color: var(--teal);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(36,119,196,0.12);
}

/* A thin gradient accent that appears on the card top edge on hover —
 * small detail that reads as designed rather than default. */
.card { position: relative; overflow: hidden; }
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.card:hover::before { transform: scaleX(1); }

.card-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal-deep);
    font-weight: 500;
    margin-bottom: 12px;
}

.card-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 26px;
    letter-spacing: 0.04em;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1;
}

.card-body {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-muted);
}

.card-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--teal);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

/* ── MODULE LIST ── */
.modules {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 40px;
}

.module-row {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.15s;
}

.module-row:hover { border-color: var(--teal); }

.module-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    color: var(--teal);
    letter-spacing: 0.04em;
    line-height: 1;
}

.module-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    letter-spacing: 0.04em;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 4px;
}

.module-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
}

.module-deliverable {
    margin-top: 7px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.02em;
    color: var(--teal-deep);
}
.module-deliverable span {
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-right: 6px;
}

.module-tag {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
    padding: 4px 10px;
    border: 1px solid var(--border-hi);
    border-radius: 4px;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .module-row { grid-template-columns: 50px 1fr; }
    .module-tag { display: none; }
}

/* ── FOUNDER'S CUP PATHWAY ── */
.pathway {
    background: linear-gradient(135deg, var(--blue) 0%, var(--teal-deep) 100%);
    color: #fff;
    border-radius: 18px;
    padding: 56px;
    margin: 48px 0;
    position: relative;
    overflow: hidden;
}

.pathway::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(28,195,188,0.3) 0%, transparent 70%);
    pointer-events: none;
}

.pathway-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
    position: relative;
}

.pathway-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 16px;
    position: relative;
}

.pathway-body {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    max-width: 620px;
    margin-bottom: 28px;
    position: relative;
}

.pathway-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 24px;
    border-radius: 10px;
    transition: transform 0.15s;
    position: relative;
}

.pathway-cta:hover { transform: translateY(-1px); }

@media (max-width: 720px) {
    .pathway { padding: 40px 28px; }
}

/* ── FOOTER ── */
footer {
    background: var(--ink);
    color: var(--cream);
    padding: 80px 32px 40px;
    margin-top: 80px;
}

footer .footer-top {
    max-width: 1200px;
    margin: 0 auto 56px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 56px;
}

footer h4 {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 18px;
    font-weight: 500;
}

footer .footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 32px;
    letter-spacing: 0.12em;
    color: #fff;
    margin-bottom: 16px;
    display: block;
}

footer .footer-tagline {
    font-size: 14px;
    color: rgba(245,242,235,0.65);
    line-height: 1.6;
    max-width: 320px;
}

footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul a {
    color: rgba(245,242,235,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}

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

footer .footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 32px;
    border-top: 1px solid rgba(245,242,235,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(245,242,235,0.45);
}

@media (max-width: 880px) {
    footer .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 540px) {
    footer .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

/* ── DATA TABLE (commitment / comparison / SACE mapping) ── */
.data-table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;          /* even, predictable columns; cells wrap */
    margin-top: 32px;
    font-size: 15px;
}
.data-table th,
.data-table td {
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}
/* First column (the row label) gets more room; remaining columns split. */
.data-table th:first-child,
.data-table td:first-child { width: 34%; }
.data-table thead th {
    text-align: left;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    font-weight: 500;
    padding: 0 18px 12px 0;
    border-bottom: 1px solid var(--border-hi);
    vertical-align: bottom;
}
.data-table tbody td {
    padding: 15px 18px 15px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    line-height: 1.4;
    vertical-align: top;
}
.data-table thead th:last-child,
.data-table tbody td:last-child { padding-right: 0; }
.data-table tbody tr:hover td { background: var(--bg-raised); }
.data-table td strong { color: var(--ink); font-weight: 700; }
.data-table .tick { color: var(--teal-deep); font-weight: 700; }
.data-table .cross { color: var(--text-dim); }
.data-table .col-foundry { color: var(--teal-deep); font-weight: 600; }
.data-table thead th.col-foundry { color: var(--teal-deep); }

/* Comparison table accent column — give the highlighted column real
 * inner padding so the teal panel doesn't crowd the text. */
.data-table.compare thead th:last-child,
.data-table.compare tbody td:last-child {
    background: var(--teal-soft);
    padding-left: 16px;
    padding-right: 16px;
    border-radius: 0;
}

@media (max-width: 720px) {
    .data-table { font-size: 13px; }
    .data-table thead th { padding: 0 10px 10px 0; }
    .data-table tbody td { padding: 12px 10px 12px 0; }
    .data-table th:first-child, .data-table td:first-child { width: 32%; }
}

/* ── FAQ (native details/summary, no JS) ── */
.faq { margin-top: 32px; max-width: 860px; }
.faq details {
    border-bottom: 1px solid var(--border);
}
.faq summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 0;
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: '+';
    font-family: 'DM Mono', monospace;
    font-size: 22px;
    color: var(--teal);
    flex-shrink: 0;
    transition: transform 0.2s;
}
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { color: var(--teal-deep); }
.faq .faq-body {
    padding: 0 0 22px;
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.65;
    max-width: 760px;
}

/* ── CALLOUT ──
 * A pull-quote style box. The label sits in a pill, the body reads
 * larger than body copy so it carries weight as a designed moment. */
.callout {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--teal);
    border-radius: 14px;
    padding: 28px 32px;
    margin: 36px 0;
    box-shadow: 0 6px 22px rgba(36,119,196,0.06);
}
.callout .callout-label {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--teal-deep);
    font-weight: 500;
    background: var(--teal-soft);
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 14px;
}
.callout p { color: var(--text); font-size: 18px; line-height: 1.6; margin: 0; }
.callout strong { color: var(--ink); }

/* ── STEP LIST (join process) ──
 * Each step is a card with a circular gradient number badge. The
 * cards connect via a faint spine so it reads as a sequence, not a
 * list of unrelated rows. */
.steps { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 28px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.step:hover {
    border-color: var(--teal);
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(36,119,196,0.08);
}
.step-num {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.step-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.step-body { font-size: 15px; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 600px) {
    .step { padding: 20px; gap: 16px; }
    .step-num { width: 40px; height: 40px; font-size: 19px; }
}

/* ── PERSON CARD (team / advisors) ── */
.person-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}
.person-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #fff;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 22px;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.person-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
    letter-spacing: 0.03em;
    color: var(--text);
    line-height: 1;
    margin-bottom: 5px;
}
.person-role {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal-deep);
}
.person-bio { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* ── FEATURE LIST (boxed prose with a marker) ──
 * Turns plain "bold lead-in + sentence" paragraphs into designed
 * rows with an accent marker, so prose sections stop reading flat. */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-row {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 22px 24px;
}
.feature-marker {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 7px;
    background: linear-gradient(135deg, var(--blue), var(--teal));
}
.feature-row .feature-text { font-size: 16px; line-height: 1.6; color: var(--text-muted); }
.feature-row .feature-text strong { color: var(--ink); display: block; margin-bottom: 3px; font-size: 16.5px; }

/* ── UTILITY ── */
.center { text-align: center; }
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); }
.spacer-sm { height: 16px; }
.spacer-md { height: 32px; }
.spacer-lg { height: 64px; }
