/* ═══════════════════════════════════════════════════
   TERMINAL INDUSTRIES REPLICA — Complete CSS
   ═══════════════════════════════════════════════════ */

/* ──────── DESIGN TOKENS ──────── */
:root {
  --dark-bg: #02040a;
  --mid-bg: #0a0c16;
  --lime: #00f2fe;
  --cyan: #00f2fe;
  --royal-blue: #004de6;
  --electric-blue: #3b82f6;
  --sky-blue: #60a5fa;
  --ice-blue: #e0f2fe;
  --indigo: #4338ca;
  --accent-gradient: linear-gradient(135deg, var(--electric-blue) 0%, var(--electric-blue) 50%, var(--royal-blue) 100%);
  --dark-accent-gradient: linear-gradient(135deg, #003db8 0%, #01112b 100%);
  --white: #ffffff;
  --off-white: #f8fafc;
  --muted: #94a3b8;
  --border: rgba(96, 165, 250, 0.15);
  --dark-border: rgba(255, 255, 255, 0.15);

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'DM Mono', 'Courier New', monospace;

  --pad: clamp(24px, 5vw, 72px);
  --section-pad: clamp(5rem, 15vh, 12rem);
  --radius: 16px;

  /* 3D heading gradient */
  --heading-gradient: linear-gradient(180deg,
      var(--white) 0%,
      var(--ice-blue) 50%,
      var(--sky-blue) 100%);

  /* Typography Variables */
  --text-h1: clamp(48px, 8vw, 136px);
  --text-h2: clamp(48px, 8vw, 120px);
  --text-h3: clamp(24px, 3.2vw, 48px);
  --text-h4: clamp(18px, 2vw, 32px);
  --text-body: clamp(15px, 1.4vw, 20px);
  --text-small: 14px;
  --text-mono: 11px;

  --lh-heading: 1.1;
  --lh-body: 1.6;

  --ls-heading: -0.04em;
  --ls-body: 0;
  --ls-mono: 0.08em;
}

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

/* html { scroll-behavior: smooth; } REMOVED FOR LENIS */

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-heading);
}

h1 {
  font-size: var(--text-h1);
}

h2 {
  font-size: var(--text-h2);
}

h3 {
  font-size: var(--text-h3);
}

h4 {
  font-size: var(--text-h4);
}

p {
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.7);
}

/* ──────── TYPOGRAPHY UTILITIES ──────── */
.text-h1 {
  font-size: var(--text-h1);
}

.text-h2 {
  font-size: var(--text-h2);
}

.text-h3 {
  font-size: var(--text-h3);
}

.text-h4 {
  font-size: var(--text-h4);
}

.text-body {
  font-size: var(--text-body);
  color: rgba(255, 255, 255, 0.7);
}

.text-small {
  font-size: var(--text-small);
  color: rgba(255, 255, 255, 0.7);
}

.text-mono {
  font-family: var(--mono);
  font-size: var(--text-mono);
  letter-spacing: var(--ls-mono);
  text-transform: uppercase;
  color: var(--muted);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.2) 1px, transparent 1px),
    linear-gradient(rgba(59, 130, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.07) 1px, transparent 1px);
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
  pointer-events: none;
  z-index: -1;
}

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

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

ul[role="list"] {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: var(--font-body);
}






/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 14px var(--pad);
  pointer-events: none;
}

#nav {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(180deg, rgba(20, 20, 25, 0.95) 0%, rgba(2, 4, 10, 0.95) 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px 28px;
  min-height: 68px;
  transition: box-shadow .3s;
}

#nav.scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Logo */
#nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0;
  margin-right: 22px;
  flex-shrink: 0;
}

.nav-main-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Right f-logo */
#nav-right-logo {
  display: flex;
  align-items: center;
  margin-left: 16px;
  margin-right: 4px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

#nav-right-logo:hover {
  transform: scale(1.08);
}

.nav-f-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

/* Nav links */
#nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nl-btn {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.75);
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
  transition: all .3s ease;
}

.nl-btn:hover {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background: rgba(59, 130, 246, 0.05);
}

/* Actions */
#nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 18px;
}

.nav-search-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  padding: 9px 18px;
  transition: border-color .2s;
  white-space: nowrap;
}

.ask-fathom-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.nav-search-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-phone-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  transition: border-color .2s;
}

.nav-phone-btn:hover {
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-demo-btn {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: 8px;
  padding: 6px 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-demo-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nav-contact-btn {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.07em;
  background: var(--accent-gradient);
  color: var(--dark-bg);
  border-radius: 8px;
  padding: 10px 22px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.2);
}

.nav-contact-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 77, 230, 0.4);
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--dark-bg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.55;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.2) 1px, transparent 1px),
    linear-gradient(rgba(59, 130, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.07) 1px, transparent 1px),
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(0, 0, 0, 0.3) 0%, transparent 70%),
    linear-gradient(to top, rgba(2, 4, 10, 0.8) 0%, transparent 40%),
    linear-gradient(to bottom, rgba(2, 4, 10, 0.2) 0%, transparent 20%);
  background-size:
    100px 100px,
    100px 100px,
    20px 20px,
    20px 20px,
    100% 100%,
    100% 100%,
    100% 100%;
  background-position:
    -1px -1px,
    -1px -1px,
    -1px -1px,
    -1px -1px,
    0 0,
    0 0,
    0 0;
}

/* Dark grid overlay used on slide 2 */
.dark-grid {
  background:
    linear-gradient(to bottom, rgba(5, 10, 10, .6) 0%, rgba(5, 10, 10, .4) 100%),
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255, 255, 255, .04) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255, 255, 255, .04) 60px);
}

