/* =========================================================
   MABA Studios — Intelligence, without the cloud
   ========================================================= */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/inter-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/space-grotesk-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-italic-latin.woff2") format("woff2");
}

:root {
  --bg: #050403;
  --bg-2: #0a0806;
  --ink: #f4efe8;
  --muted: #a49b8d;
  --muted-2: #8d8477;
  --orange: #ff7a18;
  --orange-2: #ffa147;
  --orange-deep: #e65c00;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.055);
  --card: rgba(255, 255, 255, 0.024);
  --radius: 22px;
  --container: 1240px;
  --nav-h: 78px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 10px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
body.custom-cursor, body.custom-cursor a, body.custom-cursor button { cursor: none; }
body.custom-cursor input[type="text"], body.custom-cursor input[type="email"], body.custom-cursor textarea { cursor: text; }

.skip-link {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: calc(14px + var(--safe-l));
  z-index: 3000;
  padding: 10px 14px;
  border-radius: 7px;
  background: var(--ink);
  color: #0a0602;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }

::selection { background: rgba(255, 122, 24, 0.9); color: #0a0602; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
a, button, input, textarea, select { touch-action: manipulation; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

button, a { -webkit-tap-highlight-color: transparent; }

.mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: calc(clamp(20px, 4vw, 48px) + var(--safe-l));
  padding-right: calc(clamp(20px, 4vw, 48px) + var(--safe-r));
}

/* ---------- Texture & progress ---------- */

.noise {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: screen;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 300;
  background: rgba(255, 255, 255, 0.04);
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-2));
  box-shadow: 0 0 18px rgba(255, 122, 24, 0.8);
}

/* ---------- Cursor ---------- */

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cursor.is-active { opacity: 1; }
.cursor__dot {
  position: fixed;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--orange-2);
  box-shadow: 0 0 10px rgba(255, 122, 24, 0.9);
}
.cursor__ring {
  position: fixed;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), border-color 0.3s, background 0.3s;
}
.cursor.is-hover .cursor__ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-color: rgba(255, 122, 24, 0.7);
  background: rgba(255, 122, 24, 0.08);
}

/* ---------- Preloader ---------- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background: #050403;
  transition: transform 1s var(--ease), visibility 1s;
}
.preloader.is-done { transform: translateY(-101%); visibility: hidden; }
.preloader__inner { display: grid; justify-items: center; gap: 20px; }
.preloader__logo {
  width: 128px;
  height: 128px;
  object-fit: contain;
  mix-blend-mode: screen;
  animation: preloaderPulse 2.4s ease-in-out infinite;
}
.preloader__meta {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 40px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--muted-2);
}
.preloader__track {
  width: 180px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.preloader__bar {
  display: block;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--orange), var(--orange-2));
  animation: preload 1.4s var(--ease) infinite;
}
@keyframes preload {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}
@keyframes preloaderPulse {
  0%, 100% { opacity: 0.72; transform: scale(0.985); }
  50% { opacity: 1; transform: scale(1); }
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s, height 0.4s var(--ease);
}
.nav.is-scrolled {
  height: 68px;
  background: rgba(6, 5, 4, 0.72);
  border-bottom-color: var(--line-soft);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.nav__inner {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-left: calc(clamp(20px, 4vw, 48px) + var(--safe-l));
  padding-right: calc(clamp(20px, 4vw, 48px) + var(--safe-r));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img {
  height: 42px;
  width: auto;
  mix-blend-mode: screen;
  transition: transform 0.5s var(--ease), filter 0.5s;
}
.brand:hover img { transform: scale(1.04); filter: brightness(1.12); }
.brand__text { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand__text strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #f1eae0;
}
.brand__text small {
  font-family: var(--font-mono);
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 36px); }
.nav__links a {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color 0.3s;
  padding: 4px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--orange);
  transform: translate(-50%, 4px) scale(0);
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: translate(-50%, 0) scale(1); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after { transform: translate(-50%, 0) scale(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 22px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 26px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.4s, color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn--sm { padding: 11px 18px; font-size: 12.5px; }
.btn--light {
  background: #f2ece3;
  color: #0a0704;
  border: 1px solid #f2ece3;
}
.btn--light:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #100802;
  transform: translateY(-1px);
}
.btn--primary {
  background: linear-gradient(135deg, #ff9426, var(--orange) 55%, #f56500);
  color: #180b02;
  font-weight: 600;
  box-shadow: 0 10px 40px rgba(255, 106, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 55%);
  opacity: 0.6;
  pointer-events: none;
}
.btn--primary:hover { box-shadow: 0 14px 50px rgba(255, 106, 0, 0.38); transform: translateY(-2px); }
.btn--ghost {
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
}
.btn--ghost:hover { border-color: rgba(255, 122, 24, 0.55); background: rgba(255, 122, 24, 0.07); transform: translateY(-2px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.chip--hot { border-color: rgba(255, 122, 24, 0.32); color: var(--orange-2); background: rgba(255, 122, 24, 0.07); }
.chip--live { border-color: rgba(120, 255, 170, 0.2); color: #9fe8bd; background: rgba(120, 255, 170, 0.05); }
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #7df0ab;
  box-shadow: 0 0 0 0 rgba(125, 240, 171, 0.5);
  animation: livePulse 2.2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(125, 240, 171, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(125, 240, 171, 0); }
  100% { box-shadow: 0 0 0 0 rgba(125, 240, 171, 0); }
}

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-h) + 30px);
  padding-right: calc(clamp(24px, 7vw, 60px) + var(--safe-r));
  padding-bottom: calc(40px + var(--safe-b));
  padding-left: calc(clamp(24px, 7vw, 60px) + var(--safe-l));
  background: rgba(5, 4, 3, 0.97);
  backdrop-filter: blur(20px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.55s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu__links { display: grid; gap: 6px; }
.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3.2rem);
  letter-spacing: -0.04em;
  line-height: 1.16;
  padding: 6px 0;
  opacity: 0;
  transition: opacity 0.4s ease, color 0.3s;
}
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(3) { transition-delay: 0.14s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(4) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu__links a:nth-child(5) { transition-delay: 0.22s; }
.mobile-menu__links .mono { color: var(--orange); font-size: 9px; }
.mobile-menu__links a:hover { color: var(--orange-2); }
.mobile-menu__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: calc(var(--nav-h) + 20px) calc(clamp(20px, 4vw, 48px) + var(--safe-r)) 0 calc(clamp(20px, 4vw, 48px) + var(--safe-l));
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(1100px, 100vw);
  height: min(1100px, 100vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 110, 10, 0.11) 0%, rgba(255, 80, 0, 0.04) 32%, transparent 62%);
  z-index: 0;
  pointer-events: none;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 64% 46% at 50% 69%, rgba(5, 4, 3, 0.93) 0%, rgba(5, 4, 3, 0.5) 44%, transparent 76%),
    linear-gradient(180deg, rgba(5, 4, 3, 0.9) 0%, transparent 24%, transparent 62%, rgba(5, 4, 3, 0.74) 100%);
}
.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1080px;
  margin: auto auto 0;
  padding-bottom: clamp(36px, 6vh, 62px);
  text-align: center;
  transition: transform 0.6s ease-out;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: #cfc6b7;
}
.eyebrow__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
  animation: livePulse 2.4s infinite;
}
.hero__title {
  margin-top: clamp(22px, 3.4vh, 34px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.2rem, 8.6vw, 8.2rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: #f8f4ed;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero__line-inner {
  display: inline-block;
  transform: translateY(112%);
  opacity: 0;
  transition: transform 1.15s var(--ease), opacity 0.9s ease;
}
.hero__line-inner[data-delay="2"] { transition-delay: 0.1s; }
body.is-loaded .hero__line-inner { transform: translateY(0); opacity: 1; }
.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  font-size: 1.02em;
  color: transparent;
  background: linear-gradient(100deg, #ffb45e 0%, var(--orange) 45%, #ff7b1c 75%, #ffcf9a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  padding-right: 0.04em;
}
.hero__sub {
  max-width: 580px;
  margin: clamp(18px, 2.6vh, 26px) auto 0;
  font-size: clamp(14.5px, 1.35vw, 17px);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(24px, 3.4vh, 34px);
}
.hero-anim {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s ease, transform 1s var(--ease);
}
.hero-anim[data-delay="0"] { transition-delay: 0.15s; }
.hero-anim[data-delay="3"] { transition-delay: 0.65s; }
.hero-anim[data-delay="4"] { transition-delay: 0.78s; }
body.is-loaded .hero-anim { opacity: 1; transform: none; }

.hero__disturb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.hero__disturb:hover { color: var(--orange-2); background: rgba(255, 255, 255, 0.025); border-color: var(--line-soft); }
.hero__spark {
  display: inline-block;
  color: var(--orange);
  font-size: 11px;
  animation: sparkle 3.2s ease-in-out infinite;
}
@keyframes sparkle {
  0%, 100% { opacity: 0.55; transform: scale(0.9) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(45deg); }
}

.hero__meta {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding: 17px 0 calc(19px + var(--safe-b));
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-item .mono { color: #8d8477; font-size: 8.5px; }
.hero__meta-item--center {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  justify-self: center;
}
.hero__meta-item--right { justify-self: end; text-align: right; }
.scroll-line {
  display: block;
  width: 42px;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateX(-100%);
  animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* ---------- Ticker ---------- */

