:root {
    --bg: #f8f8f6;
    --surface: #ffffff;
    --ink: #1f2328;
    --muted: #5a6169;
    --line: #dde1e6;
    --brand: #1f5d45;
    --chip-bg: #eef1f3;
    --chip-ink: #2a333c;
    --ring: #1b7b57;
    --radius: 14px;
    --shadow: 0 10px 24px rgba(16, 20, 25, 0.07);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    line-height: 1.6;
    background:
        linear-gradient(180deg, #f2f4f2 0%, #f8f8f6 220px),
        var(--bg);
    min-height: 100vh;
}

h1,
h2,
h3 {
    font-family: "Newsreader", serif;
    margin-top: 0;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

a {
    color: #1f5d45;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem 1rem;
}

.site-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-content {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.6rem;
    border: 1px solid var(--line);
    margin-bottom: 1rem;
    animation: fade-up 520ms ease both;
}

.kicker {
    margin: 0 0 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    font-size: 0.78rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.role {
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.45rem;
}

.summary {
    max-width: 80ch;
}

.hero-note {
    margin: 0.3rem 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.cta {
    display: inline-block;
    text-decoration: none;
    border-radius: 999px;
    background: var(--brand);
    color: #f6f8f7;
    font-weight: 700;
    padding: 0.72rem 1.14rem;
    min-height: 44px;
}

.cta.big {
    margin-top: 1rem;
}

main,
footer {
    width: min(980px, 100% - 2rem);
    margin: 0 auto 1rem;
}

.card-section {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    padding: 1.2rem;
    margin-bottom: 1rem;
    animation: fade-up 560ms ease both;
}

.chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.chips li {
    background: var(--chip-bg);
    color: var(--chip-ink);
    border: 1px solid #dce2e7;
    border-radius: 999px;
    padding: 0.38rem 0.76rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.hobby-image,
.project-image {
    width: 100%;
    border-radius: var(--radius);
    margin: 0.6rem 0;
    border: 1px solid var(--line);
}

.project-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin: 0 0 0.3rem;
}

.project-link {
    font-weight: 700;
}

.contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact li+li {
    margin-top: 0.3rem;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 760px) {
    .hero {
        padding: 1.5rem 2rem 1rem;
    }

    .hero-content,
    .card-section {
        padding: 1.8rem;
    }

    .site-nav {
        width: min(980px, 100%);
    }
}