:root {
    color-scheme: light;
    --paper: #f6f5f0;
    --ink: #21211e;
    --muted: #77766e;
    --line: #deddd5;
    --lime: #d9f36a;
    --orange: #f1a875;
    --purple: #c5b7f2;
    --mono: "DM Mono", monospace;
    --sans: "DM Sans", sans-serif;
    --display: "Manrope", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

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

a:focus-visible {
    outline: 2px solid #586d12;
    outline-offset: 5px;
}

.skip-link {
    position: absolute;
    z-index: 10;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    transform: translateY(-150%);
    background: var(--ink);
    color: white;
}

.skip-link:focus {
    transform: translateY(0);
}

.page-width {
    width: min(1120px, calc(100% - 64px));
    margin-inline: auto;
}

.site-header {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 84px;
    align-items: center;
    justify-content: space-between;
    padding-inline: max(32px, calc((100% - 1120px) / 2));
    border-bottom: 1px solid rgb(33 33 30 / 8%);
}

.wordmark {
    font-family: var(--display);
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -2px;
}

.wordmark span {
    color: #9bbd31;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    font-size: 13px;
    font-weight: 600;
}

.main-nav a,
.text-link,
.back-top {
    transition: opacity 160ms ease;
}

.main-nav a:hover,
.text-link:hover,
.back-top:hover {
    opacity: 0.62;
}

.main-nav .nav-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--ink);
}

.hero {
    position: relative;
    display: grid;
    min-height: 710px;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 88px;
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding-bottom: 34px;
}

.eyebrow {
    margin: 0 0 25px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.13em;
}

.eyebrow-divider {
    padding-inline: 7px;
    color: #a09f96;
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 7px;
    border-radius: 50%;
    background: #9bbd31;
    vertical-align: 1px;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

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

h1,
h2 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.075em;
}

h1 {
    margin-bottom: 24px;
    font-size: clamp(62px, 8.1vw, 104px);
    line-height: 0.99;
}

.highlight {
    position: relative;
    z-index: 0;
    display: inline-block;
}

.highlight::after {
    position: absolute;
    z-index: -1;
    right: -5px;
    bottom: 6px;
    left: -4px;
    height: 24px;
    transform: rotate(-2deg);
    background: var(--lime);
    content: "";
}

.hero-description,
.section-intro {
    max-width: 385px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 26px;
    margin-top: 31px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 19px;
    padding: 0 19px;
    font-size: 12px;
    font-weight: 700;
    transition: transform 160ms ease, background 160ms ease;
}

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

.button-dark {
    background: var(--ink);
    color: white;
}

.button-dark:hover {
    background: #3c3d31;
}

.text-link {
    font-size: 12px;
    font-weight: 700;
}

.text-link span {
    margin-left: 6px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 73px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10px;
}

.note-line {
    width: 31px;
    height: 1px;
    background: #aaa99e;
}

.hero-art {
    position: relative;
    display: grid;
    min-height: 405px;
    place-items: center;
}

.art-orbit {
    position: absolute;
    border: 1px solid #deddd5;
    border-radius: 50%;
}

.orbit-one {
    width: 385px;
    height: 385px;
}

.orbit-two {
    width: 305px;
    height: 305px;
}

.art-card {
    position: relative;
    display: flex;
    width: 253px;
    height: 310px;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    transform: rotate(5deg);
    background: var(--lime);
    box-shadow: 0 24px 70px rgb(33 33 30 / 10%);
}

.art-card-label,
.art-card-bottom,
.art-caption,
.visual-index,
.visual-caption {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.11em;
}

