/* ─────────────────────────────────────────
   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;
  --font-display:  'Unbounded', 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; }

h1 {
  font-family: var(--font-display);
  font-weight: 700;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}


/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
#site-header {
  position: relative;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 18px 24px 0;
}

#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);
}

#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 — floats below the pill with a small gap */
#nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--menu-bg);
  border-radius: 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; }
#site-header.open .nav-links li:nth-child(5) { opacity:1; transform:none; transition-delay:0.32s; }

.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); }


/* ─────────────────────────────────────────
   NAV BACKDROP — blur overlay behind open menu
───────────────────────────────────────── */
#nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 15, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

#nav-backdrop.active {
  opacity: 1;
  pointer-events: all;
}


/* ─────────────────────────────────────────
   HERO SECTION
───────────────────────────────────────── */
#hero {
  position: relative;
  width: 100%;
  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-family: var(--font-display);
  font-weight: 700;
  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;
}


#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;
  gap: 0 80px;
  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(24px, 3.2vw, 46px);
  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); }

/* ── Stats panel — right column ── */
.feature-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.feature-stat {
  background: rgba(255,255,255,0.93);
  border: 1.5px solid rgba(197,126,255,0.5);
  border-radius: 18px;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 0 0 4px rgba(139,47,201,0.08),
              0 8px 28px rgba(139,47,201,0.14);
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.65s var(--ease-out-expo),
              transform 0.65s var(--ease-out-expo),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  cursor: default;
}

.reveal-in .feature-stat                { opacity: 1; transform: none; }
.reveal-in .feature-stat:nth-child(1)   { transition-delay: 0.08s; }
.reveal-in .feature-stat:nth-child(2)   { transition-delay: 0.18s; }
.reveal-in .feature-stat:nth-child(3)   { transition-delay: 0.28s; }

.reveal-in .feature-stat:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 0 0 5px rgba(139,47,201,0.18),
              0 16px 44px rgba(139,47,201,0.28);
  border-color: rgba(197,126,255,0.85);
  transition-delay: 0s;
}

.feature-stat__label {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(13px, 1.3vw, 17px);
  color: var(--dark);
  line-height: 1.35;
}

.feature-stat__number {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--dark);
  white-space: nowrap;
  flex-shrink: 0;
}


/* ═════════════════════════════════════════
   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(44px, 8vw, 108px);
  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;
    gap: 40px 0;
    padding: 52px 32px;
    min-height: unset;
  }

  .feature-stats { width: 100%; }

  .feature-stat__number { font-size: clamp(40px, 10vw, 68px); }

  .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; }
  .feature-stat         { padding: 18px 22px; border-radius: 14px; }
  .feature-stat__number { font-size: clamp(36px, 12vw, 56px); }
  .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(44px, 8vw, 108px);
  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) {
  /* Nav backdrop */
  #nav-backdrop { transition: none !important; }

  /* 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;
  }

  /* Feature stats — instant reveal, no hover movement */
  .feature-stat {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal-in .feature-stat:hover { transform: none !important; }

  /* 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;
  }

  /* 404 page */
  .nf-number-float,
  .nf-glow {
    animation: none !important;
  }
  .nf-number {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .nf-eyebrow,
  .nf-body {
    animation: none !important;
    opacity: 1 !important;
  }

  /* Projects */
  .projects-title, .projects-sub, .projects-cta-btn {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .project-card {
    transition: none !important;
    opacity: 1 !important;
  }
  .project-card.is-scaled {
    transform: none !important;
  }
  .project-card__image-wrap img { transition: none !important; }

  /* Testimonials */
  #testimonials {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .testi-track { transition: none !important; }
  .testi-slide { transition: none !important; opacity: 1 !important; }

  /* CTA banner */
  #cta-banner {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .cta-banner__glow { animation: none !important; }
  .cta-banner__btn::before { transition: none !important; }
}


/* ═════════════════════════════════════════
   CONTACT PAGE
═════════════════════════════════════════ */

/* ── Hero ── */
#contact-hero {
  background: var(--white);
  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-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.5vw, 76px);
  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(28px, 3.8vw, 48px);
  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-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-body { padding: 52px 20px 64px; }

  .contact-form-wrap { padding: 28px 20px; }
}


