/* =============================================================================
   REMORA MEDICAL — Enterprise MedTech Design System
   Architecture: Light-first editorial paper with precision instrument surfaces
   Design tokens & typography directly mirrored from Trace (spec §40.1, §54)
   ============================================================================= */

:root {
  /* ------------------------------------------------------------ Neutrals */
  --paper:               #fbfbf9;  /* Warm paper canvas */
  --paper-50:            #f7f7f4;  /* Editorial neutral base */
  --paper-100:           #efefea;  /* Subtle panel fill */
  --paper-200:           #e3e3de;  /* Hairline structure border */
  --paper-300:           #cfcfc8;  /* Secondary rule border */
  --paper-white:         #ffffff;  /* Pure white card surface */

  /* -------------------------------------------------------- Ink Typography */
  --ink:                 #0a0a0a;  /* High-contrast solid ink */
  --ink-900:             #1a1a18;
  --ink-800:             #2e2e2b;
  --ink-700:             #43433f;  /* Secondary copy */
  --ink-600:             #585853;  /* Sub-copy and captions */
  --ink-500:             #70706b;  /* Muted labels & telemetry */
  --ink-400:             #949490;  /* Disabled / decorative */

  /* -------------------------------------------------------- Signal Accent */
  /* Exactly one signal color: spectral teal reserved for active evidence */
  --signal-50:           #e6fbfb;
  --signal-100:          #c2f5f5;
  --signal-200:          #8debec;
  --signal-400:          #1fc5cb;
  --signal-500:          #00a8b0;
  --signal-600:          #008a93;  /* Primary brand signal */
  --signal-700:          #006c75;
  --signal-800:          #00525a;

  /* ------------------------------------------------- Instrument Surfaces */
  --instrument-bg:       #0e1116;  /* Clinical scanner / monitor dark field */
  --instrument-surface:  #161a22;
  --instrument-border:   #22262d;
  --instrument-ink:      #fbfbf9;

  /* ---------------------------------------------------------- Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --font-serif: 'Iowan Old Style', 'Palatino Linotype', Charter, Georgia, serif;

  /* -------------------------------------------------------------- Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-pill: 9999px;

  /* ------------------------------------------------------------- Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.04);
  --shadow-card: 0 1px 2px rgba(10, 10, 10, 0.04), 0 8px 24px -12px rgba(10, 10, 10, 0.08);
  --shadow-elevated: 0 4px 16px -2px rgba(10, 10, 10, 0.06), 0 16px 36px -16px rgba(10, 10, 10, 0.12);

  /* -------------------------------------------------------------- Easing */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-entrance: cubic-bezier(0.16, 1, 0.3, 1);

  /* -------------------------------------------------------------- Layout */
  --maxw: 1320px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --nav-h: 72px;
}

/* =============================================================================
   Base
   ============================================================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  background-color: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  font-variant-ligatures: contextual;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  background-color: var(--paper);
  color: var(--ink-700);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: clip;
}

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

::selection {
  background-color: var(--signal-100);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--signal-600);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

/* Tabular numbers for financial & clinical metrics */
.tabular, [data-count], .stat-n, .gauge-n, .mc-n {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Heading typography */
h1, h2, h3, h4, h5 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
  line-height: 1.12;
}

