/* ═══════════════════════════════════════════════════════════════════
   eSpotly Labs Inc. — Immersive Corporate Experience
   Palette: Charcoal + Teal (selective) + Metallic Silver
═══════════════════════════════════════════════════════════════════ */

/* ── Tokens ────────────────────────────────────────────────────── */
:root {
  --bg:          #101417;
  --bg-2:        #131a1d;
  --graphite:    #1d2428;
  --off-white:   #F5F7F5;
  --silver:      #C8D5D2;
  --silver-dim:  rgba(200,213,210,0.10);
  --silver-line: rgba(200,213,210,0.09);
  --teal:        #339C8A;
  --teal-dim:    rgba(51,156,138,0.10);
  --teal-glow:   rgba(51,156,138,0.28);
  --teal-line:   rgba(51,156,138,0.22);
  --teal-border: rgba(51,156,138,0.28);
  --deep-teal:   #1D5F58;
  --text:        #E2ECEA;
  --text-2:      #7A9290;
  --text-3:      #3F5250;
  --nav-h:       72px;
  --max-w:       1180px;
  --pad-x:       clamp(2rem, 6vw, 6.5rem);
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
address { font-style: normal; }
button  { cursor: pointer; font-family: inherit; }

/* ── Utilities ─────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--silver) 60%, var(--off-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow-line {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--teal-line);
  margin-left: 0.75rem;
  vertical-align: middle;
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 1.8rem;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.2s, color 0.2s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: #3db99f;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--teal-glow);
}

.btn-ghost {
  background: var(--silver-dim);
  color: var(--text);
  border: 1px solid var(--silver-line);
}
.btn-ghost:hover {
  background: rgba(200,213,210,0.14);
  border-color: rgba(200,213,210,0.18);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}
.btn-teal:hover {
  background: #3db99f;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(51,156,138,0.35);
}

.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════════════════════
   FUTURISTIC CAPSULE COMPONENTS
═══════════════════════════════════════════════════════════════ */

/* ── Hero dual-action capsule ─────────────────────────── */
.hero-capsule {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(200,213,210,0.13);
  border-radius: 980px;
  background: rgba(16,20,23,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hero-capsule:hover {
  border-color: rgba(51,156,138,0.38);
  box-shadow: 0 0 28px rgba(51,156,138,0.07), inset 0 0 40px rgba(51,156,138,0.04);
}
.hc-label {
  padding: 0.78rem 1.65rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200,213,210,0.58);
  transition: color 0.25s ease;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.hc-label:hover { color: rgba(200,213,210,0.96); }
.hc-divider {
  width: 72px;
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  align-self: stretch;
}
.hc-wave-svg { width: 100%; height: 24px; display: block; overflow: visible; }
.hc-wave-g   { animation: hcWaveScroll 3s linear infinite; }
@keyframes hcWaveScroll { to { transform: translateX(-40px); } }
.hero-capsule:hover .hc-wave-g { animation-duration: 1.8s; }

/* ── Capsule submit button ──────────────────────────────── */
.btn-capsule {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 2rem;
  border: 1px solid rgba(200,213,210,0.13);
  border-radius: 980px;
  background: rgba(16,20,23,0.88);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200,213,210,0.62);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.btn-capsule::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(51,156,138,0.1) 50%, transparent);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.btn-capsule:hover { color: rgba(200,213,210,0.95); border-color: rgba(51,156,138,0.38); box-shadow: 0 0 22px rgba(51,156,138,0.09), inset 0 0 32px rgba(51,156,138,0.04); }
.btn-capsule:hover::before { transform: translateX(100%); }
.btn-capsule:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hc-wave-g { animation: none !important; }
  .hero-capsule, .hc-label, .product-link, .btn-capsule { transition: none !important; }
  .product-link::after, .btn-capsule::before { display: none; }
}

/* ── Reveal animations ─────────────────────────────────────────── */
.reveal-line {
  display: block;
  overflow: hidden;
  line-height: 1.05;
}
.reveal-line .reveal-text {
  display: block;
  transform: translateY(108%);
  transition: transform 0.9s var(--ease-out);
}
.reveal-line.visible .reveal-text,
.is-visible .reveal-line .reveal-text {
  transform: translateY(0);
}

.reveal-line:nth-child(2) .reveal-text { transition-delay: 0.08s; }
.reveal-line:nth-child(3) .reveal-text { transition-delay: 0.16s; }
.reveal-line:nth-child(4) .reveal-text { transition-delay: 0.24s; }

.reveal-fade {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-fade.visible { opacity: 1; transform: translateY(0); }

/* ── WebGL canvas ──────────────────────────────────────────────── */
#glCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* ── Cinematic background canvas ───────────────────────────────── */
#bgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 8999;
  pointer-events: none;
  mix-blend-mode: screen;
  display: block;
}
@media (prefers-reduced-motion: reduce) { #bgCanvas { display: none; } }

/* ── Intro overlay ─────────────────────────────────────────────── */
/* ── Cinematic intro overlay ───────────────────────────────────── */
#intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg);
  overflow: hidden;
  pointer-events: none;
}

/* Skip button */
.intro-skip {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  background: none;
  border: 1px solid rgba(200,213,210,0.18);
  color: rgba(200,213,210,0.42);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 3px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  pointer-events: auto;
}
.intro-skip:hover {
  color: rgba(200,213,210,0.82);
  border-color: rgba(200,213,210,0.42);
}

#intro.done {
  animation: introOut 0.65s var(--ease) forwards;
  pointer-events: none;
}

@keyframes introOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* ── Custom cursor ─────────────────────────────────────────────── */
#cursorDot, #cursorRing {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

#cursorDot {
  width: 5px;
  height: 5px;
  background: var(--off-white);
  transition: width 0.15s, height 0.15s, background 0.15s;
}

#cursorRing {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(200,213,210,0.18);
  transition: width 0.22s var(--ease), height 0.22s var(--ease), border-color 0.22s, opacity 0.22s;
}

body.cursor-hover #cursorDot {
  width: 6px;
  height: 6px;
  background: var(--teal);
}

body.cursor-hover #cursorRing {
  width: 30px;
  height: 30px;
  border-color: rgba(51,156,138,0.20);
}

@media (hover: none) {
  #cursorDot, #cursorRing { display: none; }
}

/* ── Navbar — minimal floating ─────────────────────────────────── */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(16,20,23,0.80);
  backdrop-filter: blur(28px) saturate(130%);
  -webkit-backdrop-filter: blur(28px) saturate(130%);
  border-bottom-color: var(--silver-line);
}

.nav-inner {
  max-width: none;
  margin: 0;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-img { height: 40px; width: auto; object-fit: contain; }

/* ── MENU button ── */
.nav-menu-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: none;
  border: 1px solid rgba(200,213,210,0.14);
  border-radius: 6px;
  padding: 0.52rem 1rem 0.52rem 1.1rem;
  color: var(--text-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.22s, border-color 0.22s, background 0.22s;
  flex-shrink: 0;
}
.nav-menu-btn:hover {
  color: var(--off-white);
  border-color: rgba(200,213,210,0.30);
  background: rgba(200,213,210,0.04);
}

.nav-menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4.5px;
  flex-shrink: 0;
}
.nm-line {
  display: block;
  height: 1.5px;
  width: 18px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.38s var(--ease), opacity 0.25s, width 0.3s var(--ease);
}
.nm-line-short { width: 12px; }

