/* ─────────────────────────────────────────────
   FLOFLY — Clean Tech Minimal
   ───────────────────────────────────────────── */

:root {
  --bg: #fafafa;
  --bg-alt: #f1f1f3;
  --surface: #ffffff;
  --ink: #0a0a0b;
  --ink-soft: #5a5a63;
  --ink-mute: #6e6e77;
  --line: #e5e5ea;
  --accent: #1b6fc4;
  --accent-soft: rgba(27, 111, 196, 0.08);
  --accent-deep: #0c4a8a;
  --accent-cyan: #7fd3ff;
  --accent-blue: #2a90d4;
  --footer-bg: #0a0a0b;
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

/* ─── Dark theme ─── */
:root[data-theme="dark"] {
  --bg: #0b0f17;
  --bg-alt: #10151f;
  --surface: #161c27;
  --ink: #eef1f6;
  --ink-soft: #aeb6c4;
  --ink-mute: #79828f;
  --line: #262d3a;
  --accent: #3a8fdc;
  --accent-soft: rgba(127, 211, 255, 0.10);
  --accent-deep: #2f86d6;
  --footer-bg: #06090f;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ─── Three canvas ─── */
#three-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

/* ─── Loader ─── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.loader.hidden { opacity: 0; visibility: hidden; }

.loader-ring {
  width: 42px;
  height: 42px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.loader-text {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(0px);
}
.nav.scrolled {
  background: rgba(250, 250, 250, 0.72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
/* Hides while scrolling through the page; reveals on scroll-up or hover-at-top */
.nav.nav-hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 15px;
}
.nav-logo .logo-text {
  color: var(--accent);
  font-weight: 600;
}
/* Hidden during intro; flyLogoToNav() reveals it once the hero logo arrives */
.nav-logo .logo-mark,
.nav-logo .logo-text {
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.nav-logo.in .logo-mark,
.nav-logo.in .logo-text {
  opacity: 1;
}
.logo-mark {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 147, 255, 0.15));
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); background: var(--accent); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 32px 80px;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  padding: 0;
  background: none;
  border: none;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50% { box-shadow: 0 0 0 8px rgba(0, 87, 255, 0.04); }
}

.hero-logo {
  display: block;
  margin: 0 auto 36px;
  width: clamp(160px, 22vw, 240px);
  height: auto;
  opacity: 0;
  transform: scale(0.97);
  filter: blur(7px);
  position: relative;
  z-index: 6;
}
/* "Decode / signal lock" materialize — scan-band + flicker, resolving crisp */
.hero-logo.in {
  opacity: 1;
  transform: scale(1);
  filter: blur(0) drop-shadow(0 12px 32px rgba(27, 111, 196, 0.22));
  animation: logo-lock 1.05s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes logo-lock {
  0%   { opacity: 0;    transform: scale(0.96); filter: blur(10px) brightness(1.5); clip-path: inset(46% 0 46% 0); }
  18%  { opacity: 0.7;                          filter: blur(7px)  brightness(1.4); clip-path: inset(0 0 62% 0); }
  28%  { opacity: 0.18; }
  44%  { opacity: 0.95; transform: scale(1.012); filter: blur(3px) brightness(1.2); clip-path: inset(0 0 0 0); }
  56%  { opacity: 0.4; }
  70%  { opacity: 1;    transform: scale(1);     filter: blur(1px); }
  82%  { opacity: 0.7; }
  100% { opacity: 1;    transform: scale(1);     filter: blur(0); clip-path: inset(0 0 0 0); }
}

/* Tagline replaces the giant FLOFLY wordmark — the logo already carries the brand */
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 24px;
  color: var(--ink);
}
.hero-tagline em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Hero atmospherics: grid, flow lines, scan, corners, HUD ─── */

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(27, 111, 196, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 111, 196, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
}

