/* Netsis Mobile - dark futuristic site */

:root {
  --bg: #07080a;
  --bg-elevated: #0d0f12;
  --bg-card: #111418;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f3f4f3;
  --text-muted: #8a8f8b;
  --text-subtle: #5a5f5b;
  --accent: oklch(0.78 0.16 240);
  --accent-dim: oklch(0.78 0.16 240 / 0.18);
  --accent-glow: oklch(0.78 0.16 240 / 0.45);
  --warm: oklch(0.78 0.14 60);
  --font-display: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Geist Mono", "SF Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence 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.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6; mix-blend-mode: overlay;
  z-index: 100;
}

/* Layout */
.shell { max-width: 1440px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .shell { padding: 0 20px; } }

/* ============================================================
   NAV — studio nav, designed.
   Layout: logo · floating rail with morphing pill indicator · status + CTA.
   Behavior: contracts on scroll. Indicator follows hover, snaps to active.
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 22px 0 18px;
  transition: padding 0.5s cubic-bezier(0.22,0.8,0.22,1),
              background 0.5s, backdrop-filter 0.5s;
}
.nav::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,8,10,0.85) 0%, rgba(7,8,10,0) 100%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.nav::after {
  content: "";
  position: absolute;
  left: 48px; right: 48px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.10) 18%,
    rgba(255,255,255,0.10) 82%,
    transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.22,0.8,0.22,1);
}
.nav.scrolled {
  padding: 12px 0;
  background: oklch(0.06 0.005 240 / 0.65);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}
.nav.scrolled::before { opacity: 1; }
.nav.scrolled::after { transform: scaleX(1); }
.nav-inner {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.nav-logo { justify-self: start; }
.nav-end { justify-self: end; }

/* ----- Logo: mark + refined wordmark ----- */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
  color: var(--text);
  position: relative;
}
.nav-logo-mark {
  display: inline-flex;
  width: 32px;
  height: 32px;
  position: relative;
  color: var(--text);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.3s;
}
.nav-logo-progress {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  color: var(--text-muted);
  transition: opacity 0.5s;
}
.nav.scrolled .nav-logo-progress { opacity: 1; }
#navLogoProgressArc {
  transition: stroke-dashoffset 0.25s linear;
}
.nav-logo-mark-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.nav-logo:hover .nav-logo-mark {
  transform: scale(1.06);
}
.nav-logo-sep {
  display: inline-block;
  width: 1px;
  height: 22px;
  background: currentColor;
  opacity: 0.18;
  flex-shrink: 0;
  transform: translateY(0.5px);
  transition: opacity 0.3s, height 0.3s;
}
.nav-logo:hover .nav-logo-sep { opacity: 0.32; }
.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.04em;
  color: var(--text);
  white-space: nowrap;
  line-height: 1;
}
.nav-logo-mobile {
  margin-left: 0.22em;
  font-weight: 500;
  color: var(--text);
}

/* ----- Rail: floating capsule with morphing indicator ----- */
.nav-rail {
  position: relative;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  padding: 5px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015) 60%, rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.25),
    0 1px 0 rgba(0,0,0,0.4),
    0 8px 28px -16px rgba(0,0,0,0.6);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav-rail::before {
  /* faint accent halo that wakes up on hover */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(80% 200% at var(--rail-glow-x, 50%) 50%, var(--accent-dim), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 0;
}
.nav-rail:hover::before,
.nav-rail.has-indicator::before { opacity: 0.7; }
.nav.scrolled .nav-rail {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02) 60%, rgba(255,255,255,0));
  border-color: rgba(255,255,255,0.10);
}
.nav-rail-indicator {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  width: 0;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    inset 0 -1px 0 rgba(0,0,0,0.2),
    0 6px 18px -6px var(--accent-dim);
  transition:
    transform 0.5s cubic-bezier(0.22,0.8,0.22,1),
    width 0.5s cubic-bezier(0.22,0.8,0.22,1),
    opacity 0.3s,
    box-shadow 0.4s;
  opacity: 0;
  pointer-events: none;
  will-change: transform, width;
}
.nav-rail-indicator::after {
  /* soft accent underline glow on the active pill */
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
  filter: blur(0.4px);
  pointer-events: none;
}
.nav-rail.has-indicator .nav-rail-indicator { opacity: 1; }

.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.3s;
  white-space: nowrap;
}
.nav-link + .nav-link::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transform: translateY(-50%);
  transition: opacity 0.3s, background 0.3s;
  pointer-events: none;
}
.nav-rail.has-indicator .nav-link + .nav-link::before { opacity: 0.45; }
.nav-link:hover::before,
.nav-link:hover + .nav-link::before,
.nav-link.is-active::before,
.nav-link.is-active + .nav-link::before { opacity: 0 !important; }
.nav-link:hover,
.nav-link.is-active { color: var(--text); }

/* ----- End cluster: CTA ----- */
.nav-end {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

/* ----- CTA: stays white. Arrow slides; ghost slides in behind. ----- */
.nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px 10px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  border: 1px solid var(--text);
  transition: padding 0.4s cubic-bezier(0.22,0.8,0.22,1), box-shadow 0.4s;
}
.nav-cta:hover { box-shadow: 0 8px 28px -8px rgba(255,255,255,0.35); }
.nav-cta-label { transition: transform 0.4s cubic-bezier(0.22,0.8,0.22,1); }
.nav-cta:hover .nav-cta-label { transform: translateX(-2px); }

.nav-cta-arrow {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(7,8,10,0.06);
  flex-shrink: 0;
  transition: background 0.4s;
}
.nav-cta:hover .nav-cta-arrow { background: rgba(7,8,10,0.12); }

.nav-cta-arrow-svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(0.22,0.8,0.22,1), opacity 0.3s;
}
.nav-cta-arrow-ghost {
  transform: translate(calc(-50% - 22px), -50%);
  opacity: 0;
}
.nav-cta:hover .nav-cta-arrow-svg:not(.nav-cta-arrow-ghost) {
  transform: translate(calc(-50% + 22px), -50%);
  opacity: 0;
}
.nav-cta:hover .nav-cta-arrow-ghost {
  transform: translate(-50%, -50%);
  opacity: 1;
}

/* ----- Responsive ----- */
@media (max-width: 1040px) {
  .nav-link { padding: 9px 14px; font-size: 14px; }
}
@media (max-width: 880px) {
  .nav { padding: 16px 0 12px; }
  .nav.scrolled { padding: 10px 0; }
  .nav-inner {
    padding: 0 20px;
    gap: 12px 16px;
    grid-template-columns: auto 1fr;
    grid-template-areas: "logo end" "rail rail";
  }
  .nav-logo { grid-area: logo; }
  .nav-end { grid-area: end; }
  .nav::after { left: 20px; right: 20px; }
  .nav-rail {
    grid-area: rail;
    justify-self: stretch;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    padding: 4px 8px;
    flex-wrap: nowrap;
  }
  .nav-rail::-webkit-scrollbar { display: none; }
  .nav-link { padding: 8px 12px; font-size: 13px; flex-shrink: 0; }
  .nav-cta { padding: 10px 14px 10px 14px; font-size: 13px; }
}
@media (max-width: 640px) {
  .nav-cta { display: none; }
}
@media (max-width: 480px) {
  .nav-logo-name { font-size: 18px; }
  .nav-cta-label { display: none; }
  .nav-cta { padding: 10px 12px; gap: 8px; }
}

/* Hero */
.hero {
  min-height: 760px;
  padding: 140px 0 120px;
  position: relative;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  top: 30%; left: 50%;
  width: 1200px; height: 1200px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-dim), transparent 60%);
  filter: blur(80px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  opacity: 0.5;
}
.hero-content {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
@media (max-width: 720px) { .hero-content { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 24px 0 28px;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--accent), oklch(0.62 0.20 260));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.btn {
  font-size: 14px; font-weight: 500;
  padding: 13px 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--text); color: var(--bg);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(255,255,255,0.15); }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-elevated); border-color: var(--text-muted); }

/* Hero graphic — generic illustrated mockup */
.hero-graphic {
  position: relative;
  height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  --px: 0; --py: 0;
}