/* Icon transforms when menu is open */
body.menu-open .nm-line         { transform: translateY(3px) rotate(45deg); width: 18px; }
body.menu-open .nm-line-short   { transform: translateY(-3px) rotate(-45deg); width: 18px; }
body.menu-open .nav-menu-label  { opacity: 0; }

/* Dim canvas behind menu */
body.menu-open #glCanvas {
  opacity: 0.25;
  transition: opacity 0.5s ease;
}
#glCanvas { transition: opacity 0.5s ease; }

/* ── Company descriptor — fixed, just below navbar ── */
.nav-tagline {
  position: fixed;
  top: var(--nav-h);
  left: var(--pad-x);
  z-index: 999;
  padding-top: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(200,213,210,0.26);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.45s ease;
}
.navbar.scrolled ~ .nav-tagline,
.navbar.scrolled ~ .nav-full ~ .nav-tagline { opacity: 0; }

/* ══════════════════════════════════════════════════════════════════
   FULL-SCREEN NAVIGATION OVERLAY
══════════════════════════════════════════════════════════════════ */
.nav-full {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(10,13,16,0.97);
  opacity: 0;
  pointer-events: none;
}

/* Atmosphere */
.nf-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.nf-bg-glow {
  position: absolute;
  top: 50%;
  left: 38%;
  transform: translate(-50%, -50%);
  width: 75vw;
  height: 75vh;
  background: radial-gradient(ellipse at center,
    rgba(51,156,138,0.055) 0%, transparent 62%);
}

/* Inner layout */
.nf-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;    /* nav is the only flow child — centers it in viewport */
  padding: 0 var(--pad-x);
}

/* Header row — floated out of flow so it doesn't affect nav centering */
.nf-header {
  position: absolute;
  top: 0;
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nf-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.55;
}

.nf-close {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  color: var(--text-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.nf-close:hover { color: var(--off-white); }

.nf-close-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.nf-close-icon span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: center;
}
.nf-close-icon span:first-child { transform: translateY(-50%) rotate(45deg); }
.nf-close-icon span:last-child  { transform: translateY(-50%) rotate(-45deg); }

/* Navigation list */
.nf-nav {
  width: 100%;
}
.nf-list { list-style: none; width: 100%; padding: 0; margin: 0; }

.nf-item {
  opacity: 0;
  transform: translateY(32px);
}

.nf-link {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(200,213,210,0.07);
  color: var(--off-white);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.25s var(--ease);
}
.nf-list li:last-child .nf-link {
  border-bottom: 1px solid rgba(200,213,210,0.07);
}

.nf-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--teal);
  opacity: 0.55;
  flex-shrink: 0;
  width: 2.2em;
  transition: opacity 0.25s;
}
.nf-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.0625rem; /* 17px */
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  flex: 1;
  transition: transform 0.32s var(--ease), color 0.25s;
}
.nf-arrow {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--teal);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.25s, transform 0.32s var(--ease);
}

/* Hover */
.nf-link:hover .nf-num    { opacity: 1; }
.nf-link:hover .nf-text   { transform: translateX(0.6rem); color: var(--teal); }
.nf-link:hover .nf-arrow  { opacity: 1; transform: translateX(0); }
.nf-link--active .nf-num  { opacity: 1; color: var(--teal); }
.nf-link--active .nf-text { color: var(--teal); }
.nf-link--active .nf-arrow { opacity: 1; }
/* Teal underline sweep */
.nf-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--teal) 0%, transparent 100%);
  transition: width 0.5s var(--ease);
}
.nf-link:hover::after { width: 100%; }

/* Menu footer — floated out of flow so it doesn't affect nav centering */
.nf-footer {
  position: absolute;
  bottom: 0;
  left: var(--pad-x);
  right: var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid rgba(200,213,210,0.07);
  opacity: 0;
}
.nf-footer-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}
.nf-footer-link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--teal);
  transition: color 0.2s;
}
.nf-footer-link:hover { color: var(--off-white); }

/* Mobile */
@media (max-width: 640px) {
  .nf-text  { font-size: 0.9375rem; } /* 15px */
  .nf-link  { padding: 0.75rem 0; gap: 0.9rem; }
  .nf-footer { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .nav-menu-btn .nav-menu-label { display: none; }
  .nav-menu-btn { padding: 0.52rem 0.85rem; }
}

/* Reduced motion: no menu animations */
@media (prefers-reduced-motion: reduce) {
  .nav-full, .nf-item, .nf-footer { transition: none !important; }
}

/* ══════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════ */
.s-hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 30vh 0 8vh;
}

.hero-inner {
  max-width: 54vw;
  margin: 0;
  padding: 0 var(--pad-x);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroLabelIn 0.7s var(--ease-out) 1.2s forwards;
}

@keyframes heroLabelIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
  animation: blink 2.2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--off-white);
  margin-bottom: 2rem;
}

.hero-headline .reveal-line { padding-bottom: 0.05em; }

.s-hero .reveal-line .reveal-text { transition-delay: 0.04s; }
.s-hero .reveal-line:nth-child(2) .reveal-text { transition-delay: 0.14s; }
.s-hero .reveal-line:nth-child(3) .reveal-text { transition-delay: 0.24s; }

.hero-sub {
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.75;
  max-width: 520px;
  text-wrap: balance;
  margin-bottom: 3rem;
  transition-delay: 0.36s;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  transition-delay: 0.50s;
}


.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition-delay: 2.1s;
}

.scroll-cue-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--teal));
  animation: cue-drop 2s ease-in-out infinite;
}

@keyframes cue-drop {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.scroll-cue-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  writing-mode: vertical-rl;
}

@media (max-width: 600px) {
  .hero-scroll-cue { display: none; }
}

@media (max-width: 480px) {
  .hero-capsule   { flex-direction: column; border-radius: 20px; }
  .hc-divider     { display: none; }
  .hc-label       { padding: 0.72rem 1.4rem; text-align: center; }
  .hc-label:first-child { border-bottom: 1px solid rgba(200,213,210,0.08); }
}

/* ── Section container overrides (edge-to-edge) ─────────────────── */
.s-about .container,
.s-products .container,
.s-vision .container,
.s-contact .container {
  max-width: none;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════════ */
.s-about {
  position: relative;
  z-index: 1;
  background: rgba(16,20,23,0.82);
  padding: 10vh 0 8vh;
}

.s-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12vh;
  background: linear-gradient(to bottom, transparent, rgba(16,20,23,0.82));
  pointer-events: none;
  z-index: 0;
}

.about-eyebrow {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
}

/* Two-column editorial grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: start;
  margin-bottom: 3.5rem;
}

.about-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--off-white);
}

.about-grid-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: clamp(0.25rem, 1.5vw, 1.25rem);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-body p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
}

.about-body em { color: var(--off-white); font-style: italic; }

.about-attributes {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 2.5rem;
  border-top: 1px solid var(--silver-line);
}

.attr {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.attr-mark {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 840px) {
  .about-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
  .about-grid-right { padding-top: 0; }
}

@media (max-width: 720px) {
  .about-attributes { gap: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════════
   WHAT WE DO  (400 vh pinned)
══════════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════════
   IDEAS INTO IMPACT — bridge transition
══════════════════════════════════════════════════════════════════ */
.s-bridge {
  position: relative;
  z-index: 1;
  padding: 10vh var(--pad-x) 8vh;
}

