:root {
    --paper: #F4F2EC;
    --paper-2: #EEEBE2;
    --card: #FBFAF6;
    --ink: #181712;
    --ink-soft: #403E36;
    --muted: #79766B;
    --line: #DBD7CB;
    --line-soft: #E6E2D7;
    --accent: #C4502E;
    --accent-soft: #E5705033;
    --max: 1180px;
    --pad: clamp(20px, 5vw, 72px);
    --r: 14px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--paper);
    color: var(--ink);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: var(--paper)
}

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

.mono {
    font-family: 'JetBrains Mono', monospace
}

/* layout helpers */
.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--pad);
    padding-right: var(--pad)
}

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 12px;
}

.eyebrow .num {
    color: var(--accent)
}

.eyebrow::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
    max-width: 160px
}

/* ===== NAV ===== */
header.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease);
    border-bottom: 1px solid transparent;
}

header.nav.scrolled {
    background: rgba(244, 242, 236, .82);
    backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--line);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px
}

.brand {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -.02em;
    display: flex;
    align-items: center;
    gap: 9px
}

.brand .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px
}

.nav-links a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .02em;
    color: var(--ink-soft);
    position: relative;
    padding: 4px 0;
    transition: color .25s;
}

.nav-links a .idx {
    color: var(--muted);
    margin-right: 5px;
    font-size: 11px
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1.5px;
    width: 0;
    background: var(--accent);
    transition: width .3s var(--ease);
}

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

.nav-links a.active::after {
    width: 100%
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 18px
}

.lang-toggle {
    display: flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    background: var(--card);
}

.lang-toggle button {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 6px 11px;
    color: var(--muted);
    font-family: inherit;
    font-size: inherit;
    letter-spacing: .06em;
    transition: color .2s;
}

.lang-toggle button.on {
    background: var(--ink);
    color: var(--paper)
}

.menu-btn {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px
}

.menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: .3s
}

/* ===== HERO ===== */
.hero {
    padding-top: clamp(120px, 18vh, 200px);
    padding-bottom: clamp(60px, 10vh, 120px);
    position: relative
}

.hero>* {
    position: relative;
    z-index: 1
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(64px);
    opacity: .55;
    will-change: transform
}

.orb.a {
    width: clamp(280px, 42vw, 540px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(196, 80, 46, .40), transparent 70%);
    top: -12%;
    right: -6%;
    animation: drift1 19s var(--ease) infinite alternate
}

.orb.b {
    width: clamp(260px, 36vw, 460px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(70, 110, 140, .30), transparent 70%);
    bottom: -14%;
    left: -8%;
    animation: drift2 24s var(--ease) infinite alternate
}

@keyframes drift1 {
    to {
        transform: translate(-52px, 48px) scale(1.18)
    }
}

@keyframes drift2 {
    to {
        transform: translate(66px, -46px) scale(1.12)
    }
}

.scroll-prog {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--accent);
    z-index: 60;
    transition: width .12s linear
}

.rcaret {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--accent);
    margin-left: 3px;
    transform: translateY(2px);
    animation: blink 1.05s steps(1) infinite
}

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

.status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .05em;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 14px;
    background: var(--card);
    margin-bottom: 34px;
}

.status .live {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2f9e54;
    position: relative
}

.status .live::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid #2f9e54;
    animation: ping 2s var(--ease) infinite
}

@keyframes ping {
    0% {
        transform: scale(.6);
        opacity: .9
    }

    100% {
        transform: scale(1.8);
        opacity: 0
    }
}

.hero h1 {
    font-size: clamp(44px, 8.5vw, 108px);
    line-height: .96;
    letter-spacing: -.035em;
    font-weight: 600;
    text-wrap: balance;
    margin-bottom: 6px;
}

.hero h1 .light {
    color: var(--muted);
    font-weight: 400
}

.hero .role {
    font-family: 'JetBrains Mono', monospace;
    font-size: clamp(14px, 2vw, 19px);
    color: var(--accent);
    letter-spacing: .02em;
    margin-top: 22px;
    margin-bottom: 26px;
}

.hero .lede {
    font-size: clamp(17px, 2.2vw, 22px);
    color: var(--ink-soft);
    max-width: 620px;
    line-height: 1.6;
    text-wrap: pretty
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    letter-spacing: .03em;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid var(--ink);
    transition: .3s var(--ease);
}

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

.btn.primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px)
}

.btn.ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line)
}

.btn.ghost:hover {
    border-color: var(--ink);
    transform: translateY(-2px)
}

.btn .arrow {
    transition: transform .3s var(--ease)
}