/* Radar: a slow rotating sweep + faint concentric rings (replaces flow lines) */
.hero-radar {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
/* Rotating sweep beam (no static rings — just the motion) */
.hero-radar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 142vmin;
  height: 142vmin;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(127, 211, 255, 0.11) 180deg,
    transparent 360deg);
  -webkit-mask-image: radial-gradient(circle, transparent 6%, #000 26%, #000 54%, transparent 74%);
          mask-image: radial-gradient(circle, transparent 6%, #000 26%, #000 54%, transparent 74%);
  animation: radar-sweep 14s linear infinite;
}
@keyframes radar-sweep {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at 50% 60%,
    rgba(27, 111, 196, 0.10) 0%,
    transparent 45%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}

/* ─── Hover-freeze glow: soft cyan bloom behind text when user hovers hero ─── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 640px 440px at 50% 52%,
    rgba(127, 211, 255, 0) 0%,
    transparent 70%);
  transition: background 0.7s var(--ease);
}
.hero.focused::before {
  background: radial-gradient(ellipse 640px 440px at 50% 52%,
    rgba(127, 211, 255, 0.22) 0%,
    rgba(42, 144, 212, 0.08) 45%,
    transparent 75%);
}

.hero-logo,
.hero-tagline,
.hero-sub {
  transition:
    opacity 0.8s var(--ease),
    transform 1s cubic-bezier(0.34, 1.56, 0.64, 1),
    filter 0.7s var(--ease),
    text-shadow 0.7s var(--ease),
    color 0.7s var(--ease);
}

.hero.focused .hero-logo {
  filter: drop-shadow(0 12px 36px rgba(127, 211, 255, 0.55))
          drop-shadow(0 0 20px rgba(127, 211, 255, 0.35));
}
.hero.focused .hero-tagline {
  text-shadow: 0 0 32px rgba(127, 211, 255, 0.22);
}
.hero.focused .hero-tagline em {
  filter: brightness(1.15);
}
.hero.focused .hero-sub {
  color: var(--ink);
}

/* Corner brackets */
.corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent);
  z-index: 4;
  opacity: 0.45;
  pointer-events: none;
}
.corner-tl { top: 96px;   left: 32px;   border-right: 0; border-bottom: 0; }
.corner-tr { top: 96px;   right: 32px;  border-left: 0;  border-bottom: 0; }
.corner-bl { bottom: 40px; left: 32px;  border-right: 0; border-top: 0; }
.corner-br { bottom: 40px; right: 32px; border-left: 0;  border-top: 0; }

/* HUD telemetry readouts */
.hud {
  position: absolute;
  z-index: 5;
  font-family: var(--font-display);
  color: var(--ink-soft);
  pointer-events: none;
}
.hud-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.hud-readout {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hud-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: pulse 2.2s ease-in-out infinite;
}
.hud-tl { top: 132px; left: 80px; }
.hud-tr { top: 132px; right: 80px; text-align: right; }
.hud-tr .hud-eyebrow { justify-content: flex-end; }
.hud-bl { bottom: 76px; left: 80px; }
.hud-br { bottom: 76px; right: 80px; text-align: right; }
.hud-br .hud-eyebrow { justify-content: flex-end; }

@media (max-width: 900px) {
  .corner-tl, .corner-tr, .corner-bl, .corner-br { width: 18px; height: 18px; }
  .hud { display: none; }
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  background: var(--accent);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--surface); transform: translateY(-2px); }
.btn-large { padding: 16px 32px; font-size: 15px; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--ink-soft));
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--accent);
  animation: scroll-down 2s ease-in-out infinite;
}
@keyframes scroll-down {
  0% { top: -40px; }
  100% { top: 40px; }
}

/* ─── Sections ─── */
.section {
  position: relative;
  z-index: 2;
  padding: 140px 0;
  background: var(--bg);
}
.section-alt { background: var(--bg-alt); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-head { margin-bottom: 80px; max-width: 720px; }
.section-head.center { margin: 0 auto 60px; text-align: center; }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-soft);
  max-width: 580px;
  margin-top: 24px;
}
.lead.center { margin: 24px auto 0; }

/* ─── Grid ─── */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

/* ─── About: Vision / Mission pillars ─── */
.pillar {
  padding: 44px 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.1);
  border-color: rgba(27, 111, 196, 0.3);
}
.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--accent);
  font-size: 30px;
  margin-bottom: 24px;
}
.pillar-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.pillar p { color: var(--ink-soft); font-size: 15px; }

.card {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 87, 255, 0.3);
}
.card-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 24px;
}
.card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.card p { color: var(--ink-soft); font-size: 15px; }

/* ─── Split ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 60px; }
}
.split-text .lead { margin-top: 20px; }

.feature-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-list li {
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-soft);
}
.feature-list strong { color: var(--ink); font-weight: 600; margin-right: 4px; }

.split-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.stat {
  background: var(--surface);
  padding: 40px 32px;
  text-align: left;
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--ink-mute);
}

/* ─── Products ─── */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .prod-grid { grid-template-columns: 1fr; } }

.prod {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.prod:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 50px -28px rgba(0, 0, 0, 0.28);
  border-color: rgba(27, 111, 196, 0.35);
}

