/* ==========================================================================
   Feudera Studios — site styles
   Concept: "the forge" — warm ink, bone, ember. Software forged to measure.
   ========================================================================== */

:root {
  --ink-0: #080706;
  --ink-1: #0e0c0b;
  --ink-2: #151210;
  --ink-3: #1e1a17;
  --ink-4: #2a2420;
  --line: rgba(243, 236, 226, 0.09);
  --line-2: rgba(243, 236, 226, 0.16);
  --line-3: rgba(243, 236, 226, 0.3);
  --bone: #f3ece2;
  --bone-2: #d0c7ba;
  --mute: #988f83;
  --ember: #ff5a1f;
  --ember-2: #ff8a3d;
  --ember-3: #ffc27a;
  --ember-deep: #b8320b;
  --ok: #7fe0a6;
  --err: #ff8f8f;

  --f-sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", ui-serif, Georgia, "Times New Roman", serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(20px, 4vw, 56px);
  --maxw: 1440px;
  --nav-h: 84px;
  --r: 22px;
  interpolate-size: allow-keywords;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  background: var(--ink-0); color-scheme: dark;
  scroll-behavior: smooth; scroll-padding-top: 96px;
}
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: var(--ink-0); color: var(--bone);
  font: 400 17px/1.6 var(--f-sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
::selection { background: var(--ember); color: #160a04; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip {
  position: fixed; left: 16px; top: -80px; z-index: 10001; padding: 12px 16px; border-radius: 12px;
  background: var(--ember); color: #160a04; font-weight: 650; text-decoration: none; transition: top .25s;
}
.skip:focus { top: 16px; }

/* mark */
.mark .fs-mark__f { fill: var(--bone); }
.mark .fs-mark__cursor { fill: var(--ember); animation: blink 1.1s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: .12; } }

/* --------------------------------------------------------------- buttons */
.btn {
  --bg: transparent; --fg: var(--bone); --sweep: rgba(243, 236, 226, .1);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 15.5px/1 var(--f-sans); letter-spacing: -.005em; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .4s, transform .7s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--sweep); transform: translateY(102%); transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn .i { font-size: 16px; transition: transform .45s var(--ease-out); }
.btn:hover .i { transform: translateX(3px); }
.btn__label { position: relative; display: inline-block; transition: transform .7s var(--ease-out); }
.btn--ember { --bg: var(--ember); --fg: #160a04; --sweep: #ffd2b8; box-shadow: 0 14px 34px -14px rgba(255, 90, 31, .65); }
.btn--ember:hover { box-shadow: 0 18px 40px -12px rgba(255, 90, 31, .8); }
.btn--ghost { border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--line-3); }
.btn--bone { --bg: var(--bone); --fg: var(--ink-0); --sweep: #fff; }
.btn--product { --bg: var(--pc); --fg: #0b0908; --sweep: #fff; }
.btn--sm { height: 40px; padding: 0 17px; font-size: 14.5px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 16.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; color: var(--bone); font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--ember), var(--ember)) 0 100% / 0 2px no-repeat; padding-bottom: 3px;
  transition: background-size .5s var(--ease-out);
}
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow .i { transition: transform .4s var(--ease-out); }
.link-arrow:hover .i { transform: translateX(4px); }

/* ------------------------------------------------------------ typography */
.label {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px;
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2);
}
.label span {
  display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 7px;
  border: 1px solid var(--line-2); border-radius: 7px; color: var(--ember); letter-spacing: .04em;
}
.h2 {
  max-width: 17ch; font-weight: 620; font-size: clamp(2.35rem, 5.4vw, 5.1rem); line-height: .98;
  letter-spacing: -.033em; text-wrap: balance; font-variation-settings: "wdth" 92;
}
.h2--sm { font-size: clamp(2rem, 4vw, 3.6rem); }
.h2 em, .contact__title em {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.012em;
  color: var(--ember-2);
}
[data-split] em .sw {
  background: linear-gradient(100deg, var(--ember) 0%, var(--ember-3) 140%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  padding-right: .1em; margin-right: -.1em;
}
.section { position: relative; padding-block: clamp(84px, 10vw, 160px); }
.section__head { display: grid; gap: 26px; margin-bottom: clamp(48px, 7vw, 100px); }
.section__head--split { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 40px 60px; }
.section__intro { max-width: 46ch; color: var(--bone-2); font-size: clamp(17px, 1.35vw, 19.5px); line-height: 1.6; }

/* reveal system (only when JS is running) */
.js [data-reveal] { opacity: 0; translate: 0 30px; transition: opacity 1s var(--ease-out), translate 1.2s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js [data-split] .sw { display: inline-block; opacity: 0; filter: blur(10px); translate: 0 .35em; transition: opacity .9s var(--ease-out), filter .9s var(--ease-out), translate 1.1s var(--ease-out); transition-delay: calc(var(--wi, 0) * 45ms); }
.js [data-split].is-in .sw { opacity: 1; filter: none; translate: 0 0; }

/* -------------------------------------------------------------- preloader */
.preloader { display: none; }
.js .is-loading .preloader {
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center;
  background: var(--ink-0); clip-path: inset(0 0 0 0);
  animation: pre-failsafe 0s 4.5s forwards;
}
.preloader.is-out { clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ease-io); }
@keyframes pre-failsafe { to { visibility: hidden; } }
.preloader__mark { width: clamp(70px, 9vw, 110px); }
.preloader__svg .fs-mark__f { animation: pre-fill 1.1s var(--ease-io) both; clip-path: inset(100% 0 0 0); }
.preloader__svg .fs-mark__cursor { animation: pre-cursor .5s .7s var(--ease-out) both, blink 1.1s 1.2s steps(1, end) infinite; }
@keyframes pre-fill { to { clip-path: inset(0 0 0 0); } }
@keyframes pre-cursor { from { opacity: 0; transform: scale(.4); transform-origin: 25px 27px; } to { opacity: 1; transform: none; } }
.preloader__meta {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font: 500 13px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
}
.preloader__count { font: 620 clamp(44px, 8vw, 120px)/.8 var(--f-sans); letter-spacing: -.05em; color: var(--bone); font-variant-numeric: tabular-nums; }
.preloader__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--line); }
.preloader__bar i { position: absolute; inset: 0; background: var(--ember); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px var(--ember); }