.art-card-title {
    font-family: var(--display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.07em;
    line-height: 1.1;
}

.art-card-bottom {
    padding-top: 11px;
    border-top: 1px solid rgb(33 33 30 / 23%);
}

.art-card-bottom .status-dot {
    background: var(--ink);
}

.art-star {
    position: absolute;
    z-index: 1;
    top: 20px;
    right: 43px;
    color: #ed8d57;
    font-size: 74px;
    line-height: 1;
}

.art-caption {
    position: absolute;
    right: 4px;
    bottom: 51px;
    transform: rotate(-90deg);
    color: var(--muted);
}

.art-spark {
    position: absolute;
    font-size: 24px;
}

.spark-one {
    top: 67px;
    left: 26px;
}

.spark-two {
    right: 40px;
    bottom: 53px;
    color: #c5b7f2;
}

.scroll-cue {
    position: absolute;
    bottom: 33px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.1em;
}

.scroll-mark {
    width: 20px;
    height: 1px;
    background: var(--ink);
}

.section-pad {
    padding-block: 112px;
}

.work-section {
    background: #eeede7;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 49px;
}

.section-heading .eyebrow,
.skills-heading .eyebrow,
.about-copy .eyebrow {
    margin-bottom: 21px;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(43px, 5vw, 61px);
    line-height: 1.06;
}

.serif-accent {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.07em;
}

.section-heading .section-intro {
    max-width: 310px;
    margin: 0 0 7px;
    font-size: 13px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    min-width: 0;
}

.project-visual {
    position: relative;
    display: grid;
    height: 235px;
    overflow: hidden;
    place-items: center;
}

.visual-one {
    background: #d9f36a;
}

.visual-two {
    background: #f1a875;
}

.visual-three {
    background: #c5b7f2;
}

.visual-index {
    position: absolute;
    top: 17px;
    left: 18px;
}

.visual-caption {
    position: absolute;
    right: 17px;
    bottom: 17px;
}

.visual-shape {
    position: absolute;
    display: block;
}

.shape-one {
    width: 155px;
    height: 155px;
    border: 1px solid rgb(33 33 30 / 38%);
    border-radius: 50%;
}

.shape-two {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 36px -14px 0 -5px #f6f5f0;
}

.shape-three {
    width: 120px;
    height: 120px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgb(246 245 240 / 46%), 0 0 0 36px rgb(33 33 30 / 16%);
}

.shape-four {
    width: 34px;
    height: 34px;
    transform: rotate(45deg);
    background: var(--ink);
}

.shape-five {
    width: 132px;
    height: 132px;
    transform: rotate(45deg);
    border: 1px solid var(--ink);
    box-shadow: 0 0 0 17px rgb(246 245 240 / 30%);
}

.shape-six {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: var(--ink);
}

.project-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 22px;
}

.project-kicker {
    margin: 0 0 8px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.09em;
}

.project-info h3 {
    margin: 0;
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.project-arrow {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    border: 1px solid #d5d4cc;
    border-radius: 50%;
    font-size: 14px;
    place-items: center;
}

.project-description {
    min-height: 45px;
    margin: 11px 0 14px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.tag-list,
.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag-list span,
.skill-pills span {
    padding: 7px 9px;
    border: 1px solid #d6d5cd;
    border-radius: 2px;
    font-family: var(--mono);
    font-size: 9px;
}

.skills-layout {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 85px;
}

.skills-heading {
    position: relative;
    align-self: start;
}

.skills-heading .section-intro {
    max-width: 265px;
    margin-top: 21px;
    font-size: 13px;
}

.skills-doodle {
    display: block;
    margin-top: 67px;
    color: #d0df8d;
    font-size: 75px;
    line-height: 1;
}

.skill-group {
    display: grid;
    grid-template-columns: 42px 1fr 37px;
    gap: 13px;
    padding-block: 23px;
    border-top: 1px solid var(--line);
}

.skill-group:last-of-type {
    border-bottom: 1px solid var(--line);
}

.skill-number {
    padding-top: 3px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 10px;
}

.skill-group h3 {
    margin: 0 0 5px;
    font-family: var(--display);
    font-size: 17px;
    letter-spacing: -0.04em;
}

.skill-group p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 11px;
}

.skill-symbol {
    padding-top: 2px;
    color: #95948a;
    font-family: var(--mono);
    font-size: 18px;
    text-align: right;
}

.about-section {
    background: #e9e8e1;
}

.about-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 80px;
}

.about-stamp {
    display: flex;
    width: 242px;
    height: 242px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: 17px;
    transform: rotate(-8deg);
    border: 1px solid #a3a397;
    border-radius: 50%;
    color: #77776d;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.15em;
}

.about-stamp b {
    display: grid;
    width: 106px;
    height: 106px;
    border-radius: 50%;
    background: var(--lime);
    color: var(--ink);
    font-family: var(--display);
    font-size: 38px;
    letter-spacing: -0.08em;
    place-items: center;
}

.about-copy h2 {
    font-size: clamp(41px, 4.7vw, 57px);
}

.about-placeholder {
    max-width: 485px;
    margin: 22px 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.85;
}

.contact-section {
    overflow: hidden;
    background: var(--ink);
    color: var(--paper);
}

.contact-inner {
    position: relative;
    padding-block: 95px 105px;
}

.contact-inner .eyebrow {
    color: #c4c3b8;
}

.contact-inner h2 {
    font-size: clamp(58px, 8vw, 91px);
    line-height: 0.99;
}