/* Faded background icons in corners */
.hg-bg-icon {
  position: absolute;
  width: 130px;
  height: 130px;
  color: oklch(0.32 0.09 240);
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.hg-bg-tl { top: 0; left: 4%; transform: rotate(-12deg); }
.hg-bg-tr { top: 6%; right: 2%; }
.hg-bg-bl { bottom: 8%; left: -2%; opacity: 0.7; }
.hg-bg-br { bottom: 4%; right: 6%; transform: rotate(8deg); opacity: 0.6; }

/* Brand-blue circle backdrop */
.hg-circle {
  position: absolute;
  top: 50%; left: 50%;
  width: 460px; height: 460px;
  transform: translate(-50%, -48%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, oklch(0.70 0.17 235) 0%, oklch(0.52 0.18 245) 48%, oklch(0.34 0.15 250) 100%);
  box-shadow:
    0 40px 80px oklch(0.40 0.18 245 / 0.45),
    inset 0 -30px 60px oklch(0.25 0.14 250 / 0.6),
    inset 0 20px 40px oklch(0.85 0.10 230 / 0.18);
  z-index: 1;
}
.hg-circle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.28), transparent 45%);
  pointer-events: none;
}
.hg-circle::after {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 60%);
  filter: blur(30px);
  z-index: -1;
  opacity: 0.55;
}

/* Phone */
.hg-phone-mock {
  position: relative;
  width: 280px;
  height: 540px;
  border-radius: 36px;
  background: linear-gradient(180deg, oklch(0.66 0.17 238) 0%, oklch(0.58 0.18 245) 60%, #ffffff 60.1%, #ffffff 100%);
  padding: 22px 22px 28px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.15);
  z-index: 3;
  transform: translate3d(calc(var(--px) * 4px), calc(var(--py) * 4px), 0);
  transition: transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
}
.hg-phone-dot {
  position: absolute;
  top: 16px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
}
.hg-phone-dot-l { left: 22px; }
.hg-phone-dot-r { right: 22px; }

/* Hero ring with calendar icon */
.hg-mock-hero {
  position: relative;
  width: 200px; height: 200px;
  margin: 22px auto 0;
}
.hg-mock-ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.hg-mock-ring-dot {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.hg-mock-ring-dot-top { top: 8px; right: 36px; background: oklch(0.82 0.13 200); }
.hg-mock-ring-dot-bottom { bottom: 36px; left: 78px; background: oklch(0.74 0.16 165); }
.hg-mock-ring-inner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, oklch(0.72 0.15 235), oklch(0.50 0.19 248));
  box-shadow: 0 8px 24px oklch(0.40 0.18 245 / 0.45), inset 0 -6px 16px rgba(0,0,0,0.12), inset 0 4px 10px rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
}
.hg-mock-ring-inner svg { width: 38px; height: 38px; }

/* Placeholder bars */
.hg-mock-bar {
  height: 10px;
  background: rgba(255,255,255,0.85);
  border-radius: 999px;
  margin: 0 auto;
}
.hg-mock-bar-1 { width: 50%; margin-top: 22px; }
.hg-mock-bar-2 { width: 75%; margin-top: 10px; }

/* Bottom card placeholders */
.hg-mock-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 30px;
}
.hg-mock-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex; flex-direction: column; gap: 8px;
}
.hg-mock-card-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #e5e7eb;
  margin-bottom: 4px;
}
.hg-mock-card-line {
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
}
.hg-mock-card-line-l { width: 90%; }
.hg-mock-card-line-s { width: 60%; }

/* CTA pill — accent blue */
.hg-mock-cta {
  margin-top: 14px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, oklch(0.78 0.16 240) 0%, oklch(0.66 0.18 248) 100%);
  box-shadow: 0 6px 16px oklch(0.66 0.18 245 / 0.45);
}

/* Floating notification card (top-right) */
.hg-float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.20), 0 4px 12px rgba(0,0,0,0.08);
  z-index: 5;
}
.hg-float-notif {
  top: 22%; right: 4%;
  width: 180px;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
  transform: translate3d(calc(var(--px) * -10px), calc(var(--py) * -6px), 0) rotate(2deg);
  animation: hg-float-a 6s ease-in-out infinite;
}
@keyframes hg-float-a { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.hg-float-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.78 0.16 240), oklch(0.62 0.20 260));
  box-shadow: 0 4px 10px oklch(0.66 0.18 245 / 0.4);
}
.hg-float-lines { display: flex; flex-direction: column; gap: 6px; }
.hg-float-line {
  height: 5px;
  border-radius: 999px;
  background: #e5e7eb;
  width: 100%;
}
.hg-float-line-s { width: 70%; }

/* Floating actions chip (bottom-left) */
.hg-float-actions {
  bottom: 18%; left: -2%;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 14px;
  border-radius: 999px;
  transform: translate3d(calc(var(--px) * 10px), calc(var(--py) * 8px), 0) rotate(-2deg);
  animation: hg-float-b 7s ease-in-out infinite;
}
@keyframes hg-float-b { 0%,100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.hg-float-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, oklch(0.78 0.16 240) 0%, oklch(0.58 0.20 265) 100%);
  box-shadow: 0 4px 10px oklch(0.66 0.18 245 / 0.4);
  display: flex; align-items: center; justify-content: center;
}
.hg-float-icon svg { width: 14px; height: 14px; }
.hg-float-action-icon {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
}
.hg-float-action-icon svg { width: 100%; height: 100%; }

@media (max-width: 1100px) {
  .hg-phone-mock { transform: scale(0.85); transform-origin: center; }
  .hg-circle { transform: translate(-50%, -48%) scale(0.85); }
}
@media (max-width: 720px) {
  .hero-graphic { height: 520px; }
  .hg-phone-mock { transform: scale(0.78); transform-origin: center; }
  .hg-circle { transform: translate(-50%, -48%) scale(0.78); }
}

/* legacy phone hooks kept for any leftover refs */
.phone-stage,
  position: relative;
  height: 620px;
  display: flex; align-items: center; justify-content: center;
  perspective: 1600px;
}
.phone {
  position: relative;
  width: 280px; height: 580px;
  border-radius: 44px;
  background: linear-gradient(160deg, #1c1f24, #0a0b0e);
  padding: 10px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 60px var(--accent-glow);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.04);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 26px;
  background: #000; border-radius: 16px;
  z-index: 5;
}
.phone-orbit {
  position: absolute; top: 50%; left: 50%;
  width: 480px; height: 480px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
  animation: spin 40s linear infinite;
}
.phone-orbit::before, .phone-orbit::after {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}
.phone-orbit::before { top: -4px; left: 50%; transform: translateX(-50%); }
.phone-orbit::after { bottom: -4px; left: 50%; transform: translateX(-50%); background: var(--warm); box-shadow: 0 0 12px var(--warm); }
.phone-orbit-2 {
  position: absolute; top: 50%; left: 50%;
  width: 620px; height: 620px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed var(--border);
  pointer-events: none;
  animation: spin 60s linear infinite reverse;
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.phone-app {
  padding: 50px 18px 18px;
  height: 100%;
  display: flex; flex-direction: column; gap: 12px;
}
.phone-app-header { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.phone-app-title { font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: -0.03em; }
.phone-app-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), oklch(0.6 0.20 260));
}
.phone-stat-card {
  background: linear-gradient(160deg, oklch(0.22 0.05 240), oklch(0.14 0.03 240));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 16px;
  display: flex; flex-direction: column; gap: 6px;
}
.phone-stat-label { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.phone-stat-value { font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1; letter-spacing: -0.02em; }
.phone-stat-delta { font-family: var(--font-mono); font-size: 10px; color: var(--accent); }
.phone-chart {
  height: 60px; position: relative;
  margin-top: 4px;
}
.phone-row {
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px;
}
.phone-row-icon { width: 32px; height: 32px; border-radius: 9px; background-size: cover; background-position: center; box-shadow: 0 0 0 1px rgba(255,255,255,0.08); flex-shrink: 0; }
.phone-row-info { flex: 1; margin: 0 10px; }
.phone-row-title { font-weight: 500; font-size: 12px; }
.phone-row-sub { font-size: 10px; color: var(--text-muted); margin-top: 1px; }
.phone-row-chip { font-family: var(--font-mono); font-size: 9px; padding: 3px 7px; border-radius: 999px; background: var(--accent-dim); color: var(--accent); }

/* Section */
section { position: relative; }
.section-pad { padding: 120px 0; }
.section-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-muted);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.section-label::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05; letter-spacing: -0.035em;
  text-wrap: balance;
  padding-bottom: 0.06em;
}
.section-title em { font-style: normal; color: var(--text-muted); }
.section-title em { font-style: normal; color: var(--text-muted); }

