:root {
  --bg: #08090b;
  --bg-1: #0d0f12;
  --bg-2: #13161b;
  --ink: #eeede6;
  --ink-2: rgba(238, 237, 230, .66);
  --ink-3: rgba(238, 237, 230, .42);
  --ink-4: rgba(238, 237, 230, .16);
  --line: rgba(238, 237, 230, .1);
  --acc: #d4ff3f;
  --acc-ink: #0b0d05;
  --vio: #8b7cff;
  --sans: "Geologica", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --pad: clamp(18px, 4vw, 64px);
  --maxw: 1560px;
  --navh: 76px;
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: rgba(238, 237, 230, .2) transparent; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 340;
  font-size: clamp(16px, .95rem + .2vw, 19px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 4px; border-radius: 6px; }

html[lang="en"] [lang="ru"],
html[lang="ru"] [lang="en"] { display: none !important; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); transform: translateY(-200%); }
.skip:focus { transform: none; }

.wrap { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.arr { display: inline-block; transition: transform .45s var(--ease); }
a:hover .arr, button:hover .arr { transform: translate(3px, -3px); }

/* ---------- layers ---------- */
.field { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; }
.field.is-on { opacity: 1; }
main, .nav, .menu { position: relative; z-index: 2; }
.grain {
  position: fixed; inset: -100px; z-index: 90; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-30px, 18px); } 40% { transform: translate(22px, -26px); }
  60% { transform: translate(-14px, -12px); } 80% { transform: translate(26px, 24px); } 100% { transform: translate(0, 0); }
}
.progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; z-index: 45; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--acc); transform: scaleX(0); transform-origin: 0 50%; }

.reticle { position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none; opacity: 0; transition: opacity .35s ease; }
.reticle.is-on { opacity: 1; }
.reticle i { position: absolute; left: 0; top: 0; width: 10px; height: 10px; border: 0 solid var(--ink-3); will-change: transform; transition: border-color .3s ease, width .3s var(--ease), height .3s var(--ease); }
.reticle .tl { border-top-width: 1.5px; border-left-width: 1.5px; }
.reticle .tr { border-top-width: 1.5px; border-right-width: 1.5px; }
.reticle .bl { border-bottom-width: 1.5px; border-left-width: 1.5px; }
.reticle .br { border-bottom-width: 1.5px; border-right-width: 1.5px; }
.reticle.is-lock i { border-color: var(--acc); width: 14px; height: 14px; }
@media (hover: none), (pointer: coarse) { .reticle { display: none; } }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--bg); animation: loader-fallback .6s 3.4s forwards; }
.no-js .loader { display: none; }
.loader.is-done { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility 0s .7s; }
.loader__phrase { font-weight: 300; font-size: clamp(28px, 5.2vw, 76px); letter-spacing: -.035em; opacity: 0; filter: blur(16px); animation: loader-focus 1.15s var(--ease) .15s forwards; }
.loader__c { position: fixed; left: 0; top: 0; width: 22px; height: 22px; border: 0 solid var(--ink-3); transition: transform .8s var(--ease), border-color .3s ease; }
.loader__c.tl { border-top-width: 2px; border-left-width: 2px; transform: translate(24px, 24px); }
.loader__c.tr { border-top-width: 2px; border-right-width: 2px; transform: translate(calc(100vw - 46px), 24px); }
.loader__c.bl { border-bottom-width: 2px; border-left-width: 2px; transform: translate(24px, calc(100vh - 46px)); }
.loader__c.br { border-bottom-width: 2px; border-right-width: 2px; transform: translate(calc(100vw - 46px), calc(100vh - 46px)); }
.loader.is-lock .loader__c { border-color: var(--acc); }
@keyframes loader-focus { to { opacity: 1; filter: blur(0); } }
@keyframes loader-fallback { to { opacity: 0; visibility: hidden; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: var(--navh);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: env(safe-area-inset-top) max(var(--pad), env(safe-area-inset-right)) 0 max(var(--pad), env(safe-area-inset-left));
  transition: transform .6s var(--ease);
}
.nav::before { content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none; background: linear-gradient(var(--bg) 10%, rgba(8, 9, 11, .72) 55%, rgba(8, 9, 11, 0)); opacity: 0; transition: opacity .5s ease; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .04em; }
.nav__logo svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; transition: transform .6s var(--ease); }
.nav__logo circle { fill: var(--acc); stroke: none; }
.nav__logo:hover svg { transform: rotate(90deg); }

