/* ============================================================
   DIGITAL WOLF — Helix Platform
   ------------------------------------------------------------
   A calm, premium tech aesthetic. Light/dark alternating
   sections, oversized type, generous spacing, subtle motion.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --bone:        #F4F1EA;
  --bone-2:      #ECE7DD;
  --ink:         #0C0C0E;
  --ink-2:       #16161A;
  --paper:       #FFFFFF;
  --mute:        #6E6E73;
  --mute-2:      #A5A5AA;
  --hair:        rgba(12,12,14,0.08);
  --hair-dark:   rgba(244,241,234,0.10);
  --accent:      #5A53F4;
  --accent-2:    #8F8AFF;
  --moss:        #6F8F6A;
  --sky:         #B5CFE6;

  /* Type */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular,
               Menlo, monospace;

  /* Sizing — fluid */
  --h0: clamp(3.4rem, 8.6vw, 8.4rem);   /* hero headline */
  --h1: clamp(2.4rem, 5.2vw, 4.6rem);   /* section title */
  --h2: clamp(1.5rem, 2.4vw, 2rem);
  --h3: clamp(1.15rem, 1.6vw, 1.35rem);
  --body: clamp(1rem, 1.1vw, 1.125rem);
  --small: 0.875rem;

  /* Layout */
  --container: 1280px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(12,12,14,0.04), 0 2px 6px rgba(12,12,14,0.04);
  --shadow-md: 0 6px 18px rgba(12,12,14,0.06), 0 24px 60px rgba(12,12,14,0.08);
  --shadow-lg: 0 20px 60px rgba(12,12,14,0.12), 0 40px 120px rgba(12,12,14,0.18);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--ink); color: var(--bone); }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 1.25rem;
}
.eyebrow--dark { color: var(--mute-2); }
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(90,83,244,0.16);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.link span { transition: transform 0.25s var(--ease); }
.link:hover { color: var(--accent); }
.link:hover span { transform: translateX(4px); }
.link--dark { color: var(--bone); }
.link--dark:hover { color: var(--accent-2); }

.check {
  width: 18px; height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: var(--ink);
  display: inline-grid;
  place-items: center;
  position: relative;
  margin-right: 0.7rem;
  vertical-align: -3px;
}
.check::after {
  content: "";
  width: 8px; height: 5px;
  border-left: 2px solid var(--bone);
  border-bottom: 2px solid var(--bone);
  transform: rotate(-45deg) translate(1px, -1px);
}
.check--dark { background: var(--bone); }
.check--dark::after {
  border-color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(12,12,14,0.18); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--ink);
  color: var(--bone);
}
.btn--primary:hover { background: var(--accent); color: var(--bone); }

.btn--ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  padding: 0.85rem 1.25rem;
}
.btn--ghost:hover { background: rgba(12,12,14,0.06); box-shadow: none; transform: translateY(-1px); }

.feature--dark .btn--ghost:hover { background: rgba(244,241,234,0.06); }

.btn--pill { padding: 0.6rem 1.05rem; font-size: 0.875rem; }
.btn--lg { padding: 1.05rem 1.7rem; font-size: 1rem; }

/* ---------- Announce ---------- */
.announce {
  background: var(--ink);
  color: var(--bone);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.announce__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.6rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
}
.announce__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(90,83,244,0.22);
}
.announce__link {
  border-bottom: 1px solid rgba(244,241,234,0.4);
  margin-left: 0.25rem;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.announce__link:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(244,241,234,0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--hair);
  background: rgba(244,241,234,0.88);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.6rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 56px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  font-size: 0.78rem;
}
.nav__mark {
  width: 18px; height: 18px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, var(--accent) 0%, var(--ink) 100%);
  position: relative;
  display: inline-block;
}
.nav__mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: var(--bone);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.nav__wordmark { font-family: var(--font-sans); }

.nav__links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}
.nav__links a {
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--accent); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.nav__signin {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
.nav__signin:hover { color: var(--accent); }

/* Mobile menu button */
.nav__menu {
  display: none;
  background: transparent;
  border: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav__menu span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav__menu.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__menu.is-open span:nth-child(2) { opacity: 0; }
.nav__menu.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--bone);
  padding: 7rem var(--pad-x) 2rem;
  transform: translateY(-110%);
  transition: transform 0.45s var(--ease);
  pointer-events: none;
  opacity: 0;
}
.drawer.is-open {
  transform: translateY(0);
  pointer-events: auto;
  opacity: 1;
}
.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.6rem;
  font-weight: 600;
}
.drawer__nav a { color: var(--ink); }
.drawer__signin {
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair);
  font-size: 1rem;
  font-weight: 500;
}
.drawer__cta {
  align-self: flex-start;
  margin-top: 0.5rem;
  font-size: 1rem;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(90,83,244,0.10) 0%, transparent 60%),
    var(--bone);
  overflow: hidden;
}
.hero__inner { text-align: center; }
.hero__headline {
  font-family: var(--font-sans);
  font-size: var(--h0);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0.4rem auto 1.5rem;
  max-width: 18ch;
  color: var(--ink);
}
.hero__accent {
  background: linear-gradient(180deg, var(--ink) 35%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 36rem;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--mute);
  line-height: 1.55;
}
.hero__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin: 2rem 0 3.5rem;
}

/* Product mockup */
.device {
  position: relative;
  margin: 1rem auto 0;
  max-width: 1080px;
  perspective: 1200px;
}
.device__glow {
  position: absolute;
  inset: -10% -5% -20%;
  background:
    radial-gradient(40% 60% at 50% 30%, rgba(90,83,244,0.18), transparent 70%),
    radial-gradient(40% 60% at 20% 80%, rgba(181,207,230,0.30), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.device__frame {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #1a1a1d, #0c0c0e);
  padding: 12px;
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px rgba(244,241,234,0.07);
  transform: rotateX(2deg);
  z-index: 1;
}
.device__notch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem 0.85rem;
}
.device__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #2a2a2f;
}
.device__dot:nth-child(1) { background: #FF5F57; }
.device__dot:nth-child(2) { background: #FEBC2E; }
.device__dot:nth-child(3) { background: #28C840; }
.device__label {
  margin-left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mute-2);
  letter-spacing: 0.02em;
}

.device__screen {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  background: linear-gradient(180deg, #fbf8f1, #f1ede4);
  border-radius: calc(var(--radius-xl) - 12px);
  overflow: hidden;
  min-height: 460px;
  color: var(--ink);
}

.dvc__side {
  background: #ECE7DD;
  padding: 1.25rem 0.9rem;
  border-right: 1px solid rgba(12,12,14,0.06);
}
.dvc__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
  padding: 0 0.3rem;
}
.dvc__mark {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), var(--ink));
  display: inline-block;
}
.dvc__menu {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.84rem;
  color: #555;
}
.dvc__menu li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
}
.dvc__menu li span {
  width: 12px; height: 12px;
  border-radius: 3px;
  background: rgba(12,12,14,0.18);
}
.dvc__menu li.is-active {
  background: var(--ink);
  color: var(--bone);
  font-weight: 600;
}
.dvc__menu li.is-active span { background: var(--accent); }

.dvc__main {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.dvc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
.dvc__crumb {
  font-size: 0.72rem;
  color: var(--mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 0.35rem;
}
.dvc__head h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.dvc__pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(90,83,244,0.14);
  color: var(--accent);
  border: 1px solid rgba(90,83,244,0.30);
}

.dvc__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.dvc__stat {
  background: #fff;
  border: 1px solid rgba(12,12,14,0.06);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
}
.dvc__statLabel {
  font-size: 0.7rem;
  color: var(--mute);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dvc__statValue {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0.2rem 0 0.25rem;
}
.dvc__statValue small { font-size: 0.85rem; color: var(--mute); margin-left: 2px; font-weight: 600; }
.dvc__statDelta {
  font-size: 0.72rem;
  font-weight: 600;
}
.dvc__statDelta.up { color: #1F8A56; }

.dvc__chart {
  background: #fff;
  border: 1px solid rgba(12,12,14,0.06);
  border-radius: 14px;
  padding: 0.9rem 1rem 0.6rem;
}
.dvc__chartHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.dvc__legend {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--mute);
  font-weight: 500;
}
.lg { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.lg--a { background: var(--accent); }
.lg--b { background: var(--mute-2); }
.dvc__svg { width: 100%; height: 110px; display: block; }

.dvc__rows {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.dvc__row {
  display: grid;
  grid-template-columns: 12px 1fr auto 110px;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid rgba(12,12,14,0.06);
  border-radius: 12px;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
}
.dvc__rowDot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.dvc__rowDot.b { background: var(--moss); }
.dvc__rowDot.c { background: var(--sky); }
.dvc__rowName { font-weight: 600; }
.dvc__rowMeta { color: var(--mute); font-size: 0.74rem; font-family: var(--font-mono); }
.dvc__bar {
  position: relative;
  height: 6px;
  background: rgba(12,12,14,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.dvc__barFill {
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--accent), #ffb199);
  border-radius: 999px;
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--bone);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: 1.25rem 0;
  overflow: hidden;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 12vw;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bone), transparent); }
.marquee::after  { right: 0; background: linear-gradient(-90deg, var(--bone), transparent); }
.marquee__track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marqueeMove 40s linear infinite;
}
.marquee__group {
  display: flex;
  gap: 4rem;
  align-items: center;
  flex-shrink: 0;
  padding-right: 4rem;
}
.marquee__group span {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--mute);
  white-space: nowrap;
}
@keyframes marqueeMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Feature sections ---------- */
.feature {
  padding: clamp(4.5rem, 10vw, 9rem) 0;
  position: relative;
}
.feature--light {
  background: var(--paper);
  color: var(--ink);
}
.feature--dark {
  background: var(--ink);
  color: var(--bone);
}
.feature__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.feature__inner--reverse > .feature__copy { order: 2; }
.feature__inner--reverse > .feature__visual { order: 1; }

.feature__title {
  font-size: var(--h1);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 1.25rem;
}
.feature__lede {
  font-size: clamp(1.05rem, 1.25vw, 1.18rem);
  color: var(--mute);
  margin: 0 0 1.75rem;
  max-width: 32rem;
}
.feature--dark .feature__lede { color: var(--mute-2); }

.feature__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-weight: 500;
}
.feature__list li {
  display: flex;
  align-items: flex-start;
  line-height: 1.45;
}
.feature__list--dark li { color: var(--bone); }

/* Feature 1 — Brand poster visual */
.poster {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #FFFFFF, #F1ECE3);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.poster__glow {
  position: absolute;
  width: 60%; height: 60%;
  background: radial-gradient(closest-side, rgba(90,83,244,0.20), transparent 70%);
  top: -10%; right: -10%;
  filter: blur(10px);
}
.poster__chrome {
  display: flex; gap: 6px;
  padding: 12px 14px;
}
.poster__chrome span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(12,12,14,0.18);
}
.poster__stage {
  position: relative;
  padding: 1.25rem 1.5rem 1.75rem;
}
.poster__title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 1.5rem;
}
.poster__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.swatch {
  aspect-ratio: 1/1;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(12,12,14,0.04);
}
.swatch--ink   { background: var(--ink); }
.swatch--bone  { background: #EDE7DA; }
.swatch--amber { background: var(--accent); }
.swatch--moss  { background: var(--moss); }

.poster__type {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(12,12,14,0.05);
}
.poster__letter {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.poster__typeMeta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mute);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.poster__chips {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}
.poster__chips span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(12,12,14,0.08);
  color: var(--ink);
}

/* Feature 2 — Orbit visual */
.orbit {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1/1;
  margin-inline: auto;
  display: grid;
  place-items: center;
}
.orbit__core {
  position: relative;
  width: 40%; height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #1f1f24, #0c0c0e 70%);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(244,241,234,0.10);
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 3;
}
.orbit__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,83,244,0.35), transparent 60%);
  filter: blur(8px);
  animation: orbPulse 3.2s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,100% { transform: scale(1); opacity: 0.75; }
  50%     { transform: scale(1.1); opacity: 1; }
}
.orbit__num {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--bone);
  line-height: 1;
}
.orbit__num small { font-size: 0.55em; color: var(--accent-2); margin-left: 2px; }
.orbit__lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--mute-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.4rem;
  padding: 0 0.5rem;
}
.orbit__ring {
  position: absolute;
  border: 1px dashed rgba(244,241,234,0.18);
  border-radius: 50%;
}
.orbit__ring--1 { width: 60%; height: 60%; animation: spin 30s linear infinite; }
.orbit__ring--2 { width: 80%; height: 80%; animation: spin 50s linear infinite reverse; }
.orbit__ring--3 { width: 100%; height: 100%; animation: spin 70s linear infinite; }
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.orbit__chip {
  position: absolute;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  background: rgba(244,241,234,0.06);
  border: 1px solid rgba(244,241,234,0.18);
  color: var(--bone);
  backdrop-filter: blur(8px);
  white-space: nowrap;
  z-index: 4;
}
.orbit__chip--a { top: 14%; left: 8%; }
.orbit__chip--b { top: 10%; right: 6%; color: var(--accent-2); border-color: rgba(143,138,255,0.35); }
.orbit__chip--c { bottom: 18%; left: 4%; }
.orbit__chip--d { bottom: 12%; right: 8%; }