/* Logo bar */
.logo-bar {
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logo-bar-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 44px;
}
.logo-track {
  display: flex; gap: 96px; align-items: center;
  animation: scroll-x 50s linear infinite;
  width: max-content;
}
.logo-track-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
@media (max-width: 768px) {
  .logo-track-wrap { padding: 0 20px; }
}
.logo-item {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.3s;
  color: var(--text);
}
.logo-item:hover { opacity: 1; }
.logo-item-mark {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text);
}
.logo-item-mark svg { width: 100%; height: 100%; display: block; }
.logo-item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--text);
}
.logo-item-name span { font-weight: 400; opacity: 0.78; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* What we do */
.whatwedo {
  position: relative;
  border-top: 1px solid var(--border);
  padding-bottom: 0;
}
.whatwedo-hero {
  max-width: 880px;
  margin: 0 auto 60px;
  text-align: center;
}
.whatwedo-eyebrow { display: inline-block; white-space: nowrap; }
.whatwedo-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-top: 18px;
  text-wrap: balance;
}
.whatwedo-headline em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, var(--accent), oklch(0.62 0.20 260));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.whatwedo-lead {
  margin: 22px auto 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  text-wrap: pretty;
}
.whatwedo-lead strong { color: var(--text); font-weight: 500; }
.whatwedo-lead-bottom {
  margin: 16px auto 0;
  max-width: 700px;
  text-align: center;
}

/* Stage with orb + ribbons + floating icons */
/* Stage: phone at center + orbiting real app icons */
.whatwedo-stage {
  position: relative;
  width: 100%;
  max-width: 880px;
  height: 720px;
  margin: 60px auto 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}
.wwd-stage-glow {
  position: absolute;
  inset: 15% 22%;
  background: radial-gradient(60% 50% at 50% 55%,
    var(--accent-dim),
    oklch(0.55 0.18 280 / 0.18) 50%,
    transparent 75%);
  filter: blur(50px);
  pointer-events: none;
}
/* Orbit rings — solid concentric paths, very subtle */
.wwd-orbit-ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: inset 0 0 60px rgba(255,255,255,0.02);
}
.wwd-orbit-ring-outer { width: 580px; height: 580px; }
.wwd-orbit-ring-inner { width: 390px; height: 390px; }

/* Phone */
.wwd-phone {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.55));
}
.wwd-phone-shell {
  position: relative;
  width: 200px;
  height: 410px;
  background: linear-gradient(180deg, #1a1c20 0%, #0d0f12 100%);
  border-radius: 38px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 0 60px var(--accent-glow);
}
.wwd-phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 18px;
  background: #000;
  border-radius: 12px;
  z-index: 2;
}
.wwd-phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #07080a;
}
.wwd-phone-home {
  position: absolute;
  bottom: 14px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  z-index: 2;
}

/* Slides */
.wwd-slide {
  position: absolute;
  inset: 0;
  padding: 38px 18px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2,0.8,0.2,1);
  font-family: var(--font-display);
}
.wwd-slide.is-active { opacity: 1; transform: scale(1); }
.wwd-slide-status {
  display: flex; gap: 4px;
  margin-bottom: 14px;
  opacity: 0.5;
}
.wwd-slide-status span {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.wwd-slide-step {
  font-size: 9px; font-weight: 500;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-mono); letter-spacing: 0.12em;
  text-transform: uppercase;
}
.wwd-slide-headline {
  font-size: 18px; font-weight: 600; color: #fff;
  letter-spacing: -0.02em; margin-top: 4px;
  font-family: var(--font-display);
}

/* 01 — Wireframe */
.wwd-slide-wire { background: linear-gradient(160deg, oklch(0.22 0.04 250), oklch(0.12 0.03 250)); }
.wwd-wire {
  display: flex; flex-direction: column; gap: 9px;
  margin-top: 22px;
}
.wwd-wire-bar {
  height: 8px; border-radius: 3px;
  background: rgba(255,255,255,0.18);
}
.wwd-wire-bar.w90 { width: 88%; }
.wwd-wire-bar.w70 { width: 68%; }
.wwd-wire-bar.w60 { width: 58%; }
.wwd-wire-bar.w40 { width: 38%; }
.wwd-wire-block {
  height: 56px; border-radius: 6px;
  background: rgba(255,255,255,0.10);
  border: 1px dashed rgba(255,255,255,0.25);
  margin: 4px 0;
}
.wwd-wire-row { display: flex; gap: 6px; margin-top: auto; }
.wwd-wire-row span {
  flex: 1; height: 28px; border-radius: 5px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

/* 02 — UI */
.wwd-slide-ui { background: linear-gradient(160deg, oklch(0.18 0.02 250), oklch(0.10 0.01 250)); }
.wwd-ui-card {
  margin-top: 18px;
  padding: 12px;
  background: rgba(255,255,255,0.10);
  border-radius: 10px;
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.10);
}
.wwd-ui-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0.12));
}
.wwd-ui-lines { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.wwd-ui-lines span {
  height: 6px; border-radius: 3px;
  background: rgba(255,255,255,0.5);
}
.wwd-ui-lines span:last-child { width: 60%; background: rgba(255,255,255,0.25); }
.wwd-ui-tiles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
  margin-top: 10px;
}
.wwd-ui-tiles span {
  height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
}
.wwd-ui-tiles span:nth-child(1) { background: rgba(255,255,255,0.18); }
.wwd-ui-tiles span:nth-child(4) { background: rgba(255,255,255,0.20); }
.wwd-ui-cta {
  margin-top: auto;
  padding: 10px 16px;
  background: #fff; color: #0a0b0e;
  font-size: 11px; font-weight: 600;
  border-radius: 999px;
  text-align: center;
}

/* 03 — Code */
.wwd-slide-build { background: linear-gradient(160deg, oklch(0.16 0.02 260), oklch(0.08 0.01 260)); }
.wwd-code {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 10px; line-height: 1.7;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0;
}
.wwd-code-line {
  display: flex; align-items: baseline; gap: 8px;
  white-space: nowrap;
}
.wwd-code-line em {
  font-style: normal;
  color: rgba(255,255,255,0.25);
  width: 12px; flex-shrink: 0;
  text-align: right;
}
.wwd-code-line b { color: oklch(0.75 0.18 320); font-weight: 500; }
.wwd-code-line i { color: oklch(0.80 0.16 200); font-style: normal; }
.wwd-code-line s { color: oklch(0.78 0.18 130); text-decoration: none; }
.wwd-cursor {
  display: inline-block;
  width: 6px; height: 11px;
  background: var(--accent);
  vertical-align: middle;
  animation: wwdBlink 1s steps(2) infinite;
}
@keyframes wwdBlink { 50% { opacity: 0; } }

