/* ============================================================
   SyncDS — Homepage stylesheet
   Design tokens + stage + animated nav + animated hero + the
   component vocabulary from the Sync DS component library,
   plus three new homepage components (why / verticals / cta-band).
   ============================================================ */

:root {
  --bg-0: #05080f;
  --bg-1: #0b1220;
  --bg-2: #0a0f1a;
  --ink: #f3f6fb;
  --ink-muted: rgba(243, 246, 251, 0.6);
  --ink-dim: rgba(243, 246, 251, 0.42);
  --accent: #a8d8ff;
  --accent-2: #7cc1ff;
  --accent-ink: #051826;
  --cta: #a3d83b;
  --cta-2: #7cc02a;
  --cta-ink: #0c1a04;
  --brand-green: #8ec73f;
  --brand-green-bright: #c4ee5e;

  --card-bg: rgba(13, 19, 31, 0.62);
  --card-bg-soft: rgba(255, 255, 255, 0.025);
  --card-border: rgba(255, 255, 255, 0.10);
  --card-border-strong: rgba(255, 255, 255, 0.16);

  --glass-alpha: 0.11;
  --glass-blur: 28px;
  --logo-shift: -3px;
  --glass-bg: rgba(10, 15, 25, var(--glass-alpha));
  --glass-bg-strong: rgba(10, 15, 25, calc(var(--glass-alpha) + 0.05));
  --glass-border: rgba(255, 255, 255, 0.16);
  --glass-border-strong: rgba(255, 255, 255, 0.22);
  --glass-highlight: rgba(255, 255, 255, 0.55);

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 120px; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-0);
  color: var(--ink);
  font-family: 'DM Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* ============================================================
   STAGE — page-wide backdrop, grain, drifting light
   ============================================================ */
.stage {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 18% 4%, rgba(70, 120, 200, 0.20), transparent 60%),
    radial-gradient(800px 500px at 82% 14%, rgba(160, 70, 200, 0.14), transparent 65%),
    radial-gradient(1000px 900px at 50% 100%, rgba(142, 199, 63, 0.16), transparent 60%),
    linear-gradient(180deg, #080c14 0%, #04060c 100%);
}
.stage::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1   0 0 0 0 1   0 0 0 0 1   0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 1;
}
/* drifting aurora — fixed so it stays viewport-bound on a tall page */
.stage::after {
  content: "";
  position: fixed;
  inset: -10% -5%;
  background:
    radial-gradient(420px 420px at 20% 20%, rgba(168, 216, 255, 0.22), transparent 60%),
    radial-gradient(380px 380px at 80% 30%, rgba(255, 120, 200, 0.14), transparent 60%),
    radial-gradient(420px 420px at 60% 75%, rgba(142, 199, 63, 0.26), transparent 60%);
  filter: blur(30px);
  opacity: 0.5;
  animation: drift 42s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
}
@keyframes drift {
  0%   { transform: translate3d(-4%, -2%, 0) rotate(0deg); }
  50%  { transform: translate3d(4%, 3%, 0) rotate(4deg); }
  100% { transform: translate3d(-2%, 4%, 0) rotate(-2deg); }
}

.orbs { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(46px); mix-blend-mode: screen; opacity: 0.55; will-change: transform; }
.orb-1 { width: 520px; height: 520px; left: -10%; top: 8%;
  background: radial-gradient(circle, rgba(142,199,63,0.5) 0%, rgba(142,199,63,0) 65%);
  animation: orbDrift1 46s ease-in-out infinite alternate; }
.orb-2 { width: 420px; height: 420px; right: 4%; top: 12%;
  background: radial-gradient(circle, rgba(168,216,255,0.4) 0%, rgba(168,216,255,0) 65%);
  animation: orbDrift2 54s ease-in-out infinite alternate; }
.orb-3 { width: 600px; height: 600px; left: 40%; bottom: -16%;
  background: radial-gradient(circle, rgba(196,238,94,0.38) 0%, rgba(142,199,63,0) 65%);
  animation: orbDrift3 60s ease-in-out infinite alternate; }
.orb-4 { width: 360px; height: 360px; left: 8%; bottom: 6%;
  background: radial-gradient(circle, rgba(255,160,210,0.26) 0%, rgba(255,160,210,0) 65%);
  animation: orbDrift4 64s ease-in-out infinite alternate; }
@keyframes orbDrift1 { 0%{transform:translate(0,0) scale(1);} 100%{transform:translate(40vw,30vh) scale(1.08);} }
@keyframes orbDrift2 { 0%{transform:translate(0,0) scale(1);} 100%{transform:translate(-42vw,26vh) scale(0.92);} }
@keyframes orbDrift3 { 0%{transform:translate(-50%,0) scale(1);} 100%{transform:translate(calc(-50% + 24vw),-28vh) scale(1.05);} }
@keyframes orbDrift4 { 0%{transform:translate(0,0) scale(1);} 100%{transform:translate(46vw,-26vh) scale(1.04);} }

