/* ==========================================================================
   Piconewton Option 2 — Visual-First Cinematic Design System
   Museum-grade negative space, dark obsidian-navy atmosphere, live motion
   ========================================================================== */

:root {
  --bg-void: #050a14;
  --bg-navy: #0d2641;
  --bg-card: rgba(11, 24, 44, 0.62);
  --border-hairline: rgba(127, 224, 238, 0.14);
  --border-glow: rgba(127, 224, 238, 0.34);

  --accent-coral: #ff6c59;
  --accent-cyan: #2ab2c6;
  --accent-ice: #7fe0ee;

  --text-primary: #f5f9fd;
  --text-secondary: #9ab0c7;
  --text-muted: #657f9a;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --container-max: 1140px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--bg-void);
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-primary);
  background:
    radial-gradient(1200px 640px at 78% -4%, rgba(42, 178, 198, 0.12), transparent 60%),
    radial-gradient(960px 540px at 14% 35%, rgba(13, 38, 65, 0.6), transparent 65%),
    var(--bg-void);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-ice);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--accent-coral);
  color: #050a14;
  font-weight: 700;
  border-radius: 8px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.act {
  position: relative;
  padding: 108px 0;
}

.act-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ice);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-coral);
  box-shadow: 0 0 12px var(--accent-coral);
}

h1,
h2,
h3,
p {
  margin: 0;
}

.act-title {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.act-lead {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform 200ms var(--ease), background-color 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-coral);
  color: #060d18;
  box-shadow: 0 12px 32px rgba(255, 108, 89, 0.28);
}

.btn-primary:hover {
  background: #ff7f6e;
}

.btn-glass {
  background: rgba(13, 38, 65, 0.65);
  color: var(--text-primary);
  border-color: var(--border-glow);
  backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(18, 49, 82, 0.85);
  border-color: var(--accent-ice);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.86rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(5, 10, 20, 0.68);
  border-bottom: 1px solid rgba(127, 224, 238, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 10, 20, 0.92);
  border-bottom-color: var(--border-hairline);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-wordmark {
  height: 35px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(13, 38, 65, 0.85);
  border: 1px solid var(--border-hairline);
}

.lang-btn {
  border: 0;
  background: transparent;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: background-color 180ms ease, color 180ms ease;
}

.lang-btn.is-active {
  background: var(--accent-cyan);
  color: #050a14;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(13, 38, 65, 0.72);
  border: 1px solid var(--border-hairline);
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 95;
  background: rgba(5, 10, 20, 0.97);
  border-bottom: 1px solid var(--border-hairline);
  backdrop-filter: blur(20px);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 14px;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer a {
  padding: 10px 4px;
  font-size: 1.05rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(127, 224, 238, 0.08);
}

/* ---------- Act 1: Full-Screen Hero + 4-Step Pipeline ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(127, 224, 238, 0.08);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(62% 70% at 50% 44%, rgba(5, 10, 20, 0.44) 0%, rgba(5, 10, 20, 0.85) 100%),
    linear-gradient(180deg, rgba(5, 10, 20, 0.18) 0%, rgba(5, 10, 20, 0.94) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 0 54px;
}

.hero-title {
  font-size: clamp(2.35rem, 5.2vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: clamp(1.25rem, 2.5vw, 1.95rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(95deg, var(--accent-ice) 0%, #ffffff 50%, var(--accent-coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
}

.hero-cta-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

/* Option 1 4-Step Interactive Pipeline Strip */
.signal-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(10, 26, 47, 0.74);
  border: 1px solid var(--border-hairline);
  backdrop-filter: blur(14px);
  text-align: left;
}

.flow-node {
  position: relative;
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(6, 14, 26, 0.62);
  border: 1px solid rgba(127, 224, 238, 0.1);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), background-color 200ms var(--ease);
}

.flow-node:hover {
  transform: translateY(-2px);
  border-color: var(--border-glow);
  background: rgba(13, 38, 65, 0.65);
}

.flow-node::after {
  content: '→';
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--accent-cyan);
  z-index: 2;
  pointer-events: none;
}

.flow-node:last-child::after {
  display: none;
}

.flow-node:last-child {
  border-color: rgba(255, 108, 89, 0.36);
  background: rgba(255, 108, 89, 0.08);
}