p {
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 10000;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

/* =============================================================================
   Scroll Progress
   ============================================================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2000;
  pointer-events: none;
  background: transparent;
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--signal-600);
}

/* =============================================================================
   Navbar
   ============================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(251, 251, 249, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--paper-200);
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--paper-300);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--maxw);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-svg {
  flex-shrink: 0;
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}
.brand:hover .brand-svg {
  transform: translateY(-1.5px) scale(1.04);
  filter: drop-shadow(0 2px 10px rgba(0, 168, 176, 0.4));
}
.brand-text {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}
.brand-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 500;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-600);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}
.nav-link:hover, .nav-link.current {
  color: var(--ink);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ink);
  color: var(--paper-white);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.nav-cta:hover {
  background: var(--ink-800);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: 0.2s ease;
}

/* =============================================================================
   Buttons
   ============================================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper-white);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn-primary:hover {
  background: var(--ink-800);
  transform: translateY(-1px);
}
.btn-primary:active {
  background: var(--ink-900);
  transform: translateY(0);
}
.btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--paper-white);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--paper-300);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.btn-secondary:hover, .btn-ghost:hover {
  border-color: var(--ink-400);
  background: var(--paper-50);
}
.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1rem;
}

/* =============================================================================
   Hero Section
   ============================================================================= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 4.5rem) var(--gutter) 0;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(0, 168, 176, 0.05) 0%, transparent 65%),
    var(--paper);
  border-bottom: 1px solid var(--paper-200);
  overflow: hidden;
}
.hero-wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-body {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

/* =============================================================================
   Oceanic Wave Transitions & Fluid Dynamics
   ============================================================================= */
.ocean-wave-transition {
  position: relative;
  width: 100%;
  height: clamp(55px, 8vw, 95px);
  margin-top: auto;
  margin-bottom: -1px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}
.ocean-waves {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 55px;
  max-height: 95px;
  display: block;
}
.wave-parallax > use {
  animation: waveFlow 24s cubic-bezier(.55, .5, .45, .5) infinite;
}
.wave-layer-1 {
  fill: rgba(0, 168, 176, 0.06);
  animation-delay: -2s !important;
  animation-duration: 14s !important;
}
.wave-layer-2 {
  fill: rgba(0, 138, 147, 0.10);
  animation-delay: -4s !important;
  animation-duration: 19s !important;
}
.wave-layer-3 {
  fill: rgba(194, 245, 245, 0.40);
  animation-delay: -3s !important;
  animation-duration: 25s !important;
}
.wave-layer-4 {
  fill: var(--paper-white); /* Merges seamlessly into stats-strip */
  animation-delay: -5s !important;
  animation-duration: 32s !important;
}
.wave-layer-paper {
  fill: var(--paper); /* Merges into paper background */
  animation-delay: -5s !important;
  animation-duration: 30s !important;
}
.wave-divider {
  margin-top: 1.5rem;
  margin-bottom: -1px;
}
@keyframes waveFlow {
  0% { transform: translate3d(-90px, 0, 0); }
  50% { transform: translate3d(85px, 0, 0); }
  100% { transform: translate3d(-90px, 0, 0); }
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-600);
  background: var(--paper-white);
  border: 1px solid var(--paper-200);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.eyebrow-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-600);
  box-shadow: 0 0 0 2px var(--signal-100);
}
.eyebrow-sep {
  width: 1px;
  height: 10px;
  background: var(--paper-200);
}
.hero-h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 1.6rem;
}
.hero-p {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 64ch;
  margin: 0 auto 2.4rem;
}
.hero-p strong {
  color: var(--ink);
  font-weight: 600;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal-600);
}

/* =============================================================================
   Stat Band (Key Figures)
   ============================================================================= */
.stats-strip {
  background: var(--paper-white);
  border-bottom: 1px solid var(--paper-200);
  padding: 3rem var(--gutter);
}
.stats-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 0.5rem 2rem;
  border-left: 1px solid var(--paper-200);
}
.stat-item:first-child {
  border-left: none;
  padding-left: 0;
}
.stat-n {
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-l {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-600);
  max-width: 24ch;
}

/* =============================================================================
   Section Shell & Headers
   ============================================================================= */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7rem) var(--gutter);
}
.wrap-tight {
  padding-bottom: 0;
}
.sec-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
.sec-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal-600);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}
.sec-h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1rem;
}
.sec-sub {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-600);
  max-width: 58ch;
}
.sub-h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
}

.cinematic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.cinematic-card { overflow: hidden; border: 1px solid var(--paper-200); border-radius: var(--radius-lg); background: var(--paper-white); box-shadow: var(--shadow-card); }
.cinematic-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--instrument-bg); }
.cinematic-card figcaption { padding: 1rem 1.15rem 1.2rem; }
.cinematic-card figcaption b { display: block; margin-bottom: 0.35rem; color: var(--ink); }
.cinematic-card figcaption span { color: var(--ink-600); font-size: 0.875rem; line-height: 1.5; }