/* Product stage — dark "hangar" panel that echoes the hero HUD aesthetic */
.prod-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 62% at 50% 40%, rgba(42, 144, 212, 0.22), transparent 70%),
    linear-gradient(158deg, #0c1320 0%, #0a0f18 58%, #060a12 100%);
}
.prod-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(127, 211, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(127, 211, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 28%, transparent 78%);
          mask-image: radial-gradient(ellipse at center, black 28%, transparent 78%);
}
.prod-stage img {
  position: relative;
  max-width: 88%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s var(--ease);
}
.prod:hover .prod-stage img { transform: translateY(-5px) scale(1.035); }

.prod-class {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding: 6px 12px;
  border: 1px solid rgba(127, 211, 255, 0.35);
  border-radius: 999px;
  background: rgba(127, 211, 255, 0.08);
  backdrop-filter: blur(4px);
}

.prod-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 30px 30px;
}
.prod-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.prod-head h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.prod-status {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.prod-status.is-available { color: #1c7a44; background: rgba(41, 204, 106, 0.12); }
.prod-status.is-soon { color: var(--ink-mute); background: rgba(10, 10, 11, 0.05); }
.prod-body > p { color: var(--ink-soft); font-size: 14px; margin-bottom: 20px; }

/* "Coming soon" placeholder stage + pending note */
.prod-stage-soon .prod-soon-mark {
  width: 96px;
  height: auto;
  opacity: 0.22;
  filter: grayscale(1) brightness(1.6);
}
.prod-pending {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 20px;
  padding: 13px 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
}

.prod-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-bottom: 24px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.prod-specs > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  background: var(--bg);
}
.prod-specs dt {
  font-family: var(--font-display);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.prod-specs dd {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.prod-link {
  margin-top: auto;
  align-self: flex-start;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  transform-origin: left center;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.prod-link:hover { color: var(--accent-deep); transform: scale(1.06); }

/* ─── Partners ─── */
/* ─── Partners — auto-scrolling logo marquee (full colour) ─── */
.partner-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.partner-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partner-scroll 34s linear infinite;
}
.partner-marquee:hover .partner-track { animation-play-state: paused; }
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partner-tile {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 188px;
  height: 96px;
  margin-right: 26px;           /* margin (not gap) keeps the loop seamless */
  padding: 0 22px;
  background: #fff;             /* light chip so full-colour logos read on the dark page */
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.partner-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}
/* Full-colour logos on their own light chips */
.partner-tile img {
  max-width: 100%;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) { .partner-track { animation: none; } }
@media (max-width: 560px) { .partner-tile { width: 158px; height: 88px; margin-right: 14px; } }


/* ─── Contact form ─── */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 700px) { .form-row { grid-template-columns: 1fr; } }

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form span {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}
.contact-form button { margin-top: 12px; align-self: flex-start; }

/* Honeypot — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-status {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}
.form-status.is-ok { color: #1c7a44; }
.form-status.is-err { color: #c0392b; }

/* ─── Footer ─── */
.footer {
  background: var(--footer-bg);
  color: rgba(250, 250, 250, 0.85);
  padding: 64px 0 30px;
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* Location map (right side) */
.footer-map {
  position: relative;
  min-height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none; /* preview only — overlay link opens full maps */
  filter: grayscale(0.5) invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.92);
}
.footer-map-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 14px;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 9, 15, 0.55) 100%);
  transition: background 0.3s var(--ease);
}
.footer-map-link:hover { background: linear-gradient(180deg, rgba(58,143,220,0.12) 0%, rgba(6,9,15,0.65) 100%); }
.footer-map-pin {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(6, 9, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
@media (max-width: 860px) { .footer-map { min-height: 220px; } }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 18px;
}
.footer-brand .logo-mark {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 1px 4px rgba(0, 164, 255, 0.25));
}
.footer-brand .logo-text {
  color: var(--accent-cyan);
  font-weight: 600;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-tag {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250, 250, 250, 0.62);
  max-width: 300px;
}
.footer-contact {
  font-style: normal;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(250, 250, 250, 0.6);
  max-width: 300px;
}
.footer-contact a {
  display: inline-block;
  margin-top: 6px;
  color: rgba(250, 250, 250, 0.85);
  transition: color 0.25s var(--ease);
}
.footer-contact a:hover { color: var(--accent-cyan); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols h4 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(250, 250, 250, 0.55);
  margin-bottom: 20px;
}
.footer-cols a {
  display: block;
  font-size: 14px;
  color: rgba(250, 250, 250, 0.7);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.footer-cols a:hover { color: #fff; }

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(250, 250, 250, 0.5);
  font-family: var(--font-display);
  letter-spacing: 0.1em;
}
@media (max-width: 700px) { .footer-bottom { flex-direction: column; gap: 12px; } }

/* ─── Reveal animations ─── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Mobile menu toggle (hamburger) ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-inner { padding: 0 20px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 20px;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  }
  .nav.open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-links a {
    display: block;
    padding: 15px 4px;
    font-size: 16px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav-links li:last-child a { border-bottom: 0; }

  .section { padding: 100px 0; }
  .container { padding: 0 20px; }
  .contact-form { padding: 28px; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #three-canvas { display: none; }

  /* Show all content immediately, no entrance transforms */
  [data-reveal],
  .hero-logo,
  .hero-tagline,
  .hero-sub {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
  .nav-logo .logo-mark,
  .nav-logo .logo-text { opacity: 1 !important; }

  /* Kill looping/atmospheric animations */
  .loader-ring,
  .dot,
  .hud-dot,
  .hero-radar::before,
  .hero-scan,
  .scroll-line::after {
    animation: none !important;
  }
}

/* ─────────────────────────────────────────────
   Chat widget
   ───────────────────────────────────────────── */
.chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  font-family: var(--font-sans);
}

