/* =====================================================================
   Max Commerce — design system & site styles
   Palette: Midnight ink · warm paper · azure (AI/trust) · amber (the logo dot, the sunrise)
   Type: Manrope (display + text, bold/light contrast like the logo) · Geist Mono (labels, "//" code accents)
   ===================================================================== */

/* ---------- Metric-matched fallback font (reduces layout shift while Manrope loads) ---------- */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 105%;
  ascent-override: 102%;
  descent-override: 28%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --ink-950: #05070c;
  --ink-900: #090d16;
  --ink-850: #0d1320;
  --ink-800: #121a2a;
  --ink-700: #1d2740;
  --paper: #f4f3ef;
  --paper-2: #ecebe5;
  --paper-3: #e1ded6;
  --azure-300: #8fb2ff;
  --azure-400: #5b8cff;
  --azure-500: #3d7bff;
  --azure-600: #2a63f5;
  --azure-700: #1f4fd6;
  --cyan-400: #4fd8eb;
  --amber-300: #ffcb7a;
  --amber-400: #ffb547;
  --amber-500: #f59e1b;
  --amber-700: #b45309;
  --ok: #5be3a1;
  --danger: #b42318;

  --grad-dawn: linear-gradient(100deg, #5b8cff 0%, #4fd8eb 48%, #ffb547 100%);

  --font-sans: "Manrope", "Manrope Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --ease-soft: cubic-bezier(.25, .8, .25, 1);

  --container: 1480px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(5.5rem, 3.6rem + 7.5vw, 11rem);
  --header-h: 84px;
  --radius: 28px;

  --z-header: 100;
  --z-menu: 90;
  --z-meter: 40;
  --z-cursor: 1000;
  --z-skip: 2000;
  interpolate-size: allow-keywords;
}
@media (max-width: 899px) {
  :root { --header-h: 68px; --radius: 22px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  background: var(--ink-950);
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 450;
  color: #f2f4f8;
  background: var(--ink-950);
  /* Standard Cyrillic letterforms (Manrope would otherwise switch to the cursive-like Bulgarian "locl" forms). */
  font-feature-settings: "locl" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }
::selection { background: var(--amber-400); color: var(--ink-950); }
:focus-visible { outline: 2px solid var(--azure-400); outline-offset: 3px; border-radius: 6px; }
[data-theme="light"] :focus-visible { outline-color: var(--azure-600); }
[hidden] { display: none !important; }
main { display: block; }
main:focus { outline: none; }
/* 1px overlap between stacked sections hides sub-pixel seams on fractional layouts */
main > * + * { margin-top: -1px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: var(--z-skip);
  padding: 12px 20px; border-radius: 999px;
  background: var(--amber-400); color: var(--ink-950); font-weight: 700;
  transform: translateY(-160%); transition: transform .25s var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Themes ---------- */
[data-theme] { background: var(--bg); color: var(--fg); }
[data-theme="dark"] {
  --bg: var(--ink-900);
  --fg: #f2f4f8;
  --fg-muted: #9ba6bc;
  --fg-soft: #cbd2df;
  --line: rgba(255, 255, 255, .11);
  --line-strong: rgba(255, 255, 255, .22);
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .08);
  --link: var(--azure-300);
  --accent-text: var(--azure-300);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: var(--paper);
  --fg: #0a0e17;
  --fg-muted: #555d6e;
  --fg-soft: #2b3141;
  --line: rgba(10, 14, 23, .11);
  --line-strong: rgba(10, 14, 23, .22);
  --surface: #fff;
  --surface-2: var(--paper-2);
  --link: var(--azure-700);
  --accent-text: var(--azure-700);
  color-scheme: light;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .62); }
.section--flush { padding-top: 0; }
.section-head { margin-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.section-head--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem 4rem; align-items: end; }
.section-head__text { font-size: 1.0625rem; color: var(--fg-muted); max-width: 44ch; }
.section-head--filters { grid-template-columns: minmax(0, 1fr) auto; }
.section-head__side { justify-self: end; }
@media (max-width: 899px) {
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .section-head__side { justify-self: start; }
}

/* ---------- Type ---------- */
.h2, .title.h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.5rem); line-height: 1.04; letter-spacing: -.038em; font-weight: 760; }
.h3 { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem); line-height: 1.14; letter-spacing: -.025em; font-weight: 720; }
.t-light { font-weight: 260; }
.title { text-wrap: balance; }
.title .ln, .hero__title .ln, .cta__title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.title .ln > span, .hero__title .ln > span, .cta__title .ln > span { display: inline-block; }
.dot {
  display: inline-block; flex: none;
  width: .16em; height: .16em; margin-left: .06em;
  border-radius: 50%;
  background: var(--amber-400);
  box-shadow: 0 0 .45em rgba(255, 181, 71, .5);
  vertical-align: baseline;
}
[data-theme="light"] .dot { background: var(--amber-500); box-shadow: none; }
.grad-text {
  font-weight: 760;
  background: var(--grad-dawn);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  display: flex; align-items: center; gap: .55em;
  margin-bottom: 1.75rem;
  font-family: var(--font-mono);
  font-size: .8125rem; line-height: 1.3;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--fg-muted);
}
.eyebrow__slash { color: var(--azure-600); letter-spacing: -.08em; }
[data-theme="dark"] .eyebrow__slash { color: var(--azure-400); }
.eyebrow.is-amber, .eyebrow.is-amber .eyebrow__slash { color: var(--amber-400); }

