/* =========================================================
   LORIXEN v2 — Ambient motion & atmosphere layer
   Additive: loads AFTER styles-v2.css and refines its feel.
   Controlled by CSS custom props so the Tweaks panel can dial
   intensity at runtime.
   ========================================================= */

:root {
  /* Tweakable — Tweaks panel writes here */
  --motion: 1;            /* 0 = none, 1 = full */
  --glow-intensity: 1;    /* ambient glow strength */
  --accent-h: 172;        /* hue for accent (teal default ~172) */
  --accent-s: 78%;
  --accent-l: 27%;
  --lift: 1;              /* hover lift multiplier */
}

/* Derived */
:root {
  --accent-soft: hsla(var(--accent-h), var(--accent-s), 50%, calc(0.12 * var(--glow-intensity)));
  --accent-glow: hsla(var(--accent-h), var(--accent-s), 55%, calc(0.35 * var(--glow-intensity)));
  --accent-rim:  hsla(var(--accent-h), var(--accent-s), 60%, calc(0.55 * var(--glow-intensity)));
}

/* =============== GLOBAL SMOOTHING =============== */
html { scroll-behavior: smooth; }

/* Smoother base transitions */
a, .btn, .fix-card, .step-card, .trust-item, .problem-row,
.trust-card, .ai-card, .fix-ba, .brand__mark, .nav__links a,
.mini-cta, .version-tag a {
  transition:
    transform   .55s cubic-bezier(.2,.7,.2,1),
    box-shadow  .55s cubic-bezier(.2,.7,.2,1),
    border-color .35s ease,
    background  .35s ease,
    color       .25s ease,
    opacity     .35s ease;
}

/* =============== AMBIENT BG ORBS =============== */
.atmos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.atmos::before,
.atmos::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: calc(0.55 * var(--glow-intensity));
  will-change: transform;
  animation: drift 28s ease-in-out infinite alternate;
}
.atmos::before {
  top: -10%; left: -5%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, hsla(var(--accent-h), 80%, 40%, 0.35) 0%, transparent 60%);
}
.atmos::after {
  bottom: -15%; right: -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, hsla(180, 60%, 70%, 0.18) 0%, transparent 60%);
  animation-delay: -14s;
  animation-duration: 36s;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(4vw, -3vw, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, 2vw, 0) scale(0.96); }
}

/* Keep content above atmosphere */
body > *:not(.atmos):not(.tweaks) { position: relative; z-index: 1; }

/* =============== HERO — LIVING ACCENT =============== */
.hero-band {
  isolation: isolate;
}
.hero-band::after {
  content: "";
  position: absolute;
  top: 20%;
  right: -12%;
  width: 62vw; height: 62vw;
  max-width: 1100px; max-height: 1100px;
  background: radial-gradient(circle,
    hsla(var(--accent-h), 90%, 50%, calc(.55 * var(--glow-intensity))) 0%,
    hsla(var(--accent-h), 90%, 30%, calc(.15 * var(--glow-intensity))) 35%,
    transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 14s ease-in-out infinite alternate;
  will-change: transform, opacity;
}
@keyframes heroGlow {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: 1; }
  100% { transform: translate3d(-3vw, 2vw, 0) scale(1.1); opacity: .85; }
}
.hero-band > * { position: relative; z-index: 1; }

/* Hero — parallax-ready container */
.hero__visual {
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.browser {
  transition: transform .9s cubic-bezier(.2,.7,.2,1),
              box-shadow .6s ease;
}
.hero__visual:hover .browser {
  transform: translate3d(0, calc(-6px * var(--lift)), 0) rotate(-0.2deg);
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.05),
    0 0 80px -10px var(--accent-glow);
}

/* Soft glow rim on browser */
.browser {
  box-shadow:
    0 28px 56px -16px rgba(15,20,25,0.35),
    0 0 0 1px rgba(255,255,255,.04),
    0 0 60px -20px var(--accent-glow);
}