/* ------------------------------------------------------------------- nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; padding: 12px var(--gutter) 0; pointer-events: none; transition: transform .7s var(--ease-out); }
.nav.is-hidden { transform: translateY(-130%); }
.nav__inner {
  pointer-events: auto; display: flex; align-items: center; gap: 28px;
  height: 62px; max-width: calc(var(--maxw) - 2 * var(--gutter)); margin: 0 auto; padding: 0 10px 0 16px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background-color .5s, border-color .5s, max-width .8s var(--ease-out), -webkit-backdrop-filter .5s, backdrop-filter .5s, box-shadow .5s;
}
.nav.is-scrolled .nav__inner {
  max-width: 1040px; background: rgba(14, 12, 11, .72); border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .7);
}
.nav__brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.nav__mark { width: 28px; height: 28px; transition: transform .6s var(--ease-out); }
.nav__brand:hover .nav__mark { transform: rotate(-8deg) scale(1.06); }
.nav__word { display: inline-flex; align-items: baseline; gap: 7px; font-weight: 680; font-size: 17px; letter-spacing: -.025em; }
.nav__word span { font: 500 11px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 10px 13px; border-radius: 999px; color: var(--bone-2);
  font-size: 14.5px; font-weight: 500; text-decoration: none; transition: color .25s, background-color .25s;
}
.nav__links a:hover { color: var(--bone); background: rgba(243, 236, 226, .06); }
.nav__links a.is-active { color: var(--bone); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 1px; background: var(--ember);
}
.nav__right { display: flex; align-items: center; gap: 10px; flex: none; }
.nav__lang {
  position: relative; display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2);
  font: 600 11.5px/1 var(--f-mono); letter-spacing: .06em; text-decoration: none;
}
.nav__lang span { padding: 7px 9px; border-radius: 999px; color: var(--mute); transition: color .3s, background-color .3s; }
.nav__lang span.is-on { background: var(--bone); color: var(--ink-0); }
.nav__lang:hover span:not(.is-on) { color: var(--bone); }
.nav__burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--bone); border-radius: 2px; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__progress { position: fixed; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.nav__progress span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ember-deep), var(--ember), var(--ember-3)); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 99; display: flex; padding: calc(var(--nav-h) + 20px) var(--gutter) 30px;
  background: rgba(8, 7, 6, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__inner { display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.menu__links { list-style: none; padding: 0; display: grid; gap: 4px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 8px 0; text-decoration: none;
  font-size: clamp(2.4rem, 11vw, 4.2rem); font-weight: 620; letter-spacing: -.045em; line-height: 1.05;
  opacity: 0; translate: 0 30px; transition: opacity .6s var(--ease-out), translate .8s var(--ease-out), color .3s;
  transition-delay: calc(.15s + var(--i) * 60ms);
}
.menu.is-open .menu__links a { opacity: 1; translate: 0 0; }
.menu__links a:hover { color: var(--ember-2); }
.menu__n { font: 500 13px/1 var(--f-mono); color: var(--ember); letter-spacing: .04em; }
.menu__foot { display: grid; gap: 12px; font: 500 14px/1.4 var(--f-mono); color: var(--bone-2); }
.menu__foot a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 48px) 0 clamp(64px, 9vh, 110px);
}
.hero__gl { position: absolute; z-index: -2; top: 0; right: -4vw; width: min(64vw, 1080px); height: 100%; }
.hero__canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease-out); }
.hero__canvas.is-on { opacity: 1; }
.hero__fallback { position: absolute; inset: 0; display: none; place-items: center; }
.no-webgl .hero__fallback { display: grid; }
.hero__mark { width: min(56%, 520px); filter: drop-shadow(0 0 60px rgba(255, 90, 31, .45)); }
.hero__mark .fs-mark__f { fill: #2a1d16; stroke: rgba(255, 138, 61, .5); stroke-width: .4; }
.hero__mark .fs-mark__cursor { filter: drop-shadow(0 0 12px var(--ember)); }
.hero__embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0; z-index: -3; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 42%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 72% 42%, #000 0%, transparent 72%);
}
.hero::after { /* bottom fade into the page */
  content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; pointer-events: none;
  background: linear-gradient(transparent, var(--ink-0));
}
.hero__content { position: relative; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: clamp(22px, 3vw, 34px);
  font: 500 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--bone-2);
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 14px var(--ember); }
.dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--ember); animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.hero__title {
  font-weight: 640; font-size: clamp(3.7rem, 12.2vw, 12.4rem); line-height: .84; letter-spacing: -.046em;
  font-variation-settings: "wdth" 88; margin-left: -.04em;
}
.hero__line { display: block; overflow: hidden; padding: .02em .08em .09em 0; margin-bottom: -.09em; }
.hero__line-in { display: inline-block; white-space: nowrap; }
.hero__title .ch {
  display: inline-block; will-change: transform;
  font-variation-settings: "wght" var(--w, 640), "wdth" var(--wd, 88);
  transform: translateY(var(--y, 0));
}
.hero__title .ch--sp { width: .24em; }
.hero__line--serif .ch {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.015em; font-variation-settings: normal;
  color: color-mix(in oklab, var(--ember) calc(100% - var(--c) * 9%), var(--ember-3));
  padding-right: .02em;
}
.hero__line--serif { font-size: 1.08em; line-height: .8; }
.js .hero__title .ch { translate: 0 115%; }
.js .is-ready .hero__title .ch { translate: 0 0; transition: translate 1.25s var(--ease-out) calc(.1s + var(--l) * .11s + var(--c) * .028s); }
.js [data-hero-in] { opacity: 0; translate: 0 22px; filter: blur(8px); }
.js .is-ready [data-hero-in] { opacity: 1; translate: 0 0; filter: blur(0); transition: opacity 1s var(--ease-out) .75s, translate 1.2s var(--ease-out) .75s, filter 1s var(--ease-out) .75s; }
.js .is-ready .hero__kicker[data-hero-in] { transition-delay: .05s; }
/* safety net: never keep the hero hidden if JS fails after the class swap */
.js body:not(.is-ready) .hero__title .ch, .js body:not(.is-ready) [data-hero-in] { animation: reveal-failsafe 0s 4.8s forwards; }
@keyframes reveal-failsafe { to { translate: 0 0; opacity: 1; filter: none; } }

.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px 60px; flex-wrap: wrap; margin-top: clamp(30px, 4.5vw, 64px); }
.hero__sub { max-width: 46ch; font-size: clamp(17px, 1.42vw, 20.5px); line-height: 1.55; color: var(--bone-2); }
.hero__sub strong { color: var(--bone); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: grid; justify-items: center; gap: 10px;
  font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); text-decoration: none;
}
.hero__scroll i { position: relative; width: 1px; height: 38px; overflow: hidden; background: var(--line-2); }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ember); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* --------------------------------------------------------------- marquee */
.marquee { position: relative; overflow: hidden; padding: clamp(18px, 2.4vw, 30px) 0; border-block: 1px solid var(--line); background: var(--ink-1); }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  padding: 0 .38em; font-size: clamp(2.2rem, 5.4vw, 4.8rem); font-weight: 620; line-height: 1.05;
  letter-spacing: -.045em; white-space: nowrap; font-variation-settings: "wdth" 86;
}
.marquee__item.is-outline { color: rgba(243, 236, 226, .2); font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; font-size: 1.08em; }
.marquee__sep { flex: none; width: .3em; height: .3em; font-size: clamp(2.2rem, 5.4vw, 4.8rem); background: var(--ember); box-shadow: 0 0 18px rgba(255, 90, 31, .6); }

