/* ============================================================
   Innovious Solutions — Global Styles
   Visual spec: docs/INNOVIOUS_VISUAL_SPEC.md
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */

:root {
  /* — Innovious Register (light) — */
  --bg: #FAFAF9;
  --text: #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-muted: #6B6B6B;
  --rule: #E5E5E3;
  --link: #1A1A1A;
  --link-underline: #1A1A1A;
  --focus-ring: #3385E8;

  /* — Moove Register (dark) — */
  --bg-moove: #04060B;
  --text-moove: #FFFFFF;
  --text-moove-secondary: rgba(255, 255, 255, 0.58);
  --text-moove-muted: rgba(255, 255, 255, 0.48);
  --rule-moove: #2a2a3a;
  --link-moove: #FFFFFF;
  --accent: #3385E8;

  /* — Typography — */
  --sans: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;

  --t-hero: clamp(48px, 8vw, 96px);
  --t-section: clamp(32px, 5vw, 56px);
  --t-statement: clamp(36px, 5.5vw, 64px);
  --t-moove-head: clamp(32px, 4.5vw, 50px);
  --t-body-lg: clamp(16px, 1.4vw, 19px);
  --t-body: clamp(15px, 1.2vw, 17px);
  --t-nav: 14px;
  --t-micro: 13px;

  /* — Layout — */
  --max-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 72px;

  /* — Easing — */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset & Base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (pointer: fine) {
  body {
    cursor: none;
  }

  a, button {
    cursor: none;
  }

  input, textarea, select, [contenteditable] {
    cursor: auto;
  }
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--link);
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Focus States ---------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* ---------- Custom Cursor ---------- */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
  transition: width 0.2s var(--ease), height 0.2s var(--ease), opacity 0.2s;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: #fff;
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  opacity: 0.4;
  mix-blend-mode: difference;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
}

/* Cursor hover state */
.cursor-dot.hov {
  width: 4px;
  height: 4px;
}

.cursor-ring.hov {
  width: 40px;
  height: 40px;
  opacity: 0.6;
}

/* Hide cursor on coarse/touch devices */
@media (pointer: coarse), (pointer: none) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ---------- Screen Reader Only ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Container ---------- */

.container {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(248, 247, 245, 0.84);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.055);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.025);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-h);
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.nav-brand {
  min-width: 120px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-logo-light {
  display: block;
  height: 28px;
  width: auto;
}

.nav-logo-dark {
  display: none;
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-self: end;
}

.nav-links a {
  font-size: var(--t-nav);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--text);
  min-height: 44px;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--link-underline);
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

/* Nav dark register */

.site-nav.nav-dark .nav-logo-light {
  display: none;
}

.site-nav.nav-dark .nav-logo-dark {
  display: block;
}

.site-nav.nav-dark .nav-links a {
  color: var(--text-moove);
}

.site-nav.nav-dark .nav-links a::after {
  background-color: var(--accent);
}

.site-header.nav-dark {
  background: rgba(5, 7, 12, 0.84);
  backdrop-filter: blur(16px) saturate(125%);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

/* Mobile navigation */

.nav-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background-color: var(--text);
  transition: background-color 0.3s var(--ease);
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 5px;
}

.site-nav.nav-dark .nav-toggle-bar {
  background-color: var(--text-moove);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--bg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.mobile-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-overlay.overlay-dark {
  background-color: var(--bg-moove);
}

.mobile-overlay.overlay-dark .mobile-menu a {
  color: var(--text-moove);
}

.mobile-overlay.overlay-dark .mobile-legal {
  border-top-color: var(--rule-moove);
}

.mobile-overlay.overlay-dark .mobile-legal a {
  color: var(--text-moove-muted);
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.mobile-menu a {
  min-height: 44px;
  padding: 0.75rem 0;
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 400;
  color: var(--text);
}

.mobile-legal {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.mobile-legal a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  font-size: var(--t-micro);
  color: var(--text-muted);
}

/* ============================================================
   MOMENTS — Shared
   ============================================================ */

.moment {
  width: 100%;
}

/* ============================================================
   MOMENT 1 — OPENING (Logo Hero)
   ============================================================ */

.moment-opening {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: var(--nav-h);
}

.hero-content {
  transform: translateY(-4svh);
}

.hero-logo {
  width: clamp(420px, 30vw, 600px);
  margin: 0 auto 0.85rem;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-sub {
  display: flex;
  justify-content: center;
  align-items: baseline;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  column-gap: clamp(1rem, 1.25vw, 1.35rem);
  row-gap: 0;
  white-space: nowrap;

  font-family: var(--sans);
  font-size: clamp(20px, 1.3vw, 23px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text);
}

.hero-source-word {
  display: inline-block;
  font: inherit;
}

/* Scroll indicator */

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 1;
  transition: opacity 0.6s ease;
  min-height: 44px;
}

.hero-scroll.hidden {
  opacity: 0;
  pointer-events: none;
}

.hero-scroll__line {
  display: block;
  width: 1px;
  height: 32px;
  background-color: var(--text-muted);
  opacity: 0.52;
  animation: heroScrollPulse 2.4s ease-in-out infinite;
}

.hero-scroll__label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  opacity: 0.68;
}

@keyframes heroScrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.52; }
  50% { transform: scaleY(1.4); opacity: 0.78; }
}