/* ---------- Section heads ---------- */
.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head__title {
  font-size: var(--h1);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0.2rem 0 1rem;
  font-weight: 700;
}
.section-head__sub {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--mute);
  margin: 0;
}
.section-head--dark .section-head__sub { color: var(--mute-2); }

/* ---------- Pillars ---------- */
.pillars {
  background: var(--bone);
  padding: clamp(4.5rem, 10vw, 9rem) 0;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillar {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(90,83,244,0.30);
}
.pillar h3 {
  margin: 0.2rem 0 0;
  font-size: var(--h2);
  letter-spacing: -0.02em;
}
.pillar p {
  color: var(--mute);
  margin: 0 0 0.5rem;
}
.pillar__ico {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--bone);
  position: relative;
  margin-bottom: 0.4rem;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ico--brand::before {
  content: "";
  width: 26px; height: 26px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--ink));
}
.ico--eng {
  background:
    repeating-linear-gradient(45deg, var(--bone), var(--bone) 6px, var(--bone-2) 6px, var(--bone-2) 7px);
}
.ico--eng::before {
  content: "";
  width: 26px; height: 26px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  position: absolute;
}
.ico--growth::before {
  content: "";
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 22px solid var(--accent);
}

/* ---------- Shop / cards ---------- */
.shop {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(4.5rem, 10vw, 9rem) 0;
}
.shop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.card {
  background: var(--ink-2);
  border: 1px solid var(--hair-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(90,83,244,0.35);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.card__media {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.card__media--studio  { background: radial-gradient(120% 80% at 30% 30%, #2a2a2f, #0e0e10); }
.card__media--insight { background: radial-gradient(120% 80% at 70% 30%, #2a1c14, #0e0e10); }
.card__media--eng     { background: radial-gradient(120% 80% at 50% 70%, #1c2a25, #0e0e10); }
.card__media--growth  { background: radial-gradient(120% 80% at 60% 50%, #2a201c, #0e0e10); }

.card__body {
  padding: 1.3rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.card__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0;
}
.card__title {
  margin: 0.2rem 0 0.5rem;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--bone);
}
.card__price {
  margin: 0 0 0.7rem;
  font-size: 0.86rem;
  color: var(--mute-2);
}
.card__price strong { color: var(--bone); font-weight: 700; }
.card .link { color: var(--bone); margin-top: auto; }
.card .link:hover { color: var(--accent-2); }

/* Mini visuals inside cards */
.m-studio {
  position: relative;
  width: 70%; height: 75%;
}
.m-studio__sheet {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 16px 30px rgba(0,0,0,0.35);
  transform: rotate(-4deg);
}
.m-studio__sheet--2 {
  background: var(--accent);
  inset: 14% -8% -8% 14%;
  transform: rotate(5deg);
  opacity: 0.92;
}
.m-studio__pen {
  position: absolute;
  width: 70%; height: 8px;
  background: var(--ink);
  border-radius: 4px;
  bottom: -10%; left: 18%;
  transform: rotate(-12deg);
  box-shadow: 0 6px 14px rgba(0,0,0,0.45);
}

.m-insight {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60%;
  width: 70%;
  position: relative;
}
.m-insight__bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--accent), rgba(90,83,244,0.25));
  border-radius: 4px 4px 0 0;
}
.m-insight__line {
  position: absolute;
  left: 0; right: 0;
  bottom: 35%;
  height: 1px;
  background: rgba(244,241,234,0.18);
}

.m-eng {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.m-eng__row {
  display: flex; gap: 6px;
}
.m-eng__row i {
  flex: 1;
  height: 18px;
  border-radius: 5px;
  background: rgba(244,241,234,0.10);
}
.m-eng__row i:first-child { background: var(--accent); }
.m-eng__dot {
  position: absolute;
  right: -16px; top: -16px;
  width: 22px; height: 22px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(90,83,244,0.4);
}

.m-growth {
  position: relative;
  width: 65%; aspect-ratio: 1/1;
  display: grid;
  place-items: center;
}
.m-growth__ring {
  position: absolute;
  inset: 0;
  border: 8px solid rgba(244,241,234,0.08);
  border-top-color: var(--accent);
  border-right-color: var(--accent);
  border-radius: 50%;
  transform: rotate(-30deg);
}
.m-growth__ring--2 {
  inset: 14%;
  border-width: 6px;
  border-color: rgba(244,241,234,0.10);
  border-top-color: var(--accent-2);
  transform: rotate(110deg);
}
.m-growth__core {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--bone);
}

/* ---------- Trust ---------- */
.trust {
  background: var(--paper);
  padding: clamp(4.5rem, 10vw, 9rem) 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.stat {
  text-align: left;
  border-top: 1px solid var(--hair);
  padding-top: 1.25rem;
}
.stat__num {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat__num small {
  font-size: 0.45em;
  font-weight: 700;
  color: var(--accent);
  margin-left: 2px;
  vertical-align: super;
}
.stat__lbl {
  font-size: 0.92rem;
  color: var(--mute);
}

.quote {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 2rem 1rem 0;
}
.quote blockquote {
  font-size: clamp(1.3rem, 2.6vw, 2.05rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0 0 1.6rem;
  color: var(--ink);
  position: relative;
}
.quote__mark {
  font-family: var(--font-sans);
  color: var(--accent);
  font-size: 2.6em;
  line-height: 0;
  vertical-align: -0.35em;
  margin-right: 0.05em;
}
.quote figcaption {
  font-size: 0.92rem;
  color: var(--mute);
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.quote__name { color: var(--ink); font-weight: 700; letter-spacing: 0.005em; }
.quote__role { color: var(--mute); }

/* ---------- FAQ ---------- */
.faq {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(4.5rem, 10vw, 9rem) 0;
}
.faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.faq__head {
  position: sticky;
  top: 100px;
}
.faq__head .section-head__title {
  text-align: left;
  margin-top: 0.5rem;
}
.faq__head .section-head__sub {
  text-align: left;
  color: var(--mute-2);
  margin-top: 0.75rem;
}
.faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--hair-dark);
}
.faq__item {
  border-bottom: 1px solid var(--hair-dark);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: color 0.25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-2); }
.faq__icon {
  width: 22px; height: 22px;
  position: relative;
  flex: 0 0 22px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--bone);
  left: 50%; top: 50%;
  transition: transform 0.35s var(--ease);
}
.faq__icon::before { width: 14px; height: 1.6px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 1.6px; height: 14px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.faq__body {
  padding: 0 0 1.5rem;
  font-size: 1rem;
  color: var(--mute-2);
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- Final CTA ---------- */
.cta {
  background: var(--bone);
  padding: clamp(5rem, 12vw, 10rem) 0;
  position: relative;
  overflow: hidden;
}
.cta__inner {
  position: relative;
  text-align: center;
}
.cta__halo {
  position: absolute;
  inset: -30% -20% -30%;
  background:
    radial-gradient(40% 50% at 50% 50%, rgba(90,83,244,0.18), transparent 70%);
  filter: blur(15px);
  z-index: 0;
}
.cta__title,
.cta__sub,
.cta__buttons,
.cta .eyebrow {
  position: relative;
  z-index: 1;
}
.cta__title {
  font-size: var(--h0);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0.5rem auto 1.5rem;
  font-weight: 800;
  max-width: 22ch;
}
.cta__sub {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--mute);
  max-width: 38rem;
  margin: 0 auto 2.25rem;
}
.cta__buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(3.5rem, 7vw, 6rem) 0 2rem;
}
.footer__inner { display: flex; flex-direction: column; gap: 3rem; }
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 28rem;
}
.footer__brand { color: var(--bone); }
.footer__brand .nav__mark::after { background: var(--ink); }
.footer__tagline {
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0;
  color: var(--bone);
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--hair-dark);
  padding-top: 2.5rem;
}
.footer__col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-weight: 500;
  color: var(--mute-2);
  margin: 0 0 1rem;
}
.footer__col a {
  display: block;
  font-size: 0.95rem;
  color: var(--bone);
  padding: 0.3rem 0;
  transition: color 0.25s var(--ease);
}
.footer__col a:hover { color: var(--accent-2); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--hair-dark);
  padding-top: 2rem;
  color: var(--mute-2);
  font-size: 0.85rem;
}
.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__legal a {
  color: var(--mute-2);
  transition: color 0.25s var(--ease);
}
.footer__legal a:hover { color: var(--bone); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--delay, 0) * 1ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track,
  .orbit__pulse,
  .orbit__ring { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .shop__grid       { grid-template-columns: repeat(2, 1fr); }
  .stats            { grid-template-columns: repeat(2, 1fr); }
  .device__screen   { min-height: 420px; }
}

@media (max-width: 880px) {
  .nav__links,
  .nav__actions    { display: none; }
  .nav__menu       { display: inline-flex; }

  .feature__inner,
  .feature__inner--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .feature__inner--reverse > .feature__copy   { order: 1; }
  .feature__inner--reverse > .feature__visual { order: 2; }

  .pillars__grid   { grid-template-columns: 1fr; }
  .footer__cols    { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
  .faq__inner      { grid-template-columns: 1fr; }
  .faq__head       { position: relative; top: auto; }
  .faq__head .section-head__title,
  .faq__head .section-head__sub { text-align: center; }
  .device__screen  { grid-template-columns: 1fr; min-height: 0; }
  .dvc__side       { display: none; }
  .dvc__main       { padding: 1rem 1.1rem 1.25rem; gap: 0.8rem; }
  .dvc__stats      { gap: 0.5rem; }
  .dvc__row        { grid-template-columns: 12px 1fr auto; }
  .dvc__row .dvc__bar { grid-column: 1 / -1; margin-top: 0.25rem; }
}

@media (max-width: 560px) {
  .shop__grid      { grid-template-columns: 1fr; }
  .stats           { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .footer__cols    { grid-template-columns: 1fr 1fr; }
  .footer__bottom  { flex-direction: column; align-items: flex-start; }
  .hero__ctas,
  .cta__buttons    { flex-direction: column; align-items: stretch; }
  .btn             { width: 100%; }
  .announce        { font-size: 0.74rem; }
}

@media (max-width: 380px) {
  .stats           { grid-template-columns: 1fr; }
  .footer__cols    { grid-template-columns: 1fr; }
}

/* ============================================================
   SUB-PAGE COMPONENTS
   ============================================================ */

/* ---------- Page hero (sub-pages) ---------- */
.page-hero {
  background: var(--bone);
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--hair);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% 30% 40%;
  background: radial-gradient(50% 60% at 70% 30%, rgba(90,83,244,0.10), transparent 70%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  max-width: 880px;
}
.page-hero__title {
  font-size: clamp(2.6rem, 6.5vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 800;
  margin: 0.6rem 0 1.25rem;
  color: var(--ink);
}
.page-hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--mute);
  max-width: 36rem;
  margin: 0 0 1.5rem;
  line-height: 1.55;
}
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.page-hero__chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--hair);
  color: var(--ink);
}

/* ---------- Breadcrumb ---------- */
.crumb {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.crumb a { color: var(--mute); transition: color 0.25s var(--ease); }
.crumb a:hover { color: var(--accent); }
.crumb__sep { color: var(--mute-2); }
.crumb__current { color: var(--ink); }

/* ---------- Section utility ---------- */
.section {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
}
.section--light { background: var(--paper); color: var(--ink); }
.section--bone  { background: var(--bone); color: var(--ink); }
.section--dark  { background: var(--ink); color: var(--bone); }

.section--dark .section-head__sub,
.section--dark .feature__lede { color: var(--mute-2); }

/* ---------- Capability grid (services / about) ---------- */
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.cap {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.cap:hover {
  transform: translateY(-3px);
  border-color: rgba(90,83,244,0.30);
  box-shadow: var(--shadow-md);
}
.cap__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--mute);
  margin-bottom: 0.8rem;
}
.cap__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 0.55rem;
}
.cap__body {
  color: var(--mute);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}
.section--dark .cap {
  background: var(--ink-2);
  border-color: var(--hair-dark);
}
.section--dark .cap__title { color: var(--bone); }
.section--dark .cap__body { color: var(--mute-2); }
.section--dark .cap__num { color: var(--mute-2); }

/* ---------- Process list (numbered steps) ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.step__num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}
.step__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0.1rem 0 0.4rem;
  letter-spacing: -0.01em;
}
.step__body {
  color: var(--mute);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}
.section--dark .step {
  background: var(--ink-2);
  border-color: var(--hair-dark);
}
.section--dark .step__title { color: var(--bone); }
.section--dark .step__body { color: var(--mute-2); }

/* ---------- Service highlight rows (deep dives) ---------- */
.detail {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--hair);
}
.detail:first-child { border-top: 0; padding-top: 0; }
.detail__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.6rem;
}
.detail__title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}
.detail__body {
  color: var(--mute);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}
.detail__body p { margin: 0 0 1rem; }
.detail__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.detail__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink);
}
.detail__list li::before {
  content: "";
  flex: 0 0 18px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 2px;
  background-image:
    linear-gradient(transparent 7px, var(--bone) 7px, var(--bone) 9px, transparent 9px),
    linear-gradient(90deg, transparent 7px, var(--bone) 7px, var(--bone) 9px, transparent 9px);
  background-position: center;
}
.section--dark .detail { border-top-color: var(--hair-dark); }
.section--dark .detail__body { color: var(--mute-2); }
.section--dark .detail__list li { color: var(--bone); }
.section--dark .detail__list li::before { background-color: var(--bone); }