.flow-node:last-child:hover {
  border-color: rgba(255, 108, 89, 0.65);
}

.flow-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.flow-node:last-child .flow-index {
  color: var(--accent-coral);
}

.flow-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.flow-sub {
  font-size: 0.79rem;
  color: var(--text-secondary);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 2;
  width: 24px;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(127, 224, 238, 0.35);
  display: flex;
  justify-content: center;
  padding-top: 7px;
  opacity: 0.7;
}

.scroll-cue span {
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: var(--accent-ice);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

@media (max-width: 820px), (max-height: 860px) {
  .scroll-cue {
    display: none;
  }
}

@keyframes scrollPulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue span {
    animation: none;
  }
}

/* ---------- Act 2: Sequence Grammar & Mechano-GRN ---------- */
.genome-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.genome-pill {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: rgba(13, 38, 65, 0.45);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 200ms var(--ease);
}

.genome-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
}

.genome-pill.is-active[data-genome-mode="stiff"] {
  background: var(--accent-coral);
  color: #060d18;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(255, 108, 89, 0.25);
}

.genome-pill.is-active[data-genome-mode="soft"] {
  background: var(--bg-navy);
  color: var(--text-primary);
  border-color: var(--accent-ice);
  box-shadow: 0 8px 24px rgba(42, 178, 198, 0.22);
}

.genome-pill.is-active[data-genome-mode="edit"] {
  background: var(--accent-cyan);
  color: #050a14;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(42, 178, 198, 0.28);
}

.genome-card {
  max-width: 940px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #060c18;
  border: 1px solid var(--border-glow);
  box-shadow: 0 32px 80px rgba(2, 7, 16, 0.72);
}

.genome-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(8, 18, 34, 0.88);
  border-bottom: 1px solid rgba(127, 224, 238, 0.1);
}

.genome-topbar .media-pill {
  position: static;
}

.genome-brand-tag {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.genome-stage {
  position: relative;
  height: 430px;
  background: #060b14;
}

#genome-canvas {
  width: 100%;
  height: 100%;
}

.genome-caption {
  padding: 16px 24px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  text-align: center;
  background: rgba(5, 10, 20, 0.88);
  border-top: 1px solid rgba(127, 224, 238, 0.1);
}

/* ---------- Act 3: Draggable Cell Curtain ---------- */
.layer-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.layer-pill {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: rgba(13, 38, 65, 0.45);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 200ms var(--ease);
}

.layer-pill:hover {
  color: var(--text-primary);
  border-color: var(--border-glow);
}

.layer-pill.is-active {
  background: var(--bg-navy);
  color: var(--text-primary);
  border-color: var(--accent-ice);
  box-shadow: 0 8px 26px rgba(42, 178, 198, 0.22);
}

.curtain-stage {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  background: #05060a;
  box-shadow: 0 32px 80px rgba(2, 7, 16, 0.72);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  --split: 50%;
}

.curtain-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.curtain-overlay {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  pointer-events: none;
}

.curtain-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(127, 224, 238, 0.25) 0%, #ffffff 50%, rgba(255, 108, 89, 0.35) 100%);
  z-index: 6;
  pointer-events: none;
}

.curtain-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(6, 14, 26, 0.88);
  border: 2px solid var(--accent-ice);
  box-shadow: 0 0 24px rgba(42, 178, 198, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  pointer-events: auto;
  cursor: ew-resize;
}

.curtain-label-left,
.curtain-label-right {
  position: absolute;
  bottom: 18px;
  z-index: 5;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.curtain-label-left {
  left: 18px;
  background: rgba(5, 10, 20, 0.78);
  border: 1px solid rgba(127, 224, 238, 0.42);
  color: var(--accent-ice);
}

.curtain-label-right {
  right: 18px;
  background: rgba(5, 10, 20, 0.78);
  border: 1px solid rgba(255, 108, 89, 0.45);
  color: #ffc2b9;
}

.curtain-hint {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Act 4: Synced 2D Tissue Cinema ---------- */
.cinema-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.cinema-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d1b2a;
  border: 1px solid var(--border-hairline);
  box-shadow: 0 28px 65px rgba(2, 7, 16, 0.62);
}

.cinema-card.is-reversal {
  border-color: rgba(127, 224, 238, 0.32);
}

.cinema-media-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #0d1b2a;
  overflow: hidden;
}

