/* =============================================================
   INTRO SCREEN
   ============================================================= */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  overflow: hidden;
  transition: opacity 0.8s ease;
}
#intro-screen.fading { opacity: 0; pointer-events: none; }

#spiral-canvas {
  position: absolute;
  inset: 0;
  display: block;
}

#intro-enter {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 10;
  user-select: none;
}
#intro-enter.visible { opacity: 1; }
.intro-reg {
  font-size: 0.45em;
  font-weight: 400;
  vertical-align: super;
  letter-spacing: 0;
  opacity: 0.7;
}

/* =============================================================
   TOKENS
   ============================================================= */
:root {
  --bg: #000000;
  --bg2: #0d0d0d;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.45);
  --text-dim: rgba(255,255,255,0.25);
  --border: rgba(255,255,255,0.10);
  --border-hover: rgba(255,255,255,0.25);
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 60px;
}

/* =============================================================
   RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  overflow-x: clip;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img, svg { display: block; }

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 1; }

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.nav-links a:hover { color: rgba(255,255,255,0.9); }

.nav-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 7px 18px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-cta:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero background image */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.6;
  z-index: 0;
}

/* Hero wordmark — centered, small, Apple-style */
.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-reg {
  font-size: 0.45em;
  font-weight: 400;
  vertical-align: super;
  letter-spacing: 0;
  opacity: 0.7;
}

.hero-wordmark {
  font-family: -apple-system, 'SF Pro Display', 'Helvetica Neue', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.88);
  text-transform: uppercase;
  user-select: none;
  opacity: 0;
}
.hero-wordmark .reg {
  font-size: 0.45em;
  vertical-align: super;
  font-weight: 400;
  opacity: 0.7;
}

/* =============================================================
   PRODUCTS SECTION
   ============================================================= */
.products {
  background: var(--bg);
  padding: 80px 0 100px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.products-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.products-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}

.products-heading {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 56px;
}

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
}

.product-card {
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  min-height: 380px;
  transition: background 0.25s;
  position: relative;
}
.product-card:hover {
  background: #0f0f0f;
}

/* Dotted border on featured card */
.product-card--featured {
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 2px;
  margin: -1px;
}

.product-card-top {
  flex: 0 0 auto;
}

.product-card-title {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.product-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  max-width: 100%;
}

/* Image for Scala card */
.product-card-image {
  flex: 0 0 240px;
  height: 240px;
  margin-top: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-image img,
.product-card-image video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  will-change: transform;
  mix-blend-mode: screen;
}

/* API card mockup */
.product-card-mockup {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 28px;
  padding: 0 0 20px;
}

.api-mockup {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 14px;
  margin-top: 24px;
  flex: 1;
}

.mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-dots {
  display: flex;
  gap: 5px;
}
.mockup-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: block;
}

.mockup-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mockup-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.mockup-line.w-full  { width: 100%; }
.mockup-line.w-3\/4  { width: 75%; }
.mockup-line.w-2\/3  { width: 66%; }
.mockup-line.w-1\/2  { width: 50%; }
.mockup-line.w-1\/3  { width: 33%; }

/* Docs mockup */
.docs-mockup {
  margin-top: 24px;
  flex: 1;
}
.docs-mockup-inner {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 18px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.docs-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.08);
}
.docs-line.title-line { height: 10px; width: 60%; background: rgba(255,255,255,0.14); margin-bottom: 4px; }
.docs-line.short  { width: 35%; }
.docs-line.medium { width: 55%; }
.docs-line.long   { width: 85%; }

/* CTA link at bottom of card */
.product-card-cta {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 8px 18px;
  margin-top: 24px;
  align-self: flex-start;
  transition: border-color 0.2s, color 0.2s;
}
.product-card-cta:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* =============================================================
   FULL WIDTH IMAGE
   ============================================================= */
.fullwidth-img-section {
  width: 100%;
  line-height: 0;
}
.fullwidth-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* =============================================================
   MANIFESTO
   ============================================================= */
.manifesto {
  padding: 200px 0;
  background: var(--bg);
  overflow: hidden;
}
.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.manifesto-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 56px;
}
.manifesto-text {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
}
.m-word {
  display: inline-block;
  opacity: 0.12;
  transition: opacity 0.4s ease;
  margin-right: 0.22em;
}
.m-word.is-lit { opacity: 1; }

/* =============================================================
   STATS
   ============================================================= */
