/* Studio Pilot — OBLO-inspired static design system */

:root {
  --blue: #2e5bff;
  --blue-deep: #1a3fd4;
  --navy: #0a1144;
  --navy-soft: #151b52;
  --cream: #f5f0e6;
  --cream-dark: #ebe4d6;
  --yellow: #f5e642;
  --yellow-hot: #ffe500;
  --orange: #ff5a1f;
  --pink: #ff4d8d;
  --magenta: #e83a7a;
  --white: #ffffff;
  --ink: #0a1144;
  --muted: rgba(10, 17, 68, 0.62);
  --muted-on-dark: rgba(255, 255, 255, 0.62);
  --line: rgba(10, 17, 68, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.18);
  --radius: 4px;
  --radius-pill: 999px;
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --header-h: 72px;
  --font-display: "Anton", "Arial Narrow", Impact, sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Full-page stage — one panel replaces the next (OBLO-style) */
body.snap-page {
  overflow: hidden;
  height: 100vh;
  height: 100dvh;
}

/* Compact legal footer stays reachable on desktop snap pages */
body.snap-page .site-footer {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.7rem 0;
  background: rgba(10, 17, 68, 0.88);
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

body.snap-page .site-footer .footer-nav a {
  color: rgba(255, 255, 255, 0.75);
}

body.snap-page .site-footer .footer-nav a:hover {
  color: var(--white);
}

body.snap-page main {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

body.snap-page .snap-section {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 0.75rem);
  padding-bottom: 2.75rem; /* room for fixed legal footer */
  box-sizing: border-box;
  transform: translate3d(0, 100%, 0);
  transition:
    transform 0.95s cubic-bezier(0.65, 0.05, 0.2, 1),
    filter 0.95s cubic-bezier(0.65, 0.05, 0.2, 1);
  will-change: transform, filter;
  z-index: 1;
  pointer-events: none;
  transform-origin: 50% 50%;
}

body.snap-page .snap-section.is-active {
  transform: translate3d(0, 0, 0) scale(1);
  filter: none;
  z-index: 3;
  pointer-events: auto;
}

/* Parallax: outgoing panel lags + scales back while the next covers it */
body.snap-page .snap-section.is-prev {
  transform: translate3d(0, -26%, 0) scale(0.94);
  filter: brightness(0.82);
  z-index: 2;
}

body.snap-page .snap-section.is-past {
  transform: translate3d(0, -100%, 0) scale(0.92);
  filter: brightness(0.7);
  z-index: 1;
}

body.snap-page .snap-section.is-active .reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  body.snap-page .snap-section {
    transition: transform 0.45s ease;
  }

  body.snap-page .snap-section.is-prev,
  body.snap-page .snap-section.is-past {
    transform: translate3d(0, -100%, 0) scale(1);
    filter: none;
  }
}

/* Fit-to-viewport stage: content centered + scaled */
body.snap-page .panel-fit {
  flex: 1;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: var(--pad);
}

body.snap-page .panel-fit-shell {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

body.snap-page .panel-fit-inner {
  width: min(100vw - (var(--pad) * 2), var(--max));
  transform: scale(1);
  transform-origin: top left;
  will-change: transform;
}

body.snap-page .panel-fit-inner > .container {
  width: 100%;
  margin: 0;
}

body.snap-page .panel-fit-inner > .hero-grid {
  width: 100%;
  margin: 0;
}

body.snap-page .section {
  padding-top: calc(var(--header-h) + 0.75rem);
  padding-bottom: 1rem;
}

body.snap-page .hero {
  min-height: 0;
  height: 100%;
  padding-top: calc(var(--header-h) + 0.75rem);
  padding-bottom: 1rem;
}

/* Minimal side dots — no numbers */
.snap-rail {
  position: fixed;
  right: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: center;
}

.snap-rail a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.28;
  transition: opacity 0.25s, transform 0.25s;
}

.snap-rail a.is-active {
  opacity: 1;
  transform: scale(1.35);
}

body.snap-page .snap-rail {
  color: var(--white);
}

body.snap-page .snap-rail.on-light {
  color: var(--navy);
}

/* Mobile / tablet: normal document scroll, no full-page snap */
@media (max-width: 900px) {
  body.snap-page {
    overflow: auto;
    height: auto;
  }

  body.snap-page .site-footer {
    display: block;
    position: static;
    background: var(--cream);
    color: var(--ink);
    border-top: 1px solid var(--line);
    backdrop-filter: none;
  }

  body.snap-page .site-footer .footer-nav a {
    color: inherit;
  }

  body.snap-page main {
    position: static;
    height: auto;
    overflow: visible;
  }

  body.snap-page .snap-section {
    position: relative !important;
    inset: auto !important;
    width: 100%;
    height: auto !important;
    min-height: 0;
    display: block;
    overflow: visible;
    padding: clamp(4rem, 10vw, 6rem) 0;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
    z-index: auto;
  }

  body.snap-page .snap-section.hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  body.snap-page .panel-fit,
  body.snap-page .panel-fit-shell,
  body.snap-page .panel-fit-inner {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    display: block !important;
    transform: none !important;
    padding: 0 !important;
    flex: none !important;
  }

  body.snap-page .panel-fit-inner > .container,
  body.snap-page .panel-fit-inner > .hero-grid {
    width: min(100% - (var(--pad) * 2), var(--max));
    margin-inline: auto;
  }

  body.snap-page .reveal {
    opacity: 1;
    transform: none;
  }

  .snap-rail {
    display: none !important;
  }
}

/* Scale type so full-screen panels feel filled, not tiny */
body.snap-page .display-xl {
  font-size: clamp(4.2rem, 11vw, 9rem);
}

body.snap-page .display-lg {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
}

body.snap-page .display-md {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
}

body.snap-page .lede {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  max-width: 42rem;
  line-height: 1.55;
}

body.snap-page .eyebrow,
body.snap-page .section-label,
body.snap-page .world-tag,
body.snap-page .counter {
  font-size: 0.85rem;
}

body.snap-page .section-head {
  margin-bottom: clamp(1.5rem, 3.5vh, 2.75rem);
}

body.snap-page .worlds,
body.snap-page .b2c-split {
  gap: 1rem;
}

body.snap-page .world-panel,
body.snap-page .b2c-tile {
  min-height: 0;
  padding: 1.6rem 1.7rem;
}

body.snap-page .world-panel h3,
body.snap-page .b2c-main h3 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
}

