:root {
    --background: #0d1117;
    --surface: #161b22;
    --surface-hover: #1c2128;

    --border: #30363d;

    --text: #f0f6fc;
    --text-muted: #8b949e;

    --accent: #58a6ff;
    --accent-hover: #79b8ff;

    --max-width: 1100px;
}


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


html {
    scroll-behavior: smooth;
}


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

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

    line-height: 1.6;
}


a {
    color: inherit;
}


.container {
    width: min(100% - 48px, var(--max-width));
    margin-inline: auto;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;

    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(12px);

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

    z-index: 100;
}


.nav {
    min-height: 72px;

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


.logo {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border: 1px solid var(--accent);
    border-radius: 10px;

    color: var(--accent);

    text-decoration: none;
    font-weight: 700;
}


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


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

    font-size: 14px;
    font-weight: 500;

    transition: color 0.2s ease;
}


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


/* HERO */

.hero {
    min-height: calc(100vh - 72px);

    display: flex;
    align-items: center;

    padding-block: 80px;
}


.hero-content {
    max-width: 760px;
}


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

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}


.hero h1 {
    margin-top: 16px;

    font-size: clamp(56px, 9vw, 96px);
    line-height: 0.95;

    letter-spacing: -3px;
}


.hero h2 {
    margin-top: 22px;

    color: var(--accent);

    font-size: clamp(26px, 4vw, 36px);
}


.intro {
    max-width: 700px;

    margin-top: 26px;

    color: var(--text-muted);

    font-size: 19px;
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 36px;
}


.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding-inline: 24px;

    border-radius: 8px;

    text-decoration: none;
    font-weight: 600;

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


.button-primary {
    background: var(--accent);
    color: #07111e;
}


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


.button-secondary {
    border: 1px solid var(--border);
}


.button-secondary:hover {
    border-color: var(--accent);
}


/* SECTIONS */

.section {
    padding-block: 110px;

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


.section-title {
    max-width: 700px;

    margin-top: 10px;

    font-size: clamp(34px, 5vw, 52px);
    line-height: 1.1;

    letter-spacing: -1.5px;
}


/* ABOUT */

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 60px;

    margin-top: 48px;

    color: var(--text-muted);

    font-size: 18px;
}


/* SKILLS */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;

    margin-top: 48px;
}


.skill-card {
    padding: 26px;

    background: var(--surface);

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

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


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


.skill-card h3 {
    font-size: 20px;
}


.skill-card p {
    margin-top: 10px;

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


/* PROJECTS */

.projects-grid {
    display: grid;
    gap: 20px;

    margin-top: 48px;
}


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

    padding: 32px;

    background: var(--surface);

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

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.project-card h3 {
    margin-top: 8px;

    font-size: 26px;
}


.project-card p {
    max-width: 700px;

    margin-top: 12px;

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


.project-number {
    color: var(--accent) !important;

    font-size: 13px;
    font-weight: 700;
}


.project-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;

    gap: 20px;

    margin-top: 38px;
}


.project-footer a {
    color: var(--accent);

    text-decoration: none;
    font-weight: 600;
}


.tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
}


.tags span {
    padding: 5px 10px;

    background: #21262d;

    border-radius: 20px;

    color: var(--text-muted);

    font-size: 12px;
}


.project-placeholder {
    opacity: 0.6;
}


/* CONTACT */

.contact-section p:not(.section-label) {
    max-width: 600px;

    margin-top: 24px;

    color: var(--text-muted);

    font-size: 18px;
}


.contact-links {
    display: flex;
    gap: 20px;

    margin-top: 30px;
}


.contact-links a {
    color: var(--accent);

    text-decoration: none;
    font-weight: 600;
}


/* FOOTER */

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


.footer-content {
    min-height: 100px;

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

    color: var(--text-muted);

    font-size: 14px;
}


/* RESPONSIVE */

@media (max-width: 750px) {

    .nav-links {
        gap: 14px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .about-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero h1 {
        letter-spacing: -2px;
    }

    .project-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        justify-content: center;

        gap: 5px;
    }

}