:root {
  /* Color Palette */
  --bg-color: #1E1E1E;
  --text-color: #F7F7F7;
  --accent-color: #00EFB5;
  --secondary-bg: #2A2A2A;

  /* Typography */
  --font-display: 'Nexa', 'Montserrat', sans-serif;
  --font-body: 'Mukta Mahee', 'Inter', sans-serif;
  --font-size-base: 16px;
  --font-size-h1: clamp(2.5rem, 6vw, 5rem);
  --font-size-h2: clamp(1.8rem, 4vw, 3.5rem);
  --font-size-h3: 1.5rem;

  /* Spacing */
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-long: 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a:hover {
  color: var(--accent-color);
}


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

/* Intro Overlay V6 */
.intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: z-index 0.1s linear 1s;
  /* Allow dropping behind */
}

.intro-overlay.send-to-back {
  z-index: 0;
  /* Behind content but in front of body/canvas=-1 */
}

.intro-container {
  width: 90%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* SVG Text Animation */
.intro-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.intro-text-svg {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 50px;
  fill: #1E1E1E;
  stroke: #1E1E1E;
  stroke-width: 0px;
  stroke-linejoin: round;
}

/* State 1: Progress Bar */
.intro-progress-container {
  width: 100%;
  max-width: 400px;
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.intro-progress-bar {
  width: 0%;
  height: 100%;
  background: #00EFB5;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading .intro-progress-bar {
  width: 100%;
}

/* State 2: Text Expanding (Stroke Thickens) */
.expanding .intro-text-svg {
  animation: expandStroke 1.5s forwards cubic-bezier(0.7, 0, 0.3, 1);
}

@keyframes expandStroke {
  0% {
    stroke-width: 0px;
  }

  100% {
    stroke-width: 3000px;
  }
}

/* Hide Progress Bar on expand */
.expanding .intro-progress-container {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Main Content Visibility */
.hero-content {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease 0.5s, transform 1s ease 0.5s;
  position: relative;
  z-index: 100;
  /* Above intro background */
}

.hero-show .hero-content {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-sm);
  display: block;
  /* Layout delegated to .header-inner */
  z-index: 10001;
  mix-blend-mode: normal;
  opacity: 1;
  /* Always visible — new JS controls show/hide via transform */
  transition: opacity 1s ease 0.5s;
}

.hero-show~.site-header,
.site-header.show {
  opacity: 1;
}

/* CTA Styles */
.cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

.cta-item {
  width: 100%;
}

.big-cta-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 3rem;
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  transition: all 0.4s ease;
  background: var(--accent-color);
  width: 100%;
  min-height: 140px;
  position: relative;
  text-decoration: none;
  /* Removes purple underline */
}

.big-cta-btn:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  background: transparent;
  box-shadow: 0 0 15px rgba(0, 239, 181, 0.28);
}

.cta-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0;
  color: #071015;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.25s ease, transform 0.25s ease, color 0.25s ease;
  opacity: 1;
  z-index: 2;
}

.big-cta-btn:hover .cta-title {
  opacity: 0;
  transform: scale(0.9);
}

.cta-icon {
  width: 48px;
  height: 48px;
  fill: #071015;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.25s ease, fill 0.25s ease;
  z-index: 1;
}

.big-cta-btn:hover .cta-icon {
  opacity: 1;
  fill: var(--accent-color);
}

.cta-desc {
  font-size: 0.9rem;
  opacity: 0.6;
  font-weight: 400;
  text-align: center;
  margin-top: 0.5rem;
  max-width: 250px;
}

.cta-divider {
  font-family: var(--font-display);
  font-size: 1.2rem;
  opacity: 0.5;
  font-weight: 800;
}

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
  /* Remove auto margin that was centering it */
}


.nav-links {
  display: none;
}

.hero-center-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  padding: var(--spacing-md);
  text-align: center;
}

.hero-question {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  font-weight: 300;
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
  letter-spacing: -1px;
  text-transform: uppercase;
}

/* Utility Classes */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: var(--spacing-xl) 0;
}

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

/* Button Styles */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  /* Removes purple underline */
  font-weight: 800;
  transition: all 0.3s ease;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    margin-top: 1rem;
  }

  .cta-group {
    flex-wrap: nowrap;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .cta-container {
    width: calc(50% - 0.25rem);
    max-width: none;
  }

  .cta-divider {
    display: none;
  }

  .big-cta-btn {
    padding: 0.9rem 0.75rem;
    min-height: 90px;
  }

  .cta-title {
    font-size: clamp(1rem, 4.2vw, 1.35rem);
    letter-spacing: 0.5px;
  }

  .cta-desc {
    font-size: 0.72rem;
    line-height: 1.35;
    max-width: 100%;
  }
}

