/* =========================================
   HYLIX INSIGHTS — Bioluminescent Abyss
   Modular CSS v1.0
   ========================================= */

/* --- CUSTOM PROPERTIES --- */
:root {
  /* Ocean Palette */
  --surface-cyan: #00e5ff;
  --surface-teal: #008080;
  --mid-blue: #004d6e;
  --deep-navy: #001e36;
  --abyss: #020204;
  --void: #000510;

  /* Bioluminescence */
  --glow-cyan: #00ffff;
  --glow-green: #00ffa3;
  --glow-blue: #4da6ff;
  --glow-white: #e0f7ff;

  /* Text */
  --text-primary: #e8f4f8;
  --text-secondary: rgba(200, 230, 240, 0.6);
  --text-dim: rgba(160, 200, 220, 0.35);

  /* Fonts */
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: 10vh;
  --content-max: 680px;
  --content-wide: 1100px;
}

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

html {
  scroll-behavior: auto;
  /* GSAP handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: #010108;
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 17px;
}

::selection {
  background: rgba(0, 255, 163, 0.25);
  color: var(--glow-white);
}

a {
  color: var(--glow-cyan);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--glow-green);
}

/* =============================================
   LAYER STACK:
   z:0  — Three.js WebGL (particles, deep)
   z:1  — Scrollable content panels
   z:3  — 2D Ocean Canvas (sky + stars + waves)
   z:5  — Hero content (quote, sits IN the sky)
   z:100 — Nav, depth indicator
   z:9999 — Loader
   ============================================= */

/* --- CANVAS LAYERS --- */
#hylix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Visible from start - now showing wave particles */
  opacity: 1;
}

/* --- HERO OVERLAY (quote lives in the sky) --- */
#hero-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 5;
  pointer-events: none;
  display: flex;
  justify-content: center;
  /* padding-top moved to individual quotes for absolute positioning */
}

#hero-overlay .hero-quote {
  text-align: center;
  opacity: 0;
  position: absolute;
  top: 20vh;
  /* "More on the top of the page" */
  width: 100%;
  padding: 0 24px;
  transition: opacity 1s ease-in-out;
}

#hero-overlay .hero-quote.active {
  opacity: 1;
}

#hero-overlay .hero-quote p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.2rem, 3.5vw, 2.6rem);
  line-height: 1.5;
  color: #c8dfe8;
  letter-spacing: 0.2px;
}

#hero-overlay .hero-quote em {
  font-style: italic;
  color: var(--glow-cyan);
  text-shadow: 0 0 25px rgba(0, 229, 255, 0.35), 0 0 50px rgba(0, 229, 255, 0.15);
}

#hero-overlay .hero-quote cite {
  display: block;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 3px;
  color: rgba(180, 210, 225, 0.45);
  text-transform: uppercase;
  opacity: 0.6;
}

/* Typing cursor for animation */
.type-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--glow-cyan);
  margin-left: 3px;
  animation: blink-cursor 0.8s step-end infinite;
  vertical-align: text-bottom;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
}

@keyframes blink-cursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Scroll hint (fixed) */
#scroll-hint-fixed {
  position: fixed;
  bottom: max(30px, 5vh);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

#scroll-hint-fixed span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0, 229, 255, 0.4);
  display: block;
  margin-bottom: 6px;
}

#scroll-hint-fixed .arrow {
  animation: bob 2.5s ease-in-out infinite;
  color: rgba(0, 229, 255, 0.5);
}

@keyframes bob {

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

  50% {
    transform: translateY(6px);
  }
}

/* --- LOADER --- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #010108;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.loader-glyph {
  font-size: 48px;
  color: var(--glow-cyan);
  animation: pulse-glow 1.5s ease-in-out infinite;
  margin-bottom: 24px;
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.loader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--glow-cyan), var(--glow-green));
  border-radius: 1px;
  animation: loader-fill 1.8s ease-in-out forwards;
}

@keyframes loader-fill {
  0% {
    width: 0%;
  }

  60% {
    width: 80%;
  }

  100% {
    width: 100%;
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.5;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
  }
}

/* --- NAV --- */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: opacity 0.4s ease;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon-svg {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px rgba(0, 255, 163, 0.4));
}

.logo-glyph.small {
  font-size: 16px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
  color: #cceff9;
  text-transform: lowercase;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--text-secondary);
  margin-left: 4px;
  align-self: flex-end;
  margin-bottom: 1px;
}

.nav-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--glow-cyan);
  border: 1px solid rgba(0, 255, 255, 0.2);
  padding: 10px 24px;
  border-radius: 2px;
  transition: all 0.3s ease;
  background: rgba(0, 20, 40, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-cta:hover {
  background: rgba(0, 255, 255, 0.1);
  border-color: var(--glow-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.15);
  color: var(--glow-white);
}

/* --- DEPTH INDICATOR --- */
#depth-indicator {
  position: fixed;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#depth-indicator.visible {
  opacity: 1;
}