/* ============================================================
   MOMENT 2 — ABOUT (statement + client logos)
   Centred flex stack inside full-screen wrapper.
   ============================================================ */

.moment-about {
  min-height: calc(100svh - var(--nav-h));
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(5rem, 8vh, 8rem);
  gap: clamp(5rem, 8vh, 7rem);
  transform: translateY(-3svh);
}

#about {
  scroll-margin-top: calc(var(--nav-h) + 2rem);
}

.moment-about > .moment-statement,
.moment-about > .moment-logos {
  width: 100%;
  min-height: 0;
  padding-block: 0;
}

@media (max-width: 1023px) {
  .moment-about {
    overflow-x: clip;
  }
}

.statement-headline {
  font-size: var(--t-statement);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 900px;
  margin-bottom: 1.5rem;
}

.statement-body {
  font-size: var(--t-body-lg);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(26, 26, 26, 0.68);
  max-width: 640px;
}

/* About headline word spans */

.about-word,
.about-destination {
  display: inline-block;
}

.has-opening-transition .about-destination {
  will-change: transform, opacity;
}

/* ============================================================
   Creative Fracture Effect
   ============================================================ */

:root {
  --fracture-duration: 500ms;
}

.creative-fracture {
  position: relative;
  isolation: isolate;
  color: inherit;
  white-space: nowrap;
}

.creative-fracture__base,
.creative-fracture__fragment,
.creative-fracture__smear,
.creative-fracture__flip {
  display: block;
  white-space: nowrap;
}

.creative-fracture__base {
  position: relative;
  z-index: 1;
}

.creative-fracture__fragment,
.creative-fracture__smear,
.creative-fracture__flip {
  position: absolute;
  inset: 0;
  opacity: 0;
  color: inherit;
  pointer-events: none;
  will-change: transform, opacity;
}

.creative-fracture__fragment {
  z-index: 3;
}

.creative-fracture__smear {
  z-index: 4;
}

.creative-fracture__flip {
  z-index: 5;
  transform-origin: center;
  clip-path: polygon(-3% 8%, 103% 0%, 103% 95%, -3% 103%);
}

.creative-fracture__fragment:nth-of-type(2) {
  clip-path: polygon(-3% -3%, 103% -3%, 103% 15%, -3% 24%);
}

.creative-fracture__fragment:nth-of-type(3) {
  clip-path: polygon(-3% 21%, 103% 12%, 103% 31%, -3% 39%);
}

.creative-fracture__fragment:nth-of-type(4) {
  clip-path: polygon(-3% 36%, 103% 27%, 103% 46%, -3% 54%);
}

.creative-fracture__fragment:nth-of-type(5) {
  clip-path: polygon(-3% 51%, 103% 42%, 103% 60%, -3% 68%);
}

.creative-fracture__fragment:nth-of-type(6) {
  clip-path: polygon(-3% 65%, 103% 56%, 103% 74%, -3% 82%);
}

.creative-fracture__fragment:nth-of-type(7) {
  clip-path: polygon(-3% 79%, 103% 70%, 103% 86%, -3% 93%);
}

.creative-fracture__fragment:nth-of-type(8) {
  clip-path: polygon(-3% 90%, 103% 83%, 103% 96%, -3% 101%);
}

.creative-fracture__fragment:nth-of-type(9) {
  clip-path: polygon(-3% 97%, 103% 92%, 103% 103%, -3% 103%);
}

.creative-fracture__smear--1 {
  clip-path: polygon(-5% 9%, 105% 3%, 105% 17%, -5% 24%);
}

.creative-fracture__smear--2 {
  clip-path: polygon(-5% 38%, 105% 31%, 105% 45%, -5% 53%);
}

.creative-fracture__smear--3 {
  clip-path: polygon(-5% 59%, 105% 52%, 105% 66%, -5% 73%);
}

.creative-fracture__smear--4 {
  clip-path: polygon(-5% 80%, 105% 74%, 105% 89%, -5% 96%);
}

.creative-fracture.is-chaotic .creative-fracture__base {
  opacity: 0;
}

.creative-fracture.is-chaotic .creative-fracture__fragment {
  opacity: 1;
}

.creative-fracture.is-chaotic .creative-fracture__fragment--1,
.creative-fracture.is-chaotic .creative-fracture__fragment--5 {
  animation: fracture-a var(--fracture-duration) steps(1, end) both;
}

.creative-fracture.is-chaotic .creative-fracture__fragment--2,
.creative-fracture.is-chaotic .creative-fracture__fragment--6 {
  animation: fracture-b var(--fracture-duration) steps(1, end) both;
}

.creative-fracture.is-chaotic .creative-fracture__fragment--3,
.creative-fracture.is-chaotic .creative-fracture__fragment--7 {
  animation: fracture-a var(--fracture-duration) steps(1, end) reverse both;
}