.btn-primary {
  background-color: var(--accent-color);
  color: #000;
  border: 1px solid var(--accent-color);
}

.btn-primary:hover {
  background-color: transparent;
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: none;
}

/* Footer Styles */
.site-footer {
  background-color: var(--secondary-bg);
  padding: var(--spacing-lg) 0;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.footer-col {
  flex: 1;
  min-width: 250px;
  margin-bottom: var(--spacing-sm);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  line-height: 1.6;
  display: block;
}

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

.brand-mark {
  height: 30px;
  width: auto;
  display: block;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 24px;
  height: 24px;
  fill: rgba(255, 255, 255, 0.7);
  transition: fill 0.3s ease;
}

.social-links a:hover .social-icon {
  fill: var(--accent-color);
}

/* Marquee Styles */
.marquee-container {
  width: 100%;
  background-color: #000;
  color: #FFD700;
  /* Gold/Yellow Warning Color */
  overflow: hidden;
  white-space: nowrap;
  padding: 0.5rem 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 1px;
  border-bottom: 1px solid #333;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
  padding-left: 100%;
  /* Start off-screen */
}

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

  100% {
    transform: translateX(-100%);
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  align-items: start;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 0 20px rgba(0, 239, 181, 0.4);
}

.gsap-service-card {
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  height: 380px;
  min-height: 380px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-right: 2rem;
}

@media (max-width: 768px) {
  .gsap-service-card {
    width: 85vw;
    min-width: 85vw;
    max-width: 85vw;
    height: 380px;
    min-height: 380px;
    padding: 1.25rem;
    margin-right: 1.5rem;
  }
}

/* Icon Container & Transitions */
.icon-container-wrapper {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
  perspective: 1000px;
  /* For 3D transforms */
}

.icon-container {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

/* 2D State */
.icon-2d {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  backface-visibility: hidden;
  transition: opacity 0.4s ease;
}

.icon-2d svg {
  width: 80px;
  height: 80px;
  fill: var(--text-color);
}

/* Isometric State */
.icon-iso {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: rotateX(0deg) rotateY(0deg);
  /* Start flat-ish */
  transition: opacity 0.4s ease, transform 0.6s ease;
  pointer-events: none;
}

/* Transition Logic */
.icon-container.is-iso .icon-2d {
  opacity: 0;
}

.icon-container.is-iso .icon-iso {
  opacity: 1;
  transform: scale(1.1);
}

/* Isometric Cube Construction (CSS Only 3D) */
.cube {
  width: 60px;
  height: 60px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-30deg) rotateY(45deg);
}

.face {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(0, 239, 181, 0.2);
  border: 2px solid var(--accent-color);
  opacity: 0.8;
}

.face.front {
  transform: translateZ(30px);
}

.face.back {
  transform: rotateY(180deg) translateZ(30px);
}

.face.right {
  transform: rotateY(90deg) translateZ(30px);
}

.face.left {
  transform: rotateY(-90deg) translateZ(30px);
}

.face.top {
  transform: rotateX(90deg) translateZ(30px);
}

.face.bottom {
  transform: rotateX(-90deg) translateZ(30px);
}

/* Isometric Sphere (Simple Circle with Gradient) */
.sphere {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-color), #000);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
}

/* Isometric Bar Chart */
.bar-chart-iso {
  display: flex;
  gap: 5px;
  transform: skewY(-10deg);
  align-items: flex-end;
  height: 80px;
}

.bar {
  width: 20px;
  background: var(--accent-color);
  box-shadow: 2px 2px 0 rgba(255, 255, 255, 0.2);
}

.bar.b1 {
  height: 40%;
}

.bar.b2 {
  height: 70%;
}

.bar.b3 {
  height: 100%;
}

/* Service Typography */
.service-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.service-desc {
  opacity: 0.8;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Progress Bar */
.progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  margin-top: auto;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-color);
  transition: width 0.1s linear;
  /* Smooth scroll scrub */
}

/* CTA Section */
.grow-cta-section {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.grow-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 3rem;
  color: var(--text-color);
  text-transform: uppercase;
}

.grow-btn {
  font-size: 1.2rem;
  padding: 1.5rem 4rem;
  letter-spacing: 2px;
  color: #1E1E1E !important;
}

.grow-btn:hover {
  background-color: transparent !important;
  border-color: var(--accent-color) !important;
  color: var(--accent-color) !important;
  transform: translateY(-2px);
  box-shadow: none;
}

