/* ==========================================================================
   The Pump Room — Dark-Mode Studio & Minimal Scroll-Driven Front Page
   ========================================================================== */

:root {
  --bg: #080a0f;
  --bg-elevated: #0e121b;
  --bg-card: #121724;
  --bg-card-hover: #171e2f;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f3f6fc;
  --text-muted: #9aa7bd;
  --text-soft: #6c7a93;

  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.14);
  --cyan: #38bdf8;
  --cyan-soft: rgba(56, 189, 248, 0.14);
  --green: #22c55e;
  --green-soft: rgba(34, 197, 94, 0.14);

  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.55);
  --container: 1120px;
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

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

img {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
}

/* Ambient Studio Backdrop */
.studio-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.22;
}

.glow-amber {
  width: 520px;
  height: 520px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle, var(--amber), transparent 70%);
}

.glow-cyan {
  width: 480px;
  height: 480px;
  top: 260px;
  left: -180px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
  opacity: 0.16;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 10%, #000 40%, transparent 100%);
}

/* Layout */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 10, 15, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-height);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1b2234, #0d111a);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}

.live-dot-sm {
  width: 8px;
  height: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.3rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.93rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translate3d(0, -1px, 0);
}

.btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0b0e14;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.36);
}

.btn-secondary {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.32);
  color: #bae6fd;
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.2);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

/* ==========================================================================
   Sticky Stage + Scroll Scrubbing (GPU-Composited Only)
   ========================================================================== */

.hero-runway {
  position: relative;
  min-height: 220vh;
}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 1.5rem) 0 2.5rem;
  overflow: clip;

  --scroll-p: 0;
  --hero-exit: 0;
  --bench-expand: 0;
  --bench-tx: 0px;
  --bench-ty: 0px;
  --bench-scale: 1;
  --bench-radius: 20px;
}

.stage-inner {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.75rem;
  align-items: center;
}

.hero-copy {
  will-change: transform, opacity;
  transform: translate3d(0, calc(var(--hero-exit) * -54px), 0)
    scale(calc(1 - var(--hero-exit) * 0.04));
  opacity: calc(1 - var(--hero-exit));
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.65); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.85rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 54ch;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* NOW ON THE BENCH Studio Monitor */
.studio-monitor {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--bench-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  will-change: transform, border-radius;
  transform: translate3d(var(--bench-tx), var(--bench-ty), 0) scale(var(--bench-scale));
  transform-origin: center center;
}

.monitor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.monitor-lights {
  display: flex;
  gap: 0.4rem;
}

.monitor-lights span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.monitor-lights span:first-child {
  background: var(--amber);
}

.monitor-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.screen-visual {
  position: relative;
  height: 112px;
  background:
    radial-gradient(circle at 75% 30%, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(circle at 25% 75%, rgba(245, 158, 11, 0.2), transparent 60%),
    #0a0e17;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.1rem 1.5rem;
  overflow: hidden;
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 64px;
  transform: scale(calc(1 + var(--bench-expand) * 0.08));
  will-change: transform;
}

.eq-bars span {
  width: 7px;
  border-radius: 999px;
  background: linear-gradient(to top, var(--amber), var(--cyan));
  opacity: 0.85;
  animation: eq-bounce 1.8s ease-in-out infinite alternate;
}

.eq-bars span:nth-child(1) { height: 26%; animation-delay: 0.05s; }
.eq-bars span:nth-child(2) { height: 54%; animation-delay: 0.2s; }
.eq-bars span:nth-child(3) { height: 78%; animation-delay: 0.35s; }
.eq-bars span:nth-child(4) { height: 42%; animation-delay: 0.1s; }
.eq-bars span:nth-child(5) { height: 92%; animation-delay: 0.45s; }
.eq-bars span:nth-child(6) { height: 64%; animation-delay: 0.25s; }
.eq-bars span:nth-child(7) { height: 84%; animation-delay: 0.15s; }
.eq-bars span:nth-child(8) { height: 48%; animation-delay: 0.4s; }
.eq-bars span:nth-child(9) { height: 72%; animation-delay: 0.3s; }
.eq-bars span:nth-child(10) { height: 36%; animation-delay: 0.55s; }
.eq-bars span:nth-child(11) { height: 62%; animation-delay: 0.12s; }
.eq-bars span:nth-child(12) { height: 30%; animation-delay: 0.28s; }

@keyframes eq-bounce {
  from { transform: scaleY(0.45); opacity: 0.6; }
  to { transform: scaleY(1); opacity: 0.95; }
}

.scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025) 0,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

