/* ────────────────────────────────────────────────────────────────
   OVERITE — Lab AI experiments homepage
   Sections: Hero · AI Projects · Footer
   Props (set in index.php): data-accent, data-motion on <main>.
   Brand: near-black ground, white type, Overite electric blue.
   ──────────────────────────────────────────────────────────────── */
:root {
  --bg: #07090d;
  --bg-raise: #0b0e14;
  --ink: #f4f7fa;
  --ink-soft: rgba(244, 247, 250, 0.66);
  --ink-faint: rgba(244, 247, 250, 0.38);
  --ink-line: rgba(244, 247, 250, 0.12);
  --slate: #0e1a26;
  --violet: #271c38;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(18px, 4vw, 72px);
  --font-display: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-accent: 'Instrument Serif', Georgia, serif;
}

/* Accent property — pale-blue | mid-blue | deep-slate | warm-sand */
.site[data-accent='pale-blue']   { --accent: #7fd0ff; --accent-lit: #b7e5ff; --accent-soft: rgba(127, 208, 255, 0.12); --accent-glow: rgba(127, 208, 255, 0.22); --accent-ink: #0a2537; }
.site[data-accent='mid-blue']    { --accent: #00a6ff; --accent-lit: #62c8ff; --accent-soft: rgba(0, 166, 255, 0.12); --accent-glow: rgba(0, 166, 255, 0.24); --accent-ink: #032033; }
.site[data-accent='deep-slate']  { --accent: #5177a8; --accent-lit: #8fb2d9; --accent-soft: rgba(81, 119, 168, 0.14); --accent-glow: rgba(81, 119, 168, 0.26); --accent-ink: #0b1420; }
.site[data-accent='warm-sand']   { --accent: #e0c9a2; --accent-lit: #f0dfc0; --accent-soft: rgba(224, 201, 162, 0.12); --accent-glow: rgba(224, 201, 162, 0.2); --accent-ink: #221a0e; }

body {
  background: var(--bg) !important;
  color: var(--ink) !important;
  font-family: var(--font-body);
  overflow-x: hidden;
}

a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Hide-for-reveal only activates when JS has tagged <html>; content is never
   hidden when JavaScript fails. */
html.js .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y, 28px));
  transition: opacity 0.8s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* Motion intensity — subtle | balanced | expressive */
.site[data-motion='subtle']    { --reveal-y: 12px; --reveal-dur: 0.6s; --drift-dur: 46s; --sheen-dur: 9s; --glow-dur: 20s; }
.site[data-motion='balanced']  { --reveal-y: 28px; --reveal-dur: 0.8s; --drift-dur: 34s; --sheen-dur: 7s; --glow-dur: 14s; }
.site[data-motion='expressive']{ --reveal-y: 48px; --reveal-dur: 0.98s; --drift-dur: 22s; --sheen-dur: 5s; --glow-dur: 9s; }
.site { --reveal-dur: 0.8s; }

/* ══════════════ SECTION 01 — HERO ══════════════ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  padding: 0 var(--gutter);
  background:
    radial-gradient(52rem 30rem at 78% 8%, rgba(14, 40, 68, 0.5) 0%, rgba(14, 40, 68, 0) 62%),
    radial-gradient(40rem 26rem at 8% 88%, var(--violet) 0%, rgba(39, 28, 56, 0) 58%),
    var(--bg);
}

.hero__light {
  position: absolute;
  inset: -18%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(30rem 16rem at 74% 22%, var(--accent-glow) 0%, transparent 68%),
    radial-gradient(30rem 20rem at 18% 78%, rgba(30, 46, 74, 0.55) 0%, transparent 66%);
  filter: blur(34px);
  animation: glow-drift var(--glow-dur, 14s) ease-in-out infinite alternate;
}
@keyframes glow-drift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to { transform: translate3d(1.5%, 1.5%, 0) scale(1.045); }
}

/* ── scroll-scrubbed FX video ── fixed viewport layer behind hero + problem + solution */
.scrub {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease);
  pointer-events: none;
}
html.scrub-live .scrub { opacity: 1; visibility: visible; }
.scrub video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scrub__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(4, 9, 15, 0.78) 0%, rgba(4, 9, 15, 0.5) 34%, rgba(4, 9, 15, 0.06) 62%, rgba(4, 9, 15, 0) 78%),
    linear-gradient(0deg, rgba(4, 9, 15, 0.62) 0%, rgba(4, 9, 15, 0.1) 34%, rgba(4, 9, 15, 0) 52%);
}
/* while the FX layer is live, the sections it plays behind turn translucent so the video reads through */
html.scrub-live .hero,
html.scrub-live .problem,
html.scrub-live .solution,
html.scrub-live #ai-projects { background: rgba(6, 10, 16, 0.58); }
html.scrub-live .hero__light { opacity: 0.4; }