.ticker {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.012);
}
.ticker__track { display: flex; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; flex-shrink: 0; }
.ticker__group span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 26px;
}
.ticker__group i {
  width: 4px;
  height: 4px;
  background: rgba(255, 122, 24, 0.55);
  transform: rotate(45deg);
  flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Shared sections ---------- */

.section { position: relative; padding: clamp(96px, 13vh, 160px) 0; scroll-margin-top: 70px; }
.section:focus { outline: none; }
.section__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 25% 100%;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  opacity: 0.55;
}
.section-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.section-tag span:first-child { color: var(--orange); }
.section-tag__label { position: relative; padding-left: 30px; }
.section-tag__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--line);
}
.section-head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(48px, 7vh, 80px);
}
.section-title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.3vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #f6f1e9;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: transparent;
  background: linear-gradient(100deg, #ffb45e, var(--orange) 55%, #ffcf9a);
  -webkit-background-clip: text;
  background-clip: text;
}
.section-copy {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
  max-width: 380px;
  padding-bottom: 6px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(5px);
  transition: opacity 0.95s ease, transform 0.95s var(--ease), filter 0.8s ease;
  transition-delay: var(--d, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

/* ---------- Manifesto ---------- */

.manifesto { padding-top: clamp(110px, 16vh, 180px); }
.manifesto__text {
  max-width: 1100px;
  margin-top: clamp(34px, 6vh, 58px);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.35vw, 4.05rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
  font-weight: 400;
  color: rgba(244, 239, 232, 0.16);
}
.manifesto__text .word {
  display: inline-block;
  margin-right: 0.28em;
  transition: color 0.55s ease, text-shadow 0.55s ease;
}
.manifesto__text .word.is-lit { color: #f2ece4; }
.manifesto__text .word.accent { font-family: var(--font-serif); font-style: italic; margin-right: 0.34em; }
.manifesto__text .word.accent.is-lit { color: var(--orange-2); }
.manifesto__text .word.is-lit[data-last] { color: var(--orange-2); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(60px, 9vh, 100px);
  border-top: 1px solid var(--line);
}
.stat { padding: 30px 26px 6px 0; display: flex; flex-direction: column; gap: 10px; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line-soft); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #f4efe8;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.stat__value small {
  font-size: 0.42em;
  letter-spacing: 0;
  color: var(--orange);
  margin-left: 3px;
  font-weight: 500;
}
.stat__label { font-size: 12px; color: var(--muted-2); letter-spacing: 0.02em; }

/* ---------- Engines ---------- */

.engine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.engine-wrap { perspective: 1100px; }
.engine {
  position: relative;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 130, 30, 0.09), transparent 45%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.008) 60%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s ease, border-color 0.45s ease, background 0.45s ease, box-shadow 0.45s ease;
  will-change: transform;
}
.engine::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255, 170, 80, 0.5), transparent 32%, transparent 70%, rgba(255, 122, 24, 0.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.engine:hover { border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 30px 80px -40px rgba(255, 110, 10, 0.4); }
.engine:hover::before { opacity: 1; }
.engine__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.engine__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.1em;
}
.engine h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.3vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #f5f0e8;
}
.engine__desc {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
  min-height: 88px;
}
.engine__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.engine__specs div { display: flex; flex-direction: column; gap: 7px; }
.engine__specs div + div { padding-left: 20px; border-left: 1px solid var(--line-soft); }
.engine__specs .mono { color: var(--muted-2); font-size: 8.5px; }
.engine__specs strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #f2ece4;
}
.engine__specs small { font-size: 0.42em; color: var(--orange-2); margin-left: 3px; letter-spacing: 0.02em; }
.engine__bar {
  margin-top: 22px;
  height: 3px;
  width: 100%;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}