.creative-fracture.is-chaotic .creative-fracture__fragment--4,
.creative-fracture.is-chaotic .creative-fracture__fragment--8 {
  animation: fracture-b var(--fracture-duration) steps(1, end) reverse both;
}

.creative-fracture.is-chaotic .creative-fracture__smear--1,
.creative-fracture.is-chaotic .creative-fracture__smear--3 {
  animation: smear-left var(--fracture-duration) steps(1, end) both;
}

.creative-fracture.is-chaotic .creative-fracture__smear--2,
.creative-fracture.is-chaotic .creative-fracture__smear--4 {
  animation: smear-right var(--fracture-duration) steps(1, end) both;
}

.creative-fracture.is-chaotic .creative-fracture__flip {
  animation: haunted-flip var(--fracture-duration) steps(1, end) both;
}

@keyframes fracture-a {
  0%, 100% { transform: translate3d(0, 0, 0) skewX(0deg) scaleX(1); opacity: 1; }
  7% { transform: translate3d(-13px, -2px, 0) skewX(-5deg) scaleX(1.03); }
  15% { transform: translate3d(20px, 3px, 0) skewX(6deg) scaleX(0.96); }
  24% { transform: translate3d(-31px, -4px, 0) skewX(-8deg) scaleX(1.13); }
  33% { transform: translate3d(9px, 1px, 0); opacity: 0.3; }
  42% { transform: translate3d(35px, -3px, 0) skewX(8deg) scaleX(0.91); }
  51% { transform: translate3d(-18px, 4px, 0) scaleX(1.18); }
  61% { transform: translate3d(6px, -1px, 0); }
  71% { transform: translate3d(-28px, 3px, 0) skewX(-7deg) scaleX(0.94); }
  82% { transform: translate3d(22px, -3px, 0) scaleX(1.11); }
  92% { transform: translate3d(-7px, 1px, 0); }
}

@keyframes fracture-b {
  0%, 100% { transform: translate3d(0, 0, 0) skewX(0deg) scaleX(1); opacity: 1; }
  6% { transform: translate3d(21px, 4px, 0) skewX(7deg) scaleX(0.94); }
  16% { transform: translate3d(-27px, -3px, 0) skewX(-7deg) scaleX(1.12); }
  25% { transform: translate3d(12px, 5px, 0) scaleX(1.2); }
  35% { transform: translate3d(38px, -4px, 0) skewX(9deg) scaleX(0.86); }
  44% { transform: translate3d(-11px, 2px, 0); opacity: 0.25; }
  54% { transform: translate3d(-34px, -5px, 0) skewX(-9deg) scaleX(1.08); }
  64% { transform: translate3d(24px, 3px, 0) scaleX(0.93); }
  74% { transform: translate3d(-6px, -2px, 0); }
  84% { transform: translate3d(29px, 4px, 0) scaleX(1.14); }
  93% { transform: translate3d(-10px, -2px, 0); }
}

@keyframes smear-left {
  0%, 7%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scaleX(1); }
  13% { opacity: 0.42; transform: translate3d(-68px, 0, 0) scaleX(1.48); }
  19% { opacity: 0; transform: translate3d(14px, 0, 0) scaleX(0.76); }
  39% { opacity: 0.34; transform: translate3d(-88px, 0, 0) scaleX(1.66); }
  45% { opacity: 0; transform: translate3d(0, 0, 0) scaleX(1); }
  66% { opacity: 0.38; transform: translate3d(-56px, 0, 0) scaleX(1.34); }
  73% { opacity: 0; transform: translate3d(0, 0, 0) scaleX(1); }
}

@keyframes smear-right {
  0%, 10%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scaleX(1); }
  17% { opacity: 0.38; transform: translate3d(75px, 0, 0) scaleX(1.52); }
  23% { opacity: 0; transform: translate3d(-17px, 0, 0) scaleX(0.73); }
  48% { opacity: 0.32; transform: translate3d(94px, 0, 0) scaleX(1.71); }
  54% { opacity: 0; transform: translate3d(0, 0, 0) scaleX(1); }
  76% { opacity: 0.36; transform: translate3d(61px, 0, 0) scaleX(1.4); }
  83% { opacity: 0; transform: translate3d(0, 0, 0) scaleX(1); }
}

@keyframes haunted-flip {
  0%, 12%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scaleX(1); }
  13% { opacity: 0.82; transform: translate3d(30px, -2px, 0) scaleX(-1.05); }
  20% { opacity: 0.55; transform: translate3d(-35px, 2px, 0) scaleX(-1.14); }
  25% { opacity: 0; transform: translate3d(0, 0, 0) scaleX(1); }
  48% { opacity: 0.66; transform: translate3d(-25px, 1px, 0) scaleX(-0.96); }
  54% { opacity: 0; transform: translate3d(31px, -2px, 0) scaleX(-1.1); }
  74% { opacity: 0.72; transform: translate3d(18px, 0, 0) scaleX(-1.02); }
  80% { opacity: 0; transform: translate3d(-10px, 0, 0) scaleX(1); }
}

