:root {
    --carbon: #000000;
    --white: #ffffff;
    --sky: #dceeff;
    --gray: #cccccc;
    --mist: #e9e9e9;
    --blue: #4da2ff;
    --mint: #55db9c;
    --lavender: #e9ccff;
    --ember: #fb4903;
    --yellow: #ffd731;
    --violet: #5c4ade;

    --page: 1440px;
    --radius-card: 30px;
    --radius-big: 40px;
    --radius-pill: 1600px;
    --font-display: "Antonio", Impact, sans-serif;
    --font-ui: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--carbon);
    font-family: var(--font-ui);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.marquee {
    height: 30px;
    overflow: hidden;
    background: var(--carbon);
    color: var(--white);
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .032em;
}

.marquee__track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}

.marquee__track span {
    padding-right: 40px;
}

@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}

.site-header {
    position: fixed;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    width: min(calc(100% - 48px), var(--page));
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    pointer-events: none;
}

.logo,
.nav,
.header__github,
.menu-toggle {
    pointer-events: auto;
}

.logo {
    width: 44px;
    height: 44px;
    border: 1px solid var(--carbon);
    border-radius: 50%;
    background: var(--white);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--carbon);
    border-radius: var(--radius-pill);
    background: var(--white);
}

.nav a {
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .032em;
    transition: .2s ease;
}

.nav a:hover {
    background: var(--mist);
}

.header__github {
    justify-self: end;
}

.menu-toggle {
    display: none;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--carbon);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .032em;
    transition: transform .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--dark {
    background: var(--carbon);
    color: var(--white);
}

.button--light {
    background: var(--white);
    color: var(--carbon);
}

.button--outline-light {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.section {
    position: relative;
    min-height: 100vh;
    padding: 150px max(32px, calc((100vw - var(--page)) / 2)) 100px;
    overflow: hidden;
}

.hero {
    min-height: 100vh;
    background: var(--sky);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero__content {
    position: relative;
    z-index: 5;
    max-width: 1200px;
}

.eyebrow,
.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .032em;
}

.eyebrow {
    margin-bottom: 24px;
}

.display {
    position: relative;
    z-index: 3;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(100px, 15vw, 230px);
    line-height: .76;
    font-weight: 700;
    letter-spacing: -.025em;
}

.hero__tagline {
    max-width: 700px;
    margin: 42px auto 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 500;
}

.hero__actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ribbon {
    position: absolute;
    pointer-events: none;
    background: var(--blue);
    border: 1px solid var(--carbon);
    border-radius: 50%;
    filter: none;
}

.ribbon--hero {
    width: 1050px;
    height: 230px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -20%) rotate(-12deg);
    border-radius: 50%;
    box-shadow:
        inset 0 -20px 0 rgba(0, 0, 0, .08),
        inset 20px 0 0 rgba(255, 255, 255, .08);
}

.ribbon--work {
    width: 1200px;
    height: 210px;
    right: -420px;
    top: 160px;
    transform: rotate(18deg);
}

.ribbon--direction {
    width: 1000px;
    height: 180px;
    right: -250px;
    top: 190px;
    transform: rotate(-18deg);
}

.sticker {
    position: absolute;
    z-index: 8;
    border: 1px solid var(--carbon);
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-weight: 700;
    transform: rotate(-8deg);
}

.sticker--ember {
    background: var(--ember);
}

.sticker--yellow {
    background: var(--yellow);
}

.sticker--purple {
    background: var(--violet);
    color: var(--white);
}

.sticker--mint {
    background: var(--mint);
}

.sticker--rocket {
    width: 70px;
    height: 70px;
    right: 12%;
    top: 25%;
    font-size: 28px;
}

.sticker--coin {
    width: 54px;
    height: 54px;
    left: 12%;
    top: 27%;
    border-radius: 50%;
    font-size: 24px;
    transform: rotate(12deg);
}

.sticker--code {
    width: 80px;
    height: 50px;
    left: 18%;
    bottom: 22%;
    transform: rotate(-5deg);
}

