/* ==========================================================================
   umalatov · Estudio digital — main.css
   Dark premium studio look · one electric accent (lime) + violet glow
   ========================================================================== */

@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@property --num { syntax: '<integer>'; initial-value: 0; inherits: false; }

:root {
  --bg: #08080b;
  --bg-2: #0d0d12;
  --surface: #121218;
  --surface-2: #191921;
  --line: rgba(255, 255, 255, .085);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f3f2ee;
  --muted: #a4a4ae;
  --accent: #c8ff3d;
  --accent-ink: #0b0d02;
  --accent-soft: rgba(200, 255, 61, .12);
  --violet: #8b6bff;
  --violet-2: #5b3fd6;
  --danger: #ff8b8b;

  --radius: 20px;
  --radius-lg: 30px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --pad: clamp(1rem, 4.2vw, 4rem);
  --maxw: 1560px;
  --nav-h: 76px;

  --f-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-serif: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --f-brand: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Russian: Bricolage Grotesque and Instrument Serif have no Cyrillic ----------
   Roboto Flex (with a width axis, so every font-stretch below still works) and Cormorant italic
   take over. Inter and JetBrains Mono already cover Cyrillic. The Latin wordmarks stay in Bricolage. */
html:lang(ru) {
  --f-display: 'Roboto Flex', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-serif: 'Cormorant', 'Cormorant Garamond', Georgia, serif;
}
html:lang(ru) .brand__word, html:lang(ru) .preloader__word, html:lang(ru) .footer__word { font-family: var(--f-brand); }
html:lang(ru) .serif { font-weight: 500; letter-spacing: 0; }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
main, .footer { overflow-x: clip; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; color: var(--text); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
/* sections/main receive programmatic focus after anchor jumps; a ring around a whole section is just noise */
main[tabindex="-1"]:focus-visible, main section[tabindex="-1"]:focus-visible { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 10001;
  padding: .8rem 1.2rem; border-radius: 12px; background: var(--accent); color: var(--accent-ink); font-weight: 600;
  transition: top .25s var(--ease-out);
}
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { position: relative; padding-block: clamp(5rem, 9.5vw, 9rem); }

/* ---------- Typography ---------- */
.serif {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  font-stretch: normal;
}
.h2 {
  font-family: var(--f-display);
  font-weight: 650;
  font-size: clamp(2.35rem, 1.2rem + 4.6vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.032em;
  font-stretch: 92%;
  margin: 0 0 1.6rem;
  text-wrap: balance;
}
.h2 .serif { color: var(--accent); font-size: 1.06em; line-height: .9; padding-right: .04em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  margin: 0 0 1.6rem;
  font-family: var(--f-mono);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow span { color: var(--accent); }
.eyebrow span::after { content: ''; display: inline-block; width: 2rem; height: 1px; margin-left: .7rem; vertical-align: middle; background: var(--line-2); }
/* the translatable label next to the number */
.eyebrow .eyebrow__t { color: inherit; }
.eyebrow .eyebrow__t::after { content: none; }
.lead {
  font-size: clamp(1.05rem, .98rem + .38vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 44ch;
  margin: 0 0 1.5rem;
}
.lead strong { color: var(--text); font-weight: 500; }
.link { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
.link:hover { color: var(--text); }

.section-head { max-width: 1000px; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 52px;
  --roll: 2.5em;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: var(--bh);
  padding: 0 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: color .35s var(--ease-out), border-color .35s, background-color .35s, box-shadow .4s, transform .7s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  transform: translate3d(0, 102%, 0); transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn__label { position: relative; display: inline-block; line-height: 1.25; transition: transform .55s var(--ease-out); }
.btn__label::after { content: attr(data-text); position: absolute; left: 0; top: var(--roll); white-space: nowrap; }
.btn:hover .btn__label, .btn:focus-visible .btn__label { transform: translate3d(0, calc(-1 * var(--roll)), 0); }
.btn__icon {
  display: grid; place-items: center; flex-shrink: 0;
  width: 30px; height: 30px; margin-right: -.75rem; border-radius: 50%;
  background: var(--accent-ink); color: var(--accent);
  transition: transform .5s var(--ease-out);
}
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn--sm { --bh: 44px; padding: 0 1.15rem; font-size: .9rem; }
.btn--sm .btn__icon { width: 26px; height: 26px; margin-right: -.6rem; }
.btn--lg { --bh: 60px; padding: 0 1.9rem; font-size: 1.02rem; }
.btn--lg .btn__icon { width: 36px; height: 36px; margin-right: -1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 40px -12px rgba(200, 255, 61, .55); }
.btn--primary::before { background: #fff; }
.btn--ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .035); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--bg); border-color: var(--text); }
.btn[disabled] { opacity: .6; cursor: progress; }
.live-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.live-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
[data-magnetic] { will-change: transform; }

/* ---------- Preloader (CSS-driven, first visit only) ---------- */
.preloader { display: none; }
html.is-preloading body { overflow: hidden; }
html.is-preloading .preloader {
  display: flex; flex-direction: column; justify-content: flex-end;
  position: fixed; inset: 0; z-index: 10000;
  padding: var(--pad);
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  animation: pre-out .5s var(--ease-in-out) 1.08s forwards;
}
.preloader__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; width: 100%; padding-bottom: clamp(1rem, 4vh, 3rem); }
.preloader__word { display: inline-flex; overflow: hidden; padding-bottom: .06em; }
.preloader__word span {
  display: inline-block;
  font-family: var(--f-display); font-weight: 700; font-stretch: 90%;
  font-size: clamp(3.4rem, 13vw, 11rem); line-height: .82; letter-spacing: -.05em;
  transform: translate3d(0, 105%, 0);
  animation: pre-letter .7s var(--ease-out) forwards;
}
.preloader__word span:nth-child(1) { animation-delay: .05s; }
.preloader__word span:nth-child(2) { animation-delay: .09s; }
.preloader__word span:nth-child(3) { animation-delay: .13s; }
.preloader__word span:nth-child(4) { animation-delay: .17s; }
.preloader__word span:nth-child(5) { animation-delay: .21s; }
.preloader__word span:nth-child(6) { animation-delay: .25s; }
.preloader__word span:nth-child(7) { animation-delay: .29s; }
.preloader__word span:nth-child(8) { animation-delay: .33s; color: var(--accent); }
.preloader__num {
  font-family: var(--f-mono); font-size: clamp(.95rem, 1.6vw, 1.3rem); color: var(--accent);
  counter-reset: num var(--num);
  animation: pre-count 1s cubic-bezier(.45, 0, .2, 1) forwards;
}
.preloader__num::after { content: counter(num) '%'; }
.preloader__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--accent));
  transform-origin: 0 50%; transform: scaleX(0);
  animation: pre-bar 1s cubic-bezier(.45, 0, .2, 1) forwards;
}
@keyframes pre-letter { to { transform: none; } }
@keyframes pre-count { to { --num: 100; } }
@keyframes pre-bar { to { transform: scaleX(1); } }
@keyframes pre-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------- Progress / grain / cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 300; pointer-events: none; }
.progress__bar {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--violet), var(--accent));
  transform-origin: 0 50%; transform: scaleX(var(--sp, 0));
  box-shadow: 0 0 12px rgba(200, 255, 61, .6);
}
.grain {
  position: fixed; inset: -60%; z-index: 9000; pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.1s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-4%, 3%, 0); }
  40% { transform: translate3d(3%, -5%, 0); }
  60% { transform: translate3d(-6%, -2%, 0); }
  80% { transform: translate3d(5%, 4%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; transition: opacity .3s; }
.cursor.is-hidden, .cursor.is-text { opacity: 0; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; transition: opacity .25s; }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(255, 255, 255, .9);
  display: grid; place-items: center;
}
.cursor__ring::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; background: #fff;
  transform: scale(0); transition: transform .45s var(--ease-out), background-color .3s;
}
.cursor__label { position: relative; font-family: var(--f-body); font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease-out); }
.cursor.is-link .cursor__ring::before { transform: scale(1.7); }
.cursor.is-link .cursor__dot { opacity: 0; }
.cursor.has-label { mix-blend-mode: normal; }
.cursor.has-label .cursor__ring { border-color: transparent; }
.cursor.has-label .cursor__ring::before { transform: scale(2.3); background: var(--accent); }
.cursor.has-label .cursor__label { opacity: 1; transform: none; }
.cursor.has-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { transform-origin: center; }
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor label { cursor: none; }
/* elements that set their own native cursor would otherwise show it next to the custom one */
html.has-cursor .chip input, html.has-cursor .check input, html.has-cursor .qr[disabled], html.has-cursor .btn[disabled] { cursor: none; }
html.has-cursor input:not([type=checkbox]):not([type=radio]), html.has-cursor textarea, html.has-cursor select { cursor: text; }
html.has-cursor select { cursor: pointer; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  transition: transform .6s var(--ease-out);
}
.nav::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(8, 8, 11, .62);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .4s;
}
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translate3d(0, -105%, 0); }
html.menu-open .nav { transform: none; }
html.menu-open .nav::before { opacity: 0; }
.nav__inner { position: relative; z-index: 2; display: flex; align-items: center; gap: 1.25rem; height: var(--nav-h); max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--accent); min-height: 44px; flex-shrink: 0; }
.brand__mark { transition: transform .6s var(--ease-out); }
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); }
.brand__word { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.045em; color: var(--text); line-height: 1; }
.brand__tag { display: none; margin-left: .35rem; padding-left: .85rem; border-left: 1px solid var(--line-2); font-family: var(--f-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nav__links { margin-left: auto; display: none; }
.nav__links ul { display: flex; gap: .4rem; list-style: none; }
.nav__links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem;
  font-size: .92rem; color: var(--muted); transition: color .25s;
}
.nav__links a::after {
  content: ''; position: absolute; left: .85rem; right: .85rem; bottom: 10px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__cta { margin-left: auto; display: none; }
.burger {
  position: relative; margin-left: auto; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.burger__lines { position: relative; width: 18px; height: 10px; }
.burger__lines i { position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .5s var(--ease-out), top .3s; }
.burger__lines i:first-child { top: 0; }
.burger__lines i:last-child { top: 8.5px; }
.burger[aria-expanded="true"] .burger__lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:last-child { top: 4.25px; transform: rotate(-45deg); }

.nav__social {
  display: none; place-items: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background-color .3s, color .3s, border-color .3s, transform .5s var(--ease-out);
}
.nav__social:hover, .nav__social:focus-visible { background: var(--text); border-color: var(--text); color: var(--bg); transform: rotate(-8deg); }
.nav__social:focus-visible { border-radius: 50%; }

@media (min-width: 560px) { .nav__cta { display: inline-flex; } .burger { margin-left: 0; } }
@media (min-width: 980px) {
  .nav__links { display: block; }
  .nav__social { display: grid; margin-left: .35rem; }
  .nav__cta { margin-left: .5rem; }
  .burger { display: none; }
}
/* 980–1179px: six links + LinkedIn + CTA share the bar, so links get tighter */
@media (min-width: 980px) and (max-width: 1179.98px) {
  .nav__inner { gap: .9rem; }
  .nav__links ul { gap: .1rem; }
  .nav__links a { padding: 0 .62rem; font-size: .9rem; }
  .nav__links a::after { left: .62rem; right: .62rem; }
}
/* the tagline only shows when the bar has room to spare (leaves space for the language switcher) */
@media (min-width: 1400px) { .brand__tag { display: inline-block; } }

/* ---------- Language switcher (ES · EN · RU) ----------
   Segmented control with a sliding indicator; one in the bar (all widths) and one in the mobile menu.
   Hidden without JavaScript, since switching needs assets/js/i18n.js. */
.lang {
  --lang-pad: 3px;
  position: relative; isolation: isolate; flex-shrink: 0;
  display: inline-grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: var(--lang-pad);
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
html:not(.i18n) .lang { display: none; }
.lang__ind {
  position: absolute; z-index: -1; top: var(--lang-pad); bottom: var(--lang-pad); left: var(--lang-pad);
  width: calc((100% - 2 * var(--lang-pad)) / 3);
  border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 18px -6px rgba(200, 255, 61, .7);
  transition: transform .55s var(--ease-out);
}
.lang[data-active="en"] .lang__ind { transform: translate3d(100%, 0, 0); }
.lang[data-active="ru"] .lang__ind { transform: translate3d(200%, 0, 0); }
.lang__btn {
  position: relative; display: grid; place-items: center;
  min-width: 36px; min-height: 36px; padding: 0 .5rem;
  border: 0; border-radius: 999px; background: none;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .08em; line-height: 1;
  color: var(--muted);
  transition: color .35s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.lang__btn:hover { color: var(--text); }
.lang__btn[aria-pressed="true"] { color: var(--accent-ink); }
.lang__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 999px; }
html.has-cursor .lang__btn { cursor: none; }
/* in the bar: pushed right on small screens, after the links on desktop */
.nav__inner .lang--nav { margin-left: auto; }
.lang--nav ~ .nav__cta, .lang--nav ~ .burger { margin-left: 0; }
@media (min-width: 980px) { .lang--nav ~ .nav__cta { margin-left: .5rem; } }
html.menu-open .lang--nav { visibility: hidden; opacity: 0; }
@media (min-width: 980px) { .nav__inner .lang--nav { margin-left: 0; } }
/* 980–1179px: the CTA already leads to #contacto, so the "Contacto" link steps aside for the switcher */
@media (min-width: 980px) and (max-width: 1179.98px) { .nav__links .nav__contact { display: none; } }
@media (max-width: 419.98px) {
  .nav__inner { gap: .75rem; }
  .lang--nav { --lang-pad: 2px; }
  .lang--nav .lang__btn { min-width: 32px; min-height: 34px; padding: 0 .3rem; font-size: .68rem; letter-spacing: .05em; }
}
/* in the mobile menu, with a visible label */
.menu__lang { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: 1.1rem; }
.menu__lang-label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lang--lg .lang__btn { min-width: 60px; min-height: 44px; font-size: .82rem; }

/* while i18n.js applies another language on load, keep the Spanish source out of sight (inline <head> script, 2.5 s failsafe) */
html.i18n-wait .nav__inner, html.i18n-wait main, html.i18n-wait .footer { visibility: hidden; }
/* subtle crossfade when switching language (instant under reduced motion) */
main, .footer, .nav__links, .menu__nav { transition: opacity .32s ease; }
html.lang-out main, html.lang-out .footer, html.lang-out .nav__links, html.lang-out .menu__nav { opacity: 0; transition-duration: .16s; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 2.5rem) var(--pad) calc(2rem + env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__bg {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(120% 70% at 100% 0%, rgba(139, 107, 255, .22), transparent 60%), var(--bg);
  clip-path: circle(0 at calc(100% - var(--pad) - 24px) calc(var(--nav-h) / 2));
  transition: clip-path .75s var(--ease-in-out);
}
.menu.is-open .menu__bg { clip-path: circle(150% at calc(100% - var(--pad) - 24px) calc(var(--nav-h) / 2)); }
.menu__list { list-style: none; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .55rem 0;
  font-family: var(--f-display); font-weight: 650; font-stretch: 90%;
  font-size: clamp(2.5rem, 11vw, 4.6rem); line-height: 1.05; letter-spacing: -.045em;
  transform: translate3d(0, 110%, 0);
  transition: transform .8s var(--ease-out) calc(.18s + var(--i) * .06s), color .25s;
}
.menu__list a:hover { color: var(--accent); }
.menu.is-open .menu__list a { transform: none; }
.menu__n { font-family: var(--f-mono); font-size: .78rem; font-weight: 400; letter-spacing: .08em; color: var(--accent); }
.menu__foot {
  display: flex; flex-direction: column; gap: .35rem; margin-top: 2.5rem;
  font-size: .95rem; color: var(--muted);
  opacity: 0; transform: translate3d(0, 20px, 0);
  transition: opacity .6s .5s, transform .8s var(--ease-out) .5s;
}
.menu__foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.menu__social { display: flex; flex-wrap: wrap; gap: 0 1.6rem; }
.menu__li { gap: .5rem; }
.menu__li svg { flex-shrink: 0; color: var(--accent); }
.menu.is-open .menu__foot { opacity: 1; transform: none; }
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 3rem) 0 clamp(5rem, 11vh, 8rem);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
.hero.has-webgl .hero__canvas { opacity: 1; }
.hero__fallback { position: absolute; inset: 0; overflow: hidden; transition: opacity 1.6s ease; }
.hero.has-webgl .hero__fallback { opacity: 0; }
.hero.has-webgl .hero__fallback i { animation-play-state: paused; }
.hero__fallback i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; animation: blob 18s var(--ease-in-out) infinite alternate; }
.hero__fallback i:nth-child(1) { width: 60vmax; height: 60vmax; left: -10vmax; top: -18vmax; background: radial-gradient(circle, rgba(139, 107, 255, .75), transparent 65%); }
.hero__fallback i:nth-child(2) { width: 46vmax; height: 46vmax; right: -12vmax; top: 10vmax; background: radial-gradient(circle, rgba(91, 63, 214, .7), transparent 65%); animation-duration: 22s; animation-delay: -6s; }
.hero__fallback i:nth-child(3) { width: 28vmax; height: 28vmax; left: 38%; bottom: -8vmax; background: radial-gradient(circle, rgba(200, 255, 61, .45), transparent 65%); animation-duration: 16s; animation-delay: -3s; }
@keyframes blob {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); }
  100% { transform: translate3d(-4vmax, 7vmax, 0) scale(.92); }
}
.hero__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 20% 85%, rgba(8, 8, 11, .55), transparent 70%),
    linear-gradient(to bottom, rgba(8, 8, 11, .35) 0%, transparent 25%, transparent 62%, var(--bg) 100%);
}
.hero__inner { position: relative; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  margin: 0 0 clamp(1.25rem, 3vh, 2rem);
  padding: .5rem 1rem .5rem .8rem;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(8, 8, 11, .35);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: .85rem; color: var(--text);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--accent); animation: ping 2.2s var(--ease-out) infinite; }
