/* ══════════════════════════════════════════════════════════════════
   SYNAPSE.AI — GLOBAL STYLESHEET
   ══════════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

:root {
  --bg: #050505;
  --fg: #f4f4f4;
  --accent: #c8ff00;
  --accent-dim: #a0cc00;
  --muted: #666;
  --muted-light: #999;
  --border: #1c1c1c;
  --border-mid: #2a2a2a;
  --card-bg: #0d0d0d;
  --font: 'Inter', 'Helvetica Neue', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: none;
}

/* ─── SCROLLBAR ─────────────────────────────────────────────────── */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 2px;
}


/* ══════════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ══════════════════════════════════════════════════════════════════ */

/* Kill the default cursor everywhere, without exception */
html,
body,
* {
  cursor: none !important;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 7px;
  height: 7px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  will-change: left, top;
  /* NO transition on top/left — dot must snap instantly */
  transition: width 0.15s ease, height 0.15s ease, background 0.15s ease, opacity 0.2s ease;
}

.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  will-change: left, top;
  /* Outline gets a size transition only — position moved via JS RAF lerp */
  transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out),
    border-color 0.25s ease, opacity 0.2s ease;
}

/* ── Hover state (on interactive elements) ── */
body.cursor-hover .cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
}

body.cursor-hover .cursor-outline {
  width: 54px;
  height: 54px;
  border-color: var(--accent);
}

/* ── Click state ── */
body.cursor-click .cursor-dot {
  width: 5px;
  height: 5px;
}

body.cursor-click .cursor-outline {
  width: 26px;
  height: 26px;
}


/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.8rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  mix-blend-mode: difference;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.nav-logo {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--fg);
  transition: color 0.2s ease;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--fg);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-btn {
  /* ── Anchor reset (element changed from <button> to <a>) ─────── */
  display: inline-flex;
  align-items: center;
  text-decoration: none;

  /* ── Shape & Material ─────────────────────────────────────────── */

  font-family: 'Courier New', 'Courier', monospace; /* terminal precision */
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);

  /* Glassmorphism base */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Precision-milled border */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px; /* full pill */
  padding: 0.65rem 1.5rem;

  /* Smooth transitions for CSS-driven properties */
  transition:
    background    0.3s ease,
    border-color  0.2s ease,
    box-shadow    0.2s ease,
    color         0.15s ease;

  /* Subtle inner highlight — top edge catches light */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 0 rgba(200, 255, 0, 0);  /* glow seed — GSAP animates this */

  position: relative;
  overflow: hidden;
  cursor: none;
}

/* Reflective sheen overlay — crimson/violet on hover via pseudo */
.nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(180, 0, 80, 0)   0%,
    rgba(100, 0, 160, 0)  50%,
    rgba(200, 255, 0, 0)  100%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 0;
}

/* Text sits above sheen */
.nav-btn > * { position: relative; z-index: 1; }

/* Hover sheen fires via CSS (GSAP handles glow + text) */
.nav-btn:hover::before {
  background: linear-gradient(
    135deg,
    rgba(180, 0, 80, 0.18)   0%,
    rgba(100, 0, 160, 0.12)  50%,
    rgba(200, 255, 0, 0.06)  100%
  );
  opacity: 1;
}

/* Active press feedback */
.nav-btn:active {
  transform: scale(0.97);
}



/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */

/* ─── HERO VIDEO LAYER ──────────────────────────────────────── */

/* Section itself: the stacking context root */
#hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* Layer 0 — background video */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.4;
}

/* Layer 1 — dark radial vignette over video */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(5, 5, 5, 0.7) 100%);
  pointer-events: none;
}

/* Layer 2 — Spline viewer: must be transparent so video shows through */
.hero-spline-viewer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: transparent !important;
}

/* Force Spline's internal canvas to be transparent */
.hero-spline-viewer::part(canvas) {
  background: transparent !important;
}

.hero-label {
  position: absolute;
  bottom: 3rem;
  left: 5%;
  display: flex;
  gap: 1.2rem;
  z-index: 2;
}

.label-tag {
  font-size: 0.55rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid #252525;
  padding: 0.3rem 0.75rem;
}

