/* ==========================================================================
   Quantum Weave — Cinematic Premium Stylesheet
   Core Flow: Hero -> The Gap -> Our Approach -> FAQs
   Colors: Deep Navy (#07172d), White, Cyan/Teal (#00aaca/#82e1d5), Green (#087f61)
   ========================================================================== */

:root {
  --navy: #07172d;
  --navy-dark: #040e1c;
  --navy-surface: #0b2340;
  --ink: #0f1f38;
  --muted: #5e6f82;
  --muted-light: #94a3b8;
  --line: #dbe4eb;
  --line-dark: rgba(255, 255, 255, 0.12);
  --soft-bg: #f5f9f8;
  --white: #ffffff;
  --cyan: #00aaca;
  --cyan-glow: #70e8ee;
  --teal-light: #82e1d5;
  --green: #087f61;
  --green-hover: #06694f;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px rgba(7, 23, 45, 0.04);
  --shadow-md: 0 16px 40px rgba(7, 23, 45, 0.08);
  --shadow-lg: 0 30px 80px rgba(7, 23, 45, 0.16);
  --shadow-glow: 0 0 40px rgba(0, 170, 202, 0.2);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body.cinematic-theme {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-text {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.045em;
  margin: 0;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   Navigation: Light, Clean, Floating
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 23, 45, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-dark);
  z-index: 100;
  transition: background 0.3s ease;
  animation: navEntrance 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes navEntrance {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  font-size: 1.12rem;
}

.brand-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  vertical-align: middle;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-surface), #0f3458);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--cyan-glow);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 0.94rem;
  font-weight: 500;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

@media (min-width: 641px) {
  .mobile-hamburger-btn,
  .mobile-nav-panel {
    display: none !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-nav {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn-nav:hover {
  background: var(--green);
  border-color: var(--green);
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(8, 127, 97, 0.28);
}

.btn-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 14px 34px rgba(8, 127, 97, 0.38);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn-secondary-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* --------------------------------------------------------------------------
   1. COMPLETELY REDESIGNED CINEMATIC HERO
   Full-width canvas, ambient background video, zero player chrome
   -------------------------------------------------------------------------- */
.cinematic-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero-video-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.ambient-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  filter: contrast(1.15) brightness(0.85);
  animation: ambientVideoEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

@keyframes ambientVideoEnter {
  0% {
    transform: scale(1.02);
    opacity: 0.15;
  }
  100% {
    transform: scale(1);
    opacity: 0.32;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(7, 23, 45, 0.65) 0%, rgba(4, 14, 28, 0.94) 85%, #040e1c 100%);
  animation: heroOverlayEnter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroOverlayEnter {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes heroEntranceFadeUp {
  0% {
    opacity: 0;
    transform: translateY(var(--hero-y, 24px));
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan-glow);
  margin-bottom: 24px;
}

.hero-content .eyebrow-tag {
  --hero-y: 16px;
  animation: heroEntranceFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(0, 170, 202, 0.2);
  animation: pulseAnim 2.5s infinite;
}

@keyframes pulseAnim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(3rem, 6.2vw, 5.2rem);
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 22px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-title-line {
  display: block;
}

.hero-title-line.line-1 {
  --hero-y: 24px;
  animation: heroEntranceFadeUp 0.90s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both;
}

.hero-title-line.line-2 {
  --hero-y: 24px;
  animation: heroEntranceFadeUp 0.90s cubic-bezier(0.22, 1, 0.36, 1) 0.45s both;
}

.cyan-highlight {
  color: var(--cyan-glow);
  background: linear-gradient(135deg, #70e8ee 0%, #00aaca 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtext {
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  color: #c0d3e2;
  max-width: 580px;
  line-height: 1.5;
  margin: 0 0 34px;
  font-weight: 400;
  --hero-y: 20px;
  animation: heroEntranceFadeUp 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.60s both;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-cta-group .btn-primary {
  --hero-y: 16px;
  animation: heroEntranceFadeUp 0.80s cubic-bezier(0.22, 1, 0.36, 1) 0.78s both;
}

.hero-cta-group .btn-secondary {
  --hero-y: 16px;
  animation: heroEntranceFadeUp 0.80s cubic-bezier(0.22, 1, 0.36, 1) 0.90s both;
}

.hero-journey-indicator {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  --hero-y: 14px;
  animation: heroEntranceFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 1.05s both;
}

.indicator-step {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.indicator-step.active {
  color: var(--cyan-glow);
}

.indicator-line {
  width: 24px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Global Section Wrapper
   -------------------------------------------------------------------------- */
.section {
  padding: 110px max(24px, calc((100vw - 1240px) / 2));
}

.section-wrapper {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  line-height: 1.08;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-title.light {
  color: var(--white);
}

.section-tagline {
  font-size: clamp(1.1rem, 1.6vw, 1.28rem);
  color: var(--muted);
  max-width: 620px;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   2. VIDEO STORY SECTION (Standalone Section)
   -------------------------------------------------------------------------- */
.video-story-section {
  padding: 100px max(24px, calc((100vw - 1240px) / 2)) 80px;
  background: linear-gradient(180deg, var(--navy-dark) 0%, #07172d 65%, var(--soft-bg) 100%);
  color: var(--white);
  position: relative;
}

.video-heading-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.video-heading-block .eyebrow-tag {
  color: var(--cyan-glow);
}

.video-heading-block .section-title {
  color: var(--white);
}

.video-heading-block .section-tagline {
  color: #c4d7e6;
}

/* Cinematic Video Frame with Visible Controls */
.cinematic-video-frame {
  position: relative;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  background: var(--navy-dark);
}

.showcase-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--navy-dark);
}

/* --------------------------------------------------------------------------
   3. THE GAP — Standalone Problem Discovery Section
   -------------------------------------------------------------------------- */
.gap-section {
  padding: 100px max(24px, calc((100vw - 1240px) / 2));
  background: var(--soft-bg);
  position: relative;
  border-bottom: 1px solid var(--line);
}

.gap-heading-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.gap-heading-block .eyebrow-tag {
  color: var(--cyan);
}

.journey-experience {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 56px;
}

.journey-nodes {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.journey-node {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.journey-node:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.node-index {
  font-family: 'Manrope', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--cyan);
  display: block;
  margin-bottom: 6px;
}

.node-title {
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: var(--navy);
}

.node-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}

.journey-node.leak-node {
  border: 2px solid #f7a956;
  background: #fff9f3;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12);
  transform: scale(1.02);
}

.journey-node.leak-node .node-index {
  color: var(--amber-dark);
}

.journey-node.leak-node .node-title {
  color: #9a3412;
}

.leak-pulse-badge {
  position: absolute;
  top: -12px;
  right: 14px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.journey-node.growth-node {
  border-color: #82e1d5;
  background: #f0faf8;
}

.journey-node.growth-node .node-index,
.journey-node.growth-node .node-title {
  color: var(--green);
}

.journey-connector {
  position: relative;
  width: 24px;
  height: 2px;
  background: var(--line);
}

.flow-particle {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  animation: flowRight 2s linear infinite;
}

@keyframes flowRight {
  0% { left: 0; opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.leak-connector .drop-particle {
  background: var(--amber);
  animation: dropLeak 1.8s ease-in infinite;
}

@keyframes dropLeak {
  0% { transform: translate(0, 0); opacity: 1; }
  60% { transform: translate(12px, 20px) scale(0.8); opacity: 0.6; }
  100% { transform: translate(16px, 35px) scale(0); opacity: 0; }
}

/* Visual Artwork Integration */
.gap-cinematic-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(220, 229, 236, 0.9);
  background: var(--navy-dark);
}

.leak-artwork {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.visual-gradient-shim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(7, 23, 45, 0.8) 100%);
  pointer-events: none;
}

/* Bold Revelation Card */
.gap-revelation-card {
  text-align: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 680px;
  margin: 0 auto;
}

.gap-revelation-card p {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

.gap-revelation-card strong {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

/* The Three Common Leaks (Minimal Visual Labels) */
.leak-labels-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.leak-label-pill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.leak-label-pill:hover {
  transform: translateY(-2px);
  border-color: #a3c4cf;
}

.leak-indicator-dot {
  width: 10px;
  height: 10px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
  margin-top: 6px;
  flex-shrink: 0;
}

.leak-pill-text strong {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.leak-pill-text span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  display: block;
}

/* --------------------------------------------------------------------------
   3. OUR APPROACH — 4 Visual Chapters
   -------------------------------------------------------------------------- */
.approach-section {
  background: linear-gradient(135deg, #07172d 0%, #0c2742 100%);
  color: var(--white);
}

.approach-heading-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.approach-heading-block .eyebrow-tag {
  color: var(--cyan-glow);
}

.approach-chapters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.chapter-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.chapter-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
}

.chapter-badge {
  font-family: 'Manrope', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--cyan-glow);
  line-height: 1;
  flex-shrink: 0;
}

.chapter-body {
  flex: 1;
}

.chapter-sub {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-light);
  display: block;
  margin-bottom: 6px;
}

.chapter-name {
  font-size: 1.55rem;
  color: var(--white);
  margin-bottom: 6px;
}

.chapter-tagline {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-light);
  margin: 0 0 10px;
}

.chapter-desc {
  font-size: 0.94rem;
  color: #b5cad8;
  line-height: 1.55;
  margin: 0;
}

.approach-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   4. FAQs — Clean, Compact Accordion
   -------------------------------------------------------------------------- */
.faq-section {
  background: var(--white);
}

.faq-wrapper {
  max-width: 820px;
}

.faq-heading-block {
  text-align: center;
  margin-bottom: 50px;
}

.faq-heading-block .eyebrow-tag {
  color: var(--cyan);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

details:hover {
  border-color: #97c2cb;
}

details[open] {
  border-color: var(--cyan);
  box-shadow: 0 8px 24px rgba(0, 170, 202, 0.08);
}

summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--navy);
}

summary::-webkit-details-marker {
  display: none;
}

/* The original stylesheet rotates summary spans when a row opens. In the
   current markup the span is the question, so keep it stable and rotate only
   the dedicated plus icon below. */
.faq-accordion details summary > span,
.faq-accordion details[open] summary > span {
  display: block;
  flex: 1;
  min-width: 0;
  transform: none;
}

.faq-toggle {
  font-style: normal;
  font-size: 1.5rem;
  color: var(--cyan);
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

details[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 22px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   ASSESSMENT MODAL DIALOG
   -------------------------------------------------------------------------- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 28, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-lg);
  animation: modalSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: var(--ink);
}

.assessment-header h2 {
  font-size: 1.8rem;
  margin: 6px 0 8px;
  color: var(--navy);
}

.assessment-header p {
  color: var(--muted);
  font-size: 0.94rem;
  margin: 0 0 20px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  padding: 48px max(24px, calc((100vw - 1280px) / 2));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer .brand {
  color: var(--navy);
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--navy);
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-actions .btn {
  padding: 11px 20px;
  font-size: 0.9rem;
}

.btn-secondary-footer {
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary-footer:hover {
  background: #eef2f6;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.footer-meta-col {
  display: flex;
  align-items: center;
}

.back-to-top {
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.back-to-top:hover {
  text-decoration: underline;
}

.mobile-cta {
  display: none;
}

/* --------------------------------------------------------------------------
   Tablet Adjustments (641px - 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .journey-nodes {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .journey-connector {
    display: none;
  }

  .leak-labels-container {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .approach-chapters {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   PREMIUM SCROLL-DRIVEN ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-block .reveal-item {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-block.is-revealed .reveal-item:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.05s;
  transition-duration: 1.0s;
}

.reveal-block.is-revealed .reveal-item:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.22s;
  transition-duration: 1.1s;
}

.reveal-block.is-revealed .reveal-item:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.40s;
  transition-duration: 1.05s;
}

.reveal-item.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Video Frame Smooth Scale Reveal */
.reveal-video {
  opacity: 0;
  transform: scale(0.97) translateY(28px);
  transition: opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1), transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-video.is-revealed {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Journey Staggered Progressive Sequence */
.journey-node {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.journey-connector {
  position: relative;
  width: 28px;
  height: 2px;
  background: var(--line);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 0.7s ease, transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.flow-line {
  position: absolute;
  inset: 0;
  background: var(--cyan);
}

.reveal-journey.is-revealed .journey-node[data-stage="leads"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

.reveal-journey.is-revealed .journey-connector.conn-1 {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 0.30s;
}

.reveal-journey.is-revealed .journey-node[data-stage="conversations"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.52s;
}

.reveal-journey.is-revealed .journey-connector.conn-2 {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 0.74s;
}

.reveal-journey.is-revealed .journey-node[data-stage="customers"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.96s;
}

.reveal-journey.is-revealed .journey-connector.conn-3 {
  opacity: 1;
  transform: scaleX(1);
  transition-delay: 1.18s;
}

.reveal-journey.is-revealed .journey-node[data-stage="growth"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.40s;
}

/* Approach Chapters Progressive Reveal */
.reveal-chapter {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-chapter.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Leak Pills Stagger */
.reveal-pill {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1), transform 1.05s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal-pill.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Rows Stagger */
.reveal-faq {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1), transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-faq.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Footer Gentle Reveal */
.reveal-footer {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1), transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-footer.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* The Leak Highlight Active Pulse */
.journey-node.leak-node .leak-pulse-badge {
  animation: leakPulseGlow 2s ease-in-out infinite;
}

@keyframes leakPulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.55);
  }
}

/* Prefers-reduced-motion accessibility override */
@media (prefers-reduced-motion: reduce) {
  .nav,
  .ambient-video,
  .hero-overlay,
  .hero-content .eyebrow-tag,
  .hero-title-line.line-1,
  .hero-title-line.line-2,
  .hero-subtext,
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary,
  .hero-journey-indicator,
  .reveal-item,
  .reveal-video,
  .journey-node,
  .journey-connector,
  .reveal-chapter,
  .reveal-pill,
  .reveal-faq,
  .reveal-footer {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
