/* ==========================================================================
   MasAI 轻松手 — Warm Bionic Sanctuary Flagship Product Design System
   Archetype Fusion: Oriental Travertine Sanctuary × Surgical Bionic Precision
   ========================================================================== */

:root {
  --bg-canvas: #f5efe6;
  --bg-sandstone: #ece4d8;
  --bg-card: rgba(255, 252, 247, 0.82);
  --bg-obsidian: #13100e;
  --bg-obsidian-card: rgba(255, 248, 240, 0.045);

  --ink-primary: #201814;
  --ink-secondary: #5c4e45;
  --ink-muted: #8a7a6f;
  --ink-on-dark: #f5efe7;
  --ink-on-dark-muted: #a79a8e;

  --accent-ember: #b5422c;
  --accent-champagne: #c69c6d;

  --hairline-light: rgba(32, 24, 20, 0.10);
  --hairline-strong: rgba(32, 24, 20, 0.18);
  --hairline-dark: rgba(245, 239, 231, 0.11);
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-serif: 'Cormorant Garamond', 'Noto Serif SC', 'Songti SC', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Noto Sans SC', 'PingFang SC', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-ambient: 0 24px 60px -20px rgba(32, 24, 20, 0.10), 0 2px 6px rgba(32, 24, 20, 0.03);
}

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

html {
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--bg-canvas);
  line-height: 1.6;
}

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* Architectural Container — Strictly Centered Across All Viewports */
.container-arch {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 3.5vw, 3rem);
  padding-right: clamp(1.25rem, 3.5vw, 3rem);
}

.serif-display {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
}

html[lang="en"] .serif-display {
  letter-spacing: -0.026em;
  line-height: 1.08;
}

.section-h2 {
  font-size: clamp(1.95rem, 3.05vw, 2.9rem);
  line-height: 1.18;
}

html[lang="en"] .section-h2 {
  font-size: clamp(2.05rem, 3.1vw, 2.85rem);
  line-height: 1.08;
  text-wrap: balance;
}

.serif-en {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 500;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  font-variant-numeric: lining-nums tabular-nums;
}

.tabular {
  font-variant-numeric: lining-nums tabular-nums;
}

/* Floating Glass Navigation — Aligned to .container-arch Outer Bounds */
.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(1260px, calc(100% - 2rem));
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.62rem 0.95rem 0.62rem 1.2rem;
  border-radius: var(--radius-pill);
  background: rgba(245, 239, 230, 0.82);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--hairline-light);
  box-shadow: 0 12px 36px -12px rgba(32, 24, 20, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.site-header.header-dark {
  background: rgba(22, 18, 16, 0.84);
  color: var(--ink-on-dark);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.2vw, 1.35rem);
}

.nav-link {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0.78;
  transition: opacity 0.25s ease;
}

.nav-link:hover, .nav-link:focus-visible { opacity: 1; }

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--accent-ember);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Bilingual Segmented Pill Toggle */
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-strong);
  background: rgba(32, 24, 20, 0.045);
}

.site-header.header-dark .lang-switch {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.26rem 0.58rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  opacity: 0.65;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  opacity: 1;
}

.lang-btn.active {
  background: var(--ink-primary);
  color: #f9f5ef;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(32, 24, 20, 0.18);
}

.site-header.header-dark .lang-btn.active {
  background: var(--accent-champagne);
  color: #16120f;
}

/* Tactile Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-pill);
  background: var(--ink-primary);
  color: #f9f5ef;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 14px 28px -10px rgba(32, 24, 20, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-ember);
  box-shadow: 0 18px 34px -10px rgba(181, 66, 44, 0.42);
}

.site-header.header-dark .btn-primary-nav {
  background: var(--accent-champagne);
  color: #16120f;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 247, 0.76);
  color: var(--ink-primary);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--hairline-strong);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: var(--ink-primary);
}

/* ==========================================================================
   HERO SECTION & 360° INTERACTIVE MANUAL TURNTABLE VIEWER
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100svh;
  padding-top: 6.25rem;
  padding-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline-light);
  background:
    radial-gradient(52% 52% at 72% 44%, rgba(214, 178, 137, 0.22), transparent 72%),
    linear-gradient(180deg, #f6f0e6 0%, #f1e9dd 100%);
}

.arch-grid-lines {
  pointer-events: none;
  position: absolute;
  inset: 0;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(1.25rem, 3.5vw, 3rem);
}

.arch-grid-lines span {
  border-left: 1px solid rgba(32, 24, 20, 0.045);
  height: 100%;
}
.arch-grid-lines span:last-child {
  border-right: 1px solid rgba(32, 24, 20, 0.045);
}

/* Hero Wrapper Preserves Horizontal Auto-Centering */
.hero-main-wrap {
  margin-top: auto;
  margin-bottom: auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 3.5vw, 3.75rem);
  align-items: center;
}