.link-underline {
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px;
  transition: background-size .5s var(--ease-out);
}
.link-underline:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  height: var(--h); padding: 0 8px 0 26px;
  border-radius: 999px;
  font-size: 1rem; font-weight: 650; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .6s var(--ease-out), color .45s var(--ease-out), box-shadow .45s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; background: var(--btn-hover);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn__icon {
  flex: none; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  transition: transform .55s var(--ease-out), background-color .4s, color .4s;
}
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn--primary { background: var(--azure-600); color: #fff; --btn-hover: var(--azure-700); }
.btn--primary .btn__icon { background: #fff; color: var(--azure-600); }
.btn--amber { background: var(--amber-400); color: var(--ink-950); --btn-hover: #fff; }
.btn--amber .btn__icon { background: var(--ink-950); color: var(--amber-400); }
.btn--light { background: #fff; color: var(--ink-950); --btn-hover: var(--amber-400); }
.btn--light .btn__icon { background: var(--ink-950); color: #fff; }
.btn--dark { background: var(--ink-950); color: #fff; --btn-hover: var(--azure-600); }
.btn--dark .btn__icon { background: #fff; color: var(--ink-950); }
.btn--ghost { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--line-strong); --btn-hover: var(--surface-2); }
.btn--ghost .btn__icon { background: var(--surface-2); }
.btn--lg { --h: 64px; font-size: 1.0625rem; padding-left: 30px; }
.btn--lg .btn__icon { width: 48px; height: 48px; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn[aria-busy="true"] .btn__icon svg { animation: spin 1s linear infinite; }

.link-circle {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; gap: 14px;
  height: 56px; padding: 0 22px 0 24px;
  font-family: var(--font-mono); font-size: .8125rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  color: var(--fg);
}
.link-circle::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: 999px; background: var(--fg); opacity: .07;
  clip-path: inset(0 calc(100% - 56px) 0 0 round 999px);
  transition: clip-path .7s var(--ease-out), opacity .4s;
}
.link-circle:hover::before { clip-path: inset(0 0 0 0 round 999px); opacity: .1; }
.link-circle__plus { display: grid; place-items: center; transition: transform .6s var(--ease-out); }
.link-circle:hover .link-circle__plus { transform: rotate(90deg); }
.link-circle[data-variant="light"] { color: #fff; }
.link-circle[data-variant="light"]::before { background: #fff; opacity: .12; }
.link-circle[data-variant="light"]:hover::before { opacity: .16; }

.tag {
  display: inline-flex; align-items: center;
  height: 32px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: .8125rem; font-weight: 600; color: var(--fg-soft); white-space: nowrap;
}
.chip {
  display: inline-flex; align-items: center;
  height: 46px; padding: 0 22px; margin-right: 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  font-family: var(--font-mono); font-size: .875rem; letter-spacing: .02em; color: var(--fg-soft); white-space: nowrap;
}
.chip--sm { height: 30px; padding: 0 12px; margin: 0; font-size: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header);
  height: var(--header-h);
  color: #fff;
  transition: transform .6s var(--ease-out), color .35s;
  view-transition-name: site-header;
}
.site-header::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hdr-bg);
  border-bottom: 1px solid var(--hdr-line);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  opacity: 0; transition: opacity .4s;
}
.site-header[data-header-theme="dark"] { --hdr-bg: rgba(9, 13, 22, .72); --hdr-line: rgba(255, 255, 255, .07); color: #fff; }
.site-header[data-header-theme="light"] { --hdr-bg: rgba(244, 243, 239, .82); --hdr-line: rgba(10, 14, 23, .07); color: var(--ink-950); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-105%); }
.site-header__inner { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 2rem; }
.site-header__logo { grid-column: 1; justify-self: start; width: clamp(198px, 14.5vw, 252px); }
.site-header__logo .logo { width: 100%; height: auto; }
.site-nav { grid-column: 2; }
.site-nav__list { display: flex; gap: clamp(1.25rem, 2.3vw, 2.5rem); }
.site-nav__link {
  position: relative; display: block; padding: 8px 0;
  font-size: .9375rem; font-weight: 600; letter-spacing: -.005em; opacity: .82;
  transition: opacity .25s;
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.site-nav__link:hover { opacity: 1; }
.site-nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.site-nav__link[aria-current="page"] { opacity: 1; }
.site-nav__link[aria-current="page"]::before {
  content: ""; position: absolute; left: 50%; bottom: -6px;
  width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%;
  background: var(--amber-400);
}
.site-header__actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 1.25rem; }
.btn--header { --h: 46px; gap: 10px; padding-left: 20px; font-size: .9375rem; background: #fff; color: var(--ink-950); --btn-hover: var(--amber-400); }
.btn--header .btn__icon { width: 32px; height: 32px; background: var(--ink-950); color: #fff; }
.site-header[data-header-theme="light"] .btn--header { background: var(--ink-950); color: #fff; --btn-hover: var(--azure-600); }
.site-header[data-header-theme="light"] .btn--header .btn__icon { background: #fff; color: var(--ink-950); }

.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .08em; }
.lang-switch__item { padding: 6px 2px; opacity: .78; transition: opacity .2s; }
a.lang-switch__item:hover { opacity: 1; }
.lang-switch__item.is-current { opacity: 1; }
.lang-switch__sep { opacity: .3; }

.menu-toggle {
  position: relative; display: none; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink-950);
  transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.site-header[data-header-theme="light"] .menu-toggle { background: var(--ink-950); color: #fff; }
.menu-toggle__lines { position: relative; width: 18px; height: 10px; }
.menu-toggle__lines i { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-toggle__lines i:first-child { top: 0; }
.menu-toggle__lines i:last-child { top: 8.5px; }
.menu-open .menu-toggle__lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-toggle__lines i:last-child { top: 4.25px; transform: rotate(-45deg); }
.menu-open .site-header { color: #fff; transform: none; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .menu-toggle { background: #fff; color: var(--ink-950); }
.menu-open .site-header .btn--header { opacity: 0; pointer-events: none; }

@media (max-width: 1099px) {
  .site-nav { display: none; }
  .menu-toggle { display: grid; }
  .lang-switch--header { display: none; }
}
@media (max-width: 599px) {
  .btn--header { display: none; }
  .site-header__logo { width: 190px; }
}

/* ---------- Fullscreen menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  overflow-y: auto; overscroll-behavior: contain;
  padding: calc(var(--header-h) + 2rem) 0 2.5rem;
  background: transparent;
}
.menu__bg {
  position: fixed; inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(61, 123, 255, .16), transparent 60%), var(--ink-950);
  clip-path: circle(0 at calc(100% - var(--gutter) - 24px) calc(var(--header-h) / 2));
  transition: clip-path .85s var(--ease-in-out);
}
.menu.is-open .menu__bg { clip-path: circle(160% at calc(100% - var(--gutter) - 24px) calc(var(--header-h) / 2)); }
.menu__inner { position: relative; min-height: 100%; display: grid; align-content: space-between; gap: 3rem; }
.menu__item + .menu__item { margin-top: .35rem; }
.menu__link {
  display: flex; align-items: baseline; gap: 1rem;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); font-weight: 720; letter-spacing: -.042em; line-height: 1.1;
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), color .3s;
  transition-delay: calc(.22s + var(--i) * 60ms);
}
.menu__link:hover .menu__label { color: var(--amber-400); }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu__num { font-family: var(--font-mono); font-size: .8125rem; font-weight: 500; letter-spacing: .1em; color: var(--amber-400); }
.menu__sub {
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  margin: .6rem 0 1rem 2.6rem;
  font-size: 1rem; color: var(--fg-muted);
  opacity: 0; transition: opacity .6s .5s;
}
.menu.is-open .menu__sub { opacity: 1; }
.menu__sub a:hover { color: #fff; }
.menu__aside { display: grid; gap: .5rem; opacity: 0; transition: opacity .6s .55s; }
.menu.is-open .menu__aside { opacity: 1; }
.menu__aside .eyebrow { margin-bottom: .75rem; }
.menu__mail { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 650; }
.menu__phone { color: var(--fg-muted); }
.lang-switch--menu { margin-top: 1rem; font-size: .9375rem; }

/* ---------- Grain & glass (shared) ---------- */
.grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* Brand mark geometry (logo units, mark height = 100u): capsules 106.44u × 36u at −63.43°, dot Ø48u */
.glass-cap, .glossy-cap, .line-cap {
  position: absolute;
  width: calc(106.44 * var(--u)); height: calc(36 * var(--u));
  border-radius: 999px;
  translate: -50% -50%; rotate: -63.43deg;
}
.glass-cap--a, .glossy-cap--a, .line-cap--a { left: calc(33.75 * var(--u)); top: calc(49.5 * var(--u)); }
.glass-cap--b, .glossy-cap--b, .line-cap--b { left: calc(90.35 * var(--u)); top: calc(49.5 * var(--u)); }
.sun, .glossy-dot, .line-dot {
  position: absolute; left: calc(141.1 * var(--u)); top: calc(73.4 * var(--u));
  width: calc(48 * var(--u)); height: calc(48 * var(--u));
  translate: -50% -50%; border-radius: 50%;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: var(--header-h);
  background: var(--ink-950);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero__video { opacity: 0; transition: opacity 1.4s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__video.is-playing.is-fading { opacity: 0; transition-duration: .9s; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 12, .62) 0%, rgba(5, 7, 12, .12) 26%, rgba(5, 7, 12, .28) 58%, rgba(5, 7, 12, .97) 100%),
    linear-gradient(90deg, rgba(5, 7, 12, .8) 0%, rgba(5, 7, 12, .38) 46%, rgba(5, 7, 12, 0) 78%);
}
.hero__mark {
  --h: min(116vh, 118vw);
  --u: calc(var(--h) / 100);
  position: absolute; z-index: -1; pointer-events: none;
  right: calc(var(--h) * -.1); top: calc(var(--h) * -.1);
  width: calc(165.1 * var(--u)); height: var(--h);
}
.glass-cap {
  background: linear-gradient(165deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .025) 42%, rgba(143, 178, 255, .08));
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -30px 80px rgba(61, 123, 255, .12), 0 50px 120px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
  transform: translate3d(calc(var(--mx, 0) * -22px), calc(var(--my, 0) * -16px), 0);
  transition: opacity 1.4s var(--ease-out), scale 1.6s var(--ease-out);
}
.glass-cap--b { transform: translate3d(calc(var(--mx, 0) * -34px), calc(var(--my, 0) * -24px), 0); transition-delay: .12s; }
.sun {
  /* a translucent amber glass sphere — the logo dot as a rising sun */
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 248, 232, .96) 0%, rgba(255, 207, 130, .82) 15%, rgba(255, 170, 64, .62) 40%, rgba(238, 128, 22, .55) 68%, rgba(186, 88, 12, .72) 100%);
  border: 1px solid rgba(255, 214, 150, .45);
  -webkit-backdrop-filter: blur(10px) saturate(1.6);
  backdrop-filter: blur(10px) saturate(1.6);
  box-shadow:
    0 0 calc(14 * var(--u)) calc(1 * var(--u)) rgba(255, 176, 69, .32),
    0 0 calc(46 * var(--u)) calc(10 * var(--u)) rgba(255, 140, 40, .12),
    inset calc(-5 * var(--u)) calc(-7 * var(--u)) calc(16 * var(--u)) rgba(150, 60, 0, .35),
    inset calc(2 * var(--u)) calc(2 * var(--u)) calc(6 * var(--u)) rgba(255, 255, 255, .25);
  transform: translate3d(calc(var(--mx, 0) * -48px), calc(var(--my, 0) * -34px), 0);
  transition: opacity 1.6s var(--ease-out) .35s, scale 1.8s var(--ease-out) .35s;
}
.sun__core { position: absolute; inset: 18% 42% 58% 20%; border-radius: 50%; background: rgba(255, 255, 255, .55); filter: blur(calc(2 * var(--u))); }
.js .hero:not(.is-loaded) .glass-cap, .js .hero:not(.is-loaded) .sun { opacity: 0; scale: .9; }

.hero__content { position: relative; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero__title {
  max-width: 16ch;
  font-size: clamp(2.4rem, 1.3rem + 3.4vw, 4.75rem);
  line-height: 1; letter-spacing: -.044em; font-weight: 790;
}
.hero__lead { max-width: 40rem; margin-top: 1.75rem; font-size: clamp(1.0625rem, .95rem + .4vw, 1.3125rem); line-height: 1.6; color: rgba(242, 244, 248, .8); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; margin-top: 2.5rem; }
.hero__foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; padding-bottom: 2rem; }
.hero__index { flex: 1; max-width: 920px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .15); }
.hero__index a { display: flex; align-items: baseline; gap: .6rem; padding: 1.1rem 1rem .25rem 0; font-size: .9375rem; color: rgba(242, 244, 248, .7); transition: color .25s; }
.hero__index a:hover { color: #fff; }
.hero__num { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: var(--amber-400); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: .9rem; color: rgba(255, 255, 255, .75); }
.scroll-cue span { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .3em; text-transform: uppercase; }
.scroll-cue i { position: relative; width: 1px; height: 64px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--amber-400); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { to { top: 100%; } }
@media (max-width: 899px) {
  .hero__mark { --h: 66vh; right: -46vw; top: calc(var(--header-h) - 2vh); opacity: .85; }
  .hero__index { display: none; }
  .scroll-cue { display: none; }
  .hero__foot { padding-bottom: 1rem; }
  .hero__content { padding-bottom: 2rem; }
  .hero__ctas .btn { width: 100%; justify-content: space-between; }
}
@media (max-width: 899px) and (orientation: landscape) {
  .hero__mark { --h: 90vh; right: -20vw; top: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; display: flex;
  padding-block: clamp(1.1rem, 2vw, 1.9rem);
  background: var(--ink-950); color: #fff;
  border-block: 1px solid rgba(255, 255, 255, .07);
  user-select: none;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { padding-inline: clamp(.9rem, 1.6vw, 1.75rem); font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.5rem); font-weight: 740; letter-spacing: -.04em; line-height: 1.08; white-space: nowrap; }
.marquee--xl .marquee__item:nth-child(4n + 3) { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .55); }
.marquee__sep { display: grid; place-items: center; }
.marquee__sep .mark { width: clamp(1.6rem, 2.4vw, 2.75rem); height: auto; color: var(--amber-400); }
.marquee--outline { background: var(--paper); color: var(--ink-950); border-color: rgba(10, 14, 23, .08); }
.marquee--outline .marquee__item { color: transparent; -webkit-text-stroke: 1.2px rgba(10, 14, 23, .38); font-weight: 700; }
.marquee--outline .marquee__sep .mark { color: var(--amber-500); }
.marquee--chips { background: transparent; border: 0; padding-block: 1rem; color: inherit; }
.marquee--chips .marquee__item { padding: 0; font-size: 1rem; font-weight: 450; letter-spacing: 0; }

/* ---------- Intro / manifesto ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.intro__side { position: relative; }
.intro__text { font-size: clamp(1.4rem, .95rem + 1.6vw, 2.6rem); line-height: 1.2; letter-spacing: -.03em; font-weight: 560; text-wrap: pretty; }
.intro__cta { margin-top: clamp(2rem, 4vw, 3.5rem); }
.fw { opacity: calc(.13 + .87 * clamp(0, var(--p, 1) * (var(--n) + 3) - var(--k), 1)); }
.fw--accent { color: var(--accent-text); }
.capsule-media {
  position: relative;
  width: 160px; aspect-ratio: 36 / 106.44; margin: 2.5rem 0 0 104px;
  border-radius: 999px; overflow: hidden;
  transform: translate3d(0, var(--py, 0px), 0) rotate(26.57deg);
  box-shadow: 0 40px 80px -30px rgba(10, 14, 23, .45);
}
.capsule-media img { position: absolute; left: 50%; top: 50%; width: 360%; max-width: none; height: auto; translate: -50% -50%; rotate: -26.57deg; }
.intro__side::after {
  content: ""; position: absolute;
  left: 196px; top: 520px;
  width: 58px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #fff5de, #ffb045 45%, #d9700f);
  box-shadow: 0 16px 40px rgba(217, 112, 15, .35);
}
@media (max-width: 899px) {
  .intro__grid { grid-template-columns: 1fr; }
  .capsule-media, .intro__side::after { display: none; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(4rem, 8vw, 8.5rem); border-top: 1px solid var(--line); }
.stats--three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 2rem; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .9rem; padding: 2rem 1.5rem 0 0; }
.stat + .stat { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.stat__value { display: flex; align-items: flex-start; font-size: clamp(2.5rem, 1.6rem + 2.6vw, 4.5rem); font-weight: 240; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__affix { color: var(--accent-text); font-weight: 300; }
.stat__label { max-width: 24ch; font-size: .9375rem; line-height: 1.5; color: var(--fg-muted); }
@media (max-width: 899px) {
  .stats, .stats--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 1.5rem; }
}
@media (max-width: 479px) {
  .stats--three { grid-template-columns: 1fr; }
  .stats--three .stat { padding-left: 0; border-left: 0; }
  .stats--three .stat + .stat { border-top: 1px solid var(--line); margin-top: 1.5rem; }
}

/* ---------- Service rows ---------- */
.service-rows { border-top: 1px solid var(--line); }
.service-row { border-bottom: 1px solid var(--line); }
.service-row__link {
  display: grid; grid-template-columns: 4.5rem minmax(0, 5fr) minmax(0, 5fr) 3.5rem;
  gap: 1.5rem 2.5rem; align-items: start;
  padding: clamp(1.75rem, 3.4vw, 3rem) 0;
}
.service-row__num { padding-top: .8em; font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .08em; color: var(--fg-muted); }
.service-row__title { font-size: clamp(1.75rem, 1.1rem + 2vw, 3rem); font-weight: 740; letter-spacing: -.04em; line-height: 1.04; transition: transform .7s var(--ease-out); }
.service-row__text { display: block; max-width: 46ch; color: var(--fg-muted); }
.service-row__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.service-row__arrow {
  justify-self: end; display: grid; place-items: center;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: transform .6s var(--ease-out), background-color .4s, color .4s, border-color .4s;
}
.service-row__link:hover .service-row__title { transform: translateX(.9rem); }
.service-row__link:hover .service-row__arrow { transform: rotate(45deg); background: var(--ink-950); color: #fff; border-color: var(--ink-950); }
[data-theme="dark"] .service-row__link:hover .service-row__arrow { background: #fff; color: var(--ink-950); border-color: #fff; }
.hover-preview {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: clamp(260px, 22vw, 360px); aspect-ratio: 1440 / 900;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(10, 14, 23, .45);
  opacity: 0; scale: .8;
  transition: opacity .35s, scale .5s var(--ease-out);
}
.hover-preview.is-visible { opacity: 1; scale: 1; }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 899px) {
  .service-row__link { grid-template-columns: 2.5rem minmax(0, 1fr) 2.75rem; }
  .service-row__body { grid-column: 2 / -1; }
  .service-row__arrow { grid-row: 1; grid-column: 3; width: 2.75rem; height: 2.75rem; }
  .service-row__num { padding-top: .5em; }
}
@media (hover: none), (max-width: 899px) { .hover-preview { display: none; } }

/* ---------- Browser & device frames ---------- */
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .06); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f1f2f4; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d6d9de; }
.browser__bar span { flex: 1; max-width: 240px; margin-left: 10px; padding: 2px 12px; border-radius: 999px; background: #fff; font-family: var(--font-mono); font-size: 10px; line-height: 1.6; color: #6b7280; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser__screen { position: relative; aspect-ratio: 1440 / 900; overflow: hidden; background: #fff; }
.browser__screen img { width: 100%; height: auto; }
.browser__screen--scroll img { transform: translate3d(0, calc(var(--p, 0) * var(--travel, 0%) * -1), 0); will-change: transform; }
.device { border-radius: clamp(14px, 2.2vw, 30px); padding: clamp(3px, .4vw, 6px); background: #0b0d12; box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.device__screen { border-radius: calc(clamp(14px, 2.2vw, 30px) - clamp(3px, .4vw, 6px)); overflow: hidden; aspect-ratio: 390 / 844; background: #fff; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Work grid & cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(3rem, 5vw, 6rem) clamp(1.5rem, 4vw, 4.5rem); }
.work-grid--stagger { --shift: clamp(5rem, 11vw, 13rem); padding-bottom: var(--shift); }
.work-grid--stagger > .work-card.is-shifted { transform: translateY(var(--shift)); }
.work-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-card__link { display: block; }
.work-card__media { position: relative; isolation: isolate; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; }
.work-grid--three .work-card__media { aspect-ratio: 5 / 6; }
.work-card__bg {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(110% 70% at 85% 0%, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(150deg, var(--brand-a), var(--brand-b));
  transition: transform 1.2s var(--ease-out);
}
.work-card__cap { position: absolute; width: 34%; aspect-ratio: 36 / 106.44; border-radius: 999px; rotate: 26.57deg; border: 1px solid rgba(255, 255, 255, .28); background: linear-gradient(170deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .02)); }
.work-card__cap--a { right: 14%; top: -12%; }
.work-card__cap--b { right: -12%; top: 2%; }
.work-card__browser { position: absolute; left: 10%; top: 12%; width: 108%; transition: transform 1s var(--ease-out); }
.work-card__phone { position: absolute; left: 6%; bottom: 6%; width: 28%; transition: transform 1s var(--ease-out); }
.work-card__link:hover .work-card__bg { transform: scale(1.06); }
.work-card__link:hover .work-card__browser { transform: translate3d(-3%, -2.5%, 0); }
.work-card__link:hover .work-card__phone { transform: translate3d(0, -5%, 0) rotate(-3deg); }
.work-card__meta { padding-top: 1.6rem; }
.work-card__cat { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.work-card__title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; font-size: clamp(1.45rem, 1rem + 1.1vw, 2.1rem); font-weight: 740; letter-spacing: -.035em; line-height: 1.1; }
.work-card__arrow { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .6s var(--ease-out), background-color .4s, color .4s, border-color .4s; }
.work-card__link:hover .work-card__arrow { transform: rotate(45deg); background: var(--ink-950); color: #fff; border-color: var(--ink-950); }
.work-card__text { margin-top: .5rem; color: var(--fg-muted); }
@media (max-width: 1099px) { .work-grid--three { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work-grid--three > :nth-child(3) { display: none; } }
@media (max-width: 699px) {
  .work-grid, .work-grid--three { grid-template-columns: 1fr; }
  .work-grid--three > :nth-child(3) { display: block; }
  .work-grid--stagger { padding-bottom: 0; }
  .work-grid--stagger > .work-card.is-shifted { transform: none; }
  .work-card__media { aspect-ratio: 5 / 5.4; }
}

.invite { container-type: inline-size; display: grid; place-items: center; align-content: center; gap: 1.75rem; padding: 2rem; text-align: center; background: transparent; border: 1px dashed var(--line-strong); transition: border-color .5s, background-color .5s; }
.invite__caps { --u: calc(min(70cqi, 420px) / 165.1); position: absolute; left: 50%; top: 12%; width: calc(165.1 * var(--u)); height: calc(100 * var(--u)); translate: -50% 0; opacity: .55; }
.invite .line-cap { border-color: var(--line-strong); background: none; }
.invite .line-dot { box-shadow: none; }
.invite__plus { position: relative; display: grid; place-items: center; width: 5rem; height: 5rem; margin-top: 30%; border-radius: 50%; background: var(--ink-950); color: #fff; transition: transform .7s var(--ease-out), background-color .4s; }
.invite__text { position: relative; max-width: 16ch; font-size: clamp(1.35rem, 1rem + 1vw, 2rem); font-weight: 720; letter-spacing: -.035em; line-height: 1.12; }
.work-card__link:hover .invite { border-color: var(--fg); background: var(--surface); }
.work-card__link:hover .invite__plus { transform: rotate(90deg); background: var(--azure-600); }
@media (max-width: 699px) { .work-card--invite .work-card__media { aspect-ratio: 5 / 4; } .invite__caps { display: none; } .invite__plus { margin-top: 0; } }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-self: end; }
.filter { height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .875rem; font-weight: 650; transition: background-color .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--ink-950); color: #fff; border-color: var(--ink-950); }
@media (max-width: 899px) { .filters { justify-self: start; } }

/* ---------- Clients ---------- */
.clients__title { max-width: 22ch; }
.clients__title a { color: var(--accent-text); }
.client-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 1.75rem; }
.client-card a { display: block; }
.client-card .browser { box-shadow: 0 30px 60px -30px rgba(10, 14, 23, .35), 0 0 0 1px rgba(10, 14, 23, .07); transition: transform .7s var(--ease-out), box-shadow .7s; }
.client-card a:hover .browser { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(10, 14, 23, .45), 0 0 0 1px rgba(10, 14, 23, .07); }
.client-card__meta { display: flex; flex-direction: column; gap: .2rem; margin-top: 1.1rem; }
.client-card__domain { display: inline-flex; align-items: center; gap: .35rem; font-size: 1.125rem; font-weight: 720; letter-spacing: -.02em; }
.client-card__domain .icon { transition: transform .5s var(--ease-out); }
.client-card a:hover .client-card__domain .icon { transform: translate(2px, -2px); }
.client-card__text { color: var(--fg-muted); font-size: .9375rem; }
@media (max-width: 1099px) { .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .client-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .client-grid::-webkit-scrollbar { display: none; }
  .client-card { scroll-snap-align: start; }
}

/* ---------- AI section ---------- */
.ai, .ai-points-sec, .ai-stack, .by-service, .ecosystem { overflow: hidden; }
.ai__bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 45% at 78% 22%, rgba(61, 123, 255, .2), transparent 70%), radial-gradient(35% 35% at 90% 55%, rgba(255, 181, 71, .1), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(79, 216, 235, .07), transparent 70%); }
.ai__top { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; margin-bottom: clamp(4rem, 8vw, 7.5rem); }
.ai__text { max-width: 44ch; margin-top: 1.75rem; font-size: 1.125rem; color: var(--fg-muted); }
.ai__actions { margin-top: 2.25rem; }
@media (max-width: 899px) { .ai__top { grid-template-columns: 1fr; } .ai__visual { order: -1; } }

.gl-mark { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.gl-mark__glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(61, 123, 255, .34), rgba(61, 123, 255, .08) 62%, transparent), radial-gradient(closest-side at 72% 66%, rgba(255, 181, 71, .24), transparent 70%); filter: blur(24px); }
.gl-mark__ring { position: absolute; inset: 3%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .14); animation: spin 90s linear infinite; }
.gl-mark__ring::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .06); }
.gl-mark__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.gl-mark.is-live .gl-mark__canvas { opacity: 1; }
.gl-mark__fallback { --u: calc(76cqi / 165.1); position: absolute; left: 12%; top: 50%; width: 76%; height: calc(100 * var(--u)); translate: 0 -50%; transition: opacity .8s; }
.gl-mark.is-live .gl-mark__fallback { opacity: 0; }
.glossy-cap { background: linear-gradient(160deg, #3a4a70 0%, #0d1424 40%, #05070c 70%, #22325a 100%); box-shadow: inset 0 2px 1px rgba(255, 255, 255, .35), inset 0 -12px 30px rgba(61, 123, 255, .35), 0 30px 60px rgba(0, 0, 0, .45); }
.glossy-dot { background: radial-gradient(circle at 34% 30%, #fff5de, #ffb045 45%, #c2600f); box-shadow: 0 0 60px rgba(255, 170, 70, .45); }
.gl-mark__orbit { position: absolute; inset: 0; animation: spin 60s linear infinite; }
.gl-mark__orbit li { position: absolute; left: 50%; top: 50%; transform: rotate(calc(var(--o) * 90deg + 30deg)) translateX(46cqi) rotate(calc(var(--o) * -90deg - 30deg)); }
.gl-mark__orbit span {
  display: inline-block; translate: -50% -50%;
  padding: .45rem .85rem; border-radius: 999px;
  background: rgba(9, 13, 22, .55); border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; color: var(--fg-soft); white-space: nowrap;
  animation: spin 60s linear infinite reverse;
}

.console {
  max-width: 480px; margin-top: 3rem;
  border-radius: 18px; overflow: hidden;
  background: rgba(5, 7, 12, .72); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: .8125rem;
}
.console__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: var(--fg-muted); font-size: .75rem; }
.console__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.console__bar span { margin-left: 10px; }
.console__lines { display: grid; gap: .6rem; padding: 1rem 1.15rem 1.2rem; }
.console__line { display: flex; align-items: center; gap: .65rem; color: #cbd2df; }
.console__line.is-cmd { color: #fff; }
.console__prompt { color: var(--amber-400); font-weight: 500; }
.console__ok { flex: none; color: var(--ok); }
.console__spin { flex: none; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); border-top-color: var(--azure-400); animation: spin .9s linear infinite; }
.console__caret { width: 7px; height: 14px; background: var(--azure-400); animation: blink 1s steps(2, start) infinite; }
.js .console:not(.is-in) .console__line { opacity: 0; translate: 0 6px; }
.console.is-in .console__line { opacity: 1; translate: 0 0; transition: opacity .45s, translate .45s var(--ease-out); transition-delay: calc(.3s + var(--i) * .45s); }
@keyframes blink { to { visibility: hidden; } }
@keyframes spin { to { transform: rotate(360deg); } }

.ai-caps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .09); }
.ai-cap { position: relative; overflow: hidden; padding: clamp(1.75rem, 3vw, 2.75rem); background: var(--ink-900); transition: background-color .4s; }
.ai-cap::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 123, 255, .14), transparent 45%); opacity: 0; transition: opacity .4s; }
.ai-cap:hover::after { opacity: 1; }
.ai-cap__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--azure-300); background: linear-gradient(135deg, rgba(61, 123, 255, .24), rgba(79, 216, 235, .06)); border: 1px solid rgba(143, 178, 255, .2); }
.ai-cap__title { margin-top: 1.75rem; font-size: 1.25rem; font-weight: 720; letter-spacing: -.02em; line-height: 1.25; }
.ai-cap__text { margin-top: .6rem; font-size: .9375rem; line-height: 1.6; color: var(--fg-muted); }
.ai-caps--light { background: var(--line); border-color: var(--line); }
.ai-caps--light .ai-cap { background: var(--paper); }
.ai-caps--light .ai-cap:hover { background: #fff; }
.ai-caps--light .ai-cap__icon { color: var(--azure-700); background: rgba(61, 123, 255, .08); border-color: rgba(31, 79, 214, .16); }
.ai-caps--light .ai-cap::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 123, 255, .08), transparent 45%); }
@media (max-width: 1099px) { .ai-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 649px) { .ai-caps { grid-template-columns: 1fr; } }
.stack-strip { position: relative; margin-top: clamp(4rem, 8vw, 7.5rem); }
.stack-strip__label { margin-bottom: 1.25rem; }