.hero__sticker {
    right: 9%;
    bottom: 12%;
    width: 100px;
    height: 100px;
    padding: 12px;
    text-align: left;
    transform: rotate(7deg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero__sticker strong {
    font-size: 20px;
}

.hero__sticker span {
    font-size: 11px;
    line-height: 1.1;
    letter-spacing: .04em;
}

.section--white {
    background: var(--white);
}

.section--gray {
    background: var(--gray);
}

.section--sky {
    background: var(--sky);
}

.section--black {
    background: var(--carbon);
    color: var(--white);
}

.section-label {
    position: relative;
    z-index: 5;
    margin-bottom: 48px;
}

.about-grid {
    max-width: var(--page);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 80px;
    align-items: start;
}

.heading {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(90px, 11vw, 180px);
    line-height: .78;
    letter-spacing: -.02em;
}

.about-copy {
    padding-top: 16px;
}

.about-copy p {
    max-width: 620px;
    font-size: 16px;
    line-height: 1.55;
}

.about-copy .lead,
.lead {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 500;
}

.timeline {
    max-width: var(--page);
    margin: 100px auto 0;
    border-top: 1px solid var(--carbon);
}

.timeline__item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 32px;
    padding: 28px 0;
    border-bottom: 1px solid var(--carbon);
}

.timeline__year {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.timeline__title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.timeline__title h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 58px;
    line-height: .9;
}

.timeline__body p {
    margin: 12px 0 0;
    font-size: 15px;
}

.circle-arrow {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    border: 1px solid var(--carbon);
    background: var(--white);
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 700;
    transition: .2s ease;
    cursor: pointer;
}

.circle-arrow:hover {
    background: var(--carbon);
    color: var(--white);
    transform: rotate(8deg);
}

.work {
    min-height: auto;
    padding-bottom: 140px;
}

.display--work {
    max-width: 1100px;
    font-size: clamp(100px, 14vw, 210px);
}

.projects {
    position: relative;
    z-index: 5;
    max-width: var(--page);
    margin: 100px auto 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    min-height: 520px;
    padding: 28px;
    border: 1px solid var(--carbon);
    border-radius: var(--radius-big);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-card--blue {
    background: var(--blue);
}

.project-card--lavender {
    background: var(--lavender);
}

.project-card--mint {
    background: var(--mint);
}

.project-card--electric {
    background: var(--blue);
}

.project-card--yellow {
    background: var(--yellow);
}

.project-card__top,
.project-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.project-number,
.status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.status {
    padding: 7px 10px;
    border: 1px solid var(--carbon);
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.45);
}

.status--development {
    background: var(--yellow);
}

.status--archived {
    background: var(--carbon);
    color: var(--white);
}

.project-card__body {
    margin-top: auto;
    margin-bottom: 60px;
}

.project-type {
    display: block;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
}

.project-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(70px, 8vw, 120px);
    line-height: .76;
    letter-spacing: -.02em;
}

.project-card p {
    max-width: 480px;
    margin: 26px 0 0;
    font-size: 15px;
    line-height: 1.45;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tags span {
    padding: 7px 10px;
    border: 1px solid var(--carbon);
    border-radius: var(--radius-pill);
    background: rgba(255,255,255,.4);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
}

.project-button {
    position: absolute;
    right: 28px;
    bottom: 28px;
    padding: 10px 14px;
    border: 1px solid var(--carbon);
    border-radius: var(--radius-pill);
    background: var(--white);
    color: var(--carbon);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    transition: transform .2s ease, background .2s ease;
}

.project-button:hover {
    transform: translateY(-2px);
    background: var(--carbon);
    color: var(--white);
}

.archived-mark {
    padding: 9px 12px;
    border: 1px solid var(--carbon);
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 700;
    background: rgba(255,255,255,.3);
}

.stack {
    min-height: auto;
}

.stack-intro {
    max-width: var(--page);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr .8fr;
    gap: 80px;
    align-items: end;
}

.stack-cloud {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    margin: 90px auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.tech {
    padding: 16px 24px;
    border: 1px solid var(--carbon);
    border-radius: var(--radius-pill);
    background: var(--white);
    font-size: 18px;
    font-weight: 700;
    transition: transform .2s ease;
}

.tech:hover {
    transform: rotate(-3deg) translateY(-3px);
}

.tech--active {
    background: var(--blue);
}

.tech--violet {
    background: var(--violet);
    color: var(--white);
}
.tech--learning{
    background: var(--ember);
    color: var(--white);
}

.active-note {
    width: fit-content;
    margin: 50px auto 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--carbon);
    border-radius: var(--radius-pill);
    background: var(--yellow);
    font-size: 11px;
    letter-spacing: .04em;
}

.active-note__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--carbon);
}

.sticker--db {
    width: 80px;
    height: 80px;
    right: 10%;
    top: 130px;
    border-radius: 18px;
    transform: rotate(9deg);
}

.direction {
    min-height: 100vh;
}

.display--direction {
    max-width: 1000px;
}

.direction-content {
    position: relative;
    z-index: 4;
    max-width: var(--page);
    margin: 80px auto 0;
}

.direction-content > .lead {
    max-width: 680px;
}