.bridge-inner {
  max-width: 580px;
  position: relative;
}

.bridge-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.4rem;
}

.bridge-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}

.bridge-line {
  display: block;
  color: var(--off-white);
}

/* "Impact." — teal-to-silver gradient */
.bridge-impact {
  background: linear-gradient(100deg, var(--teal) 0%, #8DD5CC 55%, var(--off-white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition-delay: 0.12s;
}

.bridge-sub {
  font-size: clamp(0.8rem, 1.1vw, 0.92rem);
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 400px;
}

/* Energy SVG line */
.bridge-energy {
  display: block;
  width: min(580px, 100%);
  height: 60px;
  margin-top: 2.5rem;
  overflow: visible;
}

@media (max-width: 720px) {
  .s-bridge { padding: 7vh var(--pad-x) 5vh; }
  .bridge-headline { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .bridge-energy { height: 44px; }
}

.s-what {
  position: relative;
  z-index: 1;
  height: 400vh;
}

.what-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
  background: rgba(16,20,23,0.82);
  padding: calc(var(--nav-h) + 0.5rem) var(--pad-x) 1rem;
}

/* Decorative bg number — behind card */
.what-bg-num {
  position: absolute;
  right: -0.05em;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(12rem, 28vw, 26rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(51,156,138,0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ── Premium card ── */
.what-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  flex: 0 0 auto;
  height: clamp(240px, 42vh, 380px);
  background: var(--bg-2);
  border: 1px solid var(--teal-border);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.what-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 90% at 80% 50%, rgba(51,156,138,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(51,156,138,0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* subtle top-edge teal line */
.what-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(51,156,138,0.35) 40%, rgba(51,156,138,0.35) 60%, transparent);
  pointer-events: none;
  z-index: 0;
}

/* ── Left text column ── */
.what-text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem clamp(1.5rem, 3vw, 3rem);
  position: relative;
  z-index: 1;
  height: 100%;
  border-right: 1px solid var(--silver-line);
}

.what-header {
  margin-bottom: 1.2rem;
}

.what-panels {
  position: relative;
  flex: 1;
  min-height: 180px;
}

.what-panel {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}

.what-panel.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.panel-counter {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.panel-counter span { color: var(--text-3); }

.panel-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 1.7vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--off-white);
  margin-bottom: 1.6rem;
}

.panel-desc {
  font-size: clamp(0.75rem, 0.9vw, 0.85rem);
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 420px;
}

.what-progress {
  margin-top: 1.2rem;
  width: 120px;
  height: 1px;
  background: var(--silver-line);
  flex-shrink: 0;
}

.what-progress-fill {
  height: 100%;
  background: var(--teal);
  width: 0;
  transition: width 0.1s linear;
}

/* ── Right visuals column ── */
.what-visuals {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 1;
  animation: whatVisFloat 7s ease-in-out infinite;
}

@keyframes whatVisFloat {
  0%,  100% { transform: translateY(0px); }
  45%        { transform: translateY(-18px); }
  70%        { transform: translateY(-10px); }
}

/* Soft radial glow behind sculpture */
.what-visuals::before {
  content: '';
  position: absolute;
  inset: 10%;
  background: radial-gradient(ellipse at center, rgba(51,156,138,0.12) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
  animation: sculptureGlow 4s ease-in-out infinite alternate;
}

@keyframes sculptureGlow {
  from { opacity: 0.6; transform: scale(0.9); }
  to   { opacity: 1.0; transform: scale(1.1); }
}

.what-vis-img {
  position: absolute;
  width: 50%;
  height: 50%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.86) translateY(12px);
  transition: opacity 0.75s ease, transform 0.85s ease;
  will-change: transform, opacity;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.what-vis-img.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Hide images col on narrow viewports */
@media (max-width: 900px) {
  .what-card { grid-template-columns: 1fr; }
  .what-visuals { display: none; }
  .what-text-col { border-right: none; }
}

@media (max-width: 720px) {
  .s-what { height: auto; }
  .what-sticky {
    position: relative;
    height: auto;
    padding: 80px 1.5rem;
  }
  .what-bg-num { display: none; }
  .what-card {
    border-radius: 14px;
    height: auto;
    max-height: none;
  }
  .what-text-col { height: auto; flex: none; }
  .what-panel {
    position: relative;
    opacity: 1;
    transform: none;
    margin-bottom: 3rem;
    pointer-events: auto;
  }
  .what-progress { display: none; }
}

/* ══════════════════════════════════════════════════════════════════
   PRODUCTS
══════════════════════════════════════════════════════════════════ */
.s-products {
  position: relative;
  z-index: 1;
  background: rgba(16,20,23,0.82);
  padding: 5vh 0;
  min-height: auto;
}

.s-products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12vh;
  background: linear-gradient(to bottom, transparent, rgba(16,20,23,0.82));
  pointer-events: none;
  z-index: 0;
}

.section-label {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
}

.products-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--off-white);
  margin-bottom: 3.5rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) 240px;
  gap: clamp(1rem, 2vw, 2.5rem);
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--silver-line);
  border-radius: 16px;
  padding: 1.5rem clamp(1.25rem, 2.5vw, 3rem) 1.5rem var(--pad-x);
  margin-bottom: 2px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 72% 50%, rgba(51,156,138,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.product-card:hover {
  border-color: rgba(51,156,138,0.22);
}

.product-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.product-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(51,156,138,0.8);
  animation: blink 2s ease-in-out infinite;
}

.product-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.product-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--off-white);
  margin-bottom: 0.35rem;
}

.product-type {
  font-size: 0.88rem;
  color: var(--text-3);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 420px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.product-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.24rem 0.72rem 0.24rem 0.55rem;
  background: rgba(16,20,23,0.82);
  border: 1px solid rgba(51,156,138,0.22);
  border-radius: 3px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(200,213,210,0.58);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  user-select: none;
  cursor: default;
}
.product-tags li::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  opacity: 0.72;
}

/* ── Parking Showcase Image ── */
.product-showcase {
  position: relative;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: auto;
  border-radius: 10px;
}

.parking-parallax {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.parking-float-wrap {
  position: relative;
  animation: parkingFloat 6s ease-in-out infinite;
  will-change: transform;
}

@keyframes parkingFloat {
  0%,100% { transform: translateY(0px); }
  45%      { transform: translateY(-11px); }
  70%      { transform: translateY(-6px); }
}

.parking-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.parking-glow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 70%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(51,156,138,0.65) 0%, transparent 70%);
  animation: glowPulse 3.2s ease-in-out infinite;
  pointer-events: none;
  border-radius: 50%;
  transform: translateX(-50%);
}

@keyframes glowPulse {
  0%,100% { opacity: 0.5; transform: translateX(-50%) scaleX(1.0); }
  50%      { opacity: 1.0; transform: translateX(-50%) scaleX(1.18); }
}

@media (prefers-reduced-motion: reduce) {
  .parking-float-wrap { animation: none; }
  .parking-glow { animation: none; }
}

/* ── Premium 3D Phone Mockup — eSpotly ── */
.product-device {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 390px;
  overflow: hidden;
}

.pdev-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  perspective: 1200px;
  perspective-origin: 55% 50%;
  transform: scale(0.76);
}