/* ---------- Process ---------- */
.process__rail { position: relative; height: 1px; margin-bottom: 0; background: var(--line); }
.process__rail i { position: absolute; inset: 0; background: var(--fg); transform-origin: left; transform: scaleX(var(--p, 0)); }
.process__dot { position: absolute; top: 50%; left: calc(var(--p, 0) * 100%); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--amber-400); box-shadow: 0 0 0 6px rgba(255, 181, 71, .2); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.step { padding-top: 2.5rem; }
.step__num { display: block; font-size: clamp(2.75rem, 1.8rem + 2.2vw, 4.5rem); font-weight: 220; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px var(--line-strong); }
.step__title { margin-top: 1.5rem; font-size: 1.375rem; font-weight: 720; letter-spacing: -.025em; }
.step__text { margin-top: .6rem; color: var(--fg-muted); font-size: .9688rem; }
@media (max-width: 899px) {
  .process__rail { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; border-left: 1px solid var(--line); }
  .step { position: relative; padding: 0 0 2.5rem 1.75rem; }
  .step::before { content: ""; position: absolute; left: -6px; top: .35rem; width: 11px; height: 11px; border-radius: 50%; background: var(--amber-400); }
  .step__num { font-size: 3rem; }
  .step__title { margin-top: .75rem; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7.5rem); }