/* ------------------------------------------------------------- manifesto */
.manifesto__text {
  max-width: 26ch; font-weight: 520; font-size: clamp(1.9rem, 3.9vw, 3.75rem); line-height: 1.1; letter-spacing: -.03em;
  font-variation-settings: "wdth" 94; text-wrap: pretty;
}
.manifesto__text .w { color: rgba(243, 236, 226, .14); transition: color .5s var(--ease-out); }
.manifesto__text .w.is-lit { color: var(--bone); }
.manifesto__text .w--hl.is-lit { color: var(--ember-2); }
.no-js .manifesto__text .w, .reduce-motion .manifesto__text .w { color: var(--bone); }
.manifesto .wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 110px); align-items: end; }
.manifesto .label { grid-column: 1 / -1; justify-self: start; }
.stats { display: grid; grid-template-columns: 1fr 1fr; align-self: end; }
.stat { padding: 26px 18px 26px 0; border-top: 1px solid var(--line-2); }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(even) { padding-left: 22px; }
.stat__n { font-size: clamp(3.2rem, 6.4vw, 6rem); font-weight: 620; line-height: .9; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.stat__l { margin-top: 16px; color: var(--mute); font-size: 15px; max-width: 22ch; line-height: 1.45; }

/* -------------------------------------------------------------- services */
.bento { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(360px, auto); gap: 14px; }
.bento__item--wide { grid-column: span 2; }
.bento__item--tall { grid-row: span 2; }
.card {
  position: relative; isolation: isolate; height: 100%; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--ink-2), var(--ink-1));
  transition: border-color .5s, transform .7s var(--ease-out);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 90, 31, .11), transparent 45%);
}
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 138, 61, .75), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card__body { position: relative; padding: 24px 26px 28px; }
.card__n { margin-bottom: 14px; font: 500 12px/1 var(--f-mono); color: var(--mute); letter-spacing: .06em; }
.card__title { margin-bottom: 10px; font-size: clamp(22px, 1.8vw, 28px); font-weight: 620; line-height: 1.08; letter-spacing: -.028em; }
.card__text { max-width: 48ch; margin-bottom: 18px; color: var(--bone-2); font-size: 15.5px; line-height: 1.55; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; }
.card__tags li { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--bone-2); font: 500 11.5px/1 var(--f-mono); }

/* illustrations (paused off-screen) */
.ill { position: relative; flex: 1 1 auto; min-height: 170px; margin: 16px 16px 0; border-radius: 15px; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 115%, rgba(255, 90, 31, .1), transparent 60%), rgba(243, 236, 226, .018);
  border: 1px solid rgba(243, 236, 226, .05);
}
.ill *, .ill *::before, .ill *::after, .ill::after { animation-play-state: paused !important; }
.is-in .ill *, .is-in .ill *::before, .is-in .ill *::after, .is-in .ill::after { animation-play-state: running !important; }

.ill-web { display: grid; place-items: center; padding: 20px; perspective: 900px; }
.ill-web__win {
  width: 94%; max-width: 440px; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--ink-1); box-shadow: 0 40px 70px -30px #000;
  transform: rotateX(10deg) rotateY(-12deg) rotateZ(1deg); transition: transform 1s var(--ease-out);
}
.card:hover .ill-web__win { transform: none; }
.ill-web__bar { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px; border-bottom: 1px solid var(--line); }
.ill-web__bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-3); }
.ill-web__bar span { width: 38%; height: 6px; margin-left: 10px; border-radius: 3px; background: var(--line); }
.ill-web__body { display: grid; grid-template-columns: 22% 1fr; height: calc(100% - 20px); }
.ill-web__side { display: grid; align-content: start; gap: 7px; padding: 10px 8px; border-right: 1px solid var(--line); }
.ill-web__side b { height: 6px; border-radius: 3px; background: var(--line-2); }
.ill-web__side b:first-child { width: 72%; background: var(--ember); }
.ill-web__main { display: grid; grid-template-rows: auto 1fr; gap: 10px; padding: 10px; min-height: 0; }
.ill-web__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ill-web__kpis b { position: relative; height: 26px; overflow: hidden; border-radius: 6px; background: var(--ink-3); border: 1px solid var(--line); }
.ill-web__kpis b::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(243, 236, 226, .08), transparent); translate: -100% 0; animation: shimmer 2.4s infinite; }
.ill-web__kpis b:nth-child(2)::after { animation-delay: .2s; } .ill-web__kpis b:nth-child(3)::after { animation-delay: .4s; }
@keyframes shimmer { to { translate: 100% 0; } }
.ill-web__chart { width: 100%; height: 100%; min-height: 40px; }
.ill-web__line { fill: none; stroke: var(--ember); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.6s var(--ease-io) infinite; }
.ill-web__area { fill: rgba(255, 90, 31, .14); opacity: 0; animation: area 3.6s var(--ease-io) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 1; } 45%, 82% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -1; } }
@keyframes area { 0%, 25% { opacity: 0; } 50%, 80% { opacity: 1; } 100% { opacity: 0; } }

.ill-mobile { display: grid; place-items: center; }
.ill-mobile__phone { position: relative; width: 116px; height: 214px; padding: 30px 10px 34px; overflow: hidden; border-radius: 26px; border: 1.5px solid var(--line-3); background: var(--ink-1); box-shadow: 0 30px 60px -25px #000; }
.ill-mobile__island { position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 36px; height: 10px; border-radius: 6px; background: #000; border: 1px solid var(--line); }
.ill-mobile__stack { display: grid; gap: 8px; animation: m-stack 4.2s var(--ease-io) infinite; }
.ill-mobile__stack b { height: 48px; border-radius: 11px; background: var(--ink-3); border: 1px solid var(--line); }
.ill-mobile__stack b:first-child { background: linear-gradient(135deg, var(--ember-2), var(--ember-deep)); border: 0; }
@keyframes m-stack { 0%, 30% { translate: 0 0; } 48%, 80% { translate: 0 -56px; } 100% { translate: 0 0; } }
.ill-mobile__tab { position: absolute; left: 10px; right: 10px; bottom: 7px; height: 22px; display: flex; justify-content: space-around; align-items: center; border-top: 1px solid var(--line); }
.ill-mobile__tab i { width: 8px; height: 8px; border-radius: 3px; background: var(--line-3); }
.ill-mobile__tab i:first-child { background: var(--ember); }
.ill-mobile__toast {
  position: absolute; top: 20%; right: 9%; display: flex; align-items: center; gap: 8px; padding: 9px 12px;
  border-radius: 13px; background: rgba(30, 26, 23, .92); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -14px #000;
  animation: m-toast 4.2s var(--ease-out) infinite;
}
.ill-mobile__toast i { width: 16px; height: 16px; border-radius: 5px; background: var(--ember); }
.ill-mobile__toast span { width: 58px; height: 6px; border-radius: 3px; background: var(--line-3); }
@keyframes m-toast { 0%, 38% { opacity: 0; translate: 12px -8px; scale: .9; } 48%, 86% { opacity: 1; translate: 0 0; scale: 1; } 100% { opacity: 0; translate: 0 -6px; } }

.ill-ai { display: grid; place-items: center; min-height: 300px; }
.ill-ai__svg { width: 88%; max-width: 330px; overflow: visible; margin-bottom: 70px; }
.ill-ai__edges path { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.ill-ai__pulses path { fill: none; stroke: var(--ember-2); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .07 1; stroke-dashoffset: 1.07; animation: run 2.6s linear infinite; filter: drop-shadow(0 0 4px var(--ember)); }
.ill-ai__pulses path:nth-child(2) { animation-delay: .9s; }
.ill-ai__pulses path:nth-child(3) { animation-delay: 1.7s; }
@keyframes run { to { stroke-dashoffset: 0; } }
.ill-ai__nodes circle { fill: var(--ink-1); stroke: var(--bone-2); stroke-width: 1.5; }
.ill-ai__nodes .ill-ai__core { fill: var(--ember); stroke: none; transform-box: fill-box; transform-origin: center; animation: breathe 2.6s ease-in-out infinite; filter: drop-shadow(0 0 12px var(--ember)); }
@keyframes breathe { 50% { transform: scale(1.18); } }
.ill-ai__chat {
  position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 7px; padding: 14px;
  border-radius: 13px; background: rgba(21, 18, 16, .9); border: 1px solid var(--line);
}
.ill-ai__chat > span:not(.ill-ai__dots) { height: 6px; border-radius: 3px; background: var(--line-2); }
.ill-ai__chat > span:first-child { width: 92%; } .ill-ai__chat > span:nth-child(2) { width: 64%; }
.ill-ai__dots { display: flex; gap: 4px; }
.ill-ai__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember-2); animation: typing 1.2s ease-in-out infinite; }
.ill-ai__dots i:nth-child(2) { animation-delay: .15s; } .ill-ai__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { translate: 0 0; opacity: .4; } 30% { translate: 0 -4px; opacity: 1; } }