/* ─── SCROLL INDICATOR ──────────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  right: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  opacity: 0;
  animation: fadeInEl 1s ease 2s forwards;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--muted-light));
  animation: pulseLine 2.2s ease-in-out infinite;
}

.scroll-text {
  font-size: 0.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}

@keyframes fadeInEl {
  to {
    opacity: 1;
  }
}

@keyframes pulseLine {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.25);
  }
}


/* ══════════════════════════════════════════════════════════════════
   SHARED CONTENT SECTIONS
   ══════════════════════════════════════════════════════════════════ */
#robot,
#tech {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 5vw;
  gap: 4rem;
  border-bottom: 1px solid var(--border);
}

/* ─── SPLINE COLUMN ────────────────────────────────────────── */
.spline-col {
  width: 100%;
  height: 600px;
  position: relative;
  cursor: none;
  /* Centering: ensures the viewer and its content sit dead-centre */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

spline-viewer {
  width: 100%;
  height: 100%;
  display: block;
}

spline-viewer::part(logo) {
  display: none !important;
}

/* Typewriter spans live inside h2 — must be inline */
.typewriter {
  display: inline;
}

/* ─── TEXT COLUMN ───────────────────────────────────────────────── */
.text-col {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.section-tag {
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
}

.section-heading {
  font-size: clamp(3rem, 5.5vw, 6rem);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.section-body {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #999;
  max-width: 420px;
  font-weight: 300;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid #2e2e2e;
  padding-bottom: 0.35rem;
  width: fit-content;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cta-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.cta-link .arrow {
  transition: transform 0.2s ease;
  display: inline-block;
}

.cta-link:hover .arrow {
  transform: translateX(5px);
}


/* ══════════════════════════════════════════════════════════════════
   PARTNERS MARQUEE
   ══════════════════════════════════════════════════════════════════ */
#partners {
  border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  font-size: 0.5rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.marquee-track {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-inner {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-inner span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted-light);
  padding: 0 3rem;
  border-right: 1px solid var(--border-mid);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.marquee-inner span:hover {
  color: var(--fg);
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* ══════════════════════════════════════════════════════════════════
   CAPABILITIES BENTO GRID
   ══════════════════════════════════════════════════════════════════ */
#capabilities {
  padding: 8vw 5%;
  border-bottom: 1px solid var(--border);
}

.capabilities-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

.bento-title {
  font-size: clamp(3rem, 6vw, 7rem);
}

/* ─── Capabilities grid ─ 3×2, 1px gap as border ────────────── */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #222;
  border: 1px solid #222;
}

.bento-card {
  background: var(--card-bg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.3s ease, transform 0.3s var(--ease-out);
  min-height: 260px;
}

.bento-card:hover {
  background: #111;
  transform: scale(1.015);
  z-index: 2;
}

/* .bento-wide removed — all 6 cards are now equal 1×1 cells */

.bento-accent {
  background: var(--accent);
  justify-content: space-between;
}

.bento-accent:hover {
  background: #d4ff10;
}

.bento-tag {
  font-size: 0.55rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.bento-accent .bento-tag {
  color: rgba(0, 0, 0, 0.5);
}

.bento-heading {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--fg);
}

.bento-accent .bento-heading {
  color: #050505;
}

.bento-body {
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted-light);
  font-weight: 300;
  max-width: 380px;
  margin-top: auto;
}

.bento-bg-glyph {
  position: absolute;
  bottom: -0.5rem;
  right: 1.5rem;
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.3s ease;
}

.bento-card:hover .bento-bg-glyph {
  color: rgba(255, 255, 255, 0.055);
}

.bento-btn {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #050505;
  background: #050505;
  color: var(--fg);
  padding: 0.7rem 1.4rem;
  width: fit-content;
  transition: background 0.2s ease, color 0.2s ease;
  margin-top: auto;
}

.bento-btn:hover {
  background: var(--fg);
  color: var(--bg);
}


/* ══════════════════════════════════════════════════════════════════
   MEGA FOOTER
   ══════════════════════════════════════════════════════════════════ */
#footer {
  padding: 6rem 5% 3rem;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.footer-wordmark {
  font-size: clamp(3.5rem, 12vw, 11rem);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 0.9;
  color: var(--fg);
  text-transform: uppercase;
  margin-bottom: 5rem;
  opacity: 0.06;
  user-select: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.footer-col-title {
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--muted-light);
  font-weight: 300;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--fg);
}

/* ─── Newsletter ────────────────────────────────────────────────── */
.footer-newsletter {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.newsletter-label {
  font-size: 0.55rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  border: 1px solid var(--border-mid);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--fg);
  font-family: var(--font);
  font-size: 0.8rem;
  padding: 0.9rem 1.2rem;
  cursor: none;
}

.newsletter-input::placeholder {
  color: var(--muted);
}

.newsletter-btn {
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--fg);
  color: var(--bg);
  border: none;
  padding: 0 1.5rem;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.newsletter-btn:hover {
  background: var(--accent);
}

/* ─── Footer Bottom ──────────────────────────────────────────────── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.6rem;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #4cff72;
  animation: blink 2.5s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}


/* ══════════════════════════════════════════════════════════════════
   INNER PAGES — SHARED COMPONENTS
   ══════════════════════════════════════════════════════════════════ */
.page-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12rem 5% 5rem;
  border-bottom: 1px solid var(--border);
}

/* Capabilities page hero — extreme padding-top as requested */
.cap-page-hero {
  min-height: 100vh;
  padding-top: 15vh;
  justify-content: flex-end;
}

/* ─── Index: Capabilities CTA Teaser ──────────────────────────── */
#capabilities-cta {
  padding: 10vw 5%;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.cap-cta-inner {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cap-cta-heading {
  font-size: clamp(3.5rem, 7vw, 8rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -3px;
}

.cap-cta-body {
  max-width: 480px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted-light);
}

.cap-cta-link {
  align-self: flex-start;
  margin-top: 1rem;
}

/* ─── Capabilities deep-dive strip ───────────────────────────── */
.cap-deepdive {
  border-bottom: 1px solid var(--border);
}


.page-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.page-title {
  font-size: clamp(4rem, 10vw, 10rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--muted-light);
  font-weight: 300;
  max-width: 500px;
  line-height: 1.8;
  margin-top: 2.5rem;
}

/* ─── Content Blocks ─────────────────────────────────────────────── */
.content-block {
  padding: 6rem 5%;
  border-bottom: 1px solid var(--border);
}

.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.content-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.content-number {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  font-variant-numeric: tabular-nums;
}

.content-label {
  font-size: 0.6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.content-heading {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.content-body {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #888;
  font-weight: 300;
}

/* ─── Stat Cards ─────────────────────────────────────────────────── */
.stat-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
  border-color: var(--border-mid);
  background: var(--card-bg);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Team Cards ─────────────────────────────────────────────────── */
.team-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.25s ease;
}

.team-card:hover {
  border-color: var(--border-mid);
}

.team-avatar {
  width: 56px;
  height: 56px;
  background: var(--border-mid);
  border-radius: 50%;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.team-name {
  font-size: 1rem;
  font-weight: 600;
}

.team-role {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
}

.team-bio {
  font-size: 0.8rem;
  line-height: 1.7;
  color: #777;
  font-weight: 300;
  margin-top: 0.5rem;
}

/* ─── Tech Spec Row ──────────────────────────────────────────────── */
.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.spec-row:first-child {
  border-top: 1px solid var(--border);
}

.spec-cell {
  padding: 2rem 2.5rem;
  border-right: 1px solid var(--border);
  transition: background 0.2s ease;
}

.spec-cell:last-child {
  border-right: none;
}

.spec-cell:hover {
  background: var(--card-bg);
}

.spec-key {
  font-size: 0.55rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.spec-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.spec-sub {
  font-size: 0.75rem;
  color: var(--muted-light);
  margin-top: 0.3rem;
  font-weight: 300;
}

/* ─── Active nav state ───────────────────────────────────────────── */
.nav-links a.active {
  opacity: 1;
}


/* ══════════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ══════════════════════════════════════════════════════════════════ */
.reveal-hidden {
  opacity: 0;
  transform: translateY(40px);
}


/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-wide {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {

  #robot,
  #tech {
    grid-template-columns: 1fr;
    padding: 10vw 5vw;
    gap: 2rem;
  }

  #tech .spline-col {
    order: -1;
  }

  .spline-col {
    height: 360px;
  }

  .section-heading {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .nav {
    padding: 1.4rem 5%;
  }

  .nav-links {
    display: none;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-wide {
    grid-column: span 1;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-wordmark {
    font-size: clamp(3rem, 15vw, 7rem);
  }

  .content-grid-2,
  .content-grid-3,
  .spec-row {
    grid-template-columns: 1fr;
  }

  .spec-cell {
    border-right: none;
  }

  .page-title {
    font-size: clamp(3rem, 12vw, 6rem);
    letter-spacing: -2px;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }
}


/* ══════════════════════════════════════════════════════════════════
   LEGAL PAGES — shared long-form typography
   ══════════════════════════════════════════════════════════════════ */
.legal-body {
  max-width: 860px;
  display: flex;
  flex-direction: column;
}

.legal-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section .content-label {
  margin-bottom: 1.2rem;
  color: var(--accent);
}


/* ══════════════════════════════════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════════════════════════════════ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  padding: 3rem;
  border: 1px solid var(--border-mid);
  background: var(--card-bg);
}

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

.form-label {
  font-size: 0.55rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.form-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-mid);
  outline: none;
  color: var(--fg);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 0.8rem 0;
  transition: border-color 0.2s ease;
  cursor: none;
}

.form-input:focus {
  border-bottom-color: var(--accent);
}

.form-input::placeholder {
  color: var(--muted);
}

.form-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 1.5rem;
}

.form-select option {
  background: #111;
  color: var(--fg);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}

.form-submit {
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--accent);
  color: #050505;
  border: none;
  padding: 1rem 2rem;
  width: fit-content;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: 0.5rem;
  cursor: none;
}

.form-submit:hover {
  background: #d4ff10;
  transform: translateY(-2px);
}

.form-submit:disabled {
  opacity: 0.6;
  transform: none;
}

.form-note {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: -0.5rem;
  min-height: 1rem;
}


/* ══════════════════════════════════════════════════════════════════
   FOUC GUARD — html opacity transition for page-load fade-in
   ══════════════════════════════════════════════════════════════════ */
html {
  transition: opacity 0.4s ease;
}


/* ══════════════════════════════════════════════════════════════════
   CONTACT PAGE — GIANT HERO
   ══════════════════════════════════════════════════════════════════ */
.contact-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5% 6vw;
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.contact-eyebrow {
  position: absolute;
  top: calc(var(--nav-h, 90px) + 2rem);
  left: 5%;
}

/* THE MONEY HEADLINE */
.giant-contact {
  font-size: clamp(4.5rem, 10vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 0.88;
  margin-bottom: 2.5rem;
  /* Prevent GSAP flash before reveal */
  will-change: transform, opacity;
}

.contact-hero-sub {
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  font-weight: 300;
  color: var(--muted-light);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 3rem;
}

/* Neon accent rule below the sub-copy */
.contact-hero-line {
  width: clamp(60px, 10vw, 120px);
  height: 3px;
  background: var(--accent);
  margin-bottom: 0;
}


/* ══════════════════════════════════════════════════════════════════
   CONTACT PAGE — BODY GRID (channels + form)
   ══════════════════════════════════════════════════════════════════ */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
}

/* ─── Channel Cards (left column) ──────────────────────────────── */
.contact-channels {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.channel-item {
  display: flex;
  gap: 2rem;
  padding: 4rem 5%;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s ease;
}

.channel-item:last-child {
  border-bottom: none;
}

.channel-item:hover {
  background: rgba(200, 255, 0, 0.03);
}

.channel-num {
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--accent);
  font-weight: 700;
  padding-top: 0.2rem;
  flex-shrink: 0;
}

.channel-label {
  font-size: 0.58rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

.channel-desc {
  font-size: 0.85rem;
  color: var(--muted-light);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 1.2rem;
}

.channel-email {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.channel-email:hover {
  border-bottom-color: var(--accent);
}

.channel-inline-link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
}


/* ─── Brutalist Form (right column) ─────────────────────────────── */
.contact-form-wrapper {
  padding: 4rem 5%;
}

.form-section-label {
  font-size: 0.58rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 3rem;
}

.brutalist-form {
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
  /* override card bg from shared .contact-form */
  background: transparent;
  border: none;
  padding: 0;
}

/* ── Brutalist field ── */
.bf-field {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  position: relative;
}

.bf-label {
  font-size: 0.5rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

/* The core brutalist input — no box, just a thick white bottom border */
.bf-input {
  background: transparent;
  border: none;
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
  outline: none;
  color: var(--fg);
  font-family: var(--font);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 300;
  padding: 0.6rem 0 0.8rem;
  width: 100%;
  transition: border-color 0.25s ease;
  cursor: none;
  border-radius: 0;
}

.bf-input::placeholder {
  color: rgba(255, 255, 255, 0.18);
  font-weight: 300;
}

.bf-input:focus {
  border-bottom-color: var(--accent);
}

/* Animated accent underline that grows on focus */
.bf-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.35s var(--ease-out);
}

.bf-field:focus-within::after {
  width: 100%;
}

.bf-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M0 0l6 7 6-7z' fill='%23c8ff00'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.8rem;
}

.bf-select option {
  background: #0a0a0a;
  color: var(--fg);
}

.bf-textarea {
  resize: none;
  line-height: 1.7;
  min-height: 110px;
}

/* ── NEON SUBMIT BUTTON ── */
.bf-submit {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: transparent;
  border: 3px solid #ffffff;
  color: #ffffff;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 5px;
  text-transform: uppercase;
  padding: 1.2rem 2.4rem;
  width: fit-content;
  margin-top: 0.5rem;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease;
  cursor: none;
}

.bf-submit:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #050505;
  transform: translateY(-3px);
}

.bf-submit:disabled {
  opacity: 0.55;
  transform: none;
}

.bf-submit-arrow {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.bf-submit:hover .bf-submit-arrow {
  transform: translateX(5px);
}

.bf-feedback {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  min-height: 1.2rem;
  margin-top: -1rem;
}


/* ─── Responsive: contact page ──────────────────────────────────── */
@media (max-width: 768px) {
  .contact-body {
    grid-template-columns: 1fr;
  }

  .contact-channels {
    border-right: none;
  }

  .giant-contact {
    font-size: clamp(3.5rem, 14vw, 6rem);
  }

  .contact-hero {
    min-height: 80vh;
    padding-bottom: 8vw;
  }
}


/* ══════════════════════════════════════════════════════════════════
   AURA STUDIO CONTACT PAGE
   ══════════════════════════════════════════════════════════════════ */

/* ─── Wrapper: asymmetric 4fr / 6fr grid ────────────────────────── */
.contact-wrapper {
  display: grid;
  grid-template-columns: 4fr 6fr;
  min-height: 100vh;
  padding: 10vw 5vw;
  gap: 5vw;
  align-items: start;
  /* Push below fixed nav */
  padding-top: max(10vw, 100px);
}

/* ─── Left Column ─────────────────────────────────────────────────── */
.contact-left {
  position: sticky;
  top: max(8vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-eyebrow-label {
  font-size: 0.58rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* THE editorial headline */
.contact-headline {
  font-size: 8vw;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin: 0;
}

/* Italic weight contrast — the "what's" */
.contact-headline em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
}

.contact-left-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted-light);
  font-weight: 300;
  max-width: 340px;
}

/* Info email stack */
.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-info-label {
  font-size: 0.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.contact-info-email {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.contact-info-email:hover {
  opacity: 0.7;
}

/* ─── Right Column: Aura Form ────────────────────────────────────── */
.contact-right {
  padding-top: 0.5rem;
}

.aura-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 2-column row for paired fields */
.aura-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  border-bottom: 1px solid #1a1a1a;
}

/* Full-width override */
.aura-row--full {
  grid-template-columns: 1fr;
}

.aura-field {
  display: flex;
  flex-direction: column;
  padding: 2rem 0 1.2rem;
  position: relative;
}

/* Left side of a row gets a divider */
.aura-row .aura-field:first-child {
  border-right: 1px solid #1a1a1a;
  padding-right: 3rem;
}

.aura-row--full .aura-field:first-child {
  border-right: none;
  padding-right: 0;
}

.aura-label {
  font-size: 0.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

/* THE minimalist aura input — border-bottom only */
.aura-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid #333;
  color: #fff;
  padding: 1rem 0;
  font-size: 1rem;
  font-family: var(--font);
  font-weight: 300;
  outline: none;
  border-radius: 0;
  width: 100%;
  transition: border-color 0.25s ease;
  cursor: none;
}

.aura-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.aura-input:focus {
  border-bottom-color: var(--accent);
}

/* Growing accent underline on focus */
.aura-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.35s var(--ease-out);
}

.aura-field:focus-within::after {
  width: 100%;
}

.aura-select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c8ff00'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  padding-right: 1.8rem;
}

.aura-select option {
  background: #0a0a0a;
  color: #fff;
}

.aura-textarea {
  resize: none;
  min-height: 120px;
  line-height: 1.7;
}

/* Submit row */
.aura-submit-row {
  padding-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* THE pill button — Aura Studio signature */
.aura-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  cursor: none;
}

.aura-pill-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 255, 0, 0.25);
}

.aura-pill-btn:disabled {
  opacity: 0.55;
  transform: none;
}

.aura-pill-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.aura-pill-btn:hover .aura-pill-arrow {
  transform: translateX(4px);
}

.aura-feedback {
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  min-height: 1rem;
}

/* ─── Responsive: Aura contact ───────────────────────────────────── */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: max(100px, 14vw) 6vw 8vw;
  }

  .contact-left {
    position: static;
  }

  .contact-headline {
    font-size: clamp(3rem, 12vw, 6rem);
  }

  .aura-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .aura-row .aura-field:first-child {
    border-right: none;
    padding-right: 0;
  }
}


/* ══════════════════════════════════════════════════════════════════
   PIN-PANEL — Full-viewport legal sections
   ══════════════════════════════════════════════════════════════════ */
.pin-panel {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10vw;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  /* Prevent GSAP flash */
  will-change: transform;
}

/* Hero variant — slightly different feel */
.pin-panel--hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

/* Inner wrapper — what GSAP animates */
.pin-panel__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 900px;
  will-change: opacity, transform;
}

/* Eyebrow tag */
.pin-panel__eyebrow {
  font-size: 0.58rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Section number */
.pin-panel__num {
  font-size: clamp(0.7rem, 1.2vw, 1rem);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

/* MASSIVE heading — the centrepiece */
.pin-panel__heading {
  font-size: clamp(2.5rem, 4vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -2px;
  color: var(--fg);
  margin: 0;
}

/* Hero title — even larger */
.pin-panel__title {
  font-size: clamp(4rem, 8vw, 10rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -4px;
  color: var(--fg);
  text-transform: uppercase;
  margin: 0;
}

/* Body text */
.pin-panel__body {
  font-size: clamp(0.9rem, 1.3vw, 1.1rem);
  line-height: 1.8;
  color: var(--muted-light);
  font-weight: 300;
  max-width: 620px;
}

/* Hero subtitle */
.pin-panel__sub {
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--muted-light);
  font-weight: 300;
  max-width: 560px;
}

/* Accent email / highlight */
.pin-panel__accent {
  color: var(--accent);
  border-bottom: 1px solid currentColor;
}

/* Security hero stat row */
.pin-panel__stat-row {
  display: flex;
  gap: 4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.pin-panel__stat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pin-panel__stat-num {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.5px;
}

.pin-panel__stat-label {
  font-size: 0.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* ─── Responsive: pin panels ─────────────────────────────────────── */
@media (max-width: 768px) {
  .pin-panel {
    padding: 0 7vw;
    height: auto;
    min-height: 100vh;
  }

  .pin-panel__heading {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .pin-panel__title {
    font-size: clamp(3rem, 12vw, 5rem);
    letter-spacing: -2px;
  }

  .pin-panel__stat-row {
    gap: 2rem;
    flex-wrap: wrap;
  }
}


/* ══════════════════════════════════════════════════════════════════
   CAPABILITY LIST — Editorial interactive list
   ══════════════════════════════════════════════════════════════════ */
#capabilities {
  border-bottom: 1px solid var(--border);
}

.capability-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Each row ─────────────────────────────────────────────────────── */
.capability-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 0 4vw;
  padding: 4rem 5%;
  border-bottom: 1px solid #333;
  color: #fff;
  transition: background 0.4s ease, color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.capability-item:last-child {
  border-bottom: none;
}

/* ── Hover: full inversion ─────────────────────────────────────────── */
.capability-item:hover {
  background: #ffffff;
  color: #000000;
}

/* Number */
.cap-num {
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  letter-spacing: 4px;
  color: #555;
  font-weight: 500;
  transition: color 0.4s ease;
  font-variant-numeric: tabular-nums;
  align-self: start;
  padding-top: 0.35rem;
}

.capability-item:hover .cap-num {
  color: rgba(0, 0, 0, 0.35);
}

/* Content block */
.cap-content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* The MASSIVE title */
.cap-title {
  font-size: clamp(2rem, 4.5vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  margin: 0;
  transition: letter-spacing 0.4s ease;
}

.capability-item:hover .cap-title {
  letter-spacing: -1px;
}

/* Description */
.cap-desc {
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  line-height: 1.7;
  color: #666;
  font-weight: 300;
  max-width: 560px;
  transition: color 0.4s ease;
}

.capability-item:hover .cap-desc {
  color: rgba(0, 0, 0, 0.55);
}

/* Arrow icon */
.cap-arrow {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: #444;
  transition: color 0.4s ease, transform 0.35s ease;
  line-height: 1;
  justify-self: end;
}

.capability-item:hover .cap-arrow {
  color: #000;
  transform: translate(4px, -4px);
}

/* ── Hover reveal image ────────────────────────────────────────────── */
.hover-reveal-img {
  position: fixed;
  top: 0;
  left: 0;
  width: 350px;
  height: 250px;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  opacity: 0;
  z-index: 999;
  /* GSAP drives x/y — translate(-50%,-50%) centres it on cursor */
  transform: translate(-50%, -50%);
  border-radius: 10px;
  overflow: hidden;
  /* Slight image loading smoothness */
  will-change: transform, opacity;
}

/* ── Capabilities CTA row ──────────────────────────────────────────── */
.cap-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5rem 5%;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 2rem;
}

.cap-cta-label {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 300;
  color: var(--muted-light);
}

.cap-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #050505;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.cap-cta-pill:hover {
  background: #d4ff10;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 255, 0, 0.25);
}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .capability-item {
    grid-template-columns: 40px 1fr auto;
    gap: 0 2rem;
    padding: 2.5rem 5%;
  }

  .cap-title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
    letter-spacing: -1px;
  }

  .cap-arrow {
    font-size: 1.2rem;
  }

  .hover-reveal-img {
    display: none;
  }

  /* no floating image on touch */

  .cap-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ══════════════════════════════════════════════════════════════════
   TYPOGRAPHY SCALE OVERRIDES
   Task 2: Massive editorial scale for pin-panels + list titles
   ══════════════════════════════════════════════════════════════════ */

/* ─── Pin-Panel: force 8vw heading for all h2/h3 inside panels ─── */
.pin-panel h2,
.pin-panel h3 {
  font-size: 8vw !important;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  color: #ffffff;
  text-transform: none;
}

/* Pin-panel body text: large, premium, generous leading */
.pin-panel p {
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 800px;
  color: #a0a0a0;
}

/* Eyebrow + number stay small — override above p rule specifically */
.pin-panel .pin-panel__eyebrow,
.pin-panel .pin-panel__num,
.pin-panel .pin-panel__stat-label {
  font-size: 0.58rem !important;
  color: var(--muted) !important;
  line-height: 1.4 !important;
}

/* Stat number stays accent-colored at its own scale */
.pin-panel .pin-panel__stat-num {
  font-size: clamp(1.2rem, 2.5vw, 2rem) !important;
  color: var(--accent) !important;
  line-height: 1.2 !important;
}

/* ─── Capability list: massive titles ───────────────────────────── */

/* Override .cap-title on both capability and tech pages */
.capability-list h2 {
  font-size: 5vw;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  line-height: 1;
}

/* Description in list rows */
.capability-list p {
  font-size: 1.2rem;
  color: #888;
  line-height: 1.65;
  font-weight: 300;
  transition: color 0.4s ease;
}

/* Inversion on hover — text turns dark */
.capability-list li:hover p {
  color: #333;
}

/* ─── Responsive scale-downs ─────────────────────────────────────── */
@media (max-width: 1024px) {

  .pin-panel h2,
  .pin-panel h3 {
    font-size: 6vw !important;
  }

  .capability-list h2 {
    font-size: 6vw;
  }

  .pin-panel p {
    font-size: 1.25rem;
  }

  .capability-list p {
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {

  .pin-panel h2,
  .pin-panel h3 {
    font-size: 9vw !important;
    letter-spacing: -0.03em;
  }

  .capability-list h2 {
    font-size: 8vw;
    letter-spacing: -0.02em;
  }

  .pin-panel p {
    font-size: 1.05rem;
  }

  .capability-list p {
    font-size: 1rem;
  }
}


/* ══════════════════════════════════════════════════════════════════
   HERO — GSAP TYPOGRAPHY BLOCK
   ══════════════════════════════════════════════════════════════════ */

/* Full-viewport wrapper — sits over the video */
.hero-title-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  /* Pull down from absolute center so there's breathing room above */
  padding-top: 8vh;
}

/* The headline block */
.hero-title {
  font-size: 8vw;
  line-height: 0.85;
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

/* Each line is a mask — inner span slides up through it */
.hero-title .line {
  display: block;
  overflow: hidden;
  /* Add a tiny vertical gap between lines */
  padding-bottom: 0.06em;
}

/* The animatable element — starts translated down in JS */
.hero-title .line-inner {
  display: block;
  will-change: transform, opacity;
}

/* Dimmed variant for the last two lines */
.hero-title .text-dim .line-inner,
.hero-title .text-dim {
  color: rgba(255, 255, 255, 0.4);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-title {
    font-size: 13vw;
    letter-spacing: -0.03em;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 15vw;
  }

  .hero-title-wrapper {
    align-items: flex-end;
    padding-bottom: 14vh;
  }
}


/* ══════════════════════════════════════════════════════════════════
   TECH LIST — .list-num / .list-icon aliases
   (technology.html uses these class names; mirrors cap-num/cap-arrow)
   ══════════════════════════════════════════════════════════════════ */
.list-num {
  font-size: clamp(0.65rem, 1vw, 0.8rem);
  letter-spacing: 4px;
  color: #555;
  font-weight: 500;
  transition: color 0.4s ease;
  font-variant-numeric: tabular-nums;
  align-self: start;
  padding-top: 0.35rem;
}

.capability-item:hover .list-num {
  color: rgba(0, 0, 0, 0.35);
}

.list-icon {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  color: #444;
  transition: color 0.4s ease, transform 0.35s ease;
  line-height: 1;
  justify-self: end;
}

.capability-item:hover .list-icon {
  color: #000;
  transform: translate(4px, -4px);
}


/* ══════════════════════════════════════════════════════════════════
   SPLINE-COL GUARDRAILS
   Task 4: Ensures 3D models always occupy correct space and are visible.
   ══════════════════════════════════════════════════════════════════ */

/* Robust column container */
.spline-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 600px;
  position: relative;
  z-index: 5;
}

/* Force the custom element to fill and be transparent */
spline-viewer {
  width: 100%;
  height: 100%;
  background: transparent !important;
  display: block !important;
  min-height: 500px;
}

/* Ensure the canvas inside stays transparent (shadow DOM) */
spline-viewer::part(canvas) {
  background: transparent !important;
}

/* Hide Spline Watermark globally */
spline-viewer::part(logo) {
  display: none !important;
}

/* ══════════════════════════════════════════════════════════════════
   PANEL BACKGROUND VIDEO
   Sits behind pinned legal section text (privacy, tos, security).
   GSAP pinning targets .pin-panel__inner — video is a sibling,
   so the pinning timeline is completely unaffected.
   ══════════════════════════════════════════════════════════════════ */

/* Ensure the panel creates a stacking context and clips the video */
.pin-panel {
  position: relative;
  overflow: hidden;
  background: #050505;
}

/* Full-bleed background video — absolute, behind everything */
.panel-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
}

/* Guarantee all direct text/content children sit above the video */
.pin-panel > h1,
.pin-panel > h2,
.pin-panel > h3,
.pin-panel > p,
.pin-panel > div {
  position: relative;
  z-index: 10;
}


/* ══════════════════════════════════════════════════════════════════
   SUBPAGE HERO — CINEMATIC VIDEO BACKGROUND
   Strict 100vh container, absolute video, flex-centered content.
   ══════════════════════════════════════════════════════════════════ */

.subpage-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5vw;
  overflow: hidden;
  background: #050505;
}

.subpage-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.subpage-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

/* ─── Inner typography ───────────────────────────────────────────── */
.eyebrow {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-size: clamp(3.5rem, 9vw, 9rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 2rem;
}

.hero-desc {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.7;
  color: var(--muted-light);
  max-width: 560px;
  font-weight: 300;
}




/* ══════════════════════════════════════════════════════════════════
   GLOBAL LOADER — BLAST DOOR SPLIT REVEAL
   Two absolute panels split from centre; counter + terminal text
   overlaid with mix-blend-mode:difference for universal legibility.
   ══════════════════════════════════════════════════════════════════ */

#global-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

/* ── The two blast-door panels ──────────────────────────────────── */
.loader-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50vh;
  background: #050505;
  z-index: 1;
  will-change: transform;
}

.loader-top {
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.loader-bottom {
  bottom: 0;
}

/* ── Centred text content ───────────────────────────────────────── */
.loader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  mix-blend-mode: difference;
  user-select: none;
}

.loader-text {
  font-family: 'Courier New', Courier, monospace;
  color: #0f0;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

.loader-counter {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12vw;
  color: #fff;
  line-height: 0.8;
  font-weight: 900;
  letter-spacing: -0.05em;
}

