/* RMDevelopers landing — styles.
   Content comes from site.json; per-app colours are set inline from each app's "theme". */

:root {
  --bg: #08080c;
  --page-bg: var(--bg);
  --ink: #f3f0ea;
  --muted: rgba(243, 240, 234, 0.62);
  --faint: rgba(243, 240, 234, 0.38);
  --line: rgba(243, 240, 234, 0.12);
  --surface: rgba(255, 255, 255, 0.04);
  --accent: #ffb547;
  /* single-hue sheen used for headline text and the progress bar */
  --brand: linear-gradient(92deg, #ffb547 0%, #ffe0a3 50%, #ffb547 100%);
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  color-scheme: dark;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  overflow-x: hidden;
  transition: background-color 0.8s var(--ease);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; }
p { margin: 0; }
::selection { background: var(--accent); color: #08080c; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 16px; border-radius: 99px; background: var(--ink); color: var(--bg); transform: translateY(-200%); }
.skip:focus { transform: none; }

.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font: 600 12px/1 var(--mono);
  letter-spacing: 0.14em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- buttons ---------- */

.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent; border-radius: 99px;
  background: var(--ink); color: #0b0b10;
  font: 600 15px/1 var(--sans);
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  will-change: transform;
}
.btn:hover { background: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn--small { padding: 10px 16px; font-size: 14px; }
.btn--app { background: var(--app-accent); }
.btn--app:hover { background: var(--ink); }
.btn--big { padding: 22px 34px; font-size: clamp(15px, 1.6vw, 19px); }

/* ---------- loader ---------- */

.loader { display: none; }
.js .loader {
  position: fixed; z-index: 900; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  background: #050507;
}
.loader__icons { display: flex; gap: 14px; }
.loader__icons img { width: 56px; height: 56px; border-radius: 16px; opacity: 0; transform: translateY(20px) scale(0.6); }
.loader__count { font: 800 clamp(64px, 14vw, 160px)/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.loader__count span { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__name { color: var(--faint); font: 600 12px/1 var(--mono); letter-spacing: 0.3em; text-transform: uppercase; }

/* ---------- chrome: cursor, progress, grain ---------- */

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: block; }
  .cursor__dot, .cursor__ring { position: fixed; z-index: 950; top: 0; left: 0; pointer-events: none; border-radius: 50%; }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--ink); }
  .cursor__ring {
    display: grid; place-items: center;
    width: 40px; height: 40px; margin: -20px 0 0 -20px;
    border: 1px solid rgba(243, 240, 234, 0.5);
    mix-blend-mode: difference;
    transition: width 0.35s var(--ease), height 0.35s var(--ease), margin 0.35s var(--ease), background-color 0.35s;
  }
  .cursor__ring em { opacity: 0; color: #0b0b10; font: 600 11px/1 var(--mono); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; transition: opacity 0.2s; }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--ink); }
  .cursor.is-label .cursor__ring { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: var(--ink); mix-blend-mode: normal; }
  .cursor.is-label .cursor__ring em { opacity: 1; }
}

.progress { position: fixed; z-index: 800; top: 0; left: 0; width: 100%; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; }

.grain {
  position: fixed; z-index: 700; inset: -50%;
  pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-6%, -2%); }
  80% { transform: translate(5%, 4%); }
}

/* ---------- nav ---------- */

