/* Codeko landing · tokens */
:root {
  --red: #ea2a33;
  --red-deep: #c11d26;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --bg: #fbf9f5;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --subtle: #9a968e;
  --border: #e6dfd2;
  --glass: rgba(251, 249, 245, 0.78);
  --chip: rgba(26, 26, 26, 0.05);
  --grad-a: #000000;
  --grad-b: #666666;
  --tagline-off: rgba(26, 26, 26, 0.3);
  color-scheme: light;
}

:root[data-mode="tech"] {
  --bg: #131209;
  --ink: #f4f2ee;
  --muted: #a8a39d;
  --subtle: #77726c;
  --border: #313131;
  --glass: rgba(24, 24, 24, 0.74);
  --chip: rgba(244, 242, 238, 0.06);
  --grad-a: #ffffff;
  --grad-b: #9b9b9b;
  --tagline-off: rgba(244, 242, 238, 0.3);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  transition: background-color 700ms var(--ease), color 700ms var(--ease);
}

h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; font-weight: 600; letter-spacing: -0.03em; }
p { text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }

.skip {
  position: fixed; left: 16px; top: 16px; z-index: 100;
  padding: 8px 12px; border-radius: 8px;
  background: var(--red); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-160%);
  transition: transform 700ms var(--ease);
}
.skip:focus { transform: none; }

/* ── 3D world ─────────────────────────────── */
#world {
  position: fixed; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 0;
  opacity: 1; transition: opacity 1200ms var(--ease);
}
.is-loading #world { opacity: 0; }
.no-webgl #world { display: none; }

/* ── Buttons ──────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 8px; border: 1px solid var(--red);
  background: var(--red); color: #fff;
  font-size: 1rem; line-height: 1.5rem; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 16px rgba(234, 42, 51, 0.3);
  transition: transform 700ms var(--ease), background-color 700ms var(--ease), box-shadow 700ms var(--ease);
}
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(234, 42, 51, 0.35); }
.btn:active { transform: scale(0.98); }
.btn .ph { transition: transform 700ms var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(4px); }
.btn-sm { font-size: 0.875rem; line-height: 1.25rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); box-shadow: none; }
.btn-ghost:hover { background: var(--chip); border-color: var(--border); box-shadow: none; }

/* ── Fluid island nav ─────────────────────── */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  margin: 24px auto 0; width: max-content; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 24px; border-radius: 9999px;
  background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4);
  transition: background-color 700ms var(--ease), border-color 700ms var(--ease);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 2px;
  font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; letter-spacing: -0.04em; text-decoration: none;
}
.brand-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: block; padding: 4px 12px; border-radius: 9999px;
  font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--muted); text-decoration: none;
  transition: color 700ms var(--ease), background-color 700ms var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--chip); }
.nav-links a[aria-current="true"] { color: var(--ink); background: var(--chip); }

.burger { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 9999px; background: var(--chip); cursor: pointer; }
.burger span {
  position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform 700ms var(--ease), top 700ms var(--ease);
}
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 22px; }
.menu-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  display: flex; align-items: center; padding: 96px 24px;
  background: rgba(251, 249, 245, 0.8);
  backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px);
  opacity: 0; visibility: hidden;
  transition: opacity 700ms var(--ease), visibility 0s linear 700ms;
}
[data-mode="tech"] .menu { background: rgba(0, 0, 0, 0.8); }
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease), visibility 0s; }
.menu ul { display: grid; gap: 16px; }
.menu li { overflow: hidden; }
.menu a {
  display: block; font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.03em; text-decoration: none;
  transform: translateY(48px); opacity: 0;
  transition: transform 700ms var(--ease), opacity 700ms var(--ease);
}
.menu-open .menu a { transform: none; opacity: 1; }
.menu-open .menu li:nth-child(1) a { transition-delay: 100ms; }
.menu-open .menu li:nth-child(2) a { transition-delay: 150ms; }
.menu-open .menu li:nth-child(3) a { transition-delay: 200ms; }
.menu-open .menu li:nth-child(4) a { transition-delay: 250ms; color: var(--red); }