/* Mini-cta inside hero pulses subtly */
.mini-cta {
  position: relative;
  overflow: hidden;
}
.mini-cta::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 5.5s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
}
@keyframes shine {
  0%, 15%   { transform: translateX(-120%); }
  35%, 100% { transform: translateX(120%); }
}

/* =============== HERO META — animated dots =============== */
.hero__meta span::before {
  animation: heroDot 2.8s ease-in-out infinite;
}
.hero__meta span:nth-child(2)::before { animation-delay: -.9s; }
.hero__meta span:nth-child(3)::before { animation-delay: -1.8s; }
@keyframes heroDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: .55; }
}

/* =============== TRUST STRIP — subtle rise =============== */
.trust-item {
  position: relative;
  overflow: hidden;
}
.trust-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.trust-item:hover::before { opacity: 1; }
.trust-item:hover {
  transform: translateY(calc(-3px * var(--lift)));
  border-color: var(--accent-rim) !important;
}
.trust-item .icon { transition: transform .5s cubic-bezier(.2,.7,.2,1), background .3s; }
.trust-item:hover .icon { transform: rotate(-8deg) scale(1.08); }

/* =============== PROBLEM ROWS — bottom accent rule on hover =============== */
.problem-row::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    hsla(var(--accent-h), 90%, 35%, .55) 30%,
    hsla(var(--accent-h), 90%, 35%, .55) 70%,
    transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
  z-index: 0;
}
.problem-row:hover::after,
.problem-row.is-active::after { transform: scaleX(1); }
/* Numeral transform + coordinated hover handled in styles-v2.css */

/* =============== FIX CARDS — glow on hover =============== */
.fix-card {
  position: relative;
  overflow: hidden;
}
/* Pointer-tracked inner glow — light card uses ::before; dark card uses its own ::before
   for the ambient top-right glow (in styles-v2.css), so we skip it here. */
.fix-card:not(.fix-card--dark)::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%),
    hsla(var(--accent-h), 90%, 45%, .14),
    transparent 48%);
  opacity: 0;
  transition: opacity .55s ease;
  pointer-events: none;
  z-index: 0;
}
.fix-card:not(.fix-card--dark):hover::before { opacity: 1; }

.fix-list li:hover .check {
  transform: scale(1.12) rotate(-6deg);
}

/* =============== BEFORE/AFTER — subtle lift only; main styling in styles-v2.css =============== */
.fix-ba {
  transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s ease, border-color .4s;
}
.fix-ba:hover {
  transform: translateY(calc(-4px * var(--lift)));
  border-color: rgba(15,118,110,0.18);
  box-shadow:
    0 1px 2px rgba(15,20,25,0.04),
    0 20px 44px -16px rgba(15,20,25,0.14),
    0 40px 80px -28px rgba(15,118,110,0.2);
}
.fix-ba__col--after {
  position: relative;
  overflow: hidden;
}
.fix-ba__col--after::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, var(--accent-soft) 0%, transparent 55%);
  pointer-events: none;
}
.fix-ba__col--after > * { position: relative; }

/* Tiny float on mock elements */
.mock-cta {
  animation: floatSubtle 5s ease-in-out infinite;
}
@keyframes floatSubtle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* =============== WHY LORIXEN (dark) — starlight =============== */
.sec--dark {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.sec--dark::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: 140%; height: 100%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 60% 50% at 20% 0%,
      hsla(var(--accent-h), 90%, 40%, calc(.5 * var(--glow-intensity))) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%,
      hsla(var(--accent-h), 90%, 55%, calc(.25 * var(--glow-intensity))) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  animation: skyDrift 20s ease-in-out infinite alternate;
}
@keyframes skyDrift {
  0%   { transform: translateX(-50%) scale(1); }
  100% { transform: translateX(-48%) scale(1.08); }
}
.sec--dark > * { position: relative; z-index: 1; }