.ill-erp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: start; padding: 18px; }
.ill-erp__col { display: grid; align-content: start; gap: 6px; min-height: 130px; padding: 8px; border-radius: 10px; background: rgba(243, 236, 226, .03); border: 1px solid var(--line); }
.ill-erp__col b { height: 22px; border-radius: 6px; background: var(--ink-3); border: 1px solid var(--line); }
.ill-erp__card {
  position: absolute; left: 26px; top: 110px; width: calc((100% - 52px) / 3 - 16px); height: 22px;
  border-radius: 6px; background: var(--ink-4); border: 1px solid var(--ember); box-shadow: 0 0 0 3px rgba(255, 90, 31, .12);
  animation: erp 5s var(--ease-io) infinite;
}
.ill-erp__card::before { content: ""; position: absolute; left: 6px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--ember); }
@keyframes erp {
  0%, 12% { transform: translate(0, 0); }
  20% { transform: translate(0, -4px) rotate(-3deg); box-shadow: 0 14px 24px -10px #000; }
  40%, 52% { transform: translate(calc(100% + 24px), -28px); }
  70%, 92% { transform: translate(calc(200% + 48px), -56px); }
  100% { transform: translate(calc(200% + 48px), -56px); opacity: 0; }
}

.ill-shop { display: flex; align-items: center; justify-content: center; gap: 26px; }
.ill-shop__item { display: grid; gap: 6px; width: 124px; padding: 8px; border-radius: 13px; background: var(--ink-1); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px #000; }
.ill-shop__img { aspect-ratio: 1; border-radius: 8px; background: radial-gradient(circle at 42% 34%, #f6dcb9, #c4673b 58%, #5e2610); }
.ill-shop__t { width: 72%; height: 6px; border-radius: 3px; background: var(--line-3); }
.ill-shop__p { width: 36%; height: 6px; border-radius: 3px; background: var(--ember); }
.ill-shop__cart { position: relative; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 17px; border: 1px solid var(--line-2); background: var(--ink-2); }
.ill-shop__cart svg { width: 26px; height: 26px; fill: none; stroke: var(--bone); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ill-shop__cart em { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 11px; background: var(--ember); color: #160a04; font: 700 11px/21px var(--f-mono); font-style: normal; text-align: center; animation: bump 2.8s var(--ease-out) infinite; }
.ill-shop::after { content: ""; position: absolute; left: calc(50% - 70px); top: 42%; width: 11px; height: 11px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 12px var(--ember); animation: fly 2.8s var(--ease-io) infinite; }
@keyframes fly { 0%, 18% { opacity: 0; transform: translate(0, 0) scale(.5); } 26% { opacity: 1; } 52% { opacity: 1; transform: translate(118px, -34px) scale(1); } 58%, 100% { opacity: 0; transform: translate(124px, -36px) scale(.3); } }
@keyframes bump { 0%, 54% { scale: 1; } 62% { scale: 1.4; } 74%, 100% { scale: 1; } }

.ill-ux { display: grid; place-items: center; }
.ill-ux__svg { width: 88%; overflow: visible; }
.ill-ux__grid { fill: none; stroke: var(--line); stroke-width: 1; }
.ill-ux__curve { fill: none; stroke: var(--bone); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ux-draw 4.4s var(--ease-io) infinite; }
@keyframes ux-draw { 0% { stroke-dashoffset: 1; } 50%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.ill-ux__handle { fill: none; stroke: var(--ember); stroke-width: 1; stroke-dasharray: 3 3; }
.ill-ux__pt { fill: var(--ink-1); stroke: var(--bone); stroke-width: 1.5; }
.ill-ux__h { fill: var(--ember); }
.ill-ux__cursor { position: absolute; left: 60%; top: 34%; width: 20px; height: 20px; fill: var(--bone); stroke: var(--ink-0); stroke-width: 1; animation: ux-cur 4.4s var(--ease-io) infinite; }
@keyframes ux-cur { 0%, 100% { translate: 0 0; } 40% { translate: -46px -38px; } 60% { translate: -46px -38px; } 80% { translate: 30px 20px; } }

.ill-games { display: grid; place-items: center; perspective: 800px; }
.ill-games__map { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; width: 64%; max-width: 360px; transform: rotateX(56deg) rotateZ(-38deg); transform-style: preserve-3d; }
.ill-games__map i { aspect-ratio: 1; border-radius: 4px; background: var(--ink-3); border: 1px solid var(--line); animation: tile 3.8s ease-in-out infinite; animation-delay: calc(var(--d) * .14s); }
@keyframes tile { 0%, 100% { background: var(--ink-3); transform: translateZ(0); box-shadow: none; } 50% { background: rgba(255, 90, 31, .6); transform: translateZ(10px); box-shadow: 0 0 20px rgba(255, 90, 31, .45); } }
.ill-games__flag { position: absolute; left: 50%; top: 42%; width: 64px; height: 64px; translate: -50% -50%; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .6)); animation: float 4s ease-in-out infinite; }
.ill-games__flag path { fill: var(--bone); }
.ill-games__flag rect { fill: var(--ember); }
@keyframes float { 50% { translate: -50% -62%; } }

.ill-cloud { display: grid; grid-template-rows: auto 1fr; gap: 14px; padding: 18px; }
.ill-cloud__term { padding: 13px 15px; border-radius: 11px; background: #0a0908; border: 1px solid var(--line); font: 500 12.5px/1.75 var(--f-mono); color: var(--bone-2); }
.ill-cloud__term p { white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); animation: type 6s steps(28, end) infinite; }
.ill-cloud__term p:nth-child(2) { animation-name: type2; }
.ill-cloud__term p:nth-child(3) { animation-name: type3; }
.ill-cloud__term span { color: var(--ember); }
.ill-cloud__term .dim { color: var(--mute); }
.ill-cloud__term .ok { color: var(--ok); }
.ill-cloud__term em { color: var(--mute); font-style: normal; }
@keyframes type { 0% { clip-path: inset(0 100% 0 0); } 15%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes type2 { 0%, 18% { clip-path: inset(0 100% 0 0); } 33%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes type3 { 0%, 38% { clip-path: inset(0 100% 0 0); } 52%, 92% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
.ill-cloud__bars { display: flex; align-items: flex-end; gap: 3px; min-height: 60px; }
.ill-cloud__bars i { flex: 1; height: var(--h); border-radius: 2px; background: rgba(127, 224, 166, .5); transform-origin: bottom; animation: bar 2.2s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -.13s); }
.ill-cloud__bars i.warn { background: var(--ember-2); }
@keyframes bar { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

/* -------------------------------------------------------------- products */
.products { position: relative; padding-top: clamp(84px, 10vw, 160px); }
.products__head { margin-bottom: clamp(30px, 4vw, 60px); display: grid; gap: 26px; }
.products__pin { position: relative; height: 300vh; }
.products__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.products__track { display: flex; width: 300vw; height: 100%; will-change: transform; }
.products__progress { position: absolute; z-index: 3; top: calc(var(--nav-h) + 6px); left: var(--gutter); right: var(--gutter); display: flex; gap: 12px; }
.products__progress span { flex: 1; display: grid; gap: 10px; font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); transition: color .4s; }
.products__progress span.is-on { color: var(--bone); }
.products__progress i { position: relative; height: 2px; overflow: hidden; background: var(--line-2); }
.products__progress i::after { content: ""; position: absolute; inset: 0; background: var(--pc); transform-origin: left; transform: scaleX(var(--p, 0)); }
.product {
  position: relative; isolation: isolate; flex: 0 0 100vw; height: 100%;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.2fr); align-items: center; gap: clamp(30px, 5vw, 96px);
  padding: calc(var(--nav-h) + 56px) var(--gutter) 48px;
}
.product__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 65% at 72% 52%, color-mix(in srgb, var(--pc) 17%, transparent), transparent 70%),
    radial-gradient(80% 90% at 80% 100%, color-mix(in srgb, var(--pbg) 80%, transparent), transparent 70%);
}
.product__info { max-width: 620px; justify-self: end; width: 100%; }
.product__idx { font: 500 12.5px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bone-2); }
.product__idx span { color: var(--pc); }
.product__name { margin: 16px 0 22px; font-size: clamp(3.4rem, 8vw, 7.8rem); font-weight: 660; line-height: .88; letter-spacing: -.048em; font-variation-settings: "wdth" 88; }
.product__lead { max-width: 40ch; margin-bottom: 14px; font-size: clamp(18px, 1.5vw, 21.5px); line-height: 1.45; color: var(--bone); }
.product__body { max-width: 54ch; margin-bottom: 24px; color: var(--bone-2); font-size: 15.5px; }
.product__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; list-style: none; padding: 0; margin-bottom: 30px; }
.product__features li { position: relative; padding-left: 18px; color: var(--bone-2); font-size: 15px; line-height: 1.4; }
.product__features li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 2px; background: var(--pc); }
.product__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.product__platforms { display: flex; gap: 6px; list-style: none; padding: 0; }
.product__platforms li { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--bone-2); font: 500 11.5px/1 var(--f-mono); }
.product__media { position: relative; display: grid; place-items: center; min-width: 0; }
.device--browser {
  width: 100%; max-width: 900px; overflow: hidden; border-radius: 14px; border: 1px solid var(--line-2); background: var(--ink-1);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .9), 0 0 140px -50px color-mix(in srgb, var(--pc) 55%, transparent);
  transform: perspective(1600px) rotateY(-14deg) rotateX(5deg) rotateZ(.5deg); transition: transform 1.2s var(--ease-out);
}
.product:hover .device--browser { transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.device__bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: var(--ink-2); border-bottom: 1px solid var(--line); }
.device__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-4); }
.device__bar span { margin: 0 auto; padding: 5px 16px; border-radius: 8px; background: var(--ink-1); color: var(--mute); font: 500 12px/1 var(--f-mono); }
.device--browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; background: var(--ink-2); }
.device--phone {
  position: relative; width: min(330px, 74%); aspect-ratio: 9 / 18.4; padding: 11px; border-radius: 52px;
  background: linear-gradient(145deg, #2b2724, #0b0a09); border: 1px solid var(--line-3);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 160px -40px color-mix(in srgb, var(--pc) 55%, transparent), inset 0 0 0 2px rgba(0, 0, 0, .6);
  transform: rotate(-4deg); transition: transform 1.2s var(--ease-out);
}
.product:hover .device--phone { transform: rotate(-1deg) translateY(-6px); }
.device--phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 42px; background: #10263a; }
.device__island { position: absolute; z-index: 2; top: 22px; left: 50%; translate: -50% 0; width: 92px; height: 27px; border-radius: 20px; background: #000; }
.device-note {
  position: absolute; right: 4%; bottom: 16%; display: flex; align-items: center; gap: 12px; padding: 13px 18px;
  border-radius: 16px; background: rgba(21, 18, 16, .88); border: 1px solid var(--line-2); box-shadow: 0 24px 50px -20px #000;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 14.5px; color: var(--bone);
}
.device-note span { padding: 5px 8px; border-radius: 7px; border: 1px solid var(--pc); color: var(--pc); font: 600 11.5px/1 var(--f-mono); letter-spacing: .06em; }

/* -------------------------------------------------------------------- lab */
.lab__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 17px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--bone-2); font: 500 14.5px/1 var(--f-sans); cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.pill sup { font: 500 11px/1 var(--f-mono); color: var(--mute); top: 0; }
.pill:hover { border-color: var(--line-3); color: var(--bone); }
.pill.is-on { background: var(--bone); border-color: var(--bone); color: var(--ink-0); }
.pill.is-on sup { color: var(--ink-4); }
.lab__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; }
.lab__item[hidden] { display: none; }
.proto {
  position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--ink-2); color: inherit; text-decoration: none;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .7s var(--ease-out), border-color .5s, box-shadow .7s;
}
.proto:hover { border-color: color-mix(in srgb, var(--pa) 45%, transparent); box-shadow: 0 50px 90px -50px color-mix(in srgb, var(--pa) 55%, transparent); }
.proto.is-tilting { transition: transform .15s linear, border-color .5s, box-shadow .7s; }
.proto__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--pa) 38%, transparent), transparent 60%), var(--pbg); }
.proto__ph { position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in srgb, var(--pa) 75%, white); font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 660; letter-spacing: -.05em; }
.proto__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1.4s var(--ease-out); }
img.is-broken { visibility: hidden; }
.proto:hover .proto__media img { transform: scale(1.05); }
.proto__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(8, 7, 6, .55)); pointer-events: none; }
.proto__body { display: grid; gap: 8px; padding: 20px 22px 24px; }
.proto__meta { display: flex; justify-content: space-between; gap: 12px; font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.proto__meta span:first-child { color: var(--pa); }
.proto__name { margin-top: 4px; font-size: 30px; font-weight: 660; line-height: 1; letter-spacing: -.04em; }
.proto__tag { color: var(--bone-2); font-size: 15px; line-height: 1.5; }
.proto__stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; list-style: none; padding: 0; }
.proto__stack li { padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--mute); font: 500 11.5px/1 var(--f-mono); }
.proto__go {
  position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(8, 7, 6, .6); border: 1px solid var(--line-2); color: var(--bone); font-size: 17px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.7) rotate(-20deg); transition: opacity .4s, transform .6s var(--ease-out);
}
.proto:hover .proto__go { opacity: 1; transform: none; }
.lab__grid.is-all .lab__item--wide { grid-column: span 2; }
.lab__grid.is-all .lab__item--wide .proto { flex-direction: row; }
.lab__grid.is-all .lab__item--wide .proto__media { flex: 1.35; aspect-ratio: auto; min-height: 100%; }
.lab__grid.is-all .lab__item--wide .proto__body { flex: 1; align-content: end; }
.lab__more { margin-top: 40px; }