.hero__title {
  font-family: var(--f-display);
  font-weight: 700;
  font-stretch: 88%;
  font-size: clamp(2.85rem, .9rem + 7.6vw, 9.4rem);
  line-height: .94;
  letter-spacing: -.03em;
  margin: 0;
}
/* small phones: scale so "para tu restaurante." (longest rotator word) always fits one line,
   otherwise the hero height jumps every time the word rotates. Meets the 2.85rem minimum at 400px. */
@media (max-width: 400px) { .hero__title { font-size: calc(12.4vw - 4px); } }
/* English "for your barbershop." is a little wider; in Russian the rotating word has a line of its own
   (see hero.line2 in i18n.js) and Cyrillic set in Roboto Flex is wider, so the scale is smaller */
@media (max-width: 400px) { html:lang(en) .hero__title { font-size: calc(11.8vw - 4px); } }
html:lang(ru) .hero__title { font-size: clamp(2.3rem, .5rem + 5.6vw, 6rem); }
@media (max-width: 400px) { html:lang(ru) .hero__title { font-size: calc(9vw + 2px); } }
/* Cormorant's italic ends well short of its advance width: without the extra room the comma after
   "впечатляют" would float away from the word */
html:lang(ru) .hero__title .serif { font-size: 1.16em; padding-right: 0; margin-right: -.05em; }
.hero__line { display: block; text-wrap: balance; }
.hero__title .serif { font-size: 1.08em; line-height: .8; padding-right: .06em; color: var(--text); }
.rotator {
  position: relative; display: inline-grid; vertical-align: top;
  overflow: hidden; color: var(--accent);
  padding: 0 .02em .1em; margin: 0 -.02em -.1em;
  transition: width .7s var(--ease-out);
}
.rotator__word { grid-area: 1 / 1; white-space: nowrap; }
.rotator__word.is-in { animation: rot-in .8s var(--ease-out) both; }
.rotator__word.is-out { animation: rot-out .6s var(--ease-in-out) both; }
@keyframes rot-in { from { transform: translate3d(0, 105%, 0) rotate(6deg); opacity: 0; } to { transform: none; opacity: 1; } }
/* the outgoing word is gone (opacity 0) before it reaches the line above (line-height < 1 makes them overlap) */
@keyframes rot-out { 45% { opacity: 0; } to { transform: translate3d(0, -105%, 0) rotate(-6deg); opacity: 0; } }