.depth-track {
  width: 2px;
  height: 120px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 1px;
  position: relative;
  overflow: hidden;
}

.depth-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--glow-cyan), var(--glow-green));
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.4);
}

.depth-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
}

/* --- PANELS (Sections) --- */
.panel {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-pad) 40px;
}

.panel__content {
  max-width: var(--content-max);
  width: 100%;
}

.panel__content--left {
  max-width: var(--content-max);
  margin-right: auto;
  margin-left: 10vw;
}

.panel__content--wide {
  max-width: var(--content-wide);
  width: 100%;
}

.panel__content--center {
  max-width: var(--content-max);
  text-align: center;
}

/* Dark readable backdrop for text sections over bright particles */
.panel--void .panel__content,
.panel--expertise .panel__content,
.panel--platform .panel__content,
.panel--proof .panel__content,
.panel--cta .panel__content {
  background: rgba(1, 1, 8, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 255, 255, 0.04);
  border-radius: 8px;
  padding: 48px 40px;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.panel--pivot .panel__content {
  background: rgba(1, 1, 8, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 8px;
  padding: 40px 36px;
}

/* --- SECTION: HERO --- */
.panel--hero {
  min-height: 100vh;
}

.hero-quote {
  text-align: center;
}

.hero-quote p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 3.2rem);
  line-height: 1.4;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.hero-quote em {
  font-style: italic;
  color: var(--glow-cyan);
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.hero-quote .accent-trust {
  color: var(--glow-green);
  text-shadow: 0 0 30px rgba(0, 255, 163, 0.4);
}

.hero-quote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 2px;
  color: var(--text-dim);
  opacity: 0.6;
}

/* Pivot */
.hero-quote--pivot {
  text-align: center;
}

.hero-quote--pivot p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  line-height: 1.5;
  color: #c8dfe8;
}

.hero-quote--pivot .accent-trust {
  color: var(--glow-green);
  text-shadow: 0 0 30px rgba(0, 255, 163, 0.4);
  font-style: italic;
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.scroll-hint span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}

.scroll-hint__arrow {
  animation: bob 2s ease-in-out infinite;
  color: var(--glow-cyan);
}

/* --- SECTION COMMON ELEMENTS --- */
.section-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--glow-cyan);
  margin-bottom: 24px;
  opacity: 0.85;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.section-tag .mono {
  color: var(--glow-green);
  margin-right: 12px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 32px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.section-body p {
  margin-bottom: 20px;
  color: #d8eaf0;
  opacity: 1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.section-body p:last-child {
  margin-bottom: 0;
}

.mono {
  font-family: var(--font-mono);
}

.highlight {
  color: var(--glow-green);
  text-shadow: 0 0 12px rgba(0, 255, 163, 0.2);
}

.callout {
  border-left: 2px solid rgba(0, 255, 255, 0.35);
  padding-left: 20px;
  margin-top: 24px !important;
  color: #b0cdd8 !important;
  font-style: italic;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.callout strong {
  color: var(--glow-cyan);
  font-style: normal;
}

.callout em {
  color: var(--glow-green);
  font-style: italic;
}

/* --- STATS ROW --- */
.stat-row {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__number {
  font-size: 32px;
  font-weight: 600;
  color: var(--glow-cyan);
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  line-height: 1;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- PIPELINE VISUAL --- */
.pipeline-visual {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding: 28px 24px;
  background: rgba(0, 255, 255, 0.02);
  border: 1px solid rgba(0, 255, 255, 0.08);
  border-radius: 4px;
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
  justify-content: center;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 80px;
  padding: 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.pipeline-step.active {
  background: rgba(0, 255, 163, 0.06);
  border: 1px solid rgba(0, 255, 163, 0.2);
}

.pipeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--glow-cyan);
}

.pipeline-icon svg {
  width: 100%;
  height: 100%;
}

.pipeline-step.active .pipeline-icon {
  color: var(--glow-green);
  text-shadow: 0 0 16px rgba(0, 255, 163, 0.5);
}

.pipeline-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.pipeline-arrow {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-dim);
  flex-shrink: 0;
}

/* --- PROOF CARDS --- */
.panel--proof {
  align-items: flex-start;
  padding-top: 15vh;
  padding-bottom: 15vh;
}

.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.proof-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: default;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.proof-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.proof-card__glow {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.proof-card:hover .proof-card__glow {
  opacity: 1;
}

.proof-card__inner {
  position: relative;
  padding: 32px 28px;
  background: rgba(0, 30, 54, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.08);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s ease, background 0.4s ease;
}

.proof-card:hover .proof-card__inner {
  border-color: rgba(0, 255, 255, 0.25);
  background: rgba(0, 30, 54, 0.7);
}

.proof-card__tag {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--glow-green);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.proof-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.proof-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 20px;
}

.proof-card__link {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--glow-cyan);
  transition: color 0.3s ease;
  align-self: flex-start;
  font-family: var(--font-mono);
}

.proof-card__link:hover {
  color: var(--glow-green);
}

/* --- COLLABORATORS SECTION --- */
.collaborators-section {
  margin-top: 64px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 32px;
}

.collaborators-intro {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: block;
}

.collaborators-list {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.collaborators-list span {
  display: inline-block;
}

.collaborators-list .sep {
  margin: 0 12px;
  color: var(--glow-cyan);
  opacity: 0.5;
}

@media (max-width: 768px) {
  .collaborators-list .sep {
    margin: 0 6px;
  }

  .collaborators-section {
    margin-top: 48px;
  }
}

/* --- CTA / FOOTER --- */
.panel--cta {
  min-height: 80vh;
}

.cta-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.cta-sub {
  font-size: 18px;
  color: #b0cdd8;
  margin-bottom: 48px;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--abyss);
  background: var(--glow-cyan);
  padding: 16px 40px;
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.25), 0 0 60px rgba(0, 255, 255, 0.1);
}

.btn-cta:hover {
  color: #010108;
  background: var(--glow-green);
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 255, 163, 0.35), 0 0 80px rgba(0, 255, 163, 0.15);
}

