:root {
    --bg: #0f1115;
    --panel: #171a21;
    --panel-hover: #1d2129;
    --text: #f5f7fa;
    --muted: #a8b0bd;
    --border: #2a3039;

    --battlefrog: #7cff5b;
    --drift: #69a7ff;
    --breakroom: #ffcb45;
    --sentinel: #ff5c5c;

    --max-width: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 2rem), var(--max-width));
    margin: 0 auto;
}


/* Header */

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

.site-header__inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo {
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
}

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


/* Hero */

.hero {
    padding: 8rem 0 7rem;
}

.hero__inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero__eyebrow,
.section-heading__eyebrow,
.project-card__type {
    margin: 0 0 1rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.hero__intro {
    max-width: 720px;
    margin: 2rem auto 0;
    font-size: 1.2rem;
    color: var(--muted);
}

.button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    background: var(--panel);
}

.button:hover {
    background: var(--panel-hover);
}


/* Projects */

.projects {
    padding: 2rem 0 7rem;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2,
.about h2 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.04em;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.project-card {
    min-height: 390px;
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    background: var(--panel);
    transition:
        transform 160ms ease,
        border-color 160ms ease,
        background 160ms ease;
}

.project-card:hover {
    transform: translateY(-4px);
    background: var(--panel-hover);
}

.project-card--battlefrog {
    border-top: 4px solid var(--battlefrog);
}

.project-card--drift {
    border-top: 4px solid var(--drift);
}

.project-card--breakroom {
    border-top: 4px solid var(--breakroom);
}

.project-card--sentinel {
    border-top: 4px solid var(--sentinel);
}

.project-card h3 {
    margin: 0 0 1rem;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.project-card p {
    color: var(--muted);
}

.project-card blockquote {
    margin: 2rem 0 0;
    padding-left: 1rem;
    border-left: 2px solid var(--sentinel);
    color: var(--text);
    font-style: italic;
}

.project-card__link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 800;
    text-decoration: none;
}

.project-card__status {
    display: inline-block;
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.9rem;
}


/* About */

.about {
    padding: 6rem 0;
    border-top: 1px solid var(--border);
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.about__lead {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--text);
}


/* Footer */

.site-footer {
    border-top: 1px solid var(--border);
}

.site-footer__inner {
    min-height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    color: var(--muted);
}


/* Responsive */

@media (max-width: 760px) {
    .hero {
        padding: 5rem 0;
    }

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

    .project-card {
        min-height: auto;
    }

    .site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 0.25rem;
    }
}