.engine__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-2));
  box-shadow: 0 0 16px rgba(255, 122, 24, 0.55);
  transition: width 1.4s var(--ease) 0.35s;
}
.engine-wrap.is-visible .engine__bar span { width: var(--w); }
.engine:hover .engine__bar span { filter: brightness(1.18); box-shadow: 0 0 18px rgba(255, 122, 24, 0.45); }
.engine__note { margin-top: 9px; color: var(--muted-2); font-size: 8px; letter-spacing: 0.1em; }
.engine__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.engine__foot .engine__note { margin-top: 0; }
.engine__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 24, 0.28);
  background: rgba(255, 122, 24, 0.06);
  color: var(--orange-2);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.engine:hover .engine__cta {
  color: #ffd6ab;
  border-color: rgba(255, 122, 24, 0.55);
  background: rgba(255, 122, 24, 0.14);
}

.card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
}
.card-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -4px;
}
.engines__foot {
  margin-top: 34px;
  text-align: center;
  color: var(--muted-2);
  font-size: 8.5px;
  letter-spacing: 0.2em;
}

/* ---------- Compression lab ---------- */

.lab {
  position: relative;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(24px, 3.4vw, 42px);
  background:
    radial-gradient(700px circle at 18% 35%, rgba(255, 122, 24, 0.1), transparent 55%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.004));
  overflow: hidden;
}
.lab::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 22% 55%, #000, transparent 68%);
  pointer-events: none;
  opacity: 0.5;
}
.lab__head {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 10px;
}
.lab__eyebrow { display: block; color: var(--orange); font-size: 8.5px; letter-spacing: 0.18em; margin-bottom: 10px; }
.lab__head h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.lab__head h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange-2);
}
.lab__intro { max-width: 340px; font-size: 12.5px; line-height: 1.65; color: var(--muted-2); font-weight: 300; padding-bottom: 4px; }
.lab__stage {
  position: relative;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: 20px 0 8px;
}
.lab__orb-wrap { position: relative; display: grid; place-items: center; height: 280px; perspective: 900px; }
.lab__halo {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.22), rgba(255, 90, 10, 0.04) 50%, transparent 70%);
  filter: blur(8px);
  transform: scale(calc(0.55 + var(--s, 1) * 0.45));
  transition: transform 1.1s var(--ease);
  animation: haloPulse 5.5s ease-in-out infinite;
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
.lab__chip {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 200px;
  clip-path: polygon(0 16%, 16% 0, 84% 0, 100% 16%, 100% 84%, 84% 100%, 16% 100%, 0 84%);
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 122, 24, 0.26), transparent 64%),
    linear-gradient(145deg, rgba(255, 170, 80, 0.2), rgba(30, 14, 5, 0.5)),
    #160d07;
  box-shadow:
    inset 0 0 0 1px rgba(255, 176, 96, 0.45),
    inset 0 0 70px rgba(255, 110, 10, 0.17);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 40px rgba(255, 110, 10, 0.22));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transform: scale(var(--s, 1)) rotate(-3deg) rotateX(var(--chip-rx, 0deg)) rotateY(var(--chip-ry, 0deg));
  transition: transform 1.15s cubic-bezier(0.34, 1.4, 0.64, 1), filter 0.6s;
  cursor: pointer;
  animation: orbFloat 6s ease-in-out infinite;
  will-change: transform;
}
.lab__chip:hover {
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 60px rgba(255, 110, 10, 0.42));
}
.lab__chip.is-tilting { transition: transform 0.22s ease-out, filter 0.6s; }
.lab__chip-grid {
  position: absolute;
  inset: 12px;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 13px, rgba(255, 160, 80, 0.13) 13px 14px),
    repeating-linear-gradient(90deg, transparent 0 13px, rgba(255, 160, 80, 0.1) 13px 14px);
  mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 82%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 82%);
  pointer-events: none;
}
.lab__chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(132deg, rgba(255, 255, 255, 0.12), transparent 34%);
  pointer-events: none;
}
.lab__chip::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 170, 90, 0.16);
  pointer-events: none;
}
@keyframes orbFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}
.lab__orb-value {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 2.7rem;
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #ffe9d2;
  text-shadow: 0 0 24px rgba(255, 122, 24, 0.55);
  transition: font-size 0.6s var(--ease);
}
.lab__orb-value.is-swapping { animation: valuePop 0.5s var(--ease); }
@keyframes valuePop {
  0% { opacity: 0; transform: translateY(5px) scale(0.94); }
  100% { opacity: 1; transform: none; }
}
.lab__orb-label { position: relative; z-index: 1; color: var(--orange-2) !important; font-size: 7px !important; letter-spacing: 0.24em !important; font-weight: 500; }
.lab__orb-hint {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted-2);
  font-size: 7px;
  letter-spacing: 0.18em;
  white-space: nowrap;
  pointer-events: none;
}
.lab__panel { min-width: 0; }
.lab__index { color: var(--orange); font-size: 8px; letter-spacing: 0.18em; }
.lab__panel h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  letter-spacing: -0.04em;
  margin-top: 6px;
  line-height: 1.1;
}
.lab__panel > .lab__meta p {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
  font-weight: 300;
  max-width: 450px;
  min-height: 40px;
}
.lab__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 22px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.lab__stats div + div { padding-left: 18px; border-left: 1px solid var(--line-soft); }
.lab__stats span { display: block; color: var(--muted-2); font-size: 7.5px; letter-spacing: 0.14em; margin-bottom: 5px; }
.lab__stats strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: #f1eae0;
  transition: color 0.3s;
}
.lab__meter { margin-top: 20px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.lab__meter span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange-2));
  box-shadow: 0 0 14px rgba(255, 122, 24, 0.5);
  transition: width 1s var(--ease);
}
.lab__meter-label { display: block; margin-top: 8px; color: var(--muted-2); font-size: 7.5px; letter-spacing: 0.12em; }
.lab__control { position: relative; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.lab__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--orange) var(--fill, 0%), rgba(255, 255, 255, 0.1) var(--fill, 0%));
  outline: none;
  cursor: pointer;
  margin: 8px 0 0;
  display: block;
}
.lab__range::-webkit-slider-runnable-track { height: 4px; background: transparent; border-radius: 4px; }
.lab__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border-radius: 50%;
  background: #ff8a1f;
  border: 3px solid #1a0f06;
  box-shadow: 0 0 0 1px rgba(255, 122, 24, 0.55), 0 0 20px rgba(255, 122, 24, 0.65);
  transition: transform 0.25s var(--ease);
}
.lab__range:active::-webkit-slider-thumb { transform: scale(1.16); }
.lab__range::-moz-range-track { height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; }
.lab__range::-moz-range-progress { height: 4px; background: var(--orange); border-radius: 4px; }
.lab__range::-moz-range-thumb { width: 14px; height: 14px; background: #ff8a1f; border: 3px solid #1a0f06; border-radius: 50%; box-shadow: 0 0 16px rgba(255, 122, 24, 0.6); }
.lab__ticks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.lab__ticks button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted-2);
  justify-self: start;
  padding: 6px 0;
  transition: color 0.3s;
}
.lab__ticks button:nth-child(2) { justify-self: center; }
.lab__ticks button:nth-child(3) { justify-self: end; }
.lab__ticks button .mono { font-size: 7.5px; color: var(--muted-2); transition: color 0.3s; }
.lab__ticks button:hover { color: var(--ink); }
.lab__ticks button.is-active { color: var(--orange-2); }
.lab__ticks button.is-active .mono { color: var(--orange); }