/* ---------- Plan cards (pricing-style on service deep-dives) ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.plan {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.plan:hover {
  transform: translateY(-4px);
  border-color: rgba(90,83,244,0.30);
  box-shadow: var(--shadow-md);
}
.plan--featured {
  background: var(--ink);
  color: var(--bone);
  border-color: transparent;
}
.plan--featured .plan__name { color: var(--accent-2); }
.plan--featured .plan__price { color: var(--bone); }
.plan--featured .plan__list li { color: var(--bone); }
.plan--featured .plan__list li::before { background: var(--accent); }
.plan--featured .btn { background: var(--accent); color: var(--bone); }
.plan--featured .btn:hover { background: var(--bone); color: var(--ink); }
.plan__tag {
  position: absolute;
  top: -10px; left: 1.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bone);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.plan__name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.plan__price {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
}
.plan__price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mute);
  margin-left: 4px;
}
.plan--featured .plan__price small { color: var(--mute-2); }
.plan__lede {
  color: var(--mute);
  font-size: 0.95rem;
  margin: 0 0 0.4rem;
}
.plan--featured .plan__lede { color: var(--mute-2); }
.plan__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.92rem;
}
.plan__list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}
.plan__list li::before {
  content: "";
  flex: 0 0 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 7px;
}
.plan .btn { margin-top: auto; }

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--hair);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(90,83,244,0.12);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}
.form__submit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}
.form__note {
  font-size: 0.82rem;
  color: var(--mute);
  margin: 0;
}

/* Contact aside */
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-card {
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-card__row {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-card__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.contact-card__value {
  font-size: 1.05rem;
  color: var(--bone);
  font-weight: 500;
  line-height: 1.45;
}
.contact-card__value a { transition: color 0.25s var(--ease); }
.contact-card__value a:hover { color: var(--accent-2); }
.contact-meta {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
}
.contact-meta h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 0.6rem;
  font-weight: 500;
}
.contact-meta p {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Blog grid ---------- */
.blog-feature {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.blog-feature__cover {
  background:
    linear-gradient(135deg, rgba(90,83,244,0.85), rgba(12,12,14,0.85)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 10px, transparent 10px 20px);
  min-height: 320px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: var(--bone);
}
.blog-feature__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 70% 30%, rgba(255,255,255,0.15), transparent 70%);
  pointer-events: none;
}
.blog-feature__cover h3 {
  position: relative;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 26ch;
  font-weight: 700;
}
.blog-feature__body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  justify-content: center;
}
.blog-feature__meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--mute);
}
.blog-feature__lede {
  font-size: 1.05rem;
  color: var(--mute);
  margin: 0;
  line-height: 1.55;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.article {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.article:hover {
  transform: translateY(-3px);
  border-color: rgba(90,83,244,0.30);
  box-shadow: var(--shadow-md);
}
.article__cover {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.article__cover--a {
  background:
    radial-gradient(120% 80% at 30% 20%, #2a1c14, #0e0e10);
}
.article__cover--b {
  background:
    radial-gradient(120% 80% at 70% 40%, #1c2a25, #0e0e10);
}
.article__cover--c {
  background:
    radial-gradient(120% 80% at 50% 70%, #2a2a2f, #0e0e10);
}
.article__cover--d {
  background:
    linear-gradient(160deg, #F4F1EA, #ECE7DD);
}
.article__cover--e {
  background:
    radial-gradient(120% 80% at 40% 30%, #5A53F4, #14140F);
}
.article__cover--f {
  background:
    linear-gradient(135deg, #1c2a25, #2a201c);
}
.article__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 80% 20%, rgba(255,255,255,0.08), transparent 70%);
}
.article__cover-mark {
  position: absolute;
  bottom: 1rem; left: 1rem;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent);
  z-index: 1;
}
.article__body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.article__meta {
  display: flex;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
}
.article__meta .tag { color: var(--accent); }
.article__title {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.article__excerpt {
  margin: 0;
  font-size: 0.92rem;
  color: var(--mute);
  line-height: 1.55;
}
.article__more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  display: inline-flex;
  gap: 0.3rem;
  transition: color 0.25s var(--ease);
}
.article:hover .article__more { color: var(--accent); }

/* Category chips */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--hair);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.chip:hover,
.chip.is-active {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

/* ---------- Case studies ---------- */
.case-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.case-feature__visual {
  aspect-ratio: 4/3;
  background:
    radial-gradient(120% 80% at 30% 30%, #5A53F4, #14140F);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--bone);
  box-shadow: var(--shadow-md);
}
.case-feature__big {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-shadow: 0 6px 30px rgba(0,0,0,0.4);
}
.case-feature__big small { font-size: 0.4em; vertical-align: middle; }
.case-feature__copy h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0.4rem 0 1rem;
}
.case-feature__copy p {
  color: var(--mute);
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.case {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.case:hover {
  transform: translateY(-3px);
  border-color: rgba(90,83,244,0.30);
  box-shadow: var(--shadow-md);
}
.case__visual {
  aspect-ratio: 4/3;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--bone);
  overflow: hidden;
}
.case__visual--a { background: radial-gradient(120% 80% at 70% 30%, #2a1c14, #0e0e10); }
.case__visual--b { background: radial-gradient(120% 80% at 30% 30%, #1c2a25, #0e0e10); }
.case__visual--c { background: radial-gradient(120% 80% at 50% 70%, #5A53F4, #14140F); }
.case__visual--d { background: radial-gradient(120% 80% at 30% 70%, #2a2a2f, #0e0e10); }
.case__visual--e { background: linear-gradient(135deg, #F4F1EA, #ECE7DD); color: var(--ink); }
.case__visual--f { background: radial-gradient(120% 80% at 60% 50%, #2a201c, #0e0e10); }
.case__metric {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.case__metric small { font-size: 0.45em; font-weight: 700; color: var(--accent-2); vertical-align: super; }
.case__visual--e .case__metric small { color: var(--accent); }
.case__metricLbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-top: 0.4rem;
}
.case__visual--e .case__metricLbl { color: var(--mute); }
.case__body {
  padding: 1.25rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.case__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.case__title {
  font-size: 1.15rem;
  margin: 0.1rem 0 0.4rem;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.case__body p {
  color: var(--mute);
  margin: 0 0 0.5rem;
  font-size: 0.93rem;
  line-height: 1.5;
}
.case .link { margin-top: auto; }

/* ---------- Team ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.member {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.member:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.member__avatar {
  aspect-ratio: 1/1;
  position: relative;
  overflow: hidden;
  background: var(--bone);
  display: grid;
  place-items: center;
}
.member__avatar--a { background: linear-gradient(135deg, #5A53F4, #0C0C0E); }
.member__avatar--b { background: linear-gradient(135deg, #1c2a25, #0C0C0E); }
.member__avatar--c { background: linear-gradient(135deg, #2a201c, #0C0C0E); }
.member__avatar--d { background: linear-gradient(135deg, #B5CFE6, #0C0C0E); }
.member__avatar--e { background: linear-gradient(135deg, #8F8AFF, #0C0C0E); }
.member__avatar--f { background: linear-gradient(135deg, #6F8F6A, #0C0C0E); }
.member__avatar--g { background: linear-gradient(135deg, #2a1c14, #0C0C0E); }
.member__avatar--h { background: linear-gradient(135deg, #ECE7DD, #16161A); }
.member__init {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(244,241,234,0.92);
  line-height: 1;
}
.member__avatar--h .member__init { color: var(--ink); }
.member__body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.member__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0;
}
.member__role {
  font-size: 0.85rem;
  color: var(--mute);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* ---------- Value blocks ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.value {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--hair);
}
.section--dark .value { border-top-color: var(--hair-dark); }
.value__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.value__title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 0.5rem;
}
.value__body {
  color: var(--mute);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}
.section--dark .value__body { color: var(--mute-2); }

/* ---------- Mini CTA band ---------- */
.cta-band {
  background: var(--bone);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.cta-band__title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
  max-width: 36rem;
}

/* ---------- Mobile drawer link list (legacy override) ---------- */
.drawer__nav a { line-height: 1.1; }

/* ---------- Sub-page responsive ---------- */
@media (max-width: 1080px) {
  .capabilities { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .case-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
  .detail { grid-template-columns: 1fr; gap: 1rem; }
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature__cover { min-height: 220px; }
  .case-feature { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .capabilities { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .case-grid, .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Page-specific tweaks ---------- */
/* FAQ on a light/bone section needs dark icon lines */
.section--bone .faq__list .faq__icon::before,
.section--bone .faq__list .faq__icon::after,
.section--light .faq__list .faq__icon::before,
.section--light .faq__list .faq__icon::after {
  background: var(--ink) !important;
  filter: none !important;
}

/* Newsletter grid on blog.html — collapse on small screens */
.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (max-width: 880px) {
  .newsletter-grid { grid-template-columns: 1fr !important; gap: 2rem; }
}

/* ============================================================
   MODERN TECH GRAPHICS LAYER
   ============================================================ */

/* ---------- Extended palette ---------- */
:root {
  --electric:  #6366F1;  /* indigo */
  --cyan:      #22D3EE;
  --violet:    #A855F7;
  --magenta:   #EC4899;
  --mint:      #34D399;
  --signal:    #16A34A;
}

/* ---------- Aurora gradient mesh ---------- */
.aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.aurora::before,
.aurora::after,
.aurora__blob {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}
.aurora::before {
  width: 45vw; height: 45vw;
  background: radial-gradient(closest-side, var(--accent), transparent 70%);
  top: -10vw; left: -10vw;
  animation: auroraDriftA 18s ease-in-out infinite alternate;
}
.aurora::after {
  width: 50vw; height: 50vw;
  background: radial-gradient(closest-side, var(--electric), transparent 70%);
  bottom: -15vw; right: -10vw;
  animation: auroraDriftB 22s ease-in-out infinite alternate;
}
.aurora__blob {
  width: 35vw; height: 35vw;
  background: radial-gradient(closest-side, var(--cyan), transparent 70%);
  top: 30%; left: 40%;
  opacity: 0.35;
  animation: auroraDriftC 20s ease-in-out infinite alternate;
}
.aurora--violet::before { background: radial-gradient(closest-side, var(--violet), transparent 70%); }
.aurora--cool::before { background: radial-gradient(closest-side, var(--electric), transparent 70%); }
.aurora--cool::after { background: radial-gradient(closest-side, var(--cyan), transparent 70%); }
.aurora--warm::before { background: radial-gradient(closest-side, var(--accent), transparent 70%); }
.aurora--warm::after { background: radial-gradient(closest-side, var(--magenta), transparent 70%); }

@keyframes auroraDriftA {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(15vw, 10vh) scale(1.15); }
}
@keyframes auroraDriftB {
  0% { transform: translate(0,0) scale(1.1); }
  100% { transform: translate(-10vw, -8vh) scale(1); }
}
@keyframes auroraDriftC {
  0% { transform: translate(-5vw, -5vh) scale(0.9); }
  100% { transform: translate(8vw, 6vh) scale(1.1); }
}

/* ---------- Grid background ---------- */
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(12,12,14,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12,12,14,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 65% at 50% 30%, #000 30%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}
.grid-bg--dark {
  background-image:
    linear-gradient(to right, rgba(244,241,234,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,241,234,0.06) 1px, transparent 1px);
}
.dot-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(12,12,14,0.10) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, #000 30%, transparent 90%);
  pointer-events: none;
  z-index: 0;
}
.dot-bg--dark {
  background-image: radial-gradient(circle at 1px 1px, rgba(244,241,234,0.12) 1px, transparent 0);
}

/* ---------- Noise overlay (SVG-encoded) ---------- */
.noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Glass card ---------- */
.glass {
  background: rgba(244,241,234,0.55);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(12,12,14,0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(12,12,14,0.06), inset 0 0 0 1px rgba(255,255,255,0.4);
}
.glass--dark {
  background: rgba(22,22,26,0.55);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(244,241,234,0.08);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(244,241,234,0.06);
}

/* ---------- Glow border (gradient-stroke) ---------- */
.glow-border {
  position: relative;
  border-radius: var(--radius-lg);
  isolation: isolate;
}
.glow-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background:
    conic-gradient(from 0deg,
      var(--accent),
      var(--magenta),
      var(--violet),
      var(--electric),
      var(--cyan),
      var(--accent));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  opacity: 0.55;
  animation: glowSpin 12s linear infinite;
}
.glow-border:hover::before { opacity: 1; }
@keyframes glowSpin {
  to { filter: hue-rotate(360deg); }
}

/* Static gradient border (no spin) */
.gradient-border {
  position: relative;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(135deg, var(--accent), var(--magenta), var(--electric)) border-box;
  border: 1.5px solid transparent;
}
.gradient-border--dark {
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) padding-box,
    linear-gradient(135deg, var(--accent), var(--magenta), var(--electric)) border-box;
}

/* ---------- Gradient text ---------- */
.gradient-text {
  background: linear-gradient(120deg, var(--accent) 0%, var(--magenta) 35%, var(--electric) 70%, var(--cyan) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: textShift 12s ease-in-out infinite alternate;
}
@keyframes textShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.gradient-text--warm {
  background: linear-gradient(120deg, var(--ink) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- Live status pill ---------- */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(52,211,153,0.10);
  border: 1px solid rgba(52,211,153,0.25);
  color: var(--mint);
}
.status__dot {
  position: relative;
  width: 8px; height: 8px;
  background: var(--mint);
  border-radius: 50%;
}
.status__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.5;
  animation: statusPulse 1.8s ease-out infinite;
}
@keyframes statusPulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ---------- Floating chips around hero ---------- */
.float-chip {
  position: absolute;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(244,241,234,0.85);
  border: 1px solid rgba(12,12,14,0.06);
  backdrop-filter: blur(16px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 8px 24px rgba(12,12,14,0.06);
  z-index: 2;
  white-space: nowrap;
  animation: floatY 6s ease-in-out infinite alternate;
}
.float-chip i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.float-chip--a { top: 18%; left: -2%; animation-delay: 0s; }
.float-chip--b { top: 12%; right: 0%; animation-delay: 0.6s; }
.float-chip--c { top: 60%; left: 2%; animation-delay: 1.2s; }
.float-chip--d { top: 52%; right: -2%; animation-delay: 1.8s; }
.float-chip--e { top: 80%; left: 18%; animation-delay: 2.4s; }
.float-chip--f { top: 76%; right: 16%; animation-delay: 3s; }
.float-chip i.dot-mint   { background: var(--mint); }
.float-chip i.dot-cyan   { background: var(--cyan); }
.float-chip i.dot-violet { background: var(--violet); }
.float-chip i.dot-electric { background: var(--electric); }

@keyframes floatY {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ---------- Orb (large floating gradient) ---------- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.orb--a { width: 320px; height: 320px; background: radial-gradient(closest-side, var(--accent), transparent 70%); }
.orb--b { width: 380px; height: 380px; background: radial-gradient(closest-side, var(--electric), transparent 70%); }
.orb--c { width: 280px; height: 280px; background: radial-gradient(closest-side, var(--cyan), transparent 70%); }
.orb--d { width: 340px; height: 340px; background: radial-gradient(closest-side, var(--violet), transparent 70%); }

/* ---------- Hero modernized layer ---------- */
.hero--modern {
  position: relative;
  background: var(--bone);
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero--modern .hero__inner { position: relative; z-index: 2; }
.hero__chiprow {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0.6rem 0.4rem 0.4rem;
  border-radius: 999px;
  background: rgba(244,241,234,0.7);
  border: 1px solid rgba(12,12,14,0.06);
  backdrop-filter: blur(14px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero__chiprow .badge {
  background: var(--ink);
  color: var(--bone);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.hero__chiprow .arrow { color: var(--mute); font-weight: 500; }

/* Live stat row under hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 3rem auto 0;
  max-width: 900px;
  position: relative;
  z-index: 2;
}
.hero-stat {
  text-align: left;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: rgba(244,241,234,0.6);
  border: 1px solid rgba(12,12,14,0.06);
  backdrop-filter: blur(14px);
}
.hero-stat__num {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero-stat__num small {
  font-size: 0.55em;
  color: var(--accent);
  font-weight: 700;
  margin-left: 2px;
  vertical-align: super;
}
.hero-stat__lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 0.35rem;
}
.hero-stat .status {
  margin-top: 0.5rem;
  padding: 0.25rem 0.55rem;
  font-size: 0.66rem;
}

/* ---------- Logo cloud (replaces basic marquee) ---------- */
.logo-cloud {
  background: var(--bone);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  position: relative;
  overflow: hidden;
}
.logo-cloud__title {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 2rem;
}
.logo-cloud__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}
.logo-tile {
  aspect-ratio: 5/2;
  display: grid;
  place-items: center;
  border: 1px solid var(--hair);
  border-radius: 14px;
  background: var(--paper);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.logo-tile:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--bone);
}
.logo-tile__mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-tile__shape {
  width: 16px; height: 16px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--ink));
}
.logo-tile__shape--circ   { border-radius: 50%; background: linear-gradient(135deg, var(--electric), var(--cyan)); }
.logo-tile__shape--tri    { border-radius: 0; background: var(--violet); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.logo-tile__shape--ring   { background: transparent; border: 3px solid var(--accent); }
.logo-tile__shape--bar    { width: 18px; height: 8px; background: var(--magenta); border-radius: 2px; }
.logo-tile__shape--cross  { background:
                              linear-gradient(var(--ink), var(--ink)) center/100% 3px no-repeat,
                              linear-gradient(var(--ink), var(--ink)) center/3px 100% no-repeat;
                            background-color: transparent; }
.logo-tile:hover .logo-tile__shape--cross {
  background:
    linear-gradient(var(--bone), var(--bone)) center/100% 3px no-repeat,
    linear-gradient(var(--bone), var(--bone)) center/3px 100% no-repeat;
}
.logo-tile__shape--dia    { background: var(--cyan); transform: rotate(45deg); border-radius: 3px; }
.logo-tile__shape--hex {
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.logo-tile__shape--blob {
  background: radial-gradient(circle at 30% 30%, var(--mint), var(--electric));
  border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
}
.logo-tile__shape--lines {
  width: 18px; height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0/100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 6px/100% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 12px/100% 2px no-repeat;
  background-color: transparent;
}
.logo-tile:hover .logo-tile__shape--lines {
  background:
    linear-gradient(var(--bone), var(--bone)) 0 0/100% 2px no-repeat,
    linear-gradient(var(--bone), var(--bone)) 0 6px/100% 2px no-repeat,
    linear-gradient(var(--bone), var(--bone)) 0 12px/100% 2px no-repeat;
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1rem;
}
.bento__card {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}
.bento__card:hover {
  transform: translateY(-3px);
  border-color: rgba(90,83,244,0.30);
  box-shadow: var(--shadow-md);
}
.bento__card--dark {
  background: var(--ink);
  color: var(--bone);
  border-color: rgba(244,241,234,0.06);
}
.bento__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.bento__title {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0.2rem 0 0.4rem;
  line-height: 1.15;
}
.bento__card--dark .bento__title { color: var(--bone); }
.bento__body {
  margin: 0;
  font-size: 0.95rem;
  color: var(--mute);
  line-height: 1.55;
}
.bento__card--dark .bento__body { color: var(--mute-2); }

/* Spans */
.bento__card--3 { grid-column: span 3; }
.bento__card--2 { grid-column: span 2; }
.bento__card--4 { grid-column: span 4; }
.bento__card--6 { grid-column: span 6; }
.bento__card--tall { grid-row: span 2; }

/* Bento mini visuals */
.bv {
  position: relative;
  margin-top: auto;
  min-height: 120px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bone);
}
.bento__card--dark .bv { background: var(--ink-2); }

/* Visual: Bar chart */
.bv-bars {
  padding: 1.25rem;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100%;
}
.bv-bars i {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(90,83,244,0.25));
}
.bv-bars i:nth-child(2n) { background: linear-gradient(180deg, var(--electric), rgba(99,102,241,0.25)); }

/* Visual: orbital */
.bv-orbit {
  display: grid;
  place-items: center;
}
.bv-orbit__core {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--bone), var(--accent) 70%);
  box-shadow: 0 0 40px rgba(90,83,244,0.5);
  position: relative;
  z-index: 2;
}
.bento__card--dark .bv-orbit__core {
  background: radial-gradient(circle at 30% 30%, var(--paper), var(--accent) 70%);
}
.bv-orbit__ring {
  position: absolute;
  border: 1px dashed rgba(12,12,14,0.20);
  border-radius: 50%;
  animation: spin 30s linear infinite;
}
.bento__card--dark .bv-orbit__ring { border-color: rgba(244,241,234,0.18); }
.bv-orbit__ring--1 { width: 50%; height: 50%; }
.bv-orbit__ring--2 { width: 70%; height: 70%; animation-direction: reverse; }
.bv-orbit__ring--3 { width: 90%; height: 90%; }
.bv-orbit__chip {
  position: absolute;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  background: var(--paper);
  border: 1px solid var(--hair);
  color: var(--ink);
  white-space: nowrap;
  z-index: 3;
}
.bento__card--dark .bv-orbit__chip {
  background: var(--ink);
  border-color: var(--hair-dark);
  color: var(--bone);
}
.bv-orbit__chip--a { top: 12%; left: 10%; }
.bv-orbit__chip--b { bottom: 14%; right: 10%; }
.bv-orbit__chip--c { top: 60%; left: 4%; }

/* Visual: stat */
.bv-stat {
  display: grid;
  place-items: center;
  text-align: center;
}
.bv-stat__num {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--ink), var(--accent));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.bento__card--dark .bv-stat__num {
  background: linear-gradient(135deg, var(--bone), var(--accent));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.bv-stat__lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 0.5rem;
}

/* Visual: gradient wave */
.bv-wave {
  background:
    radial-gradient(60% 80% at 30% 30%, rgba(90,83,244,0.55), transparent 60%),
    radial-gradient(60% 80% at 70% 70%, rgba(99,102,241,0.55), transparent 60%),
    radial-gradient(60% 80% at 50% 50%, rgba(34,211,238,0.35), transparent 60%);
  position: relative;
}
.bv-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(244,241,234,0.10) 0 1px, transparent 1px 14px);
  mix-blend-mode: overlay;
}

/* Visual: code/terminal preview */
.bv-code {
  background: var(--ink-2);
  padding: 1rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--bone);
  line-height: 1.55;
  text-align: left;
}
.bv-code .kw { color: var(--magenta); }
.bv-code .fn { color: var(--cyan); }
.bv-code .str { color: var(--mint); }
.bv-code .com { color: var(--mute-2); }
.bv-code .num { color: var(--accent); }

/* ---------- Code editor mockup ---------- */
.code-mock {
  background: var(--ink-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hair-dark);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--bone);
}
.code-mock__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #0a0a0c;
  border-bottom: 1px solid var(--hair-dark);
}
.code-mock__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2a2a2f;
}
.code-mock__dot:nth-child(1) { background: #FF5F57; }
.code-mock__dot:nth-child(2) { background: #FEBC2E; }
.code-mock__dot:nth-child(3) { background: #28C840; }
.code-mock__tab {
  margin-left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: var(--ink-2);
  border: 1px solid var(--hair-dark);
  color: var(--bone);
}
.code-mock__lang {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mute-2);
}
.code-mock__body {
  display: grid;
  grid-template-columns: 40px 1fr;
  padding: 1.25rem 0;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.7;
}
.code-mock__nums {
  color: var(--mute-2);
  text-align: right;
  padding-right: 0.75rem;
  border-right: 1px solid var(--hair-dark);
  font-size: 0.78rem;
}
.code-mock__lines {
  padding-left: 1.25rem;
  white-space: pre;
  overflow: auto;
}
.code-mock .kw   { color: var(--magenta); }
.code-mock .fn   { color: var(--cyan); }
.code-mock .str  { color: var(--mint); }
.code-mock .com  { color: var(--mute-2); font-style: italic; }
.code-mock .num  { color: var(--accent); }
.code-mock .typ  { color: var(--violet); }
.code-mock .prop { color: var(--electric); }

/* ---------- Terminal mockup ---------- */
.terminal {
  background: var(--ink-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hair-dark);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
  color: var(--bone);
}
.terminal__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #0a0a0c;
  border-bottom: 1px solid var(--hair-dark);
}
.terminal__top span:not(.terminal__title) {
  width: 10px; height: 10px; border-radius: 50%; background: #2a2a2f;
}
.terminal__top span:nth-child(1) { background: #FF5F57; }
.terminal__top span:nth-child(2) { background: #FEBC2E; }
.terminal__top span:nth-child(3) { background: #28C840; }
.terminal__title {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-size: 0.78rem;
  color: var(--mute-2);
  margin-left: 1rem;
}
.terminal__body {
  padding: 1.25rem 1.4rem;
  font-size: 0.84rem;
  line-height: 1.7;
}
.terminal__line { display: block; }
.terminal__prompt { color: var(--mint); margin-right: 0.6rem; }
.terminal__cmd { color: var(--bone); }
.terminal__out { color: var(--mute-2); }
.terminal__ok { color: var(--mint); }
.terminal__warn { color: var(--accent); }
.terminal__cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--bone);
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink {
  50% { opacity: 0; }
}

/* ---------- Tilt cards (used on bento + others) ---------- */
.tilt {
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease);
}

/* ---------- Modernized buttons (additive) ---------- */
.btn--glow {
  background: var(--ink);
  color: var(--bone);
  position: relative;
  isolation: isolate;
}
.btn--glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 180deg, var(--accent), var(--magenta), var(--electric), var(--cyan), var(--accent));
  z-index: -1;
  filter: blur(8px);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease);
}
.btn--glow:hover::before { opacity: 1; }

/* ---------- Modernized page hero ---------- */
.page-hero--modern {
  background: var(--bone);
  padding-top: clamp(4.5rem, 8vw, 8rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero--modern::before { content: none; }
.page-hero--modern .page-hero__inner { position: relative; z-index: 2; }

/* ---------- Modern footer mark ---------- */
.footer__mark--big {
  font-family: var(--font-sans);
  font-size: clamp(4rem, 14vw, 12rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin: 1rem 0 2rem;
  background: linear-gradient(180deg, var(--bone) 30%, transparent 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
  overflow: hidden;
}

/* ---------- Responsive: bento + logo cloud ---------- */
@media (max-width: 1080px) {
  .logo-cloud__grid { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__card--3 { grid-column: span 4; }
  .bento__card--2 { grid-column: span 2; }
  .bento__card--4 { grid-column: span 4; }
  .bento__card--6 { grid-column: span 4; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .float-chip { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .logo-cloud__grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr; }
  .bento__card--3, .bento__card--2, .bento__card--4, .bento__card--6 { grid-column: span 1; }
  .hero-stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora::before, .aurora::after, .aurora__blob,
  .float-chip, .gradient-text, .glow-border::before,
  .bv-orbit__ring, .status__dot::after, .terminal__cursor { animation: none !important; }
}

/* ============================================================
   INTERACTIVE PLAY LAYER
   Canvas, custom cursor, magnetic buttons, scramble, ripple,
   and the draggable "Helix orbit" playground.
   ============================================================ */

/* ---------- Hero particle canvas ---------- */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-canvas--interactive { pointer-events: auto; cursor: crosshair; }
.hero--modern .hero__inner { z-index: 3; }
.hero--modern .float-chip { z-index: 4; }

/* ---------- Custom cursor ----------
   Per-page accent comes from --cur (set by main.js). The cursor carries
   BOTH a light halo and a dark drop shadow so it stays visible on every
   background — light cream sections AND dark sections — as you scroll.
   (Previously used mix-blend-mode: difference, which made the cursor
   disappear over many sections.) */
.cursor {
  --cur: #5A53F4;
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none;
  z-index: 100000;          /* above sticky nav, mega-menu and drawer */
  will-change: transform;
  contain: layout style;
}
.cursor__ring {
  position: absolute;
  top: -19px; left: -19px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--cur);
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.65),
              0 2px 12px rgba(0,0,0,0.22);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
              top 0.25s var(--ease), left 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease),
              opacity 0.25s var(--ease);
}
.cursor__dot {
  position: absolute;
  top: -3.5px; left: -3.5px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cur);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9),
              0 0 10px var(--cur),
              0 1px 3px rgba(0,0,0,0.35);
}
.cursor.is-hover .cursor__ring {
  width: 62px; height: 62px;
  top: -31px; left: -31px;
  background: color-mix(in srgb, var(--cur) 16%, transparent);
  border-color: var(--cur);
}
.cursor.is-drag .cursor__ring {
  width: 82px; height: 82px;
  top: -41px; left: -41px;
  border-color: var(--cur);
  background: color-mix(in srgb, var(--cur) 14%, transparent);
}
.cursor.is-text .cursor__ring {
  width: 4px; height: 26px;
  top: -13px; left: -2px;
  border-radius: 2px;
  background: var(--cur);
  border: 0;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,0.7), 0 0 8px var(--cur);
}
.cursor.is-text .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__dot { transform: scale(1.7); transition: transform 0.12s var(--ease); }
.cursor.is-down .cursor__ring { transform: scale(0.82); transition: transform 0.12s var(--ease); }
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor { display: none !important; }
  body.has-cursor * { cursor: auto !important; }
}
/* Native cursor stays visible — custom cursor is a decorative overlay only.
   The rule below intentionally NO-OPs the "cursor: none" behaviour that
   older builds used. Do not restore it — the mega menu / links were being
   perceived as unclickable when this hid the native pointer. */
body.has-cursor,
body.has-cursor a,
body.has-cursor button,
body.has-cursor input,
body.has-cursor textarea,
body.has-cursor select,
body.has-cursor [data-cursor] { cursor: auto; }

/* ---------- Magnetic button ---------- */
.btn--magnetic {
  transition: transform 0.45s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}

/* ---------- Click ripple ---------- */
[data-ripple] {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.ripple-fx {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,83,244,0.30), transparent 65%);
  pointer-events: none;
  width: 4px; height: 4px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.8;
  animation: rippleOut 700ms var(--ease) forwards;
  z-index: 0;
}
@keyframes rippleOut {
  to {
    transform: translate(-50%, -50%) scale(160);
    opacity: 0;
  }
}

/* ---------- Scramble text ---------- */
.scramble {
  display: inline-block;
  cursor: pointer;
}
.scramble .scramble__char--active { color: var(--accent); }

/* ============================================================
   THE PLAYGROUND
   ============================================================ */
.playground {
  position: relative;
  background: var(--bone);
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
  isolation: isolate;
}
.playground .aurora { z-index: 0; }
.playground .grid-bg { z-index: 0; }
.playground__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.playground__copy {
  max-width: 36rem;
}
.playground__copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 800;
  margin: 0.5rem 0 1rem;
}
.playground__copy p {
  font-size: 1.05rem;
  color: var(--mute);
  margin: 0 0 1.5rem;
}
.playground__legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--mute);
}
.playground__legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.playground__legend i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.playground__stage {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(90,83,244,0.06), transparent 70%),
    linear-gradient(180deg, var(--paper), var(--bone));
  border: 1px solid var(--hair);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.playground__stage .grid-bg {
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 30%, transparent 90%);
}

.play-svg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  pointer-events: none;
}

.play-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 28%; height: 28%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #1f1f24, #0c0c0e 80%);
  box-shadow:
    0 30px 70px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(244,241,234,0.12);
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 3;
  color: var(--bone);
  user-select: none;
  cursor: default;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.play-core::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90,83,244,0.40), transparent 60%);
  filter: blur(10px);
  opacity: 0.7;
  animation: orbPulse 3.2s ease-in-out infinite;
  z-index: -1;
}
.play-core.is-attracted {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 80px rgba(90,83,244,0.45), inset 0 0 0 1px rgba(90,83,244,0.5);
}
.play-core__mark {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.play-core__sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-top: 0.2rem;
}
.play-core__count {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--mute-2);
  margin-top: 0.4rem;
}

.play-chip {
  position: absolute;
  top: 0; left: 0;
  padding: 0.55rem 0.95rem 0.55rem 0.55rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--hair);
  box-shadow: 0 8px 20px rgba(12,12,14,0.08);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  cursor: grab;
  user-select: none;
  touch-action: none;
  white-space: nowrap;
  z-index: 5;
  will-change: transform;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.play-chip:hover {
  border-color: rgba(90,83,244,0.35);
  box-shadow: 0 12px 28px rgba(12,12,14,0.12);
}
.play-chip.is-dragging {
  cursor: grabbing;
  background: var(--ink);
  color: var(--bone);
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(90,83,244,0.30), 0 0 0 3px rgba(90,83,244,0.20);
  z-index: 6;
}
.play-chip__icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--bone);
  flex-shrink: 0;
}
.play-chip[data-color="accent"]   .play-chip__icon { background: var(--accent); }
.play-chip[data-color="electric"] .play-chip__icon { background: var(--electric); }
.play-chip[data-color="cyan"]     .play-chip__icon { background: var(--cyan); color: var(--ink); }
.play-chip[data-color="violet"]   .play-chip__icon { background: var(--violet); }
.play-chip[data-color="mint"]     .play-chip__icon { background: var(--mint); color: var(--ink); }
.play-chip[data-color="magenta"]  .play-chip__icon { background: var(--magenta); }
.play-chip[data-color="ink"]      .play-chip__icon { background: var(--ink); }
.play-chip[data-color="moss"]     .play-chip__icon { background: var(--moss); }

.play-hint {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(244,241,234,0.7);
  border: 1px solid var(--hair);
  backdrop-filter: blur(10px);
  z-index: 4;
  pointer-events: none;
  white-space: nowrap;
}

.play-reset {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(244,241,234,0.7);
  border: 1px solid var(--hair);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.play-reset:hover {
  background: var(--ink);
  color: var(--bone);
}

@media (max-width: 880px) {
  .playground__container { grid-template-columns: 1fr; }
  .playground__stage { max-width: 480px; }
}
@media (max-width: 560px) {
  .playground__stage { max-width: 100%; }
  .play-chip { font-size: 0.68rem; padding: 0.45rem 0.75rem 0.45rem 0.45rem; }
  .play-chip__icon { width: 18px; height: 18px; font-size: 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .play-core::before, .ripple-fx { animation: none !important; }
}

/* ============================================================
   GRAPHIC ENHANCEMENTS LAYER
   - Shine sweep on cards, glowing capability numbers
   - Animated floating decorations
   - Aurora on dark sections that lack it
   - Section wave dividers
   ============================================================ */

/* ---------- Universal shine sweep on hover (cards) ---------- */
.cap, .card, .case, .article, .member, .plan, .pillar, .job, .bento__card {
  position: relative;
  isolation: isolate;
}
.cap::before,
.card::before,
.case::before,
.article::before,
.plan::before,
.pillar::before,
.job::before,
.bento__card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(110deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.10) 50%,
    transparent 65%,
    transparent 100%);
  transition: left 0.9s var(--ease);
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}
.cap:hover::before,
.card:hover::before,
.case:hover::before,
.article:hover::before,
.plan:hover::before,
.pillar:hover::before,
.job:hover::before,
.bento__card:hover::before {
  left: 100%;
}
/* Cards on dark sections get a brighter sweep */
.section--dark .cap::before,
.shop .card::before,
.bento__card--dark::before,
.faq__item::before {
  background: linear-gradient(110deg,
    transparent 0%,
    transparent 35%,
    rgba(255,255,255,0.18) 50%,
    transparent 65%,
    transparent 100%);
}

/* Make sure card content sits above the sweep */
.cap > *,
.card > *,
.case > *,
.article > *,
.plan > *,
.pillar > *,
.job > *,
.bento__card > * { position: relative; z-index: 2; }

/* ---------- Capability number — glowing accent ---------- */
.cap__num, .step__num, .value__num {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--magenta));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  font-weight: 700 !important;
  position: relative;
}
.cap:hover .cap__num,
.step:hover .step__num,
.value:hover .value__num {
  background: linear-gradient(135deg, var(--accent), var(--electric), var(--cyan));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Section wave divider (subtle, optional) ---------- */
.divider-wave {
  display: block;
  width: 100%;
  height: 60px;
  background:
    radial-gradient(ellipse at 25% 100%, rgba(90,83,244,0.12), transparent 60%),
    radial-gradient(ellipse at 75% 100%, rgba(99,102,241,0.10), transparent 60%);
  position: relative;
  pointer-events: none;
}
.divider-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(12,12,14,0.06) 0 1px, transparent 1px 40px);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
          mask-image: linear-gradient(to bottom, #000, transparent);
}

/* ---------- Floating decorative shapes (for dark feature sections) ---------- */
.deco-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.deco-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.4;
  animation: decoFloat 12s ease-in-out infinite alternate;
}
.deco-shape--1 {
  width: 14px; height: 14px;
  background: var(--accent);
  top: 18%; left: 8%;
  animation-delay: 0s;
}
.deco-shape--2 {
  width: 10px; height: 10px;
  background: var(--cyan);
  top: 70%; left: 14%;
  animation-delay: 2s;
}
.deco-shape--3 {
  width: 18px; height: 18px;
  background: var(--magenta);
  top: 30%; right: 12%;
  animation-delay: 1s;
  border-radius: 4px;
  transform: rotate(20deg);
}
.deco-shape--4 {
  width: 12px; height: 12px;
  background: var(--mint);
  top: 75%; right: 10%;
  animation-delay: 3s;
}
.deco-shape--5 {
  width: 22px; height: 22px;
  background: transparent;
  border: 2px solid var(--accent-2);
  top: 45%; left: 6%;
  animation-delay: 4s;
  filter: none;
  opacity: 0.5;
}
.deco-shape--6 {
  width: 0; height: 0;
  background: transparent;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 14px solid var(--electric);
  top: 60%; right: 18%;
  animation-delay: 5s;
  filter: none;
  opacity: 0.55;
  border-radius: 0;
}
@keyframes decoFloat {
  0%   { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-20px) rotate(180deg); }
}
.deco-shape--3 { animation-name: decoFloatBox; }
@keyframes decoFloatBox {
  0%   { transform: translateY(0) rotate(20deg); }
  100% { transform: translateY(-24px) rotate(60deg); }
}