.concept-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--instrument-bg); }
.concept-stage video { display: block; width: 100%; height: 100%; object-fit: cover; }
.concept-chrome { position: absolute; inset: 0 0 auto; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 1rem; color: #e8f7f7; background: linear-gradient(180deg, rgba(6, 12, 16, .82), transparent); font: 600 0.65rem var(--font-mono); letter-spacing: .1em; }
.concept-chrome i { display: inline-block; width: .45rem; height: .45rem; margin-right: .35rem; border-radius: 50%; background: var(--signal-500); box-shadow: 0 0 12px var(--signal-500); }
.concept-caption { margin: 0; padding: .8rem 1rem; background: var(--instrument-surface); border-top: 1px solid var(--instrument-border); color: var(--ink-400); font: .72rem/1.5 var(--font-mono); }

/* Current 3D render atlas */
.atlas { position: relative; }
.atlas-stage { position: relative; min-height: min(68vw, 680px); overflow: hidden; border-radius: var(--radius-lg); background: #080d12; box-shadow: var(--shadow-elevated); }
.atlas-view { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.045); transition: opacity .7s var(--ease), transform 1.1s var(--ease); pointer-events: none; }
.atlas-view.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.atlas-view img { width: 100%; height: 100%; object-fit: cover; }
.atlas-view::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,7,10,.12) 35%, rgba(3,7,10,.88) 100%); }
.atlas-view figcaption { position: absolute; z-index: 2; left: clamp(1.25rem, 4vw, 3rem); bottom: clamp(1.3rem, 4vw, 2.8rem); display: grid; grid-template-columns: auto 1fr; column-gap: .8rem; max-width: 36rem; color: #fff; }
.atlas-view figcaption span { grid-row: 1 / 3; color: var(--signal-400); font: 600 .72rem var(--font-mono); letter-spacing: .12em; padding-top: .25rem; }
.atlas-view figcaption b { font-size: clamp(1.5rem, 3vw, 2.75rem); letter-spacing: -.035em; }
.atlas-view figcaption small { margin-top: .3rem; color: rgba(255,255,255,.68); font-size: .9rem; line-height: 1.5; }
.atlas-chrome { position: absolute; z-index: 3; inset: 0 0 auto; display: flex; justify-content: flex-end; padding: 1rem 1.2rem; color: rgba(232,247,247,.82); background: linear-gradient(180deg, rgba(4,8,12,.75), transparent); font: 600 .65rem var(--font-mono); letter-spacing: .12em; }
.atlas-chrome i { display: inline-block; width: 6px; height: 6px; margin-right: .4rem; border-radius: 50%; background: var(--signal-400); box-shadow: 0 0 14px var(--signal-400); }
.atlas-rail { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--paper-200); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); overflow: hidden; background: var(--paper-white); }
.atlas-rail button { display: grid; grid-template-columns: auto 1fr; column-gap: .7rem; padding: 1.1rem 1.25rem; text-align: left; color: var(--ink-500); background: transparent; border: 0; border-right: 1px solid var(--paper-200); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.atlas-rail button:last-child { border-right: 0; }
.atlas-rail button:hover, .atlas-rail button.is-active { color: var(--ink); background: var(--signal-50); }
.atlas-rail button span { grid-row: 1 / 3; color: var(--signal-600); font: 600 .68rem var(--font-mono); padding-top: .18rem; }
.atlas-rail button b { font-size: .9rem; }
.atlas-rail button small { margin-top: .15rem; color: var(--ink-500); }
.atlas-note { margin-top: 1rem; color: var(--ink-500); font: .72rem/1.5 var(--font-mono); }

/* Scroll-pinned, timeline-scrubbed concept films */
.cinema-scroll { position: relative; background: #05080b; }
.cinema-scroll--procedure { height: 360vh; height: 360svh; }
.cinema-scroll--flow { height: 240vh; height: 240svh; }
.cinema-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 100vh; overflow: hidden; isolation: isolate; color: #fff; }
.cinema-sticky::after { content: ''; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 7rem; background: linear-gradient(180deg, transparent 0%, #05080b 38%); pointer-events: none; }
.cinema-film { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cinema-film-source { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cinema-veil { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(3,7,10,.88) 0%, rgba(3,7,10,.45) 42%, rgba(3,7,10,.08) 72%), linear-gradient(0deg, rgba(3,7,10,.65), transparent 45%); pointer-events: none; }
.cinema-topline { position: absolute; z-index: 3; inset: calc(var(--nav-h) + 1rem) var(--gutter) auto; display: flex; justify-content: space-between; color: rgba(255,255,255,.58); font: 600 .68rem var(--font-mono); letter-spacing: .12em; }
.cinema-topline b { color: var(--signal-200); font: inherit; }
.cinema-copy { position: absolute; z-index: 3; left: var(--gutter); top: 50%; width: min(42rem, calc(100% - var(--gutter) * 2)); opacity: 0; transform: translate3d(-3rem, -42%, 0); transition: opacity .55s var(--ease), transform .8s var(--ease); pointer-events: none; }
.cinema-copy.is-active { opacity: 1; transform: translate3d(0, -50%, 0); }
.cinema-copy > span { display: block; margin-bottom: 1rem; color: var(--signal-300); font: 600 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.cinema-copy h2 { max-width: 12ch; font-size: clamp(3rem, 7vw, 7rem); line-height: .92; letter-spacing: -.06em; text-shadow: 0 4px 34px rgba(0,0,0,.45); }
.cinema-copy p { max-width: 42ch; margin-top: 1.3rem; color: rgba(255,255,255,.72); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; }
.cinema-toggle { position: absolute; z-index: 4; right: var(--gutter); bottom: 3.2rem; padding: .65rem .9rem; color: #fff; background: rgba(7,13,18,.55); border: 1px solid rgba(255,255,255,.26); border-radius: var(--radius-pill); backdrop-filter: blur(12px); font: 600 .7rem var(--font-mono); letter-spacing: .08em; cursor: pointer; }
.cinema-progress { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: 2rem; height: 2px; background: rgba(255,255,255,.2); }
.cinema-progress i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--signal-500), #8fe8ec); transform: scaleX(0); transform-origin: left; }
.cinema-disclaimer { position: absolute; z-index: 3; left: var(--gutter); bottom: 3.35rem; max-width: 55ch; color: rgba(255,255,255,.48); font: .65rem/1.5 var(--font-mono); }
.cinema-sticky--portrait { background: #05080b; }
.cinema-sticky--portrait::before { content: ''; position: absolute; z-index: -1; inset: -3rem; background: linear-gradient(rgba(3,8,11,.7), rgba(3,8,11,.82)), url('../assets/public/in-vivo/flow-remora-poster.jpg') center / cover; filter: blur(24px); transform: scale(1.08); opacity: .48; }
.cinema-film--portrait { object-fit: contain; object-position: 68% center; }
.cinema-veil--quiet { background: linear-gradient(90deg, rgba(3,7,10,.84) 0%, rgba(3,7,10,.52) 30%, transparent 58%), linear-gradient(0deg, rgba(3,7,10,.62), transparent 32%); }
.cinema-flow-label { position: absolute; z-index: 3; left: var(--gutter); top: 50%; width: min(31rem, 38vw); transform: translateY(-50%); pointer-events: none; }
.cinema-flow-label span { display: block; margin-bottom: 1rem; color: var(--signal-300); font: 600 .72rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; }
.cinema-flow-label h2 { color: #fff; font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: .94; letter-spacing: -.055em; text-shadow: 0 4px 34px rgba(0,0,0,.45); }

/* =============================================================================
   The Problem Section
   ============================================================================= */
.problem-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}
.gauge-card {
  background: var(--paper-white);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.gauge-wrap {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 0 auto 1.5rem;
}
.gauge-wrap canvas {
  width: 100%;
  height: 100%;
}
.gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gauge-n {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.gauge-cap {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 0.35rem;
}
.gauge-card figcaption {
  font-size: 0.8125rem;
  color: var(--ink-600);
  line-height: 1.5;
  max-width: 32ch;
  margin: 0 auto;
}
.problem-list {
  list-style: none;
  display: grid;
  gap: 1.75rem;
}
.problem-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--paper-200);
}
.problem-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.pl-idx {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--signal-600);
  letter-spacing: 0.05em;
  padding-top: 0.15rem;
}
.problem-list h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.problem-list p {
  font-size: 0.9375rem;
  color: var(--ink-600);
  line-height: 1.55;
}

/* =============================================================================
   Mechanism Sequence
   ============================================================================= */
.mech-section {
  background: var(--paper-50);
  border-top: 1px solid var(--paper-200);
  border-bottom: 1px solid var(--paper-200);
  padding: clamp(4.5rem, 8vw, 7rem) 0;
}
.mech-stage {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.mech-steps {
  display: grid;
  gap: 2rem;
}
.mech-step {
  background: var(--paper-white);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s var(--ease);
}
.mech-step.active, .mech-step:hover {
  border-color: var(--signal-600);
}
.ms-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.ms-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--signal-600);
}
.ms-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.mech-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--ink);
}
.mech-step p {
  font-size: 0.9375rem;
  color: var(--ink-600);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.ms-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ms-facts li {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-700);
  background: var(--paper-50);
  border: 1px solid var(--paper-200);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
}
.mech-visual {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.viz-pane {
  background: var(--instrument-bg);
  border: 1px solid var(--instrument-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
}
.viz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--instrument-border);
  background: var(--instrument-surface);
}
.viz-title {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--ink-400);
}
.viz-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--signal-400);
}
.viz-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-400);
}
.viz-canvas-wrap {
  position: relative;
  width: 100%;
  height: 380px;
}
.viz-canvas-wrap canvas {
  width: 100%;
  height: 100%;
}
.viz-meter {
  height: 2px;
  background: var(--instrument-border);
}
.viz-meter i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--signal-500);
  transition: width 0.3s var(--ease);
}
.viz-caption {
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-400);
  background: var(--instrument-surface);
}

