/* ==========================================================================
   OPTIFLOW STUDIO — "TURBULENCE → LAMINAR FLOW" DESIGN SYSTEM (MAZE 3 × WARP CAROUSEL BASE)
   Inspired by Awwwards Maze 3 (Tamas Olajos) & Louis Studios 3D Shaders
   ========================================================================== */

/* ==========================================================================
   SELF-HOSTED FONTS (SIL OFL 1.1, see /assets/fonts/LICENSE.txt)
   Variable woff2, Latin subset. No third-party font request, so there is no
   extra DNS/TLS handshake before first paint and nothing leaks to Google.
   The "Fallback" faces are local system fonts scaled to the width of the web
   font, so the swap from fallback to web font moves the layout by ~0 px (CLS).
   ========================================================================== */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Vazirmatn';font-style:normal;font-weight:500 700;font-display:swap;src:url('/assets/fonts/vazirmatn-arabic.woff2') format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC}
@font-face{font-family:'Space Grotesk Fallback';font-weight:400 600;src:local('Arial'),local('ArialMT');size-adjust:107%}
@font-face{font-family:'Space Grotesk Fallback';font-weight:700;src:local('Arial Bold'),local('Arial-BoldMT');size-adjust:101%}
@font-face{font-family:'Inter Fallback';font-weight:400 500;src:local('Arial'),local('ArialMT');size-adjust:106.5%}
@font-face{font-family:'Inter Fallback';font-weight:600 700;src:local('Arial Bold'),local('Arial-BoldMT');size-adjust:101.5%}

:root {
  /* Deep Cobalt & Midnight Palette */
  --bg-deep: #07090F;
  --bg-cobalt-dark: #051026;
  --bg-cobalt-mid: #0B2559;
  --bg-cobalt-light: #0D3A8F;
  --bg-glass: rgba(7, 20, 50, 0.62);
  --bg-glass-elevated: rgba(10, 27, 68, 0.78);
  --bg-glass-hover: rgba(14, 37, 92, 0.85);

  /* High-Contrast Typographic Colors */
  --fg: #F8FAFC;
  --fg-secondary: #CBD5E1;
  --muted: #8EA6CC;
  --dim: #4B638A;
  --line: rgba(94, 230, 196, 0.16);
  --line-strong: rgba(94, 230, 196, 0.35);

  /* Luminous Bioluminescent Accents */
  --cyan: #5EE6C4;
  --cyan-glow: rgba(94, 230, 196, 0.25);
  --cobalt-electric: #2563EB;
  --violet: #8B5CF6;
  --emerald: #10B981;
  --crimson: #F43F5E;
  --gold: #F59E0B;

  /* Typography */
  --font-d: 'Space Grotesk', 'Space Grotesk Fallback', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  --font-b: 'Inter', 'Inter Fallback', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-m: 'JetBrains Mono', 'Consolas', ui-monospace, monospace;

  /* Layout */
  --max-w: 1200px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Timing Curves */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 160ms var(--ease);
  --t-norm: 280ms var(--ease);
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-b);
  background: var(--bg-deep);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.mono {
  font-family: var(--font-m);
}

.comp-cyan { color: var(--cyan) !important; }
.comp-violet { color: #A78BFA !important; }
.comp-emerald { color: var(--emerald) !important; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   FILM GRAIN & PROCEDURAL COBALT AURORA (MAZE 3 ATMOSPHERE)
   ========================================================================== */

.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('/grain.png');
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.065;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 99;
}

.cobalt-aurora {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  opacity: 0.42;
  will-change: transform;
}

.blob-1 {
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, #0D3A8F 0%, #061537 60%, transparent 100%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation: auroraFloat 16s ease-in-out infinite alternate;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(94, 230, 196, 0.18) 0%, #0B2559 65%, transparent 100%);
  top: 40%;
  left: -200px;
  animation: auroraFloat 22s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #0B2559 0%, #030A1C 70%, transparent 100%);
  bottom: 10%;
  right: -200px;
  animation: auroraFloat 20s ease-in-out infinite alternate;
}

@keyframes auroraFloat {
  0% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-45%, 30px) scale(1.08); }
  100% { transform: translate(-55%, -20px) scale(0.96); }
}



/* ==========================================================================
   MAZE 3 HUD NAVIGATION PILL (TOP-LEFT / CENTERED)
   ========================================================================== */

.hud-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none;
}

.hud-header-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hud-header-container > * {
  pointer-events: auto;
}

/* The Iconic Maze 3 HUD Nav Pill */
.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(6, 18, 45, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(94, 230, 196, 0.25);
  clip-path: polygon(
    0 0,
    calc(100% - 6px) 0,
    100% 6px,
    100% 100%,
    6px 100%,
    0 calc(100% - 6px)
  );
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.hud-pill:hover {
  border-color: var(--line-strong);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(94, 230, 196, 0.15);
}

.hud-pill-link {
  color: var(--muted);
  padding: 4px 6px;
  transition: color var(--t-fast);
}

.hud-pill-link:hover, .hud-pill-link.active {
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(94, 230, 196, 0.5);
}

.hud-divider {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.65rem;
}

/* Header Right Actions */
.hud-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  padding: 8px 14px;
  background: rgba(6, 18, 45, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.hud-logo:hover .logo-mark {
  transform: rotate(90deg);
}

.hud-logo .logo-mark {
  transition: transform var(--t-norm);
}

/* The brand ring (raster, /logo-mark.png). Fixed box so it never shifts the layout while loading. */
.logo-mark {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) {
  .hud-logo .logo-mark { transition: none; }
  .hud-logo:hover .logo-mark { transform: none; }
}

.logo-dot {
  color: var(--cyan);
}

.hud-btn-cmd {
  padding: 7px 12px;
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(6, 18, 45, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}

.hud-btn-cmd:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(94, 230, 196, 0.2);
}

.hud-btn-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #07090F;
  background: var(--cyan);
  border-radius: var(--radius-sm);
  box-shadow: 0 0 20px rgba(94, 230, 196, 0.4);
  transition: all var(--t-fast);
  clip-path: polygon(
    0 0,
    calc(100% - 6px) 0,
    100% 6px,
    100% 100%,
    6px 100%,
    0 calc(100% - 6px)
  );
}

.hud-btn-cta:hover {
  background: #FFFFFF;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  background: rgba(6, 18, 45, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.nav-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 18, 0.97);
  backdrop-filter: blur(24px);
  z-index: 99;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-norm);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 2rem;
}

.mobile-link {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--muted);
}

.mobile-link:hover {
  color: var(--cyan);
}

.mobile-contact-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--dim);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: clamp(170px, 20vw, 230px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  z-index: 2;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  font-size: 0.72rem;
  color: var(--cyan);
  background: rgba(94, 230, 196, 0.08);
  border: 1px solid rgba(94, 230, 196, 0.25);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(94, 230, 196, 0.1);
}