.technology-emphasis {
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.technology-period {
  display: inline;
}

.underline-word {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.text-draw__box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.22em;
  height: 0.42em;
  pointer-events: none;
}

.text-draw__box svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Opening story — sticky stage (desktop enhanced, JS-gated) */

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  html.opening-transition-layout .opening-story,
  html.opening-prepaint-guard .opening-story {
    position: relative;
    height: 320svh;
  }

  html.opening-transition-layout .opening-stage,
  html.opening-prepaint-guard .opening-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    overflow: hidden;
  }

  html.opening-transition-layout .opening-stage .moment-opening,
  html.opening-transition-layout .opening-stage .moment-about,
  html.opening-prepaint-guard .opening-stage .moment-opening,
  html.opening-prepaint-guard .opening-stage .moment-about {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100svh;
  }

  html.opening-transition-layout .opening-stage .moment-opening,
  html.opening-prepaint-guard .opening-stage .moment-opening {
    min-height: 100svh;
    z-index: 1;
  }

  html.opening-transition-layout .opening-stage .moment-about,
  html.opening-prepaint-guard .opening-stage .moment-about {
    min-height: 100svh;
    padding-block: 0;
    gap: clamp(4rem, 6vh, 6rem);
    transform: none;
    z-index: 2;
    background: var(--bg);
  }

  html.opening-prepaint-guard .opening-stage {
    visibility: hidden;
  }

  /* A reload begins with an unknown scroll owner. Keep the Opening out of
     paint until the Contact flow contract has given the browser its final
     document extent and the startup coordinator has made that decision. */
  html.opening-startup-pending .opening-stage {
    visibility: hidden!important;
  }

  /* Once the coordinator has confirmed a restored non-top position, retain
     only the Opening hero guard. The About composition shares this stage and
     must remain available to its own synchronized ScrollTrigger timeline. */
  html.opening-startup-nontop .moment-opening {
    visibility: hidden!important;
  }

  /* A reload that began from restored mid-page scroll must not expose the
     Opening owner while Moove still owns the startup prepaint handoff. */
  html.opening-restored-startup.moove-three-prepaint .opening-stage {
    visibility: hidden!important;
  }
}

/* ============================================================
   MOMENT 2.5 — CLIENT LOGO CAROUSEL
   6 fixed slots, GSAP-driven rotation.
   ============================================================ */

.moment-logos {
  overflow: hidden;
}

.logos-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 3rem);
  flex-wrap: nowrap;
  width: 100%;
}

.logo-slot {
  position: relative;
  width: clamp(96px, 11vw, 160px);
  height: clamp(48px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-slot__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.logo-slot__inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 1;
}

/* ============================================================
   MOMENT 3 — MOOVE
   ============================================================ */

.moment-moove {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--bg-moove);
  color: var(--text-moove);
  overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(4.5rem, 8vh, 7rem));
  padding-bottom: clamp(6rem, 10vh, 9rem);
}

.moment-moove::before,
.moment-moove::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--bg-moove);
  z-index: 2;
  pointer-events: none;
}

.moment-moove::before {
  top: -2px;
}

.moment-moove::after {
  bottom: -2px;
}

.moove-stage {
  width: 100%;
  position: relative;
}

.container.moove-composition {
  width: min(94vw, 1700px);
  max-width: 1700px;
  padding-inline: 0;
  margin-inline: auto;
}

.moove-composition {
  display: grid;
  grid-template-columns: 0.8fr 1.7fr;
  align-items: center;
  gap: clamp(4rem, 6vw, 8rem);
}

.moove-intro {
  position: relative;
  align-self: center;
  max-width: 560px;
}

/* Masked typography reveal primitives (Moove intro only) */
.moove-mask {
  display: block;
  overflow: hidden;
}

.moove-mask__inner {
  display: block;
}

.moove-logo {
  width: clamp(190px, 19vw, 310px);
  margin-bottom: clamp(2.5rem, 5vh, 4.5rem);
  user-select: none;
  -webkit-user-drag: none;
}

.moove-slogan {
  font-size: clamp(38px, 4.2vw, 72px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--text-moove);
  max-width: 600px;
  margin-bottom: 1.75rem;
  text-wrap: balance;
}

.moove-split-word {
  display: inline-block;
  white-space: nowrap;
}

.moove-split-char {
  display: inline-block;
  will-change: transform, opacity;
}

.moove-body {
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 430px;
  margin-bottom: 0;
}

.moove-portal {
  display: block;
  width: 100%;
  min-width: 0;
  position: relative;
  color: var(--text-moove);
  text-decoration: none;
  outline-offset: 4px;
}

.moove-video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
  position: relative;
  border-radius: 20px;
}

.moove-video,
.moove-poster-fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.moove-video {
  background-color: #000;
}

.moove-portal-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
  padding:
    clamp(1rem, 1.35vw, 1.25rem)
    clamp(1rem, 1.6vw, 1.5rem);

  border-top:
    1px solid rgba(255, 255, 255, 0.4);

  border-bottom: 0;

  color: var(--text-moove);
  background-color: transparent;
}