/* =============================================================================
   Clinical Contrast Matrix (Why Remora)
   ============================================================================= */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4.5rem;
}
.cmp-card {
  background: var(--paper-white);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}
.cmp-card.remora {
  border-color: var(--signal-600);
  box-shadow: 0 1px 2px rgba(0, 168, 176, 0.08), 0 8px 24px -12px rgba(0, 168, 176, 0.16);
}
.cmp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}
.cmp-h {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.cmp-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-pill);
}
.cmp-badge.legacy {
  background: #fbeae8;
  color: #b3261e;
  border: 1px solid #f2cac6;
}
.cmp-badge.remora {
  background: var(--signal-50);
  color: var(--signal-700);
  border: 1px solid var(--signal-100);
}
.cmp-sub {
  font-size: 0.875rem;
  color: var(--ink-500);
  margin-bottom: 1.75rem;
}
.cmp-list {
  list-style: none;
  display: grid;
  gap: 1.2rem;
}
.cmp-list li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-700);
}
.ic.x {
  color: #b3261e;
  font-weight: 600;
}
.ic.c {
  color: var(--signal-600);
  font-weight: 600;
}

/* Design Pillars */
.pillars {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid var(--paper-200);
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pillar {
  background: var(--paper-white);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.pillar:hover {
  border-color: var(--paper-300);
  transform: translateY(-2px);
}
.pillar svg {
  width: 22px;
  height: 22px;
  color: var(--signal-600);
  margin-bottom: 1rem;
}
.pillar h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.pillar p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-600);
}

