@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --paper: #f6f4ee;
    --ink: #17221d;
    --muted: #687069;
    --line: #d8d8cd;
    --accent: #c8ef45
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Manrope, sans-serif
}

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

.site-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 100vh
}

.rail {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 24px 24px;
    border-right: 1px solid var(--line)
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -.03em
}

.brand-mark {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: var(--accent);
    font-size: 13px
}

.nav {
    display: grid;
    gap: 7px;
    margin-top: auto;
    margin-bottom: auto
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    transition: color .2s
}

.nav-link:before {
    width: 0;
    height: 2px;
    background: var(--ink);
    content: '';
    transition: width .2s
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink)
}

.nav-link.active:before {
    width: 18px
}

.nav-index {
    font-family: 'DM Mono', monospace;
    font-size: 10px
}

.rail-footer {
    display: grid;
    gap: 14px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    line-height: 1.5
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-family: Manrope, sans-serif;
    font-size: 11px;
    font-weight: 800
}

.availability:before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7fbd2c;
    content: ''
}

main {
    min-width: 0
}

section {
    min-height: 100vh;
    padding: 76px clamp(28px, 7vw, 110px);
    scroll-margin-top: 20px
}

.section-inner {
    max-width: 1060px;
    margin: 0 auto
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    text-transform: uppercase
}

.eyebrow:before {
    width: 26px;
    height: 1px;
    background: var(--ink);
    content: ''
}

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

h1 {
    max-width: 800px;
    margin-bottom: 30px;
    font-size: clamp(48px, 8vw, 112px);
    line-height: .94;
    letter-spacing: -.075em
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(34px, 5vw, 66px);
    line-height: .98;
    letter-spacing: -.065em
}

h3 {
    margin-bottom: 10px;
    font-size: 18px;
    letter-spacing: -.035em
}

.hero {
    display: flex;
    min-height: 100vh;
    align-items: center;
    position: relative;
    overflow: hidden
}

.hero-copy {
    max-width: 820px
}

.code-intro {
    margin: 0 0 42px;
    color: #151515;
    font-family: 'DM Mono', monospace;
    font-size: clamp(16px, 2vw, 24px);
    line-height: 1.55;
    white-space: pre-wrap
}

.hero-copy p,
.section-lede {
    max-width: 600px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    transition: transform .2s, background .2s
}

.button:hover {
    transform: translateY(-3px);
    background: var(--accent)
}

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

.hero-tag {
    position: absolute;
    right: 0;
    bottom: 72px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    transform: rotate(-90deg) translateX(100%);
    transform-origin: right bottom
}

.hero-tag:before {
    width: 44px;
    height: 1px;
    background: var(--line);
    content: ''
}

.split {
    display: grid;
    grid-template-columns: minmax(180px, .7fr) 1.3fr;
    gap: 52px;
}

.split+.split {
    border-top: 1px solid var(--line)
}

.label {
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    text-transform: uppercase
}

.body-copy {
    color: #4f5852;
    font-size: 16px;
    line-height: 1.85
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
    gap: clamp(44px, 2vw, 120px)
}

.about-skills {
    padding-right: clamp(24px, 2vw, 60px);
    border-right: 1px solid var(--line)
}

.about-skill-list {
    display: grid;
    gap: 24px;
    margin-top: 24px
}

.about-skill-group {
    padding-top: 15px;
    border-top: 1px solid var(--line)
}

.about-skill-group h3 {
    margin-bottom: 12px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase
}

.about-skill-group p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 2
}

.about-skill-group p span {
    white-space: nowrap
}

.skill-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px
}

.skill-group {
    padding-top: 15px;
    border-top: 1px solid var(--line)
}

.skill-group h3 {
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase
}

.skill-group p {
    font-size: 15px;
    line-height: 2
}

.about2 {
    background: #f7f7f9
}

.about2-heading {
    margin-bottom: 70px
}

.about2-heading .section-kicker {
    margin-bottom: 18px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase
}

.about2-heading h2 {
    margin-bottom: 0
}

.about2-layout {
    display: grid;
    grid-template-columns: minmax(220px, .85fr) minmax(0, 1.15fr);
    gap: clamp(44px, 2vw, 120px)
}

.about2-skills {
    padding-right: clamp(24px, 2vw, 60px);
    border-right: 1px solid var(--line)
}

.about2-skill-list {
    display: grid;
    gap: 0;
    margin-top: 24px
}

