:root {
  --bg: #0b0912;
  --bg-soft: #120f1a;
  --surface: rgba(255,255,255,0.06);
  --surface-2: rgba(255,255,255,0.03);
  --line: rgba(255,255,255,0.12);
  --line-soft: rgba(255,255,255,0.08);
  --text: #f6f1ff;
  --muted: rgba(246,241,255,0.74);
  --muted-2: rgba(246,241,255,0.5);
  --shell: min(100% - 26px, 760px);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow: 0 24px 80px rgba(0,0,0,0.42);
  --accent-a: #835dff;
  --accent-b: #d04bc5;
  --accent-c: #ff8a6b;
  --page-bg:
    radial-gradient(circle at 16% 14%, color-mix(in srgb, var(--accent-a) 22%, transparent), transparent 24%),
    radial-gradient(circle at 84% 12%, color-mix(in srgb, var(--accent-b) 18%, transparent), transparent 22%),
    radial-gradient(circle at 54% 74%, color-mix(in srgb, var(--accent-c) 14%, transparent), transparent 26%),
    linear-gradient(180deg, #09070f 0%, #0d0a15 42%, #130f1d 100%);
}

html[data-theme="silver"] {
  --bg: #eef2f6;
  --bg-soft: #f6f8fb;
  --surface: rgba(255,255,255,0.76);
  --surface-2: rgba(255,255,255,0.58);
  --line: rgba(72, 88, 108, 0.14);
  --line-soft: rgba(72, 88, 108, 0.08);
  --text: #111822;
  --muted: rgba(17, 24, 34, 0.70);
  --muted-2: rgba(17, 24, 34, 0.48);
  --shadow: 0 24px 70px rgba(118, 134, 153, 0.12);
  --accent-a: #6d7f95;
  --accent-b: #8ea4bb;
  --accent-c: #c7a96b;
  --page-bg:
    radial-gradient(circle at 14% 12%, rgba(141, 169, 197, 0.20), transparent 24%),
    radial-gradient(circle at 86% 14%, rgba(199, 169, 107, 0.12), transparent 22%),
    radial-gradient(circle at 52% 76%, rgba(122, 146, 171, 0.14), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f4f6f8 46%, #e9edf1 100%);
}

html[data-theme="ember"] {
  --accent-a: #ff6b5c;
  --accent-b: #ff8d3c;
  --accent-c: #ffd15b;
}

html[data-theme="acid"] {
  --accent-a: #7cf466;
  --accent-b: #24d1a4;
  --accent-c: #8bf7ff;
}

html[data-theme="ocean"] {
  --accent-a: #58a6ff;
  --accent-b: #33d1ff;
  --accent-c: #8f7dff;
}

html[data-font="sora"] {
  --font-ui: "Sora", "Inter", system-ui, sans-serif;
  --font-display: "Sora", "Inter", system-ui, sans-serif;
}

html[data-font="manrope"] {
  --font-ui: "Manrope", "Inter", system-ui, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
}

html[data-font="jakarta"] {
  --font-ui: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

html[data-font="editorial"] {
  --font-ui: "DM Sans", "Inter", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--font-ui);
  min-height: 100vh;
  overflow-x: hidden;
}

body.is-intro-playing {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img, video { display: block; max-width: 100%; }

.site-noise,
.site-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.site-noise {
  opacity: 0.08;
  mix-blend-mode: soft-light;
  background-image: radial-gradient(rgba(255,255,255,0.3) 0.8px, transparent 1px);
  background-size: 12px 12px;
}

.site-glow--a {
  background: radial-gradient(circle at 10% 10%, color-mix(in srgb, var(--accent-a) 18%, transparent), transparent 32%);
}

.site-glow--b {
  background: radial-gradient(circle at 90% 16%, color-mix(in srgb, var(--accent-b) 18%, transparent), transparent 28%);
}

.intro-video-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #05040a;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.intro-video-layer.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02) brightness(0.72);
}

.intro-video-layer__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,4,10,0.32), rgba(5,4,10,0.58)),
    radial-gradient(circle at 50% 50%, transparent 0, rgba(5,4,10,0.24) 56%, rgba(5,4,10,0.82) 100%);
}