.hero__bottom {
  display: grid; gap: 1.75rem; align-items: end;
  margin-top: clamp(1.75rem, 4vh, 3.25rem);
  padding-top: clamp(1.5rem, 3vh, 2.25rem);
  border-top: 1px solid var(--line-2);
}
.hero__sub { margin: 0; max-width: 46ch; font-size: clamp(1.02rem, .95rem + .35vw, 1.25rem); line-height: 1.55; color: #c9c9d1; }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__meta {
  position: absolute; right: var(--pad); top: 0;
  display: none; flex-direction: column; align-items: flex-end; gap: .35rem;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #cfcfd6;
  text-shadow: 0 1px 14px rgba(8, 8, 11, .9), 0 0 2px rgba(8, 8, 11, .8);
}
@media (min-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr auto; gap: 3rem; }
  .hero__meta { display: flex; }
}
.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(1rem, 3vh, 2rem);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  min-height: 44px; min-width: 44px;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transform: translateX(-50%);
}
.scroll-cue__line { position: relative; width: 1px; height: 44px; overflow: hidden; background: var(--line-2); }
.scroll-cue__line::after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 50%; background: var(--accent); animation: cue 1.8s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
@media (max-height: 640px), (max-width: 560px) { .scroll-cue { display: none; } }

/* ---------- Split / reveal system ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .06em .14em; margin: 0 -.06em -.14em; }
.w__i { display: inline-block; }
html.js:not(.reduced) [data-split]:not(.is-split) { visibility: hidden; }
html.js:not(.reduced) [data-split] .w__i {
  transform: translate3d(0, 115%, 0) rotate(5deg);
  transform-origin: 0 100%;
  transition: transform 1.15s var(--ease-out) calc(var(--i, 0) * 42ms + var(--d, 0s));
}
html.js:not(.reduced) [data-split].is-in .w__i { transform: none; }

/* Hero intro: pure CSS animations on the same clock as the CSS preloader.
   --intro is longer on first visit (html.intro-pre is set by the inline head script). */
