@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&family=Playfair+Display:ital,wght@1,500&display=swap');

:root {
    --dark: #091114;
    --paper: #efefeb;
    --ink: #0a1013;
    --cyan: #28d7ee;
    --orange: #ff5b2f;
    --muted: #9aa3a7;
    --line: #222c31;
    --paper-line: #cfcfca;
    --wrap: min(1180px, calc(100% - 48px))
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    background: var(--dark);
    color: #f3f3ef
}

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

.wrap {
    width: var(--wrap);
    margin: 0 auto
}

.topbar {
    background: var(--dark);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    position: sticky;
    top: 0;
    z-index: 20
}

.nav-wrap {
    min-height: 74px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -.04em
}

nav {
    display: flex;
    gap: 28px
}

nav a {
    font: 600 .68rem "IBM Plex Mono", monospace;
    letter-spacing: .12em;
    color: #b5bdbf
}

nav a:hover {
    color: var(--cyan)
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--cyan);
    transition: transform .2s ease, opacity .2s ease, background .2s ease
}

.hero {
    padding: 84px 0 86px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 56px;
    align-items: end
}

.kicker,
.section-label {
    font: 600 .64rem "IBM Plex Mono", monospace;
    letter-spacing: .18em;
    color: #98a2a6;
    text-transform: uppercase
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
    margin-right: 10px;
    vertical-align: middle
}

.hero h1 {
    font-size: clamp(4.2rem, 8.1vw, 7.5rem);
    line-height: .91;
    letter-spacing: -.07em;
    margin: 28px 0 36px;
    font-weight: 900;
    max-width: 900px
}

.hero h1 em {
    color: #ff5500;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: .92em
}

.intro {
    max-width: 625px;
    color: #c3c8c9;
    font-size: 1rem;
    line-height: 1.55
}

.hero-right {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px
}

.scribble {
    color: var(--orange);
    font-size: .95rem;
    transform: rotate(-7deg);
    margin: 90px 0 0 18px;
    font-style: italic
}

.meet-link {
    font: 600 .68rem "IBM Plex Mono", monospace;
    letter-spacing: .12em;
    border-bottom: 2px solid var(--cyan);
    padding-bottom: 8px
}

.meet-link span {
    color: var(--cyan);
    margin-left: 18px
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
    background: var(--cyan);
    color: #031012;
    border-top: 1px solid rgba(0, 0, 0, .15);
    border-bottom: 1px solid rgba(0, 0, 0, .15)
}

.marquee-track {
    width: max-content;
    display: flex;
    align-items: center;
    padding: 12px 0;
    font: 800 .66rem "IBM Plex Mono", monospace;
    letter-spacing: .08em;
    animation: marquee-scroll 24s linear infinite;
    will-change: transform
}

.marquee-group {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 34px;
    padding-right: 34px
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.section {
    padding: 110px 0
}

.dark {
    background: var(--dark);
    color: #f2f2ef
}

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

.split-section {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 52px
}

.section-body {
    max-width: 900px
}

.section-body h2 {
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: .96;
    letter-spacing: -.055em;
    margin: 0 0 28px;
    font-weight: 500
}

.section-body>p {
    color: #9aa3a7;
    max-width: 760px;
    line-height: 1.6;
    font-size: .95rem
}

.light .section-body>p {
    color: #5f6669
}

.skills {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 52px;
    border-top: 1px solid var(--line)
}

.skills div {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: .82rem;
    font-weight: 600
}

.skills div:nth-child(odd) {
    padding-right: 26px
}

.skills div:nth-child(even) {
    padding-left: 26px
}

.skills span {
    color: var(--cyan);
    font: 600 .62rem "IBM Plex Mono", monospace;
    margin-right: 18px
}

.hobby-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 52px;
    border: 1px solid var(--paper-line)
}

.hobby-grid article {
    padding: 34px;
    min-height: 170px
}

.hobby-grid article:nth-child(1),
.hobby-grid article:nth-child(3) {
    border-right: 1px solid var(--paper-line)
}

.hobby-grid article:nth-child(1),
.hobby-grid article:nth-child(2) {
    border-bottom: 1px solid var(--paper-line)
}

.hobby-grid span {
    font: 500 .58rem "IBM Plex Mono", monospace;
    color: #7e8789
}

.hobby-grid h3 {
    margin: 28px 0 8px;
    font-size: 1rem;
    font-weight: 500
}

.hobby-grid p {
    margin: 0;
    color: #6e7476;
    font-size: .75rem;
    line-height: 1.5
}

.now-card {
    border: 1px solid #354047;
    position: relative;
    padding: 58px 52px 48px
}