.intro-video-layer__brand,
.intro-video-layer__controls {
  position: absolute;
  z-index: 2;
}

.intro-video-layer__brand {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -82%);
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: clamp(2rem, 10vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  color: white;
  text-shadow: 0 20px 40px rgba(0,0,0,0.34);
  transition: opacity 240ms ease, transform 240ms ease;
}

.intro-video-layer__controls {
  left: 50%;
  bottom: max(20px, calc(env(safe-area-inset-bottom) + 8px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(calc(100% - 32px), 420px);
}

.intro-video-layer__start,
.intro-video-layer__skip {
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.intro-video-layer__start {
  width: min(100%, 420px);
  padding: 0 24px;
  color: white;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b), var(--accent-c));
  box-shadow: 0 18px 44px rgba(0,0,0,0.28);
}

.intro-video-layer__skip {
  flex: 0 0 auto;
  padding: 0 16px;
  align-self: center;
  background: rgba(255,255,255,0.08);
}

.intro-video-layer.has-started .intro-video-layer__brand,
.intro-video-layer.has-started .intro-video-layer__controls {
  opacity: 0;
  pointer-events: none;
}

.shell,
.topbar,
.mobile-dock {
  width: var(--shell);
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 40;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark,
.topbar__btn,
.control-close,
.chip,
.theme-dot,
.mobile-dock a {
  backdrop-filter: blur(16px) saturate(1.06);
  -webkit-backdrop-filter: blur(16px) saturate(1.06);
}

.brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: white;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b), var(--accent-c));
  box-shadow: 0 18px 40px color-mix(in srgb, var(--accent-a) 32%, transparent);
}

.brand__copy {
  display: grid;
  line-height: 1;
}

.brand__copy strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: -0.05em;
}

.brand__copy small {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__btn,
.control-close,
.chip,
.mobile-dock a {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}

.topbar__btn {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
}

.topbar__btn--lang {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.topbar__btn:not(.topbar__btn--lang) span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 220ms ease, opacity 220ms ease;
}

.topbar__btn:not(.topbar__btn--lang) span:first-child { top: 18px; }
.topbar__btn:not(.topbar__btn--lang) span:last-child { top: 26px; }
.topbar__btn.is-open span:first-child { transform: translateX(-50%) rotate(45deg) translateY(4px); }
.topbar__btn.is-open span:last-child { transform: translateX(-50%) rotate(-45deg) translateY(-4px); }

.control-panel {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(6, 5, 11, 0.64);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.control-panel.is-open {
  opacity: 1;
  visibility: visible;
}

.control-panel__inner {
  width: min(100% - 26px, 760px);
  margin: 82px auto 0;
  padding: 0 0 40px;
}

.control-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.control-panel__top strong {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.control-close {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  cursor: pointer;
}

.control-nav,
.control-group {
  margin-top: 22px;
}

.control-nav {
  display: grid;
  gap: 8px;
}

.control-nav a {
  min-height: 54px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.control-nav a:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.control-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chip-row,
.theme-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.chip.is-active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b), var(--accent-c));
}

.theme-dot {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  background: linear-gradient(135deg, var(--swatch-a), var(--swatch-b), var(--swatch-c));
}

.theme-dot[data-theme="silver"] { --swatch-a: #ffffff; --swatch-b: #cad4de; --swatch-c: #9db0c4; }
.theme-dot[data-theme="violet"] { --swatch-a: #835dff; --swatch-b: #d04bc5; --swatch-c: #ff8a6b; }
.theme-dot[data-theme="ember"] { --swatch-a: #ff6b5c; --swatch-b: #ff8d3c; --swatch-c: #ffd15b; }
.theme-dot[data-theme="acid"] { --swatch-a: #7cf466; --swatch-b: #24d1a4; --swatch-c: #8bf7ff; }
.theme-dot[data-theme="ocean"] { --swatch-a: #58a6ff; --swatch-b: #33d1ff; --swatch-c: #8f7dff; }

.theme-dot.is-active {
  box-shadow: 0 0 0 2px rgba(255,255,255,0.18), 0 0 0 6px color-mix(in srgb, var(--accent-a) 20%, transparent);
}

.hero {
  padding-top: 18px;
}

.hero__visual {
  position: relative;
  min-height: calc(100svh - 110px);
  overflow: hidden;
  border-radius: 34px;
}

.hero__tile {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  transform: translate3d(0, var(--scroll-shift, 0px), 0);
  will-change: transform;
  filter: blur(1px) saturate(0.96) opacity(0.48);
}

.hero__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero__tile--a {
  top: 0;
  left: 0;
  width: 56%;
  height: 42%;
}

.hero__tile--b {
  top: 7%;
  right: 0;
  width: 52%;
  height: 52%;
}

.hero__tile--c {
  left: 8%;
  right: 8%;
  bottom: 26%;
  height: 38%;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,9,18,0.10), rgba(11,9,18,0.42) 40%, rgba(11,9,18,0.90) 100%),
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--accent-a) 24%, transparent), transparent 28%),
    radial-gradient(circle at 82% 22%, color-mix(in srgb, var(--accent-b) 22%, transparent), transparent 24%),
    radial-gradient(circle at 54% 80%, color-mix(in srgb, var(--accent-c) 18%, transparent), transparent 32%);
}

.hero__overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 20px;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255,255,255,0.82);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-c));
}

