:root {
    --background: #171717;
    --text: #f4f3ef;
    --muted: #2fb922;
    --accent: #ec6424;
    --border: #d6d3cc;
    --max-width: 1100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

nav,
main,
footer {
    width: min(90%, var(--max-width));
    margin-inline: auto;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-weight: 700;
    letter-spacing: 0.08em;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.hero {
    min-height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 3rem;
}

h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.intro {
    max-width: 600px;
    margin-top: 2rem;
    font-size: 1.3rem;
    color: var(--muted);
}

.hero-links {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.hero-links a {
    border-bottom: 1px solid var(--text);
    padding-bottom: 0.25rem;
}

section {
    padding: 8rem 0;
}


.project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 50px 0;
    border-bottom: 1px solid #666;
}

.project-image {
    width: 100%;
    height: auto;
    background: transparent;
    overflow: hidden;
    border-radius: 8px;
}

.project-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.project-info {
    width: 100%;
    min-width: 0;
}

@media (max-width: 768px) {
    .project {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


.project-number {
    color: var(--accent);
    margin-bottom: 1rem;
}

.project:last-child {
    border-bottom: none;
}

.technologies {
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

@media (max-width: 700px) {
    .nav-links {
        display: none;
    }

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

    section {
        padding: 5rem 0;
    }
}
