:root {
    color-scheme: dark;
    --background: #111820;
    --header: #141e27;
    --text: #f3f6f8;
    --muted: #bdc8d1;
    --accent: #70baff;
    --border: #34434f;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.7;
}

.site-header {
    min-height: 72px;
    padding: 0 clamp(20px, 6vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--header);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}

.brand img {
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 36px);
}

.site-nav a {
    padding: 22px 0;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    border-bottom-color: var(--accent);
}

.container {
    width: min(100% - 40px, 820px);
    margin: 0 auto;
    padding: clamp(64px, 12vh, 120px) 0;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1 {
    margin: 0 0 20px;
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.intro {
    max-width: 680px;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.button {
    display: inline-block;
    padding: 11px 18px;
    border: 1px solid var(--accent);
    border-radius: 5px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.button:hover,
.button:focus-visible {
    background: var(--accent);
    color: var(--background);
}

.contact {
    margin-top: 88px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

h2 {
    margin: 0 0 10px;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.contact a {
    color: var(--accent);
    text-underline-offset: 0.2em;
}

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

@media (max-width: 540px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding-top: 14px;
    }

    .site-nav {
        width: 100%;
        gap: 24px;
    }

    .site-nav a {
        padding: 10px 0 14px;
    }

    .container {
        padding-top: 56px;
    }
}
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 22px;
    margin-top: 36px;
}

.project-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--header);
}

.project-image-link {
    display: block;
    overflow: hidden;
    background: #0c1117;
    border-bottom: 1px solid var(--border);
}

.project-image {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    transition: transform 180ms ease;
}

.project-image-link:hover .project-image {
    transform: scale(1.02);
}

.project-info {
    padding: 22px;
}

.project-info h2 {
    margin: 0 0 8px;
    padding: 0;
    border: 0;
    font-size: 1.25rem;
    letter-spacing: 0;
    text-transform: none;
}

.project-info p {
    min-height: 3.4em;
    color: var(--muted);
}

.project-link {
    color: var(--accent);
    text-decoration: none;
}

.project-link:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.site-nav a[aria-current="page"] {
    color: var(--text);
    border-bottom-color: var(--accent);
}
.contact-list {
    display: grid;
    gap: 14px;
    max-width: 680px;
    margin-top: 36px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--header);
    color: var(--text);
    text-decoration: none;
    transition: border-color 160ms ease, background 160ms ease;
}

.contact-card:hover {
    border-color: var(--accent);
    background: #1a2732;
}

.contact-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 8px;
    background: #223442;
    color: var(--accent);
}

.contact-icon svg {
    width: 25px;
    height: 25px;
}

.contact-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.contact-label {
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-value {
    overflow-wrap: anywhere;
    font-weight: 600;
}

.contact-arrow {
    margin-left: auto;
    color: var(--accent);
    font-size: 1.2rem;
}

.banner {
    width: 100%;
    padding: 12px;
    background-color: red;
    color: white;
    text-align: center;
    font-weight: bold;
    box-sizing: border-box;
}