/* ---------- Products ---------- */

.feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(900px circle at var(--mx, 82%) var(--my, 38%), rgba(255, 122, 24, 0.15), transparent 48%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.006) 55%);
  overflow: hidden;
  margin-bottom: 18px;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 170, 80, 0.4), transparent 30%, transparent 68%, rgba(255, 122, 24, 0.16));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.feature__copy, .feature__visual, .local__copy, .local__visual { min-width: 0; }

.feature__copy { padding: clamp(30px, 4.5vw, 58px); display: flex; flex-direction: column; justify-content: center; }
.feature__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.feature__platform { color: var(--muted-2); font-size: 9px; }
.feature__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 4.2rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}
.feature__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--orange-2);
}
.feature__lead {
  margin-top: 16px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: #e7e0d6;
  font-weight: 400;
}
.feature__desc {
  margin-top: 10px;
  max-width: 440px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}
.feature__list { margin-top: 24px; display: grid; gap: 10px; }
.feature__list li {
  position: relative;
  padding-left: 22px;
  font-size: 12.5px;
  color: #cfc6b8;
}
.feature__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 122, 24, 0.65);
  background: rgba(255, 122, 24, 0.22);
  box-shadow: 0 0 8px rgba(255, 122, 24, 0.4);
}
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.play-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #f2ece3;
  color: #0a0704;
  border-radius: 12px;
  padding: 10px 20px 10px 16px;
  transition: transform 0.4s var(--ease), background 0.4s, box-shadow 0.4s;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}
.play-btn:hover { background: var(--orange); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(255, 110, 10, 0.25); }
.play-btn span { display: flex; flex-direction: column; line-height: 1.15; font-size: 14px; font-weight: 500; }
.play-btn small { font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; opacity: 0.7; }
.feature__free { color: var(--muted-2); font-size: 8.5px; }