.stats {
  padding: 140px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--bg);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat-item {
  padding: 0 40px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.stat-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.stat-number {
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}
.stat-suffix {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-left: 4px;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 10px;
  letter-spacing: 0.04em;
}
.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.08);
}

/* =============================================================
   PROCESS
   ============================================================= */
.process {
  padding: 180px 0;
  background: var(--bg);
}
.process-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 32px;
}
.section-heading {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: #fff;
  margin-bottom: 100px;
}
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 52px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.process-step:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.process-step.is-visible { opacity: 1; transform: translateY(0); }
.step-number {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.step-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.step-desc {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 56ch;
}

/* =============================================================
   QUOTE
   ============================================================= */
.quote-section {
  padding: 180px 0;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.quote-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}
.big-quote {
  font-size: clamp(22px, 3.2vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: rgba(255,255,255,0.9);
  font-style: normal;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}
.big-quote.is-visible { opacity: 1; transform: translateY(0); }
.quote-author {
  display: block;
  margin-top: 40px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25);
  font-style: normal;
  opacity: 0;
  transition: opacity 1s ease 0.3s;
}
.quote-author.is-visible { opacity: 1; }

/* =============================================================
   CTA
   ============================================================= */
.cta-section {
  padding: 200px 0;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}
.cta-heading {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #fff;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.cta-heading.is-visible { opacity: 1; transform: translateY(0); }
.cta-sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.4);
  max-width: 50ch;
  margin: 0 auto 56px;
  opacity: 0;
  transition: opacity 0.9s ease 0.2s;
}
.cta-sub.is-visible { opacity: 1; }
.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.9s ease 0.35s;
}
.cta-btns.is-visible { opacity: 1; }
.cta-btn-primary {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #000;
  background: #fff;
  border-radius: 24px;
  padding: 14px 32px;
  transition: opacity 0.2s;
}
.cta-btn-primary:hover { opacity: 0.85; }
.cta-btn-ghost {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 24px;
  padding: 14px 32px;
  transition: border-color 0.2s, color 0.2s;
}
.cta-btn-ghost:hover { border-color: rgba(255,255,255,0.4); color: #fff; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: var(--bg);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
}
.footer-logo { height: 32px; width: auto; }
.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.6); }

/* =============================================================
   ORBIT / FLOATING PROJECTS
   ============================================================= */
.orbit-section {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 100vh;
  background: var(--bg);
  border-top: 1px solid rgba(255,255,255,0.06);
  overflow: visible;
  align-items: center;
}

/* Left panel */
.orbit-left {
  padding: 0 40px 0 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  z-index: 2;
}
.orbit-section-no {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.orbit-big-number {
  font-size: clamp(100px, 14vw, 180px);
  font-weight: 700;
  line-height: 0.85;
  color: #fff;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.orbit-title {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.orbit-desc {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.4);
  max-width: 28ch;
}

/* Right panel — 3D stage */
.orbit-right {
  position: relative;
  height: 100vh;
  perspective: 1200px;
  overflow: visible;
}
.orbit-stage {
  position: absolute;
  inset: 0;
  overflow: visible;
}

/* Base card — dark anodized metal plate like reference */
.ocard {
  position: absolute;
  border-radius: 22px;
  width: 200px;
  height: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 28px 24px;
  gap: 0;
  backface-visibility: hidden;
  cursor: default;
  overflow: hidden;
  /* Granular dark metal — layered for speckle texture */
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E"),
    linear-gradient(145deg,
      #3c3c3c 0%,
      #252525 20%,
      #1a1a1a 40%,
      #2a2a2a 55%,
      #181818 70%,
      #222222 85%,
      #141414 100%
    );
  /* Beveled edges — lighter top/left, darker bottom/right */
  border-top:    1px solid rgba(255,255,255,0.28);
  border-left:   1px solid rgba(255,255,255,0.14);
  border-right:  1px solid rgba(0,0,0,0.55);
  border-bottom: 1px solid rgba(0,0,0,0.65);
  /* 3D side thickness via layered shadows */
  box-shadow:
    3px 5px 0   rgba(0,0,0,0.75),
    5px 9px 0   rgba(0,0,0,0.60),
    7px 13px 0  rgba(0,0,0,0.45),
    9px 17px 0  rgba(0,0,0,0.25),
    14px 28px 40px rgba(0,0,0,0.90),
    0 2px 8px rgba(0,0,0,0.60);
  transition: filter 0.3s ease, box-shadow 0.3s ease;
}

/* Diagonal sheen sweep */
.ocard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    130deg,
    rgba(255,255,255,0.00)  0%,
    rgba(255,255,255,0.00) 30%,
    rgba(255,255,255,0.09) 45%,
    rgba(255,255,255,0.16) 52%,
    rgba(255,255,255,0.05) 62%,
    rgba(255,255,255,0.00) 75%
  );
  pointer-events: none;
  border-radius: inherit;
}