/* ─────────────────────────────────────────────
   BUSINESS PAGE REDESIGN STYLES
   ───────────────────────────────────────────── */

/* Hero Business */
.hero-business {
  padding-top: calc(var(--spacing-xl) + 60px);
  padding-bottom: var(--spacing-md);
  text-align: left;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.45;
  margin-bottom: 1.5rem;
}

.hero-business-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1;
  margin-bottom: 1.8rem;
  letter-spacing: -3px;
}

.word-cycle-wrapper {
  display: inline-block;
  overflow: visible;
}

.word-cycle {
  display: inline-block;
  color: var(--text-color);
  font-weight: 800;
  font-style: italic;
  transition: none;
}

.word-cycle.word-out {
  animation: wordFadeOut 0.25s forwards;
}

.word-cycle.word-in {
  animation: wordFadeIn 0.35s forwards;
}

@keyframes wordFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) skewX(0deg);
  }

  to {
    opacity: 0;
    transform: translateY(-20px) skewX(-5deg);
  }
}

@keyframes wordFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px) skewX(5deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) skewX(0deg);
  }
}

.hero-thin {
  font-weight: 200;
  color: rgba(247, 247, 247, 0.5);
  font-style: normal;
  letter-spacing: -2px;
}

.hero-bold {
  font-weight: 800;
  letter-spacing: -3px;
}

.hero-business-sub {
  font-size: 1.1rem;
  max-width: 500px;
  opacity: 0.7;
  line-height: 1.6;
  margin-bottom: 3rem;
}

/* ─── Marquee V2 (below hero) ─── */
.marquee-container-v2 {
  display: flex;
  overflow: hidden;
  user-select: none;
  transform: skewX(-4deg);
  border-top: 1px solid var(--accent-color);
  border-bottom: 1px solid rgba(0, 239, 181, 0.2);
  padding: 0.75rem 0;
  gap: 0;
  margin-left: -5%;
  width: 110%;
}

.marquee-inner {
  display: flex;
  gap: 0;
  white-space: nowrap;
  flex-shrink: 0;
  animation: marqueeV2 55s linear infinite;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-color);
}

.marquee-inner strong {
  font-weight: 800;
  font-size: 1.05rem;
}

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

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

/* ─── Sidebar Progress ─── */
.sidebar-progress {
  position: fixed;
  right: 10rem;
  /* Enough space for labels to the left of the bar */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}


.sidebar-progress.visible {
  opacity: 1;
}

.sidebar-progress-track {
  width: 2px;
  height: 240px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  position: relative;
  overflow: visible;
  /* Allow labels to extend leftward */
}

.sidebar-progress-fill {
  width: 100%;
  height: 0%;
  background: var(--accent-color);
  border-radius: 2px;
  transition: height 0.1s linear;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 0 8px rgba(0, 239, 181, 0.4);
}

.sidebar-ticks {
  position: absolute;
  top: 0;
  right: 0;
  /* anchored to right edge of the 2px bar */
  width: 160px;
  /* extends leftward for labels */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.sidebar-tick {
  display: flex;
  align-items: center;
  flex-direction: row;
  /* label first in DOM = visually left */
  gap: 10px;
  justify-content: flex-end;
}

.tick-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: -3px;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.sidebar-tick.active .tick-dot {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 8px rgba(0, 239, 181, 0.6);
}

.tick-label {
  font-family: var(--font-display);
  font-size: 2.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
  transition: color 0.3s ease;
  text-align: right;
}

.sidebar-tick.active .tick-label {
  color: var(--accent-color);
}

/* ─── Vertical Service Rows ─── */
.services-vertical {
  padding: var(--spacing-xl) 5%;
  max-width: 900px;
  margin: 0 auto;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.service-row.row-visible {
  opacity: 1;
  transform: translateX(0);
}

.service-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  flex-shrink: 0;
  width: 64px;
}

/* ─── Abstract Icon Base ─── */
.service-abstract-icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.service-abstract-icon.iso-state {
  transform: rotateX(15deg) rotateZ(-8deg) scale(1.1);
  filter: drop-shadow(0 8px 16px rgba(0, 239, 181, 0.3));
}

/* Go-to-Market → Arrow */
.icon-gtm {
  flex-direction: column;
  gap: 4px;
}

.shape-arrow-up {
  width: 0;
  height: 0;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 36px solid var(--accent-color);
  transition: border-bottom-color 0.4s ease, filter 0.4s ease;
}

.shape-trail {
  width: 12px;
  height: 20px;
  background: rgba(0, 239, 181, 0.4);
  border-radius: 0 0 4px 4px;
  transition: background 0.4s ease;
}

.icon-gtm.iso-state .shape-arrow-up {
  border-bottom-color: #fff;
  filter: drop-shadow(0 0 6px var(--accent-color));
}

/* Brand Identity → Concentric rings */
.icon-brand {
  position: relative;
}

.shape-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: border-color 0.4s ease, opacity 0.4s ease;
}