/* ----------------------------------------------------------------- method */
.method__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 8vw, 150px); align-items: start; }
.method__aside { position: sticky; top: calc(var(--nav-h) + 40px); }
.method__counter { display: flex; align-items: baseline; gap: 14px; margin-top: clamp(40px, 6vw, 80px); }
.method__digits {
  font-size: clamp(6rem, 15vw, 15rem); font-weight: 640; line-height: .78; letter-spacing: -.075em; font-variant-numeric: tabular-nums;
  color: transparent; background: linear-gradient(180deg, var(--ember-2) 10%, rgba(255, 90, 31, .08) 95%); -webkit-background-clip: text; background-clip: text;
  transition: opacity .25s, translate .45s var(--ease-out);
}
.method__digits.is-swap { opacity: 0; translate: 0 18px; }
.method__of { font: 500 14px/1 var(--f-mono); color: var(--mute); }
.steps { position: relative; padding-left: 52px; }
.steps__rail { position: absolute; left: 12px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.steps__rail span { position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--ember-3), var(--ember)); box-shadow: 0 0 14px var(--ember); }
.steps__list { display: grid; gap: clamp(64px, 10vh, 130px); list-style: none; padding: 0; }
.step { position: relative; }
.step__dot { position: absolute; left: -47px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-0); border: 2px solid var(--line-3); transition: background-color .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease-out); }
.step.is-done .step__dot, .step.is-active .step__dot { background: var(--ember); border-color: var(--ember); }
.step.is-active .step__dot { transform: scale(1.25); box-shadow: 0 0 0 7px rgba(255, 90, 31, .16), 0 0 24px var(--ember); }
.step__n { margin-bottom: 12px; font: 500 12.5px/1 var(--f-mono); color: var(--mute); }
.step__title { margin-bottom: 14px; font-size: clamp(30px, 3.4vw, 50px); font-weight: 620; line-height: 1; letter-spacing: -.04em; color: rgba(243, 236, 226, .38); transition: color .5s; }
.step__text { max-width: 44ch; color: var(--bone-2); font-size: 16.5px; opacity: .55; transition: opacity .5s; }
.step.is-active .step__title, .step.is-done .step__title { color: var(--bone); }
.step.is-active .step__text, .step.is-done .step__text { opacity: 1; }
.no-js .step__title { color: var(--bone); }
.no-js .step__text { opacity: 1; }