.nav__links {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; gap: 2px; padding: 5px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(14, 16, 19, .62);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.nav__links a { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); transition: color .3s ease; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__ind { position: absolute; z-index: 0; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px; background: rgba(238, 237, 230, .1); opacity: 0; transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s ease; }

.nav__tools { display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(14, 16, 19, .62);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: border-color .3s ease, background-color .3s ease, color .3s ease;
}
.pill:hover { border-color: rgba(238, 237, 230, .3); }
.pill--acc { background: var(--acc); border-color: transparent; color: var(--acc-ink); font-weight: 500; }
.pill--acc:hover { background: #e3ff80; border-color: transparent; }
.lang-toggle span { opacity: .38; transition: opacity .3s ease; }
html[lang="en"] .lang-toggle [data-l="en"], html[lang="ru"] .lang-toggle [data-l="ru"] { opacity: 1; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 35%; border-radius: 1px; background: currentColor; transition: height .3s ease; }
.eq i:nth-child(2) { height: 70%; } .eq i:nth-child(3) { height: 50%; } .eq i:nth-child(4) { height: 85%; }
.is-focus .focus-toggle { color: var(--acc); border-color: rgba(212, 255, 63, .45); }
.is-focus .eq i { animation: eq 1.1s ease-in-out infinite; }
.is-focus .eq i:nth-child(2) { animation-delay: -.3s; } .is-focus .eq i:nth-child(3) { animation-delay: -.6s; } .is-focus .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
.nav__burger { display: none; width: 40px; padding: 0; flex-direction: column; gap: 5px; }
.nav__burger i { display: block; width: 15px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.menu-open .nav__burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .nav__burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 35; display: flex; align-items: safe flex-end; overflow-y: auto; padding: calc(var(--navh) + 28px) var(--pad) max(40px, env(safe-area-inset-bottom)); background: rgba(8, 9, 11, .97); }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; gap: 2px; }
.menu__links a { font-size: clamp(30px, min(11vw, 8.2vh), 76px); font-weight: 600; letter-spacing: -.045em; line-height: 1.06; }
.menu__links a:active { color: var(--acc); }

/* ---------- type ---------- */
.h2 { font-size: clamp(40px, 6.2vw, 108px); font-weight: 560; line-height: .98; letter-spacing: -.045em; max-width: 17ch; text-wrap: balance; }
.h3 { font-size: clamp(26px, 2.6vw, 44px); font-weight: 520; line-height: 1.05; letter-spacing: -.03em; text-wrap: balance; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em 0 .12em; margin: -.06em 0 -.12em; }
.w > i { display: inline-block; font-style: normal; }
.live { display: inline-flex; align-items: center; gap: 10px; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(212, 255, 63, .55); } 70%, 100% { box-shadow: 0 0 0 11px rgba(212, 255, 63, 0); } }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 26px; border-radius: 999px; background: var(--acc); color: var(--acc-ink); font-weight: 560; letter-spacing: -.01em; }
.btn:hover .arr { transform: translateX(5px); }
.link { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding-bottom: 5px; border-bottom: 1px solid var(--ink-4); transition: color .3s ease, border-color .3s ease; }
.link:hover { color: var(--acc); border-color: var(--acc); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--navh) + 5vh) var(--pad) 26px; }
.name { font-size: clamp(56px, 13.4vw, 252px); font-weight: 760; line-height: .8; letter-spacing: -.055em; text-transform: uppercase; margin-left: -.05em; }
.name__row { display: block; white-space: nowrap; }
.name__row > span[aria-hidden], .big__row > span[aria-hidden] { display: block; }
.name__row + .name__row { margin-top: .04em; }
.ch { display: inline-block; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 7vw; align-items: end; margin-top: clamp(28px, 6vh, 72px); }
.hero__lede { font-size: clamp(21px, 2vw, 34px); font-weight: 360; line-height: 1.2; letter-spacing: -.025em; max-width: 23ch; text-wrap: pretty; }
.roles { border-top: 1px solid var(--line); }
.roles li { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.roles__y { font-family: var(--mono); font-size: 10px; letter-spacing: .04em; color: var(--ink-3); }
.roles__r { color: var(--ink-2); }
.roles__c { text-align: right; font-weight: 460; transition: color .3s ease; }
a.roles__c:hover { color: var(--acc); }
.hero__meta { display: flex; justify-content: space-between; gap: 20px; margin-top: clamp(24px, 4.5vh, 52px); padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.hero__meta .live { color: var(--ink); }
.hero__hire { transition: color .3s ease; }
.hero__hire:hover { color: var(--acc); }
.hero__hire:hover .arr { transform: translateX(4px); }

/* ---------- about ---------- */
.about { padding: clamp(120px, 20vh, 240px) 0 clamp(80px, 12vh, 160px); }
.statement { font-size: clamp(28px, 4.1vw, 68px); font-weight: 400; line-height: 1.1; letter-spacing: -.038em; max-width: 25ch; text-wrap: pretty; }
.sw { transition: none; }
.about__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); margin-top: clamp(72px, 13vh, 150px); align-items: start; }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-1); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.88); transform: scale(1.05); transition: filter 1.1s var(--ease), transform 1.6s var(--ease); }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 11, 0) 55%, rgba(8, 9, 11, .55)); pointer-events: none; }
.portrait:hover img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1); }
.about__text { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 44px; color: var(--ink-2); line-height: 1.62; }
.about__text p:first-child { grid-column: 1 / -1; font-size: clamp(20px, 1.6vw, 27px); line-height: 1.38; letter-spacing: -.018em; color: var(--ink); }
.edu { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }

.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(72px, 13vh, 150px); border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 16px; padding: 34px 28px 40px 0; border-bottom: 1px solid var(--line); }
.stat:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.stat dd { font-size: clamp(52px, 6.4vw, 116px); font-weight: 280; line-height: .9; letter-spacing: -.055em; white-space: nowrap; }
.stat dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); max-width: 28ch; line-height: 1.6; }
.odo { display: inline-flex; align-items: flex-start; line-height: 1; font-variant-numeric: tabular-nums; }
.odo .d { display: inline-block; height: 1em; overflow: hidden; line-height: 1; }
.odo .d > span { display: flex; flex-direction: column; transition: transform 2s cubic-bezier(.2, .9, .1, 1); }
.odo .d > span > span { display: block; height: 1em; line-height: 1; text-align: center; }
.odo .s { color: var(--acc); }

/* ---------- record ---------- */
.record { padding: clamp(80px, 12vh, 160px) 0 clamp(60px, 10vh, 120px); }
.cards { width: min(100% - 2 * var(--pad), var(--maxw)); margin: clamp(48px, 9vh, 110px) auto 0; }
.card { position: sticky; top: calc(var(--navh) + 2vh + var(--i) * 10px); margin-bottom: 5vh; }
.card:last-child { margin-bottom: 0; }
.card__inner {
  --shade: 0;
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-areas: "head head" "main side" "src side";
  grid-template-rows: auto 1fr auto;
  gap: 28px clamp(32px, 5vw, 100px);
  min-height: min(74vh, 680px);
  padding: clamp(24px, 3.4vw, 56px);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: radial-gradient(120% 140% at 100% 0%, rgba(139, 124, 255, .11), rgba(139, 124, 255, 0) 52%), var(--bg-1);
  box-shadow: 0 -24px 70px rgba(0, 0, 0, .5);
  transform-origin: 50% 0;
}
.card__inner::after { content: ""; position: absolute; inset: -1px; z-index: 3; border-radius: inherit; background: var(--bg); opacity: var(--shade, 0); pointer-events: none; }
.card__head { grid-area: head; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; font-family: var(--mono); text-transform: uppercase; }
.card__year { font-size: 12px; letter-spacing: .06em; color: var(--acc); }
.card__org { font-size: 10.5px; letter-spacing: .06em; color: var(--ink-3); text-align: right; }
.card__main { grid-area: main; align-self: end; }
.card__main .h3 { font-size: clamp(30px, 3.6vw, 62px); max-width: 15ch; margin-bottom: 24px; }
.card__main p { color: var(--ink-2); max-width: 60ch; line-height: 1.62; }
.card__src { grid-area: src; align-self: end; display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; }
.card__src a { color: var(--ink-2); padding-bottom: 4px; border-bottom: 1px solid var(--line); transition: color .3s ease, border-color .3s ease; }
.card__src a:hover { color: var(--acc); border-color: var(--acc); }
.card__side { grid-area: side; display: flex; flex-direction: column; justify-content: flex-end; gap: 30px; }
.metric b { display: block; margin-bottom: 14px; font-size: clamp(46px, 5.6vw, 104px); font-weight: 280; line-height: .92; letter-spacing: -.055em; color: var(--acc); white-space: nowrap; }
.metric > span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.viz { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.viz__grid { fill: none; stroke: var(--line); stroke-width: 1; }
.viz__grid--zero { stroke: var(--ink-3); stroke-dasharray: 3 5; }
.viz__line { fill: none; stroke: var(--acc); stroke-width: 2; stroke-linecap: round; }
.viz__line--dash { stroke: var(--ink-3); stroke-dasharray: 4 6; }
.viz__area { fill: rgba(212, 255, 63, .07); }
.viz__dot { fill: var(--acc); }
.viz__bar { fill: var(--acc); }
.viz__bar--dim { fill: rgba(238, 237, 230, .16); }
.viz__track { fill: rgba(238, 237, 230, .05); }
.viz__node { fill: var(--bg-1); stroke: var(--ink-3); stroke-width: 1.5; }
.viz__node--acc { fill: var(--acc); stroke: none; }
.viz__t { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; fill: var(--ink-3); }
.viz__t--c { text-anchor: middle; font-weight: 600; fill: var(--acc-ink); }

/* ---------- titles ---------- */
.titles { padding: clamp(70px, 12vh, 150px) 0; overflow: hidden; }
.titles__h { margin-bottom: clamp(18px, 3vh, 32px); font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.marquee { display: flex; overflow: hidden; user-select: none; -webkit-user-select: none; }
.marquee__track { display: flex; flex: none; align-items: center; gap: .42em; padding-right: .42em; font-size: clamp(54px, 9vw, 164px); font-weight: 700; line-height: 1.08; letter-spacing: -.05em; white-space: nowrap; will-change: transform; }
.marquee__track span { transition: color .4s ease, -webkit-text-stroke-color .4s ease; }
.marquee__track span:hover { color: var(--acc); }
.marquee__track i { font-style: normal; font-size: .36em; color: var(--acc); }
.marquee--alt .marquee__track span { color: transparent; -webkit-text-stroke: 1.5px var(--ink-3); }
.marquee--alt .marquee__track span:hover { -webkit-text-stroke-color: var(--acc); }

/* ---------- studio ---------- */
.studio { padding: clamp(100px, 16vh, 200px) 0 clamp(80px, 12vh, 150px); }
.brand { font-size: clamp(44px, 11.4vw, 220px); font-weight: 700; line-height: 1.02; letter-spacing: -.058em; white-space: nowrap; margin-left: -.05em; }
.brand > span { display: inline-block; vertical-align: top; }
.brand__x { overflow: hidden; white-space: pre; color: var(--ink-4); }
.brand__hy { overflow: hidden; width: 0; color: var(--acc); }
.studio__lede { max-width: 38ch; margin-top: clamp(24px, 4vh, 48px); font-size: clamp(20px, 1.8vw, 30px); line-height: 1.3; letter-spacing: -.022em; color: var(--ink-2); }
.studio__sub { margin: clamp(100px, 15vh, 180px) 0 clamp(20px, 3vh, 32px); }

.agent { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 100px); align-items: center; margin-top: clamp(90px, 15vh, 190px); }
.agent__h { margin-bottom: 28px; }
.agent__copy > p { color: var(--ink-2); max-width: 52ch; line-height: 1.62; }
.agent__live { margin: 30px 0 34px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink) !important; }