.monitor-body {
  padding: 1.4rem;
}

.monitor-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.monitor-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  margin: 0;
}

.stage-counter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-soft);
}

.monitor-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.6rem;
}

.monitor-summary {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.monitor-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0 0 1.25rem;
}

.metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
}

.metric-box dt {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

.metric-box dd {
  margin: 0.18rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.bench-progress-track {
  position: relative;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bench-progress-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  transform-origin: left center;
  transform: scaleX(var(--scroll-p));
  will-change: transform;
}

/* ==========================================================================
   Below-the-Fold Workbench & Updates (Minimal Scroll-Triggered Reveals)
   ========================================================================== */

.section {
  padding: 4.25rem 0;
  scroll-margin-top: calc(var(--header-height) + 12px);
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.section-kicker {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin: 0 0 0.35rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0;
}

.section-subcopy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@keyframes bench-reveal {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal-item {
      animation: bench-reveal linear both;
      animation-timeline: view();
      animation-range: entry 6% cover 26%;
    }
  }

  html.reveal-js-ready:not(.supports-view-timeline) .reveal-item {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.98);
    transition:
      opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  html.reveal-js-ready:not(.supports-view-timeline) .reveal-item.is-inview {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Workbench Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.project-card:hover {
  transform: translate3d(0, -3px, 0);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.card-visual {
  position: relative;
  height: 168px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem;
  background-color: #0b0f18;
}

.card-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-visual.visual-broadcast {
  background:
    radial-gradient(circle at 20% 25%, rgba(245, 158, 11, 0.28), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(56, 189, 248, 0.22), transparent 55%),
    linear-gradient(135deg, #101626, #090c14);
}

.card-visual.visual-grid {
  background:
    linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 70% 30%, rgba(34, 197, 94, 0.2), transparent 60%),
    #0b101b;
  background-size: 26px 26px, 26px 26px, 100% 100%, 100% 100%;
}

.card-visual.visual-waveform {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(56, 189, 248, 0.12) 0 3px,
      transparent 3px 14px
    ),
    radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.25), transparent 65%),
    #0a0f1c;
}

.card-visual.visual-terminal {
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.24), transparent 55%),
    linear-gradient(180deg, #111623 0%, #090c13 100%);
}

.visual-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
  background: rgba(8, 10, 15, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
}

.status-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.status-amber {
  background: var(--amber-soft);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-green {
  background: var(--green-soft);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-cyan {
  background: var(--cyan-soft);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.card-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-soft);
  margin-bottom: 0.45rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.55rem;
}

.card-summary {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0 0 1.15rem;
  flex: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.24rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Bench Updates List */
.updates-list {
  display: grid;
  gap: 1rem;
}

.update-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.update-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.update-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-soft);
}

.update-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: var(--amber-soft);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.update-content h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 0.35rem;
}

.update-content p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
}

.footer-note {
  margin: 0;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 6, 10, 0.78);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  width: min(100%, 580px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-bottom: 1px solid var(--border);
}

.modal-category {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.2rem 0 0;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-visual {
  height: 180px;
}

.modal-body {
  padding: 1.4rem;
}

.modal-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-date {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-soft);
}

.modal-summary {
  font-weight: 500;
  margin: 0 0 0.75rem;
}

.modal-details {
  color: var(--text-muted);
  margin: 0 0 1.2rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-runway {
    min-height: 200vh;
  }

  .hero-sticky-stage {
    align-items: flex-start;
    padding: calc(var(--header-height) + 1.25rem) 0 1.5rem;
  }

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

  .hero-grid {
    gap: 1.5rem;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-description {
    font-size: 0.96rem;
    margin-bottom: 1.35rem;
  }

  .screen-visual {
    height: 92px;
  }

  .monitor-body {
    padding: 1.1rem;
  }

  .monitor-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .metric-box {
    padding: 0.45rem 0.5rem;
  }

  .metric-box dd {
    font-size: 0.76rem;
  }

  .update-item {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
}

/* Reduced Motion Fallback */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-runway {
    min-height: auto;
  }

  .hero-sticky-stage {
    position: relative;
    min-height: auto;
    padding: 3.5rem 0 2.75rem;
  }

  .hero-copy,
  .studio-monitor,
  .eq-bars,
  .reveal-item {
    transform: none !important;
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
  }

  .bench-progress-fill {
    transform: scaleX(1);
  }

  .pulse-dot,
  .eq-bars span {
    animation: none;
  }
}
