/* ────────────────────────────────────────────────────────────────
   OVERITE — "Orb" homepage
   One persistent WebGL logo orb travels through every section.
   Everything else stays quiet: frosted glass, light as the only colour.
   Props (index.php): data-accent, data-motion on <main>.
   ──────────────────────────────────────────────────────────────── */
:root {
  --void: #04040a;
  --void-2: #070816;
  --ink: #eef1ff;
  --ink-soft: rgba(226, 231, 255, 0.68);
  --ink-faint: rgba(226, 231, 255, 0.4);
  --line: rgba(160, 180, 255, 0.12);
  --cyan: #3fc6ff;
  --blue: #1f6bff;
  --magenta: #e040fb;
  --violet: #7a3cff;
  --spectrum: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 45%, var(--violet) 72%, var(--magenta) 100%);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --gutter: clamp(18px, 4vw, 72px);
  --font-display: 'Unbounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* Accent property — retunes the cool end of the spectrum */
.site[data-accent='pale-blue']  { --accent: #8ad6ff; }
.site[data-accent='mid-blue']   { --accent: #3fc6ff; }
.site[data-accent='deep-slate'] { --accent: #6f93c8; }
.site[data-accent='warm-sand']  { --accent: #e9d3ab; }
.site { --accent-glow: color-mix(in srgb, var(--accent) 35%, transparent); }

/* Motion intensity — subtle | balanced | expressive (read by JS too) */
.site[data-motion='subtle']     { --rise: 14px; --tilt: 4; }
.site[data-motion='balanced']   { --rise: 34px; --tilt: 8; }
.site[data-motion='expressive'] { --rise: 60px; --tilt: 13; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
html { scroll-behavior: auto !important; }

body {
  background: var(--void) !important;
  color: var(--ink) !important;
  font-family: var(--font-body);
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
::selection { background: rgba(224, 64, 251, 0.35); color: #fff; }

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

/* ══════════════ global layers ══════════════ */
.orb-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* no blend while behind the content: the canvas paints the page background itself */
  transition: opacity 0.6s var(--ease);
}
html.orb-front .orb-stage { z-index: 40; mix-blend-mode: screen; }
#orb-canvas { display: block; width: 100%; height: 100%; }

/* static fallback when WebGL is missing */
.orb-fallback {
  display: none;
  position: absolute;
  top: 50%;
  right: 8vw;
  width: min(46vw, 520px);
  aspect-ratio: 1;
  translate: 0 -50%;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, rgba(63, 198, 255, 0.28), rgba(31, 107, 255, 0.12) 55%, transparent 72%),
    radial-gradient(closest-side at 70% 30%, rgba(224, 64, 251, 0.25), transparent 70%);
  filter: drop-shadow(0 0 60px rgba(63, 198, 255, 0.4));
}
.orb-fallback svg { width: 54%; height: auto; }
html.no-orb .orb-fallback { display: grid; }
html.no-orb #orb-canvas { display: none; }

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

.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--spectrum);
  transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
  box-shadow: 0 0 12px rgba(224, 64, 251, 0.6);
}

/* ══════════════ shared type ══════════════ */
.site { position: relative; z-index: 1; }

.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(110px, 16vh, 190px) var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}
.eyebrow::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px var(--void), 0 0 0 4.5px color-mix(in srgb, var(--accent) 60%, transparent), 0 0 18px var(--accent-glow);
}

.heading {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3.9rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lede {
  max-width: 58ch;
  margin-top: 26px;
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* split-word mask reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w__i { display: inline-block; }
html.js .split .w__i {
  transform: translate3d(0, 105%, 0) rotate(4deg);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 45ms);
}
html.js .split.is-in .w__i { transform: none; }

/* generic reveal */
html.js .reveal {
  opacity: 0;
  transform: translate3d(0, var(--rise, 34px), 0);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
html.js .reveal.is-in { opacity: 1; transform: none; }

/* gradient light on emphasised words */
.hero__heading em,
.reason__line em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 0%, var(--blue) 35%, var(--magenta) 70%, var(--accent) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: spectrum 8s var(--ease-io) infinite alternate;
}
/* once split into words, the gradient moves onto each word span */
.split em { background: none; animation: none; color: var(--ink); }
.split em .w__i {
  background: linear-gradient(100deg, var(--accent) 0%, var(--blue) 35%, var(--magenta) 70%, var(--accent) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: spectrum 8s var(--ease-io) infinite alternate;
  padding-right: 0.04em;
}
@keyframes spectrum {
  from { background-position: 0% 0; }
  to { background-position: 100% 0; }
}

/* ══════════════ frosted glass + 3D tilt ══════════════ */
.glass {
  position: relative;
  background:
    linear-gradient(160deg, rgba(120, 140, 255, 0.09) 0%, rgba(20, 24, 60, 0.18) 45%, rgba(8, 10, 26, 0.32) 100%);
  border: 1px solid rgba(170, 190, 255, 0.13);
  border-radius: 22px;
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 30px 80px -40px rgba(0, 0, 0, 0.9);
}
.glass::before {
  /* spectral edge that brightens toward the cursor */
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 0%), rgba(224, 64, 251, 0.85), rgba(63, 198, 255, 0.5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.glass::after {
  /* glare */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.075), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.glass.is-hot::before, .glass.is-hot::after { opacity: 1; }

.tilt {
  transform-style: preserve-3d;
}
.tilt > * { transform: translateZ(0); }
html.js .tilt.reveal.is-in {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: opacity 0.9s var(--ease), transform 0.5s var(--ease);
}
.tilt.is-hot > * { transform: translateZ(28px); transition: transform 0.5s var(--ease); }

/* ══════════════ SECTION 01 — HERO ══════════════ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding: 0 var(--gutter);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(50rem 32rem at 72% 45%, rgba(31, 107, 255, 0.14), transparent 65%),
    radial-gradient(34rem 24rem at 10% 90%, rgba(10, 40, 140, 0.14), transparent 60%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(16px, 2vw, 26px) var(--gutter);
  transition: transform 0.6s var(--ease), padding 0.5s var(--ease), background-color 0.5s var(--ease);
  animation: fadein 1.2s var(--ease) 0.3s both;
}
.topbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 7, 18, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
html.is-scrolled .topbar { padding-top: 12px; padding-bottom: 12px; }
html.is-scrolled .topbar::before { opacity: 1; }
html.nav-hidden .topbar { transform: translate3d(0, -110%, 0); }

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.topbar__logo { width: 28px; height: 28px; filter: drop-shadow(0 0 8px rgba(63, 198, 255, 0.55)); }

.topbar__links {
  display: none;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 12, 30, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.topbar__links a {
  position: relative;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  overflow: hidden;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.topbar__links a:hover { color: var(--ink); background: rgba(238, 241, 255, 0.07); }

.topbar__cta {
  position: relative;
  display: inline-flex;
  padding: 0.7em 1.35em;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(238, 241, 255, 0.05);
  border: 1px solid rgba(238, 241, 255, 0.16);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.topbar__cta:hover { border-color: rgba(224, 64, 251, 0.6); background: rgba(224, 64, 251, 0.1); }
@media (min-width: 900px) { .topbar__links { display: flex; } }

.hero__body {
  flex: 1;
  display: grid;
  align-content: center;
  max-width: 980px;
  padding: clamp(120px, 18vh, 170px) 0 clamp(30px, 5vw, 60px);
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.4vw, 5.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-wrap: balance;
}
.hero__line { display: block; }
.hero__line--accent { color: var(--ink); }

.hero__lede {
  max-width: 470px;
  margin-top: clamp(24px, 3vw, 36px);
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
  animation: rise 1.2s var(--ease) 0.75s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: clamp(30px, 3.6vw, 48px);
  animation: rise 1.2s var(--ease) 0.9s both;
}

/* magnetic pill CTA with travelling light */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0.5em 0.5em 0.5em 1.6em;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  color: #fff;
  isolation: isolate;
  background: linear-gradient(#0a0c22, #0a0c22) padding-box, var(--spectrum) border-box;
  border: 1px solid transparent;
  box-shadow: 0 0 0 0 rgba(224, 64, 251, 0);
  transition: box-shadow 0.5s var(--ease);
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--spectrum);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.cta:hover { box-shadow: 0 18px 60px -12px rgba(224, 64, 251, 0.55), 0 0 40px -10px rgba(63, 198, 255, 0.6); }
.cta:hover::before { opacity: 1; }
.cta__label, .cta__icon { display: inline-flex; }
.cta__icon {
  width: 40px;
  height: 40px;
  place-items: center;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #fff;
  color: #0a0c22;
  transition: transform 0.5s var(--ease);
}
.cta__icon svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.cta:hover .cta__icon svg { transform: rotate(-40deg); }

.cta--ghost {
  padding: 0.95em 1.4em;
  background: rgba(238, 241, 255, 0.04);
  border: 1px solid rgba(238, 241, 255, 0.14);
  color: var(--ink-soft);
}
.cta--ghost::before { display: none; }
.cta--ghost:hover { color: var(--ink); box-shadow: none; border-color: rgba(238, 241, 255, 0.32); }

.hero__hint {
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: var(--ink-faint);
  padding-bottom: 22px;
  animation: fadein 1.4s var(--ease) 1.4s both;
}
.hero__mouse {
  width: 20px;
  height: 30px;
  border: 1px solid var(--ink-faint);
  border-radius: 12px;
  display: grid;
  justify-items: center;
  padding-top: 5px;
}
.hero__mouse i {
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: var(--ink);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(9px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
@media (min-width: 900px) and (min-height: 700px) { .hero__hint { display: flex; } }

@keyframes rise {
  from { opacity: 0; transform: translate3d(0, var(--rise, 34px), 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ─── brand rows ─── */
.marquees {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3.4vh, 36px) 0 clamp(26px, 4vh, 40px);
  border-top: 1px solid var(--line);
  animation: fadein 1.2s var(--ease) 1.1s both;
}
.mq { display: flex; align-items: center; gap: 26px; min-width: 0; }
.mq__label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 168px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-faint);
  white-space: nowrap;
}
.mq__label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
}
.mq__window {
  flex: 1;
  overflow: hidden;
  min-width: 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mq__track {
  display: flex;
  width: max-content;
  /* two identical sets: sliding exactly one set width (-50%) loops with no gap, forever */
  animation: mq-loop var(--mq-duration, 40s) linear infinite;
}
.mq:nth-child(2) .mq__track { animation-direction: reverse; }
@keyframes mq-loop {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
/* keyboard users can still stop the motion by focusing into a row */
.mq:focus-within .mq__track { animation-play-state: paused; }
.mq__set { display: flex; flex: none; align-items: center; margin: 0; padding: 0; list-style: none; }
.mq__set li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: clamp(28px, 3.4vw, 60px);
  font-family: var(--font-display);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(226, 231, 255, 0.62);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.mq__set li:hover { color: #fff; }
.mq__set img { display: block; width: auto; height: auto; max-width: 120px; max-height: 30px; object-fit: contain; }
.mq__ph {
  padding: 0.5em 1em;
  border: 1px dashed rgba(226, 231, 255, 0.22);
  border-radius: 999px;
  color: var(--ink-faint);
  font-size: 12px !important;
}

/* ══════════════ SECTION 02 — PROBLEM ══════════════ */
.problem { position: relative; }
.problem__grid {
  display: grid;
  gap: clamp(50px, 6vw, 90px);
}
@media (min-width: 1040px) {
  .problem__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .problem__intro { position: sticky; top: 22vh; }
}

.challenges {
  display: grid;
  gap: 18px;
  margin: 0;
}
@media (min-width: 640px) {
  .challenges { grid-template-columns: 1fr 1fr; }
  .challenge:nth-child(even) { margin-top: 70px; }
}

.challenge {
  display: grid;
  align-content: space-between;
  gap: 50px;
  min-height: 300px;
  padding: clamp(24px, 2.6vw, 34px);
}
.challenge__no {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 10px;
}
.challenge__no::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.challenge__body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  transition: color 0.4s var(--ease);
}
.challenge.is-hot h3 {
  background: var(--spectrum);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.challenge__body p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-soft);
}

/* ══════════════ SECTION 03 — SOLUTION ══════════════ */
.solution { position: relative; }

.pillars {
  display: grid;
  gap: 18px;
  margin-top: clamp(56px, 7vw, 100px);
}
@media (min-width: 960px) {
  .pillars { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .pillar:nth-child(2) { margin-top: 60px; }
  .pillar:nth-child(3) { margin-top: 120px; }
}

.pillar {
  padding: clamp(26px, 2.8vw, 38px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.pillar__axis {
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 40px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  box-shadow: inset 0 0 0 9px transparent, 0 0 24px var(--accent-glow);
  position: relative;
}
.pillar__axis::after {
  content: '';
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  border: 2px solid var(--magenta);
  box-shadow: 0 0 12px rgba(224, 64, 251, 0.7);
}
.pillar__no {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--ink-faint);
}
.pillar h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.pillar__t {
  margin-top: 14px;
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}
.pillar__d {
  margin-top: auto;
  padding-top: 26px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* our reason — the orb sits enormous behind this statement */
.reason {
  position: relative;
  margin: clamp(140px, 20vw, 260px) 0 clamp(40px, 6vw, 80px);
  min-height: 70vh;
  display: grid;
  align-content: center;
  text-align: center;
}
.reason__tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.reason__line {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(4, 4, 10, 0.8);
}
.reason__sub {
  margin: 26px auto 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ══════════════ SECTION 04 — ECOSYSTEM ══════════════ */
.ecosystem { position: relative; }
@media (min-width: 1040px) {
  .ecosystem .wrap { padding-left: max(var(--gutter), 30vw); }
}

.tracks {
  margin: clamp(48px, 6vw, 84px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.track { position: relative; border-bottom: 1px solid var(--line); }

.track__row {
  position: relative;
  display: grid;
  align-items: center;
  gap: 12px 30px;
  grid-template-columns: 44px 1fr;
  padding: clamp(24px, 2.8vw, 38px) clamp(10px, 1.4vw, 22px);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.track__row::before {
  /* light sweep fills the row on hover */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(500px circle at var(--mx, 50%) 50%, rgba(224, 64, 251, 0.16), transparent 60%),
    linear-gradient(90deg, rgba(31, 107, 255, 0.12), rgba(10, 12, 34, 0.25));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.7s var(--ease);
}
a.track__row:hover::before, a.track__row:focus-visible::before { clip-path: inset(0 0 0 0); }

.track__no { font-family: var(--font-display); font-size: 12px; color: var(--ink-faint); }
.track__name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  transition: transform 0.6s var(--ease);
}
a.track__row:hover .track__name { transform: translateX(10px); }
.track__desc { max-width: 44ch; font-size: 14.5px; line-height: 1.65; 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: 8px;
  padding: 0.4em 0.95em;
  border: 1px solid rgba(63, 198, 255, 0.32);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
}
.track__tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }
.track__tag--planned { border-color: rgba(224, 64, 251, 0.3); color: rgba(224, 64, 251, 0.85); }
.track__tag--planned::before { background: none; box-shadow: none; border: 1px solid currentColor; animation: none; }

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

.track__go {
  position: absolute;
  right: clamp(10px, 1.4vw, 22px);
  top: 50%;
  margin-top: -22px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.track__go svg { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
a.track__row:hover .track__go { color: #0a0c22; border-color: transparent; background: #fff; box-shadow: 0 0 30px rgba(224, 64, 251, 0.6); }
a.track__row:hover .track__go svg { transform: rotate(-40deg); }

@media (min-width: 900px) {
  .track__row,
  .track[data-status='planned'] .track__row { grid-template-columns: 52px minmax(0, 1fr) minmax(0, 1.15fr) 44px; padding-right: 80px; }
  .track__no, .track__name { grid-row: 1 / span 2; }
  .track__desc, .track__meta { grid-column: 3; }
}
.track__src { position: absolute; }

/* ══════════════ FOOTER ══════════════ */
.foot {
  position: relative;
  padding: clamp(80px, 12vw, 160px) var(--gutter) clamp(26px, 3.4vw, 44px);
}
.foot__mark {
  position: relative;
  display: grid;
  justify-items: center;
  gap: clamp(10px, 2vw, 24px);
}
.foot__orb {
  width: clamp(90px, 11vw, 160px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.foot__icon { width: 36%; height: auto; opacity: 0; }
html.no-orb .foot__icon { opacity: 1; }

.foot__word {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}
.foot__wordmark {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 15vw, 15rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  color: var(--ink);
  text-shadow: 0 0 60px rgba(47, 140, 255, 0.4);
  transition: opacity 0.8s var(--ease);
}
html.foot-live .foot__wordmark { opacity: 0; }
.foot__particles, .foot__glow {
  position: absolute;
  inset: -60px -2vw;
  width: calc(100% + 4vw);
  height: calc(100% + 120px);
  pointer-events: none;
}
.foot__glow { filter: blur(3px) saturate(1.5) brightness(1.5); opacity: 0.9; }

.foot__divider { height: 1px; margin-top: clamp(40px, 5vw, 70px); background: linear-gradient(90deg, transparent, var(--line) 20%, var(--line) 80%, transparent); }

.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 20px 0;
}
.foot__social { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.foot__social span { color: var(--ink-faint); }
.foot__social a { display: inline-block; transition: color 0.3s var(--ease); }
.foot__social a:hover { color: var(--magenta); }
.foot__tag { font-size: 13px; color: var(--ink-faint); }
.foot__closing {
  padding-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-align: center;
}

/* ══════════════ small screens ══════════════ */
@media (max-width: 899px) {
  .hero__body { align-content: end; padding-top: 52vh; padding-bottom: 30px; }
  .hero__heading { text-shadow: 0 4px 30px rgba(4, 4, 10, 0.7); }
}
@media (max-width: 560px) {
  .mq { flex-direction: column; align-items: flex-start; gap: 10px; }
  .mq__label { width: auto; }
  .mq__window { width: 100%; }
  .topbar__cta { padding: 0.6em 1em; font-size: 12.5px; }
  .challenge { min-height: 0; gap: 34px; }
  .pillar { min-height: 0; }
  .reason { min-height: 60vh; }
}

/* ══════════════ reduced motion ══════════════ */
@media (prefers-reduced-motion: reduce) {
  .grain, .hero__mouse i, .track__tag::before { animation: none; }
  .hero__lede, .hero__actions, .topbar, .marquees { animation: none; }
  html.js .reveal, html.js .reveal.is-in, html.js .split .w__i { opacity: 1; transform: none; transition: none; }
  .hero__heading em, .reason__line em { animation: none; }
  .mq__track { width: 100%; animation: none; transform: none; }
  .mq__set[aria-hidden="true"], .mq__set li[aria-hidden="true"] { display: 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; }
}

/* ══════════════ theme toggle ══════════════ */
.topbar__end { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(238, 241, 255, 0.16);
  background: rgba(238, 241, 255, 0.05);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.theme-toggle:hover { border-color: rgba(63, 198, 255, 0.55); background: rgba(63, 198, 255, 0.1); }
.theme-toggle svg {
  grid-area: 1 / 1;
  width: 18px;
  height: 18px;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
/* dark mode shows the sun (tap for light); light mode shows the moon */
.theme-toggle__moon { transform: translateY(140%) rotate(-60deg); opacity: 0; }
html[data-theme='light'] .theme-toggle__sun { transform: translateY(-140%) rotate(90deg); opacity: 0; }
html[data-theme='light'] .theme-toggle__moon { transform: none; opacity: 1; }

/* circular reveal between themes (View Transitions) */
::view-transition-old(root),
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* ══════════════ LIGHT THEME ══════════════
   Same layout and motion; ink on paper. The orb turns blue and black. */
html[data-theme='light'] {
  --void: #f4f6fb;
  --void-2: #e9edf7;
  --ink: #070a1a;
  --ink-soft: rgba(12, 18, 44, 0.7);
  --ink-faint: rgba(12, 18, 44, 0.46);
  --line: rgba(12, 32, 96, 0.13);
  color-scheme: light;
}
html[data-theme='light'] .site { --accent: #0a4dff; --accent-glow: rgba(10, 77, 255, 0.22); }
html[data-theme='light'] .site[data-accent='pale-blue'] { --accent: #2f7dff; }
html[data-theme='light'] .site[data-accent='deep-slate'] { --accent: #3c5f93; }
html[data-theme='light'] .site[data-accent='warm-sand'] { --accent: #9a7a3f; }

html[data-theme='light'].orb-front .orb-stage { mix-blend-mode: multiply; }
html[data-theme='light'] .grain { opacity: 0.035; }
html[data-theme='light'] ::selection { background: rgba(10, 77, 255, 0.2); color: var(--ink); }

html[data-theme='light'] .hero::before {
  background:
    radial-gradient(50rem 32rem at 72% 45%, rgba(10, 77, 255, 0.08), transparent 65%),
    radial-gradient(34rem 24rem at 10% 90%, rgba(10, 40, 140, 0.06), transparent 60%);
}

html[data-theme='light'] .topbar::before { background: rgba(244, 246, 251, 0.72); }
html[data-theme='light'] .topbar__logo { filter: none; }
html[data-theme='light'] .topbar__links { background: rgba(255, 255, 255, 0.55); }
html[data-theme='light'] .topbar__links a:hover { background: rgba(12, 32, 96, 0.06); }
html[data-theme='light'] .topbar__cta,
html[data-theme='light'] .theme-toggle { background: rgba(255, 255, 255, 0.6); border-color: rgba(12, 32, 96, 0.15); }
html[data-theme='light'] .topbar__cta:hover,
html[data-theme='light'] .theme-toggle:hover { border-color: rgba(10, 77, 255, 0.5); background: rgba(10, 77, 255, 0.07); }

html[data-theme='light'] .cta {
  background: linear-gradient(#070a1a, #070a1a) padding-box, linear-gradient(100deg, #0a4dff, #070a1a) border-box;
}
html[data-theme='light'] .cta::before { background: linear-gradient(100deg, #0a4dff, #1f3fbf); }
html[data-theme='light'] .cta:hover { box-shadow: 0 18px 50px -14px rgba(10, 77, 255, 0.55); }
html[data-theme='light'] .cta--ghost { background: rgba(255, 255, 255, 0.55); border-color: rgba(12, 32, 96, 0.15); color: var(--ink-soft); }
html[data-theme='light'] .cta--ghost:hover { border-color: rgba(12, 32, 96, 0.35); color: var(--ink); }

html[data-theme='light'] .hero__heading:not(.split) em,
html[data-theme='light'] .reason__line:not(.split) em,
html[data-theme='light'] .split em .w__i {
  background-image: linear-gradient(100deg, #0a4dff 0%, #1f3fbf 40%, #070a1a 75%, #0a4dff 100%);
}

html[data-theme='light'] .mq__label i { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
html[data-theme='light'] .mq__set li { color: rgba(12, 18, 44, 0.6); }
html[data-theme='light'] .mq__set li:hover { color: var(--ink); }
html[data-theme='light'] .mq__ph { border-color: rgba(12, 18, 44, 0.22); }

html[data-theme='light'] .glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72) 0%, rgba(246, 248, 255, 0.55) 50%, rgba(236, 241, 255, 0.5) 100%);
  border-color: rgba(12, 32, 96, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 30px 70px -40px rgba(12, 32, 96, 0.35);
}
html[data-theme='light'] .glass::before {
  background: radial-gradient(220px circle at var(--gx, 50%) var(--gy, 0%), rgba(10, 77, 255, 0.85), rgba(7, 10, 26, 0.4) 45%, transparent 70%);
}
html[data-theme='light'] .glass::after {
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.7), transparent 60%);
}
html[data-theme='light'] .challenge.is-hot h3 { background: linear-gradient(100deg, #0a4dff, #070a1a); -webkit-background-clip: text; background-clip: text; }

html[data-theme='light'] .pillar__axis::after { border-color: var(--ink); box-shadow: none; }

html[data-theme='light'] .reason__line { text-shadow: 0 2px 40px rgba(244, 246, 251, 0.9); }

html[data-theme='light'] .track__row::before {
  background:
    radial-gradient(500px circle at var(--mx, 50%) 50%, rgba(10, 77, 255, 0.1), transparent 60%),
    linear-gradient(90deg, rgba(10, 77, 255, 0.06), rgba(255, 255, 255, 0.5));
}
html[data-theme='light'] .track__tag { border-color: rgba(10, 77, 255, 0.3); }
html[data-theme='light'] .track__tag--planned { border-color: rgba(12, 18, 44, 0.25); color: var(--ink-soft); }
html[data-theme='light'] .track__links span span { color: var(--accent); }
html[data-theme='light'] a.track__row:hover .track__go { color: #fff; background: #070a1a; box-shadow: 0 0 26px rgba(10, 77, 255, 0.35); }

html[data-theme='light'] .foot__wordmark { text-shadow: 0 0 60px rgba(10, 77, 255, 0.2); }
html[data-theme='light'] .foot__glow { filter: blur(3px) saturate(1.2); opacity: 0.3; }
html[data-theme='light'] .foot__social a:hover { color: var(--accent); }

@media (max-width: 899px) {
  html[data-theme='light'] .hero__heading { text-shadow: 0 4px 30px rgba(244, 246, 251, 0.8); }
}
@media (max-width: 560px) {
  .theme-toggle { width: 38px; height: 38px; }
}

/* ══════════════ performance ══════════════ */
.tilt.is-hot { will-change: transform; }
.mq__track { will-change: transform; }
/* touch devices and small screens: no live backdrop blur over the moving canvas — a denser tint reads the same */
@media (hover: none), (max-width: 760px) {
  .glass, .topbar::before, .topbar__links, .track__row::before {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .glass { background: linear-gradient(160deg, rgba(22, 28, 64, 0.82), rgba(8, 10, 26, 0.88)); }
  .topbar::before { background: rgba(6, 7, 18, 0.92); }
  html[data-theme='light'] .glass { background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(240, 244, 255, 0.92)); }
  html[data-theme='light'] .topbar::before { background: rgba(244, 246, 251, 0.95); }
}

/* ══════════════ brand marks in the moving rows ══════════════ */
.mq__logo,
.mq__mono {
  flex: none;
  width: 22px;
  height: 22px;
}
.mq__logo {
  background: currentColor;
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.mq__mono {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-family: var(--font-display);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0;
}
.mq__set li { gap: 11px; }

/* ══════════════ partner links in the moving rows ══════════════ */
.mq__link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.3s var(--ease);
}
.mq__link span:last-child {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
  padding-bottom: 2px;
}
.mq__link:hover { color: var(--ink); }
.mq__link:hover span:last-child,
.mq__link:focus-visible span:last-child { background-size: 100% 1px; }
.mq__link:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
/* a link that is being hovered or focused holds its row still so it can be clicked */
.mq:has(.mq__link:hover) .mq__track,
.mq:has(.mq__link:focus-visible) .mq__track { animation-play-state: paused; }