.eyebrow-ping {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.hero-headline {
  font-family: var(--font-d);
  font-size: clamp(2.3rem, 5.2vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  max-width: 980px;
  margin-bottom: 22px;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(135deg, #5EE6C4 0%, #60A5FA 50%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-secondary);
  line-height: 1.65;
  max-width: 740px;
  margin-bottom: 38px;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.hud-button-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #FFFFFF;
  color: #07090F;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    100% 8px,
    100% 100%,
    8px 100%,
    0 calc(100% - 8px)
  );
  transition: all var(--t-fast);
}

.hud-button-primary:hover {
  background: #E2E8F0;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.hud-button-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(6, 18, 45, 0.7);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(16px);
  transition: all var(--t-fast);
}

.hud-button-ghost:hover {
  background: rgba(10, 27, 68, 0.85);
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(94, 230, 196, 0.2);
  transform: translateY(-2px);
}

/* ==========================================================================
   3D WARP CAROUSEL (LOUIS STUDIOS × MAZE 3 SHADER)
   ========================================================================== */

.warp-carousel-container {
  width: 100%;
  max-width: 1050px;
  position: relative;
  margin-top: 10px;
  perspective: 1200px;
}

/* Anamorphic Lens Flares (Top and Bottom Horizontal Cyan Rims) */
.anamorphic-flare {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 550px;
  height: 28px;
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
  z-index: 10;
}

.flare-top {
  top: -12px;
  background: radial-gradient(ellipse at center, rgba(94, 230, 196, 0.75) 0%, rgba(37, 99, 235, 0.3) 50%, transparent 80%);
}

.flare-bottom {
  bottom: 28px;
  background: radial-gradient(ellipse at center, rgba(94, 230, 196, 0.75) 0%, rgba(37, 99, 235, 0.3) 50%, transparent 80%);
}

.warp-carousel-stage {
  position: relative;
  width: 100%;
  height: 380px;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
}

.warp-carousel-stage:active {
  cursor: grabbing;
}

/* The 3D Cards */
.warp-card {
  position: absolute;
  width: 320px;
  height: 340px;
  border-radius: var(--radius-lg);
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), filter 0.5s var(--ease);
  will-change: transform, opacity;
  transform-origin: center center;
}

.card-inner-glass {
  width: 100%;
  height: 100%;
  background: linear-gradient(175deg, #071E42 0%, #05122B 55%, #0A2559 100%);
  border: 1px solid rgba(94, 230, 196, 0.28);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.card-header-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.card-metric-display {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 14px 0;
}

.metric-big {
  font-family: var(--font-d);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  color: #FFFFFF;
}

.metric-unit {
  font-family: var(--font-d);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
}

.glow-cyan {
  text-shadow: 0 0 25px rgba(94, 230, 196, 0.6);
}

.glow-emerald {
  color: #10B981 !important;
  text-shadow: 0 0 25px rgba(16, 185, 129, 0.6);
}

.glow-violet {
  color: #A78BFA !important;
  text-shadow: 0 0 25px rgba(167, 139, 250, 0.6);
}

.glow-crimson {
  color: #FB7185 !important;
  text-shadow: 0 0 25px rgba(251, 113, 133, 0.6);
}

.glow-gold {
  color: #FBBF24 !important;
  text-shadow: 0 0 25px rgba(251, 191, 36, 0.6);
}

/* Slider Track Element */
.card-slider-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.65rem;
  color: var(--dim);
}

.slider-bar {
  flex-grow: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  position: relative;
}

.slider-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px #FFFFFF;
}

.slider-active-lbl {
  color: var(--cyan);
  font-weight: 700;
}

.card-footer-caption {
  font-size: 0.72rem;
  color: var(--fg-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

/* Chromatic Edge Aberration Flares */
.chromatic-rim {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  mix-blend-mode: screen;
}

.rim-left {
  left: -20px;
  background: radial-gradient(ellipse at left, rgba(239, 68, 68, 0.75) 0%, rgba(245, 158, 11, 0.4) 40%, transparent 75%);
  filter: blur(10px);
}

.rim-right {
  right: -20px;
  background: radial-gradient(ellipse at right, rgba(168, 85, 247, 0.8) 0%, rgba(94, 230, 196, 0.5) 45%, transparent 75%);
  filter: blur(10px);
}

/* 3D Cylindrical Warp Positioning */
.warp-card.active {
  transform: translate3d(0, 0, 0) rotateY(0deg) scale(1);
  opacity: 1;
  z-index: 5;
}

.warp-card.next-1 {
  transform: translate3d(290px, 0, -110px) rotateY(-28deg) scale(0.88);
  opacity: 0.78;
  z-index: 4;
}

.warp-card.next-1 .rim-right {
  opacity: 1;
}

.warp-card.prev-1 {
  transform: translate3d(-290px, 0, -110px) rotateY(28deg) scale(0.88);
  opacity: 0.78;
  z-index: 4;
}

.warp-card.prev-1 .rim-left {
  opacity: 1;
}

.warp-card.next-2 {
  transform: translate3d(490px, 0, -260px) rotateY(-46deg) scale(0.74);
  opacity: 0.35;
  z-index: 2;
}

.warp-card.prev-2 {
  transform: translate3d(-490px, 0, -260px) rotateY(46deg) scale(0.74);
  opacity: 0.35;
  z-index: 2;
}

/* Controls */
.warp-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}

.warp-nav-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 18, 45, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.85rem;
  transition: all var(--t-fast);
}

.warp-nav-btn:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(94, 230, 196, 0.25);
}

.warp-dots {
  display: flex;
  gap: 8px;
}

.warp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all var(--t-fast);
}

.warp-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scale(1.2);
}

/* ==========================================================================
   MAZE SECTIONS & HUD BEVELED CARDS
   ========================================================================== */

.maze-section {
  padding-top: clamp(60px, 8vw, 110px);
  padding-bottom: clamp(60px, 8vw, 110px);
  position: relative;
  z-index: 2;
}

.section-title-wrap {
  margin-bottom: clamp(36px, 5vw, 54px);
  max-width: 800px;
}