/* =============================================================================
   Market Section
   ============================================================================= */
.market-section {
  background: var(--paper-white);
  border-top: 1px solid var(--paper-200);
  border-bottom: 1px solid var(--paper-200);
}
.market-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}
.market-card {
  background: var(--paper-50);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
}
.mc-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: block;
  margin-bottom: 0.65rem;
}
.mc-n {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 1.25rem;
}
.mc-bar {
  height: 4px;
  background: var(--paper-200);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}
.mc-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--signal-600);
  transition: width 0.8s var(--ease);
}
.mc-note {
  font-size: 0.8125rem;
  color: var(--ink-600);
  line-height: 1.5;
}

/* =============================================================================
   Roadmap Section
   ============================================================================= */
.status-banner {
  background: var(--paper-white);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.status-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.status-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--signal-50);
  color: var(--signal-700);
  border: 1px solid var(--signal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9375rem;
  flex-shrink: 0;
}
.status-left h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.status-left p {
  font-size: 0.875rem;
  color: var(--ink-600);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal-700);
  background: var(--signal-50);
  border: 1px solid var(--signal-100);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal-600);
}
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.tl-item {
  background: var(--paper-white);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
}
.tl-item.active {
  border-color: var(--signal-600);
}
.tl-marker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--signal-600);
  margin-bottom: 0.75rem;
}
.tl-when {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-500);
  display: block;
  margin-bottom: 0.35rem;
}
.tl-body h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.tl-body p {
  font-size: 0.8125rem;
  color: var(--ink-600);
  line-height: 1.5;
}