.hero h1,
.section-head h2,
.line-list h3,
.plain-grid h3,
.showcase-item__copy h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.hero h1 {
  font-size: clamp(2.8rem, 12vw, 4.85rem);
  max-width: 7ch;
}

.section-head h2 {
  font-size: clamp(2.2rem, 10vw, 4.1rem);
  max-width: 8ch;
}

.accent-text {
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b), var(--accent-c));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead,
.section-head p,
.intro-lines p,
.line-list p,
.plain-grid p,
.showcase-item__copy p,
.contact__meta {
  color: var(--muted);
  line-height: 1.7;
}

.hero__lead {
  margin: 16px 0 0;
  max-width: 34ch;
  font-size: 1rem;
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:active { transform: scale(0.985); }

.btn--solid {
  color: white;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b), var(--accent-c));
  box-shadow: 0 22px 42px color-mix(in srgb, var(--accent-a) 28%, transparent);
}

.btn--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255,255,255,0.08);
}

.section {
  padding-top: 52px;
}

.intro-lines {
  padding: 34px 0 8px;
}

.intro-lines article,
.line-list article,
.plain-grid article {
  padding: 18px 0;
  border-top: 1px solid var(--line-soft);
}

.intro-lines article:last-child,
.line-list article:last-child,
.plain-grid article:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.intro-lines span,
.line-list span,
.showcase-item__copy span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted-2);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intro-lines p,
.line-list p,
.plain-grid p {
  margin: 0;
  font-size: 0.98rem;
}

.line-list h3,
.plain-grid h3,
.showcase-item__copy h3 {
  font-size: clamp(1.7rem, 7vw, 2.6rem);
}

.showcase-list {
  display: grid;
  gap: 28px;
}

.showcase-item {
  display: grid;
  gap: 16px;
}

.showcase-item__media {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: var(--shadow);
}

.showcase-item__media img {
  width: 100%;
  height: auto;
}

.showcase-item__copy {
  padding-top: 2px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
}

.text-link::after {
  content: "↗";
  font-size: 0.92rem;
}

.contact {
  padding-bottom: 120px;
}

.mobile-dock {
  position: fixed;
  left: 50%;
  bottom: 12px;
  z-index: 35;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(16,14,24,0.84), rgba(16,14,24,0.68));
  box-shadow: var(--shadow);
}