/* Outer tilt container — JS drives --rx/--ry via setProperty */
.pdev-tilt {
  --rx: 3deg;
  --ry: -16deg;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.14s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Float animation wrapper */
.pdev-wrap {
  position: relative;
  animation: pdevFloat 7s ease-in-out infinite;
}

@keyframes pdevFloat {
  0%, 100% { transform: translateY(0px) rotateZ(0deg); }
  40%       { transform: translateY(-10px) rotateZ(0.4deg); }
  70%       { transform: translateY(-6px) rotateZ(-0.2deg); }
}

/* Main phone body */
.pdev-frame {
  width: 232px;
  height: 472px;
  border-radius: 40px;
  background:
    linear-gradient(to left, rgba(51,156,138,0.14) 0px, transparent 14px),
    linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 50%),
    linear-gradient(160deg, #242d34 0%, #141e25 28%, #0e1620 55%, #09121a 100%);
  border: 1.5px solid rgba(200,213,210,0.1);
  box-shadow:
    10px 12px 32px rgba(0,0,0,0.75),
    0   55px 100px rgba(0,0,0,0.82),
    0   20px  50px rgba(0,0,0,0.48),
    0    0   44px rgba(51,156,138,0.11),
    inset 0 1.5px 0 rgba(200,213,210,0.11),
    inset -1.5px 0 0 rgba(51,156,138,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.03);
  position: relative;
  overflow: hidden;
}

/* Dynamic Island */
.pdev-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #000;
  border-radius: 12px;
  z-index: 5;
}

/* Side buttons (decorative depth hints) */
.pdev-btn-power {
  position: absolute;
  right: -2px;
  top: 120px;
  width: 3px;
  height: 42px;
  background: linear-gradient(to bottom, #1a2830, #253540, #1a2830);
  border-radius: 0 2px 2px 0;
}
.pdev-btn-vol1 {
  position: absolute;
  left: -2px;
  top: 110px;
  width: 3px;
  height: 28px;
  background: linear-gradient(to bottom, #1a2830, #253540, #1a2830);
  border-radius: 2px 0 0 2px;
}
.pdev-btn-vol2 {
  position: absolute;
  left: -2px;
  top: 148px;
  width: 3px;
  height: 28px;
  background: linear-gradient(to bottom, #1a2830, #253540, #1a2830);
  border-radius: 2px 0 0 2px;
}

/* Screen */
.pdev-screen {
  position: absolute;
  inset: 0;
  border-radius: 39px;
  overflow: hidden;
  background: #060f16;
}

/* Status bar */
.pdev-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 18px;
  z-index: 5;
  background: linear-gradient(to bottom, rgba(6,15,22,0.95), transparent);
}
.pdev-time {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(200,213,210,0.92);
  letter-spacing: 0.04em;
}
.pdev-status-right {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(200,213,210,0.85);
}
.pdev-5g {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.45rem;
  font-weight: 700;
  color: rgba(200,213,210,0.85);
  letter-spacing: 0.06em;
}

/* Map area */
.pdev-map {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 275px;
  overflow: hidden;
}
.pmap-svg {
  width: 100%;
  height: 100%;
}

/* Active pin pulse */
.ppin-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pinPulse 2.8s ease-out infinite;
}
@keyframes pinPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(2); }
  100% { opacity: 0;   transform: scale(2); }
}

/* Floating search bar overlaid on map */
.pmap-search {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  height: 28px;
  background: rgba(8,25,36,0.88);
  border-radius: 8px;
  border: 1px solid rgba(51,156,138,0.18);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pmap-search span {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.48rem;
  color: rgba(200,213,210,0.45);
  white-space: nowrap;
}

/* Bottom sheet */
.pdev-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 210px;
  background: linear-gradient(180deg, rgba(7,17,25,0.97) 0%, #060e15 100%);
  border-radius: 18px 18px 0 0;
  border-top: 1px solid rgba(51,156,138,0.14);
  padding: 8px 10px 10px;
  z-index: 3;
}

.pdev-sheet-handle {
  width: 28px;
  height: 2.5px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin: 0 auto 8px;
}

.pdev-sheet-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}
.pdev-sheet-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(51,156,138,0.75);
}
.pdev-sheet-count {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.48rem;
  color: rgba(200,213,210,0.35);
}

/* Parking card */
.pdev-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  margin-bottom: 5px;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.pdev-card.pcard-active {
  background: rgba(51,156,138,0.09);
  border-color: rgba(51,156,138,0.24);
}

.pdev-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(51,156,138,0.15);
  border: 1px solid rgba(51,156,138,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal, #339C8A);
  flex-shrink: 0;
  transition: background 0.4s ease;
}
.pdev-card.pcard-active .pdev-card-icon {
  background: rgba(51,156,138,0.25);
}

.pdev-card-body { flex: 1; min-width: 0; }
.pdev-card-name {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.56rem;
  font-weight: 600;
  color: rgba(200,213,210,0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
  transition: color 0.4s ease;
}
.pdev-card.pcard-active .pdev-card-name { color: rgba(200,213,210,1); }
.pdev-card-meta {
  font-size: 0.46rem;
  color: rgba(200,213,210,0.38);
}

.pdev-card-rate {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--teal, #339C8A);
  flex-shrink: 0;
  white-space: nowrap;
}
.pdev-card-rate span {
  font-size: 0.42rem;
  color: rgba(51,156,138,0.55);
  font-weight: 400;
}

/* Glass glare — static diagonal + periodic animated sweep */
.pdev-glare {
  position: absolute;
  inset: 0;
  border-radius: 39px;
  pointer-events: none;
  z-index: 10;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.055) 0%,
    rgba(255,255,255,0.015) 25%,
    transparent 45%,
    transparent 75%,
    rgba(255,255,255,0.015) 100%
  );
}
.pdev-glare::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 39px;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255,255,255,0.07) 48%,
    rgba(255,255,255,0.04) 52%,
    transparent 70%
  );
  animation: glareSwipe 9s ease-in-out infinite;
  opacity: 0;
}
@keyframes glareSwipe {
  0%, 72%  { opacity: 0; transform: translateX(-120%); }
  78%      { opacity: 1; }
  92%      { opacity: 0; transform: translateX(120%); }
  100%     { opacity: 0; transform: translateX(120%); }
}

/* Floor ambient glow beneath phone */
.pdev-floor-glow {
  width: 180px;
  height: 24px;
  margin-top: 6px;
  background: radial-gradient(ellipse at center, rgba(51,156,138,0.16) 0%, transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .pdev-wrap         { animation: none; }
  .pdev-glare::after { animation: none; }
  .ppin-pulse        { animation: none; opacity: 0.4; }
  .pdev-tilt         { transform: rotateX(3deg) rotateY(-14deg) !important; transition: none; }
}

.product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 1.3rem;
  border: 1px solid rgba(200,213,210,0.12);
  border-radius: 980px;
  background: rgba(16,20,23,0.82);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(200,213,210,0.58);
  position: relative;
  overflow: hidden;
  transition: color 0.25s ease, border-color 0.3s ease;
}
.product-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(51,156,138,0.1) 50%, transparent);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}
.product-link:hover {
  color: rgba(200,213,210,0.95);
  border-color: rgba(51,156,138,0.38);
}
.product-link:hover::after { transform: translateX(100%); }

