:root {
    --background: #0d0f12;
    --surface: #15181d;
    --border: #292e36;
    --text: #e8e8e8;
    --muted: #9299a3;
    --accent: #8fd3ff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

header,
main,
footer {
    width: min(1100px, calc(100% - 48px));
    margin: 0 auto;
}

header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.logo {
    color: var(--text);
    font-family: monospace;
    font-weight: bold;
    text-decoration: none;
}

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

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

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

.hero {
    padding: 140px 0 120px;
}

.eyebrow {
    color: var(--accent);
    font-family: monospace;
}

.hero h1 {
    margin: 12px 0;
    font-size: clamp(3rem, 9vw, 7rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.lead {
    max-width: 600px;
    color: var(--muted);
    font-size: 1.15rem;
}

section {
    margin-bottom: 120px;
}

h2 {
    margin-bottom: 24px;
    font-family: monospace;
    font-size: 1rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.works {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.card {
    min-height: 260px;
    padding: 28px;
    display: flex;
    flex-direction: column;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--text);
    text-decoration: none;

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

.card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.card .number {
    color: var(--muted);
    font-family: monospace;
    font-size: 0.8rem;
}

.card h3 {
    margin: 24px 0 8px;
    font-size: 1.5rem;
}

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

.experiments {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.experiment-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.experiment-links a,
.experiment-links a:visited {
    color: var(--accent);
    font-family: monospace;
    text-decoration: none;
}

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


@media (max-width: 700px) {
    .experiments {
        grid-template-columns: 1fr;
    }
}


.more {
    margin-top: auto;
    color: var(--accent);
    font-family: monospace;
}

.about p {
    max-width: 600px;
    font-size: 1.3rem;
}

footer {
    padding: 32px 0;
    display: flex;
    justify-content: space-between;

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

    color: var(--muted);
    font-family: monospace;
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

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

.about-content {
    display: flex;
    align-items: center;
    gap: 28px;
}

.about-image {
    width: 180px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.about-text {
    max-width: 600px;
}

.about-main {
    margin: 0;
    font-size: 1.5rem;
}

.about-sub {
    margin: 8px 0 0;
    color: var(--muted);
}

.profile-banner {
    width: min(1100px, calc(100% - 48px));
    height: 240px;
    margin: 0 auto 72px;

    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 0 0 12px 12px;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    object-position: center 30%;
}

.support {
    margin-top: 24px;
    color: var(--muted);
}

.about-title {
    margin: 0 0 8px;
    color: var(--accent);
    font-family: monospace;
    font-size: 0.9rem;
}

.support {
    margin-top: 24px;
    color: var(--muted);
}

.support-link,
.support-link:visited {
    display: block;
    margin-top: 8px;
    color: var(--accent);
    font-family: monospace;
    text-decoration: none;
}

.support-link:hover {
    color: var(--text);
}

.contact {
    margin-top: 20px;
    color: var(--muted);
}

.contact-link,
.contact-link:visited {
    display: block;
    margin-top: 8px;
    color: var(--accent);
    font-family: monospace;
    text-decoration: none;
}

.contact-link:hover {
    color: var(--text);
}


@media (max-width: 700px) {
    .about-content {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-image {
        width: 140px;
    }
}


@media (max-width: 700px) {
    header,
    main,
    footer {
        width: min(100% - 32px, 1100px);
    }

    .hero {
        padding: 100px 0 80px;
    }

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

    section {
        margin-bottom: 80px;
    }
}