/* Hero text — centered and middle aligned */
.hero-slide-content {
  position: relative;
  width: 90%;
  max-width: 1400px;
  z-index: 2;
  text-align: center;
  padding: 0;
  margin-top: 120px; /* Push down firmly to clear navigation */
}

.hero-text-reveal {
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
  text-align: center;
  margin-bottom: 32px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtext {
  font-family: var(--outfit);
  font-size: 1.4rem; /* Increased by ~4px */
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  margin: 25px auto 30px auto; /* Reduced from 40px */
  line-height: 1.5;
  text-align: center;
  filter: drop-shadow(0 4px 40px rgba(0, 0, 0, 0.8)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.hero-gradient-text {
  background: var(--heading-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subheading {
  font-weight: 400;
  line-height: 1.6;
  color: var(--white);
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* No word-span styles needed — text is plain HTML now */

/* "SCROLL TO EXPLORE →" hint */
.hero-scroll-hint {
  position: absolute;
  right: var(--pad);
  bottom: 80px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  z-index: 3;
}

/* Transition line at bottom of hero */
#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--pad);
  right: var(--pad);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4) 20%, rgba(59, 130, 246, 0.4) 80%, transparent);
  z-index: 3;
}

/* ═══════════════════════════════════════════════════
   AI NATIVE SECTION
   ═══════════════════════════════════════════════════ */
#ai-native-section {
  position: relative;
  width: 100%;
  padding: 320px var(--pad);
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0d1530 0%, #07080f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid transparent; border-image: var(--accent-gradient) 1;
}

.ai-native-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ai-native-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  padding: 0 var(--pad);
}

.ai-text-reveal {
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 32px;
}

.ai-subheading {
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ── Typewriter animation ── */
.typewriter-word {
  color: var(--lime, #00f2fe);
  display: inline;
}

.typewriter-cursor {
  display: inline-block;
  color: var(--blue);
  font-weight: 400;
  animation: cursorBlink 0.75s step-end infinite;
}

@keyframes cursorBlink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* ═══════════════════════════════════════════════════
   STATEMENT REVEAL SECTION
   ═══════════════════════════════════════════════════ */
#statement-reveal-section {
  position: relative;
  min-height: 41vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 112px var(--pad) 56px;
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255, 255, 255, 0.05) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255, 255, 255, 0.05) 60px),
    var(--dark-accent-gradient);
  border-top: none;
  overflow: hidden;
}

.statement-sticky-container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.statement-text {
  font-family: var(--outfit);
  font-size: clamp(36px, 6vw, 90px);
  font-weight: 500;
  color: var(--white); /* White text on blue background */
  text-align: center;
  max-width: 720px;
  line-height: 1.15;
  padding: 0 20px;
}

.nightmare-word {
  background: none;
  -webkit-text-fill-color: var(--cyan);
  color: var(--cyan);
  font-weight: 600; /* Bright cyan to pop against dark blue */
}

/* ═══════════════════════════════════════════════════
   PHILOSOPHY STATEMENT SECTION
   ═══════════════════════════════════════════════════ */
#philosophy-section {
  background: #02040a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px var(--pad);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 72px;
  position: relative;
  overflow: hidden;
}

/* Dark overlay to ensure text and logo pop against the video */
#philosophy-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(2, 4, 10, 0.4) 0%, rgba(2, 4, 10, 0.9) 100%);
  pointer-events: none;
  z-index: 1;
}

#philosophy-section .section-bg-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

/* ── Logo centrepiece ── */
.phil-logo-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 320px;
  height: 180px;
  flex-shrink: 0;
}

.phil-logo-glow {
  position: absolute;
  inset: 10px;
  background: #020408;
  border-radius: 40px;
  animation: phil-pulse 3.5s ease-in-out infinite alternate;
  pointer-events: none;
}

.phil-logo-glow::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 40px;
  background: var(--accent-gradient);
  filter: blur(28px);
  z-index: -1;
  opacity: 0.6;
}

.phil-logo-ring {
  position: absolute;
  inset: -12px;
  border-radius: 40px;
  border: 1px solid transparent;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
              var(--accent-gradient) border-box;
  animation: phil-spin-cw 18s linear infinite;
  pointer-events: none;
}

.phil-logo-ring--2 {
  inset: -24px;
  border-radius: 50px;
  border: 1px solid transparent;
  background: linear-gradient(var(--dark-bg), var(--dark-bg)) padding-box,
              var(--accent-gradient) border-box;
  opacity: 0.5;
  animation: phil-spin-ccw 26s linear infinite;
}