/* Future row */
.future-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--silver-line);
  border-radius: 0 0 16px 16px;
  overflow: hidden;
  margin-top: 2px;
}

.future-slot {
  background: var(--bg-2);
  padding: 1.8rem var(--pad-x);
  transition: background 0.2s;
}
.future-slot:hover { background: var(--graphite); }

.future-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--silver);
  opacity: 0.12;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 1rem;
}

.future-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.future-status {
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 300;
}

@media (max-width: 1100px) {
  .product-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }
  .product-device { display: none; }
}

@media (max-width: 900px) {
  .product-card {
    grid-template-columns: 1fr;
    grid-template-areas: "info" "device";
    gap: 1.25rem;
    padding: 1.75rem;
    align-items: start;
  }
  .product-info     { grid-area: info; }
  .product-showcase { display: none; }
  .product-device {
    grid-area: device;
    display: flex;
    height: 260px;
    overflow: hidden;
    justify-content: center;
    align-items: flex-start;
  }
  .pdev-scene { transform: scale(0.55); transform-origin: top center; }
  .pdev-wrap  { animation: none; }
  .pdev-tilt  { transform: rotateX(2deg) rotateY(-8deg) !important; transition: none; }
  .future-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   VISION
══════════════════════════════════════════════════════════════════ */
.s-vision {
  position: relative;
  z-index: 1;
  background: rgba(14,18,20,0.88);
  padding: 16vh 0;
  overflow: hidden;
}

.s-vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12vh;
  background: linear-gradient(to bottom, transparent, rgba(14,18,20,0.88));
  pointer-events: none;
  z-index: 0;
}

.s-vision::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51,156,138,0.05) 0%, transparent 62%);
  pointer-events: none;
  z-index: 0;
}

.vision-inner { text-align: center; }

.vision-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--off-white);
  margin: 1.5rem 0 2.5rem;
}

.vision-sub {
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 6rem;
}

.vision-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--silver-line);
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
}

.principle {
  background: var(--bg-2);
  padding: 3rem 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: background 0.2s;
}
.principle:hover { background: var(--graphite); }

.principle-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--teal);
  opacity: 0.7;
  padding-top: 0.2rem;
  flex-shrink: 0;
}

.principle-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--off-white);
  margin-bottom: 0.75rem;
}

.principle-body p {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.75;
}

@media (max-width: 720px) {
  .vision-principles { grid-template-columns: 1fr; border-radius: 16px; }
}

/* ══════════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════════ */
.s-contact {
  position: relative;
  z-index: 1;
  background: rgba(16,20,23,0.90);
  padding: 5vh 0;
  min-height: auto;
  display: flex;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
}

.contact-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1rem, 1.7vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--off-white);
  margin: 1rem 0 1.25rem;
}

.contact-sub {
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}


/* Form */
.contact-form {
  background: var(--bg-2);
  border: 1px solid var(--silver-line);
  border-radius: 16px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--silver-line);
  border-radius: 8px;
  padding: 0.82rem 1rem;
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 300;
  color: var(--text);
  outline: none;
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--teal-line);
  background: rgba(51,156,138,0.04);
  box-shadow: 0 0 0 3px rgba(51,156,138,0.07);
}

.field-error {
  display: block;
  font-size: 0.78rem;
  color: #e06b6b;
  margin-top: 0.35rem;
  min-height: 1em;
}

.form-field input.input-error,
.form-field textarea.input-error {
  border-color: rgba(224,107,107,0.6);
  box-shadow: 0 0 0 3px rgba(224,107,107,0.08);
}

.form-status {
  font-size: 0.84rem;
  min-height: 1.2em;
  color: var(--teal);
}
.form-status.error { color: #e06b6b; }

@media (max-width: 840px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════════ */
/* ══════════════════════════════════════════════════════════════════
   FOOTER — Cinematic Closing Experience
══════════════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

/* Atmospheric background glows */
.footer-atm {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.footer-atm::before {
  content: '';
  position: absolute;
  bottom: 22%;
  left: 50%;
  transform: translateX(-50%);
  width: 70vw;
  height: 55vh;
  background: radial-gradient(ellipse at center bottom,
    rgba(51,156,138,0.06) 0%, transparent 68%);
}
.footer-atm::after {
  content: '';
  position: absolute;
  top: 18%;
  right: 0;
  width: 35vw;
  height: 40vh;
  background: radial-gradient(ellipse at right center,
    rgba(200,213,210,0.022) 0%, transparent 65%);
}

/* Flex shell */
.footer-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 7vh var(--pad-x) 0;
  position: relative;
  z-index: 1;
}

/* ── Top: logo + large closing statement ─────────── */
.footer-top {
  margin-bottom: clamp(2rem, 3.5vh, 3.5rem);
}
.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  margin-bottom: 2rem;
  opacity: 0.68;
  display: block;
}
.footer-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2.4vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--off-white);
  max-width: 600px;
}

/* ── Info band ───────────────────────────────────── */
.footer-band {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(1.75rem, 3vh, 2.75rem) 0;
  border-top: 1px solid var(--silver-line);
  border-bottom: 1px solid var(--silver-line);
  align-items: start;
}
.footer-left {
  display: flex;
  flex-direction: column;
}
.footer-address {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.80rem;
  color: var(--text-2);
  line-height: 1.72;
  font-style: normal;
  font-weight: 400;
  margin-bottom: 0.75rem;
}
.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.80rem;
  font-weight: 500;
  color: var(--teal);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-contact-link:hover { opacity: 0.75; }
.footer-contact-link svg { flex-shrink: 0; opacity: 0.85; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: color 0.22s ease;
  border-radius: 3px;
  outline-offset: 4px;
}
.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: var(--teal);
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}
.footer-col-title {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1rem;
}
.footer-col ul  { display: flex; flex-direction: column; gap: 0.2rem; }
.footer-col a   { font-family: 'Inter', system-ui, sans-serif; font-size: 0.82rem; font-weight: 400; color: var(--text-2); transition: color 0.22s ease; display: block; line-height: 1.4; }
.footer-col a:hover { color: var(--teal); }

/* ── Decorative background watermark — covers entire footer ──────── */
.footer-wm-stage {
  position: absolute;
  inset: 0;                    /* covers 100% of footer, same area as content */
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;         /* vertical center — text sits behind content */
  justify-content: center;
  perspective: 1100px;
  perspective-origin: 50% 60%;
}