/* Zero Orphan Wrapping & Zero Clipping on Hero Headline Across 900px–2560px+ */
.hero-headline {
  font-size: clamp(1.95rem, 2.7vw + 0.35rem, 3.2rem);
  margin: 1rem 0 1.35rem;
  color: var(--ink-primary);
  line-height: 1.22;
}

html[lang="en"] .hero-headline {
  font-size: clamp(1.95rem, 2.65vw + 0.3rem, 3.1rem);
  line-height: 1.1;
}

.line-mask {
  display: block;
  padding-bottom: 0.06em;
}

@media (min-width: 960px) {
  .line-mask {
    white-space: nowrap;
  }
}

/* 360° Interactive Turntable Stage — Symmetrically Centered */
.turntable-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.turntable-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: clamp(380px, 46vh, 480px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.turntable-stage.is-dragging {
  cursor: grabbing;
}

#bionic-aura-canvas {
  position: absolute;
  inset: -4%;
  width: 108%;
  height: 108%;
  pointer-events: none;
}

/* Dual-frame Transparent Alpha Turntable Viewport */
.turntable-viewport {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.turntable-frame {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  height: 94%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  will-change: opacity;
  filter: drop-shadow(0 24px 32px rgba(36, 24, 16, 0.17));
}

/* 360° Orbit Floor Ring Indicator — Locked to Chassis Center */
.turntable-orbit-ring {
  position: absolute;
  left: 50%;
  bottom: 3%;
  width: 72%;
  height: 68px;
  border-radius: 50%;
  border: 1px dashed rgba(181, 66, 44, 0.30);
  background: radial-gradient(closest-side, rgba(198, 156, 109, 0.24), transparent 80%);
  transform: translateX(-50%) rotateX(72deg);
  pointer-events: none;
  z-index: 2;
}

/* Symmetrical Top-Center Drag Hint Pill */
.drag-hint-badge {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.36rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 247, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--hairline-strong);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  white-space: nowrap;
  color: var(--ink-primary);
  pointer-events: none;
  box-shadow: 0 8px 20px -8px rgba(32, 24, 20, 0.14);
}

/* 3D Orbiting Anatomy Pins */
.anatomy-pin {
  position: absolute;
  z-index: 6;
  width: 28px;
  height: 28px;
  margin-left: -14px;
  margin-top: -14px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  background: rgba(181, 66, 44, 0.90);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 5px rgba(181, 66, 44, 0.18), 0 6px 16px rgba(32, 24, 20, 0.24);
  transition: background 0.22s ease, box-shadow 0.22s ease;
  will-change: left, top, opacity, transform;
}

.anatomy-pin:hover,
.anatomy-pin.active {
  background: var(--ink-primary);
  box-shadow: 0 0 0 8px rgba(198, 156, 109, 0.36), 0 10px 24px rgba(32, 24, 20, 0.32);
}

.telemetry-hud {
  position: relative;
  z-index: 8;
  width: 100%;
  max-width: 500px;
  margin-top: 0.5rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--hairline-strong);
  box-shadow: var(--shadow-ambient), inset 0 1px 0 #ffffff;
}

/* 360° Controls Dock Below Robot */
.turntable-controls {
  position: relative;
  z-index: 8;
  width: 100%;
  max-width: 500px;
  margin-top: 0.35rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 252, 247, 0.80);
  backdrop-filter: blur(14px);
  border: 1px solid var(--hairline-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.angle-pill {
  padding: 0.25rem 0.54rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-secondary);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

html[lang="en"] .angle-pill {
  padding: 0.25rem 0.48rem;
  font-size: 0.63rem;
}

.angle-pill:hover,
.angle-pill.active {
  background: var(--ink-primary);
  color: #f9f5ef;
}

input[type="range"].turntable-scrubber {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(32,24,20,0.12), rgba(181,66,44,0.45), rgba(32,24,20,0.12));
  outline: none;
  cursor: ew-resize;
}

input[type="range"].turntable-scrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-ember);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 8px rgba(32, 24, 20, 0.3);
  cursor: grab;
}

/* ==========================================================================
   INTERACTIVE BEFORE / AFTER REHABILITATION WIPE STAGE
   ========================================================================== */