/* ---------- Aurora retrofit for previously plain dark sections ---------- */
.section--dark { position: relative; isolation: isolate; overflow: hidden; }
.section--dark::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 60%;
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(90,83,244,0.18), transparent 65%),
    radial-gradient(35% 45% at 85% 0%, rgba(99,102,241,0.12), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.section--dark .container { position: relative; z-index: 2; }

/* Plain dark FAQ retrofit */
.faq:not([style*="aurora"])::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(40% 50% at 50% 0%, rgba(90,83,244,0.20), transparent 70%);
  filter: blur(15px);
  pointer-events: none;
  z-index: 0;
}
.faq { position: relative; isolation: isolate; overflow: hidden; }
.faq .container { position: relative; z-index: 2; }

/* ---------- Page-hero corner ornaments ---------- */
.page-hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 280px;
  background:
    radial-gradient(circle at 70% 30%, rgba(236,72,153,0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(10px);
}

/* ---------- Animated gradient outline for featured plan ---------- */
.plan--featured {
  position: relative;
  isolation: isolate;
}
.plan--featured::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--accent), var(--magenta), var(--electric), var(--cyan), var(--accent));
  z-index: -1;
  filter: blur(6px);
  opacity: 0.55;
  animation: glowSpin 8s linear infinite;
}