.shape-ring.r1 {
  width: 28px;
  height: 28px;
}

.shape-ring.r2 {
  width: 52px;
  height: 52px;
  opacity: 0.5;
}

.shape-ring.r3 {
  width: 76px;
  height: 76px;
  opacity: 0.2;
}

.icon-brand.iso-state .shape-ring {
  border-color: #fff;
  opacity: 1;
}

/* Digital Campaigns → Angled bars */
.shape-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  transform: skewX(-8deg);
  height: 60px;
}

.shape-bar {
  width: 10px;
  background: var(--accent-color);
  border-radius: 2px 2px 0 0;
  transition: background 0.4s ease;
}

.shape-bar.sb1 {
  height: 30%;
}

.shape-bar.sb2 {
  height: 55%;
}

.shape-bar.sb3 {
  height: 75%;
}

.shape-bar.sb4 {
  height: 100%;
}

.icon-digital.iso-state .shape-bar {
  background: #fff;
}

/* ─── Service Row Text ─── */
.service-row-content {
  flex: 1;
}

.service-row-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.service-row-desc {
  opacity: 0.65;
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 420px;
}

.service-row-desc strong {
  color: var(--text-color);
  opacity: 1;
  font-weight: 600;
}

.service-row-desc em {
  color: var(--accent-color);
  font-style: normal;
}

/* ─── Grow CTA Tweaks ─── */
.grow-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 1.5rem;
}

/* ─────────────────────────────────────────────
   POLISH PASS: HEADER + CURSOR + MARQUEE + SERVICES
   ───────────────────────────────────────────── */

/* --- Sticky Header (Right-aligned Logo) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 1.2rem 2.5rem;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.4s ease,
    backdrop-filter 0.4s ease;
}

.site-header.show,
.site-header {
  transform: translateY(0);
}

.site-header.header-hidden {
  transform: translateY(-110%);
}

/* After first scroll: add glass bg */
.site-header:not(.header-top) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
}

.header-inner {
  display: flex;
  justify-content: flex-end;
  /* Logo pushed to right */
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* --- Custom Cursor --- */
body {
  cursor: none;
}

body * {
  cursor: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  background: rgba(0, 239, 181, 0.12);
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  mix-blend-mode: exclusion;
  /* Contrast on light backgrounds */
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

.custom-cursor.cursor-hover {
  width: 44px;
  height: 44px;
  background: rgba(0, 239, 181, 0.25);
}

/* --- Full-Width Marquee (no side gaps) --- */
.marquee-container-v2 {
  display: flex;
  overflow: hidden;
  user-select: none;
  transform: skewX(-4deg);
  border-top: 1px solid var(--accent-color);
  border-bottom: 1px solid rgba(0, 239, 181, 0.2);
  padding: 0.75rem 0;
  /* Break out of container to be truly full-width */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* --- What We Offer Heading --- */
.what-we-offer-heading {
  padding-top: 5rem;
  padding-bottom: 1rem;
}

.offer-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 0.75rem;
}

.offer-sub {
  opacity: 0.5;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* --- Service Activities List --- */
.service-activities {
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-activities li {
  font-size: 0.8rem;
  opacity: 0.6;
  padding-left: 1.2rem;
  position: relative;
}

.service-activities li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.75rem;
  opacity: 0.8;
}

/* --- Sidebar Labels: Force Visible --- */
.tick-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  margin-right: 24px;
  /* Increased gap from the bar */
  transition: color 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.sidebar-tick.active .tick-label {
  color: var(--accent-color);
  opacity: 1;
}

/* --- 4-service sidebar tick spacing (final) --- */
.sidebar-ticks {
  position: absolute;
  top: 0;
  right: 0;
  /* anchored to right edge of bar */
  width: 160px;
  /* extends leftward for labels */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-progress-track {
  width: 2px;
  height: 240px;
  overflow: visible;
}

/* --- Abstract Icons: New Shapes --- */
/* Research → Magnifying glass */
.shape-magnify {
  position: relative;
  width: 70px;
  height: 70px;
}

.glass-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--accent-color);
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 239, 181, 0.05);
  /* Added subtle fill */
  box-shadow: inset 0 0 10px rgba(0, 239, 181, 0.2);
}

.glass-handle {
  width: 6px;
  height: 28px;
  background: var(--accent-color);
  position: absolute;
  top: 42px;
  left: 42px;
  transform: rotate(-135deg);
  transform-origin: top center;
  border-radius: 4px;
}



/* Fundraising → Heart */
.shape-heart {
  position: relative;
  width: 32px;
  height: 32px;
  background: var(--accent-color);
  transform: rotate(-45deg);
  border-radius: 1px;
  transition: background 0.4s ease;
}

.shape-heart::before,
.shape-heart::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--accent-color);
  border-radius: 50%;
  transition: background 0.4s ease;
}