.mobile-dock a {
  min-height: 46px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.mobile-dock a.is-active {
  color: white;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b), var(--accent-c));
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(.22,1,.36,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}



.hero__lead.lead-focusfx {
  display: flex;
  flex-wrap: wrap;
  gap: 0.16em 0.3em;
  align-items: flex-start;
}

.hero__lead.lead-focusfx .lead-word {
  display: inline-block;
  filter: blur(14px);
  opacity: 0.16;
  transform: translateY(10px) scale(0.985);
  transform-origin: 50% 50%;
  transition:
    filter 820ms cubic-bezier(.22,1,.36,1),
    opacity 520ms ease,
    transform 820ms cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--word-index, 0) * 34ms);
}

.hero__lead.lead-focusfx.is-focus-in .lead-word {
  filter: blur(0);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.overview-rail {
  position: relative;
  padding-top: 26px;
}

.overview-rail__copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 13.5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.085em;
  max-width: 7.2ch;
}

.overview-word {
  display: inline-block;
  color: var(--word-color, #ffffff);
  will-change: color, text-shadow, transform;
}

.overview-word--a { --word-color: #86d463; }
.overview-word--b { --word-color: #9f8cff; }
.overview-word--c { --word-color: #ff9d7a; }

.overview-rail.is-words-active .overview-word--a {
  animation: overviewWordCycleA 1.2s cubic-bezier(.22,1,.36,1) 2;
}

.overview-rail.is-words-active .overview-word--b {
  animation: overviewWordCycleB 1.2s cubic-bezier(.22,1,.36,1) 2 80ms;
}

.overview-rail.is-words-active .overview-word--c {
  animation: overviewWordCycleC 1.2s cubic-bezier(.22,1,.36,1) 2 160ms;
}

.overview-rail__copy p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.68;
  font-size: 0.98rem;
  max-width: 38ch;
}

.overview-rail__facts {
  margin-top: 22px;
}

.overview-rail__fact {
  position: relative;
  padding: 20px 0 20px 18px;
  border-top: 1px solid var(--line-soft);
}

.overview-rail__fact:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.overview-rail__fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 999px;
  background: var(--fact-tone, var(--accent-a));
}

.overview-rail__fact strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 7vw, 2.1rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.overview-rail__fact span,
.overview-rail__fact small {
  display: block;
  line-height: 1.62;
}

.overview-rail__fact span {
  color: rgba(246,241,255,0.9);
  font-size: 0.98rem;
}

.overview-rail__fact small {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.95rem;
}

.overview-rail__marquee {
  margin-top: 22px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.overview-rail__track {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  width: max-content;
  animation: overviewRailMove 28s linear infinite;
  will-change: transform;
}

.overview-rail__marquee:hover .overview-rail__track {
  animation-play-state: paused;
}

.overview-rail__track img {
  display: block;
  height: 160px;
  width: auto;
  max-width: none;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0.96;
}

.overview-rail__track img:nth-child(4n+2) { height: 188px; }
.overview-rail__track img:nth-child(4n+3) { height: 170px; }

.section--builds {
  position: relative;
  padding-top: 84px;
  isolation: isolate;
}

.builds-headline,
.builds-stage,
.builds-matrix,
.builds-qa {
  position: relative;
  z-index: 1;
}

.builds-headline,
.builds-stage__copy,
.builds-qa__head,
.builds-matrix__item,
.builds-qa__item {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.builds-headline {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.builds-headline h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 15vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  max-width: 7.1ch;
}

.builds-headline__lead {
  margin: 16px 0 0;
  max-width: 34rem;
  color: var(--muted);
  line-height: 1.66;
  font-size: 1rem;
}

.builds-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(168px, 42vw, 248px);
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

.builds-stage__copy h3,
.builds-qa__head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 11vw, 3.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  max-width: 9ch;
}

.builds-stage__copy p,
.builds-qa__head p,
.builds-matrix__item p,
.builds-qa__item p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.66;
  font-size: 0.98rem;
}

.builds-stage__visual {
  margin: 0;
  justify-self: end;
  align-self: start;
  width: 100%;
}

.builds-stage__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(86svh, 760px);
  object-fit: contain;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  background: transparent !important;
}

.builds-stage__visual.reveal {
  opacity: 0;
  transform: translate3d(32px, 42px, 0);
  clip-path: inset(18% 0 0 0);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(.22,1,.36,1), clip-path 720ms cubic-bezier(.22,1,.36,1);
}

.builds-stage__visual.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  clip-path: inset(0 0 0 0);
}