.why-list li {
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.why-list li:hover {
  transform: translateX(6px);
}
.why-list .num {
  transition: color .3s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.why-list li:hover .num {
  color: hsla(var(--accent-h), 90%, 75%, 1);
  transform: scale(1.12);
}

.trust-card {
  transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
  backdrop-filter: saturate(140%) blur(4px);
}
.trust-card:hover {
  transform: translateY(calc(-4px * var(--lift)));
  box-shadow: 0 40px 80px -24px rgba(0,0,0,.4);
}

/* =============== PROCESS — hover + lift owned by styles-v2.css =============== */
/* Ambient mouse-tracked wash, layered BEHIND card content (z-index:0 on card ::after sits above it, ::before = dot) */

/* =============== AI CARD — living =============== */
.ai-card {
  transition: transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .5s;
}
.ai-card:hover {
  box-shadow:
    0 40px 80px -24px rgba(15,20,25,.18),
    0 0 0 1px var(--accent-rim);
}
.ai-card::before {
  animation: aiOrb 12s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes aiOrb {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-20px, 20px, 0) scale(1.12); }
}
.phone {
  animation: phoneFloat 6s ease-in-out infinite;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.ai-card:hover .phone {
  transform: translateY(-12px) scale(1.02);
}
.bubble {
  animation-duration: .6s !important;
}

/* =============== BUTTONS — premium feel =============== */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,.25), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
  pointer-events: none;
}
.btn:hover::before { opacity: 1; }
.btn--primary:hover, .btn--invert:hover {
  transform: translateY(calc(-2px * var(--lift))) !important;
}
.btn--invert {
  box-shadow:
    0 8px 24px -8px rgba(0,0,0,.25),
    0 0 0 1px rgba(255,255,255,.2);
}
.btn--invert:hover {
  box-shadow:
    0 14px 32px -10px rgba(0,0,0,.35),
    0 0 40px -5px var(--accent-glow);
}
.btn--ghost-dark {
  backdrop-filter: blur(4px);
}

/* Brand mark subtle glow */
.brand__mark {
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .4s;
}
.brand:hover .brand__mark {
  transform: rotate(-8deg) scale(1.05);
  box-shadow: 0 0 28px -6px var(--accent-glow);
}