/* top bar */
.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(18px, 2.4vw, 30px) 0;
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.topbar__logo { width: 30px; height: 30px; }

.topbar__links { display: none; gap: clamp(18px, 2.6vw, 40px); }
.topbar__links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  transition: color 0.3s var(--ease);
}
.topbar__links a:hover { color: var(--ink); }

.topbar__cta {
  padding: 0.62em 1.25em;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.01em;
  color: var(--ink);
  background: rgba(244, 247, 250, 0.04);
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.topbar__cta:hover { background: rgba(244, 247, 250, 0.09); border-color: rgba(244, 247, 250, 0.26); }

@media (min-width: 880px) {
  .topbar__links { display: flex; }
}

/* hero body */
.hero__body {
  flex: 1;
  display: grid;
  align-content: center;
  max-width: 1080px;
  padding: clamp(20px, 4vw, 48px) 0 clamp(28px, 5vw, 64px);
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(4.2rem, 10vw, 7.1rem);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
@media (max-width: 380px) {
  .hero__heading { font-size: 3.8rem; }
}
.hero__line { display: block; }
.hero__line--accent { color: var(--accent); }
.hero__heading em {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
}

.hero__lede {
  max-width: 520px;
  margin-top: clamp(22px, 3vw, 34px);
  font-size: clamp(15px, 1.25vw, 17.5px);
  line-height: 1.66;
  color: var(--ink-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: clamp(26px, 3.4vw, 44px);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: var(--accent);
  color: var(--accent-ink, #032033);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.cta svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.cta:hover { transform: translateY(-2px); box-shadow: 0 18px 44px var(--accent-glow); }
.cta:hover svg { transform: translateX(3px); }

.cta--ghost {
  padding: 0.85em 0.2em;
  background: none;
  color: var(--ink-soft);
  box-shadow: none;
}
.cta--ghost:hover { transform: none; box-shadow: none; color: var(--ink); }
.cta--ghost:hover svg { transform: none; }

/* editorial entrance — first fold animates on load, below-fold uses reveal */
.hero__line,
.hero__lede,
.hero__actions {
  animation: rise var(--reveal-dur, 0.8s) var(--ease) both;
}
.hero__line:nth-child(1) { animation-delay: 0.05s; }
.hero__line:nth-child(2) { animation-delay: 0.12s; }
.hero__line:nth-child(3) { animation-delay: 0.19s; }
.hero__lede { animation-delay: 0.3s; }
.hero__actions { animation-delay: 0.4s; }
.topbar { animation: fadein 0.9s var(--ease) both; }
.marquees { animation: fadein 1.1s var(--ease) 0.5s both; }

@keyframes rise {
  from { opacity: 0; transform: translateY(var(--reveal-y, 28px)); }
  to { opacity: 1; transform: none; }
}
@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── single-copy moving brand rows ─── */
.marquees {
  display: grid;
  gap: 11px;
  padding: clamp(26px, 4vh, 44px) 0 clamp(26px, 4.5vh, 46px);
  border-top: 1px solid var(--ink-line);
}

.mq {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.mq__label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}
.mq__label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.mq__window {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.mq__track {
  display: flex;
  width: max-content;
  animation: mq-single var(--mq-duration, 42s) linear infinite;
}
@keyframes mq-single {
  from { transform: translateX(100vw); }
  to { transform: translateX(calc(-100% - 100vw)); }
}
.mq:hover .mq__track,
.mq:focus-within .mq__track { animation-play-state: paused; }
.mq__set {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mq__set li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: clamp(26px, 3vw, 52px);
  font-family: var(--font-display);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(244, 247, 250, 0.65);
  white-space: nowrap;
}
.mq__set img { display: block; width: auto; height: auto; max-width: 120px; max-height: 32px; object-fit: contain; }
.mq__ph {
  padding: 0.55em 1.1em;
  border: 1px dashed rgba(244, 247, 250, 0.22);
  border-radius: 3px;
  color: var(--ink-faint);
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ══════════════ SECTION 02 — PROBLEM ══════════════ */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(90px, 12vh, 150px) var(--gutter);
}

.problem {
  position: relative;
  border-top: 1px solid var(--ink-line);
  background:
    radial-gradient(46rem 30rem at 88% 12%, rgba(14, 40, 68, 0.32) 0%, transparent 60%),
    var(--bg-raise);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.heading {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.6vw, 4.3rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.66;
  color: var(--ink-soft);
}

/* four challenges — editorial 2×2 with hairlines */
.challenges {
  display: grid;
  margin: clamp(48px, 6vw, 84px) 0 0;
  border-top: 1px solid var(--ink-line);
  border-left: 1px solid var(--ink-line);
}

@media (min-width: 760px) {
  .challenges { grid-template-columns: 1fr 1fr; }
}

.challenge {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(26px, 3.4vw, 46px);
  border-right: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  transition: background-color 0.5s var(--ease);
}
.challenge:hover { background: rgba(244, 247, 250, 0.022); }

.challenge__no {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 247, 250, 0.24);
  transition: -webkit-text-stroke-color 0.5s var(--ease), color 0.5s var(--ease);
}
.challenge:hover .challenge__no {
  color: var(--accent);
  -webkit-text-stroke-color: transparent;
  text-shadow: 0 0 34px var(--accent-glow);
}

.challenge__body h3 {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.challenge__body p {
  margin-top: 12px;
  max-width: 40ch;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-soft);
}

/* staggered reveal delays inside grids */
.reveal:nth-child(2) { --reveal-delay: 0.06s; }
.reveal:nth-child(3) { --reveal-delay: 0.12s; }
.reveal:nth-child(4) { --reveal-delay: 0.18s; }
.challenge:nth-child(2) { --reveal-delay: 0.08s; }
.challenge:nth-child(3) { --reveal-delay: 0.16s; }
.challenge:nth-child(4) { --reveal-delay: 0.24s; }

/* ══════════════ SECTION 03 — SOLUTION ══════════════ */
.solution {
  position: relative;
  border-top: 1px solid var(--ink-line);
  background: var(--bg);
}

.pillars {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 84px);
}
@media (min-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr 1fr; }
}

.pillar {
  position: relative;
  padding-top: 26px;
}
.pillar__axis {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink-line);
  overflow: visible;
}
.pillar__axis::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent-glow);
}
.pillar__no {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--accent);
}
.pillar h3 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.9vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pillar__t {
  margin-top: 10px;
  font-family: var(--font-accent);
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}
.pillar__d {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* our reason — large statement with accent sheen */
.reason {
  margin: clamp(70px, 9vw, 130px) 0 0;
  padding: clamp(40px, 5vw, 80px) clamp(22px, 4vw, 64px);
  text-align: center;
  border: 1px solid var(--ink-line);
  background:
    radial-gradient(60rem 24rem at 50% 0%, var(--accent-soft) 0%, transparent 70%),
    var(--bg-raise);
  overflow: hidden;
}

.reason__tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.reason__line {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.2vw, 4.7rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.reason__line em {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
  /* accent sheen sweeping across the statement */
  background: linear-gradient(110deg, var(--ink) 18%, var(--accent-lit) 46%, var(--accent) 54%, var(--ink) 82%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen var(--sheen-dur, 7s) ease-in-out infinite;
}
@keyframes sheen {
  0%, 100% { background-position: 120% 0; }
  50% { background-position: 20% 0; }
}

.reason__sub {
  margin: 22px auto 0;
  max-width: 46ch;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.66;
  color: var(--ink-soft);
}

/* ══════════════ SECTION 04 — ECOSYSTEM + FOOTER ══════════════ */
.ecosystem {
  position: relative;
  border-top: 1px solid var(--ink-line);
  background:
    radial-gradient(50rem 22rem at 50% 102%, var(--accent-soft) 0%, transparent 68%),
    var(--bg-raise);
}

.tracks {
  margin: clamp(44px, 5.6vw, 80px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ink-line);
}

.track { border-bottom: 1px solid var(--ink-line); }

.track__row {
  position: relative;
  display: grid;
  align-items: center;
  gap: 14px 34px;
  grid-template-columns: 52px 1fr;
  padding: clamp(24px, 3vw, 40px) clamp(6px, 1vw, 18px);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.45s var(--ease);
}
a.track__row:hover { background: rgba(244, 247, 250, 0.024); }

.track__no {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--ink-faint);
}

.track__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.track__desc {
  max-width: 46ch;
  font-size: 14px;
  line-height: 1.66;
  color: var(--ink-soft);
  grid-column: 2;
}

.track__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  grid-column: 2;
}

.track__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0.42em 0.95em;
  border: 1px solid rgba(0, 166, 255, 0.35);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.track__tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px var(--accent-glow);
}
.track__tag--planned {
  border-color: rgba(244, 247, 250, 0.2);
  color: var(--ink-faint);
}
.track__tag--planned::before {
  background: none;
  box-shadow: none;
  border: 1px solid var(--ink-faint);
}