.shape-heart::before {
  top: -16px;
  left: 0;
}

.shape-heart::after {
  left: 16px;
  top: 0;
}

.icon-heart.iso-state .shape-heart,
.icon-heart.iso-state .shape-heart::before,
.icon-heart.iso-state .shape-heart::after {
  background: #fff;
}

/* Plan → 2x2 grid */
.shape-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 60px;
  height: 60px;
}

.grid-cell {
  border-radius: 4px;
  background: rgba(0, 239, 181, 0.3);
  border: 1px solid var(--accent-color);
  transition: background 0.4s ease;
}

.grid-cell.gc1 {
  background: var(--accent-color);
}

.grid-cell.gc3 {
  background: var(--accent-color);
  opacity: 0.5;
}

/* Execute → Lightning bolt */
.shape-lightning {
  width: 50px;
  height: 70px;
  position: relative;
}

.bolt-top {
  width: 0;
  height: 0;
  border-left: 28px solid transparent;
  border-right: 0px solid transparent;
  border-bottom: 40px solid var(--accent-color);
  position: absolute;
  top: 0;
  left: 0;
}

.bolt-bot {
  width: 0;
  height: 0;
  border-left: 0px solid transparent;
  border-right: 28px solid transparent;
  border-top: 40px solid rgba(0, 239, 181, 0.5);
  position: absolute;
  bottom: 0;
  right: 0;
}

/* iso-state brightness boost */
.icon-research.iso-state .glass-circle,
.icon-research.iso-state .glass-handle {
  border-color: #fff;
  background: #fff;
}

.icon-plan.iso-state .grid-cell {
  background: #fff;
  border-color: #fff;
}

.icon-execute.iso-state .bolt-top {
  border-bottom-color: #fff;
}

.icon-execute.iso-state .bolt-bot {
  border-top-color: rgba(255, 255, 255, 0.5);
}

.icon-report.iso-state .shape-bar {
  background: #fff;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
  .sidebar-progress {
    display: none !important;
  }

  .services-vertical {
    padding: var(--spacing-lg) 1.5rem;
  }

  .service-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .service-row-desc {
    max-width: 100%;
  }

  .hero-business-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
  }
}

@media (max-width: 600px) {
  .custom-cursor {
    display: none !important;
  }

  body,
  body * {
    cursor: auto !important;
  }
}