/* =============================================================================
   Team Section
   ============================================================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.t-card {
  background: var(--paper-white);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.6rem;
  text-align: center;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.t-card:hover {
  border-color: var(--paper-300);
  transform: translateY(-2px);
}
.t-avatar {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin: 0 auto 1.25rem;
  border-radius: calc(var(--radius-md) - 2px);
  background: var(--paper-100);
}
.t-name {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.t-role {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--signal-600);
  margin-bottom: 0.75rem;
}
.t-bio {
  font-size: 0.8125rem;
  color: var(--ink-600);
  line-height: 1.5;
}

/* =============================================================================
   CTA Section
   ============================================================================= */
.cta-section {
  padding: 6rem var(--gutter);
  background: var(--paper);
}
.cta-box {
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper-white);
  border: 1px solid var(--paper-200);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.cta-content h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  margin: 0.75rem 0 1.25rem;
}
.cta-content p {
  font-size: 1.0625rem;
  color: var(--ink-600);
  max-width: 48ch;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.cta-fine {
  font-size: 0.8125rem;
  color: var(--ink-500);
}
.cta-fine a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =============================================================================
   Footer
   ============================================================================= */
.footer {
  background: var(--paper-white);
  border-top: 1px solid var(--paper-200);
  padding: 4.5rem var(--gutter) 2.5rem;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--paper-200);
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--ink-600);
  margin-top: 0.75rem;
  max-width: 32ch;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-nav h5 {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 1rem;
}
.footer-nav a {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-600);
  text-decoration: none;
  margin-bottom: 0.65rem;
  transition: color 0.18s var(--ease);
}
.footer-nav a:hover {
  color: var(--ink);
}
.lockdot {
  font-size: 0.75rem;
  margin-left: 0.25rem;
}
.footer-bottom {
  max-width: var(--maxw);
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--ink-500);
  letter-spacing: 0.04em;
}
.footer-status i {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal-600);
  margin-right: 0.35rem;
}

/* =============================================================================
   Editorial precision pass — product-led, clinical, and deliberately restrained
   ============================================================================= */