/* =============== CTA — aurora =============== */
.cta { overflow: hidden; }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 30% 40%,
      hsla(var(--accent-h), 90%, 45%, calc(.55 * var(--glow-intensity))) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 75% 70%,
      hsla(180, 80%, 70%, calc(.2 * var(--glow-intensity))) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
  animation: aurora 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes aurora {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-5vw, 3vw, 0) scale(1.1); }
}
.cta__inner { position: relative; z-index: 1; }
.cta h2 {
  background: linear-gradient(180deg, var(--cream) 0%, hsla(var(--accent-h), 50%, 88%, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta h2 em {
  background: linear-gradient(135deg,
    hsl(var(--accent-h), 80%, 75%) 0%,
    hsl(var(--accent-h), 90%, 85%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =============== SECTION TRANSITIONS =============== */
.sec, .hero-band, .cta, .footer {
  position: relative;
}
/* Subtle hairline separators */
.sec--cream + .sec--cream-2,
.sec--cream-2 + .sec--cream,
.sec--cream + .sec--dark,
.sec--dark + .sec--cream,
.sec--cream-2 + .sec--dark {
  border-top: 1px solid rgba(0,0,0,0.04);
}

/* Bridging gradients — each transitioning section gets a soft
   tinted bleed at the top so the previous section's mood
   carries in for ~140-200px before resolving to the section's
   own colour. Layered as a background-image so it composes on
   top of the existing solid background. No new pseudo-elements,
   no conflicts with content stacking. */

/* Hero (dark teal-green) → first cream section ───────────── */
#problem {
  background:
    linear-gradient(180deg,
      hsla(var(--accent-h), 70%, 22%, 0.16) 0%,
      hsla(var(--accent-h), 70%, 22%, 0.08) 60px,
      hsla(var(--accent-h), 70%, 22%, 0.02) 140px,
      transparent 220px
    ) top center / 100% 220px no-repeat,
    var(--cream);
}

/* Dark "Why Lorixen" → cream "Process" ───────────────────── */
#process {
  background:
    linear-gradient(180deg,
      hsla(var(--accent-h), 60%, 18%, 0.14) 0%,
      hsla(var(--accent-h), 60%, 18%, 0.04) 100px,
      transparent 200px
    ) top center / 100% 200px no-repeat,
    var(--cream);
}

/* Cream "AI" → CTA dark accent — soft cream highlight at top */
.cta {
  box-shadow: inset 0 1px 0 rgba(250, 250, 247, 0.08);
}
.cta::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 160px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg,
    rgba(250, 247, 240, 0.06) 0%,
    transparent 100%);
}
.cta__inner { position: relative; z-index: 1; }

/* Cream "Fix" → marquee dark already has its own top glow,
   add a faint cream highlight line for an extra soft join. */
.lx-marquee {
  box-shadow: inset 0 1px 0 rgba(250, 250, 247, 0.06);
}

/* =============== NAV — refined =============== */
.nav {
  transition: background .4s ease, border-color .4s ease;
}
.nav.is-stuck {
  background: rgba(11, 59, 60, 0.85) !important;
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.25);
}
.nav__links a:not(.btn) {
  position: relative;
}
.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    hsla(24, 95%, 62%, 0) 0%,
    hsla(24, 95%, 62%, 0.95) 50%,
    hsla(24, 95%, 62%, 0) 100%
  );
  box-shadow:
    0 0 10px hsla(24, 95%, 55%, 0.5),
    0 0 22px hsla(22, 92%, 55%, 0.25);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
  pointer-events: none;
}
.nav__links a:not(.btn):hover::after {
  transform: scaleX(.7);
  opacity: 1;
}

/* =============== REVEAL — refined =============== */
.reveal {
  transition:
    opacity .9s cubic-bezier(.2,.7,.2,1),
    transform .9s cubic-bezier(.2,.7,.2,1),
    filter .9s cubic-bezier(.2,.7,.2,1);
  filter: blur(calc(4px * var(--motion)));
}
.reveal.in {
  filter: blur(0);
}

/* =============== DIRECTIONAL SCROLL REVEALS ===============
   Add `data-reveal="up|down|left|right|zoom|fade"` to any
   `.reveal` element to give it a directional entrance. The
   existing IntersectionObserver in app.js triggers `.in`,
   which animates the element into place. `data-delay="1..5"`
   still applies for staggered groups.
   Tuned for a calm, modern, agency feel — short travel,
   firm settle, slight overshoot via the cubic. */
.reveal[data-reveal] {
  transition:
    opacity .85s cubic-bezier(0.16, 1, 0.3, 1),
    transform .85s cubic-bezier(0.16, 1, 0.3, 1);
  filter: none;
  will-change: transform, opacity;
}
.reveal[data-reveal="up"]    { opacity: 0; transform: translate3d(0, 28px, 0); }
.reveal[data-reveal="down"]  { opacity: 0; transform: translate3d(0, -28px, 0); }
.reveal[data-reveal="left"]  { opacity: 0; transform: translate3d(-36px, 0, 0); }
.reveal[data-reveal="right"] { opacity: 0; transform: translate3d(36px, 0, 0); }
.reveal[data-reveal="zoom"]  { opacity: 0; transform: scale(.96); transform-origin: center; }
.reveal[data-reveal="fade"]  { opacity: 0; transform: none; }
.reveal[data-reveal].in {
  opacity: 1;
  transform: none;
}
/* Stagger steps — readable cadence, never feels slow. */
.reveal[data-reveal][data-delay="1"] { transition-delay: .06s; }
.reveal[data-reveal][data-delay="2"] { transition-delay: .14s; }
.reveal[data-reveal][data-delay="3"] { transition-delay: .22s; }
.reveal[data-reveal][data-delay="4"] { transition-delay: .30s; }
.reveal[data-reveal][data-delay="5"] { transition-delay: .38s; }

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

