:root {
    --orange: #f08358;
    --orange-dark: #d9643b;
    --ink: #323232;
    --muted: #6c6c6c;
    --paper: #fffdfa;
    --tint: #fff4ed;
    --line: #eaded7;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 400 16px/1.65 Poppins, sans-serif;
}

.shell {
    width: min(1120px, calc(100% - 3rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: color-mix(in srgb, var(--paper) 92%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.brand {
    color: var(--ink);
    font: 700 1.4rem/1 'Playfair Display', serif;
    text-decoration: none;
    margin-right: auto;
}

.brand span,
.eyebrow {
    color: var(--orange);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--ink);
    font-size: .88rem;
    text-decoration: none;
}

.nav-links a:hover,
.text-link:hover {
    color: var(--orange-dark);
}

.social-links {
    display: flex;
    gap: .75rem;
}

.social-links img {
    width: 22px;
    height: 22px;
}

.menu-toggle {
    display: none;
}

.hero {
    min-height: calc(100svh - 76px);
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 3rem;
    padding-block: 4.5rem;
}

.eyebrow {
    margin: 0 0 .7rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.16;
}

h1 {
    max-width: 760px;
    margin-bottom: 1.25rem;
    font: 700 clamp(3rem, 7vw, 5.65rem)/1.03 'Playfair Display', serif;
    letter-spacing: -.045em;
}

h1 em {
    color: var(--orange);
    font-style: normal;
}

h2 {
    max-width: 720px;
    margin-bottom: 1.25rem;
    font: 700 clamp(2rem, 4vw, 3.15rem)/1.13 'Playfair Display', serif;
    letter-spacing: -.035em;
}

h3 {
    font-size: 1.12rem;
}

.lead {
    max-width: 630px;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    color: var(--muted);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    gap: .8rem;
    align-items: center;
    padding: .8rem 1.15rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s, background .2s;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: #fff;
    background: var(--orange);
}

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

.text-link {
    color: var(--ink);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--orange);
    text-underline-offset: 4px;
}

.hero-art {
    position: relative;
    display: grid;
    place-items: center;
}

.hero-art img {
    position: relative;
    width: min(100%, 420px);
    z-index: 1;
}

.sun {
    position: absolute;
    width: min(25vw, 270px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ffdfd0;
    transform: translate(2rem, -1rem);
}

.section {
    padding-block: 6.5rem;
}

.about {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: clamp(2.5rem, 7vw, 6rem);
}

.about-art img {
    display: block;
    width: min(100%, 340px);
    margin: auto;
}

.about p:not(.eyebrow) {
    color: var(--muted);
}

.quick-facts {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.6rem;
}

.quick-facts span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .76rem;
    font-weight: 500;
}

.skill-groups {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2.25rem;
}

.skill-groups article {
    min-height: 150px;
    padding: 1.6rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

.skill-groups h3 {
    margin-bottom: .7rem;
}

.skill-groups p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: .94rem;
}

.section-tint {
    background: var(--tint);
}

.timeline {
    margin-top: 2.6rem;
    border-top: 1px solid var(--line);
}

.role {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
}

.role-meta {
    font-size: .86rem;
}

.role-meta p {
    margin: 0 0 .25rem;
}

.role-meta p:last-child {
    color: var(--orange-dark);
    font-weight: 600;
}

.role-content h3 {
    margin-bottom: 1rem;
}

.role ul {
    margin: 0;
    padding-left: 1.2rem;
}

.role li {
    margin: .4rem 0;
    color: #4e4e4e;
}

.project-card {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 3rem;
    padding: clamp(1.7rem, 5vw, 3.3rem);
    background: var(--ink);
    color: #fff;
    border-radius: 18px;
}

.project-card h3 {
    font: 700 clamp(2.1rem, 4vw, 3rem)/1 'Playfair Display', serif;
}

.project-card p {
    color: #f5dcd2;
}

.project-type {
    color: #ffa77f !important;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.project-card .text-link {
    color: #fff;
}

.project-detail {
    border-left: 1px solid #665f5c;
    padding-left: 2rem;
    align-self: center;
}

.project-detail>span {
    color: var(--orange);
    font: 700 3rem/1 'Playfair Display', serif;
}

.project-detail p {
    margin: 1rem 0 0;
}

.project-detail strong {
    color: #fff;
}

.education-card {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.75rem 0;
    border-block: 1px solid var(--line);
}

.education-card h3 {
    margin-bottom: .35rem;
}

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

.education-card>div:last-child {
    text-align: right;
}

.education-card strong {
    color: var(--orange-dark);
}

.contact {
    padding-block: 7rem;
    text-align: center;
}

.contact h2 {
    margin-inline: auto;
}

.contact .button {
    margin-top: .4rem;
}

footer {
    border-top: 1px solid var(--line);
    font-size: .8rem;
    color: var(--muted);
}

footer .shell {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 1.6rem;
}

@media (max-width:760px) {
    .shell {
        width: min(100% - 2rem, 1120px);
    }

    .nav {
        min-height: 64px;
        gap: 1rem;
    }

    .menu-toggle {
        display: grid;
        gap: 4px;
        width: 38px;
        padding: 8px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--ink);
    }

    .social-links {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        inset: 64px 0 auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .6rem 1rem 1rem;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: .75rem 0;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-block: 4rem 3.5rem;
    }

    .hero-art {
        order: -1;
    }

    .hero-art img {
        width: min(72%, 300px);
    }

    .sun {
        width: 52vw;
    }

    .section {
        padding-block: 4.5rem;
    }

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

    .about-art {
        display: none;
    }

    .skill-groups,
    .project-card {
        grid-template-columns: 1fr;
    }

    .role {
        grid-template-columns: 1fr;
        gap: .5rem;
        padding-block: 1.6rem;
    }

    .role-meta {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .role-meta p {
        margin: 0;
    }

    .project-card {
        gap: 1.5rem;
    }

    .project-detail {
        padding-left: 0;
        padding-top: 1.5rem;
        border-left: 0;
        border-top: 1px solid #665f5c;
    }

    .education-card {
        flex-direction: column;
        gap: .8rem;
    }

    .education-card>div:last-child {
        text-align: left;
    }

    footer .shell {
        flex-direction: column;
    }
}

@media (max-width:400px) {
    h1 {
        font-size: 2.75rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }
}