.btn:hover .arrow {
    transform: translate(3px, -3px)
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 38px;
    margin-top: 64px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.hero-meta .item .k {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px
}

.hero-meta .item .v {
    font-size: 16px;
    font-weight: 500
}

/* ===== SECTION ===== */
section {
    padding-top: clamp(70px, 11vh, 130px)
}

.sec-head {
    margin-bottom: clamp(38px, 5vw, 60px)
}

.sec-head h2 {
    font-size: clamp(28px, 4.5vw, 48px);
    letter-spacing: -.03em;
    font-weight: 600;
    margin-top: 18px;
    line-height: 1.05;
    text-wrap: balance
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: clamp(36px, 6vw, 80px);
    align-items: start
}

.about-copy p {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 20px;
    text-wrap: pretty;
    max-width: 60ch
}

.about-copy p strong {
    color: var(--ink);
    font-weight: 600
}

.about-side {
    position: sticky;
    top: 100px
}

.about-side image-slot,
.about-side .portrait-img {
    width: 100%;
    aspect-ratio: 4/5;
    display: block;
    border-radius: var(--r)
}

.about-side .portrait-img {
    object-fit: cover;
    object-position: center top
}

.about-facts {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 0
}

.about-facts .row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 0;
    border-top: 1px solid var(--line)
}

.about-facts .row:last-child {
    border-bottom: 1px solid var(--line)
}

.about-facts .k {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .05em
}

.about-facts .v {
    font-size: 14px;
    font-weight: 500;
    text-align: right
}

.interests {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    align-items: center
}

.interests .lab {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-right: 6px
}

.interests .chip {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 14px;
    background: var(--card);
    transition: .25s var(--ease)
}

.interests .chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px)
}

/* STACK */
.stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden
}

.stack-col {
    background: var(--card);
    padding: 26px 24px 30px
}

.stack-col h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px
}

.stack-col h3 .n {
    color: var(--muted)
}

.stack-col ul {
    list-style: none
}

.stack-col li {
    font-size: 15.5px;
    color: var(--ink-soft);
    padding: 7px 0;
    border-bottom: 1px dashed var(--line-soft);
    transition: color .2s, padding-left .25s var(--ease)
}

.stack-col li:last-child {
    border-bottom: 0
}

.stack-col li:hover {
    color: var(--ink);
    padding-left: 6px
}

/* PROJECTS */
.proj-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line)
}

.proj {
    display: grid;
    grid-template-columns: 64px 1.5fr 1fr auto;
    gap: 28px;
    align-items: center;
    padding: 30px 8px;
    border-bottom: 1px solid var(--line);
    cursor: pointer;
    position: relative;
    transition: background .35s var(--ease), padding-left .35s var(--ease);
}

.proj:hover {
    background: var(--card);
    padding-left: 18px
}

.proj .pnum {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--muted)
}

.proj .pmain h3 {
    font-size: clamp(20px, 2.6vw, 28px);
    font-weight: 600;
    letter-spacing: -.02em;
    transition: color .25s
}

.proj:hover .pmain h3 {
    color: var(--accent)
}

.proj .pmain p {
    font-size: 14.5px;
    color: var(--muted);
    margin-top: 5px;
    max-width: 46ch
}

.proj .ptags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 10px;
    background: var(--paper)
}

.proj .pgo {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s var(--ease);
    flex-shrink: 0
}

.proj:hover .pgo {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink)
}

.proj:hover .pgo svg {
    transform: translate(2px, -2px)
}

.proj .pgo svg {
    transition: transform .3s var(--ease)
}

.proj-thumb {
    display: none
}

/* CLIENTS / EM PRODUÇÃO */
.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px
}

.client {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease)
}

.client:hover {
    transform: translateY(-4px);
    border-color: var(--ink);
    box-shadow: 0 18px 44px -26px rgba(24, 23, 18, .45)
}

.client-shot {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line)
}

.client-shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .5s var(--ease)
}

.client:hover .client-shot img {
    transform: scale(1.04)
}

.client-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding: 20px 22px 24px
}

.client-body h3 {
    font-size: 19px;
    letter-spacing: -.4px
}

.client-body p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    flex: 1
}

.client .ctags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px
}

/* EXPERIENCE */
.exp-list {
    display: flex;
    flex-direction: column
}

.exp {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 36px;
    padding: 30px 0;
    border-top: 1px solid var(--line)
}

.exp:last-child {
    border-bottom: 1px solid var(--line)
}

.exp .when {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: .02em;
    padding-top: 4px
}

.exp .when .now {
    color: var(--accent)
}

.exp .what h3 {
    font-size: clamp(19px, 2.3vw, 24px);
    font-weight: 600;
    letter-spacing: -.01em
}

.exp .what .co {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    margin-top: 4px;
    margin-bottom: 12px
}

.exp .what p {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.65;
    max-width: 62ch;
    text-wrap: pretty
}

.exp .what .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px
}

/* CONTACT */
.contact {
    padding-bottom: clamp(60px, 9vh, 110px)
}

.contact-card {
    background: var(--ink);
    color: var(--paper);
    border-radius: calc(var(--r) + 6px);
    padding: clamp(40px, 7vw, 84px);
    position: relative;
    overflow: hidden
}

.contact-card .eyebrow {
    color: #A8A498
}

.contact-card .eyebrow::after {
    background: #403E36
}

.contact-card h2 {
    font-size: clamp(34px, 6vw, 76px);
    letter-spacing: -.035em;
    font-weight: 600;
    line-height: .98;
    margin: 20px 0 16px;
    text-wrap: balance
}