.about2-skill-group {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding-top: 15px;
    border-top: 1px solid var(--line)
}

.about2-skill-group h3 {
    margin-bottom: 12px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase
}

.about2-skill-group p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 0;
    font-size: 15px;
    line-height: 2
}

.about2-skill-group p span {
    white-space: nowrap
}

.about2-copy .label {
    margin-bottom: 24px
}

.about2-copy h2 {
    margin-bottom: 28px
}

.project-list,
.experience-list {
    border-top: 1px solid var(--line)
}

.projects2 {
    padding-top: 110px;
    padding-bottom: 110px
}

.projects2 .section-kicker,
.more-projects .section-kicker {
    margin-bottom: 18px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase
}

.projects2-heading {
    margin-bottom: 18px;
    font-size: clamp(48px, 6vw, 88px);
    line-height: .98;
    letter-spacing: -.065em
}

.projects2 .section-lede {
    max-width: 760px;
    margin-bottom: 40px;
    font-size: clamp(18px, 2vw, 26px);
    line-height: 1.5;
    color: var(--muted)
}

.project-feature-card {
    display: grid;
    grid-template-columns: minmax(300px, 1.1fr) minmax(0, 1.2fr);
    gap: 42px;
    align-items: stretch;
    padding: 18px 18px 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #edf3ff;
    margin-top: 26px
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border: 1px dashed rgba(23, 34, 29, .34);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08)
}

.momentum-visual {
    display: block;
    width: 100%;
    padding: 0;
    cursor: zoom-in;
    font: inherit;
    overflow: hidden;
    border: 0;
    background: #f4f1eb;
    transition: transform .25s ease
}

.momentum-visual:hover {
    transform: scale(1.015)
}

.momentum-visual img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 280px;
    object-fit: cover;
    object-position: 0% center;
}

.momentum-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px
}

.momentum-details span {
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    text-transform: uppercase
}

.momentum-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 24px;
    color: var(--ink);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    text-transform: uppercase
}

.momentum-link span {
    color: var(--blue);
    font-size: 18px
}

.image-dialog {
    width: min(1120px, calc(100vw - 40px));
    max-width: none;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--ink)
}

.image-dialog::backdrop {
    background: rgba(5, 5, 5, .72)
}

.image-dialog__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 14px
}

.image-dialog h2 {
    margin: 0;
    font-family: Manrope, sans-serif;
    font-size: 18px;
    letter-spacing: -.035em
}

.image-dialog__close {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 24px;
    line-height: 1
}

.image-dialog > img {
    display: block;
    width: 100%;
    max-height: calc(100vh - 120px);
    object-fit: contain
}

.mock-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 210px;
    color: rgba(23, 34, 29, .75);
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    letter-spacing: .02em
}

.mock-panel.small {
    min-height: 150px
}

.feature-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0
}

.feature-meta {
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase
}

.feature-content h3,
.more-project-row h3,
.mini-project h3 {
    margin-top: 18px;
    margin-bottom: 12px;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.08;
    letter-spacing: -.06em
}

.feature-content p,
.mini-project p,
.more-project-row p {
    max-width: 560px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.55
}

.feature-stat,
.mini-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-top: 18px
}

.stat-number {
    color: #0d0c7d;
    font-size: clamp(34px, 4vw, 66px);
    font-weight: 800;
    letter-spacing: -.06em;
    line-height: 1
}

.stat-text {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5
}

.mini-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 28px
}

.mini-project {
    display: grid;
    grid-template-rows: auto auto;
    gap: 16px;
    padding: 18px 18px 8px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #edf3ff
}

.mini-visual {
    display: flex;
    min-height: 200px;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(23, 34, 29, .34);
    border-radius: 12px;
    background: rgba(255, 255, 255, .08)
}

.mini-body {
    padding-bottom: 10px
}

.more-projects {
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--line)
}

.more-project-list {
    display: grid;
    gap: 0
}

.more-project-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    padding: 22px 0;
    box-shadow: 0 4px 6px -5px #333;
}

.more-project-row h3 {
    grid-column: 1;
    margin: 0;
    font-size: clamp(26px, 3vw, 42px);
    letter-spacing: -.06em
}

.more-project-row p {
    grid-column: 1;
    margin: 0;
    color: var(--muted)
}

.more-project-row span {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-align: right
}