html.intro-pre { --intro: 1.05s; }
@keyframes word-in { from { transform: translate3d(0, 115%, 0) rotate(5deg); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes cue-in { from { opacity: 0; transform: translate3d(-50%, 24px, 0); } to { opacity: 1; transform: translate3d(-50%, 0, 0); } }
html.js:not(.reduced) .hero__title.is-split .w__i { transition: none; animation: word-in 1.2s var(--ease-out) both; animation-delay: calc(var(--intro, .1s) + var(--i, 0) * 55ms); }
html.js:not(.reduced) [data-hero-fade] { animation: fade-up 1.1s var(--ease-out) both; animation-delay: calc(var(--intro, .1s) + var(--d, 0s)); }
html.js:not(.reduced) .scroll-cue[data-hero-fade] { animation-name: cue-in; }

html.js:not(.reduced) [data-reveal] {
  opacity: 0; transform: translate3d(0, 46px, 0);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-out) var(--d, 0s);
}
html.js:not(.reduced) [data-reveal].is-in { opacity: 1; transform: none; }

html.failsafe [data-split] { visibility: visible !important; }
html.failsafe [data-split] .w__i, html.failsafe [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem); }
.marquee__band { display: flex; overflow: hidden; width: 112%; margin-left: -6%; white-space: nowrap; }
.marquee__band--front {
  position: relative; z-index: 2;
  padding-block: clamp(.85rem, 1.6vw, 1.3rem);
  background: var(--accent); color: var(--accent-ink);
  transform: rotate(-2.4deg);
  box-shadow: 0 20px 60px -20px rgba(200, 255, 61, .45);
}
.marquee__band--back {
  position: absolute; left: 0; top: 50%;
  padding-block: .85rem;
  border-block: 1px solid var(--line-2);
  background: rgba(139, 107, 255, .08);
  color: var(--muted);
  transform: translateY(-50%) rotate(2.2deg);
}
.marquee__track { display: flex; flex-shrink: 0; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track--rev { animation-direction: reverse; animation-duration: 56s; align-items: center; }
.marquee__track--rev span { margin-right: 1.6rem; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.marquee__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); padding-right: clamp(1.25rem, 2.4vw, 2.25rem); list-style: none; }
.marquee__list li { font-family: var(--f-display); font-weight: 650; font-stretch: 90%; font-size: clamp(1.45rem, 1rem + 2.1vw, 2.9rem); letter-spacing: -.035em; line-height: 1.1; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Services ---------- */
.services { position: relative; padding-block: clamp(4rem, 9vw, 8rem); }
.services__track {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
}
.services__intro { padding-bottom: 1.5rem; }
.services__intro .h2 { max-width: 13ch; }
.services__hint { display: none; align-items: center; gap: .9rem; margin: 1rem 0 0; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.services__hint svg { animation: nudge 1.6s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }
@media (min-width: 760px) {
  .services__track { grid-template-columns: 1fr 1fr; }
  .services__intro { grid-column: 1 / -1; }
}
@media (min-width: 1180px) {
  .services__track { grid-template-columns: repeat(3, 1fr); }
  .services__intro { grid-column: span 1; }
}
/* 2-column grid: five cards would leave the last one orphaned, so it spans the row with art beside the copy */
@media (min-width: 760px) and (max-width: 1179.98px) {
  html:not(.has-hscroll) .svc:last-child {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(1.5rem, 4vw, 3rem); row-gap: 1rem; align-items: start;
  }
  html:not(.has-hscroll) .svc:last-child .svc__head { grid-column: 1 / -1; }
  html:not(.has-hscroll) .svc:last-child .svc__art { grid-column: 1; grid-row: 2 / span 3; align-self: center; margin: 0; }
  html:not(.has-hscroll) .svc:last-child .svc__title,
  html:not(.has-hscroll) .svc:last-child .svc__text,
  html:not(.has-hscroll) .svc:last-child .svc__list { grid-column: 2; }
  html:not(.has-hscroll) .svc:last-child .svc__list { margin-top: 0; }
}
.svc {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.4rem, 2.6vw, 2.25rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  transition: border-color .4s;
}
.svc::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(80% 60% at 100% 0%, rgba(139, 107, 255, .16), transparent 70%);
}
.svc:hover { border-color: rgba(200, 255, 61, .35); }
.svc--accent { background: linear-gradient(180deg, #17142a 0%, #0e0c18 100%); border-color: rgba(139, 107, 255, .3); }
.svc__head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.svc__num {
  font-family: var(--f-display); font-weight: 750; font-stretch: 85%;
  font-size: clamp(3.4rem, 2.5rem + 3vw, 6rem); line-height: .78; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .3);
  transition: color .5s var(--ease-out), -webkit-text-stroke-color .5s;
}
.svc:hover .svc__num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.svc__kicker { padding: .35rem .75rem; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc__art { position: relative; margin: .25rem 0 .5rem; }
.svc__art svg { width: 100%; height: auto; max-height: 210px; }
.svc__title { position: relative; font-family: var(--f-display); font-weight: 650; font-size: clamp(1.55rem, 1.2rem + 1vw, 2.15rem); line-height: 1.04; letter-spacing: -.035em; }
.svc__text { position: relative; margin: 0; color: var(--muted); }
.svc__list { position: relative; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: auto; padding-top: .5rem; list-style: none; }
.svc__list li { padding: .38rem .75rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .8rem; color: #d4d4db; }

/* Horizontal pinned mode (desktop, set by JS when GSAP is available) */
html.has-hscroll .services { padding-block: 0; }
html.has-hscroll .services__pin { position: relative; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
html.has-hscroll .services__track {
  display: flex; align-items: stretch; gap: 1.5rem;
  width: max-content; max-width: none; margin: 0;
  /* start where .container content starts, also on ultra-wide screens */
  padding-inline: max(var(--pad), calc((100% - var(--maxw)) / 2 + var(--pad))) 8vw;
  will-change: transform;
}
html.has-hscroll .services__intro { width: min(36vw, 600px); flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 3vw 0 0; }
html.has-hscroll .services__hint { display: inline-flex; }
html.has-hscroll .svc { width: clamp(380px, 31vw, 500px); min-height: min(66vh, 620px); flex-shrink: 0; }
html.has-hscroll .services__track { align-items: stretch; }
html.has-hscroll .svc__art svg { max-height: min(24vh, 210px); }
/* the pin is exactly one screen tall: on short screens (and with the longer Russian copy) the column
   heading and the cards scale with the viewport height so nothing is cut at the top or bottom */
html.has-hscroll .services__intro .h2 { font-size: min(clamp(2.35rem, 1.2rem + 4.6vw, 6.2rem), 9.5vh); }
html.has-hscroll:lang(ru) .services__intro .h2 { font-size: min(clamp(2.35rem, 1.2rem + 4.6vw, 6.2rem), 8vh); }
@media (max-height: 760px) {
  html.has-hscroll .svc { gap: .7rem; padding-block: 1.15rem; }
  html.has-hscroll .svc__art svg { max-height: 14vh; }
  html.has-hscroll .svc__art { margin-block: 0; }
  html.has-hscroll .services__intro .lead { font-size: 1rem; margin-bottom: .75rem; }
  html.has-hscroll .services__intro .eyebrow { margin-bottom: 1rem; }
  html.has-hscroll:lang(ru) .svc__title { font-size: clamp(1.35rem, 1.05rem + .9vw, 1.9rem); }
  html.has-hscroll:lang(ru) .svc__text { font-size: .9rem; line-height: 1.5; }
}
.services__bar { display: none; }
html.has-hscroll .services__bar {
  display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(1.5rem, 5vh, 3rem);
  height: 1px; background: var(--line-2);
}
html.has-hscroll .services__bar span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--accent); }

/* SVG illustration primitives */
.ill .s { fill: none; stroke: rgba(255, 255, 255, .32); stroke-width: 1.5; }
.ill .s-acc { fill: none; stroke: var(--accent); stroke-width: 2; }
.ill .s-faint { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 1; }
.ill .f-dim { fill: rgba(255, 255, 255, .13); }
.ill .f-white { fill: #fff; }
.ill .f-acc { fill: var(--accent); }
.ill .f-acc-dim { fill: rgba(200, 255, 61, .55); }
.ill .f-violet { fill: var(--violet); }
.ill .f-violet-dim { fill: rgba(139, 107, 255, .35); }
.ill * { transform-box: fill-box; transform-origin: center; }
.ill-grow { transform-origin: left center !important; animation: grow 3.2s var(--ease-in-out) infinite alternate; }
@keyframes grow { from { transform: scaleX(.55); } to { transform: scaleX(1); } }
.ill-float { animation: floaty 4s var(--ease-in-out) infinite alternate; }
@keyframes floaty { to { transform: translateY(-8px); } }
.ill-cursor { animation: cursor-move 4s var(--ease-in-out) infinite; }
@keyframes cursor-move { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-36px, -6px); } 55% { transform: translate(-36px, -6px) scale(.85); } 65% { transform: translate(-36px, -6px); } }
.ill-pop { animation: pop 4.8s var(--ease-out) infinite; animation-delay: calc(var(--k) * .5s); }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 12%, 85% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.ill-dot { animation: dot-bounce 1.2s var(--ease-in-out) infinite; animation-delay: calc(var(--k) * .15s); }
@keyframes dot-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
.ill-blink { animation: blink-cell 2.4s steps(1) infinite; }
@keyframes blink-cell { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .25; } }
.ill-flow { stroke-dasharray: 6 6; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -24; } }
.ill-spark { animation: spark 2.6s var(--ease-in-out) infinite; }
@keyframes spark { 50% { transform: rotate(90deg) scale(1.25); } }
.ill .ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: 0; animation: ring 3s var(--ease-out) infinite; }
.ill .ring--2 { animation-delay: 1s; }
.ill .ring--3 { animation-delay: 2s; }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(5.5); opacity: 0; } }
.ill-pin { animation: pin-drop 3s var(--ease-out) infinite; }
@keyframes pin-drop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.ill-orbit { transform-origin: 120px 85px !important; transform-box: view-box !important; animation: orbit 14s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.ill-check { stroke-dasharray: 1; stroke-dashoffset: 1; animation: check-draw 3.5s var(--ease-out) infinite; }
@keyframes check-draw { 0%, 15% { stroke-dashoffset: 1; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* ---------- Bot demo ---------- */
.botdemo { overflow: hidden; }
.botdemo__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(min(60vw, 900px) min(50vw, 700px) at 78% 50%, rgba(139, 107, 255, .2), transparent 70%);
}
.botdemo__grid { position: relative; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1000px) { .botdemo__grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 410px); gap: clamp(4rem, 8vw, 9rem); } }
.ticks { list-style: none; display: grid; gap: .8rem; margin: 2rem 0 2.5rem; }
.ticks li { position: relative; padding-left: 2.1rem; color: #d6d6dd; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .15em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%23c8ff3d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 70% no-repeat;
}
.notify { max-width: 460px; }
.notify__label { margin: 0 0 .75rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.notify__card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.15rem;
  border: 1px solid var(--line-2); border-radius: 22px;
  background: rgba(255, 255, 255, .045);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: border-color .5s, box-shadow .6s;
}
.notify__card.is-new { border-color: rgba(200, 255, 61, .6); box-shadow: 0 0 0 4px rgba(200, 255, 61, .08), 0 20px 60px -20px rgba(200, 255, 61, .45); animation: notify-pop .7s var(--ease-out); }
@keyframes notify-pop { 0% { transform: translateY(14px) scale(.97); opacity: .4; } 100% { transform: none; opacity: 1; } }
.notify__icon { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.notify__body { min-width: 0; }
.notify__app { margin: 0 0 .15rem; font-size: .76rem; color: var(--muted); }
.notify__title { margin: 0 0 .15rem; font-weight: 600; }
.notify__text { margin: 0; font-size: .9rem; color: #c9c9d1; }

.botdemo__phone { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.botdemo__note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.phone { position: relative; width: min(100%, 390px); }
.phone::before {
  content: ''; position: absolute; inset: 8% -10% -4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 107, 255, .45), transparent);
  filter: blur(30px);
}
.phone__frame {
  position: relative;
  height: clamp(600px, 82vh, 760px);
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(150deg, #34343f 0%, #15151b 40%, #0b0b0f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 0 0 3px #050507, 0 50px 100px -30px rgba(0, 0, 0, .85);
}
.phone__island { position: absolute; left: 50%; top: 22px; z-index: 5; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.phone__status {
  position: absolute; left: 11px; right: 11px; top: 11px; z-index: 4;
  display: flex; align-items: center; justify-content: space-between;
  height: 48px; padding: 0 30px 0 34px;
  font-size: .82rem; font-weight: 600; color: #fff;
}
.phone__icons { display: flex; align-items: center; gap: 6px; }
.chat {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 44px;
  background-color: #0b1217;
  background-image:
    radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1.5px),
    radial-gradient(120% 60% at 50% 0%, rgba(139, 107, 255, .14), transparent 60%);
  background-size: 18px 18px, 100% 100%;
}
.chat__head {
  display: flex; align-items: center; gap: .7rem;
  padding: 54px 14px 12px 16px;
  background: rgba(20, 28, 34, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.chat__avatar {
  display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), #ff9bd2); color: #fff;
  font-family: var(--f-serif); font-style: italic; font-size: 1.35rem;
}
.chat__who { min-width: 0; flex: 1; }
.chat__name { margin: 0; font-weight: 600; font-size: .95rem; line-height: 1.2; }
.chat__state { display: flex; align-items: center; gap: .35rem; margin: 0; font-size: .74rem; color: #9fb1ba; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__online { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; flex-shrink: 0; }
.chat__restart {
  display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .05); color: #dfe7ea;
  transition: background-color .25s, transform .5s var(--ease-out);
}
.chat__restart:hover { background: rgba(255, 255, 255, .12); transform: rotate(-120deg); }
.chat__log {
  flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: .5rem;
  padding: 16px 12px 12px;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent;
}
.chat__log:focus-visible { outline-offset: -3px; }
.chat__day { align-self: center; margin: .25rem 0 .5rem; padding: .3rem .7rem; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: .7rem; color: #9fb1ba; }
.msg {
  position: relative; max-width: 84%;
  padding: .55rem .8rem .5rem;
  border-radius: 16px;
  font-size: .9rem; line-height: 1.42;
  animation: msg-in .5s var(--ease-out) both;
  overflow-wrap: anywhere;
}
.msg p { margin: 0; }
.msg p + p { margin-top: .35rem; }
.msg time { display: block; margin-top: .15rem; text-align: right; font-size: .66rem; opacity: .6; }
.msg--bot { align-self: flex-start; background: #1d2a33; color: #eef3f5; border-top-left-radius: 5px; transform-origin: 0 100%; }
.msg--user { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-top-right-radius: 5px; transform-origin: 100% 100%; font-weight: 500; }
.msg--user time { opacity: .7; }
.msg--card { max-width: 92%; padding: 0; background: transparent; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: 4px; padding: .8rem .95rem; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: #9fb1ba; animation: dot-bounce 1.1s var(--ease-in-out) infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.chat__controls {
  display: flex; flex-wrap: wrap; gap: .45rem;
  min-height: 72px;
  padding: 12px 12px 22px;
  background: rgba(20, 28, 34, .94);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.chat__controls:empty::before { content: ''; display: block; height: 44px; }
.chat__controls--grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.chat__controls--two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.chat__controls--days { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.qr {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  min-height: 44px; padding: .45rem .85rem;
  border: 1px solid rgba(200, 255, 61, .45); border-radius: 999px;
  background: rgba(200, 255, 61, .06); color: var(--accent);
  font-size: .84rem; font-weight: 500; line-height: 1.15; text-align: center;
  animation: msg-in .45s var(--ease-out) both; animation-delay: calc(var(--k, 0) * 45ms);
  transition: background-color .2s, color .2s, transform .2s;
}
.qr span { display: block; }
.qr small { display: block; font-size: .7rem; font-weight: 400; opacity: .75; }
.qr--stack { flex-direction: column; gap: 0; border-radius: 14px; padding: .4rem .3rem; }
.qr:hover:not([disabled]) { background: var(--accent); color: var(--accent-ink); }
.qr:active:not([disabled]) { transform: scale(.96); }
.qr[disabled] { cursor: not-allowed; border-color: rgba(255, 255, 255, .1); background: transparent; color: rgba(255, 255, 255, .35); text-decoration: line-through; }
.chat__form { display: flex; flex-wrap: wrap; gap: .5rem; width: 100%; }
.chat__input {
  flex: 1; min-width: 0; min-height: 46px; padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px;
  background: #1d2a33; color: #fff; font-size: .95rem;
}
.chat__input::placeholder { color: #8a9ba3; }
.chat__input:focus { border-color: var(--accent); }
.chat__input[aria-invalid="true"] { border-color: var(--danger); }
.chat__send { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-ink); transition: transform .3s var(--ease-out); }
.chat__send:hover { transform: scale(1.06); }
.chat__hint { width: 100%; margin: .1rem .5rem 0; font-size: .76rem; color: var(--danger); }
.chat__hint:empty { display: none; }
.chat__again { width: 100%; }

.confirm {
  padding: 1.1rem 1rem 1rem;
  border-radius: 18px; border-top-left-radius: 5px;
  background: linear-gradient(160deg, #1f2f24 0%, #16222a 100%);
  border: 1px solid rgba(200, 255, 61, .35);
  color: #eef3f5;
}
.confirm__check { width: 52px; height: 52px; margin: 0 auto .6rem; }
.confirm__check circle { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .7s var(--ease-out) .1s forwards; transform: rotate(-90deg); transform-box: fill-box; transform-origin: center; }
.confirm__check circle { stroke-linecap: round; }
.confirm__check path { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .45s var(--ease-out) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.confirm__title { margin: 0 0 .7rem; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.confirm__dl { display: grid; gap: .3rem; margin: 0 0 .75rem; padding: .7rem .8rem; border-radius: 12px; background: rgba(0, 0, 0, .25); font-size: .82rem; }
.confirm__dl div { display: flex; justify-content: space-between; gap: .75rem; }
.confirm__dl dt { color: #9fb1ba; }
.confirm__dl dd { margin: 0; font-weight: 600; text-align: right; }
.confirm__extra { margin: .3rem 0 0; font-size: .8rem; color: #d8f7a0; }
.phone__confetti { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; pointer-events: none; border-radius: 54px; }

/* ---------- Demos ---------- */
.demos__grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
@media (min-width: 860px) { .demos__grid { grid-template-columns: 1fr 1fr; } .demo-card--wide { grid-column: 1 / -1; } }
.demo-card {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; gap: 1.5rem;
  padding: clamp(.85rem, 1.6vw, 1.35rem);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface);
  transition: border-color .4s;
}
.demo-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(200, 255, 61, .13), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.demo-card:hover { border-color: rgba(200, 255, 61, .4); }
.demo-card:hover::before { opacity: 1; }
@media (min-width: 1100px) {
  .demo-card--wide { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); }
  .demo-card--wide .demo-card__title { font-size: clamp(2.6rem, 1.5rem + 2.6vw, 4.6rem); }
}
.demo-card__frame {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 16px;
  background: #0c0c10;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .8s var(--ease-out), box-shadow .6s;
  will-change: transform;
}
.demo-card.is-tilting .demo-card__frame { transition: transform .15s linear; }
.demo-card:hover .demo-card__frame { box-shadow: 0 50px 100px -40px rgba(139, 107, 255, .55); }
.demo-card__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #15151b; }
.demo-card__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.demo-card__bar i:first-child { background: #ff5f57; }
.demo-card__bar i:nth-child(2) { background: #febc2e; }
.demo-card__bar i:nth-child(3) { background: #28c840; }
.demo-card__bar span { flex: 1; min-width: 0; margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); font-family: var(--f-mono); font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.demo-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.demo-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease-out); }
.demo-card:hover .demo-card__media img { transform: scale(1.04); }
.demo-card__media.is-fallback img { display: none; }
.demo-card__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1.5rem; text-align: center; }
.demo-card__ph span { font-size: clamp(1.8rem, 1rem + 3vw, 4rem); line-height: .95; }
.demo-card__ph small { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .8; }
.demo-card__ph--fuego {
  background: radial-gradient(60% 70% at 25% 80%, rgba(255, 122, 24, .75), transparent 60%), radial-gradient(50% 60% at 85% 15%, rgba(179, 38, 30, .7), transparent 60%), #1a0c07;
  color: #ffe9d2;
}
.demo-card__ph--fuego span { font-family: var(--f-serif); font-style: italic; font-size: clamp(2.4rem, 1rem + 4.5vw, 5.5rem); }
.demo-card__ph--navaja {
  background: radial-gradient(60% 60% at 50% 40%, rgba(214, 170, 92, .28), transparent 70%), repeating-linear-gradient(135deg, #121212 0 16px, #171717 16px 32px);
  color: #e8c98a;
}
.demo-card__ph--navaja span { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: .02em; }
.demo-card__ph--lumen { background: radial-gradient(70% 70% at 70% 20%, #ffffff, transparent 60%), linear-gradient(135deg, #dff0ff 0%, #a9d6ff 55%, #78b8f5 100%); color: #0b2a4a; }
.demo-card__ph--lumen span { font-family: var(--f-display); font-weight: 600; letter-spacing: -.03em; }
.demo-card__spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(380px circle at var(--fx, 50%) var(--fy, 50%), rgba(255, 255, 255, .14), transparent 50%); opacity: 0; transition: opacity .4s; mix-blend-mode: overlay; }
.demo-card:hover .demo-card__spot { opacity: 1; }
.demo-card__body { padding: 0 .4rem .4rem; }
.demo-card__kind { margin: 0 0 .5rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.demo-card__title { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.9rem, 1.3rem + 1.8vw, 3rem); line-height: 1; letter-spacing: -.04em; margin-bottom: .75rem; }
.demo-card__pitch { margin: 0 0 1.1rem; color: var(--muted); font-size: 1.05rem; max-width: 40ch; }
.demo-card__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; list-style: none; }
.demo-card__tags li { padding: .32rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .78rem; color: #d4d4db; }
.demo-card__cta { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line-2); transition: color .25s, gap .4s var(--ease-out), border-color .25s; }
.demo-card:hover .demo-card__cta { color: var(--accent); gap: .9rem; border-color: var(--accent); }

/* ---------- Real work (Garbo, Carbon + AI cases) ---------- */
.worksec__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(min(70vw, 1000px) min(45vw, 700px) at 12% 22%, rgba(139, 107, 255, .13), transparent 70%),
    radial-gradient(min(60vw, 900px) min(40vw, 600px) at 92% 52%, rgba(200, 255, 61, .05), transparent 70%);
}
.work-list { position: relative; display: grid; gap: clamp(5rem, 11vw, 10rem); }
.work { --par: 0; position: relative; display: grid; gap: clamp(2.25rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 1000px) {
  .work { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(3rem, 6vw, 6.5rem); }
  .work--flip { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .work--flip .work__stage { order: 2; }
}

/* stage = perspective box (receives the pointer); rig = tilting group (browser + phone + chips) */
.work__stage { position: relative; perspective: 1600px; }
.work__rig {
  position: relative;
  padding: 0 9% 15% 0;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .9s var(--ease-out);
}
.work--flip .work__rig { padding: 0 0 15% 9%; }
.work.is-tilting .work__rig { transition: transform .15s linear; }

.work__browser {
  position: relative; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: #0c0c10;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95);
  transform: translate3d(0, calc(var(--par) * 18px), 0);
  transition: box-shadow .6s;
}
.work__stage:hover .work__browser { box-shadow: 0 60px 120px -40px rgba(139, 107, 255, .55); }
.work__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #15151b; }
.work__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); flex-shrink: 0; }
.work__bar i:first-child { background: #ff5f57; }
.work__bar i:nth-child(2) { background: #febc2e; }
.work__bar i:nth-child(3) { background: #28c840; }
.work__bar span { flex: 1; min-width: 0; margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); font-family: var(--f-mono); font-size: .68rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.work__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0c0c10; }
/* the image keeps its natural height: on hover JS measures the overflow (--dist) and scrolls through it */
.work__screen img {
  position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none;
  transform: translate3d(0, 0, 0);
  transition: transform 1.2s var(--ease-in-out);
}
.work.is-scrolling .work__screen img { transform: translate3d(0, calc(-1 * var(--dist, 0px)), 0); transition: transform var(--dur, 6s) cubic-bezier(.45, .05, .55, .95) .25s; }
.work__spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--fx, 50%) var(--fy, 50%), rgba(255, 255, 255, .16), transparent 50%); opacity: 0; transition: opacity .4s; mix-blend-mode: overlay; }
.work.is-tilting .work__spot { opacity: 1; }

/* branded placeholder: visible while the screenshot loads, or if it fails */
.work__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 650; letter-spacing: -.04em; font-size: clamp(1.4rem, .8rem + 3vw, 3.6rem); }
.work__ph--garbo { background: radial-gradient(60% 70% at 70% 30%, rgba(200, 255, 61, .35), transparent 60%), #f4f3ee; color: #111; }
.work__ph--carbon { background: radial-gradient(60% 70% at 30% 70%, rgba(214, 186, 120, .3), transparent 60%), #0b0b0d; color: #e9dcb8; letter-spacing: .3em; font-weight: 300; text-transform: uppercase; }
.work__phone-screen .work__ph { font-size: clamp(.8rem, .5rem + 1vw, 1.3rem); }
.is-fallback > img, .is-fallback > picture { display: none; }

.work__phone {
  position: absolute; right: 0; bottom: 0; z-index: 2;
  width: 25%;
  padding: 1%;
  border-radius: 17% / 8%;
  background: linear-gradient(150deg, #3a3a46 0%, #17171d 45%, #0b0b0f 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 2px #050507, 0 40px 70px -24px rgba(0, 0, 0, .95);
  transform: translate3d(0, calc(var(--par) * -44px), 60px);
}
.work--flip .work__phone { right: auto; left: 0; }
.work__phone::after { content: ''; position: absolute; right: -2px; top: 22%; width: 3px; height: 12%; border-radius: 3px; background: #2a2a33; }
.work--flip .work__phone::after { right: auto; left: -2px; }
.work__phone-screen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 14% / 6.5%; background: #000; }
.work__phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.work__chip {
  position: absolute; z-index: 3;
  padding: .45rem .8rem; border-radius: 999px;
  font-family: var(--f-mono); font-size: clamp(.62rem, .56rem + .22vw, .76rem); letter-spacing: .06em; white-space: nowrap;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translate3d(0, calc(var(--par) * -24px), 90px);
  animation: chip-float 3.6s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}
@keyframes chip-float { to { translate: 0 -8px; } }
.work__chip--a { left: -2%; top: 12%; background: rgba(8, 8, 11, .82); border: 1px solid rgba(200, 255, 61, .55); color: var(--accent); }
.work__chip--a::before { content: '✓ '; }
/* straddles the bottom edge of the browser frame (~80% of the rig height at any width) */
.work__chip--b { left: 7%; top: 76%; background: rgba(139, 107, 255, .9); color: #fff; animation-delay: -1.8s; }
.work--flip .work__chip--a { left: auto; right: -2%; }
.work--flip .work__chip--b { left: auto; right: 7%; }
@media (max-width: 699.98px) {
  .work__chip--a { left: 2%; }
  .work--flip .work__chip--a { right: 2%; }
}
.work__hit { position: absolute; inset: 0; z-index: 5; border-radius: 18px; }

.work__copy { position: relative; }
.work__kind { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .9rem; margin: 0 0 1.1rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.work__num { font-family: var(--f-display); font-weight: 750; font-stretch: 85%; font-size: 2.7rem; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); }
.work__title { font-family: var(--f-display); font-weight: 650; font-stretch: 92%; font-size: clamp(2.8rem, 1.6rem + 3.4vw, 5.2rem); line-height: .95; letter-spacing: -.04em; margin: 0 0 .9rem; }
.work__pitch { margin: 0 0 1rem; max-width: 28ch; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.2rem, 1rem + .6vw, 1.55rem); line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
/* Garbo: highlighted credential line under the pitch */
.work__trust {
  display: flex; align-items: flex-start; gap: .65rem; width: fit-content; max-width: 54ch;
  margin: 0 0 1.1rem; padding: .6rem 1rem .6rem .75rem;
  border: 1px solid rgba(200, 255, 61, .38); border-radius: 12px; background: rgba(200, 255, 61, .06);
  color: var(--text); font-size: .98rem; font-weight: 500; line-height: 1.4; text-wrap: pretty;
}
.work__trust::before {
  content: ''; flex: none; width: 1.2rem; height: 1.2rem; margin-top: .05em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2.8l7.2 3v5.4c0 4.6-3 8.4-7.2 10-4.2-1.6-7.2-5.4-7.2-10V5.8z' fill='none' stroke='%23c8ff3d' stroke-width='1.9' stroke-linejoin='round'/><path d='M8.8 12.2l2.2 2.2 4.2-4.6' fill='none' stroke='%23c8ff3d' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.work__desc { margin: 0 0 1.75rem; max-width: 54ch; color: var(--muted); }
.work__h { margin: 0 0 .9rem; font-family: var(--f-mono); font-size: .72rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.work__did { list-style: none; display: grid; gap: .7rem; margin: 0 0 1.6rem; }
.work__did li { position: relative; padding-left: 1.9rem; color: #d6d6dd; }
.work__did li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%23c8ff3d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 70% no-repeat;
}
.work__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 2rem; list-style: none; }
.work__tags li { padding: .35rem .75rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .78rem; color: #d4d4db; }

.work-more { position: relative; margin-top: clamp(6rem, 12vw, 11rem); }
.work-more__head { display: grid; gap: 1.25rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1000px) { .work-more__head { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); } }
.work-more__title { font-family: var(--f-display); font-weight: 650; font-stretch: 92%; font-size: clamp(2rem, 1.1rem + 3vw, 4rem); line-height: 1; letter-spacing: -.035em; text-wrap: balance; }
.work-more__title .serif { color: var(--accent); font-size: 1.06em; line-height: .9; padding-right: .04em; }
.work-more__head .lead { margin: 0; }

/* ---------- Cases ---------- */
.cases__grid { display: grid; gap: clamp(1.25rem, 2.4vw, 2rem); }
@media (min-width: 980px) { .cases__grid { grid-template-columns: 1fr 1fr; } }
.case { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .4s; }
.case:hover { border-color: rgba(139, 107, 255, .45); }
.case__visual { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); container-type: inline-size; }
.case__body { padding: clamp(1.4rem, 3vw, 2.5rem); }
.case__client { margin: 0 0 .7rem; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.case__title { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.2rem); line-height: 1.06; letter-spacing: -.035em; margin-bottom: 1rem; }
.case__body > p:not(.case__client) { color: var(--muted); }
.case__tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.25rem; list-style: none; }
.case__tags li { padding: .35rem .75rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: .78rem; color: #d4d4db; }

.case__visual--redact { background: radial-gradient(70% 90% at 50% 100%, rgba(139, 107, 255, .3), transparent 70%), #0f0e17; }
.doc { position: absolute; left: 50%; top: 12%; width: 50%; height: 100%; border-radius: 10px; background: #f3f2ee; box-shadow: 0 20px 50px rgba(0, 0, 0, .55); }
.doc--back { transform: translateX(-50%) rotate(-8deg) translate(-12%, 4%); opacity: .35; }
.doc--mid { transform: translateX(-50%) rotate(5deg) translate(10%, 2%); opacity: .6; }
.doc--front { transform: translateX(-50%); display: flex; flex-direction: column; gap: 3.2cqi; padding: 6cqi 5cqi; overflow: hidden; }
.doc__title { width: 55%; height: 2.6cqi; border-radius: 2px; background: #1b1b22; }
.doc__line { display: flex; align-items: center; gap: 1.4cqi; height: 2.2cqi; }
.doc__line i { height: 1.3cqi; border-radius: 2px; background: #c9c7c0; }
.doc__line .w20 { width: 20%; } .doc__line .w25 { width: 25%; } .doc__line .w30 { width: 30%; } .doc__line .w35 { width: 35%; } .doc__line .w45 { width: 45%; } .doc__line .w60 { width: 60%; } .doc__line .w70 { width: 70%; } .doc__line .w80 { width: 80%; }
.pii { position: relative; flex-shrink: 0; font-family: var(--f-mono); font-weight: 500; font-size: max(7px, 1.75cqi); line-height: 1; color: #1b1b22; white-space: nowrap; }
.pii::after {
  content: ''; position: absolute; inset: -.25em -.3em; border-radius: 2px;
  background: #111; box-shadow: inset 0 0 0 1px rgba(200, 255, 61, .8);
  transform: scaleX(0); transform-origin: 0 50%;
  animation: redact 6s var(--ease-out) infinite; animation-delay: calc(.6s + var(--k) * .42s);
}
@keyframes redact { 0%, 8% { transform: scaleX(0); } 16%, 82% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
.doc__scan { position: absolute; left: 0; right: 0; top: 0; height: 22%; background: linear-gradient(to bottom, transparent, rgba(200, 255, 61, .28) 85%, var(--accent)); animation: scan 3s var(--ease-in-out) infinite alternate; pointer-events: none; }
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(420%); } }
.case__chip {
  position: absolute; padding: .4rem .75rem; border-radius: 999px;
  font-family: var(--f-mono); font-size: max(9px, 1.7cqi); letter-spacing: .06em; white-space: nowrap;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: floaty 3.4s var(--ease-in-out) infinite alternate;
}
.case__chip--a { left: 5%; top: 16%; background: rgba(8, 8, 11, .8); border: 1px solid rgba(200, 255, 61, .55); color: var(--accent); }
.case__chip--b { right: 5%; bottom: 14%; background: rgba(139, 107, 255, .85); color: #fff; animation-delay: -1.5s; }

.case__visual--contract { background: radial-gradient(80% 90% at 100% 50%, rgba(200, 255, 61, .12), transparent 60%), radial-gradient(60% 80% at 0% 50%, rgba(139, 107, 255, .2), transparent 70%), #0f0e17; }
.src {
  position: absolute; left: 6%; width: 32%; height: 18%;
  display: flex; flex-direction: column; justify-content: center; gap: 1.1cqi;
  padding: 0 3cqi; border-radius: 12px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05);
  animation: src-glow 4.5s var(--ease-in-out) infinite;
}
/* longer labels (Collective agreement, Коллективный договор) wrap to a second line on small cards instead of being cut */
.src b { font-size: max(9px, 2cqi); font-weight: 600; line-height: 1.12; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.src i { height: .9cqi; width: 70%; border-radius: 2px; background: rgba(255, 255, 255, .15); }
.src i + i { width: 45%; }
.src--1 { top: 12%; }
.src--2 { top: 41%; animation-delay: .4s; }
.src--3 { top: 70%; animation-delay: .8s; }
@keyframes src-glow { 0%, 100% { border-color: var(--line-2); } 20% { border-color: rgba(139, 107, 255, .9); box-shadow: 0 0 20px rgba(139, 107, 255, .35); } }
.flows { position: absolute; inset: 0; width: 100%; height: 100%; }
.flows path { fill: none; stroke: rgba(200, 255, 61, .75); stroke-width: 1.5; stroke-dasharray: .04 .04; animation: flow-path 1.6s linear infinite; }
@keyframes flow-path { to { stroke-dashoffset: -.16; } }
.contract {
  position: absolute; right: 8%; top: 13%; width: 38%; height: 74%;
  display: flex; flex-direction: column; gap: 2.2cqi;
  padding: 4cqi 3.4cqi;
  border-radius: 12px; background: #f3f2ee; color: #1b1b22;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}
.contract b { font-family: var(--f-display); font-size: max(9px, 2.2cqi); font-weight: 700; letter-spacing: -.02em; }
.contract i { height: 1.2cqi; border-radius: 2px; background: #c9c7c0; transform-origin: 0 50%; animation: write 4.5s var(--ease-out) infinite; }
.contract i:nth-of-type(2) { width: 85%; animation-delay: .15s; }
.contract i:nth-of-type(3) { width: 92%; animation-delay: .3s; }
.contract i:nth-of-type(4) { width: 70%; animation-delay: .45s; }
.contract i:nth-of-type(5) { width: 55%; animation-delay: .6s; }
@keyframes write { 0%, 10% { transform: scaleX(0); } 35%, 90% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.contract__stamp {
  position: absolute; right: -8%; bottom: 10%;
  padding: .45em .8em; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--f-mono); font-size: max(9px, 1.8cqi); font-weight: 500; white-space: nowrap;
  animation: stamp 4.5s var(--ease-out) infinite;
}
@keyframes stamp { 0%, 40% { transform: scale(0) rotate(-12deg); } 50%, 90% { transform: scale(1) rotate(-6deg); } 100% { transform: scale(0); } }

.cases__more { display: grid; gap: 1.25rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding: clamp(1.4rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(90deg, rgba(139, 107, 255, .08), transparent 60%); }
@media (min-width: 900px) { .cases__more { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.cases__more p { margin: 0; color: var(--muted); }
.cases__more-k { display: block; margin-bottom: .35rem; font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; color: var(--text); }

/* ---------- Process ---------- */
.process__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) {
  .process__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(4rem, 8vw, 9rem); align-items: start; }
  .process__side { position: sticky; top: calc(var(--nav-h) + 4rem); }
}
.steps-wrap { --p: 0; position: relative; }
html:not(.js) .steps-wrap, html.reduced .steps-wrap, html.failsafe .steps-wrap { --p: 1; }
.steps__line { position: absolute; left: 23px; top: 38px; bottom: 60px; width: 4px; }
.steps__line svg { width: 100%; height: 100%; overflow: visible; }
.steps__track, .steps__fill { fill: none; stroke-width: 2; }
.steps__track { stroke: var(--line-2); }
.steps__fill { stroke: var(--accent); stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--p)); filter: drop-shadow(0 0 5px rgba(200, 255, 61, .7)); }
.steps__head { position: absolute; left: 50%; top: calc(var(--p) * 100%); width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(200, 255, 61, .15), 0 0 24px 4px rgba(200, 255, 61, .55); transform: translate(-50%, -50%); }
.steps { list-style: none; display: grid; }
.step { position: relative; display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); padding: 1.6rem 0 2.6rem; }
.step__dot { position: relative; z-index: 1; justify-self: center; width: 18px; height: 18px; margin-top: 1.25rem; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); transition: border-color .4s, background-color .4s, box-shadow .4s; }
.step.is-active .step__dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 18px rgba(200, 255, 61, .6); }
.step__n { position: absolute; right: 0; top: .6rem; font-family: var(--f-display); font-weight: 750; font-stretch: 85%; font-size: clamp(3.4rem, 2.6rem + 3vw, 6rem); line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14); transition: -webkit-text-stroke-color .5s; pointer-events: none; }
.step.is-active .step__n { -webkit-text-stroke-color: rgba(200, 255, 61, .55); }
.step__body { grid-column: 2; padding-right: clamp(3.5rem, 8vw, 7rem); }
.step__title { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 .65rem; }
.step__body p { margin: 0 0 .9rem; color: var(--muted); max-width: 48ch; }
.step__when { display: inline-block; padding: .3rem .7rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; }

/* ---------- Pricing ---------- */
.pricing { overflow: hidden; }
.pricing__glow { position: absolute; left: 50%; top: 40%; width: 90vmax; height: 60vmax; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(closest-side, rgba(139, 107, 255, .16), transparent); }
.plans { position: relative; display: grid; gap: 1.25rem; align-items: stretch; max-width: 1280px; margin-inline: auto; }
@media (min-width: 1000px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.plan {
  position: relative; isolation: isolate;
  padding: 1px; border-radius: 30px;
  background: conic-gradient(from var(--ang), rgba(255, 255, 255, .1) 0deg, rgba(255, 255, 255, .1) 200deg, rgba(139, 107, 255, .8) 280deg, rgba(200, 255, 61, .9) 330deg, rgba(255, 255, 255, .1) 360deg);
  animation: ang 9s linear infinite;
}
@keyframes ang { to { --ang: 360deg; } }
.plan::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: inherit; filter: blur(22px); opacity: .25;
}
.plan:nth-child(3) { animation-delay: -4.5s; }
.plan--featured { background: conic-gradient(from var(--ang), rgba(139, 107, 255, .5) 0deg, var(--violet) 90deg, var(--accent) 180deg, var(--violet) 270deg, rgba(139, 107, 255, .5) 360deg); animation-duration: 5s; }
.plan--featured::after { opacity: .5; filter: blur(34px); }
@media (min-width: 1000px) { .plan--featured { transform: translateY(-14px); } }
.plan__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 29px;
  background: linear-gradient(180deg, #14141b 0%, #0c0c10 100%);
}
.plan--featured .plan__inner { background: linear-gradient(180deg, #19162b 0%, #0d0c14 100%); }
.plan__badge { position: absolute; right: 1.4rem; top: 1.4rem; margin: 0; padding: .35rem .75rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-family: var(--f-mono); font-size: .7rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.plan__name { font-family: var(--f-display); font-weight: 650; font-size: 1.6rem; letter-spacing: -.03em; }
.plan__for { margin: 0; color: var(--muted); }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .4rem; margin: .4rem 0 .6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.plan__from { font-family: var(--f-mono); font-size: .78rem; color: var(--muted); }
/* en-GB writes the euro sign first (€1,490): main.js moves it before the amount (Intl) */
.plan__price.is-cur-first .plan__cur { margin-right: -.3rem; }
.plan__amount { font-family: var(--f-display); font-weight: 700; font-stretch: 88%; font-size: clamp(3.2rem, 2.4rem + 2.6vw, 4.6rem); line-height: 1; letter-spacing: -.035em; }
.plan__cur { font-family: var(--f-display); font-size: 1.8rem; font-weight: 600; }
.plan__plus { flex-basis: 100%; font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; color: var(--accent); }
.plan__list { list-style: none; display: grid; gap: .7rem; margin-bottom: 1.6rem; }
.plan__list li { position: relative; padding-left: 1.9rem; color: #d6d6dd; font-size: .97rem; }
.plan__list li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 12.5l4 4 8-9' fill='none' stroke='%23c8ff3d' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 70% no-repeat;
}
.plan .btn { margin-top: auto; }
.plans__note { margin: 2.5rem auto 0; max-width: 70ch; text-align: center; font-size: .92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) {
  .faq__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(4rem, 8vw, 9rem); align-items: start; }
  .faq__side { position: sticky; top: calc(var(--nav-h) + 4rem); }
}
.accordion { border-top: 1px solid var(--line-2); }
.acc { border-bottom: 1px solid var(--line-2); }
.acc__h { margin: 0; }
.acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: 100%; min-height: 64px; padding: 1.35rem 0;
  border: 0; background: none; text-align: left;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.12rem, 1rem + .55vw, 1.45rem); letter-spacing: -.02em; line-height: 1.25;
  transition: color .25s;
}
.acc__btn:hover { color: var(--accent); }
.acc__icon { position: relative; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; transition: background-color .35s, border-color .35s, transform .5s var(--ease-out); }
.acc__icon::before, .acc__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease-out); }
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(180deg); }
.acc.is-open .acc__icon::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .55s var(--ease-out); }
.acc__inner { min-height: 0; overflow: hidden; }
.acc__inner p { margin: 0; padding: 0 3.5rem 1.6rem 0; color: var(--muted); max-width: 64ch; }
.accordion.is-enhanced .acc:not(.is-open) .acc__panel { grid-template-rows: 0fr; }
.accordion.is-enhanced .acc:not(.is-open) .acc__inner { visibility: hidden; transition: visibility 0s linear .55s; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.kinetic {
  margin: 0 0 clamp(2.5rem, 6vw, 5rem);
  font-family: var(--f-display); font-weight: 700; font-stretch: 82%;
  font-size: calc(clamp(3.4rem, .6rem + 17vw, 19rem) * var(--kfit, 1)); line-height: .86; letter-spacing: -.018em;
  white-space: nowrap;
}
.kinetic .k-wrap { display: inline-block; }
.kinetic .ch { display: inline-block; transform-origin: 50% 100%; transition: transform .7s var(--ease-out), color .4s; will-change: transform; }
.kinetic .ch.is-hot { color: var(--accent); }
/* punctuation (¿ ? .) in the accent colour, whatever the language */
.kinetic .ch--p { color: var(--accent); }
html.js:not(.reduced) .kinetic.is-split:not(.is-in) .ch { transform: translate3d(0, 60%, 0) rotate(8deg) scale(.9); opacity: 0; }
html.js:not(.reduced) .kinetic.is-split .ch { transition: transform 1.1s var(--ease-out) calc(var(--i) * 40ms), opacity .8s var(--ease-out) calc(var(--i) * 40ms), color .4s; }
html.js:not(.reduced) .kinetic.is-split.is-in.is-done .ch { transition: transform .5s var(--ease-out), color .35s; }
.contact__grid { display: grid; gap: 3rem; }
@media (min-width: 1040px) { .contact__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; } }
.direct { display: grid; gap: .75rem; margin: 2rem 0; }
.direct__item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; min-height: 72px;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: rgba(255, 255, 255, .025);
  transition: border-color .3s, background-color .3s;
}
.direct__item:hover { border-color: var(--accent); background: var(--accent-soft); }
.direct__item small { display: block; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.direct__item > span:last-child { font-weight: 500; font-size: 1.02rem; overflow-wrap: anywhere; }
.direct__icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); }
.contact__where { font-size: .9rem; color: var(--muted); }

.form { position: relative; display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3.2vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.form__row--2 { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .55rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field legend { padding: 0; font-size: .88rem; font-weight: 500; color: var(--text); }
.field legend { margin-bottom: .7rem; }
.opt { margin-left: .4rem; font-weight: 400; font-size: .8rem; color: var(--muted); }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea {
  width: 100%; min-height: 54px; padding: .85rem 1rem;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: rgba(0, 0, 0, .35); color: var(--text);
  font-size: 1rem;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
  -webkit-appearance: none; appearance: none;
}
.form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.form ::placeholder { color: #7d7d88; }
.form input:not([type=checkbox]):not([type=radio]):hover, .form select:hover, .form textarea:hover { border-color: rgba(255, 255, 255, .28); }
.form input:not([type=checkbox]):not([type=radio]):focus, .form select:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200, 255, 61, .14); outline: none; }
.form [aria-invalid="true"] { border-color: var(--danger) !important; box-shadow: 0 0 0 4px rgba(255, 139, 139, .12) !important; }
.select { position: relative; }
.select::after { content: ''; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.form select { padding-right: 2.6rem; }
.form select option { background: #15151b; color: var(--text); }
.field__err { margin: 0; font-size: .84rem; color: var(--danger); }
.field__err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .9rem; color: #d6d6dd;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-out);
}
.chip:hover span { border-color: rgba(255, 255, 255, .35); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 500; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.chip input:active + span { transform: scale(.96); }
.check { position: relative; display: flex; align-items: flex-start; gap: .8rem; padding-block: .5rem; font-size: .92rem; color: #c9c9d1; cursor: pointer; }
.check input { position: absolute; left: 0; top: .5rem; width: 26px; height: 26px; margin: 0; opacity: 0; cursor: pointer; }
.check__box { display: grid; place-items: center; flex-shrink: 0; width: 26px; height: 26px; border: 1.5px solid var(--line-2); border-radius: 8px; color: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check input:focus-visible + .check__box { outline: 2px solid var(--accent); outline-offset: 3px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--danger); }
.check span:last-child { padding-top: .15rem; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__hint { margin: 0; font-size: .88rem; color: var(--muted); max-width: 34ch; }
.form__legal { margin: 0; font-size: .78rem; line-height: 1.5; color: #8d8d97; }
.form__status:empty { display: none; }
.form__status { padding: 1.2rem 1.3rem; border-radius: 18px; }
.form__status.is-ok { border: 1px solid rgba(200, 255, 61, .5); background: var(--accent-soft); }
.form__status.is-error { border: 1px solid rgba(255, 139, 139, .5); background: rgba(255, 139, 139, .08); }
.form__status strong { display: block; margin-bottom: .25rem; font-family: var(--f-display); font-size: 1.2rem; letter-spacing: -.02em; }
.form__status p { margin: 0; color: #d6d6dd; }
.form__status.is-ok strong { color: var(--accent); }
.form__noscript { margin: 0; color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg) 0%, #0b0a12 100%); }
.footer__top { display: grid; gap: 3rem; }
@media (min-width: 960px) { .footer__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.footer__claim { margin: 0 0 1.75rem; max-width: 20ch; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.8rem, 1.2rem + 2vw, 3.1rem); line-height: 1.04; letter-spacing: -.035em; }
.footer__claim .serif { color: var(--accent); }
.footer__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 2rem; }
.footer__h { margin: 0 0 .9rem; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer__nav ul { list-style: none; display: grid; gap: .1rem; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 40px; color: #dcdce2; transition: color .2s; }
.footer__nav a:hover { color: var(--accent); }
.footer__nav .footer__li { gap: .5rem; }
.footer__li svg { flex-shrink: 0; }
.footer__word {
  --fill: 0;
  position: relative; margin-top: clamp(3rem, 7vw, 6rem);
  font-family: var(--f-display); font-weight: 800; font-stretch: 85%;
  font-size: min(21vw, 24rem); line-height: .8; letter-spacing: -.012em;
  text-align: center; white-space: nowrap; user-select: none;
}
.footer__word span { display: block; padding-bottom: .06em; }
.footer__word-outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22); }
.footer__word-fill {
  position: absolute; inset: 0;
  color: var(--accent);
  background: linear-gradient(180deg, var(--accent) 0%, #a6e01d 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  clip-path: inset(calc((1 - var(--fill)) * 100%) 0 0 0);
  transition: clip-path .15s linear;
}
@media (hover: hover) and (pointer: fine) {
  .footer__word:hover .footer__word-fill { clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease-out); }
}
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__top-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.footer__top-link:hover { color: var(--accent); }

/* ---------- 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 { animation: none; }
  .marquee__track { animation: none; }
  .hero__fallback i { animation: none; }
  .ill * { animation: none !important; }
  .ill-check { stroke-dashoffset: 0; }
  .work__chip { animation: none; }
  .work__screen img, .work__rig { transition: none; }
  .pii::after { animation: none; transform: scaleX(1); }
  .contract i { animation: none; transform: none; }
  .contract__stamp { animation: none; transform: rotate(-6deg); }
  .doc__scan { display: none; }
  .confirm__check circle, .confirm__check path { stroke-dashoffset: 0; animation: none; }
  .msg, .qr { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .nav, .grain, .progress, .cursor, .preloader, .hero__bg, .marquee, .scroll-cue, .phone__confetti { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Bot demo: on small screens show the phone before the notification ---------- */
@media (max-width: 999px) {
  .botdemo__grid { gap: 0; }
  .botdemo__copy { display: contents; }
  .botdemo__copy .eyebrow { justify-self: start; }
  .botdemo__phone { order: 2; margin-top: .5rem; }
  .notify { order: 3; max-width: none; margin-top: 3rem; }
}