/* ─── Metrics Section Styles ───────────────────────────── */
.metrics-section {
  padding: 6rem 0;
  background: var(--secondary-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 4rem;
  overflow: hidden;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.metric-card {
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(183, 161, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.metric-card:hover {
  transform: translateY(-5px);
  border-color: rgba(183, 161, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.metric-card:hover::before {
  opacity: 1;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-base);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.metric-label strong {
  color: var(--accent-color);
}

/* ─── Difference Flash Cards ───────────────────────────── */
.difference-wrap {
  width: 100%;
  position: relative;
  isolation: isolate;
}

.difference-eyebrow {
  margin: 0 0 0.7rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: rgba(5, 12, 15, 0.62);
  font-weight: 800;
}

.difference-title {
  text-align: center;
  margin: 0 0 2.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.95rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0b1114;
}

.roadmap-wrap {
  width: 100%;
}

.roadmap-v2 {
  position: relative;
  width: 100%;
  min-height: 460px;
  margin: 0 auto;
  overflow: visible;
  padding: 2.4rem 0 0.8rem;
  background: transparent;
  border-radius: 0;
  border: 0;
}

.roadmap-graph {
  position: absolute;
  left: 0;
  top: 18px;
  width: 1240px;
  height: 320px;
  pointer-events: none;
}

.roadmap-graph-segment {
  fill: none;
  stroke: rgba(8, 16, 20, 0.78);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(8, 16, 20, 0.2));
}

.roadmap-v2-track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: clamp(3rem, 6vw, 5rem);
  width: max-content;
  min-width: 100%;
  padding: 0 clamp(1rem, 3vw, 2.5rem) 0 clamp(0.8rem, 2.5vw, 1.6rem);
  height: 360px;
}

.roadmap-circle-track {
  width: 100%;
  min-width: 100%;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.roadmap-graph-circle {
  left: auto;
  top: 8px;
  width: min(92vw, 860px);
  height: 360px;
}

.roadmap-zigzag {
  position: relative;
  width: min(900px, 94vw);
  margin: 0 auto;
  padding: 0.6rem 0 0.8rem;
}

.roadmap-zigzag-axis {
  position: absolute;
  left: 50%;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(8, 16, 20, 0.25), rgba(8, 16, 20, 0.8), rgba(8, 16, 20, 0.25));
}

.roadmap-z-item {
  position: relative;
  width: calc(50% - 1.4rem);
  margin: 0 0 0.9rem;
}

.roadmap-z-item.left {
  margin-right: auto;
}

.roadmap-z-item.right {
  margin-left: auto;
}

.roadmap-z-item::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #071015;
  box-shadow: 0 0 0 4px rgba(0, 239, 181, 0.28);
  transform: translateY(-50%);
}

.roadmap-z-item.left::after {
  right: -1.85rem;
}

.roadmap-z-item.right::after {
  left: -1.85rem;
}

.roadmap-z-card {
  min-height: 58px;
  border: 1px solid rgba(8, 16, 20, 0.5);
  border-radius: 12px;
  background: rgba(8, 16, 20, 0.9);
  box-shadow: 0 12px 20px rgba(1, 8, 10, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.8rem;
}

.roadmap-z-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.05vw, 0.92rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(240, 250, 255, 0.96);
  text-align: center;
}

.roadmap-v2-item {
  display: none;
}

.roadmap-v2-card {
  width: auto;
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.roadmap-v2-card::before {
  display: none;
}

.roadmap-v2-card h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.58rem, 0.9vw, 0.72rem);
  line-height: 1.1;
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(8, 16, 20, 0.92);
  text-shadow: 0 0 1px rgba(240, 255, 250, 0.3);
}

.roadmap-v2-card p {
  display: none;
}

.roadmap-v2-index {
  display: none;
}

.roadmap-graph-node {
  fill: rgba(8, 16, 20, 0.8);
  stroke: rgba(0, 239, 181, 0.55);
  stroke-width: 1;
  filter: drop-shadow(0 0 4px rgba(8, 16, 20, 0.28));
}

.roadmap-graph-label {
  fill: rgba(235, 246, 255, 0.96);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  pointer-events: none;
}

.roadmap-v2-track > .roadmap-v2-item:nth-of-type(1) { margin-top: 225px; }
.roadmap-v2-track > .roadmap-v2-item:nth-of-type(2) { margin-top: 199px; }
.roadmap-v2-track > .roadmap-v2-item:nth-of-type(3) { margin-top: 161px; }
.roadmap-v2-track > .roadmap-v2-item:nth-of-type(4) { margin-top: 121px; }
.roadmap-v2-track > .roadmap-v2-item:nth-of-type(5) { margin-top: 83px; }
.roadmap-v2-track > .roadmap-v2-item:nth-of-type(6) { margin-top: 49px; }

.roadmap-v2-item.is-active .roadmap-v2-card {
  transform: scale(1.05);
  box-shadow: none;
}

.flash-grid {
  position: relative;
  height: 900px;
  z-index: 2;
}

#businessMetrics.flash-grid {
  height: 1180px;
}

.flash-card {
  perspective: 1200px;
  min-height: 300px;
  position: absolute;
  inset: 0;
  margin: 0 auto;
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
  max-width: 340px;
  transform-origin: center center;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.35));
}

#businessMetrics .flash-card,
#businessMetrics .flash-card-inner {
  width: min(320px, 100%);
  max-width: 320px;
  min-height: 300px;
}

.flash-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 300px;
  transform-style: preserve-3d;
  transition: transform 0.55s ease;
}

.flash-card:hover .flash-card-inner,
.flash-card:focus-within .flash-card-inner {
  transform: rotateY(180deg);
}

#businessMetrics .flash-card:hover .flash-card-inner,
#businessMetrics .flash-card:focus-within .flash-card-inner {
  transform: none;
}

.flash-face {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.4rem;
}

.flash-front {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(0, 239, 181, 0.08);
  display: grid;
  grid-template-columns: 38% 62%;
  align-items: stretch;
  padding: 0;
}

.flash-back {
  transform: rotateY(180deg);
  background: linear-gradient(155deg, rgba(0, 239, 181, 0.2), rgba(7, 10, 14, 0.75));
}

.flash-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(0, 239, 181, 0.35);
  background: rgba(0, 239, 181, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.flash-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-color);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flash-face h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.25;
}

.flash-face p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.55;
}