/* ---------- Status pulse on phone numbers in nav ---------- */
.nav__signin {
  position: relative;
  padding-left: 14px !important;
}
.nav__signin::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.7);
  animation: statusPulse 1.8s ease-out infinite;
}

/* ---------- Marquee text band for sub-pages ---------- */
.value-marquee {
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  padding: 1rem 0;
  border-top: 1px solid var(--hair-dark);
  border-bottom: 1px solid var(--hair-dark);
  position: relative;
}
.value-marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marqueeMove 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-2);
}
.value-marquee__track span { white-space: nowrap; display: inline-flex; align-items: center; gap: 0.5rem; }
.value-marquee__track span::after {
  content: "✦";
  color: var(--accent);
  margin-left: 3rem;
}

/* ---------- Job card hover glow ---------- */
.job {
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease) !important;
}
.job:hover {
  transform: translateY(-4px);
  border-color: rgba(90,83,244,0.40) !important;
  box-shadow: 0 16px 40px rgba(90,83,244,0.15), 0 2px 6px rgba(12,12,14,0.06) !important;
}

/* ---------- Capability cards — accent border on hover ---------- */
.cap, .pillar {
  position: relative;
}
.cap::after, .pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(90,83,244,0.10), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 1;
}
.cap:hover::after, .pillar:hover::after { opacity: 1; }