.faq__aside { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
.faq__title { font-size: clamp(1.9rem, 1.2rem + 2vw, 3.1rem); }
.faq__note { max-width: 34ch; margin: 1.5rem 0 2rem; color: var(--fg-muted); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item__q { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.75rem 0; cursor: pointer; list-style: none; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 680; letter-spacing: -.02em; line-height: 1.35; }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover .faq-item__text { color: var(--accent-text); }
.faq-item__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--ink-950); color: #fff; border-color: var(--ink-950); }
.faq-item__a { padding: 0 4rem 1.75rem 0; max-width: 62ch; color: var(--fg-muted); }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size .55s var(--ease-out), content-visibility .55s allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
@media (max-width: 899px) { .faq__grid { grid-template-columns: 1fr; } .faq__aside { position: static; } .faq-item__a { padding-right: 0; } }

/* ---------- CTA ---------- */
.cta { overflow: hidden; background: var(--ink-950); padding-block: clamp(7rem, 12vw, 13rem); }
.cta__bg { position: absolute; inset: 0; pointer-events: none; }
.cta__sun { position: absolute; inset: 0; background: radial-gradient(42% 58% at 70% 108%, rgba(255, 181, 71, .42), rgba(255, 140, 40, .16) 42%, transparent 72%), radial-gradient(60% 70% at 72% 120%, rgba(61, 123, 255, .16), transparent 70%); }
.cta__inner { position: relative; }
.cta__title { max-width: 18ch; font-size: clamp(2.4rem, 1.2rem + 3.8vw, 5.25rem); line-height: 1; letter-spacing: -.045em; font-weight: 790; }
.cta__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem 3rem; margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.cta__text { max-width: 36ch; font-size: 1.125rem; color: var(--fg-muted); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }
.cta__mail { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 650; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--header-h) + clamp(4rem, 9vw, 9rem)) 0 clamp(4rem, 8vw, 8.5rem); background: var(--ink-900); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero__glow { position: absolute; inset: 0; background: radial-gradient(48% 62% at 82% 18%, color-mix(in oklab, var(--brand-a, #3d7bff) 42%, transparent), transparent 70%), radial-gradient(40% 50% at 98% 88%, color-mix(in oklab, var(--brand-b, #ffb547) 18%, transparent), transparent 70%); }
.page-hero__word { position: absolute; right: -.04em; bottom: -.22em; font-size: clamp(5rem, 2rem + 12vw, 15rem); font-weight: 800; letter-spacing: -.07em; line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08); user-select: none; }
.page-hero__caps { --h: clamp(220px, 36vw, 560px); --u: calc(var(--h) / 100); position: absolute; right: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); top: 50%; width: calc(165.1 * var(--u)); height: var(--h); translate: 0 -40%; }
.line-cap { border: 1px solid rgba(255, 255, 255, .16); background: linear-gradient(165deg, rgba(255, 255, 255, .07), transparent 55%); }
.line-dot { background: radial-gradient(circle at 34% 30%, #fff5de, #ffb045 45%, #d9700f); box-shadow: 0 0 70px rgba(255, 170, 70, .35); }
.page-hero__inner { position: relative; }
.page-hero__inner.has-visual { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: center; }
.page-hero__inner.has-visual ~ .page-hero__bg .page-hero__caps, .page-hero--ai .page-hero__caps { display: none; }
.page-hero__title { max-width: 17ch; font-size: clamp(2.3rem, 1.25rem + 3.3vw, 4.5rem); line-height: 1; letter-spacing: -.044em; font-weight: 790; }
.page-hero__lead { max-width: 46ch; margin-top: 2rem; font-size: clamp(1.0625rem, .95rem + .45vw, 1.375rem); color: var(--fg-muted); }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.page-hero--compact { padding-bottom: clamp(3rem, 6vw, 6rem); }
.page-hero--compact .page-hero__title { font-size: clamp(2.2rem, 1.2rem + 3vw, 4rem); }
.page-hero--case .page-hero__glow { background: radial-gradient(55% 70% at 85% 10%, color-mix(in oklab, var(--brand-a) 58%, transparent), transparent 70%), radial-gradient(45% 60% at 100% 95%, color-mix(in oklab, var(--brand-b) 40%, transparent), transparent 70%); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumbs a { transition: color .2s; }
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs [aria-current] { color: var(--fg-soft); }
@media (max-width: 899px) {
  .page-hero__inner.has-visual { grid-template-columns: 1fr; }
  .page-hero__caps { --h: 46vw; right: -10vw; top: calc(var(--header-h) + 1rem); translate: none; opacity: .5; }
  .page-hero__word { font-size: 30vw; }
}

/* ---------- Service detail ---------- */
.statement { max-width: 24ch; font-size: clamp(1.5rem, .95rem + 1.9vw, 2.9rem); line-height: 1.14; letter-spacing: -.034em; font-weight: 620; text-wrap: pretty; }
.statement--md { max-width: 30ch; font-size: clamp(1.3rem, .95rem + 1.3vw, 2.25rem); line-height: 1.2; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(3.5rem, 7vw, 7rem); }
.benefit { padding: 2.25rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s; }
.benefit:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 14, 23, .25); }
.benefit__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--ink-950); color: #fff; }
.benefit__title { margin-top: 2.5rem; font-size: 1.375rem; font-weight: 720; letter-spacing: -.025em; }
.benefit__text { margin-top: .6rem; color: var(--fg-muted); }
@media (max-width: 899px) { .benefits { grid-template-columns: 1fr; } }
.included__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7.5rem); }
.included__head { position: sticky; top: calc(var(--header-h) + 2.5rem); align-self: start; }
.included__head .btn { margin-top: 2.5rem; }
.included__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.included__item { display: flex; gap: 1.1rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.included__plus { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--amber-400); color: var(--ink-950); }
.included__title { font-size: 1.1875rem; font-weight: 720; letter-spacing: -.02em; line-height: 1.3; }
.included__text { margin-top: .4rem; font-size: .9375rem; color: var(--fg-muted); }
@media (max-width: 899px) { .included__grid { grid-template-columns: 1fr; } .included__head { position: static; } .included__list { grid-template-columns: 1fr; } }
.svc-next__list { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.svc-next__link { display: grid; grid-template-columns: 5rem 1fr auto; align-items: center; gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.svc-next__num { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .1em; color: var(--fg-muted); }
.svc-next__name { font-size: clamp(1.5rem, 1rem + 1.7vw, 2.6rem); font-weight: 740; letter-spacing: -.045em; line-height: 1.05; transition: transform .7s var(--ease-out); }
.svc-next__arrow { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .6s var(--ease-out), background-color .4s, color .4s; }
.svc-next__link:hover .svc-next__name { transform: translateX(.9rem); }
.svc-next__link:hover .svc-next__arrow { transform: rotate(45deg); background: var(--ink-950); color: #fff; }
@media (max-width: 599px) { .svc-next__link { grid-template-columns: 2.5rem 1fr auto; } .svc-next__arrow { width: 3rem; height: 3rem; } }

/* ---------- Services hub ---------- */
.capabilities__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
.cap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
.cap-list li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); font-size: 1.1875rem; font-weight: 640; letter-spacing: -.015em; }
.cap-list__plus { color: var(--amber-500); }
@media (max-width: 899px) { .capabilities__grid, .cap-list { grid-template-columns: 1fr; } }

/* ---------- Case study ---------- */
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; padding: 2rem 0; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); border-block: 1px solid var(--line); }
.case-meta dt { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-muted); }
.case-meta dd { margin-top: .5rem; font-weight: 620; color: var(--fg-soft); }
.showcase { padding-bottom: clamp(4rem, 8vw, 7.5rem); }
.showcase__stage { position: relative; isolation: isolate; overflow: hidden; border-radius: calc(var(--radius) + 6px); padding: clamp(1.5rem, 6vw, 6rem) clamp(1rem, 6vw, 6rem) 0; }
.showcase__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 80% 0%, rgba(255, 255, 255, .22), transparent 55%), linear-gradient(150deg, var(--brand-a), var(--brand-b)); }
.showcase__bg .work-card__cap { width: 22%; }
.showcase__browser { position: relative; width: min(100%, 1120px); margin-inline: auto; border-radius: 16px 16px 0 0; }
.showcase__phone { position: absolute; right: clamp(.75rem, 5vw, 5rem); bottom: clamp(1rem, 4vw, 3.5rem); width: clamp(96px, 15vw, 230px); }
@media (max-width: 899px) { .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.case-story__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 6vw, 7.5rem); }
.case-story__text { font-size: clamp(1.15rem, .95rem + .6vw, 1.5rem); line-height: 1.5; letter-spacing: -.02em; color: var(--fg-muted); }
.case-story__text--strong { color: var(--fg); }
.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; margin-top: clamp(3.5rem, 7vw, 7rem); }
.highlight { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.highlight__num { font-family: var(--font-mono); font-size: .75rem; color: var(--fg-muted); }
.highlight__title { margin-top: 1rem; font-size: 1.25rem; font-weight: 720; letter-spacing: -.02em; }
.highlight__text { margin-top: .5rem; font-size: .9375rem; color: var(--fg-muted); }
@media (max-width: 899px) { .case-story__grid { grid-template-columns: 1fr; } .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .highlights { grid-template-columns: 1fr; } }
.next-case { position: relative; overflow: hidden; background: var(--ink-950); }
.next-case::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 90% at 88% 50%, color-mix(in oklab, var(--brand-a) 48%, transparent), transparent 70%); opacity: .45; transition: opacity .8s; }
.next-case:hover::before { opacity: 1; }
.next-case__link { position: relative; display: block; padding-block: clamp(5rem, 10vw, 10rem); }
.next-case__inner { position: relative; z-index: 1; display: grid; gap: .75rem; justify-items: start; }
.next-case__inner .eyebrow { margin-bottom: .5rem; }
.next-case__name { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 6rem); font-weight: 790; letter-spacing: -.05em; line-height: 1; transition: transform .9s var(--ease-out); }
.next-case__link:hover .next-case__name { transform: translateX(1.25rem); }
.next-case__short { font-size: 1.125rem; color: var(--fg-muted); }
.next-case__arrow { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin-top: 1.5rem; border-radius: 50%; background: #fff; color: var(--ink-950); transition: transform .6s var(--ease-out); }
.next-case__link:hover .next-case__arrow { transform: translateX(.5rem); }
.next-case__thumb { position: absolute; right: var(--gutter); top: 50%; width: min(34vw, 520px); translate: 0 -50%; border-radius: 16px; overflow: hidden; opacity: 0; transform: rotate(-4deg) scale(.9); transition: opacity .6s, transform .9s var(--ease-out); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7); }
.next-case__link:hover .next-case__thumb { opacity: 1; transform: rotate(-2deg) scale(1); }
@media (hover: none), (max-width: 899px) { .next-case__thumb { display: none; } }

