:root {
    --ink: #0c1f1a;
    --ink-soft: #2a4038;
    --paper: #f3f6f2;
    --paper-deep: #e4ebe4;
    --teal: #0f8f8a;
    --teal-deep: #0a6b67;
    --teal-bright: #1ac6cf;
    --sand: #d8c4a0;
    --white: #ffffff;
    --shadow: 0 18px 40px rgba(12, 31, 26, 0.18);
    --radius: 4px;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
    --shell: min(1120px, calc(100% - 2.5rem));
}

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

html {
    scroll-behavior: smooth;
}

body.landing-body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

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

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.75rem;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    max-width: 18ch;
}

h3 {
    font-size: 1.25rem;
}

p {
    margin: 0 0 1rem;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

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

.skip-link {
    position: absolute;
    left: 1rem;
    top: -3rem;
    z-index: 100;
    background: var(--white);
    color: var(--ink);
    padding: 0.6rem 1rem;
}

.skip-link:focus {
    top: 1rem;
}

.eyebrow {
    margin: 0 0 0.6rem;
    color: var(--teal-deep);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lede {
    color: var(--ink-soft);
    max-width: 52ch;
    font-size: 1.08rem;
}

.module-line {
    margin-top: 1.25rem;
    color: var(--teal-deep);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.75rem;
    padding: 0.65rem 1.2rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.btn-lg {
    min-height: 3.1rem;
    padding: 0.8rem 1.45rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--teal);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--teal-deep);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.55);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.section .btn-secondary {
    color: var(--ink);
    border-color: rgba(12, 31, 26, 0.22);
}

.section .btn-secondary:hover {
    background: rgba(12, 31, 26, 0.05);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: rgba(12, 31, 26, 0.14);
}

.btn-ghost:hover {
    background: rgba(15, 143, 138, 0.08);
}

.btn-text {
    background: transparent;
    color: var(--white);
    border: 0;
    text-decoration: underline;
    text-underline-offset: 0.25em;
    padding-inline: 0.35rem;
}

.btn-text:hover {
    color: var(--teal-bright);
}

/* Topbar — scrolls away (not sticky/fixed) */
.site-topbar {
    position: relative;
    z-index: 40;
    background: linear-gradient(90deg, #0a1714 0%, #0c1f1a 55%, #0a2a26 100%);
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 2.65rem;
    padding-block: 0.35rem;
}

.topbar-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.15rem 0.1rem;
}

.topbar-link {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    line-height: 1.2;
    border-radius: var(--radius);
    transition: color 160ms ease, background-color 160ms ease;
}

.topbar-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.topbar-sep {
    display: inline-block;
    width: 1px;
    height: 0.85rem;
    margin-inline: 0.15rem;
    background: rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}

.topbar-signin {
    margin-left: 0.55rem;
    min-height: 2rem;
    padding: 0.3rem 0.95rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.topbar-signin:hover {
    transform: none;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(243, 246, 242, 0.88);
    border-bottom: 1px solid rgba(12, 31, 26, 0.08);
    transition: box-shadow 200ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(12, 31, 26, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.25rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.brand-logo {
    width: auto;
    height: 2.75rem;
    max-width: 10rem;
    object-fit: contain;
    border-radius: 0.35rem;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-nav > a {
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 600;
}

.site-nav > a:hover {
    color: var(--teal-deep);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0.5rem;
}

.nav-toggle {
    display: none;
    width: 2.6rem;
    height: 2.6rem;
    border: 1px solid rgba(12, 31, 26, 0.14);
    border-radius: var(--radius);
    background: var(--white);
    padding: 0.55rem;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
}

/* Hero */
.hero {
    position: relative;
    min-height: min(100vh, 760px);
    display: grid;
    align-items: end;
    color: var(--white);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(12, 31, 26, 0.55), rgba(10, 107, 103, 0.28)),
        url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=2000&q=80")
            center / cover no-repeat;
    transform: scale(1.04);
    animation: heroZoom 18s ease-out forwards;
}

.hero-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(12, 31, 26, 0.25) 0%, rgba(12, 31, 26, 0.72) 72%, rgba(12, 31, 26, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 5.5rem 0 4.5rem;
}

.brand-mark {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--teal-bright);
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-brand .brand-mark {
    margin: 0;
}

.hero-logo {
    width: clamp(3.25rem, 6vw, 4.5rem);
    height: clamp(3.25rem, 6vw, 4.5rem);
    object-fit: cover;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-support {
    max-width: 38rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.12rem;
    margin-bottom: 1.75rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.why {
    background: var(--white);
}

.why h2 {
    margin-bottom: 2rem;
}

.why-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem 2rem;
    border-top: 1px solid rgba(12, 31, 26, 0.1);
    padding-top: 1.75rem;
}

.why-list h3 {
    margin-bottom: 0.45rem;
}

.why-list p {
    margin: 0;
    color: var(--ink-soft);
}

/* Stats */
.stats {
    background: var(--ink);
    color: var(--white);
    padding: 4rem 0;
}

.stats .eyebrow {
    color: var(--teal-bright);
}

.stats h2 {
    color: var(--white);
    max-width: 22ch;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
    margin: 0;
    padding: 1.75rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.stat-item {
    margin: 0;
}

.stat-value {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    font-weight: 700;
    line-height: 1;
    color: var(--teal-bright);
    letter-spacing: -0.03em;
}

.stat-label {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    font-weight: 500;
}

.stats-footnote {
    margin: 1.75rem 0 0;
    max-width: 48ch;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.92rem;
}

/* Marketing promos */
.promo {
    padding: 3.5rem 0;
    color: var(--white);
}

.promo-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.promo-copy {
    max-width: 40rem;
}

.promo .eyebrow {
    color: var(--sand);
}

.promo h2 {
    color: var(--white);
    max-width: 18ch;
}

.promo .lede {
    color: rgba(255, 255, 255, 0.86);
}

.promo-aside {
    margin: 0;
    color: var(--teal-bright);
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.promo .btn-primary {
    flex-shrink: 0;
    background: var(--white);
    color: var(--ink);
}

.promo .btn-primary:hover {
    background: var(--teal-bright);
    color: var(--ink);
}

.promo-desk {
    background:
        linear-gradient(115deg, rgba(10, 107, 103, 0.94), rgba(12, 31, 26, 0.88)),
        url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1800&q=80")
            center / cover no-repeat;
}

.promo-grant {
    background:
        linear-gradient(115deg, rgba(12, 31, 26, 0.92), rgba(15, 143, 138, 0.78)),
        url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1800&q=80")
            center / cover no-repeat;
}

.promo-tender {
    background:
        linear-gradient(115deg, rgba(12, 31, 26, 0.9), rgba(42, 64, 56, 0.82)),
        url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1800&q=80")
            center / cover no-repeat;
}

.promo-talentbee {
    background:
        linear-gradient(115deg, rgba(42, 64, 56, 0.94), rgba(10, 107, 103, 0.82)),
        url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1800&q=80")
            center / cover no-repeat;
}

.pillar {
    border-top: 1px solid rgba(12, 31, 26, 0.08);
}

.pillar-people,
.pillar-money {
    background: var(--paper);
}

.pillar-programs,
.pillar-resources {
    background: var(--white);
}

.pillar-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
}

.pillar-points {
    display: grid;
    gap: 0.9rem;
    padding-top: 2.1rem;
}

.pillar-points li {
    position: relative;
    padding: 1rem 1rem 1rem 1.35rem;
    background: rgba(15, 143, 138, 0.06);
    border-left: 3px solid var(--teal);
    color: var(--ink-soft);
}

.capacity {
    background:
        linear-gradient(135deg, rgba(15, 143, 138, 0.12), rgba(216, 196, 160, 0.22)),
        var(--paper-deep);
}

.capacity-inner {
    max-width: 46rem;
}

/* Modules catalog */
.modules-catalog {
    background: var(--white);
    border-top: 1px solid rgba(12, 31, 26, 0.08);
}

.modules-catalog h2 {
    max-width: 22ch;
}

.modules-intro {
    margin-bottom: 2.25rem;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem 1.5rem;
}

.module-item {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
}

.module-media {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--paper-deep);
}

.module-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.module-item:hover .module-media img {
    transform: scale(1.04);
}

.module-copy h3 {
    margin-bottom: 0.4rem;
}

.module-copy p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

.module-pillar {
    margin: 0 0 0.35rem !important;
    color: var(--teal-deep);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.connect {
    background: var(--ink);
    color: var(--white);
}

.connect .eyebrow {
    color: var(--teal-bright);
}

.connect h2 {
    color: var(--white);
}

.connect-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.connect-steps li {
    padding: 1.25rem 1.2rem;
    border-top: 2px solid var(--teal-bright);
    background: rgba(255, 255, 255, 0.04);
}

.connect-label {
    display: block;
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.connect-text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
}

.platforms {
    background: var(--white);
}

.platform-rows {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
}

.platform-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(12, 31, 26, 0.1);
}

.platform-row:last-child {
    border-bottom: 1px solid rgba(12, 31, 26, 0.1);
}

.platform-row h3 {
    margin-bottom: 0.35rem;
}

.platform-row p {
    margin: 0;
    color: var(--ink-soft);
    max-width: 48ch;
}

.site-footer {
    background: #081611;
    color: rgba(255, 255, 255, 0.78);
    padding: 3rem 0 2.5rem;
}

.footer-inner {
    display: grid;
    gap: 1.25rem;
}

.footer-brand {
    margin: 0 0 0.35rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--white);
}

.footer-tagline {
    margin: 0;
    max-width: 36ch;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
}

.footer-links a {
    color: var(--teal-bright);
    font-weight: 600;
}

.footer-copy {
    margin: 0.5rem 0 0;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

/* Motion */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.hero-content[data-reveal] {
    transition-delay: 80ms;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }
    to {
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-media,
    [data-reveal],
    .btn {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 960px) {
    .why-list,
    .pillar-grid,
    .connect-steps,
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .promo-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .pillar-points {
        padding-top: 0;
    }

    .platform-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 1rem 1.25rem 1.25rem;
        background: rgba(243, 246, 242, 0.98);
        border-bottom: 1px solid rgba(12, 31, 26, 0.08);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-actions {
        margin: 0.5rem 0 0;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav > a {
        padding: 0.55rem 0.2rem;
    }

    .topbar-inner {
        min-height: 2.4rem;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .topbar-inner::-webkit-scrollbar {
        display: none;
    }

    .topbar-actions {
        flex-wrap: nowrap;
        width: max-content;
    }

    .topbar-link {
        padding: 0.3rem 0.55rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .topbar-signin {
        margin-left: 0.35rem;
        white-space: nowrap;
    }
}

@media (max-width: 640px) {
    :root {
        --shell: min(1120px, calc(100% - 1.5rem));
    }

    .hero {
        min-height: 88vh;
    }

    .hero-content {
        padding: 4.5rem 0 3.25rem;
    }

    .section {
        padding: 3.5rem 0;
    }

    .stats-grid,
    .why-list,
    .connect-steps,
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .brand-name {
        max-width: 12rem;
    }
}