.moove-gateway-main {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.4rem, 0.55vw, 0.65rem);
  min-width: 0;
}

.moove-gateway-prefix {
  display: block;
  width: clamp(118px, 7.8vw, 142px);
  height: auto;
  max-width: none;
  flex: 0 0 auto;
  position: relative;
  bottom: 3px;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 260ms var(--ease);
}

.moove-gateway-logo {
  display: block;
  width: clamp(118px, 9.5vw, 164px);
  height: auto;
  flex: 0 0 auto;
  user-select: none;
  -webkit-user-drag: none;
  transition:
    transform 260ms var(--ease),
    opacity 260ms var(--ease);
}

.moove-portal-arrow {
  flex: 0 0 auto;
  font-size: 1.05em;
  line-height: 1;
  transition:
    transform 260ms var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .moove-portal:hover .moove-video {
    transform: scale(1.01);
    transition: transform 700ms var(--ease);
  }

  .moove-video {
    transition: transform 700ms var(--ease);
  }

  .moove-portal-label:hover {
    border-color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.035);
  }

  .moove-portal-label:hover .moove-gateway-prefix {
    transform: translateX(4px);
  }

  .moove-portal-label:hover .moove-gateway-logo {
    transform: translateX(4px);
  }

  .moove-portal-label:hover .moove-portal-arrow {
    transform: translate(4px, -4px);
  }
}

.moove-portal:focus-visible {
  outline: 1px solid var(--text-moove);
  outline-offset: 6px;
}

.moove-portal:focus-visible .moove-portal-label {
  border-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.035);
}

.moove-portal:focus-visible .moove-gateway-prefix {
  transform: translateX(4px);
}

.moove-portal:focus-visible .moove-gateway-logo {
  transform: translateX(4px);
}

.moove-portal:focus-visible .moove-portal-arrow {
  transform: translate(4px, -4px);
}

/* ============================================================
   MOMENT 3 — MOOVE CINEMATIC TAKEOVER (enhancement)
   Desktop + motion permitted only
   ============================================================ */

@media
  (min-width: 1024px) and
  (prefers-reduced-motion: no-preference) {

  .moment-moove.moove-takeover-active {
    min-height: 260svh;
    display: block;
    padding: 0;
    overflow: visible;
    background-color: var(--bg-moove);
    color: var(--text-moove);
  }

  .moove-takeover-active .moove-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
    background-color: var(--bg-moove);
  }

  .moove-takeover-active .moove-composition {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    transform: none;
  }

  .moove-takeover-active .moove-intro {
    position: absolute;
    z-index: 2;
    margin: 0;
    will-change: transform, opacity;
  }

  .moove-takeover-active .moove-portal {
    position: absolute;
    z-index: 1;
    display: block;
    margin: 0;
    min-width: 0;
    will-change: left, top, width, height;
  }

  .moove-takeover-active .moove-video-frame {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    margin: 0;
    will-change: border-radius;
  }

  .moove-takeover-active .moove-video,
  .moove-takeover-active .moove-poster-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .moove-takeover-active .moove-portal-label {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    margin: 0;
    z-index: 3;
    opacity: 0;
    transform: translateY(14px);
    will-change: transform, opacity;
    white-space: normal;
  }
}

/* ============================================================
    MOOVE THREE.JS — pending state (desktop only)
    Applied immediately after capability check to lock layout
    before textures/GLB load. Identical scroll geometry to
    active state so document height is correct while GLB loads.
    ============================================================ */