/* ============================================================
   NAV — full liquid glass pill (animated entrance + dropdowns)
   ============================================================ */
.nav-shell {
  position: fixed;
  top: -90px;
  left: 0;
  right: 0;
  margin-inline: auto;
  z-index: 100;
  width: min(1300px, calc(100vw - 32px));
  display: flex;
  justify-content: center;
  pointer-events: none;
  /* Do NOT animate opacity/transform on this ancestor of the glass pill:
     a compositor-driven opacity animation turns this element into a backdrop
     root, so the pill's backdrop-filter would only sample inside .nav-shell
     (empty) instead of the page scrolling behind it — i.e. no blur.
     Drive the entrance off `top` alone. */
  animation: navIn 1.05s cubic-bezier(.2,.85,.25,1) 0.2s forwards;
}
@keyframes navIn {
  0%   { top: -90px; }
  100% { top: 18px; }
}
.pill {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 8px 8px 20px;
  border-radius: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 24px 60px -20px rgba(0, 0, 0, 0.6),
    0 8px 24px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  transition: backdrop-filter 240ms ease, background 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
  isolation: isolate;
}
.pill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.05) 38%, rgba(255,255,255,0) 60%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.9;
}
.pill::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 0 24px rgba(168, 216, 255, 0.05);
  pointer-events: none;
}
.pill.is-scrolled {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(calc(var(--glass-blur) + 12px)) saturate(200%);
  -webkit-backdrop-filter: blur(calc(var(--glass-blur) + 12px)) saturate(200%);
  border-color: var(--glass-border-strong);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 80px -24px rgba(0, 0, 0, 0.75),
    0 10px 30px -14px rgba(0, 0, 0, 0.6);
}
.pill-ring { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; overflow: hidden; }
.pill-ring::before, .pill-ring::after {
  content: ""; position: absolute; width: 55%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0) 20%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 80%, transparent 100%);
}
.pill-ring::before { top: 0; left: 45%; animation: driftTR 5.5s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
.pill-ring::after { bottom: 0; left: 0; animation: driftBL 5.5s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
@keyframes driftTR { from { transform: translateX(-10%); opacity: 0.6; } 50% { opacity: 1; } to { transform: translateX(45%); opacity: 0.6; } }
@keyframes driftBL { from { transform: translateX(45%); opacity: 0.6; } 50% { opacity: 1; } to { transform: translateX(-10%); opacity: 0.6; } }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); padding: 6px 10px 6px 0; margin-right: 6px; font-weight: 600; letter-spacing: -0.01em; transform: translateY(var(--logo-shift)); }
.logo-mark { height: 44px; width: auto; display: block; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4)); }