.navbar {
  background: rgba(251, 251, 249, 0.94);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.nav-link {
  position: relative;
  padding: 1.55rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1.15rem;
  height: 1px;
  background: var(--signal-600);
  transition: right .25s var(--ease);
}
.nav-link:hover::after,
.nav-link.current::after { right: 0; }

.hero {
  min-height: 94vh;
  min-height: 94svh;
  justify-content: flex-start;
  text-align: left;
  padding-top: calc(var(--nav-h) + clamp(3.5rem, 7vw, 6.5rem));
  background: var(--paper);
}
.hero-body {
  width: min(100%, var(--maxw));
  max-width: var(--maxw);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy > * { animation: heroEnter .9s var(--ease-entrance) both; }
.hero-copy > :nth-child(2) { animation-delay: .1s; }
.hero-copy > :nth-child(3) { animation-delay: .18s; }
.hero-product { animation: heroVisualIn 1.15s var(--ease-entrance) .08s both; }
@keyframes heroEnter {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes heroVisualIn {
  from { opacity: 0; clip-path: inset(8% 0 8% 0); transform: translate3d(24px, 0, 0); }
  to { opacity: 1; clip-path: inset(0 0 0 0); transform: translate3d(0, 0, 0); }
}
.hero-eyebrow { margin-bottom: 1.6rem; box-shadow: none; }
.hero-h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 5.25vw, 5.25rem);
  font-weight: 550;
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-p {
  max-width: 59ch;
  margin: 0 0 2rem;
  color: var(--ink-600);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}
.hero-actions { justify-content: flex-start; }
.hero-meta { justify-content: flex-start; margin-top: 2rem; }
.hero-product {
  position: relative;
  min-height: clamp(440px, 54vw, 690px);
  overflow: hidden;
  background: var(--instrument-bg);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px -36px rgba(5, 12, 16, .5);
}
.hero-product::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,8,11,.04) 45%, rgba(2,8,11,.82));
  pointer-events: none;
}
.hero-product img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transform: scale(1.055); }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2rem;
  border-top: 1px solid var(--paper-200);
  border-bottom: 1px solid var(--paper-200);
}
.hero-proof > div { padding: 1.15rem 1.5rem; border-left: 1px solid var(--paper-200); }
.hero-proof > div:first-child { padding-left: 0; border-left: 0; }
.hero-proof span,
.stat-l span {
  display: block;
  margin-bottom: .28rem;
  color: var(--ink-500);
  font: 600 .64rem var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero-proof b { color: var(--ink); font-size: .875rem; font-weight: 600; }
.hero-wave-canvas { opacity: .35; }
.ocean-wave-transition { height: clamp(35px, 5vw, 64px); }

.stats-strip { padding-block: 2.6rem; }
.stat-item { padding-inline: clamp(1.25rem, 3vw, 2.5rem); }
.stat-n { font-weight: 550; }
.stat-l { max-width: 25ch; }
.wrap { padding-block: clamp(6rem, 10vw, 10rem); }
.sec-head { max-width: 880px; margin-bottom: clamp(3rem, 5vw, 5rem); }
.sec-h2 { font-size: clamp(2.5rem, 4.5vw, 4.25rem); font-weight: 550; line-height: 1.02; letter-spacing: -.05em; }
.sec-sub { max-width: 62ch; font-size: clamp(1rem, 1.3vw, 1.125rem); }

.gauge-card,
.mech-step,
.cmp-card,
.pillar,
.market-card,
.status-banner,
.tl-item,
.t-card,
.cta-box { box-shadow: none; }
.problem-layout { gap: clamp(3rem, 7vw, 7rem); }
.gauge-card { background: var(--paper-50); }
.mech-section { padding-block: clamp(6rem, 10vw, 10rem); }
.mech-step { border-radius: var(--radius-sm); }

.atlas-stage { min-height: min(64vw, 720px); border-radius: var(--radius-md); box-shadow: none; }
.atlas-rail { border-radius: 0 0 var(--radius-md) var(--radius-md); }
.atlas-rail button { min-height: 82px; }
.atlas-note { max-width: 90ch; }

.cinema-veil { background: linear-gradient(90deg, rgba(3,7,10,.9) 0%, rgba(3,7,10,.58) 38%, rgba(3,7,10,.08) 72%), linear-gradient(0deg, rgba(3,7,10,.72), transparent 50%); }
.cinema-copy {
  width: min(39rem, calc(100% - var(--gutter) * 2));
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: rgba(5, 10, 14, .4);
  border-left: 1px solid rgba(141,235,236,.62);
  backdrop-filter: blur(8px);
}
.cinema-copy h2 { max-width: 10ch; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .95; }
.cinema-flow-label { padding-left: 1.5rem; border-left: 1px solid rgba(141,235,236,.62); }
.cinema-flow-label h2 { font-size: clamp(2.8rem, 4.6vw, 5rem); }
.cinema-topline { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: .8rem; }

.market-section { background: var(--ink); border-color: var(--ink-800); }
.market-section .sec-eyebrow { color: var(--signal-400); }
.market-section .sec-h2 { color: #fff; }
.market-section .sec-sub { color: rgba(255,255,255,.62); }
.market-card { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.14); }
.market-card .mc-label { color: rgba(255,255,255,.5); }
.market-card .mc-n { color: #fff; }
.market-card .mc-note { color: rgba(255,255,255,.62); }
.market-card .mc-bar { background: rgba(255,255,255,.12); }

.team-grid { gap: 1rem; }
.t-card { padding: .65rem .65rem 1.5rem; text-align: left; }
.t-avatar { margin-bottom: 1.1rem; border-radius: var(--radius-sm); }
.t-name, .t-role, .t-bio { margin-left: .6rem; margin-right: .6rem; }

.cta-section { background: var(--instrument-bg); border-top: 1px solid var(--instrument-border); }
.cta-box { max-width: var(--maxw); background: transparent; border-color: rgba(255,255,255,.14); padding-block: clamp(4rem, 8vw, 7rem); }
.cta-box .sec-eyebrow { color: var(--signal-400); }
.cta-content h2 { color: #fff; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.cta-content p { color: rgba(255,255,255,.6); }
.cta-box .btn-primary { background: var(--signal-500); color: #031013; }
.cta-box .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.24); }
.cta-fine a { color: #fff; }

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: 2.5rem; }
  .hero-h1 { font-size: clamp(2.8rem, 6vw, 4rem); }
  .stats-inner, .timeline, .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-item {
    border-left: none;
    padding: 0;
  }
  .problem-layout, .mech-stage, .compare-grid, .market-grid, .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .mech-visual {
    position: static;
  }
  .pillar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  body.nav-open { overflow: hidden; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 3rem); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: left; }
  .hero-h1 { max-width: 12ch; font-size: clamp(2.75rem, 13vw, 4.4rem); }
  .hero-product { min-height: 62svh; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof > div,
  .hero-proof > div:first-child { padding: .9rem 0; border-left: 0; border-top: 1px solid var(--paper-200); }
  .hero-proof > div:first-child { border-top: 0; }
  .cinematic-grid { grid-template-columns: 1fr; }
  .atlas-stage { min-height: 65svh; }
  .atlas-view img { object-position: center; }
  .atlas-rail { grid-template-columns: 1fr; }
  .atlas-rail button { border-right: 0; border-bottom: 1px solid var(--paper-200); }
  .cinema-copy h2 { font-size: clamp(2.7rem, 14vw, 5rem); }
  .cinema-film--portrait { object-position: center; }
  .cinema-flow-label { display: none; }
  .cinema-topline span:last-child { display: none; }
  .cinema-disclaimer { right: var(--gutter); bottom: 5rem; }
  .cinema-toggle { bottom: 2.8rem; }
  .nav-links {
    display: none;
  }
  #nav-menu.open .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: .75rem var(--gutter) 1.25rem;
    background: rgba(251,251,249,.98);
    border-bottom: 1px solid var(--paper-200);
    box-shadow: 0 20px 35px -28px rgba(10,10,10,.35);
  }
  #nav-menu.open .nav-link,
  #nav-menu.open .nav-cta { width: 100%; min-height: 48px; }
  #nav-menu.open .nav-link { display: flex; align-items: center; padding: .75rem 0; border-bottom: 1px solid var(--paper-200); }
  #nav-menu.open .nav-link::after { display: none; }
  #nav-menu.open .nav-cta { justify-content: center; margin-top: .75rem; }
  .hamburger {
    display: block;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .stats-inner, .timeline, .team-grid, .pillar-grid {
    grid-template-columns: 1fr;
  }
  .status-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .status-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .wave-parallax > use {
    animation: none !important;
  }
  .cinema-film,
  .cinema-copy {
    transition: none;
  }
  .cinema-film { transform: none; }
  .cinema-toggle { display: none; }
}

/* ══════════════════════════════════════════════════════════
   3D RESEARCH & EXPLORATION SHOWCASE
   ══════════════════════════════════════════════════════════ */
.sec-showcase {
  background: radial-gradient(circle at 50% 0%, rgba(0, 168, 176, 0.08) 0%, rgba(10, 10, 10, 0) 70%);
  border-top: 1px solid var(--border, rgba(255,255,255,0.08));
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.08));
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.showcase-banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card, #111417);
  border: 1px solid var(--border, rgba(255,255,255,0.1));
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.showcase-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  background: #06121c;
}
.showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.showcase-banner:hover .showcase-img {
  transform: scale(1.02);
}
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 168, 176, 0.15);
  border: 1px solid rgba(0, 168, 176, 0.35);
  color: #00d2dc;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}
.showcase-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 750;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 0.85rem;
}
.showcase-desc {
  font-size: 0.95rem;
  color: var(--ink-muted, #94a3b8);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.showcase-mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.85rem 1rem;
}
.showcase-mini-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}
.showcase-mini-card p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}
.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-showcase {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #00a8b0;
  color: #050b10;
  padding: 0.75rem 1.4rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-showcase:hover {
  background: #00c9d4;
  transform: translateY(-1px);
}
.btn-showcase-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.75rem 1.3rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-showcase-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
@media (max-width: 860px) {
  .showcase-banner {
    grid-template-columns: 1fr;
    padding: 1.75rem;
  }
}