/* 04 — Launch */
.wwd-slide-launch { background: linear-gradient(160deg, oklch(0.18 0.02 170), oklch(0.10 0.01 170)); }
.wwd-launch-chart {
  margin-top: 22px;
  height: 84px;
  display: flex;
  align-items: flex-end;
}
.wwd-launch-chart svg { width: 100%; height: 100%; overflow: visible; }
.wwd-launch-meta {
  margin-top: auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.wwd-launch-meta > div {
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex; flex-direction: column; gap: 2px;
}
.wwd-launch-num {
  font-size: 13px; font-weight: 600; color: #fff;
  letter-spacing: -0.01em;
}
.wwd-launch-lbl {
  font-size: 8px; color: rgba(255,255,255,0.55);
  font-family: var(--font-mono); letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* 04 — Scale */
.wwd-slide-scale { background: linear-gradient(160deg, oklch(0.20 0.05 240), oklch(0.10 0.02 240)); }
.wwd-scale-counter {
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.wwd-scale-num {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 600; color: #fff;
  letter-spacing: -0.04em; line-height: 1;
}
.wwd-scale-lbl {
  font-size: 9px; color: rgba(255,255,255,0.55);
  font-family: var(--font-mono); letter-spacing: 0.08em;
  text-transform: uppercase;
}
.wwd-scale-globe {
  margin-top: auto; margin-bottom: 4px;
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  animation: wwdScaleSpin 14s linear infinite;
}
.wwd-scale-globe svg { width: 92%; height: 92%; }
.wwd-scale-globe circle[fill="#fff"] {
  animation: wwdScalePulse 2.4s ease-in-out infinite;
}
.wwd-scale-globe circle[fill="#fff"]:nth-child(6) { animation-delay: 0.3s; }
.wwd-scale-globe circle[fill="#fff"]:nth-child(7) { animation-delay: 0.6s; }
.wwd-scale-globe circle[fill="#fff"]:nth-child(8) { animation-delay: 0.9s; }
.wwd-scale-globe circle[fill="#fff"]:nth-child(9) { animation-delay: 1.2s; }
@keyframes wwdScaleSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes wwdScalePulse {
  0%, 100% { opacity: 0.55; r: 2; }
  50% { opacity: 1; r: 3; }
}

/* ============================================================
   CONSTELLATION ORBIT
   - Static stationary nodes anchored to outer ring (process stages)
   - Static mini labels on inner ring (disciplines)
   - Animated comets that trace each ring with a glowing tail
   ============================================================ */

.wwd-orbiter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

/* Process stage nodes (anchored, do NOT spin) */
.wwd-node {
  --rx: 290px;
  position: absolute;
  left: 50%; top: 50%;
  transform:
    translate(-50%, -50%)
    rotate(var(--ang))
    translate(var(--rx), 0)
    rotate(calc(var(--ang) * -1));
  display: flex; align-items: center; gap: 10px;
}

/* The dot sits ON the orbit ring */
.wwd-node-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(255,255,255,0.06),
    0 0 18px 4px rgba(180,200,255,0.55),
    0 0 40px 8px rgba(140,170,255,0.25);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.wwd-node-dot::before {
  content: "";
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  animation: wwdNodePulse 3.6s ease-out infinite;
}
.wwd-node:nth-child(2) .wwd-node-dot::before { animation-delay: -0.9s; }
.wwd-node:nth-child(3) .wwd-node-dot::before { animation-delay: -1.8s; }
.wwd-node:nth-child(4) .wwd-node-dot::before { animation-delay: -2.7s; }
@keyframes wwdNodePulse {
  0%   { transform: scale(0.8); opacity: 0.9; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Label card next to the dot */
.wwd-node-card {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 8px 14px;
  background: rgba(20, 22, 28, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.wwd-node-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
}
.wwd-node-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

/* Position the card relative to the dot based on quadrant
   (so labels never overlap the phone or fall off-stage) */
.wwd-node[data-stage="01"] { /* top-right: card to the right */ }
.wwd-node[data-stage="02"] { /* bottom-right: card to the right */ }
.wwd-node[data-stage="03"] {
  /* bottom-left: flip order so card sits to the LEFT of the dot */
  flex-direction: row-reverse;
}
.wwd-node[data-stage="04"] {
  /* top-left: flip order so card sits to the LEFT of the dot */
  flex-direction: row-reverse;
}

/* Inner ring: small disciplines as faint chips */
.wwd-mini {
  --rx: 195px;
  position: absolute;
  left: 50%; top: 50%;
  transform:
    translate(-50%, -50%)
    rotate(var(--ang))
    translate(var(--rx), 0)
    rotate(calc(var(--ang) * -1));
}
/* Anchor labels OUTWARD from center: right-side labels stick to the LEFT
   edge of the dot's position, left-side labels to the RIGHT edge.
   Implement with a per-mini text-align trick: each span is wider than its
   anchor so we shift it. */
.wwd-mini span {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.32);
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(20, 22, 28, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
  animation: wwdMiniFade 8s ease-in-out infinite;
  position: relative;
}
/* Right-side minis (-25, 25): label sits to the right of the dot */
.wwd-mini[style*="ang:-25deg"] span,
.wwd-mini[style*="ang:25deg"] span {
  transform: translateX(calc(50% + 8px));
}
/* Left-side minis (155, -155): label sits to the left of the dot */
.wwd-mini[style*="ang:155deg"] span,
.wwd-mini[style*="ang:-155deg"] span {
  transform: translateX(calc(-50% - 8px));
}
.wwd-mini:nth-child(1) span { animation-delay: 0s; }
.wwd-mini:nth-child(2) span { animation-delay: -2s; }
.wwd-mini:nth-child(3) span { animation-delay: -4s; }
.wwd-mini:nth-child(4) span { animation-delay: -6s; }
@keyframes wwdMiniFade {
  0%, 100% { color: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.06); }
  50%      { color: rgba(255,255,255,0.78); border-color: rgba(255,255,255,0.22); }
}

/* ============================================================
   COMETS — bright head + fading tail tracing each ring
   Implemented as a circular container that spins; the tail/head
   sit on the right edge so they follow the ring.
   ============================================================ */
.wwd-comet {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  animation: wwdCometSpin 18s linear infinite;
}
.wwd-comet-outer { width: 580px; height: 580px; }
.wwd-comet-inner { width: 390px; height: 390px; animation-duration: 12s; animation-direction: reverse; }

/* Tail = thin glowing arc rendered with conic-gradient masked to a ring */
.wwd-comet-tail {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    conic-gradient(from -90deg,
      transparent 0deg,
      rgba(140,180,255,0.0) 250deg,
      rgba(140,180,255,0.10) 290deg,
      rgba(180,210,255,0.55) 350deg,
      rgba(255,255,255,0.95) 360deg);
  -webkit-mask:
    radial-gradient(circle,
      transparent calc(50% - 2px),
      #000 calc(50% - 2px),
      #000 calc(50% + 1px),
      transparent calc(50% + 1px));
          mask:
    radial-gradient(circle,
      transparent calc(50% - 2px),
      #000 calc(50% - 2px),
      #000 calc(50% + 1px),
      transparent calc(50% + 1px));
  filter: blur(0.5px);
}
.wwd-comet-inner .wwd-comet-tail {
  background:
    conic-gradient(from -90deg,
      transparent 0deg,
      rgba(160,200,255,0.0) 270deg,
      rgba(160,200,255,0.18) 320deg,
      rgba(220,235,255,0.85) 360deg);
}

/* Head = bright dot at the leading edge (right side, then container rotates) */
.wwd-comet-head {
  position: absolute;
  right: -5px; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translateY(-50%);
  box-shadow:
    0 0 12px 2px rgba(255,255,255,0.95),
    0 0 28px 6px rgba(170,200,255,0.7),
    0 0 56px 12px rgba(120,160,255,0.35);
}
.wwd-comet-inner .wwd-comet-head {
  width: 8px; height: 8px;
  right: -4px;
}

@keyframes wwdCometSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Slow drift on the whole stage for ambience */
.whatwedo-stage::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(140,170,255,0.06), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(200,160,255,0.05), transparent 45%);
  pointer-events: none;
  animation: wwdAmbient 14s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes wwdAmbient {
  from { transform: translate(0, 0); opacity: 0.7; }
  to   { transform: translate(20px, -10px); opacity: 1; }
}

/* Responsive */
@media (max-width: 880px) {
  .whatwedo-stage { height: 620px; }
  .wwd-node { --rx: 230px; }
  .wwd-mini { --rx: 155px; }
  .wwd-orbit-ring-outer { width: 460px; height: 460px; }
  .wwd-orbit-ring-inner { width: 310px; height: 310px; }
  .wwd-comet-outer { width: 460px; height: 460px; }
  .wwd-comet-inner { width: 310px; height: 310px; }
  .wwd-node-label { font-size: 12px; }
  .wwd-node-num { font-size: 9px; }
}
@media (max-width: 600px) {
  .whatwedo-stage { height: 520px; }
  .wwd-phone-shell { width: 160px; height: 330px; padding: 6px; border-radius: 30px; }
  .wwd-phone-screen { border-radius: 24px; }
  .wwd-node { --rx: 140px; }
  .wwd-mini { --rx: 96px; }
  .wwd-orbit-ring-outer { width: 280px; height: 280px; }
  .wwd-orbit-ring-inner { width: 192px; height: 192px; }
  .wwd-comet-outer { width: 280px; height: 280px; }
  .wwd-comet-inner { width: 192px; height: 192px; }
  .wwd-node-card { padding: 4px 9px; }
  .wwd-node-label { font-size: 10.5px; }
  .wwd-node-num { font-size: 8.5px; }
  .wwd-mini span { font-size: 7.5px; padding: 3px 6px; }
}

.whatwedo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 880px) {
  .whatwedo-grid { grid-template-columns: 1fr; }
}
.wwd-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px 40px;
  background: var(--bg);
  transition: background 0.4s;
  overflow: hidden;
}
.wwd-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, var(--accent-dim), transparent 65%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.wwd-card:hover { background: var(--bg-elevated); }
.wwd-card:hover::before { opacity: 0.5; }
.wwd-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.wwd-num {
  color: var(--text-subtle);
  font-feature-settings: "tnum";
}
.wwd-tag {
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-dim);
  border: 1px solid rgba(120, 175, 255, 0.18);
}
.wwd-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
  margin-top: 4px;
}
.wwd-body {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 36ch;
}
.wwd-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.wwd-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.wwd-list li::before {
  content: "";
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
}
.wwd-card-art {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 80px;
  height: 80px;
  color: var(--text-subtle);
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.4s, color 0.4s, transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.wwd-card:hover .wwd-card-art {
  opacity: 0.85;
  color: var(--accent);
  transform: translateY(-2px) rotate(-3deg);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--border);
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-cell {
  padding: 36px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  overflow: hidden;
}
.stat-cell:last-child { border-right: none; }
@media (max-width: 768px) {
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell { border-right: 1px solid var(--border); }
}
.stat-cell::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.stat-cell.in-view::before { width: 100%; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-feature-settings: "tnum";
}
.stat-num-suffix { font-size: 0.5em; color: var(--accent); margin-left: 4px; }
.stat-label {
  font-size: 14px; color: var(--text-muted);
  max-width: 200px;
}
.stat-meta {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-subtle);
}