.nav-links { position: relative; display: flex; align-items: center; gap: 2px; margin: 0 6px 0 auto; padding: 0; list-style: none; }
.nav-item { position: relative; }
.nav-highlight {
  position: absolute; top: 50%; left: 0; transform: translate3d(0, -50%, 0);
  height: 38px; width: 0; border-radius: 10px;
  background: linear-gradient(180deg, rgba(163,216,59,0.18) 0%, rgba(163,216,59,0.06) 100%), rgba(255,255,255,0.08);
  border: 1px solid rgba(163,216,59,0.35);
  backdrop-filter: blur(14px) saturate(180%); -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), inset 0 -1px 0 rgba(255,255,255,0.05), 0 4px 14px -6px rgba(0,0,0,0.35), 0 0 18px -4px rgba(163,216,59,0.35);
  pointer-events: none; opacity: 0;
  transition: transform 520ms cubic-bezier(0.34, 1.2, 0.4, 1), width 520ms cubic-bezier(0.34, 1.2, 0.4, 1), opacity 220ms ease;
  z-index: 0;
}
.nav-highlight.is-ready { opacity: 1; }
.nav-highlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(220,255,160,0.7), rgba(255,255,255,0.04) 45%, rgba(255,255,255,0) 70%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.nav-link[data-active="true"] { color: #ffffff; }
.nav-link {
  appearance: none; background: transparent; border: 0; color: var(--ink); font-family: inherit;
  font-size: 14px; font-weight: 500; letter-spacing: -0.005em; padding: 10px 15px; border-radius: 10px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}
.nav-text, .phone-num { display: inline-block; line-height: 1; }
.nav-link:hover, .nav-item.is-open > .nav-link { background: rgba(255,255,255,0.08); }
.nav-link .chev { width: 10px; height: 10px; transition: transform 220ms ease; opacity: 0.7; }
.nav-item.is-open .nav-link .chev { transform: rotate(180deg); }
/* split control: chevron has its own hit area so the label can navigate */
.nav-link .chev-hit { display: inline-flex; align-items: center; justify-content: center; margin: -10px -8px -10px 0; padding: 10px 8px; border-radius: 7px; cursor: pointer; transition: background 160ms ease; }
.nav-link .chev-hit:hover { background: rgba(255,255,255,0.10); }
.nav-link .chev-hit:focus-visible { outline: 2px solid rgba(163,216,59,0.6); outline-offset: 1px; }

.nav-cta { display: flex; align-items: center; gap: 2px; margin-left: 4px; padding-left: 6px; border-left: 1px solid rgba(255,255,255,0.12); position: relative; }
.nav-pill-cta {
  color: var(--cta-ink); font-weight: 600; font-size: 13.5px; line-height: 1; text-decoration: none;
  border-radius: 10px; padding: 11px 18px; display: inline-flex; align-items: center; gap: 8px;
  white-space: nowrap; position: relative; overflow: hidden; isolation: isolate; cursor: pointer;
  background: linear-gradient(180deg, #c4ee5e 0%, var(--cta) 55%, var(--cta-2) 100%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 8px 22px -8px rgba(163, 216, 59, 0.55), 0 2px 6px -2px rgba(0,0,0,0.35);
}
.nav-pill-cta::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit;
  background: conic-gradient(from 0deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,0) 250deg, rgba(255,255,255,0.95) 320deg, rgba(255,255,255,0) 360deg);
  opacity: 0.55; transition: opacity 220ms ease; animation: spinRing 4s linear infinite; z-index: 0;
}
.nav-pill-cta::after {
  content: ""; position: absolute; inset: 1.5px; border-radius: inherit;
  background: linear-gradient(180deg, #c4ee5e 0%, var(--cta) 55%, var(--cta-2) 100%); z-index: 1;
}
.nav-pill-cta > * { position: relative; z-index: 2; }
.nav-pill-cta:hover::before { opacity: 1; }
.nav-pill-cta:hover { letter-spacing: 0.005em; }
.nav-pill-cta svg { transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.nav-pill-cta:hover svg { transform: translateX(3px); }
@keyframes spinRing { to { transform: rotate(360deg); } }

.dropdown {
  position: fixed; top: 0; left: 0; transform: translate(-50%, -6px);
  min-width: 320px; padding: 10px; border-radius: 18px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(180%); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 30px 60px -20px rgba(0,0,0,0.7), 0 12px 28px -10px rgba(0,0,0,0.55);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 200ms ease, transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 200ms; z-index: 99;
  isolation: isolate;
}
/* Match the nav pill: top-left highlight edge + faint inner glow */
.dropdown::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.05) 38%, rgba(255,255,255,0) 60%);
  -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.9;
}
.dropdown::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 0 24px rgba(168, 216, 255, 0.05);
  pointer-events: none;
}
.dropdown.is-wide { min-width: 460px; }
.dropdown.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.dd-eyebrow { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-dim); padding: 8px 14px 6px; }
.dd-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; position: relative; }
.dd-item { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 32px 11px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); overflow: hidden; cursor: pointer; isolation: isolate; z-index: 1; }
.dd-item::after { content: "→"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%) translateX(-6px); font-size: 14px; color: var(--brand-green); opacity: 0; transition: opacity 220ms ease, transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.dd-item .dd-title, .dd-item .dd-sub { transition: transform 320ms cubic-bezier(0.2, 0.8, 0.2, 1), color 220ms ease; }
.dd-item:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.dd-item:hover .dd-title { transform: translateX(4px); color: #ddffa8; }
.dd-item:hover .dd-sub { transform: translateX(4px); }
.dd-title { font-size: 14px; font-weight: 500; color: var(--ink); letter-spacing: -0.005em; line-height: 1.2; }
.dd-sub { font-size: 12px; font-weight: 300; color: var(--ink-muted); line-height: 1.35; }
.phone-num { font-variant-numeric: tabular-nums; }
@media (max-width: 1200px) { .nav-cta .phone-num { display: none; } }
@media (max-width: 980px) { .nav-links { display: none; } }

/* ============================================================
   HERO — animated "fixed" word, drawn arc, burst
   ============================================================ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 140px 24px 80px; z-index: 4; }
.hero-stage { position: relative; width: min(1400px, 100%); aspect-ratio: 16 / 9; max-height: calc(100vh - 200px); display: grid; place-items: center; }
.arc-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.arc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc-path {
  fill: none; stroke-width: 2.6; stroke-linecap: round; stroke: url(#arcGrad); filter: url(#arcGlow);
  stroke-dasharray: var(--arc-len, 2400); stroke-dashoffset: var(--arc-len, 2400); opacity: 0;
  animation: arcDraw 1.5s cubic-bezier(.55,.05,.25,1) 1.15s forwards, arcFade 0.4s ease 1.15s forwards, arcSettle 1.2s ease 2.65s forwards;
}
@keyframes arcDraw { to { stroke-dashoffset: 0; } }
@keyframes arcFade { to { opacity: 1; } }
@keyframes arcSettle { 0% { stroke-width: 2.6; } 25% { stroke-width: 5; } 100% { stroke-width: 1.8; } }
.arc-glow {
  fill: none; stroke: rgba(142, 199, 63, 0.55); stroke-width: 14; stroke-linecap: round; filter: blur(18px);
  stroke-dasharray: var(--arc-len, 2400); stroke-dashoffset: var(--arc-len, 2400); opacity: 0;
  animation: arcDraw 1.5s cubic-bezier(.55,.05,.25,1) 1.15s forwards, arcGlowIn 1.8s ease 1.15s forwards;
}
@keyframes arcGlowIn { 0% { opacity: 0; } 60% { opacity: 0.9; } 100% { opacity: 0.55; } }
.arc-leader { fill: #eaffb0; filter: drop-shadow(0 0 18px rgba(196,238,94,0.95)) drop-shadow(0 0 38px rgba(142,199,63,0.65)); opacity: 0; animation: leaderFade 1.55s ease 1.15s forwards; }
@keyframes leaderFade { 0% { opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { opacity: 0; } }
.flash {
  position: absolute; left: 50%; top: 64%; width: 1200px; height: 1200px; transform: translate(-50%, -50%) scale(0.4);
  border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.55) 0%, rgba(196,238,94,0.45) 18%, rgba(142,199,63,0.18) 40%, rgba(142,199,63,0) 65%);
  opacity: 0; pointer-events: none; mix-blend-mode: screen; animation: flashBurst 1.6s cubic-bezier(.2,.7,.3,1) 2.45s forwards; z-index: 1;
}
@keyframes flashBurst { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.35); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.4); } }
.beams { position: absolute; left: 50%; top: 64%; width: 900px; height: 900px; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; mix-blend-mode: screen; animation: beamsBurst 1.6s ease 2.5s forwards; z-index: 1; }
@keyframes beamsBurst { 0% { opacity: 0; transform: translate(-50%,-50%) scale(0.6) rotate(0deg); } 40% { opacity: 0.9; } 100% { opacity: 0; transform: translate(-50%,-50%) scale(1.5) rotate(8deg); } }

.hero-content { position: relative; z-index: 3; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 36px; }
.hero-content .word-wrap { margin-top: -80px; }
.hero-content .tagline { margin-top: -28px; }
.hero-content .cta-row { margin-top: 80px; }
.word-wrap { position: relative; display: inline-block; line-height: 1; padding: 0.18em 0.4em; }
.word { font-family: 'DM Sans', sans-serif; font-weight: 300; font-size: clamp(96px, 17vw, 260px); letter-spacing: 0.04em; line-height: 0.9; margin: 0; color: #ffffff; display: inline-flex; gap: 0.08em; }
.word .letter { display: inline-block; opacity: 0; transform: translateY(20px); filter: url(#vapor); will-change: opacity, transform, filter; animation: letterIn 1.4s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes letterIn { 0% { opacity: 0; transform: translateY(28px); } 60% { opacity: 0.5; } 100% { opacity: 1; transform: translateY(0); } }
.word .letter:nth-child(1) { animation-delay: 2.75s; }
.word .letter:nth-child(2) { animation-delay: 2.90s; }
.word .letter:nth-child(3) { animation-delay: 3.05s; }
.word .letter:nth-child(4) { animation-delay: 3.20s; }
.word .letter:nth-child(5) { animation-delay: 3.35s; }
.word-wrap::after { content: ""; position: absolute; left: 50%; top: 55%; width: 80%; height: 70%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(196,238,94,0.30), transparent 65%); filter: blur(40px); opacity: 0; animation: underglow 2.5s ease 2.7s forwards; z-index: -1; pointer-events: none; }
@keyframes underglow { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0.55; } }
.tagline { font-size: clamp(16px, 1.6vw, 22px); font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-muted); margin: 0; opacity: 0; transform: translateY(8px); animation: rise 0.9s cubic-bezier(.2,.7,.2,1) 4.35s forwards; }
.cta-row { display: flex; flex-direction: column; align-items: center; gap: 18px; opacity: 0; transform: translateY(10px); animation: rise 0.9s cubic-bezier(.2,.7,.2,1) 4.65s forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* Big hero CTA — scoped to .hero so it does not collide with library .btn-primary */
.hero .btn-primary {
  --bg: linear-gradient(180deg, #c4ee5e 0%, var(--cta) 55%, var(--cta-2) 100%);
  appearance: none; border: 0; cursor: pointer; color: var(--cta-ink); background: var(--bg);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 18px 40px -12px rgba(163, 216, 59, 0.55), 0 4px 10px -2px rgba(0,0,0,0.4);
  font-family: inherit; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: 0.005em;
  padding: clamp(18px, 1.6vw, 22px) clamp(32px, 3.2vw, 44px); border-radius: 14px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 14px; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, letter-spacing .3s ease;
}
.hero .btn-primary svg { width: clamp(18px, 1.4vw, 22px); height: clamp(18px, 1.4vw, 22px); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.hero .btn-primary:hover { transform: translateY(-1px); letter-spacing: 0.015em; box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 22px 50px -10px rgba(163, 216, 59, 0.65), 0 4px 10px -2px rgba(0,0,0,0.45); }
.hero .btn-primary:hover svg { transform: translateX(5px); }
.hero .btn-primary:active { transform: translateY(0); }
.hero .btn-primary::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; background: conic-gradient(from 0deg, rgba(255,255,255,0) 0deg, rgba(255,255,255,0) 250deg, rgba(255,255,255,0.95) 320deg, rgba(255,255,255,0) 360deg); opacity: 0.65; transition: opacity .22s ease; animation: spinRing 4s linear infinite; z-index: 0; }
.hero .btn-primary::after { content: ""; position: absolute; inset: 1.5px; border-radius: inherit; background: var(--bg); z-index: 1; }
.hero .btn-primary > * { position: relative; z-index: 2; }
.hero .btn-primary:hover::before { opacity: 1; }
.cta-note { font-size: 13.5px; color: var(--ink-dim); letter-spacing: 0.06em; margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.cta-note::before { content: ""; width: 6px; height: 6px; background: var(--brand-green); border-radius: 50%; box-shadow: 0 0 8px rgba(163, 216, 59, 0.7); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 5; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink-dim); font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0; animation: rise 0.9s ease 5s forwards; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 1px solid rgba(255,255,255,0.28); border-radius: 999px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px; background: var(--brand-green-bright); transform: translateX(-50%); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 10px); } }