.phil-logo-img {
  width: 260px;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  animation: phil-float 5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

/* ── Animations ── */
@keyframes phil-float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes phil-pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes phil-spin-cw {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes phil-spin-ccw {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

/* ── Text block ── */
.philosophy-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.philosophy-label-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.philosophy-label {
  font-family: var(--mono);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.philosophy-text-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.philosophy-lead {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-body {
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  max-width: 640px;
  margin: 0 auto;
}

  .philosophy-body em {
    font-style: normal;
    color: var(--white);
  }

  .philosophy-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    text-decoration: none;
    border-bottom: 1px solid transparent; border-image: var(--accent-gradient) 1;
    padding-bottom: 4px;
    width: fit-content;
    transition: gap 0.3s ease, border-color 0.3s ease;
  }

  .philosophy-cta:hover {
    gap: 14px;
    border-background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  }

  @media (max-width: 768px) {
    .phil-logo-wrap {
      width: 90px;
      height: 90px;
    }

    .phil-logo-img {
      width: 60px;
      height: 60px;
    }
  }


  /* ═══════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════ */
  #testimonials-section {
    background: radial-gradient(circle at top, rgba(0, 77, 230, 0.25) 0%, rgba(0, 77, 230, 0.05) 50%, var(--dark-bg) 100%);
    padding: 240px var(--pad) 200px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  #testimonials-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  #testimonials-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    mask-image: radial-gradient(circle at top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    -webkit-mask-image: radial-gradient(circle at top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 80%);
    z-index: 0;
    pointer-events: none;
  }

  .testimonials-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
  }

  .testimonials-heading {
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.04em;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 72px;
  }

  .testim-nav-container {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-bottom: 24px;
    padding-right: 40px;
  }

  .testim-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .testim-nav:hover {
    background: var(--electric-blue);
    border-color: var(--electric-blue);
    transform: translateY(-2px);
  }

  @keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
  }

  .testimonial-card.float-1 { animation: floatCard 6s ease-in-out infinite; animation-delay: 0s; }
  .testimonial-card.float-2 { animation: floatCard 6s ease-in-out infinite; animation-delay: 1.2s; }
  .testimonial-card.float-3 { animation: floatCard 6s ease-in-out infinite; animation-delay: 2.4s; }
  .testimonial-card.float-4 { animation: floatCard 6s ease-in-out infinite; animation-delay: 3.6s; }
  .testimonial-card.float-5 { animation: floatCard 6s ease-in-out infinite; animation-delay: 4.8s; }

  .testimonials-marquee-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    width: 100%;
    padding-bottom: 32px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .testimonials-marquee-wrap::-webkit-scrollbar {
    display: none;
  }

  .testimonials-carousel {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 0 40px;
  }

  @keyframes scrollMarquee {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-50% - 12px));
    }
  }

  .testimonial-card {
    scroll-snap-align: center;
    flex: 0 0 clamp(320px, 80vw, 420px);
    height: 540px;
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 30px 60px rgba(0, 0, 0, 0.4);
  }

  .testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 30px 60px rgba(0, 77, 230, 0.4);
  }

  .testimonial-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .testimonial-card:hover .testimonial-bg {
    transform: scale(1.08);
  }

  .testimonial-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    background: rgba(20, 20, 25, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .testimonial-body {
    font-size: 21px;
    line-height: 1.4;
    color: var(--white);
    font-weight: 400;
  }

  .testimonial-role {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
  }

  #testimonials-section.testimonials-compact {
    padding: 175px var(--pad) 95px;
    border-bottom: none;
  }

  #brand-ticker-section.brand-ticker-standalone {
    margin-top: 0;
  }

  /* ═══════════════════════════════════════════════════
   SCROLLING BRAND TICKER
   ═══════════════════════════════════════════════════ */
  #brand-ticker-section {
    padding: 50px 20px;
    background: var(--royal-blue);
    /* The "graph" background using a linear gradient grid overlay */
    background-image:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%),
      repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255, 255, 255, 0.05) 50px),
      repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255, 255, 255, 0.05) 50px),
      var(--dark-accent-gradient);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 200;
    margin-top: -20vh;
  }

  .ticker-wrap {
    width: 100%;
    overflow: hidden;
  }

  .ticker-track {
    display: flex;
    width: max-content;
    animation: tickerLoop 25s linear infinite;
    gap: 80px;
    padding-left: 80px;
  }

  .ticker-item {
    font-size: clamp(24px, 4vw, 40px);
    font-family: var(--font);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
    cursor: default;
    white-space: nowrap;
    text-transform: uppercase;
  }

  .ticker-item:hover {
    color: var(--white);
  }

  @keyframes tickerLoop {
    0% {
      transform: translate3d(0, 0, 0);
    }

    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }

  /* ═══════════════════════════════════════════════════
   IMAGINE SECTION
   ═══════════════════════════════════════════════════ */
  #imagine-section {
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 0 var(--pad);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border);
  }

  .imagine-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.12;
  }

  .imagine-bg-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at center, rgba(0, 77, 230, 0.15) 0%, rgba(59, 130, 246, 0.05) 40%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    animation: pulseOrb 8s ease-in-out infinite alternate;
  }

  @keyframes pulseOrb {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
    }

    100% {
      transform: translate(-50%, -50%) scale(1.1);
      opacity: 1;
    }
  }

  .imagine-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    text-align: center;
    margin: 0 auto;
  }

  .imagine-tagline {
    position: relative;
    z-index: 2;
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-align: center;
    color: var(--white);
    margin-bottom: 20px;
  }

  .imagine-subtext {
    font-family: var(--outfit);
    font-size: 1.4rem; /* Increased by ~4px */
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    margin: 25px auto 0 auto; /* Reduced from 40px */
    line-height: 1.5;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  .lime-glow-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
    display: inline-block;
    animation: limePulse 3s ease-in-out infinite alternate;
  }

  @keyframes limePulse {
    0% {
      text-shadow: 0 0 8px rgba(59, 130, 246, 0.2);
      transform: scale(1);
    }

    100% {
      text-shadow: 0 0 25px rgba(59, 130, 246, 0.7), 0 0 40px rgba(59, 130, 246, 0.3);
      transform: scale(1.02);
    }
  }

  .imagine-subheading {
    font-weight: 400;
    line-height: 1.65;
    color: var(--muted);
    max-width: 1000px;
    margin: 0 auto;
    word-wrap: break-word;
  }

  /* ═══════════════════════════════════════════════════
   CASE STUDIES - SIMPLE LAYOUT
   ═══════════════════════════════════════════════════ */
  .cs-stack-section {
    padding: 100px var(--pad) 0;
    background: var(--dark-bg);
    position: relative;
    z-index: 100;
  }

  .cs-stack-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
  }

  .cs-card {
    position: sticky;
    top: 15vh;
    height: 70vh;
    width: 100%;
    margin-bottom: 50vh;
  }

  .cs-card:nth-child(1) { z-index: 1; }
  .cs-card:nth-child(2) { z-index: 2; }
  .cs-card:nth-child(3) { z-index: 3; }

  .cs-card:last-child {
    margin-bottom: 0;
  }


  .cs-card-inner {
    display: flex;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    background: var(--mid-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform-origin: top center;
    will-change: transform, filter;
  }

  .cs-card-inner.reverse {
    flex-direction: row-reverse;
  }

  .cs-text {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .cs-img {
    flex: 1.2;
    position: relative;
  }

  .cs-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .cs-num {
    display: block;
    font-family: var(--mono);
    letter-spacing: 0.18em;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
  }

  .cs-title {
    font-weight: 300;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--white);
    margin-bottom: 24px;
  }

  .cs-desc {
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
  }

  @media (max-width: 900px) {
    .cs-card {
      height: auto;
      min-height: 70vh;
      margin-bottom: 20vh;
    }
    .cs-card-inner,
    .cs-card-inner.reverse {
      flex-direction: column;
    }
    .cs-img {
      min-height: 300px;
    }
  }

  /* ═══════════════════════════════════════════════════
   YOS — YARD OPERATING SYSTEM
   ═══════════════════════════════════════════════════ */
  #yos-section {
    position: relative;
    background: radial-gradient(circle at top, rgba(0, 77, 230, 0.25) 0%, rgba(0, 77, 230, 0.05) 50%, transparent 100%), var(--dark-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 120px var(--pad);
  }



  #yos-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
  }

  .yos-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 var(--pad);
    margin-bottom: 20px;
  }

  .yos-pretitle {
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0px;
    text-transform: uppercase;
  }

  .yos-title {
    font-weight: 300;
    letter-spacing: -0.05em;
    line-height: 1;
    /* Flashlight interaction */
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.08) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .yc {
    display: inline;
  }

  /* ═══════════════════════════════════════════════════
   FRAMEWORK FEATURES (Inside YOS)
   ═══════════════════════════════════════════════════ */

  .ff-container {
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
  }

  .ff-header {
    margin-bottom: 60px;
  }

  .ff-title {
    font-size: calc(var(--text-h3) * 1.2);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.035em;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
  }

  .ff-desc {
    color: var(--muted);
    max-width: 800px;
    margin: 0 auto;
  }

  .ff-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 80px;
  }

  .ff-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  @media (min-width: 768px) {
    .ff-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 60px;
    }
  }

  .ff-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  @keyframes floatIcon {
    0% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-12px);
    }

    100% {
      transform: translateY(0);
    }
  }

  .ff-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: floatIcon 4s ease-in-out infinite;
  }

  .ff-item:nth-child(2) .ff-icon {
    animation-delay: 0.8s;
  }

  .ff-item:nth-child(3) .ff-icon {
    animation-delay: 1.6s;
  }

  .ff-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  .ff-item-title {
    font-size: clamp(20px, 2vw, 28px);
    margin-bottom: 16px;
  }

  .ff-item-desc {
    color: rgba(255, 255, 255, 0.5);
  }

  /* ═══════════════════════════════════════════════════
   BUILT BY THE INDUSTRY
   ═══════════════════════════════════════════════════ */
  #built-by-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 var(--pad);
    text-align: center;
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  #built-by-section .bg-vid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3;
    /* dim the video so text is readable */
  }

  .built-by-content {
    position: relative;
    z-index: 1;
  }

  .built-by-label {
    font-family: var(--mono);
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 28px;
  }

  .built-by-title {
    font-size: calc(var(--text-h3) * 1.2);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.035em;
    max-width: 1000px;
    margin: 0 auto;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ═══════════════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════════════ */
  #how-it-works {
    background: var(--blue-bg);
    border-top: 1px solid var(--border);
    padding: 180px var(--pad) 120px;
  }

  .hiw-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 80px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
  }

  .hiw-label {
    font-family: var(--mono);
    letter-spacing: 0.18em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 24px;
  }

  .hiw-title {
    font-size: calc(var(--text-h3) * 1.2);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--white);
    margin-bottom: 40px;
  }

  .hiw-cta {
    display: inline-block;
    font-family: var(--mono);
    letter-spacing: 0.16em;
    color: var(--white);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: opacity .2s;
  }

  .hiw-cta:hover {
    opacity: .5;
  }

  .logo-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
  }

  .logo-cell img {
    max-width: 100%;
    max-height: 50%;
    object-fit: contain;
    opacity: 0.6;
    filter: grayscale(1) brightness(2);
  }

  .bw-logo {
    width: 100%;
    height: 100%;
  }

  .hiw-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hiw-svg {
    width: 180px;
    height: 380px;
  }

  .hiw-dot {
    transition: fill .3s;
  }

  /* Laser path draw animation */
  #hiw-laser {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
  }

  /* ═══════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════ */
  #contact {
    background: var(--mid-bg);
    padding: 100px var(--pad) 0;
    border-top: 1px solid var(--border);
    position: relative;
  }

  .contact-body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 120px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 120px;
  }

  .contact-heading {
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.035em;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
  }

  .contact-blue {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--blue);
  }

  .contact-intro {
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 40px;
  }

  .contact-trust-label {
    font-family: var(--mono);
    letter-spacing: 0.16em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  .contact-trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
    align-items: center;
  }

  .trust-logo-text {
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(5, 36, 36, 0.5);
  }

  /* Dark form box */
  @keyframes floatForm {
    0% {
      transform: translateY(0px);
    }

    50% {
      transform: translateY(-12px);
    }

    100% {
      transform: translateY(0px);
    }
  }

  .contact-form-box {
    background: rgba(2, 4, 10, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid transparent; border-image: var(--accent-gradient) 1;
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.05);
    border-radius: 24px;
    padding: 60px;
    animation: floatForm 6s ease-in-out infinite;
  }

  .cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .cf-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
  }

  .cf-field label {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.1em;
    background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    font-size: 16px;
  }

  .cf-field input {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 20px 24px;
    color: var(--white);
    font-size: 18px;
    transition: all .3s ease;
    outline: none;
  }

  .cf-field input::placeholder {
    color: rgba(255, 255, 255, .3);
  }

  .cf-field input:focus {
    border-background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.05);
  }

  .cf-select-wrap {
    position: relative;
  }

  .cf-select-wrap select {
    width: 100%;
    appearance: none;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    padding: 20px 24px;
    color: rgba(255, 255, 255, .8);
    font-size: 18px;
    cursor: pointer;
    outline: none;
    transition: all .3s ease;
  }

  .cf-select-wrap select:focus {
    border-background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.05);
  }

  .cf-select-wrap svg {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
  }

  .cf-submit {
    width: 100%;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    padding: 22px;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white);
    text-transform: uppercase;
    font-size: 18px;
    cursor: pointer;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
    margin-top: 20px;
  }

  .cf-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
  }

  .cf-submit.done {
    background: var(--accent-gradient);
    color: var(--dark-bg);
    box-shadow: 0 0 20px var(--electric-blue);
  }

  /* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
  #footer {
    background: #01040d;
    background-image:
      linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%),
      repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255, 255, 255, 0.05) 50px),
      repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255, 255, 255, 0.05) 50px),
      linear-gradient(135deg, #041235 0%, #01040d 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
  }

  /* CTA block */
  .footer-cta-block {
    text-align: center;
    padding: 80px var(--pad) 80px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .footer-cta-title {
    font-weight: 350;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: var(--white);
    margin-bottom: 40px;
  }

  .footer-cta-btn {
    display: inline-block;
    font-family: var(--mono);
    letter-spacing: 0.14em;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    padding: 14px 28px;
    transition: background .2s, border-color .2s;
  }

  .footer-cta-btn:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .4);
  }

  /* Footer bottom grid */
  .footer-bottom-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding: 60px var(--pad) 40px;
  }

  .footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 28px;
  }

  .footer-t-icon {
    width: 30px;
    height: 30px;
  }

  .footer-wordmark {
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .footer-gartner-block {
    margin-bottom: 28px;
  }

  .footer-gartner-name {
    display: block;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 6px;
  }

  .footer-gartner-text {
    line-height: 1.6;
    color: rgba(255, 255, 255, .45);
  }

  .footer-copyright {
    color: rgba(255, 255, 255, .35);
    line-height: 1.7;
  }

  .footer-copyright a {
    display: block;
    color: rgba(255, 255, 255, .35);
    transition: color .2s;
  }

  .footer-copyright a:hover {
    color: rgba(255, 255, 255, .7);
  }

  .footer-col-label {
    font-family: var(--mono);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: 20px;
  }

  .footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-link-list a {
    color: rgba(255, 255, 255, .7);
    transition: color .2s;
  }

  .footer-link-list a:hover {
    color: var(--white);
  }

  .footer-reach-text {
    color: rgba(255, 255, 255, .7);
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .footer-phone {
    display: block;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
  }

  .footer-phone-sub {
    color: rgba(255, 255, 255, .4);
    margin-bottom: 20px;
  }

  .footer-social-row {
    display: flex;
    gap: 12px;
  }

  .footer-social-row a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .6);
    transition: border-color .2s, color .2s;
  }

  .footer-social-row a:hover {
    border-color: rgba(255, 255, 255, .4);
    color: var(--white);
  }

  /* ═══════════════════════════════════════════════════
   UTILITY: fade-up reveals
   ═══════════════════════════════════════════════════ */
  .benefit-info,
  .built-by-title,
  .hiw-text,
  .contact-heading,
  .footer-cta-title {
    will-change: transform, opacity;
  }

  /* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
  @media (max-width: 900px) {
    #split-section {
      flex-direction: column;
    }

    #split-left {
      width: 100%;
      min-height: auto;
    }

    #split-right {
      position: relative;
      top: auto;
      height: 50vw;
      width: 100%;
    }

    #split-notch {
      display: none;
    }

    .split-item {
      min-height: 50vh;
    }

    .logo-grid {
      grid-template-columns: repeat(5, 1fr);
    }

    .benefit-info {
      grid-template-columns: 1fr;
    }

    .contact-body {
      grid-template-columns: 1fr;
    }

    .footer-bottom-grid {
      grid-template-columns: 1fr 1fr;
      gap: 32px;
    }

    .hiw-inner {
      grid-template-columns: 1fr;
    }

    .hiw-diagram {
      display: none;
    }

    #nav-links {
      display: none;
    }

    .nav-search-pill {
      display: none;
    }
  }

  @media (max-width: 540px) {
    .logo-grid {
      grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom-grid {
      grid-template-columns: 1fr;
    }

    .cf-row {
      grid-template-columns: 1fr;
    }
  }

  /* ═══════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════ */
  ::-webkit-scrollbar {
    width: 4px;
  }

  ::-webkit-scrollbar-track {
    background: transparent;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(5, 36, 36, .25);
    border-radius: 4px;
  }

  /* LENIS STYLES */
  html.lenis,
  html.lenis body {
    height: auto;
  }

  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }

  .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
  }

  .lenis.lenis-stopped {
    overflow: hidden;
  }

  .lenis.lenis-scrolling iframe {
    pointer-events: none;
  }

  /* ═══════════════════════════════════════════════════
   CASE STUDY MODAL
   ═══════════════════════════════════════════════════ */
  .case-study-btn {
    display: inline-block;
    margin-top: 24px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid transparent; border-image: var(--accent-gradient) 1;
    background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-family: var(--font-body);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: max-content;
    pointer-events: auto !important;
    position: relative;
    z-index: 99;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    letter-spacing: inherit;
  }

  .case-study-btn:hover {
    background: var(--accent-gradient);
    color: var(--dark-bg);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
  }

  .cs-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s;
  }

  .cs-modal.active {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    display: flex !important;
  }

  .cs-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 8, 15, 0.85);
    backdrop-filter: blur(12px);
    z-index: 1;
  }

  .cs-modal-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    background: var(--mid-green);
    border: 1px solid transparent; border-image: var(--accent-gradient) 1;
    border-radius: 16px;
    padding: 48px;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transform: translateY(20px);
    transition: transform 0.4s ease;
  }

  .cs-modal.active .cs-modal-content {
    transform: translateY(0);
  }

  .cs-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px;
  }

  .cs-close-btn:hover {
    background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  }

  .cs-modal-title {
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 32px;
    line-height: 1.1;
    font-size: clamp(28px, 4vw, 42px);
  }

  .cs-modal-subtitle {
    font-weight: 500;
    background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
    margin-top: 32px;
    margin-bottom: 16px;
  }

  .cs-modal-text {
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 16px;
  }

  .cs-modal-list {
    list-style: none;
    margin-top: 24px;
  }

  .cs-modal-list li {
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 16px;
    padding-left: 20px;
    position: relative;
  }

  .cs-modal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent-gradient);
    border-radius: 50%;
  }

  .cs-modal-list strong {
    color: var(--white);
  }

  /* ═══════════════════════════════════════════════════
   LUSION TEXT ANIMATION
   ═══════════════════════════════════════════════════ */
  .lusion-word {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    padding-bottom: 8px;
    /* Prevent descenders from clipping */
    margin-bottom: -8px;
  }

  .lusion-char {
    display: inline-block;
    transform-origin: bottom left;
    will-change: transform, opacity;
  }

  /* ═══════════════════════════════════════════════════
   SOLUTIONS PAGE — Stacking Cards (AGS Style)
   ═══════════════════════════════════════════════════ */
  .page-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #0d1530 0%, #07080f 100%);
    text-align: center;
    border-bottom: 1px solid transparent; border-image: var(--accent-gradient) 1;
    flex-direction: column;
  }

  .cards-container {
    position: relative;
    width: 100%;
    padding-top: 20vh;
    /* Massive breathing room after the hero */
    padding-bottom: 200px;
    background: var(--dark-bg);
  }

  .solution-card {
    position: sticky;
    top: 10vh;
    /* distance from top of screen */
    width: 100%;
    min-height: 75vh;
    /* Allow it to grow if content is tall */
    height: auto;
    margin-bottom: 80vh;
    /* scroll buffer */
    display: flex;
    align-items: stretch;
    /* stretch to fit */
    justify-content: center;
    padding: 0 var(--pad);
    transform-origin: top center;
    will-change: transform, opacity;
  }

  /* Remove margin from last card so footer follows immediately */
  .solution-card:last-child {
    margin-bottom: 10vh;
  }

  .card-inner {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background: #0b0c10;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* highlight edge */
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
    /* depth shadow when stacking */
  }

  .card-media {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
  }

  .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
  }

  .card-info {
    flex: 1;
    padding: 80px 100px;
    /* Airy, massive padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    /* More space between elements */
    background: linear-gradient(to right, rgba(11, 12, 16, 0.95), rgba(11, 12, 16, 1));
  }

  .solution-title {
    font-size: calc(var(--text-h3) * 1.2);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.035em;
    background: var(--heading-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--white);
  }

  .solution-outcome {
    font-weight: 500;
    color: var(--royal-blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
  }

  .solution-desc {
    line-height: 1.7;
    color: var(--muted);
  }

  .solution-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 32px;
  }

  .solution-list li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--muted);
    position: relative;
    padding-left: 24px;
  }

  .solution-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--royal-blue);
    border-radius: 50%;
  }

  .solution-list li strong {
    color: var(--white);
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
  }

  /* Products Page Styles */
  #products-hero-section {
    padding-top: 160px;
    padding-bottom: 80px;
    background: var(--dark-bg);
  }

  #standardized-products-section {
    padding: 80px 0 160px;
    background: var(--dark-bg);
  }

  .products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    box-sizing: border-box;
  }

  /* Product Card Grid */
  .product-card-grid {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
  }
  @media (min-width: 900px) {
    .product-card-grid {
      grid-template-columns: 1fr 1fr;
    }
  }
  .product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .product-card-img-tablet {
    object-fit: cover;
    object-position: 35% center;
  }

