/* ─────────────────────────────────────────
   RESET & TOKENS
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
  border-radius: 4px;
}

:root {
  /* Palette */
  --white:         #ffffff;
  --off-white:     #f2f1f6;
  --dark:          #1a1a2e;
  --darker:        #0a0a0f;
  --pill-bg:       #252540;
  --pill-inner:    #2e2e52;
  --menu-bg:       #1e1e35;
  --purple:        #8b2fc9;
  --purple-hover:  #a040e8;
  --light-btn:     #d0cfe8;
  --light-hover:   #e8e7f5;
  --ticker-bg:     #1e1030;

  /* Typography */
  --font:          'Montserrat', sans-serif;

  /* Radii */
  --r-pill:        50px;
  --r-menu:        24px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}


/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 18px 24px 0;
  transition: padding 0.4s var(--ease-out-expo);
}

#site-header.scrolled {
  padding: 10px 24px 0;
}

#nav-bar {
  width: 100%;
  max-width: 780px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--off-white);
  border-radius: var(--r-pill);
  padding: 10px 10px 10px 18px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 32px rgba(0,0,0,0.10);
  transition: border-radius 0.3s var(--ease-out-expo), box-shadow 0.4s ease;
}

#site-header.scrolled #nav-bar {
  box-shadow: 0 8px 48px rgba(0,0,0,0.18);
}

#site-header.open #nav-bar {
  border-radius: var(--r-pill) var(--r-pill) 0 0;
}


#logo {
  display: flex;
  align-items: center;
  height: 44px;
  flex-shrink: 0;
}

#logo img {
  height: 100%;
  width: auto;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

#get-started-text {
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.02em;
}
#get-started-text:hover { text-decoration: underline; }

#menu-toggle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--pill-inner);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.2s ease;
  flex-shrink: 0;
}
#menu-toggle:hover { background: #3d3d6a; }
#menu-toggle svg   { width: 20px; height: 20px; }

/* Dropdown */
#nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--menu-bg);
  border-radius: 0 0 var(--r-menu) var(--r-menu);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    max-height 0.45s var(--ease-out-expo),
    opacity    0.35s ease,
    transform  0.45s var(--ease-out-expo);
  z-index: 1;
  padding: 0 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

#site-header.open #nav-dropdown {
  max-height: 520px;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav-links {
  list-style: none;
  padding: 28px 0 16px;
}
.nav-links li {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-links li:last-child { border-bottom: none; }

#site-header.open .nav-links li:nth-child(1) { opacity:1; transform:none; transition-delay:0.08s; }
#site-header.open .nav-links li:nth-child(2) { opacity:1; transform:none; transition-delay:0.14s; }
#site-header.open .nav-links li:nth-child(3) { opacity:1; transform:none; transition-delay:0.20s; }
#site-header.open .nav-links li:nth-child(4) { opacity:1; transform:none; transition-delay:0.26s; }

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  text-decoration: none;
  color: var(--white);
  font-weight: 900;
  font-size: clamp(26px, 4.5vw, 46px);
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: #c57eff; }
.nav-links a .arrow {
  font-size: 20px;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-links a:hover .arrow { transform: translateX(5px); opacity: 1; }

.cta-row {
  display: flex;
  gap: 12px;
  padding: 16px 0 24px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease 0.32s, transform 0.3s ease 0.32s;
}
#site-header.open .cta-row { opacity: 1; transform: none; }

.cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-radius: var(--r-pill);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.25;
  transition: background 0.2s ease, transform 0.15s ease;
}
.cta-btn:active { transform: scale(0.97); }
.cta-btn .btn-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px; margin-left: 10px; flex-shrink: 0;
}
.cta-btn.light  { background: var(--light-btn);  color: var(--dark); }
.cta-btn.light:hover  { background: var(--light-hover); }
.cta-btn.purple { background: var(--purple);      color: var(--white); }
.cta-btn.purple:hover { background: var(--purple-hover); }


/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  /* top padding pushes content below the fixed nav */
  padding-top: 100px;
  background: var(--white);
  overflow: hidden;
}

/* ── Headline + CTA ── */
.hero-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px 56px;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 900;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 36px;
  letter-spacing: -0.02em;
}

/* stagger reveal on load */
.hero-heading .line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s var(--ease-out-expo) forwards;
  animation-delay: calc(0.15s + var(--i) * 0.12s);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}