/* ---------- Service / shop cards — glow on hover ---------- */
.card {
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease) !important;
}
.card:hover {
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(90,83,244,0.20) !important;
}

/* ---------- Article card image — scale on hover ---------- */
.article {
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease) !important;
}
.article__cover {
  overflow: hidden;
}
.article__cover > * {
  transition: transform 0.6s var(--ease);
}
.article:hover .article__cover > * {
  transform: scale(1.05);
}

/* ---------- Featured plan tag — pulse ---------- */
.plan__tag {
  animation: tagPulse 2.4s ease-in-out infinite;
}
@keyframes tagPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ---------- Reduce all extra graphics under prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .deco-shape,
  .plan--featured::after,
  .nav__signin::before,
  .value-marquee__track,
  .plan__tag {
    animation: none !important;
  }
}

/* ============================================================
   SECOND WAVE OF MOTION + GRAPHICS
   - Particle backdrop on every page-hero
   - Cursor magnetic trail (multi-dot)
   - Word/letter split text animations
   - Animated SVG wave patterns in dark sections
   - Liquid blob morph in CTAs
   - Page fade-in transition
   ============================================================ */

/* ---------- Sub-page hero particle canvas ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-canvas--sub {
  position: absolute !important;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1 !important;
  pointer-events: none;
}
.page-hero .page-hero__inner { position: relative; z-index: 3 !important; }
.page-hero .float-chip { z-index: 4 !important; }

/* ---------- Cursor trail (5 ghost dots) ---------- */
.cursor-trail {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  mix-blend-mode: difference;
  will-change: transform;
}
.cursor-trail--0 { background: var(--accent);  opacity: 0.55; transform: translate(-50%, -50%); }
.cursor-trail--1 { background: var(--magenta); opacity: 0.42; width: 7px;  height: 7px; transform: translate(-50%, -50%); }
.cursor-trail--2 { background: var(--violet);  opacity: 0.33; width: 6px;  height: 6px; transform: translate(-50%, -50%); }
.cursor-trail--3 { background: var(--electric);opacity: 0.26; width: 5px;  height: 5px; transform: translate(-50%, -50%); }
.cursor-trail--4 { background: var(--cyan);    opacity: 0.20; width: 4px;  height: 4px; transform: translate(-50%, -50%); }
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-trail { display: none !important; }
}

/* ---------- Split text (words + characters) ---------- */
.split-word {
  display: inline-block;
  white-space: nowrap;
  overflow: visible;
}
.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em) rotateX(-25deg);
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.split-char.is-shown {
  /* The Motion library will animate to opacity 1 / rotate 0 — this is just a fallback */
}

/* ---------- Animated SVG wave background (dark sections) ---------- */
.svg-waves {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.30;
  overflow: hidden;
}
.svg-waves svg {
  position: absolute;
  left: 0;
  width: 200%;
  height: 100%;
  min-height: 400px;
}
.svg-waves path { fill: none; stroke-width: 1.2; }
.svg-waves__a { animation: waveDrift 26s ease-in-out infinite alternate; }
.svg-waves__b { animation: waveDrift 36s ease-in-out infinite alternate-reverse; opacity: 0.7; }
.svg-waves__c { animation: waveDrift 46s ease-in-out infinite alternate; opacity: 0.5; }
@keyframes waveDrift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

/* ---------- Liquid blob (CTA sections) ---------- */
.liquid-blob {
  position: absolute;
  width: 480px; height: 480px;
  pointer-events: none;
  z-index: 0;
  filter: blur(50px);
  opacity: 0.45;
}
.liquid-blob--a {
  top: -10%; left: -8%;
  background: radial-gradient(closest-side, var(--accent), transparent 70%);
  animation: blobMorph 18s ease-in-out infinite alternate;
}
.liquid-blob--b {
  bottom: -10%; right: -10%;
  width: 540px; height: 540px;
  background: radial-gradient(closest-side, var(--magenta), transparent 70%);
  animation: blobMorph 22s ease-in-out infinite alternate-reverse;
}
.liquid-blob--c {
  top: 30%; left: 50%;
  background: radial-gradient(closest-side, var(--electric), transparent 70%);
  animation: blobMorph 26s ease-in-out infinite alternate;
  opacity: 0.30;
}
@keyframes blobMorph {
  0%   { border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
         transform: translate(0, 0) scale(1); }
  50%  { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
         transform: translate(50px, -30px) scale(1.08); }
  100% { border-radius: 55% 45% 35% 65% / 55% 45% 65% 35%;
         transform: translate(-30px, 40px) scale(0.96); }
}

/* CTA section sits above the blobs */
.cta { position: relative; isolation: isolate; overflow: hidden; }
.cta > .container { position: relative; z-index: 2; }

/* ---------- Page entrance ----------
   IMPORTANT: the <body> must NEVER depend on an animation for visibility.
   The previous `animation: pageFadeIn ... both` held the 0% keyframe
   (opacity:0) whenever the animation was paused or blocked — e.g. a tab
   loaded in the background — which blanked the ENTIRE page. Entrance motion
   is handled per-section by motion.js, so the body simply stays visible. */
body {
  opacity: 1 !important;
}

/* ---------- Glow ring behind play-core ---------- */
.glow-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid;
  border-color: rgba(90,83,244,0.35) rgba(236,72,153,0.35) rgba(34,211,238,0.35) rgba(99,102,241,0.35);
  animation: ringSpin 18s linear infinite;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

/* ---------- Conic spotlight effect for sections ---------- */
.spotlight {
  position: absolute;
  inset: 0;
  background: conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(90,83,244,0.06) 60deg,
    transparent 120deg,
    rgba(236,72,153,0.06) 180deg,
    transparent 240deg,
    rgba(34,211,238,0.06) 300deg,
    transparent 360deg
  );
  animation: ringSpin 28s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ---------- Capability/pillar icons get a soft glow on hover ---------- */
.pillar__ico {
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pillar:hover .pillar__ico {
  transform: rotate(8deg) scale(1.06);
  box-shadow: 0 12px 30px rgba(90,83,244,0.30);
}

/* ---------- Animated underline on nav links ---------- */
.nav__links a {
  position: relative;
  overflow: visible;
}
.nav__links a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--magenta));
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover::before {
  width: 100%;
}

/* ---------- Sparkle keyword chips that pulse on hover ---------- */
.page-hero__chip {
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.page-hero__chip:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: var(--bone);
  box-shadow: 0 8px 20px rgba(12,12,14,0.15);
}

/* ---------- 3D depth for capability/case cards ---------- */
.cap, .pillar, .card, .case, .article, .plan, .bento__card, .job {
  transform-style: preserve-3d;
}

/* ---------- Reduce motion overrides for new graphics ---------- */
@media (prefers-reduced-motion: reduce) {
  .svg-waves__a, .svg-waves__b, .svg-waves__c,
  .liquid-blob, .liquid-blob--a, .liquid-blob--b, .liquid-blob--c,
  .glow-ring, .spotlight {
    animation: none !important;
  }
  .cursor-trail { display: none !important; }
}

/* ============================================================
   CINEMA — Apple iPhone Air-style pinned scroll section
   Sticky stage with 4 chapters that fade/scale through scroll.
   Background colour shifts per chapter. Device reveals on final.
   ============================================================ */

.cinema {
  position: relative;
  height: auto;                       /* natural height — no blank tail */
  background: #0C0C0E;
  color: var(--bone);
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.cinema__stage {
  position: relative;                 /* was sticky — kept flat so all chapters render */
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  perspective: 1200px;
  padding: clamp(2rem, 6vh, 5rem) 1.5rem;
}
.cinema__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 50% 50%, rgba(50,40,84,0.7) 0%, rgba(12,12,14,0) 70%),
    #0C0C0E;
  transition: background 0.9s var(--ease);
  z-index: 0;
}
.cinema__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(244,241,234,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244,241,234,0.06) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 90%);
  pointer-events: none;
  z-index: 1;
}
.cinema__noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 2;
}

/* Layers used to be stacked (scroll-driven) — now they render as
   individual full-viewport chapters, each visible and centred. */