body.snap-page .world-panel > p,
body.snap-page .b2c-main > p {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  max-width: 42ch;
  line-height: 1.5;
}

body.snap-page .world-go {
  font-size: 0.85rem;
  margin-top: 1.6rem;
}

body.snap-page .b2c-kid {
  padding: 1.35rem 1.4rem;
}

body.snap-page .b2c-kid h4 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

body.snap-page .b2c-kid p:last-child {
  font-size: 1rem;
}

body.snap-page .card-grid,
body.snap-page .process-row {
  gap: 0.85rem;
}

body.snap-page .info-card,
body.snap-page .process-step {
  min-height: 0;
  padding: 1.35rem 1.4rem;
}

body.snap-page .info-card h3,
body.snap-page .process-step h3,
body.snap-page .principle h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.95rem);
}

body.snap-page .info-card p,
body.snap-page .process-step p,
body.snap-page .principle p {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.5;
}

body.snap-page .process-step .num {
  font-size: clamp(2.4rem, 3.5vw, 3.2rem);
}

body.snap-page .chip {
  min-height: 48px;
  font-size: 0.95rem;
  padding: 0.65rem 1.15rem;
}

body.snap-page .btn {
  min-height: 52px;
  font-size: 0.88rem;
  padding: 0.85rem 1.55rem;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

/* Grid backdrop like OBLO */
.grid-bg {
  position: relative;
  isolation: isolate;
}

.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(16.666% - 1px),
    rgba(255, 255, 255, 0.08) calc(16.666% - 1px),
    rgba(255, 255, 255, 0.08) 16.666%
  );
}

.grid-bg.on-cream::before {
  background-image: repeating-linear-gradient(
    to right,
    transparent 0,
    transparent calc(16.666% - 1px),
    rgba(10, 17, 68, 0.06) calc(16.666% - 1px),
    rgba(10, 17, 68, 0.06) 16.666%
  );
}

/* Typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

.eyebrow .num {
  color: var(--orange);
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
}

/* Key phrase highlight — brand keywords in accent color */
.mark {
  color: var(--orange);
}

.bg-navy .mark {
  color: var(--yellow);
}

.display-xl {
  font-size: clamp(3.8rem, 10vw, 8.2rem);
}

.display-lg {
  font-size: clamp(3rem, 7.5vw, 5.8rem);
}