.project,
.role {
    display: grid;
    grid-template-columns: 62px 1fr auto;
    gap: 22px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line)
}

.project-number {
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 14px
}

.project p,
.role p {
    max-width: 620px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7
}

.project-meta,
.role-meta {
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    text-align: right;
    text-transform: uppercase
}

.role {
    grid-template-columns: 1fr auto
}

.role-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px
}

.current {
    padding: 4px 7px;
    border-radius: 3px;
    background: var(--accent);
    font-family: 'DM Mono', monospace;
    font-size: 9px;
    text-transform: uppercase
}

footer {
    padding: 24px clamp(28px, 7vw, 110px);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 10px
}

@media(max-width:760px) {
    .site-shell {
        display: block
    }

    .rail {
        position: sticky;
        z-index: 10;
        top: 0;
        display: flex;
        height: auto;
        flex-direction: row;
        align-items: center;
        padding: 16px 20px;
        background: rgba(255, 255, 255, .94);
        backdrop-filter: blur(12px)
    }

    .nav {
        display: flex;
        gap: 16px;
        margin: 0 0 0 auto
    }

    .nav-link {
        gap: 0;
        padding: 5px 0;
        font-size: 0
    }

    .nav-link:before {
        display: none
    }

    .nav-link.active:after {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--blue);
        content: ''
    }

    .nav-index {
        font-size: 10px
    }

    .rail-footer {
        display: none
    }

    section {
        min-height: auto;
        padding: 78px 20px
    }

    .hero {
        min-height: calc(100vh - 61px);
        padding-top: 60px
    }

    .hero-tag,
    .work-cta {
        display: none
    }

    .split,
    .skill-groups {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .split {
        padding-top: 64px
    }

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

    .project-meta,
    .role-meta {
        grid-column: 2;
        text-align: left
    }

    .role {
        grid-template-columns: 1fr;
        gap: 8px
    }

    footer {
        padding: 20px
    }
}

:root {
    --paper: #fff;
    --ink: #050505;
    --muted: #6f7074;
    --line: #e8e9ef;
    --accent: #ececf0;
    --blue: #0b0784
}

body {
    background: #fff;
    font-family: Arial, Helvetica, sans-serif
}

.site-shell {
    grid-template-columns: 280px minmax(0, 1fr)
}

.rail {
    position: fixed;
    z-index: 5;
    width: 280px;
    background: #fff;
    border-right: 1px solid #e8e9ef;
    padding: 24px 34px 28px
}

.brand {
    display: block
}

.brand-mark {
    display: none
}

.profile {
    position: relative;
    overflow: hidden;
    display: block;
    width: calc((100vw / 12) * 1.5);
    aspect-ratio: 1;
    margin: 30px auto 58px;
    border: 1px solid var(--blue);
    border-radius: 50%;
    box-shadow: inset 0 8px 24px rgba(0, 0, 0, .4), 0 2px 10px rgba(0, 0, 0, .16)
}

.profile::after {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 8px 24px rgba(0, 0, 0, .4);
    content: '';
    pointer-events: none
}

.profile-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 42%;
}

.brand-name {
    display: none
}

.nav {
    gap: 2px;
    margin: 0
}

.nav-link {
    width: max-content;
    gap: 12px;
    padding: 9px 12px 9px 0;
    color: #080808;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.06em
}

.nav-link:before {
    display: none
}

.nav-link.active {
    padding-left: 12px;
    border-left: 2px solid var(--blue);
    background: #f3f3f6;
    color: var(--blue)
}

.nav-index {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 7px;
    background: #09058c;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 0
}

.nav-index:after {
    font-size: 14px;
    content: '•'
}

.nav-link:nth-child(2) .nav-index:after {
    content: '••'
}

.nav-link:nth-child(3) .nav-index:after {
    content: '•••'
}

.rail-footer {
    gap: 22px;
    margin-top: auto;
    color: #111;
    font-family: Arial, sans-serif;
    font-size: 14px
}

.availability {
    display: none
}

.socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 28px;
    font-weight: 800;
}

.language {
    font-size: 13px;
    font-weight: 700
}

.language strong {
    color: var(--blue)
}

main {
    margin-left: 280px
}

section {
    min-height: 100vh;
    padding: 110px clamp(44px, 8vw, 150px);
    box-shadow: 0 10px 20px -5px rgba(115, 115, 115, 0.75);
}