/* Top-edge specular highlight */
.ocard::after {
  content: '';
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.6) 30%,
    rgba(255,255,255,0.9) 50%,
    rgba(255,255,255,0.55) 70%,
    transparent
  );
}

.ocard:hover {
  filter: brightness(1.2);
  box-shadow:
    3px 5px 0   rgba(0,0,0,0.75),
    5px 9px 0   rgba(0,0,0,0.60),
    7px 13px 0  rgba(0,0,0,0.45),
    9px 17px 0  rgba(0,0,0,0.25),
    18px 34px 55px rgba(0,0,0,0.95),
    0 0 30px rgba(255,255,255,0.04);
}

/* Engraved text on metal */
.ocard-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(0,0,0,0.65);
  /* Engraved: dark fill + subtle light edge below = pressed into metal */
  text-shadow:
    0 1px 0 rgba(255,255,255,0.12),
    0 -1px 0 rgba(0,0,0,0.95),
    1px 0 0 rgba(255,255,255,0.05);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ocard-desc {
  font-size: 10px;
  line-height: 1.65;
  color: rgba(0,0,0,0.55);
  text-shadow:
    0 1px 0 rgba(255,255,255,0.07),
    0 -1px 0 rgba(0,0,0,0.8);
  font-weight: 500;
}

/* Individual positions + rotations — original scattered layout */
.ocard--1 {
  top: 5%;  left: 22%;
  transform: rotateZ(-18deg) rotateX(12deg) rotateY(-10deg);
  animation: float-a 5.5s ease-in-out infinite;
  z-index: 4;
}
.ocard--2 {
  top: 30%; left: 10%;
  transform: rotateZ(10deg) rotateX(-8deg) rotateY(6deg);
  animation: float-b 6.2s ease-in-out infinite 0.8s;
  z-index: 6;
}
.ocard--3 {
  top: 55%; left: 24%;
  transform: rotateZ(-22deg) rotateX(6deg) rotateY(12deg);
  animation: float-c 7s ease-in-out infinite 1.4s;
  z-index: 3;
}
.ocard--4 {
  top: 15%; left: 50%;
  transform: rotateZ(14deg) rotateX(-10deg) rotateY(-8deg);
  animation: float-a 5.8s ease-in-out infinite 2s;
  z-index: 4;
}
.ocard--5 {
  top: 48%; left: 50%;
  transform: rotateZ(-8deg) rotateX(14deg) rotateY(5deg) scale(0.88);
  animation: float-b 8s ease-in-out infinite 0.3s;
  z-index: 2;
}

/* Float keyframes — varied motion paths */
@keyframes float-a {
  0%, 100% { translate: 0px 0px; }
  25%       { translate: -8px -18px; }
  50%       { translate: 6px -28px; }
  75%       { translate: 10px -12px; }
}
@keyframes float-b {
  0%, 100% { translate: 0px 0px; }
  30%       { translate: 12px -22px; }
  60%       { translate: -6px -32px; }
  80%       { translate: -10px -10px; }
}
@keyframes float-c {
  0%, 100% { translate: 0px 0px; }
  20%       { translate: -12px -14px; }
  55%       { translate: 8px -26px; }
  80%       { translate: 4px -8px; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 960px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    min-height: 260px;
  }
  .hero-bottom {
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-bottom-copy {
    flex: 1 1 100%;
    order: 1;
  }
  .hero-bottom-arrow { order: 0; }
  .hero-bottom-btns { order: 2; }
}

/* Hamburger button */
/* ── Hamburger ─────────────────────────────────────── */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: fixed;
  right: 16px;
  top: 0;
  height: var(--nav-h, 60px);
  align-items: center;
  z-index: 1200;
  width: 40px;
}
#hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: rgba(255,255,255,0.75);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), opacity 0.2s, width 0.3s, height 0.3s;
  transform-origin: center;
  border-radius: 2px;
}
#hamburger span:nth-child(2) { width: 12px; }
#hamburger.open span { background: #fff; height: 1.5px; }
#hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); width: 20px; }
#hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 20px; }