/* ═════════════════════════════════════════
   404 PAGE
═════════════════════════════════════════ */

/* ── Hero ── */
#not-found-hero {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Atmospheric purple glow behind the 404 */
.nf-glow {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 640px;
  background: radial-gradient(ellipse, rgba(139,47,201,0.13) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1);    }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.12); }
}

/* ── Copy block ── */
.nf-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 52px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Outer wrapper carries the float animation */
.nf-number-float {
  display: inline-block;
  animation: float404 5s ease-in-out infinite;
  will-change: transform;
  margin-bottom: 12px;
}

@keyframes float404 {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-14px); }
}

/* Inner number carries glitch pseudo-elements + load-in */
.nf-number {
  display: inline-block;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(110px, 18vw, 240px);
  line-height: 1;
  letter-spacing: -0.06em;
  color: var(--dark);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s var(--ease-out-expo) 0.1s forwards;
}

/* Glitch ghost copies */
.nf-number::before,
.nf-number::after {
  content: attr(data-text);
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  font-weight: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  pointer-events: none;
}

.nf-number::before {
  color: var(--purple);
  clip-path: polygon(0 12%, 100% 12%, 100% 36%, 0 36%);
  animation: glitchTop 4.5s steps(1) infinite;
}

.nf-number::after {
  color: #3a2fff;
  clip-path: polygon(0 56%, 100% 56%, 100% 76%, 0 76%);
  animation: glitchBottom 4.5s steps(1) infinite;
  animation-delay: 0.2s;
}

@keyframes glitchTop {
  0%, 88%, 100% { transform: translate(0, 0);       opacity: 0; }
  89%            { transform: translate(-6px, -2px); opacity: 1; }
  90%            { transform: translate(5px,  2px);  opacity: 1; }
  91%            { transform: translate(-3px, -1px); opacity: 0.7; }
  92%            { transform: translate(0, 0);       opacity: 0; }
}

@keyframes glitchBottom {
  0%, 91%, 100% { transform: translate(0, 0);       opacity: 0; }
  92%            { transform: translate(6px, 2px);   opacity: 1; }
  93%            { transform: translate(-5px, -2px); opacity: 1; }
  94%            { transform: translate(3px, 1px);   opacity: 0.7; }
  95%            { transform: translate(0, 0);       opacity: 0; }
}

/* Label + description */
.nf-eyebrow {
  font-family: var(--font);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out-expo) 0.28s forwards;
}

.nf-body {
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  color: #555570;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out-expo) 0.40s forwards;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .nf-copy { padding: 40px 20px 48px; }
}


/* ═════════════════════════════════════════
   PROJECTS SECTION
═════════════════════════════════════════ */
#projects {
  max-width: 1680px;
  margin: 0 auto;
  padding: 100px 120px 0;
}

/* ── Header ── */
.projects-header {
  margin-bottom: 56px;
}

.projects-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7.5vw, 96px);
  line-height: 0.92;
  color: var(--dark);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.projects-sub {
  font-size: 15px;
  font-weight: 500;
  color: #555570;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
  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 .projects-title   { opacity: 1; transform: translateY(0); }
.reveal-in .projects-sub     { opacity: 1; transform: translateY(0); }
.reveal-in .projects-cta-btn { opacity: 1; transform: translateY(0); }

/* Header CTA */
.projects-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  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: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  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;
  cursor: pointer;
}

.projects-cta-btn::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;
}

.projects-cta-btn:hover { background: var(--purple); box-shadow: 0 8px 32px rgba(139,47,201,0.3); transform: translateY(-2px); }
.projects-cta-btn:hover::before { left: 140%; }
.projects-cta-btn:active { transform: scale(0.97); }