.hero {
    min-height: 100vh;
    padding-top: 110px
}

.section-inner {
    max-width: 1080px
}

.eyebrow {
    margin-bottom: 24px;
    color: #888;
    font-family: Arial, sans-serif;
    font-size: 27px;
    text-transform: none
}

.eyebrow:before {
    display: none
}

h1 {
    max-width: 920px;
    margin-bottom: 42px;
    font-size: clamp(52px, 7vw, 104px);
    line-height: 1.06;
    letter-spacing: -.07em;
    font-weight: 400
}

h1 span {
    color: var(--blue)
}

h2 {
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 800;
    letter-spacing: -.07em
}

h3 {
    font-weight: 800
}

.hero-copy p,
.section-lede,
.body-copy {
    max-width: 650px;
    color: #151515;
    font-size: 20px;
    line-height: 1.35
}

.hero-actions {
    margin-top: 60px
}

.button {
    border: 0;
    border-radius: 3px;
    background: #f7f7f9;
    font-size: 14px;
    font-weight: 400
}

.button.dark {
    background: #0b0784;
    color: #fff
}

.button span {
    font-size: 28px
}

.work-cta {
    position: fixed;
    z-index: 3;
    top: 36px;
    right: 66px;
    display: grid;
    width: 160px;
    height: 92px;
    align-content: center;
    padding: 0 20px;
    background: var(--blue);
    color: #fff;
    font-size: 29px;
    font-weight: 800;
    line-height: 1.05
}

.work-cta span {
    display: block;
    text-align: right;
    font-size: 24px
}

.project-list,
.experience-list {
    border-top: 2px solid #111
}

.project,
.role {
    padding: 30px 0;
    box-shadow:0 4px 6px -5px #333;
}

.project p,
.role p {
    color: #222;
    font-size: 18px
}

.project-meta,
.role-meta {
    color: #555
}

.current {
    background: var(--blue);
    color: #fff
}

.hero-tag:before {
    display: none
}

.site-shell {
    display: block
}

.section-inner {
    width: 100%
}

.hero-copy {
    width: 100%
}

.scroll-progress {
    position: fixed;
    z-index: 6;
    top: 0;
    bottom: 0;
    left: 280px;
    width: 3px;
    background: #f0f2f4;
    pointer-events: none
}

.scroll-progress__fill {
    display: block;
    width: 100%;
    height: 0;
    background: linear-gradient(180deg, #c9d8ff 0%, #526fca 52%, #0b0784 100%);
    transition: height .12s linear
}

@media(max-width:760px) {
    .rail {
        position: sticky;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 14px 18px
    }

    .brand {
        display: block
    }

    .profile {
        width: 56px;
        height: 56px;
        margin: 0;
        border-width: 3px
    }

    .nav {
        display: flex;
        gap: 10px;
        margin-left: auto
    }

    .nav-link {
        width: auto;
        gap: 0;
        padding: 4px;
        font-size: 0
    }

    .nav-link.active {
        padding: 4px;
        background: transparent;
        border-left: 0
    }

    .nav-link.active:after {
        display: block;
        width: 6px;
        height: 6px;
        margin-left: 4px;
        border-radius: 50%;
        background: var(--blue);
        content: ''
    }

    .nav-index {
        width: 22px;
        height: 22px;
        font-size: 0
    }

    .rail-footer {
        display: none
    }

    main {
        width: auto;
        margin-left: 0
    }

    section {
        min-height: auto;
        padding: 78px 24px
    }

    .hero {
        min-height: calc(100vh - 84px);
        padding-top: 64px
    }

    .hero-copy {
        width: 100%;
        max-width: none
    }

    .hero-tag,
    .work-cta {
        display: none
    }

    h1 {
        max-width: 100%;
        font-size: clamp(48px, 15vw, 72px);
        line-height: 1.03;
        overflow-wrap: break-word
    }

    .hero-copy p,
    .section-lede,
    .body-copy {
        font-size: 17px
    }

    .split,
    .skill-groups {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .split {
        padding-top: 64px
    }

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

    .project-meta,
    .role-meta {
        grid-column: 2;
        text-align: left
    }

    .role {
        grid-template-columns: 1fr;
        gap: 8px
    }

    footer {
        padding: 20px
    }
}

/* cursor */
.hero h1.is-typed::after {
    display: inline-block;
    width: .4em;
    height: 0.05em;
    margin-left: .08em;
    background: var(--blue);
    content: '';
    vertical-align: -.08em;
    animation: blink 1s steps(1, end) infinite
}

@keyframes blink {
    50% {
        opacity: 0
    }
}

.resume-icon {
    font-size: 22px;
    line-height: 1;
    vertical-align: middle
}

.nav-link {
    align-items: center;
    gap: 24px;
    min-width: 205px;
    padding: 9px 16px 9px 0;
    border-left: 3px solid transparent;
    border-radius: 0 8px 8px 0;
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -.06em
}

.nav-link.active {
    border-left-color: var(--blue);
    border-radius: 0 8px 8px 0;
    background: #f4f6f6
}

.nav-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #050505;
    font-size: 34px;
    line-height: 1;
    transition: color .2s
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    color: var(--blue)
}

.nav-link {
    width: 205px;
    min-width: 205px;
    padding-left: 12px
}

.nav-link.active {
    padding-left: 12px
}

.socials a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

.socials a:hover {
    color: var(--blue);
}

.socials .social-icon {
    display: block;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    fill: currentColor;
    color: currentColor;
}

.socials .linkedin-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    transform: translateY(-1px);
}