@media (min-width: 1024px) {

  .moove-three-pending,
  html.moove-three-prepaint .moment-moove {
    min-height: calc(100svh + var(--moove-scroll-distance, 675vh));
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible clip;
    align-items: flex-start;
  }

  .moove-three-pending .moove-stage,
  html.moove-three-prepaint .moove-stage {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 100%;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
  }

  .moove-three-pending .moove-composition,
  html.moove-three-prepaint .moove-composition {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  /* Brand typography — upper-left negative space around the iPad */
  .moove-three-pending .moove-intro,
  html.moove-three-prepaint .moove-intro {
    display: block;
    position: absolute;
    z-index: 4;
    top: clamp(5rem, 15vh, 11rem);
    left: clamp(2.5rem, 7vw, 9rem);
    max-width: min(600px, 48vw);
  }

  .moove-three-pending .moove-portal,
  html.moove-three-prepaint .moove-portal {
    display: none;
  }

  /* Keep restored-scroll geometry in place without exposing an owner before
     its matching runtime state has synchronized. */
  html.moove-three-prepaint .moove-intro,
  html.moove-three-prepaint .moove-three-container,
  html.moove-three-prepaint .moove-chapter-vignette,
  html.moove-three-prepaint .moove-chapter-intro,
  html.moove-three-prepaint .moove-showreel-signature,
  html.moove-three-prepaint #contact,
  html.moove-three-prepaint .contact-gsap-field {
    visibility:hidden!important;
    opacity:0!important;
  }
}

/* ============================================================
   MOOVE V08 — continuous light environment
   This late override intentionally retires the previous dark portal register.
   ============================================================ */

.moment-moove {
  background: var(--bg);
  color: var(--text);
}

.moment-moove::before,
.moment-moove::after {
  background: var(--bg);
}

.moove-slogan,
.moove-body,
.moove-portal,
.moove-portal-label {
  color: var(--text);
}

.moove-body {
  color: var(--text-secondary);
}

.moove-logo {
  filter: invert(1);
}

.moove-video-frame {
  background: #e9e9e6;
}

.moove-portal-label {
  border-top-color: rgba(26, 26, 26, 0.28);
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .site-header {
    z-index: 9700;
  }

  .moment-moove.moove-three-pending,
  .moment-moove.moove-three-active {
    position: relative;
    z-index: 9600;
    background: transparent;
    color: var(--text);
  }

  .moove-three-pending .moove-stage,
  .moove-three-active .moove-stage {
    background: transparent;
  }

  .moove-three-pending .moove-intro,
  .moove-three-active .moove-intro {
    z-index: 2;
  }

  .moove-three-pending .moove-three-container,
  .moove-three-active .moove-three-container {
    z-index: 1;
    pointer-events: none;
  }

  .moove-three-pending .moove-three-container canvas,
  .moove-three-active .moove-three-container canvas {
    background: transparent;
  }
}

/* ============================================================
   MOOVE THREE.JS — active state (desktop only)
   Three.js studio scene owns the full section.
   Old HTML composition is visually hidden.
   ============================================================ */

@media (min-width: 1024px) {

  /* -- Section provides scroll distance -- */
  .moove-three-active {
    min-height: calc(100svh + var(--moove-scroll-distance, 675vh));
    padding-top: 0;
    padding-bottom: 0;
    overflow: visible clip;
    align-items: flex-start;
  }

  /* -- Stage sticks while section scrolls -- */
  .moove-three-active .moove-stage {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 100%;
    height: 100svh;
    min-height: 100svh;
    overflow: hidden;
  }

  /* -- Composition fills the stage -- */
  .moove-three-active .moove-composition {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  /* -- Old HTML portal hidden; brand typography overlays the frame -- */
  .moove-three-active .moove-intro {
    display: block;
    position: absolute;
    z-index: 4;
    top: clamp(5rem, 15vh, 11rem);
    left: clamp(2.5rem, 7vw, 9rem);
    max-width: min(600px, 48vw);
  }

  .moove-three-active .moove-portal {
    display: none;
  }

  /* -- Three.js container owns the full stage -- */
  .moove-three-active .moove-three-container {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .moove-three-active .moove-three-container canvas {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
  }
}

/* ============================================================
   MOOVE THREE.JS — stable body-level media host
   Keeps #mooveVideo alive for VideoTexture without layout impact.
   ============================================================ */
.moove-three-media-host {
  position: fixed;
  left: 0;
  top: 0;
  width: 2px;
  height: 2px;
  opacity: 0.001;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.moove-three-media-host video {
  display: block;
  width: 2px;
  height: 2px;
}

/* ============================================================
   MOMENT 4 — CONTACT
   ============================================================ */

.moment-contact {
  min-height: calc(100svh - var(--nav-h));
  display: flex;
  flex-direction: column;
}

/* Contact grid (ported from Moove source) */

/* Wider container override for Contact so the heading has room */
.container.contact-grid {
  width: min(86vw, 1480px);
  max-width: 1480px;
  padding-inline: 0;
}

.contact-grid {
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(3rem, 4vw, 5rem);
  padding-top: clamp(9rem, 14vh, 13rem);
  padding-bottom: clamp(4rem, 6vh, 7rem);
  padding-inline: var(--gutter);
  transform: translateY(clamp(2rem, 3.5svh, 3.5rem));
}

/* Contact pitch (left column) */

.contact-pitch {
  width: 100%;
  max-width: 660px;
  justify-self: start;
  margin-bottom: 0;
}

.label {
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Contact heading (ported from Moove source) */

.contact-eyebrow {
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.contact-title {
  font-size: var(--t-section);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 1.5rem;
}

.ct-line {
  display: block;
}

/* Second line: "something" + rotating word share the same baseline */
.ct-cycle-line {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 0.22em;
  white-space: nowrap;
  width: max-content;
  max-width: none;
}

.ct-static-word {
  flex: 0 0 auto;
}

.ct-cycle {
  display: inline-block;
  flex: 0 0 auto;
  width: var(--ct-cycle-reserved-width, auto);
  min-width: 0;
  will-change: transform;
}

.char {
  display: inline-block;
}

/* Contact description */

.contact-desc {
  font-size: var(--t-body-lg);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Contact meta (email, location) */

.contact-meta {
  margin-top: 3rem;
}

.contact-email {
  position: relative;
  display: inline-block;
  font-size: var(--t-body);
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: none;
}

.contact-email::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.16em;
  height: 1px;
  background: var(--text);
  opacity: 1;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.25s ease;
  pointer-events: none;
}

.contact-email:hover::after,
.contact-email:focus-visible::after {
  clip-path: inset(0 0 0 0);
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--text);
}

.contact-email:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

.contact-location {
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* Contact form (right column) */

.contact-form {
  width: 100%;
  max-width: 620px;
  justify-self: start;
  margin-left: 0;
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 0;
}

.cf-field {
  margin-bottom: 1.25rem;
}

.cf-field--full {
  margin-bottom: 2rem;
}

.cf-field label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.065em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.48);
  margin-bottom: 0.5rem;
}

.cf-field input,
.cf-field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: clamp(16px, 1vw, 17px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: rgba(26, 26, 26, 0.02);
  border: 1px solid rgba(26, 26, 26, 0.15);
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  border-radius: 8px;
  -webkit-appearance: none;
  appearance: none;
}

.cf-field input:focus,
.cf-field textarea:focus {
  border-color: rgba(26, 26, 26, 0.45);
  background-color: rgba(26, 26, 26, 0.04);
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: rgba(26, 26, 26, 0.36);
}

.cf-field input:-webkit-autofill,
.cf-field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #FAFAF9 inset !important;
  -webkit-text-fill-color: #1A1A1A !important;
  caret-color: #1A1A1A;
}

.cf-field textarea {
  resize: vertical;
  min-height: 120px;
}

.cf-actions {
  position: relative;
}

/* ---------- btn-cta (Moove component, monochrome) ---------- */

.btn-cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2.2rem;
  font: 400 var(--t-body)/1 var(--sans);
  letter-spacing: 0.02em;
  text-transform: none;
  white-space: nowrap;
  border-radius: 8px;
  text-decoration: none;
  background: transparent;
  color: #1A1A1A;
  border: 1.5px solid #1A1A1A;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  min-height: 44px;
  font-family: var(--sans);
}

@media (pointer: fine) {
  .btn-cta {
    cursor: none;
  }
}

.btn-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #1A1A1A 0%, #3a3a3a 100%);
  clip-path: circle(calc(var(--reveal-r, 0) * 1%)
                    at var(--reveal-x, 50%) var(--reveal-y, 50%));
  z-index: 0;
  pointer-events: none;
  will-change: clip-path;
}

.btn-cta:hover,
.btn-cta.is-hovering {
  color: #FAFAF9;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.12);
}

.btn-cta__label,
.btn-cta__arrow {
  position: relative;
  z-index: 1;
  transition: color 0.35s ease;
}

.btn-cta__arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.2, 0.6, 0.2, 1), color 0.35s ease;
}