.flash-step-copy {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.flash-front-icon {
  border-right: 1px solid rgba(0, 239, 181, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(0, 239, 181, 0.08), rgba(0, 239, 181, 0.02));
}

.flash-front-text {
  padding: 1rem 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}

.flash-index {
  font-family: var(--font-display);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: rgba(255, 255, 255, 0.45);
}

.process-script {
  position: absolute;
  inset: -10% 0 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-script span {
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(1.55rem, 3.1vw, 2.5rem);
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.045);
  transform: rotate(-5deg);
  white-space: nowrap;
  user-select: none;
}

.flash-connector {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 650px;
  transform: translate(-50%, -50%);
  background: rgba(0, 239, 181, 0.12);
  z-index: 1;
}

#businessMetrics .flash-connector {
  height: 920px;
}

.flash-segment {
  position: absolute;
  left: 50%;
  width: 2px;
  height: 148px;
  background: linear-gradient(180deg, rgba(0, 239, 181, 0.2), rgba(0, 239, 181, 0.92));
  transform: translateX(-50%);
}

.flash-segment.seg-1 {
  top: 172px;
}

.flash-segment.seg-2 {
  top: 330px;
}

.flash-node {
  position: absolute;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(0, 239, 181, 1);
  box-shadow: 0 0 9px rgba(0, 239, 181, 0.32);
  transform: translate(-50%, -50%);
}

.flash-node.node-1 { top: 330px; }
.flash-node.node-2 { top: 490px; }

.plane-scene {
  margin-top: 0.45rem;
  height: 38px;
  position: relative;
}

.mini-plane,
.brand-plane {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid currentColor;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  opacity: 0.45;
}

.mini-plane {
  color: rgba(255, 255, 255, 0.5);
}

.mini-plane.p1 { left: 8px; top: 13px; transform: scale(0.65); }
.mini-plane.p2 { left: 30px; top: 8px; transform: scale(0.58); }
.mini-plane.p3 { left: 52px; top: 15px; transform: scale(0.62); }

.brand-plane {
  color: var(--accent-color);
  left: 86px;
  top: 9px;
  transform: scale(0.95);
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(0, 239, 181, 0.65));
}

.expansion-tag {
  position: absolute;
  left: 120px;
  top: 6px;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(0, 239, 181, 0.9);
  font-weight: 800;
  opacity: 0.55;
}

@keyframes miniPlaneDrift {
  0% { transform: translateX(0) translateY(0) scale(var(--p-scale, 0.6)); opacity: 0.35; }
  50% { transform: translateX(12px) translateY(-3px) scale(var(--p-scale, 0.6)); opacity: 0.5; }
  100% { transform: translateX(24px) translateY(-1px) scale(var(--p-scale, 0.6)); opacity: 0.3; }
}

@keyframes brandPlaneFly {
  0% { transform: translateX(0) translateY(0) scale(0.95); opacity: 0.7; }
  35% { transform: translateX(40px) translateY(-4px) scale(1.04); opacity: 1; }
  100% { transform: translateX(105px) translateY(-7px) scale(1.12); opacity: 0.98; }
}

@keyframes expansionPulse {
  0% { opacity: 0.45; letter-spacing: 0.11em; }
  50% { opacity: 1; letter-spacing: 0.14em; }
  100% { opacity: 0.65; letter-spacing: 0.12em; }
}

.plane-scene .mini-plane,
.plane-scene .brand-plane,
.plane-scene .expansion-tag {
  animation-play-state: paused;
}

.plane-scene .mini-plane.p1 { --p-scale: 0.65; animation: miniPlaneDrift 2.8s linear infinite; }
.plane-scene .mini-plane.p2 { --p-scale: 0.58; animation: miniPlaneDrift 3.1s linear infinite; animation-delay: 0.2s; }
.plane-scene .mini-plane.p3 { --p-scale: 0.62; animation: miniPlaneDrift 2.9s linear infinite; animation-delay: 0.4s; }
.plane-scene .brand-plane { animation: brandPlaneFly 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) infinite alternate; }
.plane-scene .expansion-tag { animation: expansionPulse 2s ease-in-out infinite; }

.plane-scene.is-active .mini-plane,
.plane-scene.is-active .brand-plane,
.plane-scene.is-active .expansion-tag {
  animation-play-state: running;
}