/* ── Get Started button ── */
.hero-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 52px;
  border-radius: var(--r-pill);
  background: var(--dark);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  overflow: hidden;
  /* load-in */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease-out-expo) 0.42s forwards;
  transition: transform 0.25s var(--ease-out-expo),
              box-shadow 0.25s ease;
}

/* Ripple ring that expands on hover */
.hero-btn__ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(255,255,255,0.4);
  transform: scale(1);
  opacity: 0;
  transition: transform 0.5s var(--ease-out-expo),
              opacity   0.5s ease;
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px rgba(26,26,46,0.28);
  background: #2d2d50;
}

.hero-btn:hover .hero-btn__ring {
  transform: scale(1.18);
  opacity: 1;
}

/* shimmer sweep */
.hero-btn::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}
.hero-btn:hover::after { left: 130%; }

.hero-btn:active { transform: scale(0.97); }


/* ── Hero image ── */
.hero-image-wrap {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  display: block;
  line-height: 0;
  position: relative;
}

/* Gradient bridges — fade into white above and ticker-dark below */
.hero-image-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--white) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--ticker-bg) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

#home-header-img1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  /* subtle parallax handled in JS */
  will-change: transform;
  /* load-in */
  opacity: 0;
  transform: scale(1.04);
  animation: imgReveal 1s var(--ease-out-expo) 0.3s forwards;
}

@keyframes imgReveal {
  to { opacity: 1; transform: scale(1); }
}


/* ─────────────────────────────────────────
   TICKER / MARQUEE
───────────────────────────────────────── */
.ticker-wrap {
  width: 100%;
  background: var(--ticker-bg);
  overflow: hidden;
  padding: 22px 0;
  position: relative;
  z-index: 3;
}

/* Fade edges */
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--ticker-bg), transparent);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--ticker-bg), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: ticker 22s linear infinite;
  will-change: transform;
}

.ticker-track:hover { animation-play-state: paused; }

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 56px);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.12);
  padding: 0 24px;
  /* outlined stroke effect */
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.25);
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.ticker-sep {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(20px, 3vw, 36px);
  color: var(--purple);
  opacity: 0.7;
  padding: 0 4px;
  user-select: none;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 600px) {
  .hero-copy { padding: 48px 20px 44px; }

  .hero-btn { padding: 16px 40px; font-size: 14px; }

  .hero-image-wrap { max-height: 340px; }

  .ticker-item { -webkit-text-stroke: 1px rgba(255,255,255,0.25); }
}


/* ═════════════════════════════════════════
   ABOUT INTRO — two-col text block
═════════════════════════════════════════ */
#about-intro {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 100px 120px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  align-items: start;
  position: relative;  /* so z-index stacking works */
  z-index: 1;
}

.about-intro__heading {
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.02em;
  /* scroll reveal */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.about-intro__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 6px;
}

.about-intro__tagline {
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.55;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo) 0.1s, transform 0.8s var(--ease-out-expo) 0.1s;
}

.about-intro__body {
  font-weight: 500;
  font-size: 14px;
  color: #555570;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo) 0.2s, transform 0.8s var(--ease-out-expo) 0.2s;
}

/* revealed state */
.reveal-in .about-intro__heading,
.reveal-in .about-intro__tagline,
.reveal-in .about-intro__body {
  opacity: 1;
  transform: translateY(0);
}


/* ═════════════════════════════════════════
   FEATURE CARD — full-width, diagonal gradient, overflow image
═════════════════════════════════════════ */
#feature-card {
  /* full viewport width — no margins */
  width: 100%;
  position: relative;
  overflow: hidden;           /* clips the image on the right edge */
  background: linear-gradient(135deg, #2B2644 0%, #766CC4 100%);
  /* scroll reveal */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

/* Animated glow orb — subtle depth behind the content */
#feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 80% at 75% 50%, rgba(160, 64, 232, 0.25), transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: featureGlow 6s ease-in-out infinite alternate;
}

@keyframes featureGlow {
  from { opacity: 0.5; }
  to   { opacity: 1; }
}

#feature-card.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* Inner wrapper constrains text to 120px margins */
.feature-card__inner {
  max-width: 1680px;
  margin: 0 auto;
  padding: 80px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 520px;
  position: relative;
}

.feature-card__content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.feature-card__heading {
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 52px);
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.02em;
}

.feature-card__body {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 400px;
}

/* Feature button */
.feature-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 16px 44px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease,
              color 0.3s ease,
              transform 0.25s var(--ease-out-expo),
              box-shadow 0.25s ease;
}