.rehab-compare-stage {
  --wipe-pct: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: #e9e0d3;
  border: 1px solid var(--hairline-strong);
  box-shadow: 0 26px 56px -22px rgba(32, 24, 20, 0.22);
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  touch-action: pan-y;
}

.rehab-img-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  /* Warm Sanctuary Color-Grade Harmonization */
  filter: sepia(0.06) saturate(0.96) contrast(1.02);
}

.rehab-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--wipe-pct)) 0 0);
  will-change: clip-path;
}

.rehab-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--wipe-pct);
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(180deg, rgba(255,252,247,0.4), #fffcf7 20%, #fffcf7 80%, rgba(255,252,247,0.4));
  box-shadow: 0 0 16px rgba(32, 24, 20, 0.35);
  z-index: 6;
  pointer-events: none;
}

.rehab-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(32, 24, 20, 0.88);
  color: #f9f5ef;
  border: 2px solid #fffcf7;
  box-shadow: 0 8px 24px rgba(32, 24, 20, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: -1px;
  backdrop-filter: blur(8px);
}

.rehab-badge-before,
.rehab-badge-after {
  position: absolute;
  top: 1rem;
  z-index: 7;
  padding: 0.36rem 0.82rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.rehab-badge-before {
  left: 1rem;
  background: rgba(32, 24, 20, 0.72);
  color: #f5efe7;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.rehab-badge-after {
  right: 1rem;
  background: rgba(181, 66, 44, 0.90);
  color: #fffcf7;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.rehab-range-sr {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 8;
  margin: 0;
}

.efficacy-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 252, 247, 0.84);
  border: 1px solid var(--hairline-light);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--ink-primary);
  box-shadow: 0 6px 18px -10px rgba(32, 24, 20, 0.08);
}

.probe-foot-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Spotlight Cards */
.spotlight-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--hairline-light);
  box-shadow: var(--shadow-ambient), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
}

.spotlight-card::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: -1px;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    520px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(198, 156, 109, 0.22),
    transparent 46%
  );
  z-index: 0;
}

.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 1; }

/* Dark Obsidian Cinema Section */
.section-obsidian {
  position: relative;
  background:
    radial-gradient(60% 50% at 80% 15%, rgba(198, 156, 109, 0.11), transparent 70%),
    radial-gradient(50% 50% at 15% 80%, rgba(181, 66, 44, 0.12), transparent 70%),
    var(--bg-obsidian);
  color: var(--ink-on-dark);
  padding: clamp(5rem, 9vw, 8.5rem) 0;
}

.obsidian-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-obsidian-card);
  border: 1px solid var(--hairline-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.obsidian-card::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: -1px;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    480px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(214, 178, 137, 0.16),
    transparent 48%
  );
}
.obsidian-card:hover::before { opacity: 1; }

/* Tissue Cross-Section Tabs */
.mode-tab {
  width: 100%;
  text-align: left;
  padding: 1.05rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-on-dark-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}
.mode-tab:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink-on-dark); }
.mode-tab.active {
  background: rgba(198, 156, 109, 0.13);
  border-color: var(--accent-champagne);
  color: var(--ink-on-dark);
}

/* 8-in-1 AI Studio Probe Cards */
.probe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.probe-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #fbf8f3;
  border: 1px solid var(--hairline-light);
  overflow: hidden;
  box-shadow: 0 14px 34px -18px rgba(32, 24, 20, 0.09);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease, border-color 0.3s ease;
}

.probe-card:hover {
  transform: translateY(-7px);
  border-color: rgba(181, 66, 44, 0.38);
  box-shadow: 0 28px 54px -20px rgba(32, 24, 20, 0.18);
}

.probe-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ede5da;
}

.probe-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.probe-card:hover .probe-img-wrap img {
  transform: scale(1.06);
}

.filter-pill {
  padding: 0.46rem 0.92rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--hairline-strong);
  background: transparent;
  color: var(--ink-secondary);
  font-size: 0.81rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--ink-primary);
  color: #f9f5ef;
  border-color: var(--ink-primary);
}

/* Spec Table Rows */
.spec-row {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

/* Kinetic Marquee */
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee-scroll 36s linear infinite;
}

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 10, 9, 0.86);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.video-modal.open { display: flex; }

/* Responsive Design */
@media (max-width: 1040px) {
  .nav-links { display: none; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .turntable-stage { height: 430px; }
  .probe-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-row { grid-template-columns: 1fr; gap: 0.35rem; }
}

@media (max-width: 580px) {
  .probe-grid { grid-template-columns: 1fr; }
  .site-header { padding: 0.55rem 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none !important; }
}