.btn-cta:hover .btn-cta__arrow {
  transform: translateX(3px);
}

.btn-cta:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* Keyboard focus */

.btn-cta:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Reduced motion: disable ripple, keep static hover */

@media (prefers-reduced-motion: reduce) {
  .btn-cta::before {
    clip-path: none;
  }

  .btn-cta:hover::before,
  .btn-cta.is-hovering::before {
    clip-path: circle(100% at 50% 50%);
  }
}

/* Form sent state */

.cf-sent {
  display: none;
  font-size: var(--t-body);
  color: var(--text-secondary);
  padding: 0.75rem 0;
}

.cf-status {
  font-size: var(--t-micro);
  color: var(--text-muted);
  margin-top: 0.75rem;
  min-height: 1.5em;
}

.cf-privacy {
  font-size: var(--t-micro);
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 2.5rem;
  max-width: 520px;
}

.cf-privacy a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form success state */

.contact-form[data-submitted="true"] .cf-submit {
  display: none;
}

.contact-form[data-submitted="true"] .cf-sent {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
}

.site-footer .footer-inner {
  width: min(86vw, 1480px);
  max-width: 1480px;
  padding-inline: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-copy {
  font-size: var(--t-micro);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: var(--t-micro);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
  min-height: 44px;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.2s ease;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--link-underline);
  transition: width 0.2s ease-out;
}

.footer-nav a:hover::after,
.footer-nav a:focus-visible::after {
  width: 100%;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--text);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-page {
  padding-top: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 8vw, 6rem);
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
}

.legal-document {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
}