.contact-inner .serif-accent {
    color: var(--lime);
}

.contact-inner > p:not(.eyebrow) {
    max-width: 360px;
    margin: 23px 0 25px;
    color: #c4c3b8;
    font-size: 13px;
    line-height: 1.8;
}

.button-light {
    background: var(--lime);
    color: var(--ink);
}

.button-light:hover {
    background: #e4f89b;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 19px;
}

.contact-links a {
    padding-bottom: 3px;
    border-bottom: 1px solid rgb(246 245 240 / 38%);
    color: #c4c3b8;
    font-size: 11px;
}

.contact-links a:hover {
    color: var(--paper);
}

.contact-spark {
    position: absolute;
    top: 87px;
    right: 12%;
    color: #5c5d51;
    font-size: clamp(130px, 24vw, 290px);
    line-height: 1;
    pointer-events: none;
}

.site-footer {
    background: var(--ink);
    color: var(--paper);
}

.footer-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgb(246 245 240 / 18%);
}

.footer-inner .wordmark {
    font-size: 21px;
}

.footer-inner p,
.back-top {
    color: #c4c3b8;
    font-size: 10px;
}

.footer-inner p span {
    padding-inline: 4px;
    color: var(--lime);
}

.back-top {
    font-family: var(--mono);
}

@media (min-width: 1400px) {
    .hero {
        min-height: 760px;
    }
}

@media (max-width: 800px) {
    .page-width {
        width: min(100% - 48px, 620px);
    }

    .site-header {
        height: 72px;
        padding-inline: 24px;
    }

    .main-nav {
        gap: 18px;
        font-size: 12px;
    }

    .main-nav .nav-contact {
        padding: 10px 12px;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr 0.75fr;
        padding-top: 145px;
        padding-bottom: 100px;
    }

    .hero-art {
        min-height: 330px;
        transform: scale(0.82);
    }

    .section-pad {
        padding-block: 85px;
    }

    .project-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 37px;
    }

    .skills-layout,
    .about-layout {
        gap: 45px;
    }

    .skills-layout {
        grid-template-columns: 0.8fr 1.2fr;
    }

    .about-stamp {
        width: 190px;
        height: 190px;
    }

    .about-stamp b {
        width: 82px;
        height: 82px;
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    html {
        scroll-padding-top: 72px;
    }

    .page-width {
        width: calc(100% - 40px);
    }

    .site-header {
        padding-inline: 20px;
    }

    .main-nav {
        gap: 12px;
        font-size: 11px;
    }

    .main-nav .nav-contact {
        gap: 5px;
        padding: 9px 8px;
    }

    .hero {
        display: flex;
        min-height: auto;
        flex-direction: column;
        align-items: stretch;
        padding-top: 132px;
        padding-bottom: 85px;
    }

    h1 {
        font-size: clamp(62px, 17vw, 84px);
    }

    .hero-description {
        max-width: 340px;
    }

    .hero-note {
        margin-top: 42px;
    }

    .hero-art {
        min-height: 325px;
        margin-top: 8px;
        transform: scale(0.78);
    }

    .scroll-cue {
        bottom: 30px;
    }

    .section-pad {
        padding-block: 73px;
    }

    .section-heading {
        display: block;
        margin-bottom: 32px;
    }

    .section-heading .section-intro {
        margin-top: 16px;
    }

    h2 {
        font-size: 48px;
    }

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

    .project-visual {
        height: 230px;
    }

    .project-description {
        min-height: 0;
    }

    .skills-layout,
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skills-doodle {
        display: none;
    }

    .skill-group {
        grid-template-columns: 28px 1fr 27px;
        gap: 9px;
    }

    .skill-pills {
        gap: 6px;
    }

    .skill-pills span {
        padding: 7px;
        font-size: 8px;
    }

    .about-stamp {
        width: 175px;
        height: 175px;
        justify-self: start;
        margin-left: 14px;
    }

    .about-stamp b {
        width: 76px;
        height: 76px;
        font-size: 27px;
    }

    .contact-inner {
        padding-block: 76px 85px;
    }

    .contact-inner h2 {
        font-size: clamp(56px, 15vw, 76px);
    }

    .contact-spark {
        top: 107px;
        right: -53px;
        font-size: 175px;
        opacity: 0.45;
    }

    .footer-inner {
        min-height: 78px;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px 15px;
        padding-block: 14px;
    }

    .footer-inner p {
        order: 1;
        width: 100%;
        margin: 0;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