/* Launcher button */
.chat-launcher {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: white;
  box-shadow: 0 10px 30px -8px rgba(27, 111, 196, 0.6);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.chat-launcher:hover { transform: translateY(-3px) scale(1.04); background: var(--accent-deep); }
.chat-ico {
  position: absolute;
  width: 26px;
  height: 26px;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.chat-ico-close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.chat.open .chat-ico-open { opacity: 0; transform: rotate(90deg) scale(0.6); }
.chat.open .chat-ico-close { opacity: 1; transform: rotate(0) scale(1); }
.chat-launcher-dot {
  position: absolute;
  top: 12px; right: 12px;
  width: 10px; height: 10px;
  background: #29cc6a;
  border: 2px solid white;
  border-radius: 50%;
}
.chat.open .chat-launcher-dot { display: none; }

/* Panel */
.chat-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.chat.open .chat-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--footer-bg);
  color: white;
}
.chat-head-logo { width: 34px; height: 34px; object-fit: contain; }
.chat-head-meta { display: flex; flex-direction: column; line-height: 1.3; flex: 1; }
.chat-head-meta strong { font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.chat-head-meta span { font-size: 12px; color: rgba(255, 255, 255, 0.7); display: flex; align-items: center; gap: 6px; }
.chat-status-dot { width: 7px; height: 7px; background: #29cc6a; border-radius: 50%; display: inline-block; }
.chat-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 26px;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s var(--ease);
}
.chat-close:hover { color: white; }

/* Body / messages */
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg);
}
.chat-msg {
  max-width: 82%;
  padding: 11px 15px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 16px;
  white-space: pre-wrap;
  animation: chat-pop 0.25s var(--ease);
}
@keyframes chat-pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg a { color: var(--accent); text-decoration: underline; }
.chat-msg.bot {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.chat-msg.user {
  align-self: flex-end;
  background: var(--accent);
  color: white;
  border-bottom-right-radius: 4px;
}
.chat-msg.user a { color: white; }

/* Typing indicator */
.chat-typing { display: flex; gap: 4px; align-items: center; }
.chat-typing span {
  width: 7px; height: 7px;
  background: var(--ink-mute);
  border-radius: 50%;
  animation: chat-bounce 1.2s infinite ease-in-out;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chat-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-5px); opacity: 1; } }

/* Quick replies */
.chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 12px;
  background: var(--bg);
}
.chat-quick button {
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-deep);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.chat-quick button:hover { background: var(--accent); color: white; }