.replay { position: fixed; bottom: 24px; right: 24px; z-index: 50; appearance: none; background: rgba(10, 15, 25, 0.55); border: 1px solid rgba(255,255,255,0.16); color: var(--ink-muted); font-family: inherit; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 14px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: inline-flex; align-items: center; gap: 8px; transition: color .2s, border-color .2s, background .2s; }
.replay:hover { color: var(--ink); border-color: rgba(163,216,59,0.5); background: rgba(10,15,25,0.7); }
.replay svg { width: 12px; height: 12px; }

/* ============================================================
   PAGE LAYOUT + SECTION RHYTHM
   ============================================================ */
.page { position: relative; z-index: 4; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding-block: clamp(64px, 8vw, 120px); position: relative; }
.section + .section { padding-top: 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head h2 { margin: 0; font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; font-size: clamp(34px, 5vw, 56px); color: #fff; text-wrap: balance; }
.sec-head h2 b { font-weight: 600; }
.sec-head p { margin: 20px auto 0; max-width: 60ch; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.6; color: var(--ink-muted); }
.sec-foot { text-align: center; margin-top: clamp(36px, 4vw, 52px); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; color: var(--brand-green-bright); padding: 6px 13px 6px 11px; border-radius: 999px; background: rgba(142, 199, 63, 0.08); border: 1px solid rgba(142, 199, 63, 0.28); }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green); box-shadow: 0 0 8px rgba(163,216,59,0.8); }