/* ── Stack of cards ── */
.projects-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 100px;
}

/* ── Individual project card ── */
.project-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  border-radius: 28px;
  overflow: hidden;
  min-height: 440px;
  position: sticky;
  top: 96px;
  opacity: 0;
  transition: opacity 0.8s var(--ease-out-expo),
              transform 0.5s var(--ease-out-expo);
  cursor: pointer;
  will-change: transform;
}

/* z-index so each card slides over the one before it */
.projects-stack .project-card:nth-child(1) { z-index: 1; }
.projects-stack .project-card:nth-child(2) { z-index: 2; }
.projects-stack .project-card:nth-child(3) { z-index: 3; }
.projects-stack .project-card:nth-child(4) { z-index: 4; }

.project-card.reveal-in {
  opacity: 1;
}

/* Scale-down when a later card slides over this one */
.project-card.is-scaled {
  transform: scale(0.96) translateY(-10px);
}

/* Image panel */
.project-card__image-wrap {
  overflow: hidden;
  position: relative;
  background: #f0eef8;
}

.project-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s var(--ease-out-expo);
  will-change: transform;
}

.project-card:hover .project-card__image-wrap img {
  transform: scale(1.07);
}

/* Content panel */
.project-card__content {
  background: #150e2e;
  padding: 52px 52px 44px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.4s ease;
}

.project-card:hover .project-card__content {
  background: #1e1542;
}

.project-card__top {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

.project-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 42px);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

/* Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-pill);
  padding: 5px 13px;
  background: rgba(139,47,201,0.1);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.project-card:hover .project-tag {
  border-color: rgba(139,47,201,0.45);
  background: rgba(139,47,201,0.2);
  color: rgba(255,255,255,0.85);
}

.project-card__body {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin-top: 28px;
}

/* Arrow button — bottom-right of content */
.project-arrow-btn {
  align-self: flex-end;
  margin-top: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              transform 0.3s var(--ease-out-expo);
  cursor: pointer;
}

.project-arrow-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease-out-expo);
}

.project-arrow-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(139,47,201,0.18), 0 10px 28px rgba(139,47,201,0.35);
  transform: scale(1.1);
}

.project-arrow-btn:hover svg { transform: translate(2px, -2px); }
.project-arrow-btn:active    { transform: scale(0.95); }


/* ── Responsive ── */
@media (max-width: 1200px) {
  #projects                   { padding: 80px 60px 0; }
  .project-card__content      { padding: 40px; }
}

@media (max-width: 900px) {
  #projects                   { padding: 64px 32px 0; }
  .project-card               { grid-template-columns: 1fr; min-height: unset; position: relative; top: auto; }
  .project-card__image-wrap   { min-height: 280px; }
  .project-card__content      { padding: 36px 32px 32px; }
  .projects-stack             { padding-bottom: 72px; }
}

@media (max-width: 600px) {
  #projects                   { padding: 52px 20px 0; }
  .project-card               { border-radius: 20px; }
  .project-card__content      { padding: 28px 24px 28px; }
  .project-card__image-wrap   { min-height: 220px; }
  .projects-stack             { gap: 14px; padding-bottom: 56px; }
}


/* ═════════════════════════════════════════
   TESTIMONIALS
═════════════════════════════════════════ */
/* ── Section wrapper ── */
#testimonials {
  background: var(--white);
  padding: 100px 120px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}

#testimonials.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ── Top row: heading left / arrows right ── */
.testi-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
}

.testi-header__left {
  flex: 1;
}

.testi-header__right {
  flex-shrink: 0;
  padding-bottom: 4px;
}

/* Heading */
.testi-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 32px;
}

.testi-sub {
  font-size: 15px;
  font-weight: 500;
  color: #555570;
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 32px;
}

/* SEE ALL REVIEWS button */
.testi-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  background: var(--dark);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease,
              transform 0.25s var(--ease-out-expo),
              box-shadow 0.25s ease;
  cursor: pointer;
}