.track__links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-soft);
}
.track__links span span { color: var(--accent); }

.track__go {
  position: absolute;
  right: clamp(6px, 1.4vw, 24px);
  top: 50%;
  translate: 0 -50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.track__go svg { width: 15px; height: 15px; }
a.track__row:hover .track__go {
  color: var(--accent-ink, #04213a);
  border-color: var(--accent);
  background: var(--accent);
  transform: rotate(-38deg);
}

@media (min-width: 900px) {
  .track__row { grid-template-columns: 72px minmax(0, 380px) 1fr minmax(0, 230px) 38px; }
  .track__desc, .track__meta { grid-column: auto; }
}

/* planned track (no link) needs the same grid on its wrapper */
.track[data-status='planned'] .track__row {
  grid-template-columns: 72px minmax(0, 380px) 1fr minmax(0, 230px) 38px;
}
@media (max-width: 899px) {
  .track[data-status='planned'] .track__row { grid-template-columns: 52px 1fr; }
}

/* link exposes first destination; publishers link placed as secondary hit area */
.track__src { position: absolute; }

/* ─── footer ─── */
.foot {
  padding: clamp(60px, 9vw, 120px) var(--gutter) clamp(26px, 3.4vw, 48px);
  overflow: hidden;
}

.foot__mark {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(18px, 2.4vw, 30px);
}
.foot__mark::before {
  content: '';
  position: absolute;
  top: 46%;
  left: 50%;
  width: min(88vw, 1200px);
  height: clamp(120px, 22vw, 300px);
  translate: -50% -50%;
  background: radial-gradient(50% 50% at 50% 50%, var(--accent-glow) 0%, transparent 72%);
  filter: blur(30px);
  animation: glow-drift var(--glow-dur, 14s) ease-in-out infinite alternate;
}

.foot__icon { width: clamp(30px, 2.6vw, 40px); height: auto; }

.foot__wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 15.5vw, 14.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-shadow: 0 0 80px var(--accent-glow);
  user-select: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.foot__divider {
  height: 1px;
  margin-top: clamp(34px, 5vw, 64px);
  background: var(--ink-line);
}

.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 18px 0;
}

.foot__social {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 550;
  color: var(--ink-soft);
}
.foot__social span { color: var(--ink-faint); }
.foot__social a { transition: color 0.3s var(--ease); }
.foot__social a:hover { color: var(--accent); }

.foot__tag {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.foot__closing {
  padding-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 550;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
}

/* ══════════════ reduced motion ══════════════ */
@media (prefers-reduced-motion: reduce) {
  .scrub { display: none !important; }
  .hero__line, .hero__lede, .hero__actions, .topbar, .marquees { animation: none !important; opacity: 1; transform: none; }
  html.js .reveal,
  html.js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .hero__light, .foot__mark::before, .reason__line em { animation: none; }
  .mq__track { width: 100%; animation: none; transform: none; }
  .mq__window { overflow: visible; mask-image: none; -webkit-mask-image: none; }
  .mq__set { flex-wrap: wrap; gap: 10px 18px; }
  .mq__set li { margin-right: 0; }
  .cta, .track__go { transition: none; }
}

/* very small screens */
@media (max-width: 560px) {
  .mq { flex-direction: column; align-items: flex-start; gap: 12px; }
  .mq__window { width: 100%; }
  .mq__set li { margin-right: clamp(20px, 7vw, 32px); }
}
