/* ─────────────────────────────────────────────────────────────
   StatNavigator — showcase stylesheet
   No build step, no external requests.
   ───────────────────────────────────────────────────────────── */

:root {
  --shell: 1180px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --accent: #2dd4bf;
  --accent-hover: #3ee0ca;
  --accent-ink: #2dd4bf;
  --on-accent: #04201c;
  --accent-strong: #14b8a6;
  --accent-soft: rgba(45, 212, 191, 0.12);
  --amber: #f0b357;
  --font-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

html[data-theme="dark"] {
  --bg: #080d11;
  --bg-soft: #0b1117;
  --panel: rgba(20, 28, 36, 0.72);
  --panel-solid: #111920;
  --line: rgba(148, 180, 190, 0.14);
  --line-strong: rgba(148, 180, 190, 0.26);
  --text: #e7eef2;
  --text-soft: #b6c5cd;
  --muted: #8399a6;
  --shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.9);
  --glow-a: rgba(45, 212, 191, 0.16);
  --glow-b: rgba(56, 128, 255, 0.1);
  --shot-bg: #0d141a;
  color-scheme: dark;
}

html[data-theme="light"] {
  --accent: #0f8f83;
  --accent-hover: #0b7a70;
  --accent-ink: #0b7469;
  --on-accent: #ffffff;
  --accent-soft: rgba(13, 138, 126, 0.1);
  --bg: #f6f8f8;
  --bg-soft: #ffffff;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #ffffff;
  --line: rgba(14, 42, 50, 0.1);
  --line-strong: rgba(14, 42, 50, 0.2);
  --text: #0d1c22;
  --text-soft: #33474f;
  --muted: #5b7178;
  --shadow: 0 30px 60px -34px rgba(9, 42, 48, 0.28);
  --glow-a: rgba(20, 184, 166, 0.18);
  --glow-b: rgba(56, 128, 255, 0.1);
  --shot-bg: #eef2f2;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

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

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

h1, h2, h3 {
  margin: 0;
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

p { margin: 0; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: #04201c;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Ambient background ───────────────────────────────────────── */
.page-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 46vw at 78% -8%, var(--glow-a), transparent 62%),
    radial-gradient(50vw 40vw at 6% 12%, var(--glow-b), transparent 60%);
}

html[data-theme="dark"] .page-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(to right, rgba(148, 180, 190, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 180, 190, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
}

/* Header ───────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px) saturate(140%);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 15.5px; letter-spacing: -0.01em; }
.brand-text small { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

.site-nav {
  display: flex;
  gap: 4px;
  font-size: 14px;
  color: var(--text-soft);
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 9px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.site-nav a:hover { color: var(--text); background: var(--accent-soft); }

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

.icon-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-btn:hover { color: var(--accent-ink); border-color: var(--line-strong); }
.icon-btn .icon-moon { display: none; }
html[data-theme="light"] .icon-btn .icon-sun { display: none; }
html[data-theme="light"] .icon-btn .icon-moon { display: block; }

/* Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 560;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background-color 0.2s var(--ease),
              border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: 12px; }

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 14px 34px -16px color-mix(in srgb, var(--accent) 70%, transparent);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }

.btn-ghost { color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); background: var(--accent-soft); }

.btn-outline {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-1px); }

/* Hero ─────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 72px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 18px;
}

.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.55rem); }

.hero h1 em {
  font-style: normal;
  color: var(--accent-ink);
  position: relative;
}

.lede {
  margin-top: 22px;
  max-width: 52ch;
  font-size: 17px;
  color: var(--text-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.cta-row.center { justify-content: center; }

.hero-meta {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.hero-visual { position: relative; margin: 0; }

.browser {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--panel-solid);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
}
.browser-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}

.browser-url {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 99px;
}

.float-card {
  position: absolute;
  left: -26px;
  bottom: -28px;
  display: flex;
  gap: 11px;
  max-width: 330px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  background: color-mix(in srgb, var(--panel-solid) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}
.float-card strong {
  display: block;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.float-card p { margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--text-soft); }

.dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* Stats strip ──────────────────────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 55%, transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 24px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }

.stat-value {
  font-size: 30px;
  font-weight: 620;
  letter-spacing: -0.03em;
  color: var(--accent-ink);
  line-height: 1;
}

.stat-label { font-size: 13px; color: var(--muted); max-width: 24ch; }

/* Sections ─────────────────────────────────────────────────── */
.section { padding-top: 96px; }

.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.section h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.body { margin-top: 16px; color: var(--text-soft); font-size: 16px; }
.body.narrow { max-width: 58ch; }

.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 { margin-top: 0; }
.section-head .body { margin-top: 14px; }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Pipeline ─────────────────────────────────────────────────── */
.pipeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step {
  position: relative;
  padding: 28px 22px 32px;
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background-color 0.25s var(--ease);
}
.step:hover { background: color-mix(in srgb, var(--accent) 6%, var(--bg-soft)); }

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent-ink);
}

.step h3 { font-size: 16.5px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

.step::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--accent), transparent);
  opacity: 0.25;
}