.display-md {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
}

.display-sm {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  max-width: 40rem;
  line-height: 1.55;
  color: var(--muted);
}

.lede.on-dark {
  color: var(--muted-on-dark);
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header.on-dark.is-scrolled {
  background: rgba(10, 17, 68, 0.92);
  border-bottom-color: var(--line-on-dark);
}

.site-header .header-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--pad);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  line-height: 0;
  color: inherit;
}

.logo-img {
  display: block;
  height: clamp(18px, 2.2vw, 24px);
  width: auto;
}

.logo-img--dark {
  display: none;
}

/* Cream / light headers → dark wordmark */
body[data-theme="cream"]:not(.legal-page) .logo-img--light,
body:not(.legal-page) .site-header.is-scrolled:not(.on-dark) .logo-img--light {
  display: none;
}

body[data-theme="cream"]:not(.legal-page) .logo-img--dark,
body:not(.legal-page) .site-header.is-scrolled:not(.on-dark) .logo-img--dark {
  display: block;
}

.logo-mark {
  width: 28px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.logo-mark::before {
  left: 0;
  background: var(--orange);
}

.logo-mark::after {
  right: 0;
  background: var(--yellow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
  position: relative;
  padding-bottom: 0.2rem;
  transition: opacity 0.2s;
}

.nav a:hover,
.nav a.is-active {
  opacity: 1;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
}

.header-cta {
  justify-self: end;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  justify-self: end;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  padding: 0.75rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.btn-yellow:hover {
  background: var(--yellow-hot);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
}

.btn-ghost {
  background: transparent;
  border: none;
  padding-inline: 0.25rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-rect {
  border-radius: var(--radius);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.75rem;
}

/* Sections */
.section {
  padding: clamp(4rem, 10vw, 7.5rem) 0;
  position: relative;
}

.section-tight {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.hero {
  min-height: 100vh;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: 3rem;
  display: flex;
  align-items: center;
  background: var(--blue);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.hero .eyebrow {
  color: var(--orange);
  margin-bottom: 1.25rem;
}

.hero .eyebrow::before {
  background: var(--orange);
}

.hero .display {
  margin-bottom: 1.25rem;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.78);
}

.scroll-hint {
  position: absolute;
  left: var(--pad);
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-hint::before {
  content: "";
  width: 1px;
  height: 42px;
  background: rgba(255, 255, 255, 0.55);
}

.hero-art {
  position: relative;
  min-height: clamp(460px, 72vh, 760px);
  display: grid;
  place-items: center;
  overflow: visible;
}

/* Don’t clip 3D sculptures at the frame edges */
body.snap-page .snap-section:has([data-sculpture]),
body.snap-page .panel-fit:has([data-sculpture]),
body.snap-page .panel-fit-shell:has([data-sculpture]),
body.snap-page .panel-fit-inner:has([data-sculpture]) {
  overflow: visible;
}

.sculpture-stage,
.sculpture-stage canvas {
  overflow: visible;
}

.products-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  margin-bottom: 2rem;
}

.products-hero .hero-art {
  min-height: clamp(420px, 58vh, 640px);
}

.products-hero-copy .lede {
  max-width: 34rem;
  margin-top: 1.25rem;
}

.products-hero .sculpture-stage {
  width: min(100%, 100%);
}

.sculpture,
.pedestal {
  width: min(100%, 640px);
  aspect-ratio: 1 / 1.08;
  position: relative;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.28));
}

.pedestal-base {
  position: absolute;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  width: 72%;
  height: 14%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 35%, #ffffff 0%, #e8eeff 42%, #9eb0ff 78%, #6d82e0 100%);
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.28),
    inset 0 8px 18px rgba(255, 255, 255, 0.65),
    inset 0 -10px 16px rgba(40, 60, 140, 0.25);
}

.shape {
  position: absolute;
}

/* Volumetric shapes — soft clay / matte plastic like OBLO */
.shape-arch {
  width: 36%;
  height: 42%;
  left: 4%;
  bottom: 18%;
  border-radius: 999px 999px 0 0;
  background:
    linear-gradient(145deg, #ff9a5c 0%, #ff5a1f 45%, #c73a0a 100%);
  box-shadow:
    10px 14px 28px rgba(0, 0, 0, 0.28),
    inset 6px 8px 14px rgba(255, 210, 170, 0.45),
    inset -8px -10px 16px rgba(120, 30, 0, 0.35);
  -webkit-mask-image: radial-gradient(ellipse 56% 70% at 50% 100%, transparent 69%, #000 70%);
  mask-image: radial-gradient(ellipse 56% 70% at 50% 100%, transparent 69%, #000 70%);
}

.shape-cone {
  width: 72px;
  height: 92px;
  left: 40%;
  top: 4%;
  background: linear-gradient(180deg, #fff06a 0%, #f5e642 38%, #c4b00a 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  filter: drop-shadow(6px 12px 16px rgba(0, 0, 0, 0.28));
  box-shadow: none;
}

.shape-cone::after {
  content: "";
  position: absolute;
  left: 28%;
  top: 18%;
  width: 18%;
  height: 55%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), transparent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.shape-blue,
.shape-sphere {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  left: 46%;
  top: 46%;
  background:
    radial-gradient(circle at 32% 28%, #d9e6ff 0%, #7aa0ff 38%, #3d6aef 72%, #1a3fb8 100%);
  box-shadow:
    8px 14px 24px rgba(0, 0, 0, 0.3),
    inset -6px -8px 14px rgba(10, 30, 100, 0.35),
    inset 5px 6px 10px rgba(255, 255, 255, 0.45);
}

.shape-cube {
  width: 70px;
  height: 70px;
  left: 66%;
  bottom: 24%;
  border-radius: 12px;
  background:
    linear-gradient(145deg, #3a4588 0%, #0a1144 48%, #050824 100%);
  box-shadow:
    12px 20px 32px rgba(0, 0, 0, 0.42),
    inset 5px 6px 12px rgba(255, 255, 255, 0.22),
    inset -6px -8px 14px rgba(0, 0, 0, 0.5);
  transform: rotate(12deg);
  z-index: 2;
}

.shape-pink {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  right: 2%;
  top: 26%;
  background:
    radial-gradient(circle at 30% 26%, #ffc2d8 0%, #ff4d8d 40%, #c2185b 78%, #8e0e3f 100%);
  box-shadow:
    10px 18px 28px rgba(0, 0, 0, 0.38),
    inset -6px -8px 14px rgba(100, 10, 45, 0.35),
    inset 5px 6px 10px rgba(255, 255, 255, 0.4);
  z-index: 2;
}

.shape-semi {
  width: 100px;
  height: 50px;
  left: 12%;
  bottom: 10%;
  border-radius: 100px 100px 0 0;
  background:
    linear-gradient(180deg, #ffb6d0 0%, #ff8fb8 45%, #e85a90 100%);
  box-shadow:
    6px 10px 20px rgba(0, 0, 0, 0.25),
    inset 0 6px 10px rgba(255, 255, 255, 0.4),
    inset 0 -6px 10px rgba(140, 40, 70, 0.3);
}

.shape-ring {
  width: 84px;
  height: 84px;
  right: 4%;
  top: 4%;
  box-sizing: border-box;
  border-radius: 50%;
  background-color: transparent;
  border: 16px solid #7ebfff;
  border-top-color: #d8efff;
  border-left-color: #9ad0ff;
  border-right-color: #3d8fd0;
  border-bottom-color: #1a6fad;
  box-shadow:
    8px 14px 24px rgba(0, 0, 0, 0.32),
    inset 2px 2px 4px rgba(255, 255, 255, 0.2);
  filter: drop-shadow(6px 10px 16px rgba(0, 0, 0, 0.3));
  z-index: 3;
}

.float-a {
  animation: floaty 5.5s ease-in-out infinite;
}

.float-b {
  animation: floaty 4.4s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

.shape-cube.float-a,
.shape-cube.float-b {
  animation-name: floaty-rotate;
}

@keyframes floaty-rotate {
  0%,
  100% {
    transform: rotate(12deg) translateY(0);
  }
  50% {
    transform: rotate(12deg) translateY(-14px);
  }
}

/* Section themes */
.bg-cream {
  background: var(--cream);
  color: var(--ink);
}

.bg-cream-dark {
  background: var(--cream-dark);
  color: var(--ink);
}

.bg-navy {
  background: var(--navy);
  color: var(--white);
}

.bg-blue {
  background: var(--blue);
  color: var(--white);
}

.bg-yellow {
  background: var(--yellow);
  color: var(--navy);
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head.stack {
  grid-template-columns: 1fr;
  align-items: start;
}

.section-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.counter {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* Product worlds */
.worlds {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.worlds-duo {
  grid-template-columns: 1fr 1fr;
}

.worlds-duo .world-panel {
  min-height: clamp(260px, 38vh, 420px);
}

.b2c-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.b2c-tile {
  padding: 1.75rem 1.6rem;
  min-height: clamp(220px, 32vh, 360px);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  border: 1px solid var(--line-on-dark);
  background: rgba(255, 255, 255, 0.04);
}

.b2c-tile.learning {
  background: rgba(122, 215, 255, 0.1);
  border-color: rgba(122, 215, 255, 0.28);
}

.b2c-tile.entertainment {
  background: rgba(255, 77, 141, 0.1);
  border-color: rgba(255, 77, 141, 0.28);
}

.b2c-tile .world-tag {
  color: var(--yellow);
  margin-top: 0.5rem;
}

.b2c-tile h3 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.98;
  color: var(--white);
}

.b2c-tile p:last-child {
  color: var(--muted-on-dark);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.5;
  max-width: 36ch;
  margin-top: auto;
}

.world-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 0.25s var(--ease);
}

a.world-panel:hover,
.b2c-main:hover {
  transform: translateY(-3px);
}

.world-panel.dating {
  background: #ffd0e0;
  color: var(--ink);
}

.world-panel.social {
  background: #cfd8ff;
  color: var(--ink);
}

.world-panel.b2c-family {
  background: #0a1144;
  color: var(--white);
  padding: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.b2c-main {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem;
  background: linear-gradient(145deg, #1fbfa3 0%, #149e88 100%);
  color: var(--navy);
  transition: filter 0.2s;
  position: relative;
  overflow: hidden;
}

.panel-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.world-panel > *:not(.panel-deco),
.b2c-main > *:not(.panel-deco) {
  position: relative;
  z-index: 1;
}

.deco-circle {
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 77, 141, 0.28);
}

.deco-semi {
  position: absolute;
  right: 48px;
  top: 56px;
  width: 64px;
  height: 32px;
  border-radius: 64px 64px 0 0;
  background: rgba(245, 230, 66, 0.55);
}

.deco-sq {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 110px;
  height: 110px;
  background: rgba(46, 91, 255, 0.22);
  transform: rotate(12deg);
}

.deco-dot {
  position: absolute;
  right: 72px;
  top: 64px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f5e642;
}

.deco-tri {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-40%);
  width: 0;
  height: 0;
  border-left: 36px solid transparent;
  border-right: 36px solid transparent;
  border-bottom: 62px solid rgba(10, 17, 68, 0.18);
}

.deco-ring {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 10px solid rgba(245, 230, 66, 0.55);
}

.deco-pill {
  position: absolute;
  right: 100px;
  top: 28px;
  width: 22px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.b2c-main:hover {
  filter: brightness(1.05);
}

.b2c-kids {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.b2c-kid {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem 1.4rem;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.b2c-kid + .b2c-kid {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.b2c-kid .world-tag {
  color: var(--yellow);
}

.b2c-kid h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0.2rem 0 0.4rem;
}

.b2c-kid p:last-child {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.world-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.world-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.world-panel h3,
.b2c-main h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.98;
  margin-bottom: 0.75rem;
}

.world-panel > p,
.b2c-main > p {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: rgba(10, 17, 68, 0.62);
  flex: 1;
  max-width: 40ch;
  line-height: 1.5;
}

.world-go {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 1.5px solid currentColor;
}

/* Flat icons inside content cards */
.geo {
  display: block;
  width: 44px;
  height: 44px;
  position: relative;
  flex-shrink: 0;
}

.geo-heart {
  border-radius: 50%;
  background: #ff4d8d;
}

.geo-heart::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f5e642;
  right: -4px;
  top: -2px;
}

.geo-nodes {
  background: #2e5bff;
  border-radius: 8px;
}

.geo-nodes::before,
.geo-nodes::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  top: 10px;
}

.geo-nodes::before {
  left: 9px;
  background: #fff;
}

.geo-nodes::after {
  right: 9px;
  background: #f5e642;
  box-shadow: -13px 15px 0 0 #fff;
}

.geo-bolt {
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 40px solid #0a1144;
  background: transparent;
}

.geo-bolt::after {
  content: "";
  position: absolute;
  left: -7px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f5e642;
}

.geo-book {
  background: #7ad7ff;
  border-radius: 6px;
}

.geo-book::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 12px;
  height: 3px;
  background: var(--navy);
  box-shadow: 0 8px 0 var(--navy), 0 16px 0 var(--navy);
}

.geo-play {
  background: #ff4d8d;
  border-radius: 50%;
}

.geo-play::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 13px solid #fff;
}

/* Process */
.process-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.process-step {
  border-top: 2px solid currentColor;
  padding-top: 1.1rem;
  min-height: 220px;
}

.process-step .num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}

/* Capability / mechanic cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.info-card {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 1.35rem;
  min-height: 180px;
}

.on-dark .info-card {
  background: transparent;
  border-color: var(--line-on-dark);
  color: var(--white);
}

.info-card .icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
}

.info-card .icon.circle {
  border-radius: 50%;
  background: var(--yellow);
}

.info-card .icon.tri {
  width: 0;
  height: 0;
  border-left: 21px solid transparent;
  border-right: 21px solid transparent;
  border-bottom: 36px solid var(--pink);
  background: transparent;
}

.info-card .icon.sq {
  background: var(--blue);
}

.info-card .icon.semi {
  height: 21px;
  border-radius: 42px 42px 0 0;
  background: var(--orange);
  align-self: end;
}

/* Real WebGL sculpture stage */
.sculpture-stage {
  width: min(100%, 880px);
  max-width: 100%;
  aspect-ratio: 1 / 1.02;
  position: relative;
  margin-inline: auto;
}

.sculpture-stage--mini {
  width: min(100%, 420px);
  aspect-ratio: 1;
}

.sculpture-stage canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
}

.info-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.on-dark .info-card p {
  color: var(--muted-on-dark);
}

/* Tech chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.on-dark .chip {
  border-color: var(--line-on-dark);
  background: rgba(255, 255, 255, 0.06);
}

.chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

/* Principles */
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.principle {
  padding: 1.5rem;
  border-top: 3px solid var(--yellow);
  background: rgba(255, 255, 255, 0.04);
}

.principle h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 0.35rem 0 0.75rem;
}

.principle .label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
}

.principle p {
  color: var(--muted-on-dark);
}

/* Split editorial sections (Products page) */
.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.split.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.split.reverse .split-copy {
  order: 2;
}

.accent-dating {
  --accent: #ff4d8d;
  --accent-soft: #ffe0ec;
}

.accent-social {
  --accent: #6b7cff;
  --accent-soft: #e4e8ff;
}

.accent-b2c {
  --accent: #1fbfa3;
  --accent-soft: #d9f7f0;
}

.world-card {
  background: var(--accent-soft);
  padding: 1.25rem;
  border: 1px solid transparent;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.world-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  text-transform: uppercase;
}

.world-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.world-card .go {
  margin-top: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  align-self: flex-end;
}

.mech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.mech-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.15rem;
}

.mech-card .ico {
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
}

.mech-card .ico span {
  width: 14px;
  height: 14px;
  background: var(--accent);
}

.mech-card .ico.circle span {
  border-radius: 50%;
}

.mech-card .ico.semi span {
  height: 7px;
  border-radius: 14px 14px 0 0;
  align-self: end;
}

.mech-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.mech-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

.b2c-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.b2c-grid .mech-card:nth-child(1),
.b2c-grid .mech-card:nth-child(2) {
  grid-column: span 3;
}

.b2c-grid .mech-card:nth-child(n + 3) {
  grid-column: span 2;
}

/* Shared systems — compact grid (fits one screen, no scroll) */
.sys-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-on-dark);
  border-left: 1px solid var(--line-on-dark);
}

.sys-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-right: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
  transition: background 0.2s, color 0.2s;
  min-height: 0;
}

.sys-item:hover {
  background: var(--yellow);
  color: var(--navy);
}

.sys-item span {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}

.sys-item .mark {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: var(--yellow);
}

.sys-item:nth-child(3n) .mark {
  border-radius: 50%;
  background: var(--pink);
}

.sys-item:nth-child(3n + 1) .mark {
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--orange);
}

.sys-item:hover .mark {
  background: var(--navy);
}

body.snap-page .sys-list {
  flex-shrink: 1;
  min-height: 0;
}

body.snap-page .sys-item {
  padding: 0.7rem 0.9rem;
}

body.snap-page .sys-item span {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
}

@media (max-width: 900px) {
  .sys-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .sys-list {
    grid-template-columns: 1fr;
  }
}

/* CTA / contact */
.cta-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: end;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid currentColor;
  padding: 0.65rem 0;
  color: inherit;
  outline: none;
}

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

.form-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}