@keyframes iconFloat {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

.service-icon svg,
.social-links svg,
.flash-icon svg {
  animation: iconFloat 4.2s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon svg,
.flash-card:nth-child(2) .flash-icon svg {
  animation-delay: 0.35s;
}

.service-card:nth-child(3) .service-icon svg,
.flash-card:nth-child(3) .flash-icon svg {
  animation-delay: 0.7s;
}

@media (max-width: 980px) {
  .bottom-tick {
    font-size: 0.62rem !important;
    letter-spacing: 1px !important;
  }

  .roadmap-v2 {
    min-height: 390px;
  }

  .roadmap-graph {
    top: 28px;
    width: 1080px;
    height: 280px;
  }

  .roadmap-v2-track {
    gap: 2.2rem;
    height: 320px;
  }

  .roadmap-graph-circle {
    width: min(94vw, 740px);
    height: 330px;
  }

  .roadmap-zigzag {
    width: min(940px, 96vw);
  }

  .roadmap-z-item {
    width: calc(50% - 1.1rem);
  }

  .roadmap-graph-label {
    font-size: 11px;
  }

  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(1) { margin-top: 206px; }
  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(2) { margin-top: 184px; }
  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(3) { margin-top: 151px; }
  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(4) { margin-top: 116px; }
  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(5) { margin-top: 84px; }
  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(6) { margin-top: 56px; }

  .flash-grid {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .flash-card {
    position: static;
    inset: auto;
    max-width: none;
    width: 100%;
    aspect-ratio: auto;
    filter: none;
  }

  .flash-card,
  .flash-card-inner {
    min-height: auto;
    height: auto;
  }

  .flash-card-inner {
    display: grid;
    gap: 0.8rem;
  }

  .flash-face {
    position: relative;
    min-height: 140px;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
  }

  .flash-back {
    transform: none;
    background: linear-gradient(155deg, rgba(0, 239, 181, 0.12), rgba(7, 10, 14, 0.75));
  }

  .flash-front {
    grid-template-columns: 86px 1fr;
  }

  .flash-connector,
  .process-script {
    display: none;
  }
}

@media (max-width: 640px) {
  .roadmap-v2 {
    min-height: 340px;
    padding-top: 1.2rem;
  }

  .roadmap-graph {
    top: 30px;
    width: 960px;
    height: 250px;
  }

  .roadmap-v2-track {
    gap: 1rem;
    height: 280px;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }

  .roadmap-circle-track {
    padding-left: 0;
    padding-right: 0;
    height: 300px;
  }

  .roadmap-graph-circle {
    width: min(96vw, 560px);
    height: 300px;
    top: 4px;
  }

  .roadmap-graph-label {
    font-size: 10px;
  }

  .roadmap-zigzag {
    width: 100%;
    padding: 0.3rem 0 0.4rem;
  }

  .roadmap-zigzag-axis {
    left: 18px;
    transform: none;
  }

  .roadmap-z-item,
  .roadmap-z-item.left,
  .roadmap-z-item.right {
    width: calc(100% - 2rem);
    margin-left: 2rem;
    margin-right: 0;
    margin-bottom: 0.7rem;
  }

  .roadmap-z-item.left::after,
  .roadmap-z-item.right::after {
    left: -1.42rem;
    right: auto;
  }

  .roadmap-z-card {
    min-height: 52px;
    padding: 0.56rem 0.62rem;
    border-radius: 10px;
  }

  .roadmap-z-card h4 {
    font-size: 0.64rem;
  }

  .roadmap-graph-node {
    r: 5;
  }

  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(1) { margin-top: 186px; }
  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(2) { margin-top: 168px; }
  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(3) { margin-top: 139px; }
  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(4) { margin-top: 110px; }
  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(5) { margin-top: 85px; }
  .roadmap-v2-track > .roadmap-v2-item:nth-of-type(6) { margin-top: 63px; }

  .bottom-tick {
    font-size: 0.56rem !important;
    letter-spacing: 0.8px !important;
  }
}

/* ─── GSAP Scroll Animation Utilities ────────────────── */
.gsap-slide {
  position: absolute;
}

.gsap-screen {
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  will-change: transform, opacity;
}

.gsap-pin-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.gsap-horizontal-scroll {
  display: flex;
  gap: 2rem;
  width: max-content;
  /* allows children to define total width */
  height: 100%;
  align-items: center;
  padding: 0 10vw;
}

.gsap-horizontal-scroll .service-card {
  width: 400px;
  margin-right: 29px;
  flex-shrink: 0;
}

main {
  flex: 1 0 auto;
}

.gsap-metrics-slide {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #00efb5;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  overflow: hidden;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}

.gsap-metrics-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(7, 14, 17, 0.28) 1.1px, transparent 1.2px);
  background-size: 16px 16px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.gsap-metrics-slide > .container {
  position: relative;
  z-index: 1;
}

.gsap-cta-slide {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-color);
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gsap-origami-slide {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-color);
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
}