.builds-parallax {
  --parallax-shift: 0px;
  --parallax-scale: 1.12;
  --parallax-x: -6%;
  position: relative;
  margin: 22px 0 30px;
  height: clamp(360px, 46vw, 560px);
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,0.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02)),
    rgba(12, 16, 24, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -36px 72px rgba(8, 12, 20, 0.18),
    0 18px 42px rgba(18, 28, 42, 0.12);
  isolation: isolate;
}

.builds-parallax img {
  position: absolute;
  inset: -28% auto -28% var(--parallax-x);
  width: 116%;
  height: 150%;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, var(--parallax-shift), 0) scale(var(--parallax-scale));
  transform-origin: center center;
  will-change: transform;
  filter: saturate(1.03) contrast(1.04) brightness(0.94);
}

.builds-parallax--roemer {
  --parallax-scale: 1.15;
  --parallax-x: -8%;
}

.builds-parallax--roemer img {
  object-position: center 33%;
}

.builds-parallax--eqpark {
  --parallax-scale: 1.14;
  --parallax-x: -6%;
}

.builds-parallax--eqpark img {
  object-position: center 42%;
}

.builds-parallax__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.44) 0%, rgba(255,255,255,0.20) 18%, rgba(255,255,255,0.08) 54%, rgba(255,255,255,0.18) 100%);
  backdrop-filter: blur(50px) saturate(1.08);
  -webkit-backdrop-filter: blur(50px) saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.34),
    inset 0 -24px 46px rgba(0,0,0,0.14),
    inset 0 0 0 1px rgba(255,255,255,0.14);
}

.builds-parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), transparent 28%, transparent 72%, rgba(12,16,22,0.16)),
    radial-gradient(circle at 18% 18%, rgba(255,255,255,0.18), transparent 32%);
}

.builds-matrix {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.builds-matrix__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 0;
}

.builds-matrix__item + .builds-matrix__item {
  border-top: 1px solid var(--line-soft);
}