.btn-cta svg {
  transition: transform 0.3s ease;
}

.btn-cta:hover svg {
  transform: translateX(4px);
}

.footer-links {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-link {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.footer-link:hover {
  color: var(--glow-cyan);
}

.footer-sep {
  color: var(--text-dim);
  font-size: 10px;
}

.footer-brand {
  margin-top: 48px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--text-dim);
}

.footer-copy {
  margin-top: 12px;
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 1px;
  font-family: var(--font-mono);
}

/* --- TSUNAMI CHART --- */
.panel--tsunami {
  min-height: auto;
  height: 100vh;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.tsunami-chart-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.tsunami-chart-wrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.tsunami-axis-text {
  fill: rgba(136, 170, 190, 0.6);
  font-size: 13px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 1px;
}

.tsunami-fill-path {
  fill: url(#tsunamiGrad);
  stroke: none;
  opacity: 0;
}

.tsunami-line-path {
  fill: none;
  stroke: var(--glow-cyan);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
}

.tsunami-callout text {
  fill: var(--glow-cyan);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

.tsunami-callout path {
  fill: none;
  stroke: var(--glow-cyan);
  stroke-width: 1;
  opacity: 0.6;
  marker-end: url(#tsunamiArrow);
}

.tsunami-data-label {
  fill: var(--text-primary);
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 600;
  opacity: 0;
}

.tsunami-data-line {
  stroke: rgba(0, 229, 255, 0.2);
  stroke-width: 1;
  stroke-dasharray: 4;
  opacity: 0;
}

.tsunami-data-dot {
  opacity: 0;
}

.tsunami-finale {
  position: absolute;
  top: 15%;
  left: 0;
  width: 100%;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

.tsunami-finale h2 {
  font-family: var(--font-mono);
  /* Changed to mono as requested */
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.tsunami-finale h2 span {
  color: var(--glow-cyan);
  text-shadow: 0 0 30px rgba(0, 229, 255, 0.5), 0 0 60px rgba(0, 229, 255, 0.2);
}

.tsunami-finale p {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-style: italic;
  margin-top: 16px;
}

/* --- GSAP REVEAL STATES --- */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
}

.reveal-text.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
  .panel__content--left {
    margin-left: 6vw;
  }

  .proof-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  #depth-indicator {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .panel {
    padding: var(--section-pad) 24px;
  }

  #nav {
    padding: 16px 24px;
  }

  .nav-cta {
    font-size: 10px;
    padding: 8px 16px;
  }

  .logo-sub {
    display: none;
  }

  .panel__content--left {
    margin-left: 0;
  }

  .section-heading {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .hero-quote p {
    font-size: clamp(1.3rem, 5vw, 2rem);
  }

  .stat-row {
    gap: 32px;
    flex-wrap: wrap;
  }

  .proof-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pipeline-visual {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }

  .pipeline-arrow {
    display: none;
  }

  .pipeline-step {
    flex: 1;
    min-width: 60px;
  }

  .btn-cta {
    padding: 14px 32px;
    font-size: 12px;
  }

  #hero-overlay {
    padding-bottom: 35vh;
  }

  #hero-overlay .hero-quote p {
    font-size: clamp(1.1rem, 4.5vw, 1.8rem);
  }

  .panel--void .panel__content,
  .panel--expertise .panel__content,
  .panel--platform .panel__content,
  .panel--proof .panel__content,
  .panel--cta .panel__content {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .panel {
    padding: 8vh 18px;
  }

  #nav {
    padding: 12px 18px;
  }

  .logo-text {
    font-size: 14px;
  }

  .section-heading {
    font-size: 1.6rem;
  }

  .stat__number {
    font-size: 26px;
  }

  .proof-card__inner {
    padding: 24px 20px;
  }

  #hero-overlay {
    padding-bottom: 38vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .type-cursor {
    animation: none;
    opacity: 1;
  }

  .loader-glyph {
    animation: none;
    opacity: 1;
  }
}