.card { position: relative; border-radius: var(--radius-lg); background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 28px 60px -34px rgba(0,0,0,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ph { position: relative; overflow: hidden; border-radius: var(--radius-md); background-color: #0a1019; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 11px); border: 1px solid rgba(255,255,255,0.08); display: grid; place-items: center; }
.ph span { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--ink-dim); text-transform: uppercase; text-align: center; padding: 8px; }
.img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Statement paragraph (entity definition) ---------- */
.long-info { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px); text-align: center; }
.long-info::before { content: ""; position: absolute; inset: 0; background-image: url('sds-card-bg.jpg'); background-size: cover; background-position: center; }
.long-info::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,15,0.86) 0%, rgba(5,8,15,0.82) 50%, rgba(5,8,15,0.9) 100%); }
.long-info > * { position: relative; z-index: 1; }
.long-info .eyebrow { margin-bottom: 26px; }
.long-info p { margin: 0 auto; max-width: 800px; font-size: clamp(20px, 2.6vw, 30px); font-weight: 400; line-height: 1.4; letter-spacing: -0.012em; color: #eef3fa; text-wrap: pretty; }
.long-info p b { color: var(--brand-green-bright); font-weight: 500; }

/* ============================================================
   BUTTONS (library)
   ============================================================ */
.btn { appearance: none; border: 0; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1; border-radius: 14px; padding: 14px 24px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; position: relative; isolation: isolate; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease; }
.btn svg { width: 17px; height: 17px; }
.btn:active { transform: translateY(1px); }
.btn-primary { color: var(--cta-ink); font-weight: 600; background: linear-gradient(180deg, #c4ee5e 0%, var(--cta) 55%, var(--cta-2) 100%); border: 1px solid rgba(255,255,255,0.45); box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 14px 34px -12px rgba(163,216,59,0.55), 0 3px 8px -2px rgba(0,0,0,0.4); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.65), 0 20px 44px -10px rgba(163,216,59,0.7), 0 3px 8px -2px rgba(0,0,0,0.45); }
.btn-primary svg { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-glass { color: var(--ink); background: rgba(255,255,255,0.05); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }
.btn-glass:hover { background: rgba(255,255,255,0.1); border-color: var(--glass-border-strong); }
.btn-outline { color: var(--brand-green-bright); background: transparent; border: 1px solid rgba(142,199,63,0.4); }
.btn-outline:hover { background: rgba(142,199,63,0.08); border-color: rgba(142,199,63,0.7); }
.btn-ghost { color: var(--ink-muted); background: transparent; border: 1px solid transparent; padding: 14px 16px; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.05); }
.btn-lg { padding: 18px 32px; font-size: 18px; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-sm svg { width: 14px; height: 14px; }

/* ============================================================
   WHY / DIFFERENTIATORS  (new component)
   ============================================================ */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why-item { padding: 30px 28px 32px; border-radius: var(--radius-md); background: var(--card-bg-soft); border: 1px solid var(--card-border); position: relative; overflow: hidden; transition: border-color .22s ease, background .22s ease, transform .22s ease; }
.why-item:hover { border-color: rgba(142,199,63,0.4); background: rgba(142,199,63,0.04); transform: translateY(-3px); }
.why-item .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; background: rgba(142,199,63,0.10); border: 1px solid rgba(142,199,63,0.28); color: var(--brand-green-bright); }
.why-item .ico svg { width: 21px; height: 21px; }
.why-item h4 { margin: 0 0 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.why-item p { margin: 0; color: var(--ink-muted); font-size: 14px; line-height: 1.6; }
.why-item.span2 { grid-column: span 1; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ============================================================
   SERVICES (library)
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service { display: flex; flex-direction: column; padding: 28px 26px 30px; border-radius: var(--radius-md); background: var(--card-bg-soft); border: 1px solid var(--card-border); text-decoration: none; color: var(--ink); transition: border-color 220ms ease, transform 220ms ease, background 220ms ease; }
.service:hover { border-color: rgba(142,199,63,0.4); transform: translateY(-3px); background: rgba(142,199,63,0.04); }
.service .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; background: rgba(142,199,63,0.10); border: 1px solid rgba(142,199,63,0.28); color: var(--brand-green-bright); }
.service .ico svg { width: 22px; height: 22px; }
.service h4 { margin: 0 0 8px; font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.service p { margin: 0 0 16px; color: var(--ink-muted); font-size: 14px; line-height: 1.55; }
.service .more { margin-top: auto; font-family: 'DM Mono', monospace; font-size: 12px; color: var(--brand-green); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s ease; }
.service:hover .more { gap: 10px; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ============================================================
   VERTICALS  (new component)
   ============================================================ */
.verticals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vert { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-radius: 14px; background: var(--card-bg-soft); border: 1px solid var(--card-border); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.vert:hover { border-color: rgba(142,199,63,0.4); background: rgba(142,199,63,0.04); transform: translateY(-2px); }
.vert .vstar { color: var(--brand-green-bright); font-size: 17px; line-height: 1; }
.vert .vlabel { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
@media (max-width: 760px) { .verticals { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .verticals { grid-template-columns: 1fr; } }

/* ============================================================
   CTA BAND  (new component)
   ============================================================ */
.cta-band { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 76px) clamp(28px, 5vw, 64px); text-align: center; }
.cta-band::after { content: ""; position: absolute; left: 50%; bottom: -70%; width: 120%; height: 140%; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(142,199,63,0.16), transparent 60%); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin: 18px auto 0; max-width: 20ch; font-weight: 300; font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.02em; line-height: 1.05; color: #fff; text-wrap: balance; }
.cta-band h2 b { font-weight: 600; }
.cta-band p { margin: 18px auto 32px; max-width: 64ch; color: var(--ink-muted); font-size: clamp(15px, 1.6vw, 17px); line-height: 1.6; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* ============================================================
   FOUNDER / INFO + PHOTO (library)
   ============================================================ */
.info-photo { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; overflow: hidden; }
.info-photo.reverse { grid-template-columns: 0.95fr 1.05fr; }
.info-photo.reverse .body { order: 2; }
.info-photo .body { padding: clamp(30px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.info-photo .body .eyebrow { margin-bottom: 22px; align-self: flex-start; }
.info-photo .body h3 { margin: 0 0 16px; font-size: clamp(26px, 3vw, 38px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.12; }
.info-photo .body p { margin: 0 0 18px; color: var(--ink-muted); font-size: 16px; line-height: 1.65; max-width: 48ch; }
.info-photo .body .btn-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.info-photo .media { min-height: 380px; position: relative; }
.info-photo .media .ph, .info-photo .media .img-wrap { width: 100%; height: 100%; border-radius: 0; border: 0; }
.info-photo .media .img-wrap { position: absolute; inset: 0; overflow: hidden; }
@media (max-width: 820px) { .info-photo, .info-photo.reverse { grid-template-columns: 1fr; } .info-photo.reverse .body { order: 0; } .info-photo .media { min-height: 280px; } }

/* ============================================================
   CASE STUDIES (library)
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case { position: relative; border-radius: 20px; overflow: hidden; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; text-decoration: none; color: var(--ink); }
.case.wide { grid-column: span 2; }
.case .cbg { position: absolute; inset: 0; }
.case .cbg .img { filter: saturate(0.95) brightness(0.7); }
.case .cbg .ph { border-radius: 0; border: 0; width: 100%; height: 100%; }
.case::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,15,0) 30%, rgba(5,8,15,0.55) 65%, rgba(5,8,15,0.92) 100%); }
.case > * { position: relative; z-index: 1; }
.case .ctag { display: inline-flex; width: max-content; font-family: 'DM Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-green-bright); background: rgba(142,199,63,0.3); border: 1px solid rgba(142,199,63,0.5); padding: 5px 11px; border-radius: 999px; margin-bottom: 14px; }
.case h4 { margin: 0 0 6px; font-size: 24px; font-weight: 500; letter-spacing: -0.015em; }
.case p { margin: 0; font-size: 14px; font-weight: 500; color: rgba(243,246,251,0.92); }
.case .carrow { position: absolute; top: 28px; right: 28px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: rgba(10,15,25,0.4); display: grid; place-items: center; color: #fff; transition: transform 220ms ease, background 220ms ease; }
.case:hover .carrow { transform: translate(3px,-3px); background: rgba(163,216,59,0.85); color: var(--cta-ink); }
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; } .case.wide { grid-column: span 2; } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } .case.wide { grid-column: span 1; } }

/* ============================================================
   ARTICLES / BLOG (library)
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { overflow: hidden; display: flex; flex-direction: column; transition: transform 220ms ease, border-color 220ms ease; text-decoration: none; color: var(--ink); }
.post:hover { transform: translateY(-3px); border-color: var(--card-border-strong); }
.post .pmedia { height: 180px; } .post .pmedia .ph, .post .pmedia .img-wrap { border-radius: 0; border: 0; height: 100%; width: 100%; overflow: hidden; }
.post .pbody { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post .pcat { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-green); margin-bottom: 12px; }
.post h4 { margin: 0 0 8px; font-size: 18px; font-weight: 500; line-height: 1.28; letter-spacing: -0.01em; }
.post p { margin: 0 0 16px; font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; }
.post .pmeta { margin-top: auto; font-size: 12px; color: var(--brand-green); font-family: 'DM Mono', monospace; display: inline-flex; gap: 8px; align-items: center; transition: gap .2s ease; }
.post:hover .pmeta { gap: 12px; }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ (library)
   ============================================================ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.faq-item { border-radius: 14px; background: var(--card-bg-soft); border: 1px solid var(--card-border); overflow: hidden; transition: border-color 200ms ease, background 200ms ease; }
.faq-item[open] { border-color: rgba(142,199,63,0.3); background: rgba(142,199,63,0.04); }
.faq-item summary { list-style: none; cursor: pointer; padding: 19px 22px; display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pm { margin-left: auto; color: var(--brand-green); font-size: 18px; transition: transform 220ms ease; line-height: 1; flex-shrink: 0; }
.faq-item[open] summary .pm { transform: rotate(45deg); }
.faq-item .ans { padding: 0 22px 20px; color: var(--ink-muted); font-size: 14px; line-height: 1.65; }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* ============================================================
   FULL FOOTER (library)
   ============================================================ */
.foot-full { position: relative; z-index: 4; border-top: 1px solid rgba(255,255,255,0.07); margin-top: 40px; background: rgba(6,9,16,0.5); }
.foot-full .fwrap { max-width: 1180px; margin: 0 auto; padding: 56px 28px 30px; }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.foot-brand img { height: 40px; margin-bottom: 18px; }
.foot-brand p { margin: 0 0 20px; color: var(--ink-muted); font-size: 14px; line-height: 1.6; max-width: 32ch; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.04); border: 1px solid var(--card-border); color: var(--ink-muted); transition: all 180ms ease; }
.foot-social a:hover { color: var(--brand-green-bright); border-color: rgba(142,199,63,0.4); background: rgba(142,199,63,0.06); }
.foot-social svg { width: 17px; height: 17px; }
.foot-col h5 { margin: 0 0 16px; font-family: 'DM Mono', monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-dim); font-weight: 500; }
.foot-col a { display: block; color: var(--ink-muted); text-decoration: none; font-size: 14px; padding: 7px 0; transition: color 160ms ease; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; }
.foot-bottom .copy { font-family: 'DM Mono', monospace; font-size: 12px; color: var(--ink-dim); }
.foot-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom .legal a { color: var(--ink-muted); text-decoration: none; font-size: 13px; }
.foot-bottom .legal a:hover { color: #fff; }
@media (max-width: 820px) { .foot-cols { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; } }

/* ============================================================
   ENTRANCE-ON-SCROLL (content sections)
   ============================================================ */
/* Reveal-on-scroll: hidden state is gated behind .js-reveal on <html>, so
   without JS (or in capture tools that can't scroll) content is fully visible. */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .word { font-size: clamp(72px, 22vw, 160px); }
  .hero { padding: 120px 16px 80px; }
  .hero-content { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .arc-path, .arc-glow, .arc-leader, .flash, .beams, .word .letter, .tagline, .cta-row,
  .word-wrap::after, .nav-shell, .pill-ring::before, .pill-ring::after, .orb, .scroll-cue, .stage::after {
    animation-duration: 0.001s !important; animation-delay: 0s !important;
  }
  .word .letter { filter: none; opacity: 1; transform: none; }
  .nav-shell { top: 18px; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks-panel {
  position: fixed; top: 16px; right: 16px; z-index: 2000;
  width: 280px; padding: 16px 16px 18px;
  border-radius: 16px;
  background: rgba(10, 15, 25, 0.82);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(34px) saturate(180%); -webkit-backdrop-filter: blur(34px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 30px 60px -20px rgba(0,0,0,0.7);
  color: var(--ink); font-family: 'DM Sans', system-ui, sans-serif;
  display: none;
}
.tweaks-panel.is-open { display: block; }
.tweaks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; cursor: grab; }
.tweaks-head.dragging { cursor: grabbing; }
.tweaks-title { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.tweaks-close { appearance: none; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: var(--ink);
  width: 24px; height: 24px; border-radius: 8px; cursor: pointer; font-size: 14px; line-height: 1; display: grid; place-items: center; }
.tweaks-close:hover { background: rgba(255,255,255,0.16); }
.tweak-row { margin: 14px 0 0; }
.tweak-row:first-of-type { margin-top: 0; }
.tweak-label { display: flex; align-items: baseline; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--ink-muted); margin-bottom: 7px; }
.tweak-val { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--brand-green-bright); }
.tweak-row input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 999px;
  background: rgba(255,255,255,0.14); outline: none; cursor: pointer; }
.tweak-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-green-bright); border: 2px solid #0c1a04; box-shadow: 0 2px 6px rgba(0,0,0,0.4); cursor: pointer; }
.tweak-row input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-green-bright); border: 2px solid #0c1a04; cursor: pointer; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.nav-menu-toggle,
.nav-menu-close {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
  line-height: 1;
  border-radius: 10px;
}
.nav-menu-toggle:hover,
.nav-menu-close:hover { background: rgba(255,255,255,0.08); }
.nav-menu-toggle { margin-left: auto; margin-right: 2px; align-items: center; justify-content: center; }
.nav-menu-toggle .hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background 200ms ease;
}
.nav-menu-toggle .hamburger::before,
.nav-menu-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 200ms ease, top 200ms ease;
}
.nav-menu-toggle .hamburger::before { top: -6px; }
.nav-menu-toggle .hamburger::after { top: 6px; }
.pill.is-menu-open .nav-menu-toggle .hamburger { background: transparent; }
.pill.is-menu-open .nav-menu-toggle .hamburger::before { top: 0; transform: rotate(45deg); }
.pill.is-menu-open .nav-menu-toggle .hamburger::after { top: 0; transform: rotate(-45deg); }

.nav-menu-close {
  font-size: 22px;
  font-weight: 300;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  /* top/left/width are set by JS so the menu can be moved out of the
     nav-shell and blur the page behind it, not just the nav bar. */
  top: auto;
  left: auto;
  right: auto;
  width: auto;
  min-width: 0;
  background: rgba(10, 15, 25, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 10px;
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 30px 60px -20px rgba(0,0,0,0.7), 0 12px 28px -10px rgba(0,0,0,0.55);
  z-index: 1000;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.nav-mobile-menu:not([hidden]) { display: block; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 6px;
}
.mobile-menu-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
}

.mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-nav-item:last-child { border-bottom: 0; }

.mobile-nav-link,
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.mobile-nav-link:hover,
.mobile-nav-toggle:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
}
.mobile-nav-toggle::after {
  content: '+';
  font-size: 18px;
  color: var(--brand-green);
  transition: transform 200ms ease;
}
.mobile-nav-item.is-open .mobile-nav-toggle::after { transform: rotate(45deg); }

.mobile-submenu {
  list-style: none;
  margin: 0 0 8px 12px;
  padding: 0;
  border-left: 2px solid rgba(163,216,59,0.35);
}
.mobile-submenu .mobile-nav-link {
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink-muted);
}
.mobile-submenu .mobile-nav-link:hover { color: var(--ink); }

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0 4px;
}
.mobile-nav-pill {
  justify-content: center;
  background: linear-gradient(180deg, #c4ee5e 0%, var(--cta) 55%, var(--cta-2) 100%);
  color: var(--cta-ink);
  border-radius: 12px;
  font-weight: 600;
}
.mobile-nav-pill:hover { color: var(--cta-ink); }

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-menu-toggle { display: inline-flex; }
  .pill { padding: 8px 8px 8px 14px; }
  .logo-mark { height: 38px; }
}

@media (min-width: 981px) {
  .nav-mobile-menu[hidden] { display: none; }
}