.testi-cta-btn:hover {
  background: var(--purple);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(139,47,201,0.28);
}

/* ── Nav arrow buttons ── */
.testi-nav {
  display: flex;
  gap: 12px;
}

.testi-nav-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1e1a3a;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  transition: background 0.25s ease,
              transform 0.25s var(--ease-out-expo),
              box-shadow 0.25s ease;
}

.testi-nav-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s var(--ease-out-expo);
}

.testi-nav-btn:hover {
  background: var(--purple);
  box-shadow: 0 6px 20px rgba(139,47,201,0.35);
}

#testi-prev:hover svg { transform: translateX(-3px); }
#testi-next:hover svg { transform: translateX(3px); }
.testi-nav-btn:active { transform: scale(0.93); }

/* ── Full-width slider ── */
.testi-slider-wrap {
  overflow: hidden;
  border-radius: 20px;
  border: 1.5px solid rgba(139,47,201,0.3);
}

.testi-track {
  display: flex;
  transition: transform 0.65s var(--ease-out-expo);
  will-change: transform;
}

/* Each slide — light bg, centered text */
.testi-slide {
  min-width: 100%;
  background: #f4f3f8;
  padding: 64px 80px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.testi-slide.is-active {
  opacity: 1;
}

/* Stars */
.testi-stars {
  font-size: 22px;
  color: #f4c430;
  letter-spacing: 5px;
}

/* Quote text */
.testi-quote {
  font-family: var(--font);
  font-style: normal;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.85;
  max-width: 900px;
}

/* Client name */
.testi-client {
  font-family: var(--font);
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--dark);
}

/* ── Dots (outside the card, below it) ── */
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(139,47,201,0.22);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}

.testi-dot.active {
  background: var(--purple);
  width: 24px;
  border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  #testimonials     { padding: 80px 60px; }
  .testi-slide      { padding: 52px 52px 44px; }
}

@media (max-width: 900px) {
  #testimonials     { padding: 64px 32px; }
  .testi-header     { flex-direction: column; align-items: flex-start; gap: 32px; }
  .testi-header__right { align-self: flex-start; }
  .testi-slide      { padding: 44px 36px; }
}

@media (max-width: 600px) {
  #testimonials     { padding: 52px 20px; }
  .testi-title      { font-size: clamp(44px, 12vw, 72px); }
  .testi-slide      { padding: 36px 24px; gap: 20px; }
  .testi-quote      { font-size: 15px; }
  .testi-nav-btn    { width: 52px; height: 52px; }
}


/* ═════════════════════════════════════════
   CTA BANNER
═════════════════════════════════════════ */
#cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #150e2e 0%, #2d1660 50%, #4a2fa0 100%);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out-expo),
              transform 0.9s var(--ease-out-expo);
}

#cta-banner.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* Animated glow orbs */
.cta-banner__glow {
  position: absolute;
  top: -120px;
  right: -200px;
  width: 580px;
  height: 580px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,47,201,0.22) 0%, transparent 65%);
  pointer-events: none;
  animation: featureGlow 7s ease-in-out infinite alternate;
}

.cta-banner__glow--2 {
  top: auto;
  bottom: -100px;
  right: auto;
  left: -100px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(74,47,160,0.25) 0%, transparent 65%);
  animation: featureGlow 9s ease-in-out infinite alternate-reverse;
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 52px;
}

.cta-banner__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
}

/* CTA button */
.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 18px 28px 18px 20px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.22);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease,
              transform 0.3s var(--ease-out-expo);
  cursor: pointer;
}

.cta-banner__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: left;
  border-radius: inherit;
  transition: transform 0.4s var(--ease-out-expo);
  z-index: 0;
}

.cta-banner__btn-circle {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out-expo), background 0.35s ease;
}

.cta-banner__btn-arrow {
  width: 18px;
  height: 18px;
  stroke: var(--dark);
  transition: transform 0.4s var(--ease-out-expo), stroke 0.35s ease;
}