.builds-matrix__item--a { --seq: #9f8cff; }
.builds-matrix__item--b { --seq: #ff9d7a; }
.builds-matrix__item--c { --seq: #87d36c; }
.builds-matrix__item--d { --seq: #8bb6ff; }

.builds-matrix__index {
  color: var(--seq, #ffffff);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1;
  padding-top: 10px;
}

.builds-matrix__item h3,
.builds-qa__item h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 7vw, 2.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--seq, var(--text));
}

.builds-qa {
  margin-top: 30px;
}

.builds-qa__head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.builds-qa__list {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.builds-qa__item {
  --proof: #9f8cff;
  position: relative;
  min-height: clamp(280px, 58vw, 420px);
  margin: 0;
  padding: clamp(24px, 6vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -36px 72px rgba(8, 12, 20, 0.18),
    0 18px 42px rgba(18, 28, 42, 0.12);
  isolation: isolate;
  display: flex;
  align-items: flex-end;
}

.builds-qa__item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,14,20,0.08) 0%, rgba(10,14,20,0.18) 24%, rgba(8,12,18,0.52) 56%, rgba(5,7,12,0.86) 100%),
    linear-gradient(90deg, rgba(4,5,9,0.74) 0%, rgba(4,5,9,0.38) 42%, rgba(4,5,9,0.16) 100%);
}

.builds-qa__media {
  --parallax-shift: 0px;
  --parallax-scale: 1.14;
  --parallax-x: -6%;
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
}

.builds-qa__media img {
  position: absolute;
  inset: -24% auto -24% var(--parallax-x);
  width: 116%;
  height: 148%;
  object-fit: cover;
  object-position: center center;
  transform: translate3d(0, var(--parallax-shift), 0) scale(var(--parallax-scale));
  transform-origin: center center;
  will-change: transform;
  filter: saturate(1.03) contrast(1.05) brightness(0.82);
}

.builds-qa__media--a {
  --parallax-scale: 1.14;
  --parallax-x: -6%;
}

.builds-qa__media--a img {
  object-position: center 42%;
}

.builds-qa__media--b {
  --parallax-scale: 1.16;
  --parallax-x: -8%;
}

.builds-qa__media--b img {
  object-position: center 32%;
}

.builds-qa__media--c {
  --parallax-scale: 1.12;
  --parallax-x: -5%;
}

.builds-qa__media--c img {
  object-position: center 24%;
}

.builds-qa__media--d {
  --parallax-scale: 1.15;
  --parallax-x: -8%;
}

.builds-qa__media--d img {
  object-position: center 34%;
}

.builds-qa__media--e {
  --parallax-scale: 1.14;
  --parallax-x: -7%;
}

.builds-qa__media--e img {
  object-position: center 46%;
}

.builds-qa__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.24;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.36) 0%, rgba(255,255,255,0.16) 18%, rgba(255,255,255,0.05) 56%, rgba(255,255,255,0.10) 100%);
  backdrop-filter: blur(20px) saturate(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(1.04);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 0 0 1px rgba(255,255,255,0.10);
}

.builds-qa__overlay {
  position: relative;
  z-index: 3;
  width: min(100%, 34rem);
  padding-left: 18px;
}