/* white fill sweep on hover */
.feature-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
  border-radius: inherit;
}

.feature-btn:hover {
  color: var(--dark);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.3);
}

.feature-btn:hover::before { transform: scaleX(1); }
.feature-btn span { position: relative; z-index: 1; }
.feature-btn:active { transform: scale(0.97); }

/* Image — right column, bleeds top/bottom and half off right edge */
.feature-card__image {
  position: absolute;
  /* sit in the right column — start at 50% of inner width */
  right: -120px;           /* half off the right edge of the viewport */
  top: -60px;
  bottom: -60px;
  width: 58%;
  pointer-events: none;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#body-img1 {
  width: 100%;
  height: 120%;
  object-fit: contain;
  object-position: left center;
  display: block;
  filter: drop-shadow(-20px 20px 60px rgba(43,38,68,0.5));
}


/* ═════════════════════════════════════════
   MADE FOR IMPACT — stat + logo slider
═════════════════════════════════════════ */
#impact {
  width: 100%;
  max-width: 1680px;
  margin: 100px auto 0;
  padding: 0 120px 60px;
  position: relative;
  z-index: 1;
}

.impact__label {
  font-weight: 900;
  font-size: clamp(52px, 10vw, 130px);
  line-height: 0.9;
  color: var(--dark);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.impact__label.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* Bottom row: stat card + logo slider */
.impact__row {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Stat card */
.stat-card {
  background: linear-gradient(140deg, #2d1660 0%, #4a22a0 100%);
  border-radius: 24px;
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo) 0.15s, transform 0.8s var(--ease-out-expo) 0.15s;
}

.stat-card.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

.stat-card__number {
  font-weight: 900;
  font-size: clamp(64px, 8vw, 100px);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
  text-shadow: 0 0 40px rgba(139, 47, 201, 0.5),
               0 0 80px rgba(139, 47, 201, 0.2);
}

.stat-card__text {
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  max-width: 300px;
}

/* Logo slider */
.logo-slider-wrap {
  background: #f0eef8;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo) 0.25s, transform 0.8s var(--ease-out-expo) 0.25s;
}

.logo-slider-wrap.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* fade edges */

.logo-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: logoScroll 18s linear infinite;
  will-change: transform;
  padding: 0 24px;
}

.logo-track:hover { animation-play-state: paused; }

@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 100px;
  flex-shrink: 0;
  margin: 20px 16px;
  background: #ffffff;
  border-radius: 14px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease,
              transform 0.25s var(--ease-out-expo);
}

.logo-slide:hover {
  background: #fff;
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(139,47,201,0.12),
              0 6px 24px rgba(139,47,201,0.18);
  transform: translateY(-3px);
}

.logo-slide img {
  width: 110px;
  height: 60px;
  object-fit: contain;
}

/* Dots indicator */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 16px 0 8px;
  width: 100%;
  position: absolute;
  bottom: 10px;
  left: 0;
}

.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(139,47,201,0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}
.slider-dot.active {
  background: var(--purple);
  transform: scale(1.3);
  border-radius: 4px;
  width: 20px;
}


/* ═════════════════════════════════════════
   RESPONSIVE
═════════════════════════════════════════ */
@media (max-width: 1200px) {
  #about-intro         { padding: 80px 60px 60px; }
  .feature-card__inner { padding: 72px 60px; }
  #impact              { padding: 0 60px 80px; }
}

@media (max-width: 900px) {
  #about-intro {
    grid-template-columns: 1fr;
    padding: 64px 32px 52px;
    gap: 28px;
  }

  .feature-card__inner {
    grid-template-columns: 1fr;
    padding: 52px 32px 300px;
    min-height: unset;
  }

  .feature-card__image {
    position: relative;
    right: auto; top: auto; bottom: auto;
    width: 100%;
    height: 260px;
    overflow: hidden;
    margin-top: -240px;
  }

  #body-img1 {
    width: 100%;
    height: 100%;
    object-position: center top;
    margin-left: 0;
  }

  .impact__row { grid-template-columns: 1fr; }
  #impact      { padding: 0 32px 64px; }
}

@media (max-width: 600px) {
  #about-intro         { padding: 52px 20px 44px; }
  .feature-card__inner { padding: 44px 20px 260px; }
  .logo-slide          { width: 140px; height: 80px; }
  #impact              { padding: 0 20px 56px; }
}