.cta-banner__btn-label {
  position: relative;
  z-index: 1;
}

.cta-banner__btn:hover {
  border-color: var(--purple-hover);
  box-shadow: 0 12px 48px rgba(139,47,201,0.4);
  transform: translateY(-3px);
}

.cta-banner__btn:hover::before          { transform: scaleX(1); }
.cta-banner__btn:hover .cta-banner__btn-circle { transform: rotate(45deg) scale(1.08); }
.cta-banner__btn:hover .cta-banner__btn-arrow  { transform: translate(3px, -3px); }
.cta-banner__btn:active                 { transform: scale(0.97); }

/* ── Responsive ── */
@media (max-width: 1200px) {
  .cta-banner__inner { padding: 100px 60px; }
}

@media (max-width: 900px) {
  .cta-banner__inner {
    padding: 80px 32px;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .cta-banner__inner  { padding: 64px 20px; }
  .cta-banner__btn    { font-size: 15px; }
}


/* ═════════════════════════════════════════
   FOOTER
═════════════════════════════════════════ */
#site-footer {
  background: var(--white);
  padding: 80px 120px 0;
  position: relative;
  overflow: hidden;
}

/* Subtle top border */
#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(26,26,46,0.1);
}

/* Top row: logo + nav */
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 48px;
}

.footer-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-logo a:hover { opacity: 0.75; }

.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-nav a {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 42px);
  letter-spacing: -0.01em;
  color: var(--purple);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s var(--ease-out-expo);
}

.footer-nav a:hover {
  color: #6a1fa0;
  transform: translateX(-5px);
}

/* Bottom strip */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(26,26,46,0.1);
  gap: 24px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social-link {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.footer-social-link:hover { color: var(--purple); }

.footer-legal-btns {
  display: flex;
  gap: 10px;
}

.footer-legal-btn {
  font-family: var(--font);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--dark);
  border: none;
  border-radius: var(--r-pill);
  padding: 10px 20px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.footer-legal-btn:hover {
  background: var(--purple);
  color: var(--white);
}

/* Copyright */
.footer-copyright {
  margin-top: 20px;
  margin-bottom: 0;
  padding-bottom: 32px;
}

.footer-copyright p {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  color: rgba(26,26,46,0.35);
  letter-spacing: 0.03em;
}

/* Decorative image at bottom — bleeds full width out of footer padding */
.footer-image {
  margin-left: -120px;
  margin-right: -120px;
  margin-top: 48px;
  line-height: 0;
  overflow: hidden;
}

.footer-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 400px;
  object-position: center top;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  #site-footer     { padding: 72px 60px 0; }
  .footer-image    { margin-left: -60px; margin-right: -60px; }
}

@media (max-width: 900px) {
  #site-footer     { padding: 60px 32px 0; }
  .footer-image    { margin-left: -32px; margin-right: -32px; }
  .footer-top      { flex-direction: column; align-items: flex-start; gap: 48px; }
  .footer-nav ul   { align-items: flex-start; }
  .footer-nav a    { transform: none !important; }
  .footer-nav a:hover { transform: translateX(4px) !important; }
}

@media (max-width: 600px) {
  #site-footer         { padding: 48px 20px 0; }
  .footer-image        { margin-left: -20px; margin-right: -20px; }
  .footer-bottom       { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-copyright    { padding-bottom: 24px; }
  .footer-legal-btns   { flex-wrap: wrap; }
}


/* ═════════════════════════════════════════
   INSIGHTS PAGE
═════════════════════════════════════════ */

/* ── Dark wrapper: nav + hero share the same gradient ── */
.insights-top {
  background: linear-gradient(160deg, #07071a 0%, #12123a 45%, #1e0a50 100%);
  position: relative;
}

/* ── Hero ── */
#insights-hero {
  position: relative;
  overflow: hidden;
}

.insights-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 30% 50%, rgba(139,47,201,0.22), transparent 65%),
    radial-gradient(ellipse 40% 50% at 75% 30%, rgba(100,60,180,0.15), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.insights-hero__copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 72px 24px 40px;
}