.socials .github-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
}

.socials .material-icons.social-icon {
    display: block;
    width: 38px;
    height: 38px;
    font-size: 38px;
    line-height: 1;
    vertical-align: middle;
}

.email-copy-status {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    z-index: 2;
    padding: 6px 9px;
    border-radius: 4px;
    background: var(--ink);
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .2s ease, transform .2s ease;
    white-space: nowrap
}

.email-copy-status.is-visible {
    opacity: 1;
    transform: translate(-50%, 0)
}

footer {
    text-align: right;
}

@media(min-width:761px) {
    :root {
        --rail-width: max(330px, calc((100vw / 12) * 2.5))
    }

    .rail {
        width: var(--rail-width);
        min-width: 330px
    }

    .site-shell {
        grid-template-columns: var(--rail-width) minmax(0, 1fr)
    }

    main {
        margin-left: var(--rail-width)
    }

    .scroll-progress {
        left: var(--rail-width)
    }

    .nav-link {
        width: 285px;
        min-width: 285px;
        font-size: 30px;
        font-size: 24px;
    }

    .nav {
        width: 285px;
        margin-left: auto;
        margin-right: auto
    }

    .nav-link .nav-icon {
        width: 52px;
        height: 52px;
        font-size: 52px !important
    }
}

@media(max-width:760px) {
    .scroll-progress {
        left: 0
    }

    .nav-link {
        width: auto;
        min-width: 0;
        padding: 8px;
        border-left: 0;
        border-radius: 0;
        background: transparent;
        font-size: 0
    }

    .nav-link.active {
        padding: 4px;
        border-left: 0;
        background: transparent
    }

    .nav-link.active:after {
        display: none
    }

    .nav-icon {
        width: 22px;
        height: 22px;
        font-size: 22px
    }

    .about2-heading {
        margin-bottom: 48px
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 56px
    }

    .about-copy {
        order: 1
    }

    .about-skills {
        order: 2;
        padding-right: 0;
        padding-bottom: 48px;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .about-skill-group {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .about2-layout {
        grid-template-columns: 1fr;
        gap: 56px
    }

    .about2-copy {
        order: 1
    }

    .about2-skills {
        order: 2
    }

    .about2-skill-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px
    }

    .about2-skill-group {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .about2-skills {
        padding-right: 0;
        padding-bottom: 48px;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .project-feature-card {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 12px 12px 10px;
        border-radius: 12px
    }

    .project-feature-card .feature-visual {
        order: 1
    }

    .project-feature-card .feature-content {
        order: 2
    }

    .project-feature-card .feature-visual {
        min-height: 180px
    }

    .project-feature-card .feature-content h3,
    .mini-project h3 {
        font-size: 28px
    }

    .project-feature-card .feature-content p,
    .mini-project p {
        font-size: 16px
    }

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

    .mini-project {
        gap: 12px;
        padding: 12px 12px 6px;
        border-radius: 12px
    }

    .mini-visual {
        min-height: 150px
    }

    .mini-project .stat-number {
        font-size: 42px
    }

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

    .more-project-row h3,
    .more-project-row p,
    .more-project-row span {
        grid-column: 1;
        grid-row: auto
    }

    .more-project-row span {
        text-align: left
    }
}