.feature__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 730px;
  padding: 40px 20px 34px;
  isolation: isolate;
}
.feature__visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.22), rgba(255, 80, 0, 0.05) 45%, transparent 70%);
  filter: blur(10px);
  z-index: -1;
}
.phone {
  position: relative;
  width: 296px;
  height: 640px;
  border-radius: 27px;
  background:
    linear-gradient(145deg, #e3dacb 0%, #8a8072 10%, #4d453b 22%, #24201b 42%, #171412 55%, #3d352c 78%, #a89d8d 94%, #dcd2c2 100%);
  padding: 4px;
  box-shadow:
    0 70px 120px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 0 100px -28px rgba(255, 110, 10, 0.3);
  transform: rotate(var(--ry, -3deg)) rotateX(var(--rx, 2deg));
  transform-style: preserve-3d;
  transition: transform 0.55s var(--ease);
}
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  right: -3px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #b8afa1, #6a6256 55%, #2e2822);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}
.phone::before { top: 136px; height: 58px; }
.phone::after { top: 212px; height: 34px; }
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 23px;
  overflow: hidden;
  background: #f6f5f2;
  box-shadow:
    inset 0 0 0 2px #060606,
    inset 0 0 0 3px rgba(255, 255, 255, 0.045);
}
.phone__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1);
  transition: transform 0.7s var(--ease);
}
.phone__camera {
  position: absolute;
  top: 11px;
  left: 50%;
  z-index: 3;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at 38% 32%, #46505c, #080808 52%, #000 100%);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(255, 255, 255, 0.06),
    inset 0 0 2px rgba(130, 180, 240, 0.25);
}
.phone__statusbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px 0;
  color: #191919;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
  pointer-events: none;
}
.phone__statusbar svg { opacity: 0.82; }
.phone__home {
  position: absolute;
  bottom: 7px;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  transform: translateX(-50%);
  background: rgba(20, 20, 20, 0.62);
  pointer-events: none;
}
.feature:hover .phone__screen img { transform: scale(1.02); }
.phone__shine {
  position: absolute;
  inset: -40%;
  background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.5) 50%, transparent 58%);
  transform: translateX(-70%) rotate(8deg);
  animation: phoneShine 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  mix-blend-mode: screen;
  opacity: 0.32;
  pointer-events: none;
}
@keyframes phoneShine {
  0%, 58% { transform: translateX(-70%) rotate(8deg); }
  76%, 100% { transform: translateX(70%) rotate(8deg); }
}
.phone__glare {
  position: absolute;
  inset: 0;
  border-radius: 27px;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.18), transparent 28%);
  mix-blend-mode: screen;
}
.phone__caption {
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  color: var(--muted-2);
  font-size: 7.5px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.caret {
  display: inline-block;
  width: 1px;
  height: 9px;
  margin-left: 2px;
  background: var(--orange-2);
  vertical-align: -1px;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.product-wrap { perspective: 1100px; }
.product {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 130, 30, 0.08), transparent 45%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.006));
  display: flex;
  flex-direction: column;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s ease, border-color 0.4s, background 0.4s;
  position: relative;
  overflow: hidden;
}
.product:hover { border-color: rgba(255, 122, 24, 0.28); }
.product__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 36px; }
.product__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 122, 24, 0.18);
  background: linear-gradient(155deg, rgba(255, 122, 24, 0.16), rgba(255, 122, 24, 0.03));
  color: var(--orange-2);
}
.product__platform { color: var(--muted-2); font-size: 8.5px; padding-top: 6px; }
.product h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}
.product p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.68;
  color: var(--muted);
  font-weight: 300;
  flex: 1;
}
.product__foot {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 122, 24, 0.24);
  background: rgba(255, 122, 24, 0.05);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange-2);
  white-space: nowrap;
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.product__cta svg { transition: transform 0.35s var(--ease); }
.product:hover .product__cta { color: #ffd6ab; border-color: rgba(255, 122, 24, 0.5); background: rgba(255, 122, 24, 0.12); }
.product:hover .product__cta svg { transform: translateY(2px); }

/* ---------- Local / architecture ---------- */

.local {
  border-top: 1px solid var(--line-soft);
  background: radial-gradient(800px circle at 78% 50%, rgba(255, 110, 10, 0.06), transparent 60%);
}
.local__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.local__desc {
  margin-top: 24px;
  max-width: 440px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  font-weight: 300;
}
.steps { margin-top: 40px; border-top: 1px solid var(--line); }
.steps li {
  display: flex;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.steps .mono { color: var(--orange); font-size: 9px; padding-top: 4px; }
.steps strong { font-size: 14px; font-weight: 500; color: #ede6dc; }
.steps p { margin-top: 3px; font-size: 12.5px; line-height: 1.6; color: var(--muted-2); max-width: 340px; font-weight: 300; }
.local__note { margin-top: 26px; color: var(--muted-2); font-size: 8.5px; letter-spacing: 0.16em; }

.local__visual { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }

.console {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 550px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(22, 18, 14, 0.97), rgba(7, 6, 5, 0.99));
  box-shadow:
    0 50px 110px -45px rgba(0, 0, 0, 0.95),
    0 0 80px -30px rgba(255, 110, 10, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  overflow: hidden;
  isolation: isolate;
}
.console::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 25%, #000, transparent 78%);
  pointer-events: none;
  z-index: 0;
}
.console::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -90px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.15), transparent 65%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
.console__bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.018);
}
.console__dots { display: flex; gap: 5px; }
.console__dots i { width: 7px; height: 7px; border-radius: 50%; background: #382f27; }
.console__dots i:first-child { background: rgba(255, 122, 24, 0.75); box-shadow: 0 0 8px rgba(255, 122, 24, 0.4); }
.console__title { color: var(--muted-2); font-size: 8px; letter-spacing: 0.1em; }
.console__chip { margin-left: auto; padding: 4px 8px; font-size: 6.5px; letter-spacing: 0.1em; }
.console__body { position: relative; z-index: 2; padding: 16px 16px 14px; }
.console__boot {
  display: flex;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 7.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.console__boot span { color: var(--orange); }
.console__transcript {
  height: 224px;
  overflow-y: auto;
  padding: 14px 2px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 122, 24, 0.35) transparent;
}
.console__transcript::-webkit-scrollbar { width: 4px; }
.console__transcript::-webkit-scrollbar-thumb { background: rgba(255, 122, 24, 0.3); border-radius: 4px; }
.con-ai {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 122, 24, 0.3);
  animation: conIn 0.5s var(--ease);
}
.con-label { display: block; color: var(--orange-2); font-size: 7px; letter-spacing: 0.2em; margin-bottom: 5px; }
.con-ai p {
  color: #c7beb1;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.68;
}
.con-checks {
  display: grid;
  gap: 6px;
  padding: 2px 0 0 13px;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.con-checks span { display: inline-flex; align-items: center; gap: 7px; }
.con-checks i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 122, 24, 0.7); box-shadow: 0 0 6px rgba(255, 122, 24, 0.45); flex-shrink: 0; }

