/* ============================================================
   TOKENS
============================================================ */
:root {
  --bg: #07040a;
  --bg-2: #0c0508;
  --surface: rgba(255, 255, 255, 0.022);
  --surface-2: rgba(255, 255, 255, 0.04);
  --hair: rgba(255, 255, 255, 0.08);
  --hair-strong: rgba(255, 255, 255, 0.15);
  --ink: #f6eef0;
  --ink-soft: #b9a9ad;
  --ink-dim: #6f6065;
  --red: #ff2435;
  --red-2: #e10600;
  --red-glow: rgba(255, 36, 53, 0.55);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --radius: 26px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
em { font-style: normal; }
::selection { background: var(--red); color: #fff; }

/* ============================================================
   BOOT SCREEN
============================================================ */
.boot {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.boot.done { opacity: 0; visibility: hidden; }
.boot__term {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(0.78rem, 2.6vw, 1.05rem);
  width: min(640px, 86vw);
  color: var(--ink-soft);
}
.boot__line { opacity: 0; transform: translateX(-8px); margin: 6px 0; white-space: nowrap; overflow: hidden; }
.boot__line.show { opacity: 1; transform: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.boot__prompt { color: var(--red); }
.boot__enter { color: var(--ink); margin-top: 18px; }
.boot__enter::after { content: ""; display: inline-block; width: 8px; height: 1em; background: var(--red); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }

/* ============================================================
   AMBIENT
============================================================ */
.bg-mesh {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(50% 45% at 80% 6%, rgba(255, 36, 53, 0.20), transparent 60%),
    radial-gradient(45% 50% at 10% 92%, rgba(225, 6, 0, 0.16), transparent 60%),
    radial-gradient(40% 40% at 50% 50%, rgba(120, 0, 20, 0.10), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.bg-mesh::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(ellipse 90% 75% at 50% 35%, #000 25%, transparent 80%);
}
#particles { position: fixed; inset: 0; z-index: -2; pointer-events: none; }
.grain {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; border-radius: 50%;
  pointer-events: none; z-index: 30; transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--red-glow), transparent 62%);
  opacity: 0.32; mix-blend-mode: screen; will-change: transform;
}
@media (hover: none) { .cursor-glow { display: none; } }
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 150;
  background: linear-gradient(90deg, var(--red-2), var(--red), #ff7a85);
  box-shadow: 0 0 14px var(--red-glow);
}

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%);
  width: min(1120px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 11px 11px 11px 22px; border-radius: 999px;
  background: rgba(12, 6, 10, 0.55); border: 1px solid var(--hair);
  backdrop-filter: blur(20px); z-index: 100;
  transition: box-shadow 0.5s var(--ease), background 0.5s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 10px 40px -18px rgba(255, 36, 53, 0.4); background: rgba(12, 6, 10, 0.7); }
.nav__brand { font-family: "Syne"; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 9px; }
.nav__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red-glow); animation: pulse 2.4s var(--ease) infinite; }
.accent { color: var(--red); }
@keyframes pulse { 50% { opacity: 0.4; transform: scale(0.8); } }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { font-size: 0.92rem; color: var(--ink-soft); padding: 9px 15px; border-radius: 999px; transition: color 0.3s var(--ease), background 0.3s var(--ease); }
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__burger { display: none; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 13px 13px 24px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  border: 1px solid transparent; will-change: transform;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn__icon {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border-radius: 50%; font-size: 0.9rem; transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}
.btn--primary { background: linear-gradient(135deg, var(--red), var(--red-2)); color: #fff; box-shadow: 0 8px 30px -10px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--primary .btn__icon { background: rgba(0, 0, 0, 0.22); }
.btn--primary:hover { box-shadow: 0 14px 44px -10px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--primary:hover .btn__icon { transform: translate(3px, -2px); background: rgba(0, 0, 0, 0.32); }
.btn--ghost { background: var(--surface-2); color: var(--ink); border-color: var(--hair); }
.btn--ghost .btn__icon { background: var(--surface-2); border: 1px solid var(--hair); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--hair-strong); }
.btn--ghost:hover .btn__icon { transform: translate(3px, -2px); }
.btn--lg { font-size: 1.05rem; padding: 17px 17px 17px 30px; }
.btn--lg .btn__icon { width: 36px; height: 36px; }
.nav__cta { padding: 9px 9px 9px 18px; font-size: 0.9rem; }
.nav__cta .btn__icon { width: 26px; height: 26px; }

/* ============================================================
   HERO
============================================================ */
.hero { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 150px clamp(20px, 6vw, 90px) 90px; position: relative; z-index: 1; }
.hero__inner { width: 100%; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__copy { min-width: 0; }

/* Portrait */
.hero__portrait { position: relative; justify-self: center; width: min(340px, 70vw); aspect-ratio: 1; }
.portrait__ring { position: absolute; inset: -14px; border-radius: 50%; background: conic-gradient(from 0deg, var(--red), transparent 30%, transparent 70%, var(--red)); filter: blur(2px); opacity: 0.8; animation: spin 7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.portrait__frame { position: absolute; inset: 0; border-radius: 50%; padding: 6px; background: linear-gradient(160deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02)); border: 1px solid var(--hair-strong); overflow: hidden; box-shadow: 0 30px 80px -30px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.2); }
.portrait__frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; filter: saturate(1.05) contrast(1.05); transition: transform 0.7s var(--ease); }
.hero__portrait:hover .portrait__frame img { transform: scale(1.06); }
.portrait__frame::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(120% 100% at 50% 0%, transparent 55%, rgba(255,36,53,0.22)); pointer-events: none; }
.portrait__scan { position: absolute; left: 6px; right: 6px; height: 36%; top: -36%; border-radius: 50%; background: linear-gradient(180deg, transparent, rgba(255,90,105,0.18)); mix-blend-mode: screen; animation: scan 3.6s var(--ease) infinite; pointer-events: none; }
@keyframes scan { 0% { top: -36%; } 60%, 100% { top: 100%; } }
.portrait__tag { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; font-family: "JetBrains Mono", monospace; font-size: 0.78rem; padding: 7px 14px; border-radius: 999px; background: rgba(7,4,10,0.78); border: 1px solid var(--hair); backdrop-filter: blur(10px); white-space: nowrap; }
.portrait__live { width: 8px; height: 8px; border-radius: 50%; background: #2bff7a; box-shadow: 0 0 10px #2bff7a; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.26em; color: var(--ink-soft); margin-bottom: 30px; }
.hero__kicker-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 12px var(--red-glow); }
.hero__title { font-family: "Syne"; font-weight: 800; font-size: clamp(2.8rem, 8.5vw, 7rem); line-height: 0.96; letter-spacing: -0.035em; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__title em { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; background: linear-gradient(110deg, var(--red), #ff7a85 55%, var(--red-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__role { margin-top: 30px; display: inline-flex; align-items: center; gap: 10px; font-family: "JetBrains Mono", monospace; font-size: clamp(0.85rem, 1.8vw, 1.05rem); color: var(--ink-soft); padding: 10px 16px; border-radius: 12px; background: rgba(255, 36, 53, 0.06); border: 1px solid rgba(255, 36, 53, 0.18); }
.hero__role-prefix { color: var(--red); font-weight: 700; }
.hero__role-text { color: var(--ink); min-width: 1ch; }
.hero__caret { width: 9px; height: 1.1em; background: var(--red); display: inline-block; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__actions { margin-top: 42px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__accent { background: linear-gradient(110deg, var(--red), #ff7a85 55%, var(--red-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--ink-dim); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__scroll span { width: 1px; height: 42px; background: linear-gradient(var(--red), transparent); animation: scrolldown 2s var(--ease) infinite; }
@keyframes scrolldown { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ============================================================
   JOURNEY (horizontal scroll)
============================================================ */
.journey {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(55% 60% at 82% 16%, rgba(255, 36, 53, 0.13), transparent 60%),
    radial-gradient(50% 55% at 8% 88%, rgba(225, 6, 0, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.journey__track { display: flex; width: max-content; height: 100vh; align-items: center; padding: 0 8vw; gap: 4vw; }
.panel { position: relative; width: min(620px, 84vw); flex-shrink: 0; padding: 48px 0; }
.panel__index, .panel__num { display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 0.78rem; letter-spacing: 0.12em; color: var(--red); margin-bottom: 22px; text-transform: uppercase; }
.panel__num { color: var(--c, var(--red)); }
.panel__title { font-family: "Syne"; font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 4.4rem); line-height: 1.0; letter-spacing: -0.035em; }
.panel__title em { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; color: var(--c, var(--red)); }
.panel__body { margin-top: 24px; color: var(--ink-soft); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 46ch; }
.panel__body strong { color: var(--ink); }
.panel__list { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 2px; }
.panel__list li { font-family: "JetBrains Mono", monospace; font-size: 0.92rem; color: var(--ink); padding: 13px 0; border-top: 1px solid var(--hair); display: flex; align-items: center; gap: 14px; transition: padding 0.4s var(--ease), color 0.4s var(--ease); }
.panel__list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--red)); box-shadow: 0 0 10px var(--c, var(--red)); }
.panel__list li:hover { padding-left: 12px; color: var(--c, var(--red)); }
.panel--intro .panel__hint { display: inline-block; margin-top: 36px; font-family: "JetBrains Mono", monospace; font-size: 0.8rem; color: var(--ink-dim); letter-spacing: 0.1em; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(10px); } }
.panel--outro { display: flex; flex-direction: column; justify-content: center; }
.panel--outro .panel__title { margin-bottom: 34px; }
.panel--outro em { background: linear-gradient(110deg, var(--red), #ff7a85, var(--red-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   SECTIONS
============================================================ */
.section { padding: clamp(80px, 12vw, 170px) clamp(20px, 6vw, 90px); max-width: 1300px; margin: 0 auto; }
.section__head { margin-bottom: 64px; }
.eyebrow { display: inline-block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.26em; color: var(--red); border: 1px solid rgba(255, 36, 53, 0.3); background: rgba(255, 36, 53, 0.07); padding: 7px 15px; border-radius: 999px; margin-bottom: 24px; }
.section__title { font-family: "Syne"; font-weight: 700; font-size: clamp(2rem, 5.5vw, 4rem); letter-spacing: -0.03em; line-height: 1.02; max-width: 16ch; }
.section__title em, .work__title em, .contact__title em { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; color: var(--red); }

/* ============================================================
   WORK
============================================================ */
.work { max-width: 1320px; }
.work__head { display: grid; grid-template-columns: 360px 1fr; gap: 56px; align-items: start; }
.work__sticky { position: sticky; top: 120px; }
.work__title { font-family: "Syne"; font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.035em; line-height: 0.98; margin: 16px 0 18px; }
.work__sub { color: var(--ink-soft); font-size: 1rem; max-width: 32ch; }
.work__stats { display: flex; gap: 30px; margin-top: 36px; flex-wrap: wrap; }
.stat__num { font-family: "Syne"; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.6rem); display: block; line-height: 1; letter-spacing: -0.03em; }
.stat__label { font-size: 0.72rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.14em; margin-top: 7px; display: block; }
.filters { display: flex; gap: 9px; margin-top: 30px; flex-wrap: wrap; }
.filter { font-family: inherit; cursor: pointer; font-size: 0.85rem; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--hair); padding: 8px 16px; border-radius: 999px; transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.filter:hover { color: var(--ink); border-color: var(--hair-strong); }
.filter.is-active { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 8px 24px -10px var(--red-glow); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; perspective: 1400px; }
.project { position: relative; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--hair); padding: 7px; overflow: hidden; will-change: transform; transform-style: preserve-3d; transition: transform 0.4s var(--ease), border-color 0.5s var(--ease); }
.project.tilting { transition: border-color 0.5s var(--ease); }
.project::before { content: ""; position: absolute; inset: -1px; border-radius: var(--radius); background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 36, 53, 0.16), transparent 45%); opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none; }
.project:hover { border-color: var(--hair-strong); }
.project:hover::before { opacity: 1; }
.project__inner { position: relative; z-index: 1; background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008)); border-radius: calc(var(--radius) - 7px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07); padding: clamp(22px, 2.4vw, 30px); height: 100%; display: flex; flex-direction: column; min-height: 200px; }
.project__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.project__lang { font-size: 0.72rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; background: var(--surface-2); border: 1px solid var(--hair); }
.project__lang::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ldot, var(--red)); box-shadow: 0 0 8px var(--ldot, var(--red)); }
.project__arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--hair); display: grid; place-items: center; color: var(--ink-soft); transition: transform 0.45s var(--ease), background 0.45s var(--ease), color 0.45s var(--ease), border-color 0.45s var(--ease); }
.project:hover .project__arrow { background: var(--red); color: #fff; transform: rotate(-45deg) scale(1.05); border-color: var(--red); }
.project__name { font-family: "Syne"; font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -0.02em; margin: 24px 0 10px; }
.project__desc { color: var(--ink-soft); font-size: 0.96rem; }
.project__tags { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.project__tags span { font-size: 0.72rem; color: var(--ink-dim); padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, 0.03); }
.project__star { font-size: 0.78rem; color: var(--ink-dim); margin-top: 14px; }
.project.is-hidden { display: none; }

/* ============================================================
   MARQUEE
============================================================ */
.marquee { overflow: hidden; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); padding: 26px 0; background: rgba(255, 255, 255, 0.012); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: inline-flex; align-items: center; gap: 34px; white-space: nowrap; animation: marquee 28s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: "Syne"; font-weight: 700; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -0.02em; color: var(--ink); transition: color 0.3s var(--ease); }
.marquee__track span:hover { color: var(--red); }
.marquee__track i { color: var(--red); font-size: 1.2rem; font-style: normal; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   ARSENAL / STACK
============================================================ */
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.skill { position: relative; padding: 26px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--hair); overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.5s var(--ease); }
.skill:hover { transform: translateY(-5px); border-color: var(--hair-strong); }
.skill__name { font-family: "Syne"; font-weight: 700; font-size: 1.2rem; }
.skill__role { font-size: 0.82rem; color: var(--ink-dim); margin-top: 4px; }
.skill__bar { height: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); margin-top: 18px; overflow: hidden; }
.skill__fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--red-2), var(--red)); transition: width 1.1s var(--ease); }