.now-card:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    right: -1px;
    top: -1px;
    background: var(--orange)
}

.badge {
    display: inline-block;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    padding: 5px 8px;
    font: 600 .58rem "IBM Plex Mono", monospace;
    letter-spacing: .08em;
    margin-bottom: 26px
}

.now-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: start
}

.now-grid h2 {
    font-size: clamp(2.7rem, 4.8vw, 4.4rem);
    margin: 0
}

.now-grid p {
    color: #a4adaf;
    line-height: 1.7;
    font-size: .88rem;
    max-width: 360px
}

.resume-block {
    border-top: 1px solid var(--paper-line);
    padding-top: 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: end
}

.resume-block h2 {
    margin-top: 18px
}

.resume-block p {
    color: #646b6d;
    max-width: 620px
}

.light-badge {
    color: #0e7380;
    border-color: #8cb9bf
}

.resume-actions {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    padding-bottom: 8px
}

.button {
    background: var(--ink);
    color: var(--cyan);
    padding: 14px 18px;
    font: 700 .65rem "IBM Plex Mono", monospace;
    letter-spacing: .08em
}

.button span {
    margin-left: 18px
}

.text-link {
    color: #343b3e;
    font: 500 .62rem "IBM Plex Mono", monospace;
    border-bottom: 1px solid #7a8284;
    padding-bottom: 6px
}

.contact .small-copy {
    color: #90999c;
    font-size: .83rem;
    margin-bottom: 12px
}

.contact h2 {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 52px
}

.email-link {
    display: inline-block;
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
    border-bottom: 3px solid var(--cyan);
    padding-bottom: 8px
}

.email-link span {
    color: var(--cyan)
}

.cyan {
    background: var(--cyan);
    color: var(--ink)
}

.closer {
    padding: 70px 0 60px
}

.closer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end
}

.closer .section-label {
    color: #28535a
}

.closer h2 {
    font-size: clamp(4rem, 8vw, 7.8rem);
    line-height: .95;
    margin: 10px 0 0;
    letter-spacing: -.07em;
    font-weight: 500
}

.closer a {
    font: 700 .62rem "IBM Plex Mono", monospace;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 6px;
    margin-bottom: 10px
}

.footer {
    border-top: 1px solid rgba(0, 0, 0, .18);
    padding: 18px 0 24px
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    font: 600 .56rem "IBM Plex Mono", monospace;
    letter-spacing: .08em
}

@media(max-width:900px) {
    .nav-wrap {
        position: relative
    }

    .menu-toggle {
        display: block
    }

    nav {
        display: none;
        position: absolute;
        top: 74px;
        left: -24px;
        right: -24px;
        padding: 10px 24px 18px;
        flex-direction: column;
        gap: 0;
        background: var(--dark);
        border-bottom: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 14px 24px rgba(0, 0, 0, .28)
    }

    nav.open {
        display: flex
    }

    nav a {
        padding: 15px 0;
        font-size: .78rem;
        border-bottom: 1px solid rgba(255, 255, 255, .08)
    }

    nav a:last-child {
        border-bottom: 0
    }

    .menu-toggle[aria-expanded="true"] span {
        background: var(--orange)
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0
    }

    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

    .hero-grid,
    .split-section,
    .resume-block,
    .now-grid,
    .closer-grid {
        grid-template-columns: 1fr
    }

    .hero-right {
        min-height: auto;
        flex-direction: row;
        align-items: flex-end
    }

    .scribble {
        margin: 10px 0
    }

    .split-section {
        gap: 24px
    }

    .section {
        padding: 82px 0
    }

    .resume-actions {
        margin-top: 16px
    }
}

@media(max-width:620px) {
    :root {
        --wrap: min(100% - 30px, 1180px)
    }

    .hero {
        padding: 54px 0 64px
    }

    .hero h1 {
        font-size: clamp(3.4rem, 17vw, 5.2rem)
    }

    .hero-right {
        display: block
    }

    .meet-link {
        display: inline-block;
        margin-top: 30px
    }

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

    .skills div:nth-child(even),
    .skills div:nth-child(odd) {
        padding-left: 0;
        padding-right: 0
    }

    .hobby-grid article {
        border-right: 0 !important;
        border-bottom: 1px solid var(--paper-line) !important
    }

    .hobby-grid article:last-child {
        border-bottom: 0 !important
    }

    .now-card {
        padding: 34px 24px
    }

    .email-link {
        font-size: 1.65rem
    }

    .footer-grid {
        flex-direction: column;
        gap: 8px
    }
}


/* Cloudflare auto-deploy test */