.con-user {
  align-self: flex-end;
  max-width: 88%;
  padding: 8px 11px;
  border-radius: 10px 10px 2px 10px;
  border: 1px solid rgba(255, 122, 24, 0.2);
  background: rgba(255, 122, 24, 0.08);
  color: #f1e8dc;
  font-size: 11px;
  line-height: 1.5;
  animation: conIn 0.45s var(--ease);
}
@keyframes conIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.con-thinking { display: inline-flex; gap: 4px; padding: 4px 0; }.con-thinking i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  animation: thinking 1.2s ease-in-out infinite;
}
.con-thinking i:nth-child(2) { animation-delay: 0.15s; }
.con-thinking i:nth-child(3) { animation-delay: 0.3s; }
@keyframes thinking {
  0%, 70%, 100% { opacity: 0.2; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-3px); }
}
.con-stream { white-space: pre-wrap; }
.con-cursor {
  display: inline-block;
  width: 5px;
  height: 11px;
  margin-left: 2px;
  background: var(--orange);
  vertical-align: -1px;
  animation: blink 1s steps(2) infinite;
}
.console__suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0 10px; }
.console__suggestions button {
  font-family: var(--font-mono);
  font-size: 8px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
  padding: 6px 10px;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.3s var(--ease);
}
.console__suggestions button:hover {
  color: var(--ink);
  border-color: rgba(255, 122, 24, 0.42);
  background: rgba(255, 122, 24, 0.07);
  transform: translateY(-1px);
}
.console__form {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
  padding: 8px 8px 8px 12px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.console__form:focus-within { border-color: rgba(255, 122, 24, 0.5); box-shadow: 0 0 0 3px rgba(255, 122, 24, 0.07); }
.console__prompt { color: var(--orange); font-family: var(--font-mono); font-size: 12px; line-height: 1; }
.console__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.console__input::placeholder { color: var(--muted-2); }
.console__run {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff9426, #f56500);
  color: #170a02;
  font-family: var(--font-mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), filter 0.3s;
}
.console__run:hover { transform: translateY(-1px); filter: brightness(1.08); }
.console__run:disabled { opacity: 0.45; pointer-events: none; }
.console.is-generating {
  border-color: rgba(255, 122, 24, 0.3);
  box-shadow:
    0 50px 110px -45px rgba(0, 0, 0, 0.95),
    0 0 100px -22px rgba(255, 110, 10, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.console__run kbd {
  font-family: var(--font-mono);
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.14);
  font-size: 8px;
}
.console__foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 7px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.console__foot b { color: #c8bfb2; font-weight: 400; margin-left: 4px; letter-spacing: 0.08em; }
.console__status { display: inline-flex; align-items: center; gap: 6px; }
.console__status i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); transition: background 0.3s, box-shadow 0.3s; }
.console__status.is-live { color: var(--orange-2); }
.console__status.is-live i { background: var(--orange); box-shadow: 0 0 8px var(--orange); animation: livePulse 1.4s infinite; }
.console__scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 140, 50, 0.05) 48%, transparent 52%, transparent 100%);
  background-size: 100% 220%;
  animation: scan 9s linear infinite;
  opacity: 0.55;
}
@keyframes scan {
  0% { background-position: 0 -120%; }
  100% { background-position: 0 120%; }
}
.console__caption { color: var(--muted-2); font-size: 7.5px; letter-spacing: 0.14em; text-align: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- CTA ---------- */

.cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  padding: clamp(120px, 18vh, 190px) 0;
}
.cta__glow {
  position: absolute;
  left: 50%;
  bottom: -50%;
  width: 1100px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 106, 0, 0.16), rgba(255, 80, 0, 0.04) 42%, transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}