.form-success {
  margin-top: 0.5rem;
  padding: 1.25rem 1.35rem;
  background: rgba(10, 17, 68, 0.06);
  border: 1px solid rgba(10, 17, 68, 0.12);
}

.form-success-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

.form-success-text {
  margin: 0;
  color: rgba(10, 17, 68, 0.72);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--pad);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.footer-nav a {
  opacity: 0.7;
}

.footer-nav a:hover {
  opacity: 1;
}

/* Legal pages — dark header so white SVG logo stays legible */
.legal-page .site-header,
.legal-page .site-header.is-scrolled {
  background: rgba(10, 17, 68, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.legal-page .logo-img--light {
  display: block;
}

.legal-page .logo-img--dark {
  display: none;
}

.legal-main {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  background: var(--cream);
  color: var(--ink);
  min-height: 70vh;
}

.legal-wrap {
  max-width: 46rem;
}

.legal-wrap .display {
  margin: 0.75rem 0 1.75rem;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 2rem 0 0.75rem;
  line-height: 1.1;
}

.legal-body p {
  margin: 0 0 0.9rem;
  line-height: 1.65;
  color: rgba(10, 17, 68, 0.78);
}

.legal-body ul {
  list-style: disc;
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.legal-body li {
  margin: 0 0 0.45rem;
  line-height: 1.55;
  color: rgba(10, 17, 68, 0.78);
  padding-left: 0.15rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Theme helpers for header on different pages */
body[data-theme="dark"] .site-header:not(.is-scrolled),
body[data-theme="blue"] .site-header:not(.is-scrolled) {
  color: var(--white);
}

body[data-theme="cream"] .site-header:not(.is-scrolled) {
  color: var(--ink);
}

/* Mobile nav */
.nav-overlay {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .products-hero,
  .section-head,
  .split,
  .split.reverse,
  .cta-panel,
  .process-row,
  .card-grid,
  .card-grid.two,
  .card-grid.four,
  .principle-grid,
  .worlds,
  .worlds-duo,
  .b2c-split {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .b2c-grid {
    grid-template-columns: 1fr;
  }

  .b2c-grid .mech-card:nth-child(n) {
    grid-column: auto;
  }

  .process-row {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid.two,
  .mech-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.9);
  }

  .menu-toggle span {
    background: #fff;
  }

  .site-header .header-inner {
    grid-template-columns: 1fr auto;
  }

  /* Solid header background on mobile for readability */
  body[data-theme="blue"] .site-header,
  body[data-theme="dark"] .site-header {
    background: rgba(46, 91, 255, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--white);
    backdrop-filter: blur(12px);
  }

  body[data-theme="cream"] .menu-toggle,
  body.legal-page .menu-toggle {
    color: var(--navy);
    border-color: rgba(10, 17, 68, 0.35);
  }

  body[data-theme="cream"] .menu-toggle span,
  body.legal-page .menu-toggle span {
    background: var(--navy);
  }

  body[data-theme="cream"] .site-header,
  body.legal-page .site-header {
    background: rgba(245, 240, 230, 0.98);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    backdrop-filter: blur(12px);
  }

  body.legal-page .logo-img--light {
    display: none;
  }

  body.legal-page .logo-img--dark {
    display: block;
  }

  body[data-theme="blue"] .site-header.is-scrolled,
  body[data-theme="dark"] .site-header.is-scrolled {
    background: rgba(26, 63, 212, 0.98);
  }

  .nav-overlay.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--navy);
    color: var(--white);
    flex-direction: column;
    padding: 1.5rem;
  }

  .nav-overlay .close {
    align-self: flex-end;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    width: 44px;
    height: 44px;
    cursor: pointer;
  }

  .nav-overlay nav {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .nav-overlay a {
    font-family: var(--font-display);
    font-size: 2.4rem;
    text-transform: uppercase;
  }

  .nav-overlay .btn {
    margin-top: 2rem;
    align-self: flex-start;
  }

  .overlay-legal {
    margin-top: auto;
    display: flex;
    gap: 1.25rem;
    padding-top: 2rem;
  }

  .overlay-legal a {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
  }
}

@media (max-width: 640px) {
  .process-row,
  .card-grid.two,
  .mech-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .scroll-hint {
    display: none;
  }

}