.contact-card h2 a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 6px;
    transition: opacity .25s
}

.contact-card h2 a:hover {
    opacity: .7
}

.contact-card .sub {
    color: #C9C5B8;
    font-size: clamp(16px, 2vw, 19px);
    max-width: 520px;
    line-height: 1.6
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px
}

.clink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--paper);
    border: 1px solid #403E36;
    border-radius: 999px;
    padding: 12px 20px;
    transition: .3s var(--ease);
}

.clink:hover {
    background: var(--paper);
    color: var(--ink);
    border-color: var(--paper);
    transform: translateY(-2px)
}

.contact-card .glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent), transparent 65%);
    opacity: .22;
    top: -160px;
    right: -120px;
    pointer-events: none
}

/* FOOTER */
footer.site {
    padding: 40px 0 50px;
    border-top: 1px solid var(--line)
}

.foot-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--muted)
}

.foot-inner a:hover {
    color: var(--ink)
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color .2s
}

.to-top:hover {
    color: var(--accent)
}

/* reveal */
/* reveal — visible by default; entrance is opt-in via body.animate (added only when the animation clock is confirmed to advance) */
.reveal {
    opacity: 1;
    transform: none
}

body.animate .reveal {
    opacity: 0;
    transform: translateY(22px);
    will-change: opacity, transform
}

body.animate .reveal.in {
    animation: revealIn .7s var(--ease) forwards
}

@keyframes revealIn {
    from {
        opacity: 0;
        transform: translateY(22px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media (prefers-reduced-motion:reduce) {
    body.animate .reveal {
        opacity: 1;
        transform: none
    }

    body.animate .reveal.in {
        animation: none
    }

    html {
        scroll-behavior: auto
    }

    .status .live::after {
        animation: none
    }

    .wip i::after {
        animation: none
    }

    .orb {
        animation: none
    }

    .rcaret {
        animation: none
    }
}

/* work projects (static, sem link) */
.proj.static {
    cursor: default
}

.proj.static:hover {
    background: var(--card);
    padding-left: 18px
}

.plabel {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    letter-spacing: .1em;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px 11px;
    white-space: nowrap
}

.wip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #9a6a1f;
    border: 1px solid rgba(180, 130, 40, .4);
    background: rgba(200, 150, 50, .12);
    border-radius: 999px;
    padding: 3px 9px;
    margin-top: 7px;
    vertical-align: middle
}

.wip i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8881f;
    position: relative;
    flex-shrink: 0
}

.wip i::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid #c8881f;
    animation: ping 2s var(--ease) infinite
}

/* extension */
.ext-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: clamp(28px, 4.5vw, 52px);
    position: relative;
    overflow: hidden
}

.ext-card .role-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: .05em;
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 999px;
    padding: 6px 13px;
    margin-bottom: 20px
}

.ext-card h3 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.12;
    max-width: 24ch;
    text-wrap: balance
}

.ext-card p {
    font-size: 15.5px;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 66ch;
    margin-top: 16px;
    text-wrap: pretty
}

.ext-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 28px
}

.ext-meta .cell {
    background: var(--card);
    padding: 16px 18px
}

.ext-meta .k {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px
}

.ext-meta .v {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.4
}

.ext-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 26px
}

.ext-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.ext-pdf {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 999px;
    padding: 11px 18px;
    transition: .3s var(--ease)
}

.ext-pdf:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
    transform: translateY(-2px)
}

.ext-pdf svg {
    transition: transform .3s var(--ease)
}

.ext-pdf:hover svg {
    transform: translateY(2px)
}

/* responsive */
@media (max-width:900px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .client-grid {
        grid-template-columns: repeat(2, 1fr)
    }

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

    .about-side {
        position: static;
        max-width: 340px
    }

    .exp {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .exp .when {
        padding-top: 0
    }

    .proj {
        grid-template-columns: 44px 1fr auto;
        gap: 16px
    }

    .proj .ptags {
        display: none
    }

    .ext-meta {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:1100px) {
    .nav-links {
        position: fixed;
        inset: 70px 0 auto 0;
        background: rgba(244, 242, 236, .97);
        backdrop-filter: blur(14px);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 10px var(--pad) 26px;
        border-bottom: 1px solid var(--line);
        transform: translateY(-130%);
        transition: transform .4s var(--ease);
    }

    .nav-links.open {
        transform: translateY(0)
    }

    .nav-links a {
        padding: 13px 0;
        width: 100%;
        border-bottom: 1px solid var(--line-soft);
        font-size: 14px
    }

    .menu-btn {
        display: flex
    }
}

@media (max-width:680px) {
    .stack-grid {
        grid-template-columns: 1fr
    }

    .client-grid {
        grid-template-columns: 1fr
    }

    .hero-meta {
        gap: 24px
    }

    .proj {
        grid-template-columns: 34px 1fr auto;
        padding: 22px 4px
    }

    .proj .pgo {
        width: 36px;
        height: 36px
    }

    .ext-meta {
        grid-template-columns: 1fr
    }
}