/* ═══════════════════════════════════════════════════
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ═══════════════════════════════════════════════════ */

/* TABLET & MOBILE (< 900px) */
@media (max-width: 900px) {
  /* Navigation */
  #nav { width: 100% !important; justify-content: space-between !important; }
  #nav-logo { margin: 0 !important; }
  #nav-links { display: none !important; }
  #nav .nav-contact-btn, .nav-search-pill { display: none !important; }
  .hamburger-btn { display: flex !important; }

  /* Headings & Text */
  .hero-text-reveal { font-size: clamp(48px, 10vw, 80px) !important; line-height: 1.1 !important; }
  .contact-heading { font-size: clamp(40px, 8vw, 60px) !important; line-height: 1.1 !important; }
  .imagine-tagline, .phil-tagline { font-size: clamp(48px, 10vw, 72px) !important; line-height: 1.1 !important; }
  
  /* Prevent text cutoff */
  * { box-sizing: border-box; }
  body { overflow-x: hidden; }
  .split-inner, .ff-container, .contact-body, .philosophy-inner, .products-container { width: 100% !important; padding: 0 15px !important; box-sizing: border-box; }
  
  /* Sections Padding (not too tall) */
  .page-hero { padding: 120px 15px 40px !important; height: auto !important; min-height: 0 !important; }
  #products-hero-section { padding-top: 120px !important; padding-bottom: 40px !important; }
  #standardized-products-section { padding: 40px 0 80px !important; }
  .split-section, #philosophy-section, #yos-section, .cs-section { 
    padding: 60px 0 !important; 
    height: auto !important; 
    min-height: 0 !important; 
  }
  
  #imagine-section {
    height: auto !important;
    padding: 100px 15px !important;
  }
  
  /* Grids & Layouts */
  .split-inner, .cs-card-inner, .cs-card-inner.reverse, .ff-grid, .footer-bottom-grid {
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  
  .split-left, .split-right, .cs-text, .cs-img {
    flex: none !important;
    width: 100% !important;
  }
  
  /* Specific Fixes */
  .cs-img { min-height: 250px !important; }
  .cs-text { padding: 30px 20px !important; }
  .footer-bottom-grid { text-align: left !important; }
  .footer-logo-wrap { justify-content: flex-start !important; }
  .phil-logo-wrap { width: 120px !important; height: 120px !important; margin: 0 auto 30px !important; }
  .phil-logo-img { width: 80px !important; height: 80px !important; }
  .phil-logo-ring--2 { inset: -20px !important; }
  #philosophy-section { gap: 20px !important; }
  .hero-subtext br, .imagine-subtext br { display: none !important; }
  .hero-subtext, .imagine-subtext { white-space: normal !important; padding: 0 15px !important; margin: 20px auto !important; font-size: 1.1rem !important; }
  #hero { height: auto !important; min-height: 80vh !important; padding: 120px 0 60px !important; }
  .yos-inner { margin-bottom: 20px !important; }
  .ff-title { font-size: 36px !important; line-height: 1.2 !important; }
  .cs-modal-title { font-size: 32px !important; }
  
  /* Contact Form Specifics */
  .contact-body { gap: 40px !important; padding-bottom: 60px !important; }
  .contact-form-box { padding: 30px !important; border-radius: 16px !important; }
  .cf-row { grid-template-columns: 1fr !important; gap: 20px !important; }
  .cf-field { gap: 8px !important; margin-bottom: 20px !important; }
  .cf-field input, .cf-select-wrap select { padding: 14px 18px !important; font-size: 16px !important; }

  /* ── Solutions Page: Stacking Cards ── */
  .cards-container {
    padding-top: 40px !important;
    padding-bottom: 80px !important;
  }

  .solution-card {
    position: relative !important;
    top: auto !important;
    min-height: auto !important;
    margin-bottom: 24px !important;
    padding: 0 16px !important;
  }

  .solution-card:last-child {
    margin-bottom: 40px !important;
  }

  .card-inner {
    flex-direction: column !important;
    border-radius: 20px !important;
    max-width: 100% !important;
  }

  .card-media {
    flex: none !important;
    width: 100% !important;
    height: 300px !important;
    min-height: 0 !important;
  }

  .card-media img {
    object-position: center center !important;
  }

  .card-info {
    flex: none !important;
    padding: 32px 24px !important;
    gap: 20px !important;
  }

  .solution-title {
    font-size: clamp(24px, 6vw, 36px) !important;
  }

  .solution-outcome {
    font-size: 12px !important;
    letter-spacing: 0.1em !important;
  }

  .solution-desc {
    font-size: 15px !important;
  }

  .solution-list {
    gap: 16px !important;
    padding-top: 20px !important;
  }

  .solution-list li {
    font-size: 14px !important;
  }

  /* Statement Reveal section on mobile */
  #statement-reveal-section {
    height: auto !important;
    min-height: 36vh !important;
    padding: 0 !important;
  }

  .statement-sticky-container {
    position: relative !important;
    height: auto !important;
    min-height: 36vh !important;
    padding: 88px 24px 48px !important;
  }

  .statement-text {
    font-size: clamp(26px, 6vw, 42px) !important;
    padding: 0 !important;
  }
}