/* Apps showcase */
.apps {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.apps-glow {
  position: absolute;
  width: 800px; height: 800px;
  top: -200px; right: -200px;
  background: radial-gradient(circle, var(--accent-dim), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}
.apps-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: 60px;
  flex-wrap: wrap; gap: 24px;
}
.apps-head-text { max-width: 720px; }
.apps-head-text .section-title { white-space: normal; }
.apps-head p { color: var(--text-muted); font-size: 16px; margin-top: 24px; max-width: 480px; line-height: 1.5; }
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
@media (max-width: 968px) { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .apps-grid { grid-template-columns: 1fr; } }
.app-card {
  position: relative;
  border-radius: 24px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s;
  background: var(--bg-card);
}
.app-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.app-card.feature { grid-column: span 1; grid-row: span 1; }
@media (max-width: 968px) { .app-card.feature { grid-column: span 1; grid-row: span 1; } }
@media (max-width: 600px) { .app-card.feature { grid-column: span 1; } }
.app-card-bg {
  position: absolute; inset: 0;
  z-index: 0;
  opacity: 0.7;
}
.app-card-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.app-card-top { display: flex; justify-content: space-between; align-items: start; }
.app-icon-large {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: #0a0c08;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06) inset;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
/* feature icon size matches default — no override */
.app-card { position: relative; }
/* Specimen card style — a numbered category label */
.app-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,250,245,0.7);
  white-space: nowrap;
  align-self: flex-start;
  padding: 5px 10px;
  background: rgba(20,18,16,0.5);
  border: 1px solid rgba(255,240,220,0.05);
  border-radius: 5px;
  box-shadow: none;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
/* The vertical bar — a real element, not a pseudo */
.app-tag-bar {
  display: inline-block;
  width: 2px;
  height: 11px;
  background: rgba(248,244,238,0.65);
  border-radius: 2px;
  flex-shrink: 0;
  transition: background 0.25s;
}
.app-tag-num { display: none; }
.app-card:hover .app-tag {
  background: rgba(28,24,20,0.7);
  border-color: rgba(255,240,220,0.1);
  color: rgba(255,250,245,0.9);
}
.app-card:hover .app-tag-bar {
  background: #fff;
}
.app-card.feature .app-tag { font-size: 12px; padding: 6px 12px; }
.app-card-info { display: flex; flex-direction: column; gap: 8px; }
.app-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px; line-height: 1.1; letter-spacing: -0.02em;
}
.app-desc {
  color: var(--text-muted); font-size: 13px; line-height: 1.5;
  max-width: 340px;
}
.app-card-meta {
  display: flex; gap: 16px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 16px;
}
.app-card-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.app-card-meta .plat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.app-card-meta .plat + .plat {
  margin-left: 12px;
}
.app-card-meta .plat-icon {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  color: currentColor;
}
.app-card-meta .dot { display: none; }

/* App row (extra app under grid) */
.app-card-row {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, background 0.3s;
}
.app-card-row:hover { transform: translateY(-2px); border-color: var(--border-strong); background: oklch(0.16 0.01 130); }
.app-card-row-icon {
  width: 64px; height: 64px; flex-shrink: 0;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-style: normal;
  font-size: 26px; color: #0a0c08;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06) inset;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.app-card-row-info { flex: 1; }
.app-card-row-info .app-desc { margin-top: 4px; }
.app-card-row-meta { display: flex; align-items: center; gap: 10px; }
.app-card-row-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  margin-left: 4px;
  transition: background 0.2s, color 0.2s;
}
.app-card-row:hover .app-card-row-arrow { background: oklch(0.68 0.18 250); color: #fff; border-color: oklch(0.68 0.18 250); }
@media (max-width: 600px) {
  .app-card-row { flex-direction: column; align-items: flex-start; }
  .app-card-row-meta { flex-wrap: wrap; }
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  margin-top: 60px;
}
@media (max-width: 968px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } }
.faq-side p { color: var(--text-muted); margin-top: 20px; font-size: 16px; line-height: 1.5; }
.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  cursor: pointer;
  transition: padding 0.3s;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
.faq-toggle {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.3s;
  font-family: var(--font-mono); font-size: 16px;
}
.faq-item.open .faq-toggle { background: var(--accent); border-color: var(--accent); color: #0a0c08; transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  color: var(--text-muted); font-size: 15px; line-height: 1.6;
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), padding 0.3s;
}
.faq-item.open .faq-a { max-height: 200px; padding-top: 16px; }

/* Newsletter — slim */
.newsletter-slim {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, var(--accent-dim), transparent 70%),
    var(--bg);
}
.newsletter-slim-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-slim-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.newsletter-slim-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-muted);
}
.newsletter-slim-rule {
  width: 28px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.newsletter-slim-line {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
}
.newsletter-slim-line em {
  font-style: normal;
  background: linear-gradient(180deg, var(--accent), oklch(0.62 0.20 260));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.newsletter-slim-sub {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: 14.5px; font-weight: 400;
  letter-spacing: 0;
  color: var(--text-muted);
  line-height: 1.5;
}
.newsletter-slim-form {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 4px 4px 4px 20px;
  width: 100%;
  max-width: 460px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-slim-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.newsletter-slim-form input {
  flex: 1;
  background: transparent; border: none; outline: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 10px 12px 10px 0;
  min-width: 0;
}
.newsletter-slim-form input::placeholder { color: var(--text-subtle); }
.newsletter-slim-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text); color: var(--bg);
  font-family: var(--font-sans);
  font-weight: 600; font-size: 13px;
  letter-spacing: -0.01em;
  padding: 7px 7px 7px 16px;
  border: 1px solid var(--text); border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: padding 0.4s cubic-bezier(0.22,0.8,0.22,1);
}
.news-submit-label { transition: transform 0.4s cubic-bezier(0.22,0.8,0.22,1); }
.newsletter-slim-btn:hover .news-submit-label { transform: translateX(-2px); }
.newsletter-slim-btn-arrow {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: rgba(7,8,10,0.06);
  flex-shrink: 0;
  transition: background 0.4s;
}
.newsletter-slim-btn:hover .newsletter-slim-btn-arrow { background: rgba(7,8,10,0.12); }
.newsletter-slim-btn-svg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(0.22,0.8,0.22,1), opacity 0.3s;
}
.newsletter-slim-btn-svg-ghost { transform: translate(calc(-50% - 22px), -50%); opacity: 0; }
.newsletter-slim-btn:hover .newsletter-slim-btn-svg:not(.newsletter-slim-btn-svg-ghost) {
  transform: translate(calc(-50% + 22px), -50%); opacity: 0;
}
.newsletter-slim-btn:hover .newsletter-slim-btn-svg-ghost {
  transform: translate(-50%, -50%); opacity: 1;
}
.newsletter-slim-btn.is-sent { background: oklch(0.78 0.14 150); border-color: oklch(0.78 0.14 150); color: #061309; }
.news-status {
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  margin: 0;
  min-height: 14px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  text-align: center;
}
.news-status.is-error { color: oklch(0.78 0.14 30); }
.news-status.is-ok { color: oklch(0.82 0.14 150); }

@media (max-width: 720px) {
  .newsletter-slim { padding: 64px 0; }
  .newsletter-slim-stack { gap: 24px; }
}

/* CTA */
.cta {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-dim), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 60%);
  opacity: 0.6;
}
.cta-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(420px, 1.2fr);
  gap: 80px;
  align-items: start;
  max-width: 1180px;
}
.cta-head { padding-top: 12px; }
.cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 5.5vw, 84px);
  line-height: 0.98; letter-spacing: -0.035em;
  margin: 20px 0 24px;
  max-width: 11ch;
  text-wrap: balance;
}
.cta-sub {
  font-size: 16px; line-height: 1.55;
  color: var(--text-muted);
  max-width: 38ch;
  text-wrap: pretty;
}
@media (max-width: 880px) {
  .cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .cta-sub { max-width: none; }
}
.cta h2 em { font-style: normal; }
.cta h2 em {
  font-style: normal;
  background: linear-gradient(180deg, var(--accent), oklch(0.62 0.20 260));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* legacy email pill (unused, kept for safety) */
.cta-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 6px 6px 24px;
  max-width: 100%;
  width: 480px;
  transition: border-color 0.2s;
}
.cta-form:focus-within { border-color: var(--accent); }
.cta-form input {
  flex: 1;
  background: transparent; border: none; outline: none;
  color: var(--text); font-family: inherit; font-size: 15px;
  padding: 12px 0;
  min-width: 0;
}
.cta-form input::placeholder { color: var(--text-subtle); }
.cta-form button {
  background: var(--accent); color: #0a0c08;
  font-weight: 500; font-size: 14px;
  padding: 12px 22px; border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-form button:hover { transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }
.cta-meta {
  margin-top: 20px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-subtle);
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 560px) {
  .contact-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-field input,
.contact-field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}
.contact-field textarea {
  min-height: 120px;
  line-height: 1.5;
  font-family: var(--font-sans);
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--text-subtle); }
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.contact-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.contact-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid var(--text);
  border-radius: 999px;
  padding: 9px 9px 9px 20px;
  cursor: pointer;
  transition: padding 0.4s cubic-bezier(0.22,0.8,0.22,1);
}
.contact-submit-label { transition: transform 0.4s cubic-bezier(0.22,0.8,0.22,1); }
.contact-submit:hover .contact-submit-label { transform: translateX(-2px); }
.contact-submit-arrow {
  position: relative;
  width: 26px; height: 26px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: rgba(7,8,10,0.06);
  flex-shrink: 0;
  transition: background 0.4s;
}
.contact-submit:hover .contact-submit-arrow { background: rgba(7,8,10,0.12); }
.contact-submit-svg {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s cubic-bezier(0.22,0.8,0.22,1), opacity 0.3s;
}
.contact-submit-svg-ghost { transform: translate(calc(-50% - 22px), -50%); opacity: 0; }
.contact-submit:hover .contact-submit-svg:not(.contact-submit-svg-ghost) {
  transform: translate(calc(-50% + 22px), -50%); opacity: 0;
}
.contact-submit:hover .contact-submit-svg-ghost {
  transform: translate(-50%, -50%); opacity: 1;
}
.contact-submit.is-sent {
  background: oklch(0.78 0.16 150);
  border-color: oklch(0.78 0.16 150);
  color: #061309;
  pointer-events: none;
}
.contact-submit svg { /* arrow svgs handled by contact-submit-svg rules */ }
.contact-submit:disabled { opacity: 0.85; cursor: progress; pointer-events: none; }
.contact-submit.is-loading .contact-submit-arrow { animation: spinNews 0.9s linear infinite; }
.contact-status {
  flex: 1 1 auto;
  margin: 0;
  min-height: 14px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  text-align: right;
}
.contact-status.is-error { color: oklch(0.78 0.14 30); }
.contact-status.is-ok { color: oklch(0.82 0.14 150); }