.cinema-media-wrap video,
.cinema-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(5, 10, 20, 0.78);
  border: 1px solid rgba(255, 108, 89, 0.42);
  color: #ffc2b9;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.media-pill.is-cyan {
  border-color: rgba(127, 224, 238, 0.45);
  color: var(--accent-ice);
}

.cinema-cap {
  padding: 16px 20px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  text-align: center;
  background: rgba(5, 10, 20, 0.72);
  border-top: 1px solid rgba(127, 224, 238, 0.08);
}

.cinema-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 520px;
  margin: 24px auto 0;
}

.ctrl-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: rgba(13, 38, 65, 0.55);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.ctrl-btn:hover {
  border-color: var(--accent-ice);
  background: rgba(17, 46, 77, 0.85);
}

.cinema-progress-track {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(127, 224, 238, 0.14);
  overflow: hidden;
}

.cinema-progress-fill {
  height: 100%;
  width: 0%;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-coral) 0%, var(--accent-ice) 100%);
}

/* ---------- Act 5: Turn Off the Lock (Interactive + Collapse Loop) ---------- */
.lock-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 1020px;
  margin: 0 auto;
}

.lock-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(8, 17, 32, 0.78);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 28px 65px rgba(2, 7, 16, 0.6);
  display: flex;
  flex-direction: column;
}

.lock-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #060b14;
  overflow: hidden;
}

#playground-canvas {
  width: 100%;
  height: 100%;
}

.lock-stage video,
.lock-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lock-controls {
  padding: 18px 22px;
  background: rgba(5, 10, 20, 0.85);
  border-top: 1px solid rgba(127, 224, 238, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.play-slider-wrap {
  flex: 1 1 200px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.play-edge-lbl {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.play-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-coral) 100%);
  cursor: pointer;
}

.play-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--bg-navy);
  box-shadow: 0 0 14px rgba(127, 224, 238, 0.65);
}

.play-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--bg-navy);
  box-shadow: 0 0 14px rgba(127, 224, 238, 0.65);
}

.mode-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(13, 38, 65, 0.72);
  border: 1px solid var(--border-hairline);
  gap: 3px;
}

.mode-btn {
  border: 0;
  background: transparent;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 180ms ease;
}

.mode-btn.is-active {
  background: #163e68;
  color: #ffffff;
}

.mode-btn[data-play-mode="reverse"].is-active {
  background: var(--accent-coral);
  color: #060d18;
}

.lock-caption {
  padding: 22px 24px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  text-align: center;
  background: rgba(5, 10, 20, 0.85);
  border-top: 1px solid rgba(127, 224, 238, 0.1);
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Act 6: Closing CTA & Minimal Footer ---------- */
.closing-act {
  padding: 72px 0 112px;
}

.cta-banner {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 36px;
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(620px 320px at 50% 0%, rgba(42, 178, 198, 0.16), transparent 70%),
    linear-gradient(160deg, rgba(13, 38, 65, 0.86) 0%, rgba(5, 10, 20, 0.95) 100%);
  border: 1px solid var(--border-glow);
  box-shadow: 0 32px 80px rgba(2, 7, 16, 0.7);
}

.cta-banner h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--text-secondary);
  font-size: 1.06rem;
  margin-bottom: 28px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.site-footer {
  border-top: 1px solid rgba(127, 224, 238, 0.1);
  padding: 36px 0;
  background: rgba(3, 7, 14, 0.9);
}

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

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-meta a:hover {
  color: var(--accent-ice);
}

.mono {
  font-family: var(--font-mono);
}

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 250;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-navy);
  border: 1px solid var(--accent-ice);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .act {
    padding: 76px 0;
  }
  .nav-links,
  .header-cta-desktop {
    display: none;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
  .brand-wordmark {
    height: 30px;
  }
  .signal-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-node::after {
    display: none;
  }
  .cinema-grid,
  .lock-grid {
    grid-template-columns: 1fr;
  }
  .genome-stage {
    height: 410px;
  }
  .cta-banner {
    padding: 36px 22px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .signal-flow {
    grid-template-columns: 1fr;
  }
  .lock-controls {
    padding: 14px 16px;
  }
}