/* ═════════════════════════════════════════
   WHAT WE DO — sticky stacking cards
═════════════════════════════════════════ */
#what-we-do {
  max-width: 1680px;
  margin: 0 auto;
  padding: 60px 120px 0;
}

/* ── Header ── */
.wwd-header {
  margin-bottom: 60px;
}

.wwd-title {
  font-weight: 900;
  font-size: clamp(52px, 10vw, 130px);
  line-height: 0.9;
  color: var(--dark);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.wwd-sub {
  font-size: 15px;
  font-weight: 500;
  color: #555570;
  line-height: 1.7;
  max-width: 520px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo) 0.12s,
              transform 0.8s var(--ease-out-expo) 0.12s;
}

.reveal-in .wwd-title { opacity: 1; transform: translateY(0); }
.reveal-in .wwd-sub   { opacity: 1; transform: translateY(0); }
.reveal-in .wwd-cta   { opacity: 1; transform: translateY(0); }

/* ── Header CTA button ── */
.wwd-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 15px 26px 15px 30px;
  border-radius: var(--r-pill);
  background: var(--dark);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: background 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.3s var(--ease-out-expo),
              opacity 0.8s var(--ease-out-expo) 0.22s;
}

/* Shimmer sweep on hover */
.wwd-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.14), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.wwd-cta:hover {
  background: var(--purple);
  box-shadow: 0 8px 32px rgba(139,47,201,0.3);
  transform: translateY(-2px);
}

.wwd-cta:hover::before { left: 140%; }

.wwd-cta:active { transform: scale(0.97); }

.wwd-cta__arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s var(--ease-out-expo);
}

.wwd-cta:hover .wwd-cta__arrow {
  transform: translateX(4px);
}

/* ── Stack ── */
.wwd-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── Cards ── */
.wwd-card {
  position: sticky;
  top: 96px;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 360px;
  transition: transform 0.45s var(--ease-out-expo);
  will-change: transform;
}

/* Scale-down when next card slides over */
.wwd-card.is-scaled {
  transform: scale(0.96) translateY(-10px);
}

.wwd-card--1 { background: #150e2e;                                              z-index: 1; }
.wwd-card--2 { background: linear-gradient(135deg, #2d1b6e 0%, #4a2fa0 100%);   z-index: 2; }
.wwd-card--3 { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-hover) 100%); z-index: 3; }

/* ── Card content ── */
.wwd-card__content {
  padding: 60px 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.wwd-card__title {
  font-weight: 900;
  font-size: clamp(28px, 3.8vw, 54px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: uppercase;
}

.wwd-card__body {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 400px;
}

/* ── Card image ── */
.wwd-card__image {
  position: relative;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
}

.wwd-card__image img {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 115%;
  max-height: 420px;
  object-fit: contain;
  object-position: right center;
  filter: drop-shadow(-16px 20px 40px rgba(0,0,0,0.3));
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  #what-we-do          { padding: 80px 60px 0; }
  .wwd-card__content   { padding: 48px 40px; }
}

@media (max-width: 900px) {
  #what-we-do { padding: 64px 32px 0; }

  .wwd-card {
    grid-template-columns: 1fr;
    min-height: unset;
    position: relative; /* disable sticky on mobile — stacking doesn't work well */
    top: auto;
  }

  .wwd-card__content { padding: 40px 32px 0; }

  .wwd-card__image {
    min-height: 240px;
  }

  .wwd-card__image img {
    right: -5%;
    width: 100%;
    max-height: 260px;
  }
}

@media (max-width: 600px) {
  #what-we-do          { padding: 52px 20px 0; }
  .wwd-card            { border-radius: 20px; }
  .wwd-card__content   { padding: 32px 24px 0; }
  .wwd-card__image     { min-height: 200px; }
}


/* ═════════════════════════════════════════
   PREFERS-REDUCED-MOTION
═════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  /* Hero load-in animations */
  .hero-heading .line,
  .hero-btn,
  #home-header-img1 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* Marquee + logo scroll */
  .ticker-track,
  .logo-track {
    animation-play-state: paused !important;
  }

  /* Feature card glow */
  #feature-card::before {
    animation: none !important;
    opacity: 0.75;
  }

  /* Scroll-reveal transitions — instant */
  .about-intro__heading,
  .about-intro__tagline,
  .about-intro__body,
  #feature-card,
  .impact__label,
  .stat-card,
  .logo-slider-wrap {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* What We Do */
  .wwd-title, .wwd-sub {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .wwd-card {
    transition: none !important;
  }
  .wwd-card.is-scaled {
    transform: none !important;
  }

  /* Contact page */
  .contact-eyebrow,
  .contact-email-link,
  .contact-hero__sub {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  #contact-body {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ═════════════════════════════════════════
   CONTACT PAGE
═════════════════════════════════════════ */

/* ── Hero ── */
#contact-hero {
  background: var(--white);
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.contact-hero__copy {
  text-align: center;
  padding: 60px 24px 56px;
  position: relative;
  z-index: 2;
}

/* Atmospheric purple orb */
.contact-hero__glow {
  position: absolute;
  top: -80px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,47,201,0.1) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-eyebrow {
  position: relative;
  z-index: 1;
  font-family: var(--font);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out-expo) 0.1s forwards;
}

.contact-heading {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 900;
  font-size: clamp(38px, 6.5vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--dark);
  margin-bottom: 56px;
}

/* reuses .line + --i animation from global hero */

.contact-hero__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.contact-hero__sub {
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  color: #888;
  letter-spacing: 0.01em;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out-expo) 0.36s forwards;
}

/* Email link */
.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: -0.015em;
  color: var(--dark);
  text-decoration: none;
  position: relative;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out-expo) 0.50s forwards;
  transition: color 0.25s ease;
}

.contact-email-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0; right: 0;
  height: 2px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.contact-email-link:hover { color: var(--purple); }
.contact-email-link:hover::after { transform: scaleX(1); }

.contact-email-link__icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out-expo);
}