/* Newsletter button loading */
.newsletter-slim-btn:disabled { opacity: 0.85; cursor: progress; pointer-events: none; }
.newsletter-slim-btn.is-loading .newsletter-slim-btn-arrow { animation: spinNews 0.9s linear infinite; }
@keyframes spinNews {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================
   FOOTER — monumental wordmark + meta strip + animated rail
   ========================================================== */
.ftr {
  position: relative;
  isolation: isolate;
  border-top: 1px solid var(--border);
  background: var(--bg);
  overflow: hidden;
}
.ftr-glow {
  position: absolute;
  left: 50%;
  bottom: -260px;
  width: 1100px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, var(--accent-dim), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* ----- Meta strip ----- */
.ftr-meta {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ftr-meta-cell {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-decoration: none;
  min-width: 0;
}
.ftr-meta-cell.ftr-meta-mail { justify-self: center; }
.ftr-meta-cell.ftr-meta-press { justify-self: end; }
.ftr-meta-key { color: var(--text-subtle); }
.ftr-meta-key::after {
  content: "/";
  margin-left: 10px;
  color: var(--text-subtle);
  opacity: 0.5;
}
.ftr-meta-val {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: none;
  transition: color 0.2s;
}
.ftr-meta-cell:hover .ftr-meta-val { color: var(--accent); }
.ftr-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.78 0.18 145);
  box-shadow: 0 0 10px oklch(0.78 0.18 145 / 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}
.ftr-status-text {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: -0.005em;
  text-transform: none;
}

/* ----- Animated tagline rail ----- */
.ftr-rail {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ftr-rail-track {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  white-space: nowrap;
  animation: ftr-rail-scroll 38s linear infinite;
  will-change: transform;
}
.ftr-rail-item {
  font-family: "Fraunces", var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--text);
}
.ftr-rail-dot {
  color: var(--accent);
  font-size: 14px;
  opacity: 0.7;
}
@keyframes ftr-rail-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ftr-rail-track { animation: none; }
}

/* ----- Sitemap columns ----- */
.ftr-cols {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  padding-top: 80px;
  padding-bottom: 72px;
}
.ftr-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.ftr-col-key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.ftr-col-key::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--accent);
}
.ftr-col-text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 32ch;
  text-wrap: pretty;
}
.ftr-mail-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 30ch;
  text-wrap: pretty;
}
.ftr-mail {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: -0.005em;
  width: fit-content;
  padding: 2px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.ftr-mail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: color 0.2s, transform 0.3s cubic-bezier(0.2,0.8,0.2,1);
}
.ftr-mail-addr {
  color: var(--text);
  position: relative;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.35s cubic-bezier(0.2,0.8,0.2,1);
  padding-bottom: 2px;
}
.ftr-mail:hover .ftr-mail-addr { background-size: 100% 1px; }
.ftr-stamps {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.ftr-stamps li {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
}
.ftr-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ftr-links a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  padding: 2px 0;
  width: fit-content;
  transition: color 0.2s, transform 0.3s cubic-bezier(0.2,0.8,0.2,1);
}
.ftr-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right 0.35s cubic-bezier(0.2,0.8,0.2,1);
}
.ftr-links a:hover { color: var(--accent); transform: translateX(2px); }
.ftr-links a:hover::after { right: 0; }
.ftr-link-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 2px 7px;
  border-radius: 999px;
}

/* ----- Monumental wordmark ----- */
.ftr-mark-wrap {
  position: relative;
  z-index: 1;
  padding: 16px 24px 0;
  user-select: none;
}
.ftr-mark {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.05em;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(80px, 18.6vw, 296px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-align: center;
  color: transparent;
  background: linear-gradient(180deg, oklch(0.92 0 0) 0%, oklch(0.55 0 0) 55%, oklch(0.18 0 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  white-space: nowrap;
  padding-bottom: 0.04em;
}
.ftr-mark-word-italic {
  font-family: "Fraunces", var(--font-display);
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(180deg, var(--accent) 0%, oklch(0.55 0.18 260) 60%, oklch(0.25 0.10 260) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-left: 0.08em;
}

/* ----- Bottom utility row ----- */
.ftr-foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.ftr-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  max-width: 60ch;
}
.ftr-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 9px 9px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: -0.005em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  flex-shrink: 0;
}
.ftr-top-arrow {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1), background 0.2s, color 0.2s;
}
.ftr-top:hover {
  background: var(--bg-elevated);
  border-color: var(--text-muted);
}
.ftr-top:hover .ftr-top-arrow {
  transform: translateY(-3px);
}

/* ----- Responsive ----- */
@media (max-width: 820px) {
  .ftr-meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .ftr-meta-cell.ftr-meta-mail,
  .ftr-meta-cell.ftr-meta-press { justify-self: start; }
  .ftr-rail { padding: 14px 0; }
  .ftr-rail-item { font-size: 18px; }
  .ftr-cols {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .ftr-col-brand { grid-column: 1 / -1; }
  .ftr-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 520px) {
  .ftr-cols { grid-template-columns: 1fr; gap: 36px; }
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Careers modal */
.careers-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.careers-modal[hidden] { display: none; }
.careers-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 8, 11, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.careers-modal.is-open .careers-backdrop { opacity: 1; }
.careers-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, #14171b, #0e1115);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 40px 36px 28px;
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 60px 120px -40px var(--accent-dim);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.careers-modal.is-open .careers-card { opacity: 1; transform: translateY(0) scale(1); }

.careers-card::before {
  content: "";
  position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
}

.careers-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.careers-close:hover { background: rgba(255,255,255,0.08); color: var(--text); transform: rotate(90deg); }

.careers-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 18px;
  margin-bottom: 22px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04) inset, 0 12px 32px var(--accent-dim);
}

.careers-eyebrow {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.careers-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0 0 14px;
  text-wrap: balance;
}
.careers-title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--accent), oklch(0.62 0.20 260));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.careers-body {
  font-size: 15px; line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  text-wrap: pretty;
}