.hud-tag {
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.section-heading {
  font-family: var(--font-d);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.cyan-dot {
  color: var(--cyan);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Beveled Glass Cards (Maze 3 Signature Chamfered Silhouette) */
.hud-beveled-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(94, 230, 196, 0.2);
  overflow: hidden;
}

.card-chamfer-edge {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 10;
}

.card-chamfer-edge.top-right {
  top: 0;
  right: 0;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}

.card-chamfer-edge.bottom-left {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid var(--cyan);
  border-left: 2px solid var(--cyan);
}

.hud-card-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: rgba(3, 10, 25, 0.85);
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
}

.bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

.hud-case-details {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  padding: clamp(24px, 4vw, 44px);
  gap: 36px;
}

.details-subtitle {
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.details-left p {
  color: var(--fg-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.case-links-row {
  margin-top: 20px;
}

.hud-link-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 8px 14px;
  background: rgba(94, 230, 196, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}

.hud-link-action:hover {
  background: rgba(94, 230, 196, 0.16);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(94, 230, 196, 0.3);
  transform: translateY(-2px);
}

.details-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-hud-block {
  padding: 16px;
  background: rgba(3, 11, 30, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}

.stat-lbl {
  font-size: 0.65rem;
  color: var(--dim);
  margin-bottom: 4px;
}

.stat-val {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 4px;
}

.stat-sub {
  font-size: 0.65rem;
  color: var(--muted);
}

/* ==========================================================================
   BENTO GRID (SOLUTIONS)
   ========================================================================== */

.hud-bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(94, 230, 196, 0.15);
  transition: transform var(--t-norm), border-color var(--t-norm), box-shadow var(--t-norm);
}

.bento-glass-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.6), 0 0 25px rgba(94, 230, 196, 0.15);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }

.bento-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  margin-bottom: 18px;
}

.bento-index {
  color: var(--dim);
}

.bento-tag {
  font-weight: 700;
}

.bento-glass-card h3 {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
}

.bento-glass-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.bento-flow-pill {
  padding: 12px 14px;
  background: rgba(3, 10, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.flow-node.active { color: var(--cyan); font-weight: 700; }
.flow-node.success { color: var(--emerald); font-weight: 700; }

.bento-stat-strip {
  display: flex;
  justify-content: space-between;
  padding: 14px;
  background: rgba(3, 10, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 22px;
}

.bento-sovereignty-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: rgba(3, 10, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: var(--fg-secondary);
  margin-bottom: 22px;
}

.bento-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.65rem;
  color: var(--dim);
}

.bento-tags-row span {
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* ==========================================================================
   FOUNDER & LEADERSHIP
   ========================================================================== */

.founder-beveled {
  padding: clamp(32px, 5vw, 54px);
}

.founder-split-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: center;
}

.founder-title {
  font-family: var(--font-d);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 16px;
}

.founder-bio {
  color: var(--fg-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.founder-quote-block {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--cyan);
  margin-bottom: 28px;
}

.founder-quote-block p {
  color: var(--fg);
  font-style: italic;
  font-size: 1.05rem;
}

.founder-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Links from the founder block to the founder's own site (mhnadali.com): visible as links, not just as text */
.founder-bio a,
.founder-site-link {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-color: rgba(94, 230, 196, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.founder-site-link { color: inherit; }
.founder-bio a:hover,
.founder-bio a:focus-visible,
.founder-site-link:hover,
.founder-site-link:focus-visible {
  color: var(--cyan);
  text-decoration-color: var(--cyan);
}
.founder-site-note {
  color: var(--fg-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 62ch;
  margin-bottom: 14px;
}
.hud-button-site {
  color: var(--cyan);
  background: rgba(94, 230, 196, 0.1);
  border-color: rgba(94, 230, 196, 0.45);
}

.founder-stats-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.founder-stat-card {
  padding: 16px 20px;
  background: rgba(3, 10, 26, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.stat-meta {
  display: block;
  font-size: 0.65rem;
  color: var(--dim);
  margin-bottom: 4px;
}

.founder-stat-card strong {
  font-size: 0.85rem;
  color: var(--fg);
}

/* ==========================================================================
   EXECUTIVE FAQ ACCORDION
   ========================================================================== */

.faq-accordion-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-trigger {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fg);
  gap: 16px;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--cyan);
  transition: transform var(--t-norm);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   CONTACT SECTION (MAZE 3 VERTICAL PARTICLE FOUNTAIN & CURVED CARD)
   ========================================================================== */

.contact-singularity-section {
  position: relative;
  overflow: hidden;
  padding-top: clamp(100px, 14vw, 160px);
  padding-bottom: clamp(70px, 10vw, 130px);
  min-height: 920px;
}

/* The Vertical Stream Particle Canvas (Maze 3 Fiber-Optic Cascade) */
.contact-stream-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Maze 3 Floating Curved Glass Card */
.maze-curved-contact-card {
  position: relative;
  max-width: 720px;
  padding: clamp(32px, 4.5vw, 46px) clamp(28px, 4.5vw, 42px);
  background: linear-gradient(180deg, rgba(8, 26, 68, 0.82) 0%, rgba(4, 14, 40, 0.88) 100%);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(94, 230, 196, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(94, 230, 196, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  margin-bottom: 34px;
  transform: perspective(900px) rotateX(3deg);
  transition: transform var(--t-norm), box-shadow var(--t-norm);
}

.maze-curved-contact-card:hover {
  transform: perspective(900px) rotateX(0deg) translateY(-2px);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.85), 0 0 50px rgba(94, 230, 196, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.curved-card-text {
  font-family: var(--font-d);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.5;
  color: #FFFFFF;
  text-wrap: balance;
}

/* Maze 3 Beveled Glass Social Tiles */
.hud-beveled-icon-dock {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hud-icon-tile {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 24, 64, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(94, 230, 196, 0.3);
  border-radius: var(--radius-sm);
  color: var(--fg);
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(94, 230, 196, 0.3);
  clip-path: polygon(
    0 0,
    calc(100% - 9px) 0,
    100% 9px,
    100% 100%,
    9px 100%,
    0 calc(100% - 9px)
  );
  transition: all var(--t-fast);
}

.hud-icon-tile:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(94, 230, 196, 0.6), inset 0 0 15px rgba(94, 230, 196, 0.3);
  transform: translateY(-4px) scale(1.08);
}

/* Brief Form Inside Contact */
.hud-brief-form-card {
  width: 100%;
  max-width: 680px;
  background: rgba(4, 14, 38, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(94, 230, 196, 0.22);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  text-align: left;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(94, 230, 196, 0.15);
}

.trans-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(3, 10, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--fg);
  font-size: 0.88rem;
  outline: none;
  transition: all var(--t-fast);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(94, 230, 196, 0.25);
}

.timeline-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-label {
  cursor: pointer;
}

.pill-label input {
  display: none;
}

.pill-label span {
  display: inline-block;
  padding: 7px 12px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  transition: all var(--t-fast);
}

.pill-label input:checked + span {
  background: rgba(94, 230, 196, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
  font-weight: 700;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
}

.form-privacy-note {
  font-size: 0.68rem;
  color: var(--dim);
  text-align: center;
  line-height: 1.5;
}

.form-privacy-note a {
  color: var(--muted);
  text-decoration: underline;
}

.form-feedback {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  text-align: center;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--emerald);
  color: var(--emerald);
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--crimson);
  color: #F87171;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.hud-footer {
  border-top: 1px solid var(--line);
  background: #02050E;
  padding-top: 60px;
  padding-bottom: 40px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 10px;
  max-width: 340px;
}

.founder-line {
  margin-top: 8px;
  font-size: 0.8rem !important;
  color: var(--dim) !important;
}

.founder-line a {
  color: var(--fg);
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--cyan);
}

.footer-social {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--muted);
}

.footer-social a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* The hero text sits above the fold and its headline is the page's LCP element, so it must not wait
   for main.js to add .revealed (that kept it invisible for seconds on a slow phone). A CSS animation
   gives a short rise as soon as the stylesheet has loaded, with or without JavaScript.
   It starts at opacity .35, never 0: Chrome ignores opacity:0 text, so a fade from 0 pushed the
   headline's LCP time from ~0.5 s to ~4.5 s even on a fast connection (measured). */
.hero-container [data-reveal] {
  opacity: 1;
  transform: none;
  animation: heroIn .7s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn {
  from { opacity: .35; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   VIBE CODING INTERACTIVE MASTERPIECE ENGINES
   ========================================================================== */

/* 1. Cybernetic Sound Toggle */
.hud-btn-sound {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(6, 18, 45, 0.75);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
  cursor: pointer;
}

.hud-btn-sound:hover, .hud-btn-sound.active {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(94, 230, 196, 0.35);
}

/* 2. Command Palette Modal (Cmd+K) */
.cmd-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 18, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(80px, 14vh, 130px);
  padding-left: 16px;
  padding-right: 16px;
  opacity: 0;
  pointer-events: none;
  /* closed = out of the tab order too (it was only transparent, so Tab walked through 12 invisible buttons) */
  visibility: hidden;
  transition: opacity var(--t-fast), visibility 0s linear .3s;
}

.cmd-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity var(--t-fast), visibility 0s;
}

.cmd-modal-card {
  width: 100%;
  max-width: 620px;
  background: #06163A;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.9), 0 0 40px rgba(94, 230, 196, 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10001;
}

.cmd-search-bar {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}

.cmd-search-icon {
  color: var(--cyan);
}

.cmd-search-bar .cmd-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-size: 0.92rem;
  font-family: var(--font-m);
}

.cmd-esc-badge {
  font-size: 0.65rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--dim);
}

.cmd-results {
  max-height: 340px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cmd-results::-webkit-scrollbar, .log-feed::-webkit-scrollbar {
  width: 4px;
}

.cmd-results::-webkit-scrollbar-track, .log-feed::-webkit-scrollbar-track {
  background: rgba(2, 6, 18, 0.6);
}

.cmd-results::-webkit-scrollbar-thumb, .log-feed::-webkit-scrollbar-thumb {
  background: rgba(94, 230, 196, 0.35);
  border-radius: 4px;
}

.cmd-results::-webkit-scrollbar-thumb:hover, .log-feed::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

.cmd-group-label {
  font-size: 0.65rem;
  color: var(--dim);
  letter-spacing: 0.08em;
  padding: 8px 12px 4px 12px;
}

.cmd-results .cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--t-fast);
  background: transparent;
  border: 1px solid transparent;
  text-align: left;
}

.cmd-results .cmd-item:hover, .cmd-results .cmd-item.selected {
  background: rgba(94, 230, 196, 0.12);
  border-color: rgba(94, 230, 196, 0.3);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(94, 230, 196, 0.15);
}

.cmd-key {
  color: var(--cyan);
  margin-right: 12px;
  font-weight: 700;
}

.cmd-badge {
  font-size: 0.62rem;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  color: var(--dim);
}

.cmd-footer {
  padding: 10px 20px;
  background: rgba(2, 8, 22, 0.85);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  font-size: 0.65rem;
  color: var(--dim);
}

.cmd-footer kbd {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--muted);
}

.sim-log-terminal {
  background: #01040A;
  border: 1px solid rgba(94, 230, 196, 0.18);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.68rem;
}

.log-title-row {
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.log-feed {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 75px;
  overflow-y: auto;
}

.log-entry {
  color: var(--fg-secondary);
}

/* 6. Founder Holographic 3D Tilt & GEO Pill */
.founder-geo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(94, 230, 196, 0.08);
  border: 1px solid rgba(94, 230, 196, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  color: var(--cyan);
  margin-bottom: 14px;
}

.geo-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: beaconPulse 2s infinite ease-in-out;
}

@keyframes beaconPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.btn-copy-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-fast);
  background: none;
  border: none;
  padding: 0;
}

.btn-copy-email:hover {
  color: #FFFFFF;
  text-shadow: 0 0 10px var(--cyan);
}

.copy-badge {
  padding: 3px 6px;
  font-size: 0.62rem;
  background: rgba(94, 230, 196, 0.12);
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* 7. FAQ Cybernetic Filter Bar */
.faq-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(5, 16, 42, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  max-width: 860px;
}

.faq-filter-icon {
  color: var(--muted);
  flex-shrink: 0;
}

.faq-search-input {
  flex-grow: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--fg);
  font-size: 0.82rem;
  font-family: var(--font-m);
}

.faq-counter {
  font-size: 0.68rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.faq-item.search-hidden {
  display: none !important;
}

/* 8. Precision Reticle Cursor */
.hud-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
  mix-blend-mode: screen;
}

.hud-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(94, 230, 196, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), border-color 0.2s var(--ease), border-radius 0.2s var(--ease), background 0.2s var(--ease);
}

.hud-cursor-ring.active-hover {
  width: 44px;
  height: 44px;
  border-color: var(--cyan);
  border-radius: 8px;
  background: rgba(94, 230, 196, 0.08);
  box-shadow: 0 0 20px rgba(94, 230, 196, 0.3);
}

@media (pointer: coarse) {
  .hud-cursor-dot, .hud-cursor-ring { display: none !important; }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 992px) {
  .hud-pill { display: none; }
  .nav-burger { display: flex; }
  .span-7, .span-5 { grid-column: span 12; }
  .hud-case-details { grid-template-columns: 1fr; }
  .founder-split-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .warp-card { width: 280px; height: 320px; }
  .warp-card.next-1 { transform: translate3d(180px, 0, -100px) rotateY(-25deg) scale(0.85); }
  .warp-card.prev-1 { transform: translate3d(-180px, 0, -100px) rotateY(25deg) scale(0.85); }
  .warp-card.next-2, .warp-card.prev-2 { display: none; }
  .details-right { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ░░ ART DIRECTION LAYER ░░
   One idea runs through the whole page: friction → flow.
   Every section shows a system turning turbulence into laminar motion,
   through the same grammar — packets of light, HUD telemetry, one "verb key".
   ========================================================================== */

@property --zone-a { syntax: '<color>'; inherits: true; initial-value: #0D3A8F; }
@property --zone-b { syntax: '<color>'; inherits: true; initial-value: rgba(94, 230, 196, 0.18); }
@property --zone-c { syntax: '<color>'; inherits: true; initial-value: #0B2559; }

:root {
  --amber: #FB923C;
  --floodlight: #FFF1CF;
  --ink: #01040C;
  --comp-gold: #FBBF24;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-snap: cubic-bezier(0.77, 0, 0.175, 1);
}

body {
  --zone-a: #0D3A8F;
  --zone-b: rgba(94, 230, 196, 0.18);
  --zone-c: #0B2559;
  transition: --zone-a 1.4s var(--ease-out), --zone-b 1.4s var(--ease-out), --zone-c 1.4s var(--ease-out);
}
body[data-zone="work"]      { --zone-a: #06403F; --zone-b: rgba(16, 185, 129, 0.16); --zone-c: #0A2C3A; }
body[data-zone="solutions"] { --zone-a: #1B1F66; --zone-b: rgba(139, 92, 246, 0.15); --zone-c: #0B2559; }
body[data-zone="process"]   { --zone-a: #0D2F6B; --zone-b: rgba(245, 158, 11, 0.12); --zone-c: #2A1E08; }
body[data-zone="founder"]   { --zone-a: #251463; --zone-b: rgba(167, 139, 250, 0.15); --zone-c: #0B1F4F; }
body[data-zone="faq"]       { --zone-a: #0B2A62; --zone-b: rgba(94, 230, 196, 0.10); --zone-c: #07183A; }
body[data-zone="contact"]   { --zone-a: #0D3A8F; --zone-b: rgba(96, 165, 250, 0.2); --zone-c: #061A44; }

.blob-1 { background: radial-gradient(circle, var(--zone-a) 0%, #061537 60%, transparent 100%); }
.blob-2 { background: radial-gradient(circle, var(--zone-b) 0%, var(--zone-c) 65%, transparent 100%); }
.blob-3 { background: radial-gradient(circle, var(--zone-c) 0%, #030A1C 70%, transparent 100%); }

/* Section accents — the second layer of identity */
#hero      { --accent: var(--cyan);    --accent-rgb: 94, 230, 196; }
#work      { --accent: #34D399;        --accent-rgb: 52, 211, 153; }
#solutions { --accent: var(--cyan);    --accent-rgb: 94, 230, 196; }
#process   { --accent: var(--comp-gold); --accent-rgb: 251, 191, 36; }
#founder   { --accent: #A78BFA;        --accent-rgb: 167, 139, 250; }
#faq       { --accent: var(--cyan);    --accent-rgb: 94, 230, 196; }
#contact   { --accent: var(--cyan);    --accent-rgb: 94, 230, 196; }

/* Drifting dust: the ambient current always runs left → right */
.dust-field {
  position: fixed;
  inset: -10% -10%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 72%, rgba(94,230,196,.5) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 64% 34%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 82% 82%, rgba(96,165,250,.5) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 22% 56%, rgba(255,255,255,.3) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 12%, rgba(94,230,196,.45) 50%, transparent 51%);
  background-size: 420px 420px, 560px 560px, 700px 700px, 380px 380px, 640px 640px, 520px 520px;
  animation: dustDrift 90s linear infinite;
}
@keyframes dustDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(420px, -60px, 0); }
}

/* Accessibility primitives */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: #fff;
  color: var(--bg-deep);
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
  transition: transform var(--t-fast);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
::selection { background: rgba(94, 230, 196, 0.32); color: #fff; }
html { scrollbar-color: #1E3A6E #07090F; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #07090F; }
::-webkit-scrollbar-thumb { background: #16305E; border-radius: 10px; border: 2px solid #07090F; }
.comp-gold { color: var(--comp-gold) !important; }
.comp-violet { color: #A78BFA !important; }
.cyan-dot { color: var(--accent, var(--cyan)); }
.hud-tag { color: var(--accent, var(--cyan)); }

/* ==========================================================================
   THE VERB KEY — one control grammar for every artwork
   (Release · Play · Run · Test · Hand over · Ship · Transmit)
   ========================================================================== */
.verb-key {
  --vk: var(--accent, var(--cyan));
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 22px 12px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--vk);
  background: color-mix(in srgb, var(--vk) 9%, rgba(2, 8, 22, 0.85));
  border: 1px solid color-mix(in srgb, var(--vk) 45%, transparent);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  isolation: isolate;
  overflow: hidden;
}
.verb-key::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 0%, color-mix(in srgb, var(--vk) 35%, transparent) 45%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease-out);
  z-index: -1;
}
.verb-key:hover::before, .verb-key:focus-visible::before { transform: translateX(110%); }
.verb-key:hover {
  background: color-mix(in srgb, var(--vk) 16%, rgba(2, 8, 22, 0.85));
  box-shadow: 0 0 26px color-mix(in srgb, var(--vk) 30%, transparent);
  transform: translateY(-1px);
}
.verb-key:active { transform: translateY(1px); }
.verb-key-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  position: relative;
  flex: none;
}
.verb-key-icon::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 6px; height: 7px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translate(-35%, -50%);
}
.verb-key[aria-pressed="true"] .verb-key-icon::after,
.verb-key.is-done .verb-key-icon::after {
  width: 7px; height: 7px;
  clip-path: none;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
.verb-key.is-running { pointer-events: none; }
.verb-key.is-running .verb-key-icon { border-color: transparent; border-top-color: currentColor; border-right-color: currentColor; animation: vkSpin 0.7s linear infinite; }
.verb-key.is-running .verb-key-icon::after { opacity: 0; }
@keyframes vkSpin { to { transform: rotate(360deg); } }
.verb-key--sm { min-height: 44px; padding: 10px 18px 10px 14px; font-size: 0.74rem; }
.verb-key--gold { --vk: var(--comp-gold); }
.verb-key--violet { --vk: #A78BFA; }

/* Instruments: the machine panels that live inside cards */
.instrument {
  --ia: var(--accent, var(--cyan));
  position: relative;
  margin: 22px 0;
  padding: 16px;
  background: linear-gradient(180deg, rgba(1, 6, 18, 0.82), rgba(2, 9, 26, 0.7));
  border: 1px solid color-mix(in srgb, var(--ia) 20%, transparent);
  border-radius: 10px;
}
.instrument-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.instrument-head b { color: var(--fg); font-weight: 600; }
.instrument-foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 14px;
}
.instrument-note {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

/* ==========================================================================
   FLOW RAIL — the page drawn as a single pipeline
   ========================================================================== */
.flow-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  height: 54vh;
  width: 16px;
  transform: translateY(-50%);
  z-index: 60;
  display: none;
}
.rail-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: rgba(142, 166, 204, 0.22);
  transform: translateX(-50%);
}
.rail-fill {
  position: absolute;
  left: 0; top: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(180deg, rgba(94,230,196,0), var(--cyan));
  box-shadow: 0 0 8px rgba(94, 230, 196, 0.6);
}
.rail-packet {
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff, 0 0 18px var(--cyan);
  will-change: transform;
}
.rail-node {
  position: absolute;
  left: 50%;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  display: grid;
  place-items: center;
}
.rail-node::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 1px solid rgba(142, 166, 204, 0.6);
  transition: all var(--t-norm);
}
.rail-node.is-active::before {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  transform: scale(1.3);
}
.rail-node.is-past::before { border-color: var(--cyan); }
.rail-lbl {
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translate(6px, -50%);
  white-space: nowrap;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--fg-secondary);
  padding: 5px 9px;
  background: rgba(3, 10, 28, 0.9);
  border: 1px solid var(--line);
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.rail-node:hover .rail-lbl, .rail-node:focus-visible .rail-lbl, .rail-node.is-active .rail-lbl.flash {
  opacity: 1;
  transform: translate(0, -50%);
}
@media (min-width: 1320px) { .flow-rail { display: block; } }

/* Cursor label — tells you what the artwork under it responds to */
.hud-cursor-ring { display: grid; place-items: center; }
.cursor-label {
  font-family: var(--font-m);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  opacity: 0;
  transition: opacity var(--t-fast);
  white-space: nowrap;
}
.hud-cursor-ring.has-label {
  width: 64px !important;
  height: 64px !important;
  margin: -32px 0 0 -32px;
  border-color: rgba(94, 230, 196, 0.7);
  background: rgba(2, 8, 22, 0.35);
  border-radius: 50%;
}
.hud-cursor-ring.has-label .cursor-label { opacity: 1; }

/* Headline mask reveal (replaces the generic fade-up for headings) */
.section-heading { clip-path: inset(0 0 0 0); }
[data-reveal] .section-heading { transition: clip-path 1s var(--ease-out) .1s; }
[data-reveal]:not(.revealed) .section-heading { clip-path: inset(0 100% 0 0); }

/* ==========================================================================
   SUB-PAGE CHROME (case study, privacy, terms, 404 share this stylesheet)
   ========================================================================== */
.nav {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 32px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 14px 10px 18px;
  background: rgba(5, 14, 36, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: 10px;
}
.nav-logo { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; font-weight: 600; color: var(--fg); }
.nav-links { display: flex; gap: 22px; font-family: var(--font-m); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--cyan); }
.nav-cta, .btn.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  font-family: var(--font-m); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.05em;
  background: var(--cyan); color: var(--bg-deep);
  border-radius: var(--radius-sm);
}
.nav-cta:hover, .btn.btn-primary:hover { box-shadow: 0 0 24px rgba(94, 230, 196, 0.45); }
.eyebrow { font-size: 0.75rem; color: var(--cyan); letter-spacing: 0.08em; }
.hero-title { font-family: var(--font-d); font-weight: 700; letter-spacing: -0.03em; }
.accent { color: var(--cyan); }
.aurora, .noise, .scanlines { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.aurora { background: radial-gradient(60% 50% at 50% -10%, rgba(13, 58, 143, 0.55), transparent 70%), radial-gradient(40% 40% at 0% 60%, rgba(94, 230, 196, 0.08), transparent 70%); }
.aurora i { display: none; }
.noise { background-image: url('/grain.png'); background-size: 200px; opacity: 0.05; mix-blend-mode: overlay; z-index: 99; }
.scanlines { display: none; }
body > main, body > footer { position: relative; z-index: 2; }
@media (max-width: 860px) { .nav-links { display: none; } }
/* ARTWORKS · one visual language, seven different machines */
.hero-container { position:relative; z-index:2 }
.flow-stage { position:relative; width:min(1200px, calc(100% - 48px)); margin:42px auto 30px; height:360px; overflow:hidden; border:1px solid rgba(94,230,196,.22); border-radius:12px; background:radial-gradient(ellipse at 56% 50%,rgba(0,159,194,.16),transparent 42%),linear-gradient(135deg,rgba(3,12,34,.95),rgba(2,6,19,.94)); box-shadow:inset 0 0 80px rgba(0,0,0,.35),0 20px 70px rgba(0,0,0,.2) }
.flow-stage:before,.club-stage:after { content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(69,175,206,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(69,175,206,.045) 1px,transparent 1px);background-size:36px 36px;mask-image:linear-gradient(transparent,#000 28%,#000 75%,transparent) }
.flow-canvas {position:absolute;inset:0;width:100%;height:100%}
.flow-hud {position:absolute;inset:24px 28px auto;display:flex;align-items:start;justify-content:space-between;pointer-events:none;font-size:.7rem;letter-spacing:.08em}
.flow-read {display:grid;gap:6px;color:#8da6bf}.flow-read--out{text-align:right}.flow-read-lbl{color:var(--cyan);font-size:.63rem}.flow-read-val{font-size:.85rem;color:white}.flow-read-val b{font-size:1.4rem}.flow-read-sub{font-size:.65rem}
.flow-throat {position:absolute;left:56%;top:15px;transform:translateX(-50%);color:var(--amber);font-size:.6rem;white-space:nowrap}.flow-throat-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 12px currentColor;margin-right:7px} [data-flow=flow] .flow-throat{color:var(--cyan)}
.flow-caption {position:absolute;bottom:20px;left:24px;right:24px;display:flex;align-items:center;gap:18px}.flow-hint{font-size:.74rem;color:#a8bad1}.squeeze{display:inline-block;transform:scaleX(.83);transform-origin:left;color:#ffae72;transition:transform 1.2s,color 1.2s;letter-spacing:-.04em}[data-flow=flow] .squeeze{transform:scaleX(1);color:inherit}
.club{overflow:hidden;margin-bottom:32px}.club-stage{position:relative;background:#071a2b;overflow:hidden}.club-sky{position:absolute;inset:0;background:linear-gradient(180deg,var(--sky-top,#28465a),var(--sky-bottom,#08192a));transition:background 1s}.club-map{display:block;width:100%;height:auto;position:relative;z-index:1}.club-map .court-light{opacity:0;transition:opacity .5s}.club-map .court-lit .court-light{opacity:1}.club-map .court-booked .court-player{opacity:1}.club-map .court-player{opacity:0}.club-courts{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(117,161,181,.18);border-block:1px solid rgba(117,161,181,.18)}.court-btn{display:grid;text-align:left;gap:5px;padding:15px;background:#081929;color:#e3effb;border:0;cursor:pointer}.court-btn:hover,.court-btn[aria-pressed=true]{background:#103c3b}.court-btn-id,.court-btn-state{font-size:.63rem;letter-spacing:.08em;color:#7ba3a8}.court-btn-name{font-size:.8rem}.court-btn[aria-pressed=true] .court-btn-state{color:#6ef0ac}.club-timeline{padding:22px 26px 14px}.club-tl-head{display:flex;align-items:center;gap:20px}.club-tl-hint{color:#a9becd;font-size:.76rem;line-height:1.5;flex:1}.club-price{display:grid;text-align:right;font-size:.6rem;color:#95a8b7}.club-price b{color:#fff;font-size:1.1rem}.club-price i{color:#fbbf24;font-style:normal}.club-ribbon{position:relative;height:51px;margin-top:20px;background:linear-gradient(90deg,#32516b 0%,#295f79 55%,#c78d57 67%,#101d42 76%);border-radius:4px;overflow:hidden}.club-ribbon-rows{position:absolute;inset:5px 0;display:grid;gap:3px}.ribbon-row{position:relative;background:rgba(2,10,20,.48)}.ribbon-booking{position:absolute;top:1px;bottom:1px;background:#38d9ab;opacity:.75;border-radius:1px}.club-playhead{position:absolute;top:0;bottom:0;width:2px;background:#fff;box-shadow:0 0 10px white}.club-range{display:block;width:100%;margin:9px 0;accent-color:#34d399;cursor:pointer}.club-hours{display:flex;justify-content:space-between;font-size:.58rem;color:#8ba3b5}.dag-svg{width:100%;height:auto;display:block}.dag-svg .edge{stroke:#274d67;stroke-width:2;fill:none}.dag-svg .node rect{fill:#071528;stroke:#31566d}.dag-svg .node text{fill:#aac4d4;font:10px 'JetBrains Mono',monospace;text-anchor:middle}.dag-svg .node.active rect{stroke:#5EE6C4;fill:#103a42;filter:drop-shadow(0 0 8px #5EE6C488)}.dag-svg .node.retry rect{stroke:#fb923c}.dag-log{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;font-size:.63rem;color:#879fb4}.dag-log li{display:flex;gap:7px;align-items:center;min-width:0}.dl-dot{width:5px;height:5px;border-radius:50%;background:#486177;flex:none}.dag-log li.active .dl-dot{background:#5EE6C4;box-shadow:0 0 8px #5EE6C4}.dag-log li.active{color:#d8fbff}.dl-name{color:#b7ccdc;white-space:nowrap}.dl-msg{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.airgap{--ia:#a78bfa}.airgap-canvas{width:100%;height:235px;display:block}.airgap-readout{display:flex;justify-content:space-between;gap:8px;font-size:.63rem;color:#9baac5}.airgap-readout b{color:#a78bfa}
.compare{height:245px;overflow:hidden;padding:0;--ia:#34d399}.cmp-layer{position:absolute;inset:0;overflow:hidden}.cmp-product{clip-path:inset(0 0 0 var(--split))}.mock{position:absolute;inset:22px 20px 35px;background:#0b1d31;border:1px solid #24455a;border-radius:6px;overflow:hidden}.mock-top{height:26px;background:#12283c;display:flex;align-items:center;gap:4px;padding:0 9px}.mock-top i{width:5px;height:5px;border-radius:50%;background:#63879a}.mock-url{margin-left:8px;color:#7898a9;font:8px monospace}.mock-body{display:flex;height:calc(100% - 26px)}.mock-side{width:18%;background:#0d2335;padding:12px 6px;display:grid;align-content:start;gap:12px}.mock-side b{height:3px;background:#305365;border-radius:3px}.mock-main{padding:12px;width:82%}.mock-kpis{display:flex;gap:5px}.mock-kpi{flex:1;background:#122f3b;padding:6px;min-width:0}.mock-kpi em{display:block;color:#89adac;font:7px monospace;font-style:normal}.mock-kpi strong{font-size:11px;color:#c6f8df}.mock-chart{height:53px;margin:8px 0;background:#102c36}.mock-chart svg{width:100%;height:100%}.mock-rows{display:grid;gap:4px}.mock-row{height:6px;background:#183948}.cmp-blueprint .mock{background:#07182a;border-color:#267098}.cmp-blueprint .mock *{color:#5ccdec!important}.cmp-blueprint .mock-kpi,.cmp-blueprint .mock-chart,.cmp-blueprint .mock-row{background:transparent;border:1px dashed #236282}.cmp-blueprint .mock-chart em{font:8px monospace}.cmp-handle{position:absolute;top:0;bottom:0;left:var(--split);width:2px;background:white;box-shadow:0 0 14px #fff;pointer-events:none}.cmp-handle span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:32px;height:32px;border-radius:50%;background:#d2fff5;color:#0a2830}.cmp-handle span:after{content:'↔';position:absolute;inset:0;display:grid;place-items:center;font-size:18px}.cmp-tag{position:absolute;bottom:10px;color:#c3e8f1;font-size:.57rem}.cmp-tag--l{left:14px}.cmp-tag--r{right:14px}.cmp-range{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ew-resize;margin:0}.cmp-range:focus-visible{opacity:.03}
.handover{--ia:#fbbf24}.ho-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.ho-source{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px}.ho-package svg{filter:drop-shadow(0 0 12px #fbbf2455)}.ho-cube-top{fill:#fbbf24}.ho-cube-left{fill:#87601b}.ho-cube-right{fill:#bb8724}.ho-cube-glyph{fill:none;stroke:#fff3cd;stroke-width:2}.ho-package.ship{animation:ship 1s ease-in-out}@keyframes ship{50%{transform:translateX(80px) scale(.65);opacity:.2}}.ho-src-lbl{font-size:.6rem;color:#d1b979}.ho-meter{width:100%;display:grid;grid-template-columns:1fr auto;gap:5px;font-size:.6rem;color:#c1b58d}.ho-meter-bar{grid-column:1/-1;height:3px;background:#3e3828}.ho-meter-bar i{display:block;width:0;height:100%;background:#fbbf24;transition:width .4s}.ho-rack{display:grid;gap:5px}.ho-bay{display:flex;align-items:center;gap:8px;padding:9px;background:#101c29;border:1px solid #33404b;color:#d7dfeb;cursor:pointer;text-align:left}.ho-bay[aria-checked=true]{border-color:#fbbf24;background:#292719}.ho-leds{display:flex;gap:3px}.ho-leds i{width:4px;height:4px;border-radius:50%;background:#657061}.ho-bay.online .ho-leds i{background:#80ffbd;box-shadow:0 0 6px #80ffbd}.ho-bay-name{font-size:.64rem;flex:1}.ho-bay-state{font-size:.52rem;color:#a49f84}.ho-checklist{margin-top:18px!important;font-size:.7rem}.ho-checklist li{opacity:.5;transition:opacity .3s}.ho-checklist li.done{opacity:1;color:#bff8d5}
.build{display:grid;grid-template-columns:1fr 1fr;gap:6%;align-items:start}.build-phase{min-height:70vh;padding:28px 0 100px}.build-phase h3{font-size:clamp(1.5rem,2.5vw,2.4rem);margin:18px 0}.build-phase p{color:#aec0d2;line-height:1.7}.build-days{list-style:none;padding:0;margin:25px 0 0;border-left:1px solid #334b62}.build-days li{display:flex;gap:18px;padding:9px 16px;color:#7f97aa;font-size:.72rem;transition:color .25s,border-color .25s;border-left:2px solid transparent;margin-left:-2px}.build-days li.is-current{color:#fff;border-color:#fbbf24}.bd-n{color:#cba958;flex:none}.build-art{height:100%}.build-sticky{position:sticky;top:100px;border:1px solid #594d32;border-radius:12px;background:radial-gradient(circle at 50% 45%,#263044,#080f20 70%);padding:20px;overflow:hidden}.build-hud{display:flex;justify-content:space-between;align-items:center;color:#fbbf24;font:.7rem 'JetBrains Mono',monospace}.build-daynum b{font-size:2.2rem;color:white}.build-daynum small{font-size:.8rem;color:#a29882}.iso-svg{width:100%;height:auto;display:block}.iso-part{opacity:.07;transition:opacity .5s}.iso-part.on{opacity:1}.build-now{font-size:.75rem;color:#b7c4ce;text-align:center;min-height:1.4em}.build-ticks{display:flex;gap:4px;justify-content:center}.build-ticks button{border:0;height:5px;flex:1;background:#354352;cursor:pointer;padding:0}.build-ticks button.is-current,.build-ticks button:hover{background:#fbbf24}
.founder-flourish{width:130px;height:auto;color:#a78bfa}.founder-flourish path{stroke-dasharray:400;stroke-dashoffset:400;transition:stroke-dashoffset 1.8s}.revealed .founder-flourish path{stroke-dashoffset:0}.compiler{--ia:#a78bfa;margin:0}.compiler-stage{position:relative;min-height:300px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle,#37225c55,transparent 70%)}.deck{position:relative;width:80%;height:210px;transition:transform .6s,opacity .6s}.slide{position:absolute;inset:0;padding:20px;background:#111c38;border:1px solid #66569b;box-shadow:0 12px 35px #0008;border-radius:5px}.slide--back2{transform:translate(14px,-12px) rotate(5deg);opacity:.35}.slide--back1{transform:translate(7px,-6px) rotate(2deg);opacity:.6}.slide-kicker,.slide-sub,.slide-foot{font:.58rem 'JetBrains Mono',monospace;color:#a392d2}.slide-title{font-size:1.2rem;color:#eee5ff;margin:10px 0 4px}.slide-body{display:flex;gap:15px;margin:16px 0}.slide-bullets{flex:1;display:grid;gap:5px}.slide-bullets i{height:5px;background:#594c7c}.slide-chart{flex:1;height:50px;display:flex;align-items:end;gap:5px}.slide-chart b{height:var(--h);flex:1;background:#9679ed}.ship-term{display:none;width:90%;min-height:160px;padding:18px;border:1px solid #704f9f;background:#050a18;color:#c9f9df;font:clamp(.62rem,1vw,.75rem)/1.9 'JetBrains Mono',monospace;white-space:pre-wrap}.compiler.shipped .deck{display:none}.compiler.shipped .ship-term{display:block}.compiler.compiling .deck{transform:translateY(100px) scale(.8) rotate(-4deg);opacity:0}.commit-log{margin-top:18px}.copy-badge{margin-left:6px}
.faq-console{position:relative;padding:20px;border:1px solid rgba(94,230,196,.18);background:rgba(3,12,29,.8);border-radius:12px}.signal-line{width:100%;height:76px;display:block}.signal-path{fill:none;stroke:#5EE6C4;stroke-width:1.5;filter:drop-shadow(0 0 5px #5EE6C4)}.signal-path--ghost{stroke:#00738b;opacity:.3;stroke-width:8}.faq-filter-bar{display:flex;align-items:center;gap:10px;border:1px solid #28475e;padding:10px 14px}.faq-filter-icon{color:#5EE6C4}.faq-search-input{flex:1;min-width:0;background:transparent;border:0;color:white;outline:none}.faq-counter{font-size:.64rem;color:#82a1af;white-space:nowrap}.faq-chips{display:flex;gap:7px;flex-wrap:wrap;padding:12px 0 20px}.faq-chip{border:1px solid #285267;background:#0b1b2d;color:#a8cfdb;padding:7px 10px;font:.62rem 'JetBrains Mono',monospace;cursor:pointer}.faq-chip:hover{border-color:#5EE6C4;color:#fff}.faq-wave{width:48px;height:20px;flex:none;margin-right:12px}.faq-wave path{stroke:#5EE6C4;fill:none;stroke-width:1.5}.faq-empty{padding:24px;color:#a6b8cb}.faq-item[hidden]{display:none!important}mark{background:#1a6e73;color:white}
.contact-stream-canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.contact-container{position:relative;z-index:1}.signal-meter{display:flex;align-items:center;gap:10px;margin:0 0 18px;font-size:.65rem;color:#8db1bd}.sm-bars{display:flex;align-items:end;gap:3px;height:16px}.sm-bars i{width:4px;background:#314d5b}.sm-bars i:nth-child(1){height:4px}.sm-bars i:nth-child(2){height:7px}.sm-bars i:nth-child(3){height:11px}.sm-bars i:nth-child(4){height:15px}.signal-meter[data-level='1'] i:nth-child(-n+1),.signal-meter[data-level='2'] i:nth-child(-n+2),.signal-meter[data-level='3'] i:nth-child(-n+3),.signal-meter[data-level='4'] i{background:#5EE6C4;box-shadow:0 0 8px #5EE6C4}.sm-state{margin-left:auto}.form-fieldset{border:0;padding:0}.footer-wordmark{font-family:var(--font-d);font-size:clamp(5rem,18vw,17rem);line-height:.8;letter-spacing:-.09em;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;color:transparent;-webkit-text-stroke:1px #4b779a;background:linear-gradient(100deg,transparent 25%,#5EE6C4 48%,#a78bfa 52%,transparent 75%);background-size:250% 100%;background-position:100%;-webkit-background-clip:text;background-clip:text;animation:wordflow 12s linear infinite}.footer-wordmark span{color:#5EE6C4;-webkit-text-stroke:0}@keyframes wordflow{to{background-position:-150%}}.footer-colophon{font-size:.65rem;color:#8095a8;padding-top:22px;padding-bottom:22px}
@media(max-width:900px){.build{grid-template-columns:1fr;gap:0}.build-art{grid-row:1;position:sticky;top:72px;z-index:4;height:auto}.build-sticky{position:relative;top:auto;padding:10px;background:#0b1426;box-shadow:0 10px 20px #0009}.iso-svg{height:190px}.build-hud{font-size:.6rem}.build-daynum b{font-size:1.3rem}.build-now{margin:3px 0}.build-phase{min-height:55vh;padding:40px 0 70px}}
@media(max-width:600px){.flow-stage{width:calc(100% - 32px);height:310px;margin-top:28px}.flow-hud{inset:16px 14px auto}.flow-throat{top:53px}.flow-read-val{font-size:.68rem}.flow-read-val b{font-size:1rem}.flow-caption{left:14px;right:14px;bottom:14px;display:grid;gap:7px}.flow-hint{font-size:.65rem}.club-courts{grid-template-columns:repeat(2,1fr)}.court-btn{padding:10px}.club-timeline{padding:15px}.club-tl-head{flex-wrap:wrap;gap:10px}.club-tl-hint{flex-basis:100%;order:3}.club-price{margin-left:auto}.club-hours{font-size:.48rem}.club-hours span:nth-child(even){display:none}.dag-log{grid-template-columns:1fr}.dag-svg .node text{font-size:8px}.ho-grid{grid-template-columns:1fr 1fr;gap:10px}.ho-bay{padding:7px;gap:4px}.ho-bay-state{display:none}.faq-console{padding:12px}.faq-wave{width:32px;margin-right:8px}.sm-state{font-size:.55rem}.footer-wordmark{font-size:21vw}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.dust-field{animation:none}.footer-wordmark{animation:none;background-position:50%}[data-reveal]{opacity:1!important;transform:none!important}[data-reveal]:not(.revealed) .section-heading{clip-path:none}.founder-flourish path{stroke-dashoffset:0}}

[hidden]{display:none!important}
.founder-flourish path{fill:none;stroke:#a78bfa;stroke-width:2}.founder-flourish circle{fill:#a78bfa}
/* Final polish & state clarity */
.squeeze{-webkit-text-fill-color:#ffae72;color:#ffae72}[data-flow=flow] .squeeze{background:linear-gradient(100deg,#5EE6C4,#67aaff);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.commit-log{list-style:none;padding:0;display:grid;gap:0;border-top:1px solid #2b3555}.commit-log li{display:grid;grid-template-columns:60px 1fr;gap:5px 10px;padding:10px 0;border-bottom:1px solid #26304c;font-size:.62rem}.cl-hash{color:#a78bfa}.cl-meta{color:#8095ae}.commit-log strong{grid-column:2;color:#d5d9ed;font-size:.62rem}.cl-contact .btn-copy-email{grid-column:2;justify-self:start}.faq-q{flex:1;text-align:left}.faq-accordion-wrap{max-width:none}.faq-filter-bar{max-width:none}
@media(max-width:600px){.hud-header{top:12px}.hud-header-container{padding:0 16px}.hud-actions{width:100%;justify-content:space-between;gap:6px}.hud-logo{padding:8px 10px}.hud-btn-cta{display:none}.nav-burger{flex:none}.warp-carousel-container{overflow:hidden}.flow-throat{top:64px}.flow-read-sub{font-size:.58rem}}
@media(max-width:600px){.flow-throat{top:85px}}

/* SELECTED WORK · Three distinctive systems, one portfolio language */
#case-padelyar,#case-miandar,#case-finance{scroll-margin-top:100px}
.portfolio-index{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:32px 0 0;background:rgba(102,167,192,.25);border:1px solid rgba(102,167,192,.25);border-radius:8px;overflow:hidden}
.portfolio-index a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;column-gap:12px;row-gap:5px;min-height:82px;padding:15px 18px;background:#071326;transition:background .2s,color .2s}
.portfolio-index a:hover,.portfolio-index a:focus-visible{background:#10283a}.portfolio-index a>span{grid-row:1/3;align-self:start;font-size:.72rem;color:#59d1b3}.portfolio-index strong{font-size:.76rem;letter-spacing:.04em;color:#edf7fb}.portfolio-index i{grid-column:2;font-style:normal;font-size:.6rem;letter-spacing:.04em;color:#9aaec0}.portfolio-index b{grid-column:3;grid-row:1/3;font-size:1rem;color:#55d8bd;font-weight:400}
.portfolio-feature-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:75px 0 23px}.portfolio-feature-number{font-size:.7rem;letter-spacing:.1em;color:#5fe0b9}.portfolio-feature-heading h3{font-size:clamp(2rem,3vw,3rem);line-height:1.1;letter-spacing:-.035em;margin:12px 0}.portfolio-feature-heading p{font-size:1rem;line-height:1.55;color:#bac9d6}.portfolio-feature-status{font-size:.65rem;color:#92acb5;letter-spacing:.06em;text-align:right}
.portfolio-features{list-style:none;padding:0;margin:26px 0;display:grid;gap:0;width:100%;border-top:1px solid rgba(172,203,207,.16)}.portfolio-features li{display:grid;grid-template-columns:minmax(105px,.8fr) minmax(0,1.5fr);gap:16px;padding:13px 0;border-bottom:1px solid rgba(172,203,207,.16);font-size:.82rem;line-height:1.5}.portfolio-features strong{font-weight:600;color:#eef4f4}.portfolio-features span{color:#a9bdc6}.portfolio-meta{display:flex;flex-wrap:wrap;gap:7px}.portfolio-meta span{font:500 .62rem var(--font-m);letter-spacing:.045em;padding:7px 9px;color:var(--pc);border:1px solid color-mix(in srgb,var(--pc) 25%,transparent);background:color-mix(in srgb,var(--pc) 5%,transparent)}.portfolio-coming{font-size:.67rem;letter-spacing:.055em;line-height:1.5;color:#9db5bf;margin-top:28px}.portfolio-coming span{color:var(--pc,#71dfc4);margin-right:6px}
@media(max-width:600px){.portfolio-index{grid-template-columns:1fr}.portfolio-index a{min-height:68px;padding:12px 15px}.portfolio-feature-heading{margin-top:56px;align-items:start;flex-direction:column;gap:9px}.portfolio-feature-status{text-align:left}.portfolio-bar{font-size:.58rem;padding:13px 14px}.portfolio-copy{padding:28px 20px}.portfolio-copy h3{margin-top:16px}.portfolio-features li{grid-template-columns:1fr;gap:4px;padding:12px 0}.portfolio-art{min-height:500px}.portfolio-art-head{font-size:.55rem;padding:16px 14px}.portfolio-art-head span:first-child{max-width:70%;line-height:1.5}.miandar-scene,.finance-scene{padding:20px}.portfolio-art-bottom{padding:16px}.miandar-phone{max-width:270px}.finance-panel{padding:16px}.finance-steps button{padding:9px;gap:6px}.finance-steps button strong{font-size:.58rem}.portfolio-coming{font-size:.62rem}}
/* Hover hints never imitate the selected state. */

/* ==========================================================================
   HERO · SINGULARITY CORE (approved concept 5, maximum motion)
   A living orbital system behind the manifesto: 220 fragments stream into
   one calm core that follows the pointer, rings breathe and counter-rotate,
   words of the headline rise one by one.
   ========================================================================== */
.singularity-bg{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0;--px:0px;--py:0px}
.sing-canvas{position:absolute;inset:0;width:100%;height:100%}
.sing-halo{position:absolute;left:50%;top:46%;width:min(78vmin,820px);height:min(78vmin,820px);
  transform:translate(calc(-50% + var(--px)),calc(-50% + var(--py)));border-radius:50%;
  background:radial-gradient(circle,rgba(94,230,196,.16),rgba(94,230,196,.05) 45%,transparent 70%);
  animation:singHalo 7s ease-in-out infinite}
@keyframes singHalo{0%,100%{opacity:.75;scale:1}50%{opacity:1.1;scale:1.06}}
.sing-ring{position:absolute;left:50%;top:46%;border-radius:50%;
  transform:translate(calc(-50% + var(--px)),calc(-50% + var(--py)));pointer-events:none}
.sing-ring-1{width:min(48vmin,500px);height:min(48vmin,500px);border:1px solid rgba(94,230,196,.18);
  animation:singBreathe 6s ease-in-out infinite}
.sing-ring-2{width:min(68vmin,720px);height:min(68vmin,720px);border:1px dashed rgba(94,230,196,.22);
  animation:singSpin 80s linear infinite}
.sing-ring-3{width:min(86vmin,920px);height:min(86vmin,920px);border:1px solid rgba(122,162,255,.12);
  animation:singSpin 130s linear infinite reverse,singBreathe 9s ease-in-out infinite}
@keyframes singSpin{from{transform:translate(calc(-50% + var(--px)),calc(-50% + var(--py))) rotate(0deg)}
  to{transform:translate(calc(-50% + var(--px)),calc(-50% + var(--py))) rotate(360deg)}}
@keyframes singBreathe{0%,100%{opacity:.6}50%{opacity:1}}
.sing-corner{position:absolute;width:26px;height:26px;border:1px solid rgba(94,230,196,.3);animation:singCorner 5s ease-in-out infinite}
.sc-1{top:24px;left:24px;border-right:0;border-bottom:0}
.sc-2{top:24px;right:24px;border-left:0;border-bottom:0;animation-delay:1.2s}
.sc-3{bottom:24px;left:24px;border-right:0;border-top:0;animation-delay:2.4s}
.sc-4{bottom:24px;right:24px;border-left:0;border-top:0;animation-delay:3.6s}
@keyframes singCorner{0%,100%{opacity:.35;border-color:rgba(94,230,196,.25)}50%{opacity:1;border-color:rgba(94,230,196,.7)}}
/* a slow light sweep crossing the hero */
.sing-sweep{position:absolute;inset:0;background:linear-gradient(105deg,transparent 42%,rgba(94,230,196,.045) 50%,transparent 58%);
  transform:translateX(-100%);animation:singSweep 11s var(--ease) infinite}
@keyframes singSweep{to{transform:translateX(100%)}}
/* gradient shimmer on the accent words */
.hero-headline .gradient-text{background:linear-gradient(115deg,#5EE6C4 0%,#60A5FA 35%,#FFFFFF 50%,#60A5FA 65%,#5EE6C4 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  background-size:220% 100%;animation:singShimmer 4.5s linear infinite}
@keyframes singShimmer{from{background-position:0% 0}to{background-position:-220% 0}}
/* word-by-word rise for the headline (spans injected by main.js) */
.sing-word{display:inline-block;animation:singWordIn .65s var(--ease) both}
@keyframes singWordIn{from{opacity:0;transform:translateY(24px) rotate(2deg);filter:blur(6px)}
  to{opacity:1;transform:none;filter:blur(0)}}
/* living buttons */
.hero-actions .hud-button-primary{animation:singPulseBtn 3.2s ease-in-out infinite}
@keyframes singPulseBtn{0%,100%{box-shadow:0 0 25px rgba(94,230,196,.25)}50%{box-shadow:0 0 42px rgba(94,230,196,.55)}}
.hero-actions .hud-button-ghost{transition:transform .35s var(--ease),box-shadow .35s var(--ease),color .35s,border-color .35s}
.hero-actions .hud-button-ghost:hover{transform:translateY(-2px)}
.eyebrow-ping{animation:singPing 2s ease-out infinite}
@keyframes singPing{0%{box-shadow:0 0 0 0 rgba(94,230,196,.55)}100%{box-shadow:0 0 0 12px rgba(94,230,196,0)}}
@media (prefers-reduced-motion: reduce){
  .sing-halo,.sing-ring,.sing-corner,.sing-sweep,.sing-word,
  .hero-headline .gradient-text,.hero-actions .hud-button-primary,.eyebrow-ping{animation:none}
}