/* ── Mobile menu panel ─────────────────────────────── */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #060606;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
#mobile-menu.open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}

#mobile-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: calc(var(--nav-h, 60px) + 24px) 28px 40px;
}

/* Nav list */
#mobile-nav-list {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

#mobile-nav-list li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
#mobile-nav-list li:first-child { border-top: 1px solid rgba(255,255,255,0.06); }

#mobile-menu.open #mobile-nav-list li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.08s; }
#mobile-menu.open #mobile-nav-list li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.13s; }
#mobile-menu.open #mobile-nav-list li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.18s; }
#mobile-menu.open #mobile-nav-list li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.23s; }
#mobile-menu.open #mobile-nav-list li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.28s; }
#mobile-menu.open #mobile-nav-list li:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.33s; }

#mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  transition: color 0.2s;
}
#mobile-nav-list a svg {
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.2s, transform 0.2s;
  flex-shrink: 0;
  color: rgba(255,255,255,0.4);
}
#mobile-nav-list a:active,
#mobile-nav-list a:focus { color: #fff; }
#mobile-nav-list a:active svg { opacity: 1; transform: none; }

/* Footer */
#mobile-menu-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.4s, transform 0.3s ease 0.4s;
}
#mobile-menu.open #mobile-menu-footer {
  opacity: 1;
  transform: none;
}
.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.mobile-menu-cta:active {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.mobile-menu-tagline {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.18);
}

/* Comet card 3D effect */
.comet-wrapper { display: contents; }
#section-colossus .products {
  overflow: visible !important;
}
#section-colossus .products-grid {
  display: flex !important;
  flex-direction: row;
  grid-template-columns: unset;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  gap: 24px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 80px 80px 80px 42%;
  scrollbar-width: none;
  width: 100%;
  max-width: unset;
  margin: 0;
  perspective: 800px;
  box-sizing: border-box;
}
#section-colossus .products-grid::-webkit-scrollbar { display: none; }
#section-colossus .product-card {
  flex: 0 0 calc((100vw - 80px - 72px) / 4);
  height: 520px;
  min-height: unset;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: rgba(0,0,0,0.01) 0px 520px 146px 0px,
              rgba(0,0,0,0.04) 0px 333px 133px 0px,
              rgba(0,0,0,0.26) 0px 83px 83px 0px,
              rgba(0,0,0,0.29) 0px 21px 46px 0px;
  padding: 28px 24px;
  scroll-snap-align: start;
  align-self: center;
  overflow: hidden;
}
#section-colossus .product-card--featured {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
}
.comet-wrapper {
  perspective: 800px;
  transform-style: preserve-3d;
}
.comet-glare {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  border-radius: 16px;
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.2s;
}

/* Colossus slider on mobile */
@media (max-width: 860px) {
  #section-colossus .products {
    align-items: flex-start;
    padding-top: 80px;
  }
  #section-colossus .products-grid {
    display: flex;
    flex-direction: row;
    grid-template-columns: unset;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 24px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 40px calc(50vw - 150px);
    scrollbar-width: none;
  }
  #section-colossus .products-grid::-webkit-scrollbar { display: none; }
  #section-colossus .product-card {
    flex: 0 0 300px;
    min-height: 420px;
    scroll-snap-align: center;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
  }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  #hamburger { display: flex; }
  .nav { padding: 0 20px; }
  .hero-bg-text {
    font-size: clamp(100px, 28vw, 180px);
    left: -0.01em;
    bottom: 22%;
  }
  .hero-bottom {
    padding: 20px;
  }
  .products-inner { padding: 0 20px; }
  .product-card-icon .product-icon-letter { font-size: 100px; }
}

@media (max-width: 540px) {
  .hero-bottom-btns {
    flex-direction: column;
    width: 100%;
  }
  .btn-outline, .btn-ghost {
    text-align: center;
    justify-content: center;
  }
}

/* =============================================================
   AUDIO BUTTON
   ============================================================= */
#audio-btn {
  position: fixed;
  bottom: 24px;
  right: 28px;
  z-index: 9999;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
#audio-btn:hover {
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
}
#audio-btn svg {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.7);
  display: block;
}
#audio-btn:hover svg { fill: #fff; }