.careers-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 26px 0 22px;
}

.careers-pitch { display: flex; flex-direction: column; gap: 8px; }
.careers-pitch-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.careers-pitch p {
  font-size: 14px; line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.careers-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 22px;
}
.careers-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  border-radius: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s, background 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.careers-btn-primary {
  background: oklch(0.68 0.18 250);
  color: #fff;
  justify-content: center;
}
.careers-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px var(--accent-glow); }
.careers-btn-primary svg { transition: transform 0.18s; }
.careers-btn-primary:hover svg { transform: translateX(2px); }
.careers-btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.careers-btn-ghost:hover { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--border-strong); }

.careers-foot {
  display: flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.careers-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.78 0.14 60);
  box-shadow: 0 0 0 3px oklch(0.78 0.14 60 / 0.18);
}

@media (max-width: 480px) {
  .careers-card { padding: 32px 24px 22px; border-radius: 20px; }
  .careers-title { font-size: 26px; }
  .careers-icon { width: 52px; height: 52px; border-radius: 14px; }
}

/* Privacy modal */
.privacy-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.privacy-modal[hidden] { display: none; }
.privacy-backdrop {
  position: absolute; inset: 0;
  background: rgba(6, 8, 11, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.privacy-modal.is-open .privacy-backdrop { opacity: 1; }

.privacy-card {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: min(82vh, 820px);
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #14171b, #0e1115);
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 60px 120px -40px var(--accent-dim);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.24s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
}
.privacy-modal.is-open .privacy-card { opacity: 1; transform: translateY(0) scale(1); }

.privacy-card::before {
  content: "";
  position: absolute; top: 0; left: 24px; right: 24px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  pointer-events: none;
  z-index: 2;
}

.privacy-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px;
  padding: 32px 36px 22px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.privacy-head-left { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.privacy-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.privacy-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
.privacy-title em {
  font-style: normal;
  color: var(--text);
}
.privacy-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin: 4px 0 0;
}
.privacy-meta time { color: var(--text-muted); }
.privacy-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: oklch(0.74 0.16 145);
  box-shadow: 0 0 0 3px oklch(0.74 0.16 145 / 0.18);
}
.privacy-sep { color: var(--text-subtle); opacity: 0.6; }

.privacy-close {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.privacy-close:hover { background: rgba(255,255,255,0.08); color: var(--text); transform: rotate(90deg); }

.privacy-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px 36px 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.privacy-scroll::-webkit-scrollbar { width: 8px; }
.privacy-scroll::-webkit-scrollbar-track { background: transparent; }
.privacy-scroll::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.privacy-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); background-clip: padding-box; }
.privacy-scroll:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--accent-dim); }

.privacy-body { max-width: 60ch; }
.privacy-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 14px;
  text-wrap: pretty;
}
.privacy-body .privacy-lede {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 18px;
}
.privacy-body h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin: 26px 0 10px;
  display: flex; align-items: center; gap: 10px;
}
.privacy-body h4::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.privacy-body a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklch, var(--accent) 35%, transparent);
  transition: border-color 0.18s, color 0.18s;
}
.privacy-body a:hover { border-bottom-color: var(--accent); }

.privacy-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex; flex-direction: column;
  gap: 6px;
}
.privacy-list li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
}
.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.65em;
  width: 12px; height: 1px;
  background: var(--border-strong);
}
.privacy-list-plain li { color: var(--text-muted); }

.privacy-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 18px 36px 22px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.18));
}
.privacy-foot-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
}
.privacy-btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 14px;
  border-radius: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, background 0.18s, box-shadow 0.18s;
}
.privacy-btn-primary {
  background: oklch(0.68 0.18 250);
  color: #fff;
}
.privacy-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px var(--accent-glow); }

@media (max-width: 600px) {
  .privacy-modal { padding: 12px; }
  .privacy-card { max-height: 92vh; border-radius: 20px; }
  .privacy-head { padding: 24px 22px 18px; }
  .privacy-title { font-size: 24px; }
  .privacy-scroll { padding: 20px 22px 24px; }
  .privacy-foot { padding: 14px 22px 16px; }
  .privacy-foot-meta { display: none; }
  .privacy-btn-primary { width: 100%; justify-content: center; }
}

/* ============================================================
   THEME TOGGLE BUTTON (in nav)
   ============================================================ */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  margin-right: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
}
.theme-toggle:hover { background: rgba(255,255,255,0.08); }
.theme-toggle-glyph {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  border: 1.4px solid currentColor;
  transition: transform 0.6s cubic-bezier(0.34, 1.4, 0.64, 1);
}
[data-theme="light"] .theme-toggle-glyph { transform: rotate(180deg); }
@media (max-width: 480px) { .theme-toggle { width: 34px; height: 34px; margin-right: 6px; } }

/* ============================================================
   LIGHT THEME — [data-theme="light"] override block
   Strategy: flip core tokens, then override the surfaces that
   used hard-coded rgba(255,255,255,...) tints against a dark bg.
   ============================================================ */
[data-theme="light"] {
  --bg: #f6f4ef;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --border: rgba(10, 12, 16, 0.10);
  --border-strong: rgba(10, 12, 16, 0.18);
  --text: #0a0c10;
  --text-muted: #5a605c;
  --text-subtle: #8a8f8b;
  --accent: oklch(0.52 0.18 250);
  --accent-dim: oklch(0.52 0.18 250 / 0.12);
  --accent-glow: oklch(0.52 0.18 250 / 0.30);
}
[data-theme="light"] body::before { mix-blend-mode: multiply; opacity: 0.25; }