.legal-document__header {
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.legal-eyebrow {
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-document__header h1 {
  font-size: var(--t-section);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.legal-document__content {
  font-size: var(--t-body-lg);
  line-height: 1.7;
  color: var(--text);
}

.legal-section {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.85rem;
  padding-top: 0.5rem;
}

.legal-section p {
  margin-bottom: 1rem;
  color: var(--text);
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-list {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.legal-list li {
  margin-bottom: 0.4rem;
  color: var(--text);
}

.legal-list li:last-child {
  margin-bottom: 0;
}

.legal-contact-block {
  font-size: var(--t-body-lg);
  line-height: 1.7;
  color: var(--text);
}

.legal-contact-block p {
  margin-bottom: 0.35rem;
}

.legal-contact-block p:last-child {
  margin-bottom: 0;
}

.legal-contact-block strong {
  font-weight: 600;
}

.legal-document__content a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.legal-document__content a:hover {
  color: var(--text-secondary);
}

/* Legal link styling */

.legal-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.legal-link:hover {
  color: var(--text-secondary);
}

/* Legal subtitle */

.legal-subtitle {
  font-size: var(--t-body);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Legal note */

.legal-note {
  font-size: var(--t-micro);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Legal meta (date stamp) */

.legal-meta {
  font-size: var(--t-micro);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: clamp(2rem, 5vw, 3rem);
}

/* Development-only placeholder notice */

.legal-placeholder-notice {
  padding: 0.85rem 1rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-left: 2px solid var(--rule);
  background-color: rgba(0, 0, 0, 0.02);
}

.legal-placeholder-notice p {
  font-size: var(--t-micro);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .moove-video {
    display: none;
  }

  .moove-poster-fallback {
    display: block !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-scroll__line {
    animation: none;
  }

  /* Contact heading: static, no animation */
  .ct-cycle {
    visibility: visible !important;
  }

  /* Carousel: show static set, no animation */
  .logo-slot__inner img {
    filter: none !important;
  }

  /* Opening transition: static fallback */
  .about-destination {
    visibility: visible !important;
  }

  .hero-source-word {
    opacity: 1 !important;
  }

  .statement-body {
    opacity: 1 !important;
  }

  .moment-logos {
    opacity: 1 !important;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   RESPONSIVE — 960px (Contact grid stacks, Moove stacked layout)
   ============================================================ */

@media (max-width: 960px) {
  /* Opening transition disabled: show all content normally */
  .about-destination {
    visibility: visible !important;
  }

  .hero-source-word {
    opacity: 1 !important;
  }

  .statement-body {
    opacity: 1 !important;
  }

  .moment-logos {
    opacity: 1 !important;
  }

  .moment-moove {
    min-height: 100svh;
    padding-top: calc(var(--nav-h) + clamp(3.5rem, 10vw, 5rem));
    padding-bottom: clamp(5rem, 14vw, 8rem);
    overflow: hidden;
  }

  .moove-composition {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(3.5rem, 11vw, 6rem);
    transform: none;
    width: min(100% - 2 * var(--gutter), 900px);
    padding-inline: 0;
  }

  .moove-intro {
    width: 100%;
    max-width: 640px;
  }

  .moove-logo {
    width: clamp(170px, 52vw, 270px);
    margin-bottom: 2.5rem;
  }

  .moove-slogan {
    font-size: clamp(36px, 10.5vw, 58px);
    max-width: 12ch;
    line-height: 1.04;
  }

  .moove-body {
    max-width: 520px;
  }

  .moove-portal {
    width: 100%;
    margin-inline: auto;
  }

  .moove-video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-width: none;
    border-radius: 14px;
  }

  .moove-portal-label {
    gap: 0.85rem;
    padding: 1rem;
  }

.moove-gateway-main {
  gap: 0.35rem;
}

.moove-gateway-prefix {
  width: clamp(102px, 28vw, 128px);
  height: auto;
  bottom: 2px;
}

  .moove-gateway-logo {
    width: clamp(104px, 31vw, 142px);
  }

  /* Contact section stacks */
  .moment-contact {
    min-height: auto;
  }

  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(4rem, 12vw, 6rem);
    padding-top: clamp(7rem, 18vw, 10rem);
    padding-bottom: clamp(7rem, 18vw, 10rem);
    transform: none;
  }
}

/* ============================================================
   RESPONSIVE — 900px (hamburger nav)
   ============================================================ */

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE — 600px (mobile adjustments)
   ============================================================ */

@media (max-width: 600px) {
  .site-footer .footer-inner {
    width: calc(
      100% - var(--gutter) - var(--gutter)
    );
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-copy,
  .footer-nav {
    margin-bottom: 0;
  }

  .footer-nav {
    flex-direction: row;
    gap: 1.25rem;
  }

  /* Hero logo smaller on mobile */
  .hero-logo {
    width: clamp(260px, 70vw, 380px);
  }

  .hero-sub {
    column-gap: 0.75em;
    row-gap: 0;
    font-size: clamp(16px, 4.3vw, 19px);
  }

  .hero-content {
    transform: translateY(-2svh);
  }

  /* Contact heading: allow cycle line to wrap on narrow screens */
  .ct-cycle-line {
    flex-wrap: wrap;
    width: 100%;
    white-space: normal;
  }

  /* Contact form single column */
  .cf-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .cf-field {
    margin-bottom: 1.25rem;
  }

  /* Mobile menu logo */
  .mobile-logo {
    display: block;
    height: 32px;
    width: auto;
    margin: 0 auto 1rem;
  }

  /* Legal pages mobile */
  .legal-page {
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 2.5rem;
  }

  .legal-document__header h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .legal-section h2 {
    font-size: clamp(18px, 5vw, 22px);
  }

  /* Carousel: 3-column grid on mobile */
  .logos-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem 1rem;
    justify-items: center;
  }

  .logo-slot {
    width: 100%;
    max-width: 120px;
    height: 40px;
  }

  /* About wrapper: full-screen minimum at all widths */
  .moment-about {
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(6rem, 14vw, 9rem);
    padding-bottom: clamp(7rem, 17vw, 10rem);
    gap: clamp(5rem, 13vw, 7rem);
    transform: translateY(-1svh);
  }
}