.nav {
  position: fixed; z-index: 600; top: 14px; left: 50%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: min(1200px, calc(100% - 2 * 16px));
  padding: 8px 8px 8px 20px;
  border: 1px solid var(--line); border-radius: 99px;
  background: rgba(10, 10, 14, 0.55);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transform: translateX(-50%);
  transition: transform 0.5s var(--ease);
}
.nav.is-hidden, .motion .nav:not(.is-in) { transform: translate(-50%, -140%); }
.nav__logo { display: flex; align-items: baseline; gap: 4px; font: 800 20px/1 var(--display); letter-spacing: -0.04em; }
.nav__logo b { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__logo span { color: var(--muted); font-weight: 500; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { position: relative; padding: 8px 14px; border-radius: 99px; color: var(--muted); font-size: 14px; transition: color 0.25s, background-color 0.25s; }
.nav__links a:hover { color: var(--ink); background: var(--surface); }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav .btn--small span { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 100svh;
  padding: 140px var(--gutter) 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__canvas { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; }
.hero__blob { position: absolute; z-index: -2; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: drift 18s ease-in-out infinite alternate; }
.hero__blob--a { top: -10%; right: -10%; width: 55vw; height: 55vw; background: radial-gradient(circle, #8a5a12 0%, transparent 65%); opacity: 0.5; }
.hero__blob--b { bottom: -25%; left: -15%; width: 50vw; height: 50vw; background: radial-gradient(circle, #3a2a14 0%, transparent 65%); opacity: 0.6; animation-delay: -9s; }
@keyframes drift { to { transform: translate(-8vw, 6vh) scale(1.15); } }

.hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; color: var(--muted); font: 600 13px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.hero__eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 181, 71, 0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255, 181, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0); } }

.hero__title { display: flex; flex-direction: column; font-size: clamp(56px, 13vw, 210px); line-height: 0.88; letter-spacing: -0.055em; }
.hero__line { display: block; }
.hero__line--accent { background: var(--brand); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; padding-bottom: 0.08em; }
/* once split, the gradient moves to the animated inner span so the clip survives transforms */
.hero__line--accent.is-split { background: none; animation: none; }
.hero__line--accent.is-split .char { padding-bottom: 0.08em; background: var(--brand); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.hero__sub { max-width: 560px; margin-top: 32px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__orbit { position: absolute; z-index: -1; top: 50%; right: clamp(-80px, 4vw, 120px); width: clamp(280px, 38vw, 560px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.orbit-icon {
  position: absolute; width: 26%; pointer-events: auto;
  border-radius: 24%;
  box-shadow: 0 30px 60px -24px rgba(255, 181, 71, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: float 7s ease-in-out infinite;
}
.orbit-icon img { width: 100%; border-radius: inherit; }
.orbit-icon--1 { top: 6%; left: 30%; }
.orbit-icon--2 { top: 34%; right: 2%; animation-delay: -1.8s; }
.orbit-icon--3 { bottom: 4%; left: 42%; width: 30%; animation-delay: -3.6s; }
.orbit-icon--4 { top: 44%; left: 0; animation-delay: -5.2s; }
@keyframes float { 50% { translate: 0 -18px; rotate: 4deg; } }
@media (max-width: 900px) {
  .hero__orbit { top: auto; bottom: 40px; right: -40px; width: 60vw; opacity: 0.45; transform: none; }
}

.hero__scroll { position: absolute; bottom: 32px; left: 50%; width: 26px; height: 42px; border: 1.5px solid var(--faint); border-radius: 99px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 4px; background: var(--ink); transform: translateX(-50%); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, -4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 14px); } }

/* split-text helpers (added by main.js) */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.char { display: inline-block; will-change: transform; }

/* ---------- marquee ---------- */

.marquee { padding: 30px 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee__row { display: flex; overflow: hidden; }
.marquee__row + .marquee__row { margin-top: 10px; }
.marquee__track { display: flex; flex: none; align-items: center; gap: 28px; padding-right: 28px; animation: marquee 30s linear infinite; }
.marquee__row--rev .marquee__track { animation-direction: reverse; }
.marquee__track span { font: 800 clamp(34px, 6vw, 84px)/1.05 var(--display); letter-spacing: -0.04em; white-space: nowrap; }
.marquee__row--rev span { color: transparent; -webkit-text-stroke: 1.5px var(--faint); }
.marquee__track b { color: var(--accent); font-size: clamp(20px, 3vw, 40px); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 1280px; margin: 0 auto; padding: clamp(60px, 10vw, 120px) var(--gutter); }
.stat { padding: 24px 24px 24px 0; border-top: 1px solid var(--line); }
.stat strong { display: block; font: 800 clamp(48px, 7vw, 96px)/1 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.stat p { max-width: 220px; margin-top: 12px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 0 16px; } }

/* ---------- apps ---------- */

.apps__intro { max-width: 1280px; margin: 0 auto; padding: 40px var(--gutter) 60px; }
.apps__intro h2 { font-size: clamp(44px, 8vw, 120px); max-width: 12ch; }
.apps__intro > p:last-child { max-width: 480px; margin-top: 24px; color: var(--muted); }

.apps__track { display: grid; gap: 24px; padding: 0 var(--gutter) 40px; }

.app {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(32px, 5vw, 80px);
  max-width: 1280px; width: 100%; margin: 0 auto;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid var(--line); border-radius: 32px;
  background: var(--app-bg);
  overflow: hidden; isolation: isolate;
}
.app__glow { position: absolute; z-index: -1; top: 10%; right: -10%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--app-glow) 0%, transparent 62%); opacity: 0.55; filter: blur(30px); }

.app__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.app__num { font: 600 13px/1 var(--mono); color: var(--app-accent); }
.app__num i { color: var(--faint); font-style: normal; }
.chip { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; }

.app__title { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); }
.app__icon { width: clamp(56px, 7vw, 92px); border-radius: 24%; box-shadow: 0 18px 40px -16px var(--app-glow), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.app__title h3 { font-size: clamp(44px, 7vw, 108px); letter-spacing: -0.05em; }
.app__tagline { margin-top: 22px; color: var(--app-accent); font: 600 clamp(20px, 2.2vw, 28px)/1.2 var(--display); letter-spacing: -0.02em; }
.app__summary { max-width: 540px; margin-top: 16px; color: var(--muted); }
.app__features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; max-width: 560px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; }
.app__features li { position: relative; padding-left: 22px; }
.app__features li::before { content: ""; position: absolute; top: 0.55em; left: 0; width: 10px; height: 10px; border-radius: 3px; background: var(--app-accent); transform: rotate(45deg); }
.app__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.app__device { display: grid; justify-items: center; gap: 18px; perspective: 1200px; }
.device {
  position: relative;
  width: clamp(220px, 21vw, 300px); aspect-ratio: 9 / 19;
  border: 8px solid #111; border-radius: 38px;
  background: #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 60px 100px -30px rgba(0, 0, 0, 0.8), 0 0 120px -40px var(--app-glow);
  overflow: hidden;
  transform-style: preserve-3d;
}
.app__device--landscape .device { width: min(100%, 600px); aspect-ratio: 16 / 9; border-radius: 26px; }
.device img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: scale(1.06); transition: opacity 0.9s var(--ease), transform 1.4s var(--ease); }
.device img.is-active { opacity: 1; transform: none; }
.app__dots { display: flex; gap: 8px; }
.app__dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line); transition: width 0.5s var(--ease), background-color 0.5s; }
.app__dots i.is-active { width: 28px; background: var(--app-accent); }

@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; border-radius: 24px; }
  .app__device { order: -1; }
  .app__features { grid-template-columns: 1fr; }
}