/* Input */
.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.chat-input input {
  flex: 1;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.chat-input input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.chat-input button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.chat-input button:hover { background: var(--accent-deep); transform: scale(1.05); }
.chat-input button svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .chat { right: 16px; bottom: 16px; }
  .chat-panel { bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-launcher, .chat-panel, .chat-ico, .chat-msg, .chat-typing span { transition: none !important; animation: none !important; }
}

/* ─────────────────────────────────────────────
   Theme toggle (sun ↔ moon) + dark-mode overrides
   ───────────────────────────────────────────── */
body { transition: background-color 0.4s ease, color 0.4s ease; }

.theme-toggle {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  transition: border-color 0.25s var(--ease);
}
.theme-toggle:hover { border-color: var(--ink-mute); }
.theme-toggle svg {
  width: 13px; height: 13px;
  display: block; position: relative; z-index: 2;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}
/* both icons dim; the active side lights up */
.theme-toggle .ic-sun,
.theme-toggle .ic-moon { color: var(--ink-mute); opacity: 0.55; }
:root:not([data-theme="dark"]) .theme-toggle .ic-sun { color: #f5a623; opacity: 1; }
:root[data-theme="dark"] .theme-toggle .ic-moon { color: #c3cce6; opacity: 1; }
/* knob slides under the active icon (icon rides on top of it) */
.theme-toggle .knob {
  position: absolute;
  top: 50%;
  left: 2px;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  transition: left 0.28s var(--ease), background 0.25s var(--ease);
}
:root[data-theme="dark"] .theme-toggle .knob { left: calc(100% - 24px); }

/* Glass / surface elements that don't auto-flip with the tokens */
:root[data-theme="dark"] .nav.scrolled { background: rgba(11, 15, 23, 0.72); }
:root[data-theme="dark"] .btn-ghost { background: rgba(255, 255, 255, 0.06); }
:root[data-theme="dark"] .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
/* Keep partner logos legible on light tiles even in dark mode */

/* ─────────────────────────────────────────────
   Lead-capture modal (gated spec sheets)
   ───────────────────────────────────────────── */
body.lead-open { overflow: hidden; }

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lead-modal[hidden] { display: none; }

.lead-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 15, 0.6);
  backdrop-filter: blur(4px);
  animation: lead-fade 0.25s ease;
}
.lead-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px 34px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.45);
  animation: lead-pop 0.3s var(--ease);
}
@keyframes lead-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lead-pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.lead-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: 0;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-mute);
  transition: color 0.2s var(--ease);
}
.lead-close:hover { color: var(--ink); }

.lead-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 8px 0 10px;
}
.lead-intro { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }

.lead-fields { display: flex; flex-direction: column; gap: 14px; }
.lead-fields label { display: flex; flex-direction: column; gap: 6px; }
.lead-fields span {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.lead-fields input {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.lead-fields input:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.lead-fields .btn { margin-top: 8px; align-self: stretch; justify-content: center; }
.lead-note { font-size: 13px; margin: 4px 0 0; min-height: 1em; color: var(--ink-soft); }
.lead-note.is-err { color: #c0392b; }

#leadSuccess { text-align: center; }
.lead-check {
  width: 54px;
  height: 54px;
  margin: 4px auto 18px;
  border-radius: 50%;
  background: rgba(41, 204, 106, 0.14);
  color: #1c7a44;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#leadSuccess .btn { justify-content: center; }

/* ─── Product category chips ─── */
.prod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
  margin-bottom: 0;
}
.prod-chips a {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  background: var(--surface);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.prod-chips a:hover {
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -12px rgba(27, 111, 196, 0.4);
}

/* ─── Product category groups ─── */
.prod-cat { scroll-margin-top: 92px; }
.prod-cat + .prod-cat { margin-top: 52px; }
.prod-cat-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.prod-cat-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.prod-cat-rule { flex: 1; height: 1px; background: var(--line); }

/* Clickable platform shortcuts in the hero HUD (HUD itself is pointer-events:none) */
.hud-links { pointer-events: auto; }
.hud-links a {
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s var(--ease);
}
.hud-links a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────
   Careers page
   ───────────────────────────────────────────── */
.careers-hero {
  position: relative;
  overflow: hidden;
  padding: 184px 0 92px;
  background: var(--bg);
}
.careers-hero-inner { position: relative; z-index: 2; max-width: 760px; }
.careers-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 18px 0 4px;
}
.careers-title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.careers-hero .lead { margin-top: 20px; }
.careers-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.roles-note {
  margin-top: 36px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* Homepage "view all products" CTA */
.prod-more-cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* Accent CTA button — stays on-brand blue in both light and dark themes */
.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(27, 111, 196, 0.5);
}
.btn-accent:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -8px rgba(27, 111, 196, 0.55);
}

/* Catalog section sits closer to its page hero (avoids a big empty gap) */
.section-flush-top { padding-top: 28px; }

/* Phone field with country-code selector (lead modal) */
.phone-field { display: flex; gap: 8px; }
.phone-field select {
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.phone-field input { flex: 1 1 auto; min-width: 0; }
.phone-field select:focus,
.phone-field input:focus { outline: none; border-color: var(--accent); background: var(--surface); }

/* Inline form success (contact + careers) */
.form-success {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 28px 0;
}
.form-success .lead-check { margin: 0 auto 18px; }
.form-success h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.form-success p { color: var(--ink-soft); max-width: 460px; margin: 0 auto; }