.insights-eyebrow {
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(197,126,255,0.8);
  margin-bottom: 20px;
}

.insights-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 9vw, 112px);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.insights-heading .line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.75s var(--ease-out-expo) forwards;
  animation-delay: calc(0.1s + var(--i) * 0.14s);
}

.insights-sub {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 48px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out-expo) 0.38s forwards;
}

/* Search bar */
.insights-search-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: 0 24px 80px;
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out-expo) 0.5s forwards;
}

.insights-search {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 560px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(139,47,201,0.45);
  border-radius: 50px;
  padding: 8px 8px 8px 20px;
  gap: 12px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.insights-search:focus-within {
  border-color: rgba(139,47,201,0.85);
  background: rgba(255,255,255,0.09);
}

.insights-search__icon {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}

#insights-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  min-width: 0;
}

#insights-search-input::placeholder {
  color: rgba(255,255,255,0.35);
}

.insights-search__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.15s ease;
}

.insights-search__btn:hover { background: var(--purple-hover); }
.insights-search__btn:active { transform: scale(0.93); }
.insights-search__btn svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

/* ── Insights Body ── */
#insights-body {
  background: var(--white);
  padding: 72px 80px 100px;
  max-width: 1440px;
  margin: 0 auto;
}

/* No results */
.insights-no-results {
  text-align: center;
  padding: 60px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  color: #888;
}

/* ── Featured article ── */
.insights-featured {
  display: grid;
  grid-template-columns: 55% 45%;
  background: var(--dark);
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 40px;
  min-height: 420px;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.insights-featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}

.insights-featured__img-wrap {
  position: relative;
  overflow: hidden;
}

.insights-featured__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}

.insights-featured:hover .insights-featured__img-wrap img {
  transform: scale(1.04);
}

.insights-featured__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-family: var(--font);
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--purple);
  padding: 6px 14px;
  border-radius: 50px;
}

.insights-featured__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 52px;
  background: linear-gradient(135deg, #1a1a2e 0%, #15153a 100%);
  gap: 20px;
}

.insights-featured__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insights-featured__title {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 30px);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.insights-featured__excerpt {
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

.insights-featured__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.insights-featured__date {
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.03em;
}

.insights-featured__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.insights-featured:hover .insights-featured__arrow {
  background: var(--purple);
  transform: translateX(3px) translateY(-3px);
}

.insights-featured__arrow svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

/* ── Article grid ── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.insights-card {
  display: flex;
  flex-direction: column;
  background: var(--dark);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}

.insights-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,0.2);
}

.insights-card__img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.insights-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out-expo);
}

.insights-card:hover .insights-card__img-wrap img {
  transform: scale(1.05);
}

.insights-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 24px;
  gap: 14px;
  background: linear-gradient(180deg, #1a1a2e 0%, #15153a 100%);
}

.insights-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insights-card__title {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--white);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.insights-card__excerpt {
  font-family: var(--font);
  font-weight: 500;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  flex: 1;
}

.insights-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.insights-card__date {
  font-family: var(--font);
  font-weight: 600;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
}

.insights-card__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.insights-card:hover .insights-card__arrow {
  background: var(--purple);
  transform: translateX(2px) translateY(-2px);
}

.insights-card__arrow svg {
  width: 15px;
  height: 15px;
  color: var(--white);
}

/* ── Shared tag pill ── */
.article-tag {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(197,126,255,0.9);
  border: 1.5px solid rgba(139,47,201,0.45);
  border-radius: 50px;
  padding: 4px 12px;
}

/* ── Responsive: insights ── */
@media (max-width: 1200px) {
  #insights-body { padding: 60px 48px 80px; }
}

@media (max-width: 900px) {
  #insights-body { padding: 48px 24px 72px; }
  .insights-featured { grid-template-columns: 1fr; min-height: auto; }
  .insights-featured__img-wrap { height: 280px; }
  .insights-featured__content { padding: 32px 32px; }
  .insights-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .insights-hero__copy { padding: 60px 20px 36px; }
  .insights-search-wrap { padding: 0 20px 48px; }
  #insights-body { padding: 40px 20px 60px; }
  .insights-grid { grid-template-columns: 1fr; }
  .insights-featured__content { padding: 24px 24px; }
}


/* ═════════════════════════════════════════
   ARTICLE PAGE
═════════════════════════════════════════ */

/* ── Article hero ── */
#article-hero {
  position: relative;
  background: linear-gradient(160deg, #07071a 0%, #12123a 45%, #1e0a50 100%);
  overflow: hidden;
}

.article-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 65% at 25% 60%, rgba(139,47,201,0.2), transparent 65%),
    radial-gradient(ellipse 35% 45% at 80% 25%, rgba(100,60,180,0.13), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.article-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 72px 80px 60px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 36px;
  transition: color 0.2s ease;
}