/* desktop: pinned horizontal scroll (class set by main.js) */
.h-scroll .apps { overflow: hidden; }
.h-scroll .apps__track { display: flex; gap: 0; width: max-content; height: 100vh; padding: 0; }
.h-scroll .app {
  width: 100vw; max-width: none; height: 100vh; margin: 0;
  padding: 100px max(var(--gutter), calc((100vw - 1280px) / 2)) 60px;
  border: 0; border-radius: 0;
  background: transparent;
}
/* keep the phone inside the pinned 100vh panel on shorter laptop screens */
.h-scroll .app__device--portrait .device { width: min(clamp(220px, 21vw, 300px), calc((100vh - 230px) * 9 / 19)); }

/* ---------- gallery ---------- */

.gallery { padding: clamp(60px, 10vw, 120px) 0; overflow: hidden; }
.gallery__track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.gallery:hover .gallery__track { animation-play-state: paused; }
.gallery figure { flex: none; width: clamp(150px, 16vw, 220px); margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform 0.6s var(--ease); }
.gallery figure:nth-child(odd) { transform: translateY(28px) rotate(-2deg); }
.gallery figure:nth-child(even) { transform: rotate(2deg); }
.gallery figure:hover { transform: translateY(-10px) rotate(0) scale(1.04); }

/* ---------- principles ---------- */

.principles, .faq { max-width: 1280px; margin: 0 auto; padding: clamp(60px, 10vw, 140px) var(--gutter); }
.principles h2, .faq h2 { font-size: clamp(44px, 8vw, 120px); }
.principles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; perspective: 1000px; }
.card {
  position: relative;
  min-height: 300px; padding: 28px;
  border: 1px solid var(--line); border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.4s;
}
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 212, 90, 0.14), transparent 45%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.card:hover { border-color: rgba(243, 240, 234, 0.3); }
.card:hover::after { opacity: 1; }
.card__num { display: block; margin-bottom: 70px; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; font: 800 52px/1 var(--display); }
.card h3 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.05; }
.card p { margin-top: 14px; color: var(--muted); font-size: 15px; }
@media (max-width: 1024px) { .principles__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .principles__grid { grid-template-columns: 1fr; } .card { min-height: 0; } .card__num { margin-bottom: 36px; } }

/* ---------- faq ---------- */

.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; font: 600 clamp(18px, 2vw, 24px)/1.25 var(--display); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; transition: transform 0.5s var(--ease), background-color 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary i { transform: rotate(135deg); background: var(--accent); color: #0b0b10; }
.faq__answer { overflow: hidden; }
.faq__answer p { max-width: 640px; padding-bottom: 26px; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */

.cta { display: grid; justify-items: center; gap: 48px; padding: clamp(80px, 14vw, 200px) var(--gutter); text-align: center; }
.cta h2 { display: flex; flex-direction: column; font-size: clamp(48px, 11vw, 180px); letter-spacing: -0.055em; }
.cta__line { position: relative; color: transparent; -webkit-text-stroke: 1.5px rgba(243, 240, 234, 0.35); }
.cta__line::after { content: attr(data-fill); position: absolute; inset: 0; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 0; clip-path: inset(0 var(--fill, 0%) 0 0); }
.no-motion .cta__line::after, html:not(.js) .cta__line::after { --fill: 0%; }

/* ---------- footer ---------- */

.footer { padding: 60px var(--gutter) 30px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; max-width: 1280px; margin: 0 auto; color: var(--muted); }
.footer__top a:hover { color: var(--ink); }
.footer__top > p a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer nav a { display: inline-flex; align-items: center; gap: 4px; }
.footer__word { display: flex; justify-content: center; margin: 50px 0 24px; padding-bottom: 0.12em; font: 800 clamp(40px, 13.6vw, 230px)/0.9 var(--display); letter-spacing: -0.06em; user-select: none; }
.footer__word span { display: inline-block; background: var(--brand); background-size: 1200% 100%; background-position-x: calc(var(--i) * 100%); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform 0.5s var(--ease); }
.footer__word span:hover { transform: translateY(-14%) rotate(-6deg); }
.footer__legal { color: var(--faint); font-size: 12px; text-align: center; }

/* ---------- initial states for scroll reveals (only when JS + motion are on) ---------- */

.motion [data-fade] { opacity: 0; transform: translateY(40px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .grain, .hero__canvas { display: none; }
}
