:root {
  --ink: #0b0d0c;
  --ink-soft: #171a18;
  --paper: #f4f4ef;
  --white: #ffffff;
  --fog: #dfe2db;
  --line: rgba(11, 13, 12, 0.2);
  --line-light: rgba(255, 255, 255, 0.2);
  --signal: #c9ff32;
  --orange: #ff694a;
  --green-muted: #263124;
  --blue-muted: #26313a;
  --shell: min(1440px, calc(100vw - 80px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 40px;
  color: var(--white);
  background: rgba(11, 13, 12, 0.88);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(14px);
  transition: height 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: rgba(201, 255, 50, 0.72);
  transition: width 80ms linear;
}

.site-header.scrolled {
  height: 68px;
  background: rgba(11, 13, 12, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.brand-mark i {
  display: block;
  border: 2px solid var(--signal);
}

.brand-mark i:nth-child(1) {
  border-right: 0;
  border-bottom: 0;
}

.brand-mark i:nth-child(2) {
  border-left: 0;
  border-bottom: 0;
}

.brand-mark i:nth-child(3) {
  border-right: 0;
  border-top: 0;
}

.brand-mark i:nth-child(4) {
  border-left: 0;
  border-top: 0;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13px;
}

.desktop-nav a,
.header-contact {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.header-contact:hover {
  color: var(--signal);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.language-switch {
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  overflow: hidden;
}

.language-switch button {
  min-width: 42px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 12px;
}

.language-switch button.active {
  background: var(--white);
  color: var(--ink);
}

.header-contact {
  font-size: 13px;
  font-weight: 700;
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  transform: translate3d(var(--hero-shift-x), var(--hero-shift-y), 0) scale(1.045);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-shade {
  background: rgba(7, 9, 8, 0.28);
}

.hero-pointer {
  position: absolute;
  z-index: 1;
  left: var(--pointer-x, 50%);
  top: var(--pointer-y, 50%);
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-pointer::before,
.hero-pointer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(201, 255, 50, 0.78);
  transform: translate(-50%, -50%);
}

.hero-pointer::before {
  width: 92px;
  height: 1px;
}

.hero-pointer::after {
  width: 1px;
  height: 92px;
}

.hero.pointer-active .hero-pointer {
  opacity: 0.72;
  transform: translate(-50%, -50%) scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 180px 0 186px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--orange);
}

.eyebrow.light::before {
  background: var(--signal);
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(58px, 7.4vw, 118px);
  line-height: 0.96;
  font-weight: 500;
}

.hero-copy {
  max-width: 620px;
  margin: 32px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-top: 42px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  min-width: 200px;
  background: var(--white);
  color: var(--ink);
}

.button-signal {
  background: var(--signal);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 800;
}

.light-link {
  color: var(--white);
}

.hero-metrics {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
}

.hero-metrics div {
  min-height: 108px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  border-right: 1px solid var(--line-light);
}

.hero-metrics div:first-child {
  border-left: 1px solid var(--line-light);
}

.hero-metrics strong {
  font-size: 24px;
}

.hero-metrics span {
  max-width: 120px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.7);
  text-align: right;
}

.band-white,
.band-fog,
.band-ink,
.band-signal {
  padding: 132px 0;
}

.band-white {
  background: var(--paper);
}

.band-fog {
  background: var(--fog);
}

.band-ink {
  color: var(--white);
  background: var(--ink);
}

.band-signal {
  background: #dce5d8;
}

.statement-grid,
.section-heading,
.contact-grid {
  display: grid;
  grid-template-columns: 26% 74%;
  gap: 0;
}

.section-index {
  margin: 4px 0 0;
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: rgba(11, 13, 12, 0.55);
}

.statement h2,
.section-heading h2,
.contact h2 {
  max-width: 1040px;
  margin: 0;
  font-size: clamp(44px, 6.5vw, 96px);
  line-height: 1.02;
  font-weight: 500;
}

.lead {
  max-width: 760px;
  margin: 38px 0 0;
  font-size: 20px;
  line-height: 1.65;
}

.lead.compact {
  max-width: 680px;
  font-size: 17px;
}

.light-heading .section-index,
.light-index {
  color: rgba(255, 255, 255, 0.52);
}

.capability-list {
  margin-top: 88px;
  border-top: 1px solid var(--line-light);
}

.capability-row {
  min-height: 214px;
  display: grid;
  grid-template-columns: 8% 32% 1fr 44px;
  gap: 28px;
  align-items: center;
  border-bottom: 1px solid var(--line-light);
}

.cap-number,
.cap-kicker {
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.cap-kicker {
  margin: 0 0 16px;
}

.capability-row h3 {
  margin: 0;
  font-size: 31px;
  font-weight: 500;
}

.capability-row > p {
  max-width: 580px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.arrow-link {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  font-size: 20px;
  transition: background 180ms ease, color 180ms ease;
}

.arrow-link:hover {
  background: var(--signal);
  color: var(--ink);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 76px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.scene-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease;
}

.scene-item:hover {
  background: var(--paper);
}

.scene-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #dce2df;
}
.scene-photo img { display:block;width:100%;height:100%;object-fit:cover;transition:transform 350ms ease; }
.scene-item:hover .scene-photo img { transform:scale(1.035); }
.scene-description { padding:22px; }
.scene-photo span {
  position:absolute;left:14px;top:14px;background:rgba(15,24,21,.8);padding:6px 8px;
  font-family: "Courier New", monospace;
  font-size: 11px;
  color: #fff;
}
.scene-image-note { margin-top:16px;font-size:11px;line-height:1.6;color:#68746f; }

.scene-item h3 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 500;
}

.scene-item p {
  margin: 0;
  color: rgba(11, 13, 12, 0.66);
  font-size: 14px;
  line-height: 1.5;
}

.media-heading {
  margin-bottom: 72px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.media-slot {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --reticle-x: 0px;
  --reticle-y: 0px;
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  overflow: hidden;
  color: var(--white);
  background: #202522;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: perspective(950px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease;
  will-change: transform;
}

.media-slot:hover {
  border-color: rgba(255, 255, 255, 0.38);
}

.media-sample > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.media-sample::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 7, 5, 0.18), rgba(4, 7, 5, 0.08) 45%, rgba(4, 7, 5, 0.78));
}

.media-sample:hover > img { transform: scale(1.035); }
.media-sample > span,
.media-sample > strong,
.media-sample .media-reticle { z-index: 3; }
.media-library-link { display: flex; justify-content: flex-end; margin-top: 26px; }

.media-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-size: 44px 44px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
}

.media-slot.muted-green {
  background: var(--green-muted);
}

.media-slot.muted-blue {
  background: var(--blue-muted);
}

.media-slot > span,
.media-slot > strong {
  position: relative;
  z-index: 2;
}

.media-slot > span {
  font-family: "Courier New", monospace;
  font-size: 12px;
}

.media-slot > strong {
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-size: 26px;
  font-weight: 500;
}

.media-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  height: 1px;
  transform: translate(calc(-50% + var(--reticle-x)), calc(-50% + var(--reticle-y)));
  background: rgba(255, 255, 255, 0.35);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.media-reticle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -110px;
  width: 1px;
  height: 220px;
  background: rgba(255, 255, 255, 0.35);
}

.media-reticle i {
  position: absolute;
  top: -5px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
}

.media-reticle i:first-child {
  left: 38%;
}

.media-reticle i:last-child {
  left: 62%;
}

.media-note,
.dataset-disclaimer {
  margin-top: 18px;
  color: rgba(11, 13, 12, 0.56);
  font-size: 12px;
}

.platform-heading {
  margin-bottom: 80px;
}

.pipeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid rgba(11, 13, 12, 0.3);
  border-left: 1px solid rgba(11, 13, 12, 0.3);
}

.pipeline-step {
  display: grid;
  grid-template-rows: 28px minmax(48px, auto) 1fr;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-right: 1px solid rgba(11, 13, 12, 0.3);
  border-bottom: 1px solid rgba(11, 13, 12, 0.3);
}

.pipeline-step-top { display: flex; align-items: center; justify-content: space-between; color: #3c6046; }
.pipeline-step-top svg { width: 25px; height: 25px; }
.pipeline-step p { margin: 0; font-size: 13px; line-height: 1.7; color: #4c5e50; }

.pipeline-step span {
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.pipeline-step strong {
  font-size: 17px;
  line-height: 1.4;
  align-self: end;
  font-weight: 600;
}

.platform-dashboard {
  margin-top: 36px;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
  overflow: hidden;
}

.dashboard-topline {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid var(--line-light);
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 9px;
}

.live-dot i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--signal);
}

.dashboard-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.6fr;
  min-height: 220px;
}

.dashboard-metric,
.dashboard-chart {
  padding: 28px;
  border-right: 1px solid var(--line-light);
}

.dashboard-metric {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dashboard-metric span,
.dashboard-metric small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.dashboard-metric strong {
  font-size: 32px;
  font-weight: 500;
}

.dashboard-chart {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.dashboard-chart i {
  flex: 1;
  background: var(--signal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}

.platform-dashboard.is-visible .dashboard-chart i {
  transform: scaleY(1);
}

.platform-dashboard.is-visible .dashboard-chart i:nth-child(2) {
  transition-delay: 70ms;
}

.platform-dashboard.is-visible .dashboard-chart i:nth-child(3) {
  transition-delay: 140ms;
}

.platform-dashboard.is-visible .dashboard-chart i:nth-child(4) {
  transition-delay: 210ms;
}

.platform-dashboard.is-visible .dashboard-chart i:nth-child(5) {
  transition-delay: 280ms;
}

.platform-dashboard.is-visible .dashboard-chart i:nth-child(6) {
  transition-delay: 350ms;
}

.platform-dashboard.is-visible .dashboard-chart i:nth-child(7) {
  transition-delay: 420ms;
}

.dataset-layout {
  display: grid;
  grid-template-columns: 34% 66%;
  margin-top: 78px;
  border-top: 1px solid var(--line);
}

.dataset-total {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 34px 34px 34px 0;
  border-right: 1px solid var(--line);
}

.dataset-total > span,
.dataset-total small {
  color: rgba(11, 13, 12, 0.55);
  font-size: 12px;
}

.dataset-total strong {
  margin-top: auto;
  font-size: clamp(68px, 8.5vw, 132px);
  font-weight: 500;
}

.dataset-total .text-link {
  margin-top: 46px;
}

.dataset-bars {
  padding: 22px 0 22px 34px;
}

.dataset-row {
  min-height: 39px;
  display: grid;
  grid-template-columns: 104px 1fr 86px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid rgba(11, 13, 12, 0.1);
  font-size: 12px;
}

.dataset-row .bar-track {
  height: 6px;
  background: rgba(11, 13, 12, 0.08);
}

.dataset-row .bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--ink);
  transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dataset-row.is-visible .bar-fill {
  width: var(--bar-width);
}

.dataset-row strong {
  text-align: right;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.quality-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quality-item-top { display: flex; align-items: center; justify-content: space-between; color: #3c6046; }
.quality-item-top svg { width: 25px; height: 25px; }

.quality-item span {
  color: var(--orange);
  font-family: "Courier New", monospace;
  font-size: 11px;
}

.quality-item h3 {
  margin: 0 0 10px;
  min-height: 49px;
  display: flex;
  align-items: end;
  font-size: 18px;
  line-height: 1.35;
}

.quality-item p {
  margin: 0;
  color: rgba(11, 13, 12, 0.64);
  font-size: 13px;
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 650ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

body.motion-enabled .hero-content > *,
body.motion-enabled .hero-metrics {
  opacity: 0;
}

body.motion-enabled.is-loaded .hero-content > * {
  animation: hero-rise 760ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.motion-enabled.is-loaded .hero-content > :nth-child(2) {
  animation-delay: 90ms;
}

body.motion-enabled.is-loaded .hero-content > :nth-child(3) {
  animation-delay: 170ms;
}

body.motion-enabled.is-loaded .hero-content > :nth-child(4) {
  animation-delay: 250ms;
}

body.motion-enabled.is-loaded .hero-metrics {
  animation: metrics-rise 760ms 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes metrics-rise {
  from {
    opacity: 0;
    transform: translate(-50%, 22px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.contact h2 {
  font-size: clamp(50px, 6vw, 90px);
}

.contact-panel {
  padding-top: 42px;
}

.contact-panel > p {
  max-width: 680px;
  margin: 0 0 48px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1.6;
}

#contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

#contact-form label {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-family: "Courier New", monospace;
  font-size: 11px;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  outline: 0;
  resize: vertical;
  background: transparent;
  color: var(--white);
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--signal);
}

.full-field {
  grid-column: 1 / -1;
}

#contact-form .button {
  width: min(100%, 310px);
  margin-top: 8px;
  border: 0;
}

.contact-email {
  display: inline-block;
  margin-top: 42px;
  color: var(--signal);
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 500;
}

.site-footer {
  padding: 34px 0;
  background: #050605;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 30px;
}

.footer-grid div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-grid strong {
  font-size: 18px;
}

.footer-grid span,
.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.footer-grid > a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
}

@media (max-width: 1080px) {
  :root {
    --shell: min(100% - 48px, 980px);
  }

  .desktop-nav,
  .header-contact {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
  }

  .menu-button {
    width: 34px;
    height: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 7px;
    border: 0;
    background: transparent;
  }

  .menu-button span {
    width: 100%;
    height: 1px;
    background: var(--white);
  }

  .mobile-menu {
    position: fixed;
    z-index: 49;
    inset: 76px 0 0;
    display: none;
    flex-direction: column;
    padding: 40px 24px;
    background: var(--ink);
    color: var(--white);
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    padding: 20px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: 24px;
  }

  .scene-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pipeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .quality-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard-main {
    grid-template-columns: repeat(3, 1fr);
  }

  .dashboard-chart {
    grid-column: 1 / -1;
    min-height: 180px;
    border-top: 1px solid var(--line-light);
  }
}

@media (max-width: 720px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .site-header {
    height: 66px;
    padding: 0 16px;
  }

  .brand {
    font-size: 13px;
  }

  .brand-mark {
    width: 20px;
    height: 20px;
  }

  .header-actions {
    gap: 10px;
  }

  .language-switch button {
    min-width: 38px;
  }

  .mobile-menu {
    inset: 66px 0 0;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-media {
    object-position: 58% center;
    transform: scale(1.02);
  }

  .hero-pointer {
    display: none;
  }

  .hero-shade {
    background: rgba(7, 9, 8, 0.46);
  }

  .hero-content {
    padding: 140px 0 250px;
  }

  .hero h1 {
    font-size: 52px;
    line-height: 1;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    min-height: 54px;
    padding: 10px 14px;
    border-left: 1px solid var(--line-light);
  }

  .hero-metrics strong {
    font-size: 18px;
  }

  .band-white,
  .band-fog,
  .band-ink,
  .band-signal {
    padding: 84px 0;
  }

  .statement-grid,
  .section-heading,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .statement h2,
  .section-heading h2,
  .contact h2 {
    font-size: clamp(40px, 12vw, 60px);
  }

  .lead,
  .lead.compact {
    font-size: 16px;
  }

  .capability-row {
    grid-template-columns: 38px 1fr 38px;
    gap: 14px;
    padding: 30px 0;
  }

  .capability-row > p {
    grid-column: 2 / -1;
    font-size: 14px;
  }

  .capability-row h3 {
    font-size: 25px;
  }

  .scene-grid {
    grid-template-columns: 1fr 1fr;
  }

  .scene-item {
    padding: 0;
  }
  .scene-description { padding:16px; }

  .scene-item h3 {
    font-size: 20px;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-slot {
    aspect-ratio: 4 / 3;
  }

  .pipeline {
    grid-template-columns: 1fr 1fr;
  }

  .pipeline-step {
    padding: 16px;
    gap: 10px;
  }

  .dashboard-main {
    grid-template-columns: 1fr;
  }

  .dashboard-metric,
  .dashboard-chart {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .dataset-layout {
    grid-template-columns: 1fr;
  }

  .dataset-total {
    min-height: 340px;
    padding-right: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .dataset-bars {
    padding-left: 0;
  }

  .dataset-row {
    grid-template-columns: 82px 1fr 70px;
    gap: 10px;
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .quality-item {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }
  .quality-item-top { flex-direction: column; justify-content: flex-start; gap: 12px; }
  .quality-item h3 { min-height: 0; }

  #contact-form {
    grid-template-columns: 1fr;
  }

  .full-field {
    grid-column: 1;
  }

  .contact-email {
    overflow-wrap: anywhere;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
  }

  .footer-grid > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.is-visible,
  body.motion-enabled .hero-content > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  body.motion-enabled .hero-metrics {
    opacity: 1;
    transform: translateX(-50%);
    animation: none;
  }

  .hero-media,
  .media-slot {
    transform: none;
  }

  .dashboard-chart i {
    transform: scaleY(1);
  }

  .dataset-row .bar-fill {
    width: var(--bar-width);
  }
}