.footer-wm {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(7rem, 22vw, 20rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(200,213,210,0.034);
  white-space: nowrap;
  /* 3D cinematic tilt — subtle receding plane, slight diagonal */
  transform: rotateX(16deg) rotateZ(-1.5deg) translateY(var(--wm-parallax, 0px));
  transform-origin: center center;
  will-change: transform;
  transition: -webkit-text-stroke-color 1.2s ease;
  user-select: none;
}

.footer:is(:hover, :focus-within) .footer-wm {
  -webkit-text-stroke-color: rgba(51,156,138,0.06);
}

/* ── Bottom bar ──────────────────────────────────── */
.footer-credits {
  padding: 0.75rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.footer-credits-text {
  font-size: 0.68rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
  line-height: 1.6;
  opacity: 0.65;
}
.footer-credits-text a {
  color: var(--teal);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.footer-credits-text a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0 2.25rem;
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.02em;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

/* ── Footer responsive ───────────────────────────── */
@media (max-width: 840px) {
  .footer-band    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-tagline { font-size: clamp(1.8rem, 7vw, 3rem); }
  .footer-wm      { font-size: clamp(5rem, 18vw, 10rem); }
}
@media (max-width: 480px) {
  .footer-cols    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; }
  .footer-wm      { font-size: clamp(3.5rem, 15vw, 6rem); }
  .footer-social  { gap: 0.875rem; }
}

/* ── Cinematic responsive overrides ───────────────────────────── */
@media (max-width: 840px) {
  .hero-inner { max-width: 85vw; }
  .s-products, .s-contact { min-height: auto; }
  .s-contact { align-items: flex-start; }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .product-card { padding: 1.8rem var(--pad-x); }
  .future-slot { padding: 1.5rem var(--pad-x); }
}

@media (max-width: 600px) {
  .hero-inner { max-width: 100%; }
  .s-hero { padding: 10vh 0 6vh; }
  .about-headline, .products-headline, .vision-headline, .contact-headline { letter-spacing: -0.03em; }
  .future-row { grid-template-columns: 1fr; border-radius: 0 0 12px 12px; }
  .future-slot { padding: 2rem var(--pad-x); }
}

/* ═══════════════════════════════════════════════════════════════
   AMBIENT MUSIC PLAYER
═══════════════════════════════════════════════════════════════ */

/* Enable Sound nudge — slides in from right when autoplay is blocked */
.player-sound-btn {
  position: fixed;
  right: 48px;                /* 42px toggle + 6px gap */
  top: 50%;
  transform: translateY(-50%) translateX(18px);
  z-index: 509;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: 34px;
  padding: 0 0.9rem 0 0.75rem;
  background: rgba(13,17,20,0.93);
  border: 1px solid rgba(51,156,138,0.24);
  border-radius: 17px;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  color: rgba(200,213,210,0.7);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease,
              color 0.2s ease, border-color 0.2s ease;
}
.player-sound-btn.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}
.player-sound-btn:hover {
  color: var(--off-white);
  border-color: rgba(51,156,138,0.44);
}

/* Toggle pill — always visible on right viewport edge */
.player-toggle {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 510;
  width: 42px;
  height: 60px;
  padding: 0;
  border: 1px solid rgba(51,156,138,0.20);
  border-right: none;
  border-radius: 10px 0 0 10px;
  background: rgba(13,17,20,0.93);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: -3px 0 18px rgba(0,0,0,0.35);
}
.player-toggle:hover {
  background: rgba(18,23,27,0.97);
  border-color: rgba(51,156,138,0.38);
}
.player-toggle[data-playing="true"] {
  border-color: rgba(51,156,138,0.44);
  box-shadow: -3px 0 20px rgba(0,0,0,0.4), inset 2px 0 0 rgba(51,156,138,0.50);
}

/* EQ bars */
.player-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}
.eq-b {
  display: block;
  width: 3px;
  height: 4px;
  border-radius: 1.5px;
  background: rgba(200,213,210,0.40);
  transition: background 0.3s, opacity 0.3s;
}
.player-toggle[data-playing="true"] .eq-b {
  background: var(--teal);
  opacity: 0.9;
}
.player-toggle[data-playing="true"] .eq-b:nth-child(1) { animation: eqPulse1 0.82s ease-in-out infinite; }
.player-toggle[data-playing="true"] .eq-b:nth-child(2) { animation: eqPulse2 0.71s ease-in-out infinite 0.12s; }
.player-toggle[data-playing="true"] .eq-b:nth-child(3) { animation: eqPulse3 0.90s ease-in-out infinite 0.06s; }
@keyframes eqPulse1 { 0%,100%{height:4px}  50%{height:14px} }
@keyframes eqPulse2 { 0%,100%{height:11px} 50%{height:4px}  }
@keyframes eqPulse3 { 0%,100%{height:6px}  50%{height:13px} }

/* Tiny "MUSIC" label under bars */
.player-toggle-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(200,213,210,0.32);
  line-height: 1;
  user-select: none;
}

/* Panel */
.player-panel {
  position: fixed;
  right: 42px;
  top: 50%;
  transform: translateY(-50%) translateX(16px);
  z-index: 509;
  width: 268px;
  max-height: min(90vh, 500px);
  overflow-y: auto;
  overflow-x: hidden;
  background: rgba(10,14,16,0.97);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid rgba(51,156,138,0.15);
  border-right: none;
  border-radius: 14px 0 0 14px;
  padding: 1.2rem 1.25rem;
  box-shadow: -10px 0 50px rgba(0,0,0,0.55), -2px 0 16px rgba(51,156,138,0.04);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(51,156,138,0.18) transparent;
}
.player-panel::-webkit-scrollbar { width: 3px; }
.player-panel::-webkit-scrollbar-thumb { background: rgba(51,156,138,0.22); border-radius: 2px; }

/* Panel — open state */
#audioPlayer.open .player-panel {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  pointer-events: all;
}
/* Teal glow when playing + open */
#audioPlayer[data-playing="true"].open .player-panel {
  border-color: rgba(51,156,138,0.24);
  box-shadow: -10px 0 50px rgba(0,0,0,0.55), -3px 0 28px rgba(51,156,138,0.09);
}

/* Panel header */
.player-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 0.9rem;
  padding-right: 0.25rem;
}
.player-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--text-2);
}
.player-track-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--off-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: color 0.3s ease;
}

/* Visualizer canvas */
.player-viz {
  display: block;
  width: 100%;
  height: 34px;
  border-radius: 4px;
  background: rgba(255,255,255,0.018);
  margin-bottom: 0.8rem;
}

/* Progress */
.player-progress { margin-bottom: 0.9rem; }

.player-progress-track {
  position: relative;
  height: 3px;
  background: rgba(200,213,210,0.09);
  border-radius: 2px;
  margin-bottom: 5px;
  cursor: pointer;
}
.player-progress-fill {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--deep-teal), var(--teal));
  border-radius: 2px;
  pointer-events: none;
  transition: width 0.22s linear;
}
/* Transparent range input overlays the track for seeking */
.player-seek {
  position: absolute;
  inset: -7px 0;
  width: 100%;
  height: calc(100% + 14px);
  opacity: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.player-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.60rem;
  color: var(--text-3);
  font-family: 'Space Grotesk', sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

/* Transport controls */
.player-ctrls {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0.95rem;
}

.p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  background: rgba(255,255,255,0.04);
  border-radius: 7px;
  color: var(--silver);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease;
}
.p-btn:hover { background: rgba(51,156,138,0.12); color: var(--teal); }
.p-btn:active { transform: scale(0.94); }
.p-btn svg { width: 14px; height: 14px; display: block; }

/* Play button — circular, teal accent */
.p-btn-play {
  width: 42px;
  height: 42px;
  background: rgba(51,156,138,0.12);
  border: 1px solid rgba(51,156,138,0.24);
  border-radius: 50%;
  color: var(--teal);
}
.p-btn-play:hover { background: rgba(51,156,138,0.22); border-color: rgba(51,156,138,0.44); }
.p-btn-play svg { width: 15px; height: 15px; }

/* Play / Pause icon swap */
.p-btn-play .icon-pause { display: none; }
.p-btn-play[data-playing="true"] .icon-play  { display: none; }
.p-btn-play[data-playing="true"] .icon-pause { display: block; }