/* ============================================================
   CONTACT
============================================================ */
.section--contact { text-align: center; padding-top: clamp(80px, 10vw, 150px); }
.contact__title { font-family: "Syne"; font-weight: 800; font-size: clamp(2.6rem, 8vw, 6rem); line-height: 0.98; letter-spacing: -0.035em; margin: 22px 0 26px; }
.contact__lead { color: var(--ink-soft); font-size: 1.15rem; max-width: 480px; margin: 0 auto 40px; }
.contact__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.footer { margin-top: clamp(80px, 12vw, 130px); padding-top: 30px; border-top: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-dim); font-size: 0.85rem; }

/* ============================================================
   REVEAL
============================================================ */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s), filter 0.9s var(--ease) var(--d, 0s); }
.reveal.shown { opacity: 1; transform: translateY(0); filter: blur(0); }

/* ============================================================
   MOBILE MENU
============================================================ */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: rgba(7, 4, 10, 0.9); backdrop-filter: blur(28px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease); }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: "Syne"; font-weight: 700; font-size: 2rem; color: var(--ink); opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.mobile-menu.open a { opacity: 1; transform: translateY(0); }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.32s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 980px) {
  .work__head { grid-template-columns: 1fr; gap: 40px; }
  .work__sticky { position: static; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__portrait { grid-row: 1; width: min(240px, 55vw); }
  .hero__copy { text-align: left; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav { padding: 12px 14px 12px 20px; }
  .nav__burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; width: 32px; height: 32px; align-items: center; justify-content: center; }
  .nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.4s var(--ease); }
  .nav__burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .grid { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .panel { width: 86vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}