/* ------------------------------------------------------------------ stack */
.stack { overflow: hidden; }
.stack__rows { display: grid; gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
.stack__row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.stack__group { display: flex; flex: none; gap: 12px; padding-right: 12px; list-style: none; }
.stack__group li {
  padding: 18px 26px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--ink-1);
  color: var(--bone-2); font: 500 clamp(15px, 1.4vw, 19px)/1 var(--f-mono); white-space: nowrap; transition: color .3s, border-color .3s;
}
.stack__group li:hover { color: var(--bone); border-color: var(--ember); }

/* -------------------------------------------------------------------- faq */
.faq__grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 26px; }
.faq__grid .label { margin-bottom: 0; }
.qa { border-top: 1px solid var(--line-2); }
.qa:last-child { border-bottom: 1px solid var(--line-2); }
.qa summary {
  display: grid; grid-template-columns: 46px 1fr 32px; align-items: center; gap: 12px; padding: 27px 0; cursor: pointer; list-style: none;
  font-size: clamp(18px, 1.55vw, 23px); font-weight: 560; letter-spacing: -.018em; line-height: 1.3; transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ember-3); }
.qa__n { font: 500 12.5px/1 var(--f-mono); color: var(--mute); }
.qa__icon { position: relative; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease-out), background-color .4s, border-color .4s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; background: currentColor; border-radius: 2px; }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { transform: rotate(45deg); background: var(--ember); border-color: var(--ember); color: #160a04; }
.qa::details-content { block-size: 0; overflow: clip; transition: block-size .55s var(--ease-out), content-visibility .55s allow-discrete; }
.qa[open]::details-content { block-size: auto; }
.qa__a p { max-width: 62ch; padding: 0 44px 28px 58px; color: var(--bone-2); font-size: 16.5px; line-height: 1.65; }

/* ---------------------------------------------------------------- contact */
.contact { overflow: clip; padding-bottom: clamp(110px, 14vw, 200px); }
.contact__glow { position: absolute; inset: auto -10% -10% -10%; height: 80%; pointer-events: none; background: radial-gradient(45% 55% at 50% 100%, rgba(255, 90, 31, .2), transparent 70%); }
.contact__title {
  max-width: 13ch; margin-bottom: clamp(56px, 7vw, 110px);
  font-size: clamp(3.2rem, 9.4vw, 9.6rem); font-weight: 640; line-height: .9; letter-spacing: -.046em; font-variation-settings: "wdth" 90;
}
.contact__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.contact__lead { max-width: 30ch; margin-bottom: 28px; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.42; }
.contact__list { display: grid; gap: 13px; margin-bottom: 44px; list-style: none; padding: 0; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--bone-2); }
.contact__list .i { font-size: 18px; color: var(--ember); stroke-width: 2.2; }
.contact__direct { display: grid; gap: 10px; justify-items: start; padding-top: 28px; border-top: 1px solid var(--line); }
.contact__small { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.contact__mail {
  font-size: clamp(19px, 1.9vw, 27px); font-weight: 600; letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere;
  background: linear-gradient(var(--ember), var(--ember)) 0 100% / 0 2px no-repeat; padding-bottom: 4px; transition: background-size .5s var(--ease-out);
}
.contact__mail:hover { background-size: 100% 2px; }
.contact__mail--sm { font-size: 16px; }
.contact__mail span { padding: 3px 6px; margin-right: 4px; border-radius: 6px; border: 1px solid var(--ember); color: var(--ember); font: 600 11px/1 var(--f-mono); vertical-align: 4px; }

.form {
  position: relative; display: grid; gap: 24px; padding: clamp(24px, 3vw, 42px); border-radius: 30px;
  background: linear-gradient(180deg, rgba(30, 26, 23, .78), rgba(14, 12, 11, .78)); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 50px 100px -60px #000;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 9px; align-content: start; }
.field label, .chips legend { font: 500 12px/1.2 var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--bone-2); }
.field label b, .check b { color: var(--ember); font-weight: 600; }
.field label i { margin-left: 4px; color: var(--mute); font-style: normal; text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(8, 7, 6, .55);
  color: var(--bone); font-size: 16px; line-height: 1.4; transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: rgba(243, 236, 226, .32); }
.field input:hover, .field textarea:hover { border-color: var(--line-3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ember); background: rgba(8, 7, 6, .85); box-shadow: 0 0 0 4px rgba(255, 90, 31, .16); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: 13.5px; line-height: 1.3; }
.field__err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.chips legend { float: left; width: 100%; margin-bottom: 12px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--bone-2); font-size: 14.5px; cursor: pointer; user-select: none; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-out);
}
.chip span:hover { border-color: var(--line-3); color: var(--bone); }
.chip span:active { transform: scale(.96); }
.chip input:checked + span { background: var(--ember); border-color: var(--ember); color: #160a04; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 6px 13px; align-items: start; color: var(--bone-2); font-size: 14.5px; line-height: 1.5; }
.check input {
  appearance: none; -webkit-appearance: none; display: grid; place-items: center; width: 22px; height: 22px; margin: 1px 0 0;
  border-radius: 7px; border: 1px solid var(--line-3); background: transparent; cursor: pointer; transition: background-color .25s, border-color .25s;
}
.check input::after { content: ""; width: 10px; height: 6px; margin-top: -3px; border-left: 2px solid #160a04; border-bottom: 2px solid #160a04; transform: rotate(-45deg) scale(0); transition: transform .25s var(--ease-out); }
.check input:checked { background: var(--ember); border-color: var(--ember); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check a { color: var(--bone); text-underline-offset: 3px; }
.check .field__err { grid-column: 2; }
.check.is-invalid input { border-color: var(--err); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.form__status { color: var(--bone-2); font-size: 14.5px; }
.form__status.is-error { color: var(--err); }
.form.is-sending .form__submit { pointer-events: none; opacity: .75; }
.form.is-sending .form__submit .i { animation: nudge .8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }
.form__done {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 40px;
  border-radius: inherit; background: rgba(14, 12, 11, .97); text-align: center; outline: none;
}
.form__done[hidden] { display: none; }
.form__done h3 { font-size: clamp(26px, 3vw, 38px); font-weight: 640; letter-spacing: -.035em; }
.form__done p { max-width: 40ch; color: var(--bone-2); }
.form__done-mark { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: var(--ember); color: #160a04; font-size: 34px; box-shadow: 0 0 0 10px rgba(255, 90, 31, .14), 0 0 60px rgba(255, 90, 31, .5); animation: pop .7s var(--ease-out) both; }
.form__done-mark .i { stroke-width: 2.4; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }

/* ------------------------------------------------------------------ footer */
.foot { position: relative; overflow: hidden; padding-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line); background: var(--ink-0); }
.foot__top { display: grid; grid-template-columns: 1fr 1.7fr; gap: 50px 70px; }
.foot__lead { max-width: 17ch; margin-bottom: 30px; font-size: clamp(25px, 2.6vw, 38px); font-weight: 560; line-height: 1.12; letter-spacing: -.03em; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.foot__h { margin-bottom: 18px; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.foot__h a { color: inherit; text-decoration: none; }
.foot__h a:hover { color: var(--bone); }
.foot ul { display: grid; gap: 11px; list-style: none; padding: 0; }
.foot ul a { color: var(--bone-2); font-size: 15px; text-decoration: none; transition: color .25s; overflow-wrap: anywhere; }
.foot ul a:hover { color: var(--bone); }
.foot .foot__lab { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.foot__word {
  display: flex; justify-content: center; margin-top: clamp(70px, 9vw, 130px); padding-inline: 2vw;
  font-size: clamp(4.6rem, 22vw, 24rem); font-weight: 700; line-height: .8; letter-spacing: -.045em; font-variation-settings: "wdth" 86;
  user-select: none;
}
.foot__word span {
  display: inline-block; color: transparent; padding-right: .02em;
  background: linear-gradient(180deg, rgba(243, 236, 226, .13) 0%, rgba(243, 236, 226, .02) 85%);
  -webkit-background-clip: text; background-clip: text;
  transition: transform .8s var(--ease-out);
}
.foot__word span::after { content: none; }
.foot__word span.is-hot, .foot__word span:hover {
  background-image: linear-gradient(180deg, var(--ember-3) 0%, var(--ember) 55%, rgba(255, 90, 31, .1) 100%);
  transform: translateY(-5%);
}
.js .foot__word span { translate: 0 40%; opacity: 0; transition: translate 1.2s var(--ease-out), opacity 1s, transform .8s var(--ease-out); transition-delay: calc(var(--i) * 70ms), calc(var(--i) * 70ms), 0s; }
.js .foot__word.is-in span { translate: 0 0; opacity: 1; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; padding-block: 26px 34px; border-top: 1px solid var(--line); font: 500 12.5px/1.5 var(--f-mono); color: var(--mute); }
.foot__top-link { display: inline-flex; align-items: center; gap: 8px; color: var(--bone-2); text-decoration: none; }
.foot__top-link:hover { color: var(--bone); }

/* ------------------------------------------------------------ decorations */
.grain {
  position: fixed; inset: -100%; z-index: 9990; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { position: fixed; left: 0; top: 0; z-index: 9995; display: block; pointer-events: none; }
}
.cursor__dot { display: none; }
.cursor__ring {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border-radius: 50%; border: 1px solid rgba(243, 236, 226, .38); opacity: 0;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background-color .35s, border-color .35s, opacity .3s;
}
.cursor.is-active .cursor__ring { opacity: 1; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(255, 138, 61, .7); background: rgba(255, 90, 31, .08); }
.cursor.has-label .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: var(--bone); border-color: var(--bone); }
.cursor__label { font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-0); opacity: 0; transition: opacity .25s; }
.cursor.has-label .cursor__label { opacity: 1; }

.langhint {
  position: fixed; left: 50%; bottom: 18px; z-index: 300; translate: -50% 0; display: flex; align-items: center; gap: 12px;
  max-width: calc(100vw - 24px); padding: 8px 8px 8px 18px; border-radius: 999px; background: rgba(21, 18, 16, .94); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 60px -24px #000; font-size: 14px;
  animation: rise .7s var(--ease-out) both;
}
.langhint[hidden] { display: none; }
.langhint p { color: var(--bone-2); }
.langhint a { padding: 9px 15px; border-radius: 999px; background: var(--bone); color: var(--ink-0); font-weight: 650; text-decoration: none; white-space: nowrap; }
.langhint button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: var(--mute); font-size: 22px; line-height: 1; cursor: pointer; }
.langhint button:hover { color: var(--bone); }
@keyframes rise { from { opacity: 0; translate: -50% 20px; } }

/* --------------------------------------------------------------- inner pages */
.page-head { padding: calc(var(--nav-h) + clamp(60px, 9vw, 130px)) 0 clamp(50px, 7vw, 90px); position: relative; overflow: clip; }
.page-head::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(255, 90, 31, .16), transparent 62%); pointer-events: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; list-style: none; padding: 0; font: 500 12.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.crumbs a { color: var(--bone-2); text-decoration: none; }
.crumbs a:hover { color: var(--bone); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-3); }
.page-title { max-width: 16ch; font-size: clamp(3rem, 8vw, 7.6rem); font-weight: 640; line-height: .92; letter-spacing: -.046em; font-variation-settings: "wdth" 90; }
.page-title em { font-family: var(--f-serif); font-style: italic; font-weight: 400; color: var(--ember-2); letter-spacing: -.015em; }
.page-lead { max-width: 52ch; margin-top: 30px; color: var(--bone-2); font-size: clamp(18px, 1.5vw, 21px); }
.labx { display: grid; gap: 18px; padding-bottom: clamp(90px, 12vw, 160px); list-style: none; padding-left: 0; }
.labx__item {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center;
  padding: clamp(18px, 2.4vw, 28px); border-radius: 28px; border: 1px solid var(--line); background: var(--ink-1);
}
.labx__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--pa) 38%, transparent), transparent 60%), var(--pbg); }
.labx__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform 1.2s var(--ease-out); }
.labx__media:hover img { transform: scale(1.04); }
.labx__media .proto__ph { font-size: clamp(2.4rem, 5vw, 4.4rem); }
.labx__n { font: 500 12.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pa); }
.labx__name { margin: 14px 0 8px; font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 660; letter-spacing: -.05em; line-height: .95; }
.labx__cat { margin-bottom: 18px; font: 500 13px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.labx__desc { max-width: 56ch; margin-bottom: 18px; color: var(--bone-2); }
.labx__features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-bottom: 24px; list-style: none; padding: 0; font-size: 14.5px; color: var(--bone-2); }
.labx__features li { position: relative; padding-left: 16px; }
.labx__features li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 2px; background: var(--pa); }
.prose { max-width: 760px; padding-bottom: clamp(90px, 12vw, 160px); color: var(--bone-2); font-size: 17px; line-height: 1.7; }
.prose h2 { margin: 54px 0 16px; color: var(--bone); font-size: clamp(24px, 2.4vw, 32px); font-weight: 620; letter-spacing: -.025em; line-height: 1.15; }
.prose p, .prose ul { margin-bottom: 16px; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--bone); text-underline-offset: 3px; }
.prose strong { color: var(--bone); }
.prose .note { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255, 138, 61, .35); background: rgba(255, 90, 31, .06); color: var(--bone-2); font-size: 15px; }
.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); position: relative; overflow: hidden; }
.nf__code { font-size: clamp(8rem, 30vw, 22rem); font-weight: 700; letter-spacing: -.06em; line-height: .8; color: transparent; background: linear-gradient(180deg, var(--ember-3), var(--ember) 45%, rgba(255, 90, 31, .05)); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 0 50px rgba(255, 90, 31, .35)); }
.nf__title { margin: 24px 0 10px; font-size: clamp(26px, 3.4vw, 42px); font-weight: 620; letter-spacing: -.03em; }
.nf__text { color: var(--bone-2); margin-bottom: 28px; }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__item--tall { grid-row: span 1; }
  .lab__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lab__grid.is-all .lab__item--wide .proto { flex-direction: column; }
  .lab__grid.is-all .lab__item--wide .proto__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
  .foot__top { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  :root { --nav-h: 76px; }
  .nav__links { display: none; }
  .nav__right { margin-left: auto; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .section__head--split { grid-template-columns: 1fr; }
  .hero__gl { top: calc(var(--nav-h) - 10px); right: 0; width: 100%; height: 44svh; }
  .hero { padding-top: calc(var(--nav-h) + 40svh); }
  .hero__grid { -webkit-mask-image: radial-gradient(ellipse 80% 50% at 60% 30%, #000, transparent 75%); mask-image: radial-gradient(ellipse 80% 50% at 60% 30%, #000, transparent 75%); }
  .products__pin { height: auto; }
  .products__sticky { position: static; height: auto; overflow: visible; }
  .products__track { flex-direction: column; width: auto; transform: none !important; }
  .products__progress { display: none; }
  .product { flex: none; height: auto; grid-template-columns: 1fr; gap: 40px; padding: 56px var(--gutter); }
  .product__info { justify-self: start; }
  .device--browser { transform: none; }
  .method__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .method__aside, .faq__grid > div:first-child { position: static; }
  .method__counter { display: none; }
  .manifesto .wrap { grid-template-columns: 1fr; }
  .stats { margin-top: 56px; }
  .labx__item { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .nav { padding-top: 8px; }
  .nav__inner { height: 58px; padding: 0 7px 0 14px; gap: 12px; }
  .nav__word span { display: none; }
  .hero { padding-bottom: 88px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento__item--wide { grid-column: auto; }
  .ill { min-height: 190px; }
  .lab__grid { grid-template-columns: 1fr; }
  .lab__grid.is-all .lab__item--wide { grid-column: auto; }
  .product__features, .labx__features { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { border-radius: 24px; }
  .qa summary { grid-template-columns: 34px 1fr 30px; }
  .qa__a p { padding: 0 0 26px 46px; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .langhint { border-radius: 20px; flex-wrap: wrap; justify-content: space-between; }
}

/* ------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { display: none; }
  .js [data-reveal], .js [data-split] .sw, .js .hero__title .ch, .js [data-hero-in], .js .foot__word span { opacity: 1 !important; translate: none !important; filter: none !important; }
  .manifesto__text .w { color: var(--bone); }
  .products__pin { height: auto; }
  .products__sticky { position: static; height: auto; overflow: visible; }
  .products__track { flex-direction: column; width: auto; transform: none !important; }
  .products__progress { display: none; }
  .product { flex: none; height: auto; }
}

/* cross-document view transitions (progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