/* ---------- AI page ---------- */
.gl-mark--hero { max-width: 560px; }
.tool-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.tool-card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 2rem; border-radius: var(--radius); background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .09); transition: border-color .4s, transform .6s var(--ease-out); }
.tool-card:hover { border-color: rgba(143, 178, 255, .35); transform: translateY(-6px); }
.tool-card__title { margin-top: 1.75rem; font-size: 1.25rem; font-weight: 720; letter-spacing: -.02em; }
.tool-card__text { margin-top: .6rem; font-size: .9375rem; color: var(--fg-muted); }
.tool-card__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: 1.5rem; }
.ai-stack .section-head__side { width: 100%; max-width: 480px; }
.ai-stack .section-head__side .console { margin-top: 0; }
@media (max-width: 1099px) { .tool-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .tool-cards { grid-template-columns: 1fr; } }
.by-service__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .09); }
.by-service__col { padding: clamp(1.75rem, 3vw, 3rem); background: var(--ink-900); }
.by-service__num { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; color: var(--amber-400); }
.by-service__name { margin-top: 1rem; font-size: clamp(1.4rem, 1.1rem + .8vw, 1.85rem); font-weight: 740; letter-spacing: -.035em; }
.by-service__name a:hover { color: var(--amber-400); }
.by-service__col ul { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.by-service__col li { display: flex; gap: .85rem; font-size: .9375rem; color: var(--fg-muted); }
.by-service__col strong { color: #fff; font-weight: 650; }
.by-service__ic { flex: none; margin-top: 2px; color: var(--azure-300); }
@media (max-width: 899px) { .by-service__grid { grid-template-columns: 1fr; } }
.principles__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
.principles__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.principles__list li { padding-top: 1.5rem; border-top: 1px solid var(--line-strong); }
.principles__num { font-family: var(--font-mono); font-size: .75rem; color: var(--fg-muted); }
.principles__list h3 { margin-top: .9rem; font-size: 1.375rem; font-weight: 720; letter-spacing: -.025em; }
.principles__list p { margin-top: .5rem; color: var(--fg-muted); }
@media (max-width: 899px) { .principles__grid { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .principles__list { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.diff__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7.5rem); align-items: start; }
.diff__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2.5rem; align-items: end; }
.diff__capsule { width: clamp(110px, 12vw, 180px); margin: 0 clamp(64px, 7.5vw, 116px) 0 0; }
@media (max-width: 899px) { .diff__grid, .diff__body { grid-template-columns: 1fr; } .diff__capsule { display: none; } }
.ecosystem__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 7.5rem); align-items: center; }
.ecosystem__lead { max-width: 42ch; margin-top: 1.75rem; font-size: 1.125rem; color: var(--fg-muted); }
.ecosystem__list { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.ecosystem__list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); transition: padding-left .5s var(--ease-out); }
.ecosystem__list a:hover { padding-left: .6rem; }
.ecosystem__list i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.ecosystem__domain { font-size: 1.125rem; font-weight: 680; }
.ecosystem__cat { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.orbit { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); }
.orbit__ring--1 { inset: 0; }
.orbit__ring--2 { inset: 17%; border-style: dashed; border-color: rgba(255, 255, 255, .12); animation: spin 120s linear infinite reverse; }
.orbit__ring--3 { inset: 32%; }
.orbit__core { position: absolute; inset: 37%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #22305a, #0b1120 70%); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 90px rgba(61, 123, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .2); }
.orbit__core .mark { width: 50%; height: auto; color: #fff; }
.orbit__spin { position: absolute; inset: 0; animation: spin 90s linear infinite; }
.orbit__node { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateX(50cqi) rotate(calc(-1 * var(--a))); }
.orbit__pill { display: inline-flex; align-items: center; gap: .5rem; translate: -50% -50%; padding: .55rem .95rem; border-radius: 999px; white-space: nowrap; background: rgba(9, 13, 22, .72); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .875rem; font-weight: 650; animation: spin 90s linear infinite reverse; }
.orbit__pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); }
@media (max-width: 899px) {
  .ecosystem__grid { grid-template-columns: 1fr; }
  .orbit { max-width: min(72vw, 520px); }
  .orbit__node { transform: rotate(var(--a)) translateX(44cqi) rotate(calc(-1 * var(--a))); }
  .orbit__pill { font-size: .75rem; padding: .4rem .7rem; }
}
.values__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.value { display: flex; flex-direction: column; min-height: 17rem; padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s; }
.value:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 14, 23, .25); }
.value__num { font-family: var(--font-mono); font-size: .75rem; color: var(--fg-muted); }
.value__title { margin-top: 3.5rem; font-size: 1.375rem; font-weight: 720; letter-spacing: -.025em; }
.value__text { margin-top: .6rem; font-size: .9375rem; color: var(--fg-muted); }
@media (max-width: 1099px) { .values__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .values__list { grid-template-columns: 1fr; } .value { min-height: 0; } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: start; }
.contact-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field { min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { display: block; margin-bottom: .6rem; padding: 0; font-size: .9375rem; font-weight: 680; }
.field__req { color: var(--danger); }
.field__opt { font-weight: 450; font-size: .875rem; color: var(--fg-muted); }
.field__input { width: 100%; height: 56px; padding: 0 1.1rem; border-radius: 14px; border: 1px solid var(--line-strong); background: #fff; color: var(--fg); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field__input:hover { border-color: rgba(10, 14, 23, .42); }
.field__input:focus { outline: none; border-color: var(--azure-600); box-shadow: 0 0 0 4px rgba(42, 99, 245, .18); }
.field__input--area { height: auto; min-height: 168px; padding: 1rem 1.1rem; line-height: 1.6; resize: vertical; }
.field__input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.field__error { display: flex; align-items: center; gap: .4rem; margin-top: .5rem; font-size: .875rem; font-weight: 650; color: var(--danger); }
.field__hint { margin-top: .5rem; font-size: .875rem; color: var(--fg-muted); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip-check { position: relative; display: inline-flex; }
.chip-check input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip-check span { display: inline-flex; align-items: center; height: 46px; padding: 0 1.2rem; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: .9375rem; font-weight: 620; transition: background-color .25s, color .25s, border-color .25s; }
.chip-check input:hover + span { border-color: var(--fg); }
.chip-check input:checked + span { background: var(--ink-950); color: #fff; border-color: var(--ink-950); }
.chip-check input:focus-visible + span { outline: 2px solid var(--azure-600); outline-offset: 2px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 3rem; cursor: pointer; }
.select__icon { position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%; rotate: 90deg; pointer-events: none; color: var(--fg-muted); }
.consent { position: relative; display: flex; align-items: flex-start; gap: .85rem; cursor: pointer; font-size: .9375rem; line-height: 1.55; color: var(--fg-soft); }
.consent input { position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: 0; opacity: 0; cursor: pointer; }
.consent__box { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-strong); background: #fff; color: transparent; transition: background-color .2s, border-color .2s, color .2s; }
.consent input:checked + .consent__box { background: var(--azure-600); border-color: var(--azure-600); color: #fff; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--azure-600); outline-offset: 2px; }
.consent input[aria-invalid="true"] + .consent__box { border-color: var(--danger); }
.consent a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.contact-form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.25rem; }
.contact-form__req { font-size: .875rem; color: var(--fg-muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-summary { margin-bottom: 1.75rem; padding: 1.25rem 1.5rem; border-radius: 16px; background: #fef3f2; border: 1px solid #fda29b; color: #7a271a; }
.form-summary:focus { outline: 2px solid var(--danger); outline-offset: 3px; }
.form-summary__title { font-weight: 720; }
.form-summary ul { margin-top: .5rem; padding-left: 1.2rem; list-style: disc; }
.form-summary a { text-decoration: underline; }
.form-result { display: flex; align-items: flex-start; gap: 1rem; margin-top: 1.75rem; padding: 1.5rem; border-radius: 18px; }
.form-result .icon { flex: none; }
.form-result--ok { background: #ecfdf3; border: 1px solid #abefc6; color: #054f31; }
.form-result--err { background: #fef3f2; border: 1px solid #fda29b; color: #7a271a; }
.form-result--err a { text-decoration: underline; }
.form-result__title { font-size: 1.125rem; font-weight: 750; }
.contact-aside { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.25rem; }
.contact-card { padding: 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.contact-card .eyebrow { margin-bottom: 1.25rem; }
.contact-card__big { display: inline; font-size: clamp(1.125rem, .9rem + .55vw, 1.375rem); font-weight: 720; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-card__list { display: grid; gap: .9rem; margin-top: 1.5rem; }
.contact-card__list li { display: flex; align-items: center; gap: .75rem; color: var(--fg-soft); }
.contact-card__list .icon { flex: none; color: var(--fg-muted); }
.contact-card--dark { background: var(--ink-900); border-color: transparent; }
.contact-card__title { margin-top: 1.5rem; font-size: 1.375rem; font-weight: 720; letter-spacing: -.02em; }
.contact-card--dark p { margin: .6rem 0 1.1rem; color: var(--fg-muted); }
@media (max-width: 999px) { .contact__grid { grid-template-columns: 1fr; } .contact-aside { position: static; } }
@media (max-width: 599px) { .contact-form__fields { grid-template-columns: 1fr; } .contact-form__submit .btn { width: 100%; justify-content: space-between; } }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 3rem 0 .9rem; font-size: 1.5rem; font-weight: 720; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--fg-soft); line-height: 1.75; }
.prose p + p { margin-top: 1rem; }
.prose ul { display: grid; gap: .5rem; margin: .75rem 0; padding-left: 1.4rem; list-style: disc; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 404 ---------- */
.nf { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 2.5rem) 0 5rem; text-align: center; }
.nf .page-hero__bg { z-index: -1; }
.nf__mark .mark { width: clamp(120px, 16vw, 200px); height: auto; margin: 0 auto 2.5rem; color: #fff; }
.nf .eyebrow { justify-content: center; }
.nf__title { font-size: clamp(2.2rem, 1.3rem + 2.8vw, 4rem); font-weight: 790; letter-spacing: -.045em; line-height: 1; }
.nf__lead { max-width: 44ch; margin: 1.25rem auto 0; color: var(--fg-muted); }
.nf__lead--alt { margin-top: .5rem; font-size: .9375rem; }
.nf__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .9rem; margin-top: 2.5rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(4.5rem, 8vw, 7.5rem); background: var(--ink-950); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; }
.site-footer__mark { display: inline-block; }
.site-footer__mark .mark { width: 76px; height: auto; color: #fff; }
.site-footer__tagline { max-width: 32ch; margin-top: 1.5rem; color: var(--fg-muted); }
.site-footer__mail { display: inline-block; margin-top: 1.25rem; font-size: 1.25rem; font-weight: 680; }
.site-footer__social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.site-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background-color .3s, color .3s; }
.site-footer__social a:hover { background: #fff; color: var(--ink-950); }
.site-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.footer-col__title { margin-bottom: 1.1rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-muted); }
.footer-col li + li { margin-top: .6rem; }
.footer-col a { display: inline-flex; align-items: center; gap: .3rem; color: var(--fg-soft); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col__ext { opacity: .5; }
.footer-contact li { display: flex; align-items: flex-start; gap: .6rem; color: var(--fg-soft); }
.footer-contact .icon { flex: none; margin-top: 3px; color: var(--fg-muted); }
.footer-contact a { overflow-wrap: anywhere; }
.footer-clock { font-variant-numeric: tabular-nums; }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(3.5rem, 6vw, 5.5rem); padding: 1.75rem 0 2.25rem; border-top: 1px solid var(--line); font-size: .875rem; color: var(--fg-muted); }
.site-footer__bottom .lang-switch { color: var(--fg-soft); }
.site-footer__bottom p { margin-right: auto; }
.site-footer__bottom a:hover { color: #fff; }
.to-top { display: inline-flex; align-items: center; gap: .4rem; }
@media (max-width: 1099px) { .site-footer__top { grid-template-columns: 1fr; } }
@media (max-width: 699px) {
  .site-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
  .site-footer__bottom p { margin-right: 0; width: 100%; }
}

/* ---------- Cookie consent (Google Analytics only after "Accept") ---------- */
.cookie-banner {
  position: fixed; left: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); z-index: 85;
  width: min(440px, calc(100vw - 24px));
  padding: 1.35rem 1.4rem 1.4rem;
  border-radius: 20px;
  background: rgba(9, 13, 22, .9);
  border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .65);
  opacity: 0; translate: 0 18px;
  transition: opacity .45s var(--ease-out), translate .6s var(--ease-out);
}
.cookie-banner.is-visible { opacity: 1; translate: 0 0; }
.cookie-banner__eyebrow { margin-bottom: .6rem; }
.cookie-banner__text { font-size: .9375rem; line-height: 1.55; color: var(--fg-soft); }
.cookie-banner__text a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; gap: .6rem; margin-top: 1.1rem; }
.cookie-banner__btn { --h: 46px; flex: 1; justify-content: center; padding: 0 1.2rem; font-size: .9375rem; }
.footer-consent { padding: 0 0 2px; font: inherit; color: inherit; cursor: pointer; }
.site-footer__bottom .footer-consent:hover { color: #fff; }

/* ---------- Scroll meter (right edge) ---------- */
.scroll-meter { position: fixed; right: clamp(12px, 1.3vw, 22px); bottom: 2rem; z-index: var(--z-meter); display: flex; flex-direction: column; align-items: center; gap: .9rem; color: #fff; pointer-events: none; transition: color .3s; }
.scroll-meter[data-theme] { background: none; }
.scroll-meter[data-theme="light"] { color: var(--ink-950); }
.scroll-meter__label { max-height: 42vh; overflow: hidden; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .24em; text-transform: uppercase; }
.scroll-meter__track { position: relative; width: 1px; height: 72px; overflow: hidden; background: currentColor; opacity: .9; }
.scroll-meter__track::before { content: ""; position: absolute; inset: 0; background: var(--ink-950); opacity: .55; }
.scroll-meter[data-theme="light"] .scroll-meter__track::before { background: var(--paper); }
.scroll-meter__track i { position: absolute; inset: 0; background: currentColor; transform-origin: top; transform: scaleY(var(--sp, 0)); }
@media (max-width: 1099px) { .scroll-meter { display: none; } }

/* ---------- Custom cursor (fine pointers only; native cursor stays visible) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: var(--z-cursor); pointer-events: none; }
.cursor__ring, .cursor__dot, .cursor__label { position: fixed; left: 0; top: 0; will-change: transform; }
.cursor__ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .85); mix-blend-mode: difference; transition: scale .45s var(--ease-out), background-color .3s, border-color .3s, opacity .3s; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--amber-400); transition: opacity .3s, scale .3s; }
.cursor__label { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-950); opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.is-hover .cursor__ring { scale: 1.55; background: rgba(255, 255, 255, .9); border-color: transparent; }
.cursor.is-hover .cursor__dot { scale: 0; }
.cursor.is-view .cursor__ring { scale: 2.5; background: var(--amber-400); border-color: transparent; mix-blend-mode: normal; }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-hidden .cursor__ring, .cursor.is-hidden .cursor__dot { opacity: 0; }

/* ---------- Reveal motion (JS-enhanced; content is visible without JS) ---------- */
.js [data-reveal]:not([data-reveal="lines"]) { opacity: 0; translate: 0 34px; transition: opacity 1s var(--ease-out), translate 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
.js [data-reveal="lines"] .ln > span { translate: 0 112%; transition: translate 1.15s var(--ease-out); transition-delay: calc(var(--li, 0) * 110ms + 60ms); }
.js [data-reveal="lines"].is-in .ln > span { translate: 0 0; }
.js:not(.reveal-ready) [data-reveal]:not([data-reveal="lines"]), .js:not(.reveal-ready) [data-reveal="lines"] .ln > span { animation: reveal-failsafe .01s 3.5s forwards; }
@keyframes reveal-failsafe { to { opacity: 1; translate: 0 0; } }

/* ---------- Page transitions (View Transitions API, progressive) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .32s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal]:not([data-reveal="lines"]) { opacity: 1; translate: none; }
  .js [data-reveal="lines"] .ln > span { translate: none; }
  .js .hero:not(.is-loaded) .glass-cap, .js .hero:not(.is-loaded) .sun { opacity: 1; scale: 1; }
  .fw { opacity: 1; }
  .js .console:not(.is-in) .console__line { opacity: 1; translate: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .menu, .scroll-meter, .cursor, .hero__media, .hero__mark, .marquee, .gl-mark, .cta__bg, .cookie-banner { display: none !important; }
  body, [data-theme] { background: #fff !important; color: #000 !important; }
}