/* =============== PROBLEM ROWS — top-down staggered drop =============== */
/* Each row starts hidden + offset above its final position. JS
   adds .is-dropped to each row in sequence (130 ms apart) when
   the section enters the viewport, producing a step-by-step
   downward reveal. !important guarantees these rules win over
   any inherited .reveal / hover transforms. */
#problem .problem-row.problem-drop {
  opacity: 0 !important;
  transform: translateY(-44px) !important;
  filter: none !important;
  transition:
    opacity .55s cubic-bezier(0.22, 1, 0.36, 1),
    transform .55s cubic-bezier(0.22, 1, 0.36, 1) !important;
  will-change: transform, opacity;
}
#problem .problem-row.problem-drop.is-dropped {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
@media (prefers-reduced-motion: reduce) {
  #problem .problem-row.problem-drop {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =============== TWEAKS PANEL =============== */
.tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  width: 300px;
  background: rgba(11, 59, 60, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(223, 247, 243, 0.14);
  border-radius: 16px;
  padding: 18px 20px 20px;
  color: var(--cream, #FAFAF7);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  box-shadow:
    0 28px 56px -16px rgba(0,0,0,.45),
    0 0 60px -10px hsla(var(--accent-h), 90%, 50%, .25);
  display: none;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.tweaks.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.tweaks__title {
  font-family: "Fraunces", serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  display: flex; align-items: center; gap: 8px;
}
.tweaks__title::before {
  content: "";
  width: 8px; height: 8px;
  background: hsl(var(--accent-h), 80%, 60%);
  border-radius: 50%;
  box-shadow: 0 0 12px hsla(var(--accent-h), 90%, 60%, .7);
  animation: pulseDot 2s ease infinite;
}
@keyframes pulseDot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .6; transform: scale(1.2); }
}
.tweaks__sub {
  margin: 0 0 16px;
  font-size: 11px;
  color: rgba(250,250,247,.55);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tweak {
  margin-bottom: 14px;
}
.tweak:last-child { margin-bottom: 0; }
.tweak__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(250,250,247,.8);
  margin-bottom: 6px;
  font-weight: 500;
}
.tweak__value {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: hsl(var(--accent-h), 70%, 75%);
}
.tweak input[type="range"] {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(250,250,247,.12);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.tweak input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: hsl(var(--accent-h), 80%, 60%);
  border: 2px solid rgba(250,250,247,.95);
  cursor: grab;
  transition: transform .2s;
  box-shadow: 0 0 0 4px hsla(var(--accent-h), 90%, 50%, .15);
}
.tweak input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.tweak input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: hsl(var(--accent-h), 80%, 60%);
  border: 2px solid rgba(250,250,247,.95);
  cursor: grab;
}
.tweak__swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.tweak__swatch {
  aspect-ratio: 1;
  border-radius: 8px;
  border: 2px solid rgba(250,250,247,.12);
  cursor: pointer;
  transition: transform .2s, border-color .2s;
  position: relative;
}
.tweak__swatch:hover { transform: scale(1.06); }
.tweak__swatch.is-on {
  border-color: rgba(250,250,247,.95);
  box-shadow: 0 0 0 3px rgba(250,250,247,.08);
}

/* =============== REDUCED MOTION =============== */
@media (prefers-reduced-motion: reduce) {
  .atmos::before, .atmos::after,
  .hero-band::after, .cta::after, .sec--dark::before,
  .ai-card::before, .phone, .mock-cta, .mini-cta::after,
  .hero__meta span::before {
    animation: none !important;
  }
  .reveal { filter: none; }
}