/* MOBILE ONLY (< 600px) */
@media (max-width: 600px) {
  .cs-modal-content { width: 95% !important; padding: 25px !important; }
  .imagine-subtext, .phil-text { font-size: 18px !important; margin-top: 15px !important; }

  /* Solutions page extra-small tweaks */
  .card-media {
    height: 260px !important;
  }

  .card-info {
    padding: 24px 18px !important;
    gap: 16px !important;
  }

  .solution-title {
    font-size: clamp(22px, 7vw, 30px) !important;
  }
}

/* ═══════════════════════════════════════════════════
   MOBILE NAVIGATION STYLES
   ═══════════════════════════════════════════════════ */
.hamburger-btn {
  display: none; background: none; border: none; color: var(--white); cursor: pointer; padding: 8px; z-index: 1000;
}
.mobile-nav {
  position: fixed; inset: 0; background: rgba(2, 4, 10, 0.98); backdrop-filter: blur(10px); z-index: 999;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-nav.active { opacity: 1; pointer-events: auto; }

/* Active page nav link */
.nl-active { color: var(--white) !important; opacity: 1 !important; position: relative; }
.nl-active::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--royal-blue, #4466ff); border-radius: 1px; }
.mobile-nav-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-nav-link { font-family: var(--mono); font-size: 24px; color: var(--white); text-decoration: none; text-transform: uppercase; letter-spacing: 0.1em; transition: color 0.3s ease; }
.mobile-nav-link:hover { color: var(--cyan); }

/* ═══════════════════════════════════════════════════
   SEARCH MODAL
   ═══════════════════════════════════════════════════ */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-modal.active {
  pointer-events: auto;
  opacity: 1;
}

.search-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.search-modal-content {
  position: relative;
  width: 90%;
  max-width: 600px;
  background: rgba(10, 12, 16, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-top: 100px;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.search-modal.active .search-modal-content {
  transform: translateY(0);
}

.search-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  gap: 12px;
  color: #888;
}

.search-header input {
  flex: 1;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-family: var(--mono);
  outline: none;
}

.search-header input::placeholder {
  color: #666;
}

.search-close-btn {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.search-close-btn:hover {
  color: #fff;
}

.search-results {
  padding: 12px 0;
  max-height: 400px;
  overflow-y: auto;
}

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

.search-suggestions li {
  margin: 0;
}

.search-suggestions li a {
  display: block;
  padding: 12px 24px;
  color: #ccc;
  text-decoration: none;
  font-family: var(--sans);
  transition: background 0.2s, color 0.2s;
}

.search-suggestions li a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--cyan);
}

/* ═══════════════════════════════════════════════════
   SOLUTIONS CAROUSEL SECTION (Home & Solutions Page)
   ═══════════════════════════════════════════════════ */
.solutions-carousel-section {
  position: relative;
  background: var(--dark-bg);
  padding: 100px var(--pad) 120px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.solutions-carousel-header {
  max-width: 1400px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.solutions-section-subtitle {
  font-family: var(--mono);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}

.solutions-section-title {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--white);
}

.solutions-carousel-section {
  position: relative;
}

.solutions-carousel-container {
  position: relative;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 70px;
}

.solutions-carousel-nav {
  display: flex;
  gap: 16px;
}

.sol-side-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(11, 12, 18, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sol-arrow-prev {
  left: 6px;
}

.sol-arrow-next {
  right: 6px;
}

.sol-side-arrow svg {
  stroke-width: 3.2px;
  transition: transform 0.25s ease;
}

.sol-side-arrow:hover {
  background: var(--royal-blue);
  border-color: var(--cyan);
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 242, 254, 0.35);
  transform: translateY(-50%) scale(1.08);
}

.sol-side-arrow:hover svg {
  stroke-width: 3.5px;
}

.sol-arrow-prev:hover svg {
  transform: translateX(-2px);
}

.sol-arrow-next:hover svg {
  transform: translateX(2px);
}

.sol-side-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

@media (max-width: 768px) {
  .solutions-carousel-container {
    padding: 0 16px;
  }
  .sol-side-arrow {
    display: none;
  }
}

.sol-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sol-nav-btn svg {
  stroke-width: 2.8px;
}

.sol-nav-btn:hover {
  background: var(--royal-blue);
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 242, 254, 0.25);
}

.solutions-track-wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 20px;
}