.article-back:hover { color: var(--white); }

.article-back__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.article-back:hover .article-back__circle { background: rgba(255,255,255,0.15); }

.article-back__circle svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.article-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.article-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.75s var(--ease-out-expo) 0.1s forwards;
}

.article-hero__meta {
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}

/* Hero image (same hero-image-wrap) override for dark context */
.article-hero__img-wrap::before {
  background: linear-gradient(to bottom, #07071a 0%, transparent 100%) !important;
}

.article-hero__img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 2;
  pointer-events: none;
}

/* ── Article body ── */
#article-body {
  background: var(--white);
  padding: 72px 80px 100px;
}

.article-body__inner {
  max-width: 780px;
  margin: 0 auto;
}

.article-body__inner h2 {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 48px 0 20px;
}

.article-body__inner h2:first-child { margin-top: 0; }

.article-body__inner p {
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  color: #3a3a5c;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body__inner ul,
.article-body__inner ol {
  font-family: var(--font);
  font-weight: 500;
  font-size: 16px;
  color: #3a3a5c;
  line-height: 1.8;
  padding-left: 24px;
  margin-bottom: 24px;
}

.article-body__inner li { margin-bottom: 10px; }

.article-body__inner strong {
  font-weight: 900;
  color: var(--dark);
}

.article-body__inner blockquote {
  border-left: 3px solid var(--purple);
  padding: 20px 28px;
  background: #f5f4ff;
  border-radius: 0 12px 12px 0;
  margin: 32px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  font-style: italic;
  line-height: 1.6;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-family: var(--font);
  font-size: 14px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.article-table th {
  background: var(--dark);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
}

.article-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #eeeef5;
  color: #3a3a5c;
  font-weight: 500;
  line-height: 1.55;
  background: var(--white);
}

.article-table tr:last-child td { border-bottom: none; }
.article-table tr:nth-child(even) td { background: #f8f8fc; }

/* ── Recently added section ── */
#article-recent {
  background: var(--dark);
  padding: 72px 80px 80px;
}

.article-recent__heading {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.article-recent__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Responsive: article ── */
@media (max-width: 1200px) {
  .article-hero__copy { padding: 60px 48px 48px; }
  #article-body { padding: 60px 48px 80px; }
  #article-recent { padding: 60px 48px 60px; }
}

@media (max-width: 900px) {
  .article-hero__copy { padding: 48px 24px 40px; }
  #article-body { padding: 48px 24px 72px; }
  #article-recent { padding: 48px 24px 56px; }
  .article-recent__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .article-hero__copy { padding: 40px 20px 32px; }
  #article-body { padding: 40px 20px 60px; }
  .article-body__inner h2 { font-size: 20px; }
  .article-body__inner p,
  .article-body__inner ul,
  .article-body__inner ol { font-size: 15px; }
  #article-recent { padding: 40px 20px 48px; }
  .article-recent__grid { grid-template-columns: 1fr; }
}