/* ── Route rail ───────────────────────────── */
.rail {
  position: fixed; z-index: 30; right: 32px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
  color: var(--subtle);
  pointer-events: none;
}
.rail-icon { font-size: 1.25rem; padding-right: 2px; }
.rail ol { display: grid; gap: 4px; }
.rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  padding: 4px 0; text-decoration: none;
  font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.08em; text-transform: uppercase;
  position: relative; pointer-events: auto;
}
.rail-label { position: absolute; right: 24px; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateX(8px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.rail a:hover .rail-label, .rail a:focus-visible .rail-label, .rail a[aria-current="true"] .rail-label { opacity: 1; transform: none; }
.rail a[aria-current="true"] { color: var(--ink); }
.rail-dot {
  width: 8px; height: 8px; border-radius: 9999px; border: 1px solid currentColor;
  margin-right: 4px;
  transition: background-color 700ms var(--ease), transform 700ms var(--ease), border-color 700ms var(--ease);
}
.rail a[aria-current="true"] .rail-dot { background: var(--red); border-color: var(--red); transform: scale(1.4); box-shadow: 0 0 12px var(--red); }

/* ── Scroll stops ─────────────────────────── */
main { position: relative; z-index: 10; }
.stop { position: relative; height: 150vh; height: 150svh; }
.panel {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  padding: 96px 96px 64px;
  max-width: 1440px; margin: 0 auto;
}

/* Reveal: heavy fade up, driven from main.js */
.reveal, .card {
  opacity: 0; transform: translateY(64px); filter: blur(12px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}
.is-active .reveal, .is-active .card { opacity: 1; transform: none; filter: blur(0); }

/* ── Hero ─────────────────────────────────── */
.hero { max-width: 680px; min-width: 0; width: 100%; }
.hero > * { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity 1000ms var(--ease), transform 1000ms var(--ease), filter 1000ms var(--ease); }
.is-active .hero > * { opacity: 1; transform: none; filter: blur(0); }
.is-active .hero > :nth-child(2) { transition-delay: 100ms; }
.is-active .hero > :nth-child(3) { transition-delay: 200ms; }
.is-active .hero > :nth-child(4) { transition-delay: 300ms; }
.is-active .hero > :nth-child(5) { transition-delay: 400ms; }

.kicker, .eyebrow {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.kicker { margin-bottom: 24px; }
.kicker-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.hero-title { font-size: 3rem; line-height: 1; letter-spacing: -0.04em; max-width: 680px; }
.hero-title > span { display: block; text-wrap: balance; }
.grad {
  background: linear-gradient(90deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.accent { color: var(--red); }
.hero-sub { margin-top: 24px; max-width: 560px; font-size: 1.125rem; line-height: 1.75rem; color: var(--muted); }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; }
/* Client strip */
.clients { margin-top: 48px; max-width: 560px; min-width: 0; }
.clients-label { font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--subtle); }
.marquee {
  margin-top: 12px; display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; align-items: baseline; flex-shrink: 0; gap: 32px; padding-right: 32px; animation: marquee 32s linear infinite; }
.marquee-track li { white-space: nowrap; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; letter-spacing: -0.02em; color: var(--muted); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

.scroll-cue {
  margin-top: 40px; display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle);
}
.scroll-cue .ph { animation: cue 1800ms var(--ease) infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ── Service cards ────────────────────────── */
.card {
  max-width: 480px; padding: 32px; border-radius: 24px;
  background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 24px 64px rgba(40, 30, 20, 0.08);
}
[data-mode="tech"] .card { box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 48px rgba(234, 42, 51, 0.08); }
.card .eyebrow { color: var(--red); }
.card h2 { margin-top: 16px; font-size: 1.875rem; line-height: 2.25rem; }
.card > p:not(.eyebrow) { margin-top: 16px; font-size: 1.125rem; line-height: 1.75rem; color: var(--muted); }
.tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; overflow: hidden; }
.tags li {
  padding: 4px 12px; border-radius: 9999px; border: 1px solid var(--border); background: var(--chip);
  font-family: var(--mono); font-size: 0.75rem; line-height: 1rem; color: var(--muted);
}
.tags li { white-space: nowrap; transition: color 700ms var(--ease), border-color 700ms var(--ease); }
.tags li.tag-glitch { color: var(--red); border-color: var(--red); animation: tagshear 520ms steps(5) forwards; }
@keyframes tagshear {
  0% { transform: none; text-shadow: none; }
  20% { transform: skewX(-8deg); text-shadow: 2px 0 rgba(234, 42, 51, 0.8), -2px 0 rgba(58, 214, 255, 0.6); }
  40% { transform: skewX(6deg) translateX(2px); text-shadow: -2px 0 rgba(234, 42, 51, 0.8), 2px 0 rgba(58, 214, 255, 0.6); }
  60% { transform: skewX(-4deg); text-shadow: 1px 0 rgba(234, 42, 51, 0.7), -1px 0 rgba(58, 214, 255, 0.5); }
  100% { transform: none; text-shadow: none; }
}
.reg { position: relative; top: -0.6em; margin-left: 2px; font-size: 0.6em; line-height: 0; font-weight: 500; vertical-align: baseline; }

/* ── Tagline reveal ───────────────────────── */
.stop-tagline .panel { justify-content: center; }
.tagline { max-width: 880px; }
.tagline .eyebrow { color: var(--red); margin-bottom: 24px; }
.tagline-text { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.tagline-text .w { color: var(--tagline-off); transition: color 700ms var(--ease), text-shadow 700ms var(--ease); }
.tagline-text .w.lit { color: var(--ink); }
.tagline-foot { margin-top: 32px; font-family: var(--mono); font-size: 0.875rem; line-height: 1.25rem; letter-spacing: 0.08em; color: var(--muted); opacity: 0; transition: opacity 900ms var(--ease); }
.tagline-foot.lit { opacity: 1; }
.tagline .eyebrow { opacity: 0; transition: opacity 900ms var(--ease); }
.is-active .tagline .eyebrow { opacity: 1; }

/* ── Contact ──────────────────────────────── */
.stop-contact .panel { flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; }
.contact { max-width: 560px; }
.contact h2 { font-size: 2.25rem; line-height: 2.5rem; }
.contact-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact-meta { margin-top: 24px; display: grid; gap: 8px; color: var(--muted); font-size: 0.875rem; line-height: 1.25rem; }
.contact-meta li { display: flex; align-items: center; gap: 8px; }
.contact-meta a { text-decoration: none; }
.contact-meta a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

.footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
  padding: 8px 8px 8px 16px; border-radius: 24px;
  background: var(--glass); border: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 0.75rem; line-height: 1rem; color: var(--muted);
  opacity: 0; transition: opacity 900ms var(--ease);
}
.is-active .footer { opacity: 1; }
.footer-links, .social { display: flex; gap: 16px; }
.footer a { text-decoration: none; transition: color 700ms var(--ease); }
.footer-links button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; transition: color 700ms var(--ease); }
.footer a:hover, .footer-links button:hover { color: var(--ink); }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px; border: 1px solid var(--border); font-size: 1rem; transition: color 700ms var(--ease), border-color 700ms var(--ease), transform 700ms var(--ease); }
.social a:hover { color: var(--red); border-color: var(--red); transform: translateY(-2px); }

/* ── Legal dialog ─────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.legal {
  width: min(680px, calc(100% - 32px)); max-height: min(720px, calc(100% - 64px));
  padding: 0; border: 1px solid var(--border); border-radius: 24px;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  opacity: 0; transform: translateY(32px) scale(0.98);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), overlay 700ms allow-discrete, display 700ms allow-discrete;
}
.legal[open] { display: flex; flex-direction: column; opacity: 1; transform: none; }
@starting-style { .legal[open] { opacity: 0; transform: translateY(32px) scale(0.98); } }
.legal::backdrop { background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.legal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--border); }
.legal-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--chip); }
.legal-tabs button {
  padding: 4px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted);
  font: inherit; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; cursor: pointer;
  transition: background-color 700ms var(--ease), color 700ms var(--ease);
}
.legal-tabs button[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); }
.legal-close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 9999px; background: transparent; color: var(--ink); font-size: 1.125rem; cursor: pointer; transition: transform 700ms var(--ease), border-color 700ms var(--ease); }
.legal-close:hover { border-color: var(--red); transform: rotate(90deg); }
.legal-close:active { transform: scale(0.98); }
.legal-body { overflow-y: auto; padding: 8px 24px 32px; font-size: 0.875rem; line-height: 1.25rem; color: var(--muted); }
.legal-body h3 { margin: 24px 0 8px; font-size: 1rem; line-height: 1.5rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.legal-body p + p { margin-top: 8px; }
.legal-body ul { display: grid; gap: 8px; padding-left: 16px; list-style: disc; }
.legal-body dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0 0; }
.legal-body dt { font-family: var(--mono); font-size: 0.75rem; line-height: 1.25rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--subtle); }
.legal-body dd { margin: 0; color: var(--ink); }
.legal-body a { color: var(--red); }

/* ── Easter eggs ──────────────────────────── */
.toast {
  position: fixed; z-index: 70; left: 24px; bottom: calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px;
  max-width: min(480px, calc(100% - 32px)); padding: 12px 16px; border-radius: 12px;
  background: #131209; border: 1px solid #313131; color: #33ff66;
  font-family: var(--mono); font-size: 0.875rem; line-height: 1.25rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 24px rgba(51, 255, 102, 0.12);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.toast-prompt { color: #77726c; }
.toast-count { width: 100%; font-size: 0.75rem; line-height: 1rem; color: #77726c; letter-spacing: 0.08em; text-transform: uppercase; }
.heart { position: relative; display: inline-block; cursor: default; }
.heart-b { position: absolute; left: 0; top: 0; opacity: 0; font-family: var(--mono); }
.heart:hover .heart-a { opacity: 0; }
.heart:hover .heart-b { opacity: 1; color: var(--red); }
/* Konami: green phosphor terminal */
.crt { --red: #33ff66; --red-deep: #22cc4f; }
.crt #world { filter: sepia(1) hue-rotate(70deg) saturate(2.2) contrast(1.15) brightness(0.78); }
.crt body::after {
  content: ''; position: fixed; inset: 0; z-index: 65; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.16) 0, rgba(0, 0, 0, 0.16) 1px, transparent 1px, transparent 3px);
}
.crt .btn { color: #131209; }

/* ── Glitch (mode crossing) ───────────────── */
.glitch { position: fixed; inset: 0; z-index: 20; pointer-events: none; overflow: hidden; display: none; }
.is-glitching .glitch { display: block; }
.glitch-scan {
  position: absolute; top: 0; bottom: 0; left: -30%; width: 30%;
  background: linear-gradient(90deg, transparent, rgba(234, 42, 51, 0.28) 50%, transparent);
  animation: scan 560ms linear forwards;
}
.glitch-band { position: absolute; left: 0; right: 0; height: 2px; background: var(--red); opacity: 0; animation: band 560ms steps(1) forwards; }
.glitch-band-thick { height: 4px; }
@keyframes scan { to { left: 100%; } }
@keyframes band { 0% { opacity: 0; } 30% { opacity: 0.55; } 50% { opacity: 0; } 60% { opacity: 0.55; } 70%, 100% { opacity: 0; } }
.is-glitching .is-active h2, .is-glitching .is-active .eyebrow { animation: shear 560ms steps(6) forwards; }
@keyframes shear {
  0% { transform: none; text-shadow: none; }
  17% { transform: skewX(-4deg); text-shadow: 4px 0 rgba(234, 42, 51, 0.8), -2px 0 rgba(58, 214, 255, 0.6); }
  34% { transform: skewX(6deg); text-shadow: -3px 0 rgba(234, 42, 51, 0.8), 2px 0 rgba(58, 214, 255, 0.6); }
  51% { transform: skewX(-3deg); text-shadow: 2px 0 rgba(234, 42, 51, 0.8), -2px 0 rgba(58, 214, 255, 0.5); }
  68% { transform: skewX(2deg); text-shadow: 1px 0 rgba(234, 42, 51, 0.6); }
  100% { transform: none; text-shadow: none; }
}

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .panel { padding: 96px 48px 48px; }
  .hero-title, .tagline-text { font-size: 3rem; }
  .rail { right: 16px; }
}

@media (max-width: 860px) {
  .nav { gap: 16px; padding-left: 16px; }
  .nav nav, .nav-cta { display: none; }
  .burger { display: block; }
  .rail { display: none; }
  .panel { padding: 96px 16px calc(24px + env(safe-area-inset-bottom)); align-items: flex-end; }
  .stop-hero .panel { align-items: flex-start; padding-top: 96px; }
  .hero-title { font-size: 2.25rem; line-height: 2.5rem; }
  .hero-sub { font-size: 1rem; line-height: 1.5rem; }
  .scroll-cue { display: none; }
  .clients { margin-top: 32px; }
  .marquee-track li { font-size: 1rem; line-height: 1.5rem; }
  .legal-body dl { grid-template-columns: 1fr; }
  .legal-body dd { margin-bottom: 8px; }
  .card { padding: 24px; border-radius: 16px; }
  .card h2 { font-size: 1.5rem; line-height: 2rem; }
  .card > p:not(.eyebrow) { font-size: 1rem; line-height: 1.5rem; }
  .stop-tagline .panel { align-items: center; }
  .tagline-text { font-size: 2.25rem; line-height: 2.5rem; }
  .contact h2 { font-size: 1.875rem; line-height: 2.25rem; }
  .stop-contact .panel { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .card, .hero > *, .tagline-foot, .footer { transition-duration: 1ms !important; }
  .scroll-cue .ph { animation: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; flex-shrink: 1; gap: 8px 24px; }
  .marquee-track[aria-hidden] { display: none; }
  .glitch { display: none !important; }
}