.direction-cards {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.mini-card {
    min-height: 150px;
    padding: 22px;
    border: 1px solid var(--carbon);
    border-radius: var(--radius-card);
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-card b {
    font-size: 11px;
    letter-spacing: .05em;
}

.mini-card span {
    font-size: 17px;
    font-weight: 600;
}

.contact {
    min-height: 85vh;
}

.display--contact {
    font-size: clamp(120px, 18vw, 270px);
}

.contact-copy {
    max-width: 540px;
    margin-top: 50px;
    font-size: 20px;
    line-height: 1.45;
}

.contact-actions {
    display: flex;
    gap: 8px;
    margin-top: 30px;
}

.contact-sticker {
    right: 12%;
    top: 30%;
    width: 100px;
    height: 100px;
    font-size: 32px;
}

.section-label--light {
    color: var(--white);
}

.footer {
    min-height: 70px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border-top: 1px solid var(--carbon);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.modal.is-open {
    display: flex;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.72);
}

.modal__window {
    position: relative;
    z-index: 2;
    width: min(1400px, 100%);
    height: min(900px, 94vh);
    background: var(--white);
    border: 1px solid var(--carbon);
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal__header {
    flex: 0 0 auto;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--carbon);
    background: var(--blue);
}

.modal__eyebrow,
.modal__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.modal__header h2 {
    margin: 6px 0 0;
    font-family: var(--font-display);
    font-size: 64px;
    line-height: .8;
}

.modal__close {
    width: 46px;
    height: 46px;
    border: 1px solid var(--carbon);
    border-radius: 50%;
    background: var(--white);
    color: var(--carbon);
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

.modal__content {
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal__intro {
    flex: 0 0 auto;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid var(--carbon);
    background: var(--lavender);
}

.modal__intro p {
    max-width: 760px;
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.45;
}

.modal__tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.modal__tags span {
    padding: 8px 11px;
    border: 1px solid var(--carbon);
    border-radius: var(--radius-pill);
    background: var(--white);
    font-size: 10px;
    font-weight: 700;
}

.nearby-preview {
    flex: 1;
    min-height: 0;
    background: #f7f6f3;
}

.nearby-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1000px) {
    .site-header {
        grid-template-columns: 1fr auto;
    }

    .nav {
        display: none;
    }

    .header__github {
        display: none;
    }

    .menu-toggle {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border: 1px solid var(--carbon);
        border-radius: 50%;
        background: var(--white);
        cursor: pointer;
    }

    .nav.is-open {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        border-radius: 24px;
        padding: 8px;
    }

    .about-grid,
    .stack-intro {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .direction-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal__window {
        height: 96vh;
        border-radius: 28px;
    }

    .modal__intro {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .section {
        padding: 120px 20px 70px;
    }

    .site-header {
        top: 42px;
        width: calc(100% - 28px);
    }

    .display {
        font-size: clamp(72px, 21vw, 130px);
    }

    .hero__tagline {
        font-size: 18px;
    }

    .hero__actions,
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .heading {
        font-size: clamp(80px, 22vw, 130px);
    }

    .timeline__item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .timeline__title h3 {
        font-size: 46px;
    }

    .project-card {
        min-height: 480px;
        padding: 22px;
        border-radius: 28px;
    }

    .project-card h3 {
        font-size: clamp(65px, 18vw, 100px);
    }

    .project-button {
        right: 22px;
        bottom: 22px;
    }

    .stack-cloud {
        justify-content: flex-start;
    }

    .tech {
        font-size: 15px;
        padding: 13px 18px;
    }

    .direction-cards {
        grid-template-columns: 1fr;
    }

    .modal {
        padding: 10px;
    }

    .modal__window {
        height: calc(100vh - 20px);
        border-radius: 24px;
    }

    .modal__header {
        padding: 18px;
    }

    .modal__header h2 {
        font-size: 48px;
    }

    .modal__intro {
        padding: 16px 18px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .marquee__track {
        animation: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


.nav {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.header__github {
    grid-column: 3;
    justify-self: end;
}

.menu-toggle {
    grid-column: 3;
    justify-self: end;
}

@media (max-width: 700px) {
    .site-header {
        top: 42px;
        width: calc(100% - 28px);
        grid-template-columns: 1fr auto;
    }

    .nav {
        grid-column: 1;
    }

    .menu-toggle {
        grid-column: 2;
        justify-self: end;
    }

    .section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero {
        min-height: 100svh;
    }

    .hero__content {
        width: 100%;
        max-width: 100%;
    }

    .eyebrow {
        font-size: 10px;
        line-height: 1.4;
    }

    .hero__tagline {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .display {
        max-width: 100%;
        overflow-wrap: normal;
        word-break: normal;
    }

    .hero__actions {
        width: 100%;
    }

    .hero__actions .button,
    .contact-actions .button {
        width: 100%;
    }

    .sticker--rocket {
        width: 48px;
        height: 48px;
        right: 6%;
        top: 20%;
        font-size: 20px;
    }

    .sticker--coin {
        width: 42px;
        height: 42px;
        left: 5%;
        top: 24%;
        font-size: 18px;
    }

    .sticker--code {
        width: 58px;
        height: 38px;
        left: 4%;
        bottom: 15%;
        font-size: 12px;
    }

    .hero__sticker {
        width: 72px;
        height: 72px;
        right: 5%;
        bottom: 7%;
        padding: 8px;
    }

    .hero__sticker strong {
        font-size: 15px;
    }

    .hero__sticker span {
        font-size: 8px;
    }

    .ribbon--hero {
        width: 700px;
        height: 150px;
    }

    .ribbon--work {
        width: 700px;
        height: 140px;
        right: -300px;
        top: 130px;
    }

    .ribbon--direction {
        width: 650px;
        height: 120px;
        right: -300px;
        top: 150px;
    }

    .about-grid {
        gap: 32px;
    }

    .about-copy {
        padding-top: 0;
    }

    .about-copy .lead,
    .lead {
        font-size: 20px;
    }

    .timeline {
        margin-top: 64px;
    }

    .timeline__item {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 22px 0;
    }

    .timeline__title {
        gap: 10px;
    }

    .timeline__title h3 {
        font-size: clamp(34px, 11vw, 46px);
    }

    .circle-arrow {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .projects {
        margin-top: 64px;
        gap: 16px;
    }

    .project-card {
        min-height: 440px;
        padding: 20px;
        border-radius: 28px;
    }

    .project-card h3 {
        font-size: clamp(58px, 18vw, 92px);
    }

    .project-card p {
        margin-top: 20px;
        font-size: 14px;
    }

    .project-card__bottom {
        align-items: flex-end;
    }

    .tags {
        max-width: calc(100% - 50px);
    }

    .tags span {
        font-size: 9px;
        padding: 6px 8px;
    }

    .project-button {
        right: 20px;
        bottom: 20px;
        font-size: 9px;
    }

    .stack-intro {
        gap: 32px;
    }

    .stack-cloud {
        margin-top: 56px;
        gap: 8px;
    }

    .tech {
        font-size: 14px;
        padding: 11px 15px;
    }

    .active-note {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .direction-content {
        margin-top: 56px;
    }

    .direction-content > .lead {
        max-width: 100%;
    }

    .direction-cards {
        margin-top: 32px;
    }

    .mini-card {
        min-height: 120px;
        padding: 18px;
    }

    .mini-card span {
        font-size: 15px;
    }

    .contact {
        min-height: auto;
    }

    .display--contact {
        font-size: clamp(80px, 24vw, 130px);
    }

    .contact-copy {
        margin-top: 32px;
        font-size: 17px;
    }

    .contact-sticker {
        width: 64px;
        height: 64px;
        right: 5%;
        top: 22%;
        font-size: 22px;
    }

    .footer {
        padding: 20px;
        gap: 12px;
    }

    .modal {
        padding: 8px;
        align-items: center;
    }

    .modal__window {
        width: 100%;
        height: calc(100svh - 16px);
        max-height: calc(100svh - 16px);
        border-radius: 22px;
    }

    .modal__header {
        padding: 14px 16px;
        min-height: 70px;
    }

    .modal__header h2 {
        font-size: clamp(30px, 10vw, 46px);
        line-height: .8;
    }

    .modal__eyebrow,
    .modal__label {
        font-size: 8px;
    }

    .modal__close {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        font-size: 22px;
    }

    .modal__intro {
        padding: 12px 16px;
        gap: 10px;
    }

    .modal__intro p {
        margin-top: 6px;
        font-size: 11px;
        line-height: 1.35;
    }

    .modal__tags {
        gap: 4px;
    }

    .modal__tags span {
        padding: 6px 8px;
        font-size: 8px;
    }

    .nearby-preview {
        min-height: 0;
        overflow: hidden;
    }

    .nearby-preview iframe {
        width: 100%;
        height: 100%;
        display: block;
    }
}

@media (max-width: 420px) {
    .section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-header {
        width: calc(100% - 20px);
    }

    .display {
        font-size: clamp(62px, 20vw, 100px);
    }

    .heading {
        font-size: clamp(64px, 21vw, 100px);
    }

    .project-card {
        min-height: 410px;
        padding: 18px;
    }

    .project-card h3 {
        font-size: clamp(52px, 17vw, 78px);
    }

    .project-card__top,
    .project-card__bottom {
        gap: 8px;
    }

    .status {
        font-size: 9px;
        padding: 6px 8px;
    }

    .modal {
        padding: 5px;
    }

    .modal__window {
        height: calc(100svh - 10px);
        max-height: calc(100svh - 10px);
        border-radius: 18px;
    }

    .modal__header {
        padding: 12px;
    }

    .modal__header h2 {
        font-size: 30px;
    }

    .modal__intro {
        padding: 10px 12px;
    }

    .modal__intro p {
        font-size: 10px;
    }
}
@media (max-width: 700px) {
    .hero {
        overflow: hidden;
    }

    .hero .sticker--rocket {
        width: 42px;
        height: 42px;
        right: 8px;
        top: 14%;
        font-size: 18px;
        z-index: 1;
    }

    .hero .sticker--coin {
        width: 38px;
        height: 38px;
        left: 8px;
        top: 17%;
        font-size: 16px;
        z-index: 1;
    }

    .hero .sticker--code {
        width: 54px;
        height: 34px;
        left: 8px;
        bottom: 8%;
        font-size: 11px;
        z-index: 1;
    }

    .hero__sticker {
        width: 58px;
        height: 58px;
        right: 8px;
        bottom: 5%;
        padding: 7px;
        z-index: 1;
    }

    .hero__sticker strong {
        font-size: 13px;
    }

    .hero__sticker span {
        font-size: 7px;
    }

    .hero__content {
        position: relative;
        z-index: 5;
    }

    .section--white,
    .section--gray,
    .section--sky,
    .section--black {
        overflow: hidden;
    }

    .section > .sticker {
        z-index: 1;
    }

    .section > .ribbon {
        z-index: 0;
    }

    .section > .section-label,
    .section > .about-grid,
    .section > .stack-intro,
    .section > .stack-cloud,
    .section > .timeline,
    .section > .projects,
    .section > .direction-content,
    .section > .contact-copy,
    .section > .contact-actions {
        position: relative;
        z-index: 5;
    }
}
.mobile-warning {
    display: none;
}

@media (max-width: 700px) {
    .mobile-warning {
        position: fixed;
        inset: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .mobile-warning.is-hidden {
        display: none;
    }

    .mobile-warning__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .72);
    }

    .mobile-warning__window {
        position: relative;
        z-index: 1;
        width: min(420px, 100%);
        padding: 26px;
        border: 1px solid var(--carbon);
        border-radius: 30px;
        background: var(--white);
    }

    .mobile-warning__label {
        display: block;
        margin-bottom: 14px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .08em;
    }

    .mobile-warning__window h2 {
        margin: 0;
        font-family: var(--font-display);
        font-size: clamp(46px, 15vw, 72px);
        line-height: .8;
    }

    .mobile-warning__window p {
        margin: 22px 0 0;
        font-size: 14px;
        line-height: 1.45;
    }

    .mobile-warning__continue {
        width: 100%;
        margin-top: 24px;
    }
}

@media (min-width: 701px) {
    .mobile-warning {
        display: none !important;
    }
}
body.mobile-warning-open {
    overflow: hidden;
}
@media (max-width: 700px) {
    .modal {
        padding: 8px;
    }

    .modal__window {
        width: 100%;
        height: calc(100svh - 16px);
        max-height: calc(100svh - 16px);
        border-radius: 22px;
    }

    .modal__header {
        min-height: 64px;
        padding: 12px 14px;
    }

    .modal__header h2 {
        margin-top: 4px;
        font-size: 38px;
        line-height: .78;
    }

    .modal__eyebrow {
        font-size: 8px;
    }

    .modal__close {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
        font-size: 22px;
    }

    .modal__content {
        min-height: 0;
        flex: 1;
    }

    .modal__intro {
        display: none;
    }

    .nearby-preview {
        min-height: 0;
        flex: 1;
        width: 100%;
        overflow: hidden;
    }

    .nearby-preview iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }
}

@media (max-width: 420px) {
    .modal {
        padding: 5px;
    }

    .modal__window {
        height: calc(100svh - 10px);
        max-height: calc(100svh - 10px);
        border-radius: 18px;
    }

    .modal__header {
        min-height: 58px;
        padding: 10px 12px;
    }

    .modal__header h2 {
        font-size: 32px;
    }

    .modal__close {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 20px;
    }
}