.cinema__layers {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  text-align: center;
  padding: 0 1.5rem;
  width: 100%;
}
.cinema__layer {
  opacity: 1 !important;              /* beats motion.js inline scroll style */
  transform: none !important;         /* beats motion.js inline scroll style */
  will-change: auto;
  min-height: 60vh;
  display: grid;
  place-items: center;
  max-width: 100%;
}
.cinema__eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(0.74rem, 0.9vw, 0.86rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.cinema__eyebrow::before,
.cinema__eyebrow::after {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
}
.cinema__phrase {
  font-size: clamp(3.5rem, 16vw, 14rem);
  letter-spacing: -0.055em;
  font-weight: 800;
  line-height: 0.88;
  margin: 0;
  background: linear-gradient(180deg, var(--bone) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.cinema__phrase span.dot { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.cinema__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  color: var(--mute-2);
  max-width: 36rem;
  margin: 1.5rem auto 0;
  line-height: 1.5;
}

/* Device that emerges on the final chapter */
.cinema__device {
  display: none;                      /* hidden — was scroll-driven reveal */
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(220px, 22vw, 380px);
  aspect-ratio: 9 / 19;
  border-radius: 38px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(90,83,244,0.35), transparent 70%),
    linear-gradient(180deg, #1a1a1f, #0c0c0e);
  border: 1px solid rgba(244,241,234,0.10);
  box-shadow:
    0 30px 90px rgba(0,0,0,0.6),
    0 0 80px rgba(90,83,244,0.30),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transform: translateY(40px) rotateY(20deg) scale(0.85);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  gap: 1rem;
  overflow: hidden;
}
.cinema__device::before {
  content: "";
  width: 60px;
  height: 6px;
  background: rgba(244,241,234,0.20);
  border-radius: 3px;
  flex-shrink: 0;
}
.cinema__deviceScreen {
  flex: 1;
  width: 100%;
  border-radius: 22px;
  background:
    linear-gradient(180deg, #322854 0%, #11009E 60%, #5A53F4 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.cinema__deviceScreen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 30% at 50% 80%, rgba(255,255,255,0.18), transparent 60%);
}
.cinema__deviceScreen::after {
  content: "DIGITALWOLF / HELIX";
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(244,241,234,0.55);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

/* Phase dots indicator */
.cinema__dots {
  display: none;                      /* hidden — was scroll-progress indicator */
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 3rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 5;
  padding: 0.5rem 0.75rem;
  background: rgba(244,241,234,0.04);
  border: 1px solid rgba(244,241,234,0.08);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.cinema__dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(244,241,234,0.25);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.cinema__dots span.is-active {
  background: var(--accent);
  transform: scale(1.6);
  box-shadow: 0 0 0 3px rgba(90,83,244,0.25);
}

/* Tiny scroll prompt at top */
.cinema__scrollPrompt {
  display: none;                      /* hidden — no more scroll interaction */
  position: absolute;
  top: clamp(1.5rem, 4vh, 3rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-2);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
}
.cinema__scrollPrompt::after {
  content: "↓";
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(6px); opacity: 1; }
}

/* ============================================================
   HORIZONTAL-SCROLL SERVICES BAND
   Pinned section where service cards scroll sideways as you
   scroll vertically. Apple-style "scroll through products."
   ============================================================ */
.hscroll {
  position: relative;
  background: var(--bone);
  height: auto;                       /* natural — no blank tail from scroll gap */
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
}
.hscroll__sticky {
  position: relative;                 /* was sticky — flattened for reliable layout */
  height: auto;
  width: 100%;
  display: block;
}
.hscroll__head {
  position: relative;                 /* was absolute — sits in normal flow now */
  top: auto; left: auto; right: auto;
  text-align: center;
  z-index: 3;
  padding: 0 1.5rem clamp(2rem, 5vh, 4rem);
  background: transparent;            /* no fade backdrop needed anymore */
  pointer-events: auto;
}
.hscroll__head > * { pointer-events: auto; }
.hscroll__head .eyebrow { margin: 0 0 0.75rem; }
.hscroll__head h2 {
  font-size: clamp(1.8rem, 4.2vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  font-weight: 800;
  margin: 0;
  color: var(--ink);
}
.hscroll__track {
  display: flex;
  flex-wrap: wrap;                    /* was single-row scroll — wraps cleanly instead */
  justify-content: center;
  gap: 1.5rem;
  padding: 0 clamp(1.5rem, 6vw, 4rem);
  will-change: auto;
  transform: none !important;         /* beats motion.js inline translateX */
}
.hscroll__card {
  flex-shrink: 0;
  width: clamp(280px, 30vw, 420px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--bone);
  box-shadow: 0 30px 80px rgba(12,12,14,0.18);
  isolation: isolate;
}
.hscroll__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hscroll__card--seo::before {
  background:
    radial-gradient(80% 60% at 30% 30%, #5A53F4, transparent 70%),
    linear-gradient(135deg, #322854, #11009E);
}
.hscroll__card--social::before {
  background:
    radial-gradient(80% 60% at 70% 30%, #EC4899, transparent 70%),
    linear-gradient(135deg, #322854, #11009E);
}
.hscroll__card--ads::before {
  background:
    radial-gradient(80% 60% at 30% 70%, #6366F1, transparent 70%),
    linear-gradient(135deg, #322854, #11009E);
}
.hscroll__card--web::before {
  background:
    radial-gradient(80% 60% at 70% 70%, #22D3EE, transparent 70%),
    linear-gradient(135deg, #322854, #11009E);
}
.hscroll__card--app::before {
  background:
    radial-gradient(80% 60% at 50% 50%, #A855F7, transparent 70%),
    linear-gradient(135deg, #322854, #11009E);
}
.hscroll__card--soft::before {
  background:
    radial-gradient(80% 60% at 30% 50%, #34D399, transparent 70%),
    linear-gradient(135deg, #322854, #11009E);
}
.hscroll__card > * { position: relative; z-index: 2; }
.hscroll__cardNum {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--accent-2);
}
.hscroll__cardTitle {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 700;
  margin: 0;
}
.hscroll__cardBody {
  font-size: 0.95rem;
  color: rgba(244,241,234,0.78);
  line-height: 1.55;
  margin: 0 0 1rem;
}
.hscroll__cardCta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(244,241,234,0.4);
  align-self: flex-start;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), gap 0.3s var(--ease);
}
.hscroll__cardCta:hover { color: var(--accent); border-color: var(--accent); gap: 0.7rem; }

.hscroll__progress {
  display: none;                      /* no longer needed — cards render statically */
}
.hscroll__progressBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--magenta), var(--electric));
  border-radius: 999px;
}

/* Reduced motion safety */
@media (prefers-reduced-motion: reduce) {
  .cinema, .hscroll { height: auto !important; }
  .cinema__stage, .hscroll__sticky { position: static !important; height: auto !important; }
  .cinema__layer { opacity: 1 !important; transform: none !important; position: relative; padding: 4rem 0; }
  .cinema__layers { grid-template-areas: unset; display: block; }
  .cinema__device { opacity: 1 !important; transform: none !important; position: relative; margin: 2rem auto; }
  .hscroll__track { flex-wrap: wrap; transform: none !important; padding: 4rem 1.5rem; }
}

/* Mobile: shrink cinema heights to avoid excessive scroll */
@media (max-width: 768px) {
  .cinema { height: 360vh; }
  .hscroll { height: 280vh; }
  .hscroll__track { padding: 6rem 5vw; gap: 1rem; }
}

/* ============================================================
   LEGAL PROSE — long-form pages (privacy, refund, terms)
   ============================================================ */
.legal-prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.1vw, 1.05rem);
  line-height: 1.7;
  color: var(--ink);
}
.legal-prose__group {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--hair);
}
.legal-prose__group:last-child { border-bottom: 0; }
.legal-prose h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.legal-prose h2::before {
  content: "";
  width: 6px; height: 26px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--magenta));
  flex-shrink: 0;
}
.legal-prose ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.legal-prose ul li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--mute);
  line-height: 1.65;
}
.legal-prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal-prose ul ul {
  margin-top: 0.5rem;
  padding-left: 1rem;
}
.legal-prose ul ul li::before {
  background: var(--mute-2);
  width: 4px;
  height: 4px;
}
.legal-prose strong {
  color: var(--ink);
  font-weight: 700;
}
.legal-prose a { color: var(--accent); border-bottom: 1px solid currentColor; }
.legal-prose a:hover { color: var(--magenta); }

/* ============================================================
   BRAND LOGO (real DW logo image)
   ============================================================ */
.nav__logo {
  height: 30px;
  width: auto;
  display: block;
}
.nav.is-scrolled .nav__logo { height: 28px; }
.nav__logo, .footer__logo { transition: height 0.3s var(--ease), filter 0.3s var(--ease); }
.footer__logo {
  height: 40px;
  width: auto;
  display: block;
}
.footer__brand { gap: 0; }

/* ============================================================
   SERVICES MEGA-MENU  (matches live site)
   ============================================================ */
.nav__mega-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__mega-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 0;
  padding: 0.25rem 0;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.nav__mega-btn:hover,
.nav__mega-wrap:hover .nav__mega-btn,
.nav__mega-wrap.is-open .nav__mega-btn { color: var(--accent); }
.nav__chev {
  width: 16px; height: 16px;
  transition: transform 0.3s var(--ease);
}
.nav__mega-wrap:hover .nav__chev,
.nav__mega-wrap.is-open .nav__chev { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(760px, 92vw);
  background: var(--paper);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(12,12,14,0.22), 0 2px 8px rgba(12,12,14,0.08);
  border: 1px solid var(--hair);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  display: none;                             /* fully removed from layout when closed */
  transition: opacity 0.22s ease-out, transform 0.22s ease-out;
}
.mega::before {
  content: "";
  position: absolute;
  top: -16px; left: 0; right: 0;
  height: 16px;
  pointer-events: auto;                      /* bridge stays active so hover survives the gap */
}
.nav__mega-wrap:hover .mega,
.nav__mega-wrap:focus-within .mega,
.nav__mega-wrap.is-open .mega {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateX(-50%) translateY(0) !important;
}
.mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  padding: 0.9rem;
}
.mega__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  color: var(--ink);
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.mega__item:hover { background: var(--bone); transform: translateX(2px); }
.mega__ico {
  flex: none;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--bone-2);
  color: var(--mute);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.25s var(--ease);
}
.mega__ico svg { width: 22px; height: 22px; }
.mega__item:hover .mega__ico {
  background: var(--accent);
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.mega__name { font-size: 0.95rem; font-weight: 600; line-height: 1.2; }
.mega__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bone);
  border-top: 1px solid var(--hair);
}
.mega__cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.mega__cta a:first-child { border-right: 1px solid var(--hair); }
.mega__cta a:hover { background: var(--paper); color: var(--accent); }
.mega__cta svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Mobile drawer: Services accordion ---------- */
.drawer__group { width: 100%; }
.drawer__group summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--ink);
}
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.drawer__group[open] summary::after { transform: rotate(45deg); }
.drawer__sub {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 0 0.25rem 0.9rem;
  margin-top: 0.6rem;
  border-left: 2px solid var(--hair);
}
.drawer__sub a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--mute);
}
.drawer__sub a:hover { color: var(--accent); }

@media (max-width: 880px) {
  .nav__logo { height: 28px; }
}

/* ============================================================
   PREMIUM POLISH LAYER  (tasteful, performance-friendly)
   ============================================================ */

/* Smooth in-page navigation that clears the sticky nav */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

/* Refined custom scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--accent), var(--magenta));
  border-radius: 999px;
  border: 3px solid var(--bone);
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); background-clip: padding-box; }

/* Clean keyboard focus rings (hidden for mouse users) */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible,
summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
* { -webkit-tap-highlight-color: transparent; }