/* Mute icon swap */
.p-btn .icon-mute { display: none; }
.p-btn[data-muted="true"] .icon-vol  { display: none; }
.p-btn[data-muted="true"] .icon-mute { display: block; }

/* Volume group */
.p-vol-group {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}
.p-vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 58px;
  height: 3px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  background-color: rgba(200,213,210,0.12);
  background-image: linear-gradient(var(--teal), var(--teal));
  background-size: 22% 100%;
  background-repeat: no-repeat;
}
.p-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(51,156,138,0.18);
  transition: transform 0.14s ease;
}
.p-vol-slider::-webkit-slider-thumb:hover { transform: scale(1.22); }
.p-vol-slider::-moz-range-thumb {
  width: 12px; height: 12px;
  border: none; border-radius: 50%;
  background: var(--teal); cursor: pointer;
}
.p-vol-slider::-moz-range-track {
  height: 3px; border-radius: 2px;
  background: rgba(200,213,210,0.12);
}

/* Track list */
.player-list {
  list-style: none;
  margin: 0; padding: 0;
  border-top: 1px solid rgba(200,213,210,0.06);
  padding-top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.plist-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  background: none;
  border: none;
  padding: 6px 7px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--text-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease;
}
.plist-btn:hover { background: rgba(51,156,138,0.08); color: var(--silver); }
.plist-btn.active { color: var(--teal); background: rgba(51,156,138,0.08); }
.plist-num {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-3);
  flex-shrink: 0;
  width: 18px;
  font-variant-numeric: tabular-nums;
}
.plist-btn.active .plist-num { color: var(--teal); }
.plist-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.plist-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.plist-btn.active .plist-dot { opacity: 1; }
.plist-btn.unavailable { opacity: 0.38; cursor: not-allowed; }
.plist-btn.unavailable .plist-title::after {
  content: ' ·';
  color: var(--text-3);
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .player-toggle { height: 54px; width: 38px; }
  .player-panel {
    right: 38px;
    width: calc(100vw - 54px);
    max-width: 278px;
    max-height: min(82vh, 460px);
    padding: 1rem 1.1rem;
    border-radius: 12px 0 0 12px;
  }
  .p-vol-slider { width: 48px; }
}

/* Reduced motion — disable all player animations */
@media (prefers-reduced-motion: reduce) {
  .eq-b { animation: none !important; }
  .player-toggle,
  .player-panel { transition: opacity 0.01ms !important; }
  .player-progress-fill { transition: none; }
}

/* ── Reduced motion (existing site) ────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  #glCanvas { display: none; }
  .reveal-line .reveal-text,
  .reveal-fade {
    transition: none;
  }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ══════════════════════════════════════════════════════════════════
   GRADIENT EDGE REVEAL — Animated Traveling Border Light
   Conic-gradient hot-spot rotates around the perimeter via @property.
   CSS mask punch-out exposes only the 2px border strip.
   BUTTONS: hover-only.  CONTAINERS + CARDS: always animate.
══════════════════════════════════════════════════════════════════ */

@property --ba {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Position context */
.contact-form,
.vision-principles,
.future-slot { position: relative; }

/* ── Shared: punch-out mask — all animated elements ── */
.hero-capsule::after,
.btn-capsule::after,
.product-link::before,
.product-card::after,
.contact-form::after,
.vision-principles::after,
.future-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(
    from var(--ba),
    rgba(51,156,138,0.00)   0deg,
    rgba(200,213,210,0.95)  40deg,
    rgba(51,156,138,1.00)   65deg,
    rgba(200,213,210,0.85)  90deg,
    rgba(51,156,138,0.00)  130deg,
    rgba(51,156,138,0.00)  360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}

/* ── BUTTONS — hover-only: animation starts when hovered ── */
.hero-capsule:hover::after,
.btn-capsule:hover::after {
  opacity: 1;
  animation: borderBeam 2s linear infinite;
}
.product-link:hover::before {
  opacity: 1;
  animation: borderBeam 2.5s linear infinite;
}

/* ── CONTAINERS — always animate at subtle idle opacity ── */
.product-card::after,
.contact-form::after,
.vision-principles::after {
  opacity: 0.4;
  animation: borderBeam 7s linear infinite;
}
.product-card:hover::after,
.contact-form:hover::after,
.vision-principles:hover::after { opacity: 1; }

/* ── THREE FUTURE CARDS — independent auto-animation ── */
.future-slot::after {
  opacity: 0.4;
  animation: borderBeam 7s linear infinite;
}
.future-slot:hover::after { opacity: 1; }

/* Stagger so cards don't pulse in sync */
.future-slot:nth-child(1)::after { animation-delay:    0s; }
.future-slot:nth-child(2)::after { animation-delay: -2.33s; }
.future-slot:nth-child(3)::after { animation-delay: -4.67s; }

@keyframes borderBeam {
  to { --ba: 360deg; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-capsule::after,
  .btn-capsule::after,
  .product-link::before,
  .product-card::after,
  .contact-form::after,
  .vision-principles::after,
  .future-slot::after {
    opacity: 0 !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVENESS
   Tested widths: 320px · 375px · 390px · 430px · 768px · 1024px · 1440px
   Zoom levels : 75% · 80% · 100% · 110% · 125%
═══════════════════════════════════════════════════════════════════ */

/* ── iOS Safari: inputs < 16px trigger viewport zoom on focus ────── */
@media (max-width: 768px) {
  .form-field input,
  .form-field textarea { font-size: 1rem; }
}

/* ── 1024px — small laptop / tablet landscape ───────────────────── */
@media (max-width: 1024px) {
  /* Widen the hero text column slightly so it reads better on mid-range screens */
  .hero-inner { max-width: 70vw; }
}

/* ── 840px — tablet / large mobile (extends the existing 840px rule) */
@media (max-width: 840px) {
  /* Hero: remove 100svh lock so height is content-driven on mobile.
     Without this the hero always fills the full screen, leaving a huge
     blank gap before the About section on short-content mobile views. */
  .s-hero { min-height: 0; padding: 30vh 0 3rem; }

  /* Vision: 16vh×2 at 768px = 246px of vertical whitespace — halve it */
  .s-vision { padding: 12vh 0; }
  .vision-sub { margin-bottom: 4rem; }
}

/* ── 768px — tablet portrait ─────────────────────────────────────── */
@media (max-width: 768px) {
  /* About: section is already min-height:auto at ≤840px; shrink padding */
  .s-about { padding: 10vh 0; }

  /* Vision */
  .s-vision { padding: 10vh 0; }
  .vision-sub { margin-bottom: 3rem; }
  .principle { padding: 2rem 1.75rem; }

  /* Contact */
  .s-contact { padding: 8vh 0; }
  .contact-sub { margin-bottom: 2rem; }
}

/* ── 600px — mobile landscape / small tablet ─────────────────────── */
@media (max-width: 600px) {
  /* Hero: the existing 10vh rule can fall below nav-h on short screens.
     max() guarantees we always clear the fixed navbar + breathing room. */
  .s-hero { padding: 30vh 0 2.5rem; }

  /* Products: tighter padding saves vertical space on phone */
  .products-headline { margin-bottom: 2rem; }
  .product-card { padding: 1.5rem; gap: 1.25rem; }
  .product-desc { max-width: 100%; }
  .future-slot { padding: 1.5rem; }
}

/* ── 480px — typical mobile portrait ────────────────────────────── */
@media (max-width: 480px) {
  /* Hero */
  .s-hero { padding: 30vh 0 2rem; }
  .hero-headline { margin-bottom: 1.25rem; }
  .hero-sub { margin-bottom: 2rem; }

  /* About */
  .s-about { padding: 8vh 0; }
  .about-eyebrow { margin-bottom: 2rem; }

  /* Bridge */
  .s-bridge { padding: 6vh 1.25rem 4vh; }

  /* Vision */
  .s-vision { padding: 7vh 0; }
  .vision-sub { margin-bottom: 2rem; }
  .vision-headline { margin-top: 1rem; margin-bottom: 1.5rem; }
  .principle { padding: 1.5rem; gap: 1rem; }

  /* Contact */
  .s-contact { padding: 6vh 0; }
  .contact-sub { margin-bottom: 1.5rem; }
  .contact-form { padding: 1.25rem; gap: 0.75rem; }
  .contact-headline { margin-bottom: 1rem; }

  /* Footer */
  .footer-inner { padding-top: 5vh; }
  .footer-tagline { line-height: 1.25; }
}

/* ── 375px — iPhone SE / base iPhone ─────────────────────────────── */
@media (max-width: 375px) {
  .s-hero    { padding: 30vh 0 2rem; }
  .s-about   { padding: 6vh 0; }
  .s-vision  { padding: 5vh 0; }
  .s-contact { padding: 5vh 0; }

  .what-panel   { margin-bottom: 2.5rem; }
  .product-card { padding: 1.25rem; }
  .future-slot  { padding: 1.25rem; }
  .principle    { padding: 1.25rem; }
  .vision-sub   { font-size: 0.82rem; }
  .contact-form { padding: 1rem; }
}

/* ── Touch targets: ensure tappable elements meet 44px minimum ────── */
@media (max-width: 768px) and (hover: none) {
  .nf-link        { padding: 1rem 0; }
  .footer-social-link { padding: 0.5rem; }
  .btn            { padding: 0.95rem 1.8rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   COOKIE CONSENT
═══════════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9900;
  padding: 1.1rem var(--pad-x);
  background: rgba(8, 12, 14, 0.90);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(51,156,138,0.22);
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  pointer-events: all;
}
.cookie-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 200px; }
.cookie-banner-text p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}
.cookie-policy-link {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* Shared button base */
.cookie-btn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  white-space: nowrap;
}
.cookie-btn:hover { opacity: 0.82; transform: translateY(-1px); }
.cookie-btn--accept { background: var(--teal); color: #fff; }
.cookie-btn--reject {
  background: transparent;
  color: var(--off-white);
  border: 1px solid var(--silver-line);
}
.cookie-btn--settings {
  background: transparent;
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0.55rem 0.6rem;
}

/* Modal overlay */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9950;
  background: rgba(6,9,11,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s;
}
.cookie-modal.is-visible { opacity: 1; pointer-events: all; }

.cookie-modal-box {
  background: var(--bg-2);
  border: 1px solid var(--silver-line);
  border-radius: 20px;
  width: 100%;
  max-width: 460px;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
}
.cookie-modal.is-visible .cookie-modal-box { transform: translateY(0); }

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem 1rem;
  border-bottom: 1px solid var(--silver-line);
}
.cookie-modal-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--off-white);
  margin: 0;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--text-2);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem;
  transition: color 0.2s;
}
.cookie-modal-close:hover { color: var(--off-white); }