/* Nav surfaces */
[data-theme="light"] .nav.scrolled { background: rgba(246,244,239,0.78); }
[data-theme="light"] .nav::before { background: linear-gradient(180deg, rgba(246,244,239,0.95) 0%, rgba(246,244,239,0) 100%); }
[data-theme="light"] .nav-rail { background: rgba(10,12,16,0.03); border-color: rgba(10,12,16,0.08); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 1px 0 rgba(10,12,16,0.05); }
[data-theme="light"] .nav.scrolled .nav-rail { background: rgba(10,12,16,0.04); border-color: rgba(10,12,16,0.10); }
[data-theme="light"] .nav-rail-indicator { background: rgba(10,12,16,0.06); border-color: rgba(10,12,16,0.10); }
[data-theme="light"] .nav-link + .nav-link::before { background: rgba(10,12,16,0.10); }
[data-theme="light"] .nav-cta { background: #0a0c10; color: #fff; border-color: #0a0c10; }
[data-theme="light"] .nav-cta-arrow { background: rgba(255,255,255,0.10); }
[data-theme="light"] .nav-cta:hover .nav-cta-arrow { background: rgba(255,255,255,0.18); }
[data-theme="light"] .theme-toggle { background: rgba(10,12,16,0.04); border-color: rgba(10,12,16,0.10); }
[data-theme="light"] .theme-toggle:hover { background: rgba(10,12,16,0.08); }

/* Hero */
[data-theme="light"] .hero-bg::before { background: radial-gradient(circle, oklch(0.52 0.18 250 / 0.32), transparent 60%); opacity: 1; }
[data-theme="light"] .hg-bg-icon { color: oklch(0.42 0.16 245); }
[data-theme="light"] .hg-bg-tl,
[data-theme="light"] .hg-bg-tr { opacity: 0.95; }
[data-theme="light"] .hg-bg-bl { opacity: 0.85; }
[data-theme="light"] .hg-bg-br { opacity: 0.75; }
[data-theme="light"] .hg-circle::after { opacity: 0.85; filter: blur(40px); }
[data-theme="light"] .btn-primary { background: #0a0c10; color: #fff; }
[data-theme="light"] .btn-primary:hover { box-shadow: 0 12px 32px rgba(10,12,16,0.18); }
[data-theme="light"] .btn-ghost { color: #0a0c10; }
[data-theme="light"] .btn-ghost:hover { background: rgba(10,12,16,0.04); border-color: rgba(10,12,16,0.30); }

/* Phone in hero — keep dark device shell so it pops on light */
[data-theme="light"] .phone-screen { background: #0a0c10; }
[data-theme="light"] .phone-stat-card { background: linear-gradient(160deg, oklch(0.96 0.01 240), oklch(0.92 0.01 240)); border-color: rgba(10,12,16,0.08); color: #0a0c10; }
[data-theme="light"] .phone-row { background: rgba(255,255,255,0.06); }

/* Sections — flip dark surfaces, lift card bgs */
[data-theme="light"] .logo-bar,
[data-theme="light"] .whatwedo,
[data-theme="light"] .apps,
[data-theme="light"] .numbers,
[data-theme="light"] .faq,
[data-theme="light"] .newsletter-slim,
[data-theme="light"] .cta,
[data-theme="light"] .contact,
[data-theme="light"] section.footer,
[data-theme="light"] footer { background: var(--bg); }

/* Cards / surfaces using rgba white tints */
[data-theme="light"] .wwd-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .careers-card,
[data-theme="light"] .privacy-modal {
  background: #ffffff;
  border-color: rgba(10,12,16,0.08);
}

/* App cards — fully light surface in light mode (inline style override) */
[data-theme="light"] .apps-grid > .app-card[style] {
  background: #ffffff !important;
  border-color: rgba(10,12,16,0.08);
  box-shadow: 0 1px 2px rgba(10,12,16,0.04), 0 12px 32px rgba(10,12,16,0.06);
}
[data-theme="light"] .app-card {
  background: #ffffff;
  border-color: rgba(10,12,16,0.08);
  box-shadow: 0 1px 2px rgba(10,12,16,0.04), 0 12px 32px rgba(10,12,16,0.06);
}
[data-theme="light"] .app-card:hover {
  border-color: rgba(10,12,16,0.45);
  box-shadow: 0 1px 2px rgba(10,12,16,0.04), 0 18px 40px rgba(10,12,16,0.10);
}
[data-theme="light"] .apps-grid > .app-card[style]:hover {
  border-color: rgba(10,12,16,0.45) !important;
  box-shadow: 0 1px 2px rgba(10,12,16,0.04), 0 18px 40px rgba(10,12,16,0.10) !important;
}
[data-theme="light"] .app-card-bg { opacity: 0.18; }
[data-theme="light"] .app-name,
[data-theme="light"] .app-card .app-name { color: #0a0c10; }
[data-theme="light"] .app-desc,
[data-theme="light"] .app-card .app-desc { color: var(--text-muted); }
[data-theme="light"] .app-card-meta,
[data-theme="light"] .app-card-meta > span { color: var(--text-subtle); }
[data-theme="light"] .app-tag {
  background: rgba(10,12,16,0.06);
  border-color: rgba(10,12,16,0.10);
  color: rgba(10,12,16,0.70);
}
[data-theme="light"] .app-tag-bar { background: rgba(10,12,16,0.55); }
[data-theme="light"] .app-card:hover .app-tag {
  background: rgba(10,12,16,0.06);
  border-color: rgba(10,12,16,0.30);
  color: rgba(10,12,16,0.85);
}
[data-theme="light"] .app-card:hover .app-tag-bar { background: rgba(10,12,16,0.85); }
[data-theme="light"] .app-card-row {
  background: #ffffff;
  border-color: rgba(10,12,16,0.08);
  box-shadow: 0 1px 2px rgba(10,12,16,0.04), 0 12px 32px rgba(10,12,16,0.06);
}
[data-theme="light"] .app-card-row:hover {
  background: #ffffff;
  border-color: rgba(10,12,16,0.16);
  box-shadow: 0 1px 2px rgba(10,12,16,0.04), 0 18px 40px rgba(10,12,16,0.10);
}
[data-theme="light"] .app-card-row-arrow {
  background: rgba(10,12,16,0.04);
  border-color: rgba(10,12,16,0.10);
  color: #0a0c10;
}

/* FAQ section — soft warm tint and clearer item separators */
[data-theme="light"] .faq {
  background: linear-gradient(180deg, #efece4 0%, #f6f4ef 100%);
}
[data-theme="light"] .faq-item {
  border-color: rgba(10,12,16,0.12);
}
[data-theme="light"] .faq-item:last-child { border-bottom-color: rgba(10,12,16,0.12); }

/* What-we-do orbiting pills — soft on light bg */
[data-theme="light"] .wwd-mini span {
  color: rgba(10,12,16,0.55);
  background: rgba(255,255,255,0.7);
  border-color: rgba(10,12,16,0.10);
  animation: wwdMiniFadeLight 8s ease-in-out infinite;
  backdrop-filter: blur(8px);
}
@keyframes wwdMiniFadeLight {
  0%, 100% { color: rgba(10,12,16,0.35); border-color: rgba(10,12,16,0.10); }
  50% { color: rgba(10,12,16,0.75); border-color: rgba(10,12,16,0.22); }
}

/* FAQ open arrow color flip */
[data-theme="light"] .faq-toggle { color: #0a0c10; border-color: rgba(10,12,16,0.20); }
[data-theme="light"] .faq-item.open .faq-toggle { color: #fff; }

/* Newsletter / CTA forms */
[data-theme="light"] .newsletter-slim-form,
[data-theme="light"] .cta-form,
[data-theme="light"] .contact-field input,
[data-theme="light"] .contact-field textarea {
  background: #fff;
  border-color: rgba(10,12,16,0.12);
  color: #0a0c10;
}
[data-theme="light"] .cta-form button { background: var(--accent); color: #fff; }

/* Footer bg radial */
[data-theme="light"] .ftr-bg,
[data-theme="light"] .footer::before { opacity: 0.4; }

/* Generic: rgba(255,255,255,…) tinted backgrounds become rgba(10,12,16,…) */
[data-theme="light"] .wwd-tag { background: var(--accent-dim); }

/* Modal / overlay backdrops — match dark mode's blur on light too */
[data-theme="light"] .careers-backdrop,
[data-theme="light"] .privacy-backdrop {
  background: rgba(20, 22, 28, 0.55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

/* Form status — error/ok messages with stronger contrast on light */
[data-theme="light"] .news-status.is-error,
[data-theme="light"] .contact-status.is-error {
  color: oklch(0.45 0.20 25);
  font-weight: 500;
}
[data-theme="light"] .news-status.is-ok,
[data-theme="light"] .contact-status.is-ok {
  color: oklch(0.42 0.16 150);
  font-weight: 500;
}

/* Hero — give the bottom of the graphic some breathing room so the
   phone shadow / glow isn't clipped */
.hero-graphic { overflow: visible; }
@media (max-width: 720px) {
  .hero { padding-bottom: 80px; min-height: 680px; }
}

/* Dark device frames stay dark — they should */
/* hg-circle, phone shell, wwd-phone-shell intentionally unchanged */

/* Phone drop-shadow is dark — soften on light bg so it doesn't paint a dark halo */
[data-theme="light"] .wwd-phone { filter: drop-shadow(0 30px 70px rgba(10,12,16,0.10)) drop-shadow(0 8px 24px rgba(10,12,16,0.06)); }

/* Process node cards (01/02/03/04 + label) — soft white pill on light bg */
[data-theme="light"] .wwd-node-card {
  background: rgba(255,255,255,0.85);
  border-color: rgba(10,12,16,0.10);
  box-shadow: 0 6px 18px rgba(10,12,16,0.08);
}
[data-theme="light"] .wwd-node-num { color: var(--accent); }
[data-theme="light"] .wwd-node-label { color: rgba(10,12,16,0.85); }

/* WhatWeDo orbit rings — white-tinted on dark, need dark-tinted on light */
[data-theme="light"] .wwd-orbit-ring {
  border-color: rgba(10,12,16,0.14);
  box-shadow: inset 0 0 60px rgba(10,12,16,0.03);
}
/* Comet head/tail use white-ish glows — re-tint for light bg */
[data-theme="light"] .wwd-comet-tail {
  background:
    conic-gradient(from -90deg,
      transparent 0deg,
      transparent 200deg,
      oklch(0.52 0.18 250 / 0.12) 280deg,
      oklch(0.52 0.18 250 / 0.55) 350deg,
      oklch(0.52 0.18 250 / 0.85) 360deg);
}
[data-theme="light"] .wwd-comet-inner .wwd-comet-tail {
  background:
    conic-gradient(from -90deg,
      transparent 0deg,
      transparent 200deg,
      oklch(0.52 0.18 250 / 0.10) 280deg,
      oklch(0.52 0.18 250 / 0.45) 350deg,
      oklch(0.52 0.18 250 / 0.75) 360deg);
}
[data-theme="light"] .wwd-comet-head {
  background: var(--accent);
  box-shadow:
    0 0 14px 2px oklch(0.52 0.18 250 / 0.6),
    0 0 36px 8px oklch(0.52 0.18 250 / 0.35);
}
[data-theme="light"] .wwd-stage-glow {
  background: radial-gradient(60% 50% at 50% 55%,
    oklch(0.52 0.18 250 / 0.18),
    oklch(0.52 0.18 280 / 0.10) 50%,
    transparent 75%);
}