/* Cursor trail head adopts the per-page accent */
.cursor-trail--0 { background: var(--cur, var(--accent)); }
.cursor-trail--1 { background: color-mix(in srgb, var(--cur, var(--accent)) 70%, #fff); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gradient-text { animation: none; }
}

/* ============================================================
   TECH.JS — Boot intro, Command palette, Live widget, Ticker
   ============================================================ */

html.dw-booting body { overflow: hidden; }

/* Boot intro */
.dw-boot { position: fixed; inset: 0; z-index: 10001; background: #0C0C0E; display: grid; place-items: center; color: #F4F1EA; font-family: 'JetBrains Mono', ui-monospace, monospace; opacity: 1; transition: opacity 0.6s ease; isolation: isolate; overflow: hidden; }
.dw-boot.is-done { opacity: 0; pointer-events: none; }
.dw-boot__grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(90,83,244,0.10) 1px, transparent 1px), linear-gradient(to bottom, rgba(90,83,244,0.10) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 70%); mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 70%); animation: dwBootGrid 2s ease-out infinite; }
@keyframes dwBootGrid { 0%,100%{opacity:0.3} 50%{opacity:0.6} }
.dw-boot__stage { position: relative; z-index: 2; text-align: center; padding: 2rem; max-width: 480px; }
.dw-boot__mark { display: inline-block; margin-bottom: 1.5rem; filter: drop-shadow(0 0 40px rgba(90,83,244,0.5)); animation: dwBootMark 1.4s cubic-bezier(0.16,1,0.3,1); }
@keyframes dwBootMark { 0%{transform:scale(0.6) rotate(-8deg); opacity:0} 100%{transform:scale(1) rotate(0); opacity:1} }
.dw-boot__lines { text-align: left; font-size: 0.86rem; color: rgba(244,241,234,0.72); min-height: 8em; line-height: 1.8; margin: 0 auto 1.5rem; max-width: 380px; }
.dw-boot__line { opacity: 0; animation: dwBootLine 0.4s ease-out forwards; }
@keyframes dwBootLine { from{opacity:0; transform:translateX(-6px)} to{opacity:1; transform:translateX(0)} }
.dw-boot__ok { color: #34D399; font-weight: 700; }
.dw-boot__live { color: #5A53F4; font-weight: 700; }
.dw-boot__bar { height: 3px; width: 240px; margin: 0 auto 1.25rem; background: rgba(244,241,234,0.08); border-radius: 999px; overflow: hidden; }
.dw-boot__barFill { height: 100%; width: 0%; background: linear-gradient(90deg, #5A53F4, #EC4899, #22D3EE); border-radius: 999px; animation: dwBootBar 1.5s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes dwBootBar { to { width: 100%; } }
.dw-boot__meta { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,241,234,0.4); }

/* Command palette */
.dw-palette { position: fixed; inset: 0; z-index: 10000; display: none; opacity: 0; transition: opacity 0.2s ease; }
.dw-palette.is-open { display: block; opacity: 1; }
.dw-palette__backdrop { position: absolute; inset: 0; background: rgba(12,12,14,0.60); backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%); }
.dw-palette__card { position: absolute; top: 12vh; left: 50%; width: min(640px, 92vw); max-height: 70vh; background: rgba(22,22,26,0.94); border: 1px solid rgba(244,241,234,0.10); border-radius: 16px; box-shadow: 0 30px 100px rgba(0,0,0,0.5), 0 0 60px rgba(90,83,244,0.15), inset 0 0 0 1px rgba(255,255,255,0.04); overflow: hidden; display: flex; flex-direction: column; color: #F4F1EA; transform: translateX(-50%) scale(1); animation: dwPaletteIn 0.28s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes dwPaletteIn { from{transform:translateX(-50%) scale(0.96) translateY(-8px); opacity:0} to{transform:translateX(-50%) scale(1) translateY(0); opacity:1} }
.dw-palette__searchWrap { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.1rem; border-bottom: 1px solid rgba(244,241,234,0.08); }
.dw-palette__searchIcon { color: rgba(244,241,234,0.5); flex-shrink: 0; }
.dw-palette__input { flex: 1; background: transparent; border: 0; outline: none; color: #F4F1EA; font-family: 'Manrope', sans-serif; font-size: 1.05rem; letter-spacing: -0.005em; padding: 0.25rem 0; }
.dw-palette__input::placeholder { color: rgba(244,241,234,0.36); }
.dw-palette__esc { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.06em; color: rgba(244,241,234,0.5); border: 1px solid rgba(244,241,234,0.15); padding: 0.15rem 0.4rem; border-radius: 4px; background: rgba(244,241,234,0.04); }
.dw-palette__list { flex: 1; overflow-y: auto; padding: 0.5rem 0; scrollbar-width: thin; scrollbar-color: rgba(244,241,234,0.15) transparent; }
.dw-palette__list::-webkit-scrollbar { width: 6px; }
.dw-palette__list::-webkit-scrollbar-thumb { background: rgba(244,241,234,0.15); border-radius: 3px; }
.dw-palette__cat { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,241,234,0.4); padding: 0.85rem 1.1rem 0.35rem; }
.dw-palette__row { display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.7rem 1.1rem; background: transparent; border: 0; color: #F4F1EA; text-align: left; cursor: pointer; font-family: 'Manrope', sans-serif; font-size: 0.94rem; border-left: 2px solid transparent; transition: background 0.15s ease, border-color 0.15s ease; }
.dw-palette__row.is-selected { background: linear-gradient(90deg, rgba(90,83,244,0.14), rgba(90,83,244,0.02)); border-left-color: #5A53F4; }
.dw-palette__ico { width: 28px; height: 28px; display: grid; place-items: center; background: rgba(244,241,234,0.06); border: 1px solid rgba(244,241,234,0.08); border-radius: 6px; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: rgba(244,241,234,0.72); flex-shrink: 0; }
.dw-palette__row.is-selected .dw-palette__ico { background: rgba(90,83,244,0.18); border-color: rgba(90,83,244,0.4); color: #8F8AFF; }
.dw-palette__title { flex: 1; line-height: 1.3; }
.dw-palette__hint, .dw-palette__arrow { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: rgba(244,241,234,0.4); padding: 0.15rem 0.4rem; border-radius: 4px; }
.dw-palette__arrow { opacity: 0; }
.dw-palette__row.is-selected .dw-palette__arrow { opacity: 1; color: #5A53F4; }
.dw-palette__hint { border: 1px solid rgba(244,241,234,0.12); background: rgba(244,241,234,0.04); }
.dw-palette__empty { text-align: center; padding: 2.5rem 1rem; color: rgba(244,241,234,0.55); font-size: 0.92rem; }
.dw-palette__footer { display: flex; gap: 1.1rem; align-items: center; padding: 0.7rem 1.1rem; border-top: 1px solid rgba(244,241,234,0.08); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: rgba(244,241,234,0.45); flex-wrap: wrap; }
.dw-palette__footer kbd { font-size: 0.66rem; padding: 0.1rem 0.35rem; border-radius: 3px; background: rgba(244,241,234,0.06); border: 1px solid rgba(244,241,234,0.12); margin: 0 0.15rem; }
.dw-palette__brand { margin-left: auto; letter-spacing: 0.16em; color: #5A53F4; }

/* Live widget */
.dw-widget { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 9998; font-family: 'JetBrains Mono', monospace; }
.dw-widget__pill { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.55rem 0.85rem; background: rgba(12,12,14,0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #F4F1EA; border-radius: 999px; border: 1px solid rgba(244,241,234,0.10); font-size: 0.72rem; letter-spacing: 0.04em; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,0.4); transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.dw-widget__pill:hover { transform: translateY(-2px); border-color: rgba(90,83,244,0.5); box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 25px rgba(90,83,244,0.3); }
.dw-widget__dot { position: relative; width: 8px; height: 8px; background: #34D399; border-radius: 50%; }
.dw-widget__dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: #34D399; opacity: 0.5; animation: dwPulse 1.8s ease-out infinite; }
@keyframes dwPulse { 0%{transform:scale(1); opacity:0.6} 100%{transform:scale(2.4); opacity:0} }
.dw-widget__sep { color: rgba(244,241,234,0.35); }
.dw-widget__key { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; padding: 0.15rem 0.4rem; border-radius: 4px; background: rgba(244,241,234,0.08); border: 1px solid rgba(244,241,234,0.12); color: rgba(244,241,234,0.7); margin-left: 0.15rem; }
.dw-widget__panel { position: absolute; bottom: calc(100% + 0.5rem); right: 0; min-width: 320px; padding: 1.25rem; background: rgba(12,12,14,0.94); backdrop-filter: blur(20px); color: #F4F1EA; border-radius: 14px; border: 1px solid rgba(244,241,234,0.10); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(90,83,244,0.15); opacity: 0; transform: translateY(6px) scale(0.98); pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; }
.dw-widget.is-open .dw-widget__panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.dw-widget__panelHead { display: flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(244,241,234,0.55); margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px solid rgba(244,241,234,0.08); }
.dw-widget__panelDot { width: 6px; height: 6px; background: #34D399; border-radius: 50%; animation: dwPulse 1.8s ease-out infinite; box-shadow: 0 0 8px #34D399; }
.dw-widget__row { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; font-size: 0.82rem; }
.dw-widget__k { color: rgba(244,241,234,0.55); }
.dw-widget__v { color: #F4F1EA; font-weight: 500; }
.dw-widget__cta { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; margin-top: 1rem; padding: 0.7rem 1rem; background: #5A53F4; color: #F4F1EA; border: 0; border-radius: 8px; cursor: pointer; font-family: 'Manrope', sans-serif; font-size: 0.86rem; font-weight: 600; transition: background 0.25s ease, transform 0.25s ease; }
.dw-widget__cta:hover { background: #EC4899; transform: translateY(-1px); }
.dw-widget__cta kbd { font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; padding: 0.1rem 0.35rem; border-radius: 3px; background: rgba(244,241,234,0.12); border: 1px solid rgba(244,241,234,0.2); }
.dw-widget__close { position: absolute; top: 0.75rem; right: 0.75rem; width: 22px; height: 22px; background: transparent; border: 0; color: rgba(244,241,234,0.4); font-size: 0.85rem; cursor: pointer; border-radius: 4px; display: grid; place-items: center; transition: background 0.2s ease, color 0.2s ease; }
.dw-widget__close:hover { background: rgba(244,241,234,0.08); color: #F4F1EA; }

/* Ambient ticker bar (injected below announce/nav) */
.dw-ticker { background: #0C0C0E; color: #F4F1EA; border-bottom: 1px solid rgba(244,241,234,0.08); overflow: hidden; position: relative; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.06em; z-index: 60; }
.dw-ticker::before, .dw-ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.dw-ticker::before { left: 0;  background: linear-gradient(90deg, #0C0C0E, transparent); }
.dw-ticker::after  { right: 0; background: linear-gradient(-90deg, #0C0C0E, transparent); }
.dw-ticker__track { display: flex; gap: 2rem; padding: 0.55rem 0; animation: dwTicker 55s linear infinite; width: max-content; }
.dw-ticker__item { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(244,241,234,0.72); white-space: nowrap; }
.dw-ticker__item strong { color: #8F8AFF; font-weight: 700; }
.dw-ticker__pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: rgba(90,83,244,0.20); color: #8F8AFF; font-size: 0.66rem; }
.dw-ticker__dot { width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; animation: dwPulse 1.8s ease-out infinite; }
.dw-ticker__sep { color: rgba(244,241,234,0.25); margin: 0 0.5rem; }
@keyframes dwTicker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

@media (max-width: 640px) {
  .dw-widget { bottom: 0.75rem; right: 0.75rem; }
  .dw-widget__pill { padding: 0.5rem 0.7rem; font-size: 0.68rem; }
  .dw-widget__label, .dw-widget__sep { display: none; }
  .dw-palette__card { top: 8vh; max-height: 84vh; }
  .dw-palette__brand { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dw-boot, .dw-boot__grid, .dw-boot__mark, .dw-boot__line, .dw-boot__barFill,
  .dw-widget__dot::after, .dw-widget__panelDot, .dw-ticker__track, .dw-ticker__dot {
    animation: none !important;
  }
}

/* ============================================================
   SIGNATURE — editorial black scenes, kinetic typography,
   massive number moments. Awwwards-grade design language.
   ============================================================ */

/* Signature section container — pure black canvas */
.sig {
  position: relative;
  background: #060608;
  color: #F4F1EA;
  overflow: hidden;
  isolation: isolate;
}
.sig__grain {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.sig__glow {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}
.sig__glow--a { background: radial-gradient(closest-side, #5A53F4, transparent 70%); top: -20vmax; left: -20vmax; }
.sig__glow--b { background: radial-gradient(closest-side, #EC4899, transparent 70%); bottom: -25vmax; right: -20vmax; }

/* ---------- MANIFESTO: full-viewport editorial phrase, big serif ---------- */
.sig-manifesto {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(6rem, 12vw, 10rem) 6vw;
  position: relative;
}
.sig-manifesto__stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  display: grid;
  place-items: center;
}
.sig-manifesto__phrase {
  position: relative;
  z-index: 6;
  font-family: 'Instrument Serif', 'Manrope', Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #F4F1EA;
  max-width: 22ch;
  text-align: left;
  margin: 0;
}
.sig-manifesto__word {
  display: inline-block;
  opacity: 1;                          /* always visible — no scroll dependency */
  padding-right: 0.18em;
  transition: text-shadow 0.3s ease-out;
}
.sig-manifesto__word:hover {
  text-shadow: 0 0 40px rgba(90,83,244,0.55);
}
.sig-manifesto__word .accent {
  font-style: italic;
  background: linear-gradient(120deg, #F4F1EA, #EC4899 50%, #5A53F4);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.sig-manifesto__eyebrow {
  position: absolute;
  top: clamp(1.5rem, 4vh, 3rem);
  left: clamp(1.5rem, 6vw, 3rem);
  z-index: 6;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.5);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sig-manifesto__eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,241,234,0.5));
}
.sig-manifesto__mark {
  position: absolute;
  bottom: clamp(1.5rem, 4vh, 3rem);
  right: clamp(1.5rem, 6vw, 3rem);
  z-index: 6;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.4);
}
.sig-manifesto__progress {
  display: none;                          /* scroll-driven progress removed */
}
.sig-manifesto__progress-bar {
  width: 140px;
  height: 2px;
  background: rgba(244,241,234,0.15);
  border-radius: 999px;
  overflow: hidden;
}
.sig-manifesto__progress-fill {
  display: block;
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #5A53F4, #EC4899);
  border-radius: inherit;
  transition: width 0.05s linear;
}

/* ---------- BIG NUMBERS SCENE: massive stat as design element ---------- */
.sig-numbers {
  padding: clamp(6rem, 14vw, 12rem) 0;
}
.sig-numbers__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: clamp(1rem, 4vw, 4rem);
  padding: clamp(2rem, 5vw, 4rem) 6vw;
  border-top: 1px solid rgba(244,241,234,0.08);
  transition: background 0.4s ease;
  position: relative;
  z-index: 2;
}
.sig-numbers__row:hover { background: rgba(90,83,244,0.06); }
.sig-numbers__row:last-child { border-bottom: 1px solid rgba(244,241,234,0.08); }
.sig-numbers__num {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(5rem, 18vw, 18rem);
  font-weight: 200;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: #F4F1EA;
  display: flex;
  align-items: baseline;
  gap: 0.05em;
}
.sig-numbers__num small {
  font-size: 0.35em;
  font-weight: 300;
  color: rgba(244,241,234,0.55);
  font-family: 'Instrument Serif', serif;
  font-style: italic;
}
.sig-numbers__label {
  text-align: right;
  max-width: 26rem;
}
.sig-numbers__kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.5);
  display: block;
  margin-bottom: 0.75rem;
}
.sig-numbers__caption {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #F4F1EA;
  font-style: italic;
  margin: 0;
  opacity: 0.85;
}
.sig-numbers__header {
  padding: 0 6vw clamp(3rem, 6vw, 5rem);
  position: relative;
  z-index: 2;
}
.sig-numbers__header h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 1rem 0 0;
  color: #F4F1EA;
  max-width: 20ch;
}
.sig-numbers__header h2 em {
  font-style: italic;
  background: linear-gradient(120deg, #EC4899, #5A53F4);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.sig-numbers__header .eyebrow-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.5);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.sig-numbers__header .eyebrow-mono::before {
  content: "";
  width: 30px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(244,241,234,0.5));
}

/* ---------- KINETIC MARQUEE: massive text ribbon ---------- */
.sig-marquee {
  padding: clamp(3rem, 6vw, 5rem) 0;
  overflow: hidden;
  border-top: 1px solid rgba(244,241,234,0.08);
  border-bottom: 1px solid rgba(244,241,234,0.08);
  position: relative;
  z-index: 2;
}
.sig-marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
  animation: sigMarquee 30s linear infinite;
  width: max-content;
}
.sig-marquee__word {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3rem, 9vw, 9rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: rgba(244,241,234,0.86);
  line-height: 1;
}
.sig-marquee__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #5A53F4;
  box-shadow: 0 0 20px #5A53F4;
  flex-shrink: 0;
}
@keyframes sigMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- PULL QUOTE ---------- */
.sig-quote {
  padding: clamp(6rem, 12vw, 12rem) 6vw;
  position: relative;
  z-index: 2;
  text-align: center;
}
.sig-quote__mark {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: clamp(6rem, 14vw, 14rem);
  line-height: 1;
  color: rgba(90,83,244,0.6);
  height: 0.5em;
  overflow: visible;
  margin-bottom: 0.2em;
}
.sig-quote__text {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #F4F1EA;
  max-width: 28ch;
  margin: 0 auto;
}
.sig-quote__text em {
  font-style: italic;
  color: #EC4899;
}
.sig-quote__attr {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.65);
}
.sig-quote__attr::before {
  content: "";
  width: 40px; height: 1px;
  background: rgba(244,241,234,0.35);
}

@media (max-width: 880px) {
  .sig-numbers__row { grid-template-columns: 1fr; align-items: start; text-align: left; }
  .sig-numbers__label { text-align: left; }
  .sig-manifesto__phrase { font-size: clamp(2.5rem, 12vw, 5rem); }
  .sig-manifesto__eyebrow, .sig-manifesto__mark, .sig-manifesto__progress { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .sig-manifesto { height: auto; }
  .sig-manifesto__stage { position: static; height: auto; padding: 6rem 6vw; }
  .sig-manifesto__word { opacity: 1 !important; }
  .sig-marquee__track { animation: none; }
}
