:root {
    --background: #f7f7f5;
    --surface: #ffffff;
    --surface-dark: #111111;

    --text: #111111;
    --muted: #6f6f6f;

    --border: #dededb;
    --border-dark: #292929;

    --max-width: 1180px;
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


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


.container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;
}


/* ================================
   NAVIGATION
================================ */

.site-header {
    border-bottom: 1px solid var(--border);
}


.nav {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.brand {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.04em;
}


.nav nav {
    display: flex;
    gap: 28px;
}


.nav nav a {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 500;

    transition: color 0.2s ease;
}


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


/* ================================
   HERO
================================ */

.hero {
    min-height: 720px;

    display: flex;
    align-items: center;

    border-bottom: 1px solid var(--border);
}


.hero-inner {
    padding: 100px 0;
}


.eyebrow,
.section-label {
    color: var(--muted);

    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.12em;
}


.eyebrow {
    margin-bottom: 28px;
}


.hero h1 {
    max-width: 900px;

    font-size:
        clamp(
            4rem,
            9vw,
            8.5rem
        );

    line-height: 0.88;

    letter-spacing: -0.085em;

    font-weight: 800;
}


.hero h1 span,
h2 span {
    color: var(--muted);
}


.hero-description {
    max-width: 620px;

    margin-top: 35px;

    color: var(--muted);

    font-size: 1.08rem;
}


.hero-actions {
    display: flex;
    gap: 10px;

    margin-top: 32px;
}


.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 11px 17px;

    border: 1px solid var(--border);

    border-radius: 7px;

    background: var(--surface);

    font-size: 0.82rem;
    font-weight: 650;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.button:hover {
    transform: translateY(-2px);
}


.button-primary {
    background: var(--text);
    color: white;

    border-color: var(--text);
}


/* ================================
   SECTIONS
================================ */

.section {
    padding: 120px 0;

    border-bottom: 1px solid var(--border);
}


.section-header {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(280px, 0.8fr);

    gap: 70px;

    align-items: end;

    margin-bottom: 55px;
}


.section-header h2,
.initiative h2 {
    margin-top: 14px;

    max-width: 700px;

    font-size:
        clamp(
            2.8rem,
            5vw,
            5rem
        );

    line-height: 0.95;

    letter-spacing: -0.07em;
}


.section-header > p {
    color: var(--muted);

    font-size: 0.95rem;

    max-width: 430px;
}


/* ================================
   PROJECTS
================================ */

.project-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}


.project-card {
    min-height: 470px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--border);

    background: var(--surface);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}


.project-card:hover {
    transform: translateY(-5px);

    border-color: #a8a8a5;
}


.project-top {
    display: flex;

    justify-content: space-between;
    align-items: center;
}


.project-number {
    font-size: 0.75rem;

    color: var(--muted);
}


.status {
    padding: 5px 8px;

    border: 1px solid var(--border);

    font-size: 0.62rem;

    color: var(--muted);

    letter-spacing: 0.07em;
}


.project-content {
    margin-top: auto;
}


.project-content h3 {
    font-size: 2.6rem;

    letter-spacing: -0.06em;
}


.project-content p {
    max-width: 460px;

    margin-top: 12px;

    color: var(--muted);

    font-size: 0.95rem;
}


.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 25px;
}


.tags span {
    padding: 5px 8px;

    border: 1px solid var(--border);

    font-size: 0.68rem;

    color: var(--muted);
}


.project-footer {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-top: 50px;

    padding-top: 18px;

    border-top: 1px solid var(--border);

    color: var(--muted);

    font-size: 0.72rem;
}


.arrow {
    color: var(--text);

    font-size: 1.1rem;
}


/* ================================
   ARCHITECTURE
================================ */

.connection {
    background: #eeeeeb;
}


.architecture {
    display: grid;

    grid-template-columns:
        1fr
        180px
        1fr;

    align-items: center;

    gap: 25px;
}


.architecture-card {
    padding: 38px;

    background: var(--surface);

    border: 1px solid var(--border);
}


.architecture-number {
    display: block;

    margin-bottom: 50px;

    color: var(--muted);

    font-size: 0.7rem;
}


.architecture-card strong {
    display: block;

    font-size: 1.8rem;

    letter-spacing: -0.05em;
}


.architecture-card p {
    margin-top: 7px;

    color: var(--muted);

    font-size: 0.85rem;
}


.architecture-line {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--muted);

    font-size: 0.65rem;

    text-align: center;
}


.architecture-line div {
    height: 1px;

    flex: 1;

    background: var(--border);
}


/* ================================
   INITIATIVE
================================ */

.initiative {
    background: var(--surface-dark);

    color: white;

    border-color: var(--border-dark);
}


.initiative .section-label {
    color: #777;
}


.initiative-grid {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap: 100px;
}


.initiative h2 span {
    color: #777;
}


.initiative-copy {
    color: #9a9a9a;

    font-size: 1rem;
}


.initiative-copy p + p {
    margin-top: 25px;
}


/* ================================
   LEARNING
================================ */

.learning-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border: 1px solid var(--border);
}


.learning-card {
    min-height: 250px;

    padding: 28px;

    border-right: 1px solid var(--border);
}


.learning-card:last-child {
    border-right: 0;
}


.learning-card > span {
    color: var(--muted);

    font-size: 0.7rem;
}


.learning-card h3 {
    margin-top: 70px;

    font-size: 1.15rem;

    letter-spacing: -0.03em;
}


.learning-card p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 0.82rem;
}


/* ================================
   CTA
================================ */

.cta {
    padding: 160px 0;

    text-align: center;
}


.cta h2 {
    margin-top: 16px;

    font-size:
        clamp(
            3.5rem,
            8vw,
            7rem
        );

    line-height: 0.88;

    letter-spacing: -0.08em;
}


.cta h2 span {
    color: var(--muted);
}


.cta p {
    max-width: 500px;

    margin: 28px auto;

    color: var(--muted);

    font-size: 0.95rem;
}


/* ================================
   FOOTER
================================ */

footer {
    padding: 30px 0;
}


.footer {
    display: flex;

    justify-content: space-between;

    color: var(--muted);

    font-size: 0.7rem;
}


.footer strong {
    color: var(--text);

    margin-right: 8px;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 850px) {

    .nav nav {
        display: none;
    }


    .hero {
        min-height: 600px;
    }


    .hero h1 {
        font-size:
            clamp(
                3.5rem,
                15vw,
                6rem
            );
    }


    .section-header,
    .initiative-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


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


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


    .architecture-line {
        transform: rotate(90deg);

        width: 180px;

        margin: 10px auto;
    }


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


    .learning-card {
        border-bottom: 1px solid var(--border);
    }


    .learning-card:nth-child(2) {
        border-right: 0;
    }

}


@media (max-width: 550px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--max-width)
        );
    }


    .hero-inner {
        padding: 70px 0;
    }


    .hero-actions {
        flex-direction: column;
    }


    .button {
        width: 100%;
    }


    .section {
        padding: 80px 0;
    }


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


    .learning-card {
        border-right: 0;
    }


    .footer {
        flex-direction: column;

        gap: 8px;
    }

}