.console {
  position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(21, 24, 29, .94), rgba(11, 13, 16, .94));
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 50px 140px -50px rgba(139, 124, 255, .45);
  font-family: var(--mono); font-size: 12px; line-height: 1.7; font-stretch: 87.5%;
}
.console__bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 18px; border-bottom: 1px solid var(--line); }
.console__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(238, 237, 230, .14); }
.console__bar span { margin-left: auto; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.console__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; height: clamp(400px, 46vh, 490px); padding: 22px 22px 26px; overflow: hidden; }
.turn { display: flex; flex-direction: column; flex-shrink: 0; gap: 14px; transition: opacity .9s ease; }
.turn.is-past { opacity: .26; }
.sys { font-size: 10px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); animation: msg-in .5s var(--ease) both; }
.msg { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; animation: msg-in .5s var(--ease) both; }
.msg__who { padding-top: 1px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.msg--you .msg__txt { color: var(--ink); }
.msg--agent .msg__txt { color: var(--ink-2); }
.msg__txt b { font-weight: 500; color: var(--ink); }
.msg__txt em { font-style: normal; color: var(--acc); }
.caret { display: inline-block; width: 7px; height: 1.1em; margin-left: 2px; vertical-align: -2px; background: var(--acc); animation: blink 1s steps(2) infinite; }
.typing { display: inline-flex; gap: 4px; padding-top: 6px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); animation: typing 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.proposal { margin-left: 74px; padding: 14px 16px 16px; border-radius: 14px; border: 1px solid rgba(212, 255, 63, .3); background: rgba(212, 255, 63, .045); animation: msg-in .6s var(--ease) both; }
.proposal__t { margin-bottom: 10px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.proposal__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 12px; color: var(--ink-2); }
.proposal__row s { color: var(--ink-3); text-decoration-color: rgba(238, 237, 230, .3); }
.proposal__row b { font-weight: 500; color: var(--acc); }
.proposal__btns { display: flex; gap: 8px; margin-top: 14px; }
.proposal__btns button { height: 30px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, background-color .3s ease, opacity .3s ease; }
.proposal__btns .yes { background: var(--acc); border-color: transparent; color: var(--acc-ink); font-weight: 500; }
.proposal__btns .is-pressed { transform: scale(.92); }
.proposal.is-done .proposal__btns button { opacity: .35; pointer-events: none; }
.ok { margin-left: 74px; color: var(--acc); animation: msg-in .5s var(--ease) both; }
.ok--skip { color: var(--ink-3); }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes typing { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(210px, 17.5vw, 310px); gap: clamp(10px, 1vw, 16px); }
.tile { position: relative; display: block; overflow: hidden; isolation: isolate; border-radius: 22px; border: 1px solid var(--line); background: var(--bg-1); transition: border-color .4s ease; will-change: transform; }
.tile:hover { border-color: rgba(238, 237, 230, .24); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); filter: saturate(.9); transition: transform 1.6s var(--ease), filter .9s ease; }
.tile:hover img { transform: scale(1.09); filter: saturate(1.08); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 9, 11, 0) 34%, rgba(8, 9, 11, .9)); }
.tile__cap { position: absolute; z-index: 2; left: clamp(16px, 1.7vw, 28px); right: clamp(16px, 1.7vw, 28px); bottom: clamp(16px, 1.6vw, 26px); display: flex; flex-direction: column; gap: 8px; }
.tile__t { font-size: clamp(20px, 1.75vw, 30px); font-weight: 600; line-height: 1.05; letter-spacing: -.032em; }
.tile__d { max-width: 48ch; font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.tile__s { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8, 9, 11, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; }
.tile--armada { grid-column: span 8; grid-row: span 2; }
.tile--wod { grid-column: span 4; grid-row: span 2; }
.tile--ashvale { grid-column: span 5; }
.tile--vats { grid-column: span 4; }
.tile--go { grid-column: span 3; }
.tile--gsaa, .tile--adv, .tile--edu { grid-column: span 4; }
.tile--armada .tile__t { font-size: clamp(26px, 2.6vw, 44px); }
.tile--armada .tile__d { font-size: 16px; }

.goban { position: absolute; inset: 0; width: 100%; height: 100%; background: radial-gradient(90% 90% at 60% 30%, rgba(139, 124, 255, .12), rgba(13, 15, 18, 0) 70%); }
.goban line { stroke: rgba(238, 237, 230, .13); stroke-width: 1; }
.goban .hoshi { fill: rgba(238, 237, 230, .35); }
.goban .st { transition: opacity .5s ease, transform .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.goban .st--b { fill: #1c2026; stroke: rgba(238, 237, 230, .28); stroke-width: 1; }
.goban .st--w { fill: #ebe9e1; }
.goban .st--last { fill: none; stroke: var(--acc); stroke-width: 2.5; }
.goban .st.is-hidden { opacity: 0; transform: scale(.4); }

.tile--gsaa { background: radial-gradient(80% 70% at 50% 30%, rgba(139, 124, 255, .2), rgba(7, 8, 11, 0) 70%), #07080b; }
.jet { position: absolute; inset: 0; width: 100%; height: 100%; }
.jet__stars { animation: stars 6s linear infinite; }
.jet__stars circle { fill: var(--ink); }
.jet__ship { transition: transform 1.1s var(--ease); }
.tile--gsaa:hover .jet__ship { transform: translateY(-16px); }
.jet__body { fill: #0e1014; stroke: var(--acc); stroke-width: 2; stroke-linejoin: round; }
.jet__trail { fill: url(#trail); transform-box: fill-box; transform-origin: 50% 0; animation: flicker .14s ease-in-out infinite alternate; }
@keyframes stars { to { transform: translateY(300px); } }
@keyframes flicker { from { transform: scaleY(.82); opacity: .8; } to { transform: scaleY(1.08); opacity: 1; } }

.tile--adv { background: radial-gradient(100% 80% at 0% 0%, rgba(212, 255, 63, .07), rgba(13, 15, 18, 0) 60%), var(--bg-1); }
.adv { position: absolute; inset: 0; padding: 22px 24px 120px; font-family: var(--mono); font-size: 11.5px; line-height: 1.65; color: var(--ink-2); font-stretch: 87.5%; }
.adv > span { display: flex; flex-direction: column; gap: 10px; }
.adv b { font-weight: 500; color: var(--acc); }
.adv__cur { display: inline-block; width: 8px; height: 14px; background: var(--acc); animation: blink 1s steps(2) infinite; }

.tile--edu { background: radial-gradient(90% 80% at 100% 0%, rgba(139, 124, 255, .14), rgba(13, 15, 18, 0) 65%), var(--bg-1); }
.edu-art { position: absolute; top: 18px; right: 22px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: clamp(34px, 3.6vw, 60px); font-weight: 650; line-height: 1; letter-spacing: -.045em; }
.edu-art span:first-child { color: var(--ink-4); }
.edu-art em { font-style: normal; color: var(--acc); }

.tools { border-top: 1px solid var(--line); }
.tools a { display: grid; grid-template-columns: minmax(150px, 3fr) minmax(0, 7fr) auto; gap: 28px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.tools a:hover { padding-left: 16px; }
.tools__n { font-size: clamp(24px, 2.4vw, 40px); font-weight: 560; letter-spacing: -.035em; transition: color .3s ease; }
.tools a:hover .tools__n { color: var(--acc); }
.tools__d { color: var(--ink-2); }
.tools .arr { font-size: 20px; color: var(--ink-3); }

/* ---------- focus ---------- */
.focus { padding: clamp(110px, 16vh, 200px) 0; }
.focus__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; min-height: 78vh; }
.focus__copy > p { max-width: 50ch; margin-top: 30px; color: var(--ink-2); line-height: 1.62; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.preset { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-width: 132px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(14, 16, 19, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-align: left; transition: border-color .3s ease, background-color .3s ease; }
.preset:hover { border-color: rgba(238, 237, 230, .3); }
.preset b { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.preset span { font-size: 13px; color: var(--ink-2); }
.preset[aria-checked="true"] { border-color: rgba(212, 255, 63, .55); background: rgba(212, 255, 63, .06); }
.preset[aria-checked="true"] b { color: var(--acc); }
.focus__row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.play { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--ink); color: var(--bg); transition: background-color .35s ease; }
.play svg { width: 28px; height: 28px; fill: currentColor; }
.play .pause__i { display: none; }
.is-focus .play { background: var(--acc); animation: pulse 2.4s ease-out infinite; }
.is-focus .play .play__i { display: none; }
.is-focus .play .pause__i { display: block; }
.focus__hz { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--ink-3); }
.is-focus .focus__hz { color: var(--acc); }
.fine { margin-top: 26px; font-family: var(--mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- skills ---------- */
.skills { padding: clamp(90px, 14vh, 180px) 0 0; }
.skills__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 9vh, 100px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.skill { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 44px; min-height: 290px; padding: clamp(24px, 2.6vw, 42px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(8, 9, 11, .35); transition: background-color .5s ease; }
.skill::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease); }
.skill:hover { background: rgba(238, 237, 230, .03); }
.skill:hover::before { transform: scaleX(1); }
.skill h3 { font-size: clamp(22px, 2vw, 32px); font-weight: 540; line-height: 1.1; letter-spacing: -.03em; }
.skill p { font-size: 15.5px; line-height: 1.58; color: var(--ink-2); }
.ticker { display: flex; overflow: hidden; margin-top: clamp(64px, 10vh, 120px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker__track { display: flex; flex: none; gap: 56px; padding-right: 56px; font-family: var(--mono); font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; animation: tick 46s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ---------- path ---------- */
.path { padding: clamp(110px, 16vh, 200px) 0 clamp(60px, 10vh, 120px); }
.path__pin { display: flex; flex-direction: column; justify-content: center; gap: clamp(44px, 8vh, 96px); min-height: 100vh; min-height: 100svh; }
.path__viewport { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--ink-4) transparent; }
.is-anim .path__viewport { overflow: hidden; }
.path__track { display: flex; width: max-content; padding: 0 var(--pad); will-change: transform; }
.step { position: relative; width: clamp(250px, 22vw, 350px); padding: 34px 36px 0 0; border-top: 1px solid var(--line); }
.step::before { content: ""; position: absolute; left: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--ink-3); background: var(--bg); transition: background-color .4s ease, border-color .4s ease; }
.step.is-on::before { background: var(--ink); border-color: var(--ink); }
.step--now::before, .step--now.is-on::before { background: var(--acc); border-color: var(--acc); box-shadow: 0 0 0 6px rgba(212, 255, 63, .15); }
.step__y { display: block; margin-bottom: 26px; font-size: clamp(56px, 6vw, 108px); font-weight: 240; line-height: .9; letter-spacing: -.055em; color: transparent; -webkit-text-stroke: 1px var(--ink-3); transition: color .6s ease, -webkit-text-stroke-color .6s ease; }
.step.is-on .step__y { color: var(--ink); -webkit-text-stroke-color: transparent; }
.step--now.is-on .step__y { color: var(--acc); }
.step h3 { margin-bottom: 6px; font-size: clamp(19px, 1.5vw, 25px); font-weight: 540; line-height: 1.15; letter-spacing: -.022em; }
.step p { font-size: 15px; color: var(--ink-2); }
.step small { display: block; max-width: 27ch; margin-top: 14px; font-family: var(--mono); font-size: 10px; line-height: 1.65; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.path__bar { width: min(100% - 2 * var(--pad), var(--maxw)); height: 1px; margin: 0 auto; background: var(--line); }
.path__bar i { display: block; height: 100%; background: var(--acc); transform: scaleX(0); transform-origin: 0 50%; }

/* ---------- words ---------- */
.words { padding: clamp(110px, 16vh, 200px) 0; }
.quote blockquote p { max-width: 29ch; font-size: clamp(26px, 3.5vw, 58px); font-weight: 360; line-height: 1.16; letter-spacing: -.035em; text-wrap: pretty; }
.quote figcaption { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin-top: 42px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.quote figcaption b { font-weight: 500; color: var(--ink); }

/* ---------- notes ---------- */
.notes { padding: clamp(90px, 14vh, 180px) 0; }
.notes__list { margin-top: clamp(48px, 9vh, 100px); border-top: 1px solid var(--line); }
.notes__list a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); isolation: isolate; }
.notes__list a::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--pad)); z-index: -1; background: rgba(238, 237, 230, .03); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .55s var(--ease); }
.notes__list a:hover::before { transform: scaleY(1); }
.notes__t { max-width: 62ch; font-size: clamp(19px, 1.7vw, 28px); font-weight: 400; line-height: 1.28; letter-spacing: -.022em; transition: transform .6s var(--ease); }
.notes__list a:hover .notes__t { transform: translateX(14px); }
.notes__m { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; color: var(--ink-3); }
.notes__m b { font-weight: 500; color: var(--acc); }
.notes__list .arr { color: var(--ink-3); }

/* ---------- contact ---------- */
.contact { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; min-height: 100svh; padding-top: clamp(120px, 20vh, 240px); }
.big { font-size: clamp(48px, 11.6vw, 224px); font-weight: 300; line-height: .88; letter-spacing: -.058em; margin-left: -.05em; }
.big__row { display: block; white-space: nowrap; }
html[lang="ru"] .big { font-size: clamp(40px, 8.6vw, 168px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; align-items: end; margin-top: clamp(48px, 8vh, 100px); }
.contact__lede { max-width: 30ch; font-size: clamp(20px, 1.8vw, 30px); line-height: 1.3; letter-spacing: -.022em; color: var(--ink-2); }
.offer__list { margin-top: clamp(18px, 3vh, 32px); border-top: 1px solid var(--line); }
.offer__list li { padding: clamp(10px, 1.4vh, 15px) 0; border-bottom: 1px solid var(--line); font-size: clamp(24px, 2.3vw, 40px); font-weight: 460; line-height: 1.1; letter-spacing: -.035em; }
.mail { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.mail__a { padding-bottom: 4px; border-bottom: 1px solid var(--ink-4); font-size: clamp(26px, 3vw, 52px); font-weight: 460; letter-spacing: -.04em; transition: color .3s ease, border-color .3s ease; }
.mail__a:hover { color: var(--acc); border-color: var(--acc); }
.copy { aspect-ratio: 1; padding: 0; justify-content: center; }
.copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.copy__ok { display: none; }
.copy.is-done { color: var(--acc); border-color: rgba(212, 255, 63, .5); }
.copy.is-done .copy__i { display: none; }
.copy.is-done .copy__ok { display: block; }
.contact__links { display: flex; flex-wrap: wrap; gap: 14px 30px; margin-top: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.contact__links a { transition: color .3s ease; }
.contact__links a:hover { color: var(--acc); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; margin-top: clamp(80px, 14vh, 170px); padding: 28px 0 max(32px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.foot a { transition: color .3s ease; }
.foot a:hover { color: var(--ink); }

/* ---------- motion states (only when JS animation is running) ---------- */
.is-anim [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1.3s var(--ease); }
.is-anim [data-reveal].is-in { opacity: 1; transform: none; }
.is-anim .viz__line:not(.viz__line--dash) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .2s; }
.is-anim .viz__line--dash, .is-anim .viz__area, .is-anim .viz__dot, .is-anim .viz__t, .is-anim .viz__node { opacity: 0; transition: opacity 1s ease .8s; }
.is-anim .viz__bar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform 1.4s var(--ease); }
.is-anim .viz__bar.is-h { transform-origin: 0 50%; transform: scaleX(0); }
.is-anim .card.is-in .viz__line { stroke-dashoffset: 0; }
.is-anim .card.is-in .viz__line--dash, .is-anim .card.is-in .viz__area, .is-anim .card.is-in .viz__dot, .is-anim .card.is-in .viz__t, .is-anim .card.is-in .viz__node { opacity: 1; }
.is-anim .card.is-in .viz__bar { transform: none; }
.is-anim .card.is-in .viz__bar:nth-of-type(2) { transition-delay: .12s; }
.is-anim .card.is-in .viz__bar:nth-of-type(3) { transition-delay: .24s; }
.is-anim .card.is-in .viz__bar:nth-of-type(4) { transition-delay: .36s; }
.is-anim .card.is-in .viz__bar:nth-of-type(5) { transition-delay: .48s; }
.is-anim .portrait { clip-path: inset(100% 0 0 0 round var(--r-lg)); transition: clip-path 1.6s var(--ease); }
.is-anim .portrait.is-in { clip-path: inset(0 0 0 0 round var(--r-lg)); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav__links a { padding: 9px 12px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(230px, 34vw, 340px); grid-auto-flow: dense; }
  .tile--armada { grid-column: span 2; grid-row: span 2; }
  .tile--wod { grid-column: span 1; grid-row: span 2; }
  .tile--ashvale, .tile--vats, .tile--go, .tile--gsaa, .tile--adv, .tile--edu { grid-column: span 1; grid-row: span 1; }
  .agent { grid-template-columns: minmax(0, 1fr); }
  .skills__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 420px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .stat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .card__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "main" "side" "src"; grid-template-rows: none; min-height: 0; }
  .card__side { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .card__side .viz { max-width: 46%; }
  .focus__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .foot { margin-top: max(160px, 20svh); }
  .path__pin { min-height: 0; }
  .path__viewport, .is-anim .path__viewport { overflow: visible; }
  .path__track { flex-direction: column; width: auto; padding: 0 var(--pad); }
  .step { width: auto; padding: 0 0 44px 32px; border-top: 0; border-left: 1px solid var(--line); }
  .step::before { left: -5px; top: 10px; }
  .step__y { font-size: clamp(48px, 12vw, 72px); margin-bottom: 14px; }
  .path__bar { display: none; }
}
@media (max-width: 640px) {
  :root { --navh: 64px; }
  .nav__cta, .focus-toggle__t { display: none; }
  .pill { height: 38px; padding: 0 13px; }
  .nav__burger { width: 38px; padding: 0; }
  .hero { padding-bottom: 18px; }
  .roles li { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; font-size: 13px; }
  .hero__meta { flex-direction: column; gap: 8px; }
  .about__text { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat:nth-child(even) { padding-left: 0; border-left: 0; }
  .stat { padding: 26px 0 30px; }
  .card { top: calc(var(--navh) + 8px + var(--i) * 6px); }
  .card__side { flex-direction: column; align-items: stretch; }
  .card__side .viz { max-width: 100%; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 300px; }
  .tile--armada, .tile--wod { grid-column: span 1; grid-row: span 1; }
  .tile--armada { grid-row: span 1; }
  .tools a { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; }
  .tools__d { grid-column: 1; grid-row: 2; font-size: 15px; }
  .tools .arr { grid-column: 2; grid-row: 1; }
  .skills__grid { grid-template-columns: minmax(0, 1fr); }
  .skill { min-height: 0; gap: 16px; }
  .presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .preset { min-width: 0; padding: 11px 12px; }
  .notes__list a { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
  .notes__m { grid-column: 1; grid-row: 2; }
  .notes__list .arr { grid-column: 2; grid-row: 1; }
  .console { font-size: 11px; }
  .console__body { height: 440px; padding: 18px 16px 20px; }
  .msg { grid-template-columns: 50px minmax(0, 1fr); gap: 10px; }
  .proposal, .ok { margin-left: 0; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .grain, .jet__stars, .ticker__track { animation: none !important; }
  .loader { display: none; }
}