.solutions-track-wrap::-webkit-scrollbar {
  display: none;
}

.solutions-track {
  display: flex;
  gap: 32px;
  width: max-content;
  padding: 10px 4px;
}

.sol-slide-card {
  scroll-snap-align: start;
  flex: 0 0 calc((min(1400px, 100vw - 2 * var(--pad)) - 32px) / 2);
  min-width: 320px;
  max-width: 660px;
  background: #0b0c12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.sol-slide-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.sol-card-media {
  position: relative;
  width: 100%;
  height: 440px;
  background: #040508;
  overflow: hidden;
}

.sol-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.sol-card-media img.sol-media-sol2,
.sol-card-sol2 .sol-card-media img {
  object-position: center 8%;
}

.sol-card-media img.sol-media-sol3,
.sol-card-sol3 .sol-card-media img {
  object-position: center 52%;
}

.sol-slide-card:hover .sol-card-media img {
  transform: scale(1.05);
}

.sol-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 99px;
}

.sol-card-body {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 16px;
}

.sol-card-title {
  font-size: 24px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.sol-card-tagline {
  font-size: 15px;
  font-weight: 500;
  color: var(--cyan);
  line-height: 1.4;
}

.sol-card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

.sol-card-bullets {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

.sol-card-bullets li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-left: 20px;
  line-height: 1.5;
}

.sol-card-bullets li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--cyan);
  font-size: 18px;
  line-height: 1;
  top: -1px;
}