/* Feature cards ────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 26px 24px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 11px;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
}
.card-icon svg { width: 20px; height: 20px; }

.card h3 { font-size: 16.5px; }
.card p { margin-top: 9px; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Gallery ──────────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.shot {
  grid-column: span 3;
  position: relative;
  display: block;
  padding: 0;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--shot-bg);
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.shot:hover,
.shot:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 46%, transparent);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  outline: none;
}
.shot:focus-visible { box-shadow: 0 0 0 3px var(--accent-soft), var(--shadow); }

.shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}
.shot:hover img { transform: scale(1.015); }

.shot .demo-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.shot-wide { grid-column: span 6; }
.shot-wide img { aspect-ratio: 16 / 8.4; }
.shot-wide .demo-frame { aspect-ratio: 16 / 8.4; }

.shot-phone img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 14px;
}
.shot-phone .demo-frame {
  aspect-ratio: 9 / 16;
  max-height: 320px;
  margin: 0 auto;
}

.shot-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-solid) 88%, transparent);
}
.shot-caption strong { font-size: 14px; font-weight: 580; }
.shot-caption span { font-size: 12.5px; color: var(--muted); }

/* Architecture ─────────────────────────────────────────────── */
.arch {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.arch-row {
  display: flex;
  align-items: stretch;
  gap: 14px;
}

.arch-col { display: flex; flex-direction: column; gap: 12px; flex: 1 1 0; }

.arch-node {
  flex: 1 1 0;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 70%, transparent);
}

.arch-front { border-color: color-mix(in srgb, var(--accent) 32%, transparent); }
.arch-engine {
  background: color-mix(in srgb, var(--accent) 7%, var(--bg-soft));
  border-color: color-mix(in srgb, var(--accent) 24%, transparent);
}

.arch-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}

.arch-node strong { font-size: 15px; }
.arch-node p { margin-top: 5px; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

.arch-arrow {
  display: grid;
  place-items: center;
  color: var(--accent-ink);
  font-size: 20px;
  padding: 0 2px;
  opacity: 0.7;
}

.arch-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}

.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-soft);
  padding: 6px 11px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 60%, transparent);
}

.verify-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.verify {
  padding: 22px 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--panel);
}
.verify h3 { font-size: 15px; }
.verify p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* Closing ──────────────────────────────────────────────────── */
.closing { padding-bottom: 96px; }

.closing-card {
  position: relative;
  padding: 64px 40px;
  text-align: center;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  background:
    radial-gradient(80% 140% at 50% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    var(--panel);
  overflow: hidden;
}

.closing-card h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.closing-card p {
  margin: 16px auto 0;
  max-width: 54ch;
  color: var(--text-soft);
}

/* Footer ───────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg-soft) 60%, transparent);
  padding: 44px 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand { font-weight: 620; letter-spacing: -0.01em; }
.footer-note { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.7; }

.footer-links { display: flex; gap: 22px; font-size: 13.5px; color: var(--text-soft); }
.footer-links a:hover { color: var(--accent-ink); }

.footer-fine {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* Lightbox ─────────────────────────────────────────────────── */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1180px, 94vw);
  width: 100%;
}
.lightbox::backdrop {
  background: rgba(3, 8, 11, 0.82);
  backdrop-filter: blur(6px);
}

.lightbox-inner {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: var(--panel-solid);
  overflow: hidden;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9);
}

.lightbox img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: var(--shot-bg);
}

.lightbox-meta { padding: 16px 22px 20px; border-top: 1px solid var(--line); }
.lightbox-meta h3 { font-size: 16px; }
.lightbox-meta p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(8, 13, 17, 0.7);
  color: #e7eef2;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.lightbox-close:hover { background: rgba(8, 13, 17, 0.92); }

/* Reveal animation ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Demo frames ─────────────────────────────────────────────── */
.demo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--shot-bg);
  border-radius: 0;
}

.demo-frame.is-playing * {
  animation-play-state: running !important;
}

.demo-frame:not(.is-playing) * {
  animation-play-state: paused !important;
}

.demo-replay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--panel-solid) 88%, transparent);
  color: var(--text-soft);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.25s var(--ease), background-color 0.2s var(--ease);
  backdrop-filter: blur(6px);
}

.shot:hover .demo-replay,
.demo-frame:hover .demo-replay {
  opacity: 1;
}

.demo-replay:hover {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.demo-replay svg {
  width: 14px;
  height: 14px;
}

/* Lightbox demo mode */
.lightbox .demo-frame {
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lightbox .demo-frame * {
  animation-play-state: running !important;
}

/* Hero demo inside browser frame */
.hero .demo-frame {
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

/* Responsive ───────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 64px; }
  .float-card { left: 0; bottom: -34px; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verify-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .arch-row { flex-direction: column; }
  .arch-arrow { transform: rotate(90deg); padding: 4px 0; }
}

@media (max-width: 760px) {
  .shell { padding: 0 20px; }
  .site-nav { display: none; }
  .header-inner { height: 62px; gap: 12px; }
  .brand-text small { display: none; }
  .btn-ghost { display: none; }

  .hero { padding-top: 48px; padding-bottom: 64px; }
  .lede { font-size: 16px; }
  .float-card { position: static; margin-top: 14px; max-width: none; }

  .split { grid-template-columns: 1fr; gap: 40px; padding: 40px 0; }

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

  .gallery { grid-template-columns: 1fr; }
  .shot, .shot-wide { grid-column: span 1; }
  .shot img, .shot-wide img { aspect-ratio: 16 / 10; }

  .closing-card { padding: 44px 22px; }
  .footer-inner { flex-direction: column; gap: 22px; }
  .footer-links { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot:hover img, .card:hover, .shot:hover, .btn:hover { transform: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