.cta__inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.cta .section-tag { justify-content: center; }
.cta__title {
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 7.6vw, 7rem);
  line-height: 0.97;
  letter-spacing: -0.055em;
}
.cta__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(100deg, #ffb45e, var(--orange) 55%, #ffd8ab);
  -webkit-background-clip: text;
  background-clip: text;
}
.cta__copy { margin-top: 24px; font-size: 14.5px; line-height: 1.7; color: var(--muted); font-weight: 300; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.email-row { display: flex; align-items: center; gap: 10px; justify-content: center; }
.copy-btn {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.copy-btn:hover { color: var(--orange-2); border-color: rgba(255, 122, 24, 0.45); background: rgba(255, 122, 24, 0.06); transform: translateY(-2px); }
.copy-btn svg { position: absolute; transition: opacity 0.25s, transform 0.3s var(--ease); }
.copy-btn__check { opacity: 0; transform: scale(0.6); color: var(--orange-2); }
.copy-btn.is-copied { color: var(--orange-2); border-color: rgba(255, 122, 24, 0.55); }
.copy-btn.is-copied .copy-btn__icon { opacity: 0; }
.copy-btn.is-copied .copy-btn__check { opacity: 1; transform: none; }

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(28px + var(--safe-b));
  z-index: 500;
  padding: 12px 18px;
  border: 1px solid rgba(255, 122, 24, 0.3);
  border-radius: 999px;
  background: rgba(12, 9, 6, 0.96);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  border-top: 1px solid var(--line-soft);
  background: #040302;
  padding: 70px 0 calc(34px + var(--safe-b));
  overflow: hidden;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.footer__brand img {
  height: 96px;
  width: auto;
  margin-left: -8px;
  mix-blend-mode: screen;
  opacity: 0.92;
}
.footer__brand p { margin-top: 12px; font-size: 12px; line-height: 1.7; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__heading { color: #8d8477; margin-bottom: 6px; font-size: 9px; letter-spacing: 0.2em; }
.footer__col a { font-size: 12.5px; color: var(--muted); transition: color 0.3s, transform 0.3s; width: fit-content; }
.footer__col a:hover { color: var(--orange-2); transform: translateX(3px); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 10.5px;
  color: var(--muted);
}
.footer__bottom .mono { font-size: 8px; letter-spacing: 0.14em; }
.footer__watermark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(6rem, 24vw, 22rem);
  line-height: 0.72;
  letter-spacing: -0.06em;
  text-align: center;
  margin-bottom: -0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  user-select: none;
  pointer-events: none;
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: max(26px, calc(var(--safe-r) + 14px));
  bottom: max(26px, calc(var(--safe-b) + 14px));
  z-index: 120;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: rgba(11, 8, 6, 0.72);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.92);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s var(--ease), border-color 0.3s, color 0.3s, visibility 0s linear 0.4s;
}
.to-top::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(var(--orange) calc(var(--p, 0) * 1%), rgba(255, 255, 255, 0.06) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  pointer-events: none;
}
.to-top svg { transition: transform 0.35s var(--ease); }
.to-top:hover { border-color: rgba(255, 122, 24, 0.5); color: var(--orange-2); }
.to-top:hover svg { transform: translateY(-2px); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }

/* ---------- Title reveal masks ---------- */

.title-mask-inner {
  display: block;
  clip-path: inset(0 -6% 106% -6%);
  transition: clip-path 1.15s var(--ease) 0.08s;
}
.title-mask.is-visible .title-mask-inner,
[data-reveal].is-visible .title-mask .title-mask-inner { clip-path: inset(-8% -6% -14% -6%); }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .menu-btn { display: block; }
  .nav__actions .btn--sm { display: none; }
  .engine-grid { grid-template-columns: 1fr; }
  .engine__desc { min-height: 0; }
  .engine { padding: 26px; }
  .engine__specs { margin-top: 26px; }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .engine-grid, .local__grid, .lab__stage { grid-template-columns: minmax(0, 1fr); }
  .feature__copy, .feature__visual, .local__copy, .local__visual { min-width: 0; }
  .feature__visual { min-height: 730px; padding-top: 24px; }
  .feature__copy { padding-bottom: 10px; }
  .local__grid { grid-template-columns: 1fr; }
  .local__visual { order: -1; }
  .console { max-width: 660px; }
  .section-head { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .section-copy { max-width: 480px; }
  .lab__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .lab__intro { max-width: 540px; }
  .lab__stage { grid-template-columns: 1fr; gap: 16px; }
  .lab__orb-wrap { height: 240px; }
  .lab__chip { width: 180px; height: 180px; }
  .lab__panel { max-width: 620px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  :root { --nav-h: 66px; }
  .brand { gap: 9px; }
  .brand img { height: 34px; }
  .brand__text strong { font-size: 12px; }
  .brand__text small { font-size: 5.5px; letter-spacing: 0.36em; }
  .hero { padding-top: calc(var(--nav-h) + 10px); }
  .hero__content { padding-bottom: 40px; }
  .hero__title { font-size: clamp(2.25rem, 10.3vw, 3.4rem); }
  .hero__sub { font-size: 13.5px; max-width: 390px; }
  .hero__cta { gap: 10px; margin-top: 22px; }
  .hero__cta .btn { padding: 13px 18px; font-size: 12px; }
  .hero__disturb { margin-top: 10px; font-size: 7px; letter-spacing: 0.16em; padding: 7px 10px; }
  .to-top { right: max(18px, calc(var(--safe-r) + 10px)); bottom: max(18px, calc(var(--safe-b) + 10px)); width: 44px; height: 44px; }
  .hero__meta { grid-template-columns: 1fr 1fr; gap: 12px; font-size: 8.5px; padding: 14px 0 calc(16px + var(--safe-b)); }
  .hero__meta-item--center { display: none; }
  .hero__meta-item--right { justify-self: end; }
  .hero__meta-item { gap: 3px; }
  .hero__meta-item .mono { font-size: 7.5px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 18px 4px 0; }
  .stat + .stat { padding-left: 18px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .stat:nth-child(3) { padding-left: 0; }
  .engine__specs strong { font-size: 1.7rem; }
  .section-title { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .manifesto__text { font-size: clamp(1.6rem, 7.2vw, 2.4rem); }
  .feature { border-radius: 24px; }
  .feature__visual { min-height: 680px; padding: 30px 12px 34px; }
  .phone { width: 268px; height: 580px; }
  .phone__caption { font-size: 7px; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .console__transcript { height: 205px; }
  .console__body { padding: 14px 13px 12px; }
  .console__foot { font-size: 6.5px; gap: 10px; }
  .console__bar { padding: 12px 14px; }
  .console__suggestions button { font-size: 7.5px; padding: 5px 9px; }
  .lab { padding: 22px 18px 24px; border-radius: 20px; }
  .lab__orb-wrap { height: 215px; }
  .lab__chip { width: 158px; height: 158px; }
  .lab__orb-value { font-size: 2.2rem; }
  .lab__ticks button { font-size: 9.5px; gap: 4px; }
  .lab__ticks button .mono { font-size: 6.5px; }
  .lab__stats strong { font-size: 1.1rem; }
  .lab__stats div + div { padding-left: 12px; }
  .cta__copy br { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; padding-bottom: 44px; }
  .footer__watermark { margin-top: 20px; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(2.15rem, 10vw, 2.9rem); }
  .eyebrow { font-size: 8px; letter-spacing: 0.16em; padding: 7px 12px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .hero__meta-item > span:last-child { font-size: 8px; letter-spacing: 0.06em; }
  .brand__text small { display: none; }
  .feature__visual { min-height: 600px; transform: none; margin-block: 0; padding: 20px 8px 28px; }
  .phone { width: 246px; height: 532px; }
  .cta__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .email-row { width: 100%; }
  .email-row .btn--primary { flex: 1; padding: 14px 16px; font-size: 12px; }
  .copy-btn { width: 48px; height: 48px; }
  .cta__actions > .btn { width: 100%; }
  .toast { bottom: calc(84px + var(--safe-b)); font-size: 8px; max-width: calc(100vw - 28px); text-align: center; }
  .lab__stage { gap: 6px; }
  .lab__orb-wrap { height: 195px; }
  .lab__chip { width: 142px; height: 142px; }
  .lab__ticks { grid-template-columns: 1fr; gap: 0; }
  .lab__ticks button,
  .lab__ticks button:nth-child(2),
  .lab__ticks button:nth-child(3) { justify-self: start; }
  .console__transcript { height: 215px; }
  .console__suggestions { gap: 5px; }
  .console__suggestions button { font-size: 7px; padding: 5px 8px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal], .hero-anim { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero__line-inner { transform: none !important; opacity: 1 !important; }
  .manifesto__text .word { color: #f2ece4; }
  .manifesto__text .word.accent { color: var(--orange-2); }
  .ticker__track { animation: none; }
  .hero__disturb { display: none; }
  .title-mask-inner { clip-path: none !important; }
}

/* ---------- Touch & fine-pointer adaptations ---------- */

.console__transcript {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (pointer: coarse) {
  .console__input { font-size: 16px; }
  .lab__range { height: 6px; }
  .lab__range::-webkit-slider-runnable-track { height: 6px; }
  .lab__range::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -10px; }
  .lab__range::-moz-range-thumb { width: 22px; height: 22px; }
  .lab__ticks button { min-height: 44px; padding-block: 9px; }
  .menu-btn { min-width: 44px; min-height: 44px; }
  .brand { min-height: 44px; }
  .to-top { min-width: 44px; min-height: 44px; }
  .console__run { min-height: 44px; }
  .console__suggestions button { min-height: 44px; padding: 8px 10px; }
  .hero__disturb { min-height: 44px; }
  .mobile-menu__foot a { padding-block: 8px; }
  .footer__col a { padding-block: 6px; }
  .copy-btn { min-width: 48px; min-height: 48px; }
}

/* ---------- Landscape phones / short viewports ---------- */

@media (orientation: landscape) and (max-height: 700px) {
  :root { --nav-h: 62px; }
  .brand img { height: 32px; }
  .brand__text strong { font-size: 12px; }
  .brand__text small { font-size: 5px; }
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + 8px);
  }
  .hero__content { padding-bottom: 10px; }
  .eyebrow { font-size: 7px; padding: 6px 10px; letter-spacing: 0.13em; }
  .hero__title {
    font-size: clamp(2rem, 9.2vh, 3.6rem);
    margin-top: 8px;
  }
  .hero__sub {
    margin-top: 9px;
    max-width: 560px;
    font-size: 12px;
    line-height: 1.5;
  }
  .hero__cta { margin-top: 11px; gap: 8px; }
  .hero__cta .btn { padding: 10px 16px; font-size: 11px; }
  .hero__disturb { display: none; }
  .hero__meta {
    grid-template-columns: 1fr 1fr;
    font-size: 8px;
    padding: 8px 0 calc(10px + var(--safe-b));
  }
  .hero__meta-item--center { display: none; }
  .hero__meta-item--right { justify-self: end; }
  .hero__meta-item .mono { font-size: 7px; }
}

/* ---------- Small foldables / narrow phones ---------- */

@media (max-width: 359px) {
  .feature__copy { padding-left: 20px; padding-right: 20px; }
  .console__foot { gap: 8px 10px; font-size: 6.5px; }
  .console__form { padding: 7px; }
  .console__run { padding: 7px 8px; }
  .console__run kbd { display: none; }
  .console__input { padding-block: 4px; }
  .console__suggestions button { flex: 0 0 auto; }
  .container {
    padding-left: calc(14px + var(--safe-l));
    padding-right: calc(14px + var(--safe-r));
  }
  .hero {
    padding-left: calc(14px + var(--safe-l));
    padding-right: calc(14px + var(--safe-r));
  }
  .nav__inner {
    padding-left: calc(14px + var(--safe-l));
    padding-right: calc(14px + var(--safe-r));
  }
  .brand img { height: 30px; }
  .brand__text strong { font-size: 11px; }
  .brand { gap: 7px; }
  .menu-btn { width: 44px; height: 44px; }
  .hero__title { font-size: clamp(1.85rem, 9vw, 2.5rem); }
  .eyebrow { font-size: 6.5px; letter-spacing: 0.1em; padding: 6px 9px; }
  .hero__sub { font-size: 12px; }
  .hero__cta .btn { padding: 12px 14px; font-size: 11.5px; }
  .hero__meta { font-size: 7.5px; gap: 8px; padding: 12px 0 calc(14px + var(--safe-b)); }
  .hero__meta-item .mono { font-size: 6.5px; }
  .hero__disturb { font-size: 6.5px; padding: 6px 8px; margin-top: 8px; }
  .feature__visual { min-height: 520px; padding: 16px 4px 24px; }
  .phone { width: 210px; height: 454px; border-radius: 22px; }
  .phone::before { top: 104px; height: 44px; }
  .phone::after { top: 160px; height: 28px; }
  .phone__screen { border-radius: 19px; }
  .phone__caption { font-size: 6px; letter-spacing: 0.12em; }
  .lab { padding: 22px 14px 24px; }
  .lab__stats { grid-template-columns: 1fr 1fr; }
  .lab__stats div:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line-soft);
  }
  .console__dots { display: none; }
  .console__bar { gap: 8px; }
  .console__title { font-size: 7px; }
  .console__chip { font-size: 5.5px; padding: 4px 6px; }
  .console__suggestions { gap: 5px; padding-bottom: 8px; }
  .console__suggestions button { font-size: 7px; padding: 5px 8px; }
  .email-row .btn--primary { font-size: 11px; padding: 12px; gap: 6px; }
  .copy-btn { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .mobile-menu { padding-left: calc(18px + var(--safe-l)); padding-right: calc(18px + var(--safe-r)); }
  .mobile-menu__links a { font-size: clamp(1.8rem, 9vw, 3.2rem); gap: 12px; }
  .toast { font-size: 7px; padding: 10px 13px; width: max-content; max-width: calc(100vw - 28px); text-align: center; }
  .section { padding: 88px 0; }
}

@media (orientation: landscape) and (max-height: 380px) {
  .hero__canvas { opacity: 0.55; }
}