@media (max-width: 900px) {
  .solutions-carousel-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .sol-slide-card {
    flex: 0 0 85vw;
  }
  .sol-card-body {
    padding: 24px;
  }
  .sol-card-media {
    height: 340px;
  }
}

/* ─────────────────────────────────────────────────────────────
   ADDITIONAL CAPABILITIES SECTION ("Other Things We Can Do")
   ───────────────────────────────────────────────────────────── */
.additional-capabilities-section {
  position: relative;
  background: #06070a;
  padding: 120px 0 100px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.add-cap-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  z-index: 2;
}

.add-cap-header {
  max-width: 780px;
  margin-bottom: 64px;
}

.add-cap-title {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 8px 0 16px;
}

.add-cap-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
}

.add-cap-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px;
  margin-bottom: 60px;
}

@media (max-width: 1200px) {
  .add-cap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 650px) {
  .add-cap-grid {
    grid-template-columns: 1fr !important;
  }
}

.add-cap-card {
  position: relative;
  background: #0b0d14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.add-cap-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.1);
}

.add-cap-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.add-cap-card:hover .add-cap-icon-box {
  transform: scale(1.08);
  background: rgba(0, 242, 254, 0.15);
}

.add-cap-card-title {
  font-size: 22px;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.add-cap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.add-cap-list li {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.add-cap-list li span {
  color: var(--cyan);
  font-weight: bold;
}

.add-cap-card:hover .add-cap-list li {
  color: rgba(255, 255, 255, 0.9);
}

.add-cap-cta-bar {
  background: linear-gradient(135deg, rgba(14, 21, 37, 0.8), rgba(8, 12, 20, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 20px;
  padding: 36px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 800px) {
  .add-cap-cta-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
}