.cookie-modal-body {
  padding: 1.1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-category-info { display: flex; flex-direction: column; gap: 0.2rem; }
.cookie-category-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--off-white);
}
.cookie-category-desc {
  font-size: 0.73rem;
  color: var(--text-3);
  line-height: 1.5;
}

/* Toggle switch */
.cookie-toggle { position: relative; flex-shrink: 0; cursor: pointer; }
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle-track {
  display: block;
  width: 42px; height: 23px;
  background: var(--graphite);
  border-radius: 100px;
  border: 1px solid var(--silver-line);
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 15px; height: 15px;
  background: var(--text-3);
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.cookie-toggle input:checked + .cookie-toggle-track {
  background: var(--teal);
  border-color: var(--teal);
}
.cookie-toggle input:checked + .cookie-toggle-track::after {
  transform: translateX(19px);
  background: #fff;
}
.cookie-toggle--disabled { cursor: not-allowed; opacity: 0.45; }

.cookie-modal-footer {
  display: flex;
  gap: 0.6rem;
  padding: 1rem 1.5rem 1.4rem;
  border-top: 1px solid var(--silver-line);
  flex-wrap: wrap;
}

/* Footer cookie pref link */
.cookie-pref-link {
  font-size: 0.78rem;
  color: var(--text-3);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: color 0.2s;
}
.cookie-pref-link:hover { color: var(--teal); }

@media (max-width: 600px) {
  .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 0.85rem; }
  .cookie-banner-actions { width: 100%; }
  .cookie-btn--accept,
  .cookie-btn--reject { flex: 1; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════════
   About / Team Page
═══════════════════════════════════════════════════════════════════ */

/* Meet Our Team CTA in about section */
.about-team-cta { margin-top: 0; }
.about-team-btn { width: auto; display: inline-flex; }

/* Atmospheric background — approximates the bgCanvas glow */
body.page-about::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 72% 55% at 64% 46%, rgba(51,156,138,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 44% 38% at 18% 74%, rgba(51,156,138,0.04) 0%, transparent 58%);
}

.s-page-hero {
  padding: calc(var(--nav-h) + 2.5rem) var(--pad-x) clamp(2rem, 4vh, 3rem);
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.page-eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
}
.page-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--off-white);
  margin-bottom: 1.5rem;
}
.page-hero-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.85rem, 1.5vw, 0.95rem);
  line-height: 1.7;
  color: var(--silver);
  max-width: 520px;
  opacity: 0.8;
}

/* Team grid */
.s-team {
  padding: 0 var(--pad-x) clamp(5rem, 10vh, 8rem);
}
.team-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
}
.team-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: start;
  max-width: calc(50% - 0.875rem);
}
@media (max-width: 680px) {
  .team-card:last-child:nth-child(odd) {
    grid-column: auto;
    justify-self: auto;
    max-width: none;
  }
}
.team-card {
  background: var(--bg-2);
  border: 1px solid var(--silver-line);
  border-radius: 18px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s;
}
.team-card:hover {
  border-color: var(--teal-border);
}
.team-avatar {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.team-avatar-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(51,156,138,0.1);
  border: 1px solid rgba(51,156,138,0.25);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.06em;
}
.team-name {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  color: var(--off-white);
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.team-role {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.team-bio {
  font-size: 0.925rem;
  line-height: 1.7;
  color: var(--silver);
  opacity: 0.8;
  flex: 1;
}

/* Back to home CTA */
.s-back-cta {
  padding: 0 var(--pad-x) clamp(4rem, 8vh, 6rem);
}
.back-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.back-home-link {
  width: auto;
  text-decoration: none;
}

@media (max-width: 680px) {
  .team-grid { grid-template-columns: 1fr; }
  .s-page-hero { padding-top: calc(var(--nav-h) + 3.5rem); }
}