.builds-qa__overlay::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 999px;
  background: var(--proof, #9f8cff);
  box-shadow: 0 0 24px color-mix(in srgb, var(--proof, #9f8cff) 46%, transparent);
}

.builds-qa__item h4 {
  color: #ffffff;
  text-shadow: 0 12px 36px rgba(0,0,0,0.36);
}

.builds-qa__item p {
  color: rgba(255,255,255,0.88);
  text-shadow: 0 12px 30px rgba(0,0,0,0.32);
}

.builds-qa__item--a { --proof: #9f8cff; }
.builds-qa__item--b { --proof: #ff9d7a; }
.builds-qa__item--c { --proof: #87d36c; }
.builds-qa__item--d { --proof: #8bb6ff; }
.builds-qa__item--e { --proof: #d96cff; }

@media (max-width: 560px) {
  .builds-parallax {
    height: clamp(220px, 56vw, 300px);
    border-radius: 24px;
    margin: 16px 0 20px;
  }

  .builds-parallax img {
    inset: -18% 0;
    height: 136%;
  }

  .builds-qa__list {
    gap: 18px;
  }

  .builds-qa__item {
    min-height: clamp(232px, 72vw, 340px);
    padding: 20px;
    border-radius: 24px;
  }

  .builds-qa__media img {
    inset: -18% 0;
    width: 100%;
    height: 136%;
  }

  .builds-qa__overlay {
    width: 100%;
    padding-left: 16px;
  }
}


@keyframes overviewRailMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes overviewWordCycleA {
  0%, 100% { color: #86d463; text-shadow: 0 0 0 rgba(134,212,99,0); }
  33% { color: #9f8cff; text-shadow: 0 0 22px rgba(159,140,255,0.18); }
  66% { color: #ff9d7a; text-shadow: 0 0 22px rgba(255,157,122,0.2); }
}

@keyframes overviewWordCycleB {
  0%, 100% { color: #9f8cff; text-shadow: 0 0 0 rgba(159,140,255,0); }
  33% { color: #ff9d7a; text-shadow: 0 0 22px rgba(255,157,122,0.2); }
  66% { color: #86d463; text-shadow: 0 0 22px rgba(134,212,99,0.18); }
}

@keyframes overviewWordCycleC {
  0%, 100% { color: #ff9d7a; text-shadow: 0 0 0 rgba(255,157,122,0); }
  33% { color: #86d463; text-shadow: 0 0 22px rgba(134,212,99,0.18); }
  66% { color: #9f8cff; text-shadow: 0 0 22px rgba(159,140,255,0.18); }
}

@media (max-width: 560px) {
  .hero__visual {
    min-height: calc(100svh - 96px);
  }

  .hero__tile--a {
    width: 58%;
    height: 40%;
  }

  .hero__tile--b {
    width: 56%;
    height: 46%;
    top: 6%;
  }

  .hero__tile--c {
    left: 6%;
    right: 6%;
    height: 36%;
    bottom: 29%;
  }

  .hero__overlay {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }

  .hero h1,
  .section-head h2 {
    max-width: 8ch;
  }

  .control-panel__inner {
    margin-top: 74px;
  }
}

@media (min-width: 680px) {
  .builds-sideimage {
    width: min(33vw, 250px);
    margin-top: -12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero__tile,
  .intro-video-layer {
    transition: none;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .overview-rail.is-words-active .overview-word--a,
  .overview-rail.is-words-active .overview-word--b,
  .overview-rail.is-words-active .overview-word--c { animation: none; }
}

@media (max-width: 420px) {
  .builds-stage { grid-template-columns: minmax(0,1fr) 192px; gap: 18px; }
  .builds-stage__visual { width: 192px; margin-right: -8px; }
  .builds-stage__copy h3 { font-size: clamp(2rem, 10.5vw, 3rem); }
  .builds-matrix__item { grid-template-columns: 22px minmax(0,1fr); gap: 10px; }
  .builds-parallax {
    height: clamp(280px, 74vw, 380px);
    border-radius: 28px;
  }
  .builds-parallax img {
    width: 126%;
    height: 164%;
    inset: -32% auto -32% -13%;
  }
}


/* references compare grid */
.refs-grid-compare {
  padding-top: 8px;
}

.refs-grid-compare__head {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.refs-grid-compare__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9.2vw, 4.2rem);
  line-height: 0.93;
  letter-spacing: -0.07em;
  max-width: 7ch;
}

.refs-grid-compare__head p {
  margin: 0;
  max-width: 38ch;
  color: var(--muted);
  line-height: 1.65;
}

.refs-grid-compare__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.refs-grid-card {
  display: grid;
  gap: 10px;
  color: inherit;
}

.refs-grid-card__top {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.refs-grid-card__meta {
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.refs-grid-card__title {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.refs-grid-card__frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-soft);
}

.refs-grid-card__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,6,16,0) 52%, rgba(8,6,16,0.28) 100%);
  pointer-events: none;
}

.refs-grid-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 228%;
  height: 228%;
  border: 0;
  background: #0c0b10;
  transform-origin: 0 0;
  transform: scale(0.438);
  pointer-events: none;
}

.refs-grid-card__cta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.88;
}

@media (max-width: 420px) {
  .refs-grid-compare__grid {
    gap: 10px;
  }

  .refs-grid-card__frame {
    border-radius: 18px;
  }

  .refs-grid-card__frame iframe {
    width: 248%;
    height: 248%;
    transform: scale(0.403);
  }

  .refs-grid-card__title {
    font-size: 0.88rem;
  }
}


html[data-theme="silver"] .site-noise {
  opacity: 0.04;
  mix-blend-mode: multiply;
}
html[data-theme="silver"] .site-glow--a {
  background: radial-gradient(circle at 10% 10%, rgba(141,169,197,0.18), transparent 32%);
}
html[data-theme="silver"] .site-glow--b {
  background: radial-gradient(circle at 90% 16%, rgba(199,169,107,0.10), transparent 28%);
}

html[data-theme="silver"] .section--builds::before {
  content: "";
  position: absolute;
  inset: -56px -24px -36px;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(243,246,249,0.96) 0%, rgba(239,243,247,0.84) 26%, rgba(236,240,244,0.76) 100%);
  border-radius: 42px;
}

html[data-theme="silver"] .builds-parallax {
  border-color: rgba(116, 132, 151, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.08)),
    rgba(223, 230, 237, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.46),
    inset 0 -34px 70px rgba(79, 95, 116, 0.12),
    0 18px 46px rgba(110, 127, 147, 0.12);
}
html[data-theme="silver"] .intro-video-layer__wash {
  background:
    linear-gradient(180deg, rgba(14,18,24,0.14), rgba(18,22,28,0.22)),
    radial-gradient(circle at 50% 54%, transparent 0, rgba(18,22,28,0.10) 58%, rgba(12,16,22,0.30) 100%);
}
html[data-theme="silver"] .intro-video {
  filter: saturate(1.02) contrast(1.03) brightness(0.84);
}

html[data-theme="silver"] .intro-video-layer__brand {
  color: #f8fafc;
}
html[data-theme="silver"] .topbar__btn,
html[data-theme="silver"] .control-close,
html[data-theme="silver"] .chip,
html[data-theme="silver"] .mobile-dock a,
html[data-theme="silver"] .control-panel,
html[data-theme="silver"] .intro-lines article,
html[data-theme="silver"] .overview-rail__fact,
html[data-theme="silver"] .refs-grid-card,
html[data-theme="silver"] .refs-grid-intro,
html[data-theme="silver"] .refs-grid-card__copy {
  box-shadow: 0 18px 42px rgba(116,132,150,0.08);
}
html[data-theme="silver"] .topbar__btn,
html[data-theme="silver"] .control-close,
html[data-theme="silver"] .chip,
html[data-theme="silver"] .mobile-dock a,
html[data-theme="silver"] .control-panel__inner,
html[data-theme="silver"] .intro-lines article,
html[data-theme="silver"] .overview-rail__fact,
html[data-theme="silver"] .refs-grid-card,
html[data-theme="silver"] .refs-grid-intro,
html[data-theme="silver"] .refs-grid-card__copy {
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(247,249,251,0.68));
  border-color: rgba(92, 110, 129, 0.10);
}
html[data-theme="silver"] .control-panel {
  background: rgba(234,239,244,0.78);
}
html[data-theme="silver"] .intro-video-layer__skip {
  background: rgba(255,255,255,0.72);
  color: #15202c;
}
html[data-theme="silver"] .topbar__btn:not(.topbar__btn--lang) span {
  background: #18222e;
}
html[data-theme="silver"] .hero__overlay h1,
html[data-theme="silver"] .section h2,
html[data-theme="silver"] .builds-flow__title,
html[data-theme="silver"] .refs-grid-intro h2,
html[data-theme="silver"] .refs-grid-card__copy strong {
  color: #0f1720;
}
html[data-theme="silver"] .accent-text {
  background: linear-gradient(135deg, #60758c 0%, #8da4bb 58%, #c8aa6f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* remove white card look behind overview text in silver theme */
html[data-theme="silver"] .overview-rail__fact {
  background: transparent !important;
  box-shadow: none !important;
  border-color: rgba(92, 110, 129, 0.14);
}
html[data-theme="silver"] .overview-rail__fact strong {
  color: #0f1724;
}
html[data-theme="silver"] .overview-rail__fact span {
  color: rgba(15, 23, 36, 0.58);
}
html[data-theme="silver"] .overview-rail__fact small {
  color: rgba(15, 23, 36, 0.62);
}


/* remove white surface behind reference comparison cards in silver theme */
html[data-theme="silver"] .refs-grid-card {
  background: transparent !important;
  box-shadow: none !important;
  border-color: transparent !important;
}