.contact-email-link:hover .contact-email-link__icon {
  opacity: 1;
  transform: translate(3px, -3px);
}


/* ── Contact body ── */
#contact-body {
  background: var(--white);
  padding: 100px 120px 120px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

#contact-body.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

.contact-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}


/* ── Left: info ── */
.contact-info__heading {
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 58px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--dark);
  margin-bottom: 24px;
}

.contact-info__body {
  font-size: 15px;
  font-weight: 500;
  color: #555570;
  line-height: 1.75;
  max-width: 380px;
  margin-bottom: 48px;
}

.contact-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
}

.contact-checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.4;
}

.checklist-arrow {
  color: var(--purple);
  font-size: 14px;
  flex-shrink: 0;
  opacity: 0.8;
}

.contact-direct {
  padding-top: 40px;
  border-top: 1px solid rgba(26,26,46,0.1);
}

.contact-direct__label {
  display: block;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(26,26,46,0.4);
  margin-bottom: 10px;
}

.contact-direct__link {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.contact-direct__link:hover { color: var(--purple); }


/* ── Right: form card ── */
.contact-form-wrap {
  background: linear-gradient(140deg, #1a0d35 0%, #2d1660 60%, #3d1f80 100%);
  border: 1px solid rgba(139,47,201,0.2);
  border-radius: 24px;
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.label-optional {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  opacity: 0.7;
}

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 15px 18px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
  min-height: 140px;
  resize: none;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.38);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
}

.form-error {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: #ff6b8a;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: rgba(255,107,138,0.08);
  border: 1px solid rgba(255,107,138,0.2);
  border-radius: 10px;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 16px 16px 24px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--dark);
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s ease,
              transform 0.25s var(--ease-out-expo),
              box-shadow 0.25s ease;
}

.form-submit:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}

.form-submit:active { transform: scale(0.98); }

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-submit__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.form-submit__icon svg {
  width: 16px; height: 16px;
  stroke: var(--white);
}

.form-submit:hover .form-submit__icon { background: #1a1a2e; }


/* ── Success state ── */
.form-success {
  text-align: center;
  padding: 72px 24px;
}

.success-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(139,47,201,0.12);
  border: 1.5px solid rgba(139,47,201,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.success-icon svg {
  width: 28px; height: 28px;
  stroke: #c57eff;
}

.success-heading {
  font-weight: 900;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 14px;
}

.success-body {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}


/* ── Contact responsive ── */
@media (max-width: 1200px) {
  #contact-body { padding: 80px 60px 100px; }
}

@media (max-width: 900px) {
  #contact-hero { padding-top: 80px; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  #contact-body { padding: 64px 32px 80px; }

  .form-row { grid-template-columns: 1fr; }

  .contact-info__body { max-width: 100%; }
}

@media (max-width: 600px) {
  #contact-hero { padding-top: 80px; }

  #contact-body { padding: 52px 20px 64px; }

  .contact-form-wrap { padding: 28px 20px; }
}