/* ═══════════════════════════════════════════════
   EXOTECH LABS — SHARED STYLES (LIGHT THEME)
   ═══════════════════════════════════════════════ */

/* RESET */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: #ffffff;
  color: #4a4a5a;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(100, 140, 255, 0.2); color: #1a1a2e; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* UTILITIES */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 900px; margin: 0 auto; padding: 0 40px; }
.section { padding: 140px 0; position: relative; }
.section--alt { background: #f6f7fb; }
.label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #4a6cf7;
  margin-bottom: 20px;
  display: block;
}
.heading-xl {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: #1a1a2e;
  letter-spacing: -1.5px;
}
.heading-lg {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a2e;
  letter-spacing: -1px;
}
.heading-md {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a2e;
}
.body-lg { font-size: 18px; line-height: 1.8; color: #6b6b80; max-width: 640px; }
.body-md { font-size: 15px; line-height: 1.7; color: #7a7a90; }

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 40px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-bottom-color 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(0,0,0,0.08);
}
.nav__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px; font-weight: 700; color: #1a1a2e; letter-spacing: -0.5px;
}
.nav__logo span { color: #4a6cf7; }
.nav__links { display: flex; gap: 36px; align-items: center; }
.nav__links a {
  font-size: 13px; font-weight: 500; color: #8a8a9a;
  letter-spacing: 0.3px; transition: color 0.3s; position: relative;
}
.nav__links a:hover { color: #1a1a2e; }
.nav__links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: #4a6cf7; transition: width 0.3s;
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  padding: 8px 20px; border: 1px solid rgba(74, 108, 247, 0.3);
  border-radius: 6px; font-size: 13px; font-weight: 500; color: #4a6cf7 !important;
  transition: all 0.3s;
}
.nav__cta:hover { background: rgba(74, 108, 247, 0.08); border-color: #4a6cf7; }
.nav__cta::after { display: none !important; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav__hamburger span { display: block; width: 22px; height: 2px; background: #8a8a9a; transition: all 0.3s; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 8px;
  font-size: 14px; font-weight: 600; transition: all 0.3s;
  cursor: pointer; border: none;
}
.btn--primary { background: #4a6cf7; color: #fff; }
.btn--primary:hover { background: #3a5ce0; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(74,108,247,0.25); }
.btn--ghost { background: transparent; color: #6b6b80; border: 1px solid rgba(0,0,0,0.12); }
.btn--ghost:hover { border-color: rgba(0,0,0,0.25); color: #1a1a2e; }

/* PILLS */
.domain-pill {
  padding: 6px 16px; border: 1px solid rgba(74, 108, 247, 0.2);
  border-radius: 20px; font-size: 12px;
  font-family: 'JetBrains Mono', monospace; color: #4a6cf7; letter-spacing: 1px;
}
.stack-pill {
  padding: 4px 12px; background: #f0f1f6;
  border: 1px solid rgba(0,0,0,0.06); border-radius: 4px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #6b6b80;
}

/* HERO (index) */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 72px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74, 108, 247, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(120, 80, 220, 0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero__svg-filters { position: absolute; width: 0; height: 0; overflow: hidden; }
.hero__slideshow {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.3;
  filter: grayscale(1) contrast(0.8) brightness(1.1);
}
.hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__slide.active { opacity: 1; }
.hero__ascii-overlay {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero__ascii-canvas {
  width: 100%; height: 100%;
  display: block;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}
.hero__content { position: relative; z-index: 3; }
.hero__eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: #4a6cf7; margin-bottom: 32px;
  display: flex; align-items: center; gap: 12px;
}
.hero__eyebrow::before { content: ''; width: 32px; height: 1px; background: #4a6cf7; }
.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(48px, 7vw, 88px); font-weight: 800;
  line-height: 1.05; color: #1a1a2e; letter-spacing: -3px;
  margin-bottom: 32px; max-width: 800px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #4a6cf7, #8b5cf6);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__subtitle { font-size: 20px; line-height: 1.7; color: #7a7a90; max-width: 560px; margin-bottom: 48px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__domains { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #b0b0c0; font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
  z-index: 3;
}
.hero__scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, #4a6cf7, transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 48px; }
  50% { opacity: 1; height: 64px; }
}

/* VISION */
.vision { padding: 160px 0; position: relative; }
.vision__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.vision__statement {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 3vw, 36px); font-weight: 500;
  line-height: 1.45; color: #3a3a50; letter-spacing: -0.5px;
}
.vision__statement strong { color: #1a1a2e; font-weight: 700; }
.vision__values { display: flex; flex-direction: column; gap: 32px; }
.value-item { padding: 28px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.value-item__title { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; color: #1a1a2e; margin-bottom: 8px; }
.value-item__desc { font-size: 14px; color: #7a7a90; line-height: 1.7; }
.vision__line { width: 64px; height: 2px; background: linear-gradient(90deg, #4a6cf7, transparent); margin-bottom: 40px; }

/* STATS */
.stats-bar { padding: 80px 0; border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); }
.stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stat__number { font-family: 'Space Grotesk', sans-serif; font-size: 48px; font-weight: 700; color: #1a1a2e; letter-spacing: -2px; margin-bottom: 8px; }
.stat__label { font-size: 13px; color: #8a8a9a; letter-spacing: 1px; text-transform: uppercase; font-family: 'JetBrains Mono', monospace; }

/* RESEARCH AREAS */
.areas__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; margin-top: 64px; }
.area-card {
  padding: 40px 28px; background: #f8f9fc;
  border: 1px solid rgba(0,0,0,0.05); text-align: center;
  transition: all 0.4s; position: relative; overflow: hidden;
}
.area-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 2px; background: #4a6cf7; transform: scaleX(0); transition: transform 0.4s;
}
.area-card:hover::before { transform: scaleX(1); }
.area-card:hover { background: rgba(74, 108, 247, 0.04); }
.area-card__icon { width: 72px; height: 72px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.area-card__icon img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s; }
.area-card:hover .area-card__icon img { transform: scale(1.1); }
.area-card__title { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: #2a2a3e; margin-bottom: 8px; }
.area-card__desc { font-size: 13px; color: #8a8a9a; line-height: 1.6; }

/* PROJECT GRID (index page) */
.projects-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 64px;
}
.project-card {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer; display: block;
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(74,108,247,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.project-card__img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.project-card:hover .project-card__img { transform: scale(1.05); }
.project-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,20,0.85) 0%, rgba(10,10,20,0.3) 40%, transparent 70%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 32px;
}
.project-card__tag {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; color: #93b4ff; margin-bottom: 10px;
}
.project-card__title {
  font-family: 'Space Grotesk', sans-serif; font-size: 24px;
  font-weight: 700; color: #ffffff; letter-spacing: -0.5px; margin-bottom: 8px;
}
.project-card__desc { font-size: 14px; color: #c0c0d0; line-height: 1.6; }
.project-card__arrow {
  position: absolute; top: 20px; right: 20px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.15); display: flex;
  align-items: center; justify-content: center;
  color: #fff; font-size: 18px; transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.2);
}
.project-card:hover .project-card__arrow { background: #4a6cf7; color: #fff; border-color: #4a6cf7; }

/* TEAM */
.team__header { text-align: center; margin-bottom: 64px; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.team-card {
  padding: 40px 32px; background: #f8f9fc;
  border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  text-align: center; transition: all 0.4s;
}
.team-card:hover { border-color: rgba(74,108,247,0.2); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.team-card__avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(74,108,247,0.12), rgba(139,92,246,0.12));
  margin: 0 auto 20px; overflow: hidden;
}
.team-card__avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.team-card__name { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 600; color: #1a1a2e; margin-bottom: 6px; }
.team-card__role { font-size: 13px; color: #8a8a9a; line-height: 1.6; }

/* CTA */
.cta-section { padding: 160px 0; text-align: center; position: relative; overflow: hidden; background: #0a0a10; }
.cta-section__bg { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(74,108,247,0.1) 0%, transparent 70%); }
.cta-section .heading-xl { margin-bottom: 20px; color: #f0f0f5; }
.cta-section .body-lg { margin: 0 auto 40px; text-align: center; color: #888; }
.cta-section .label { color: #648cff; }
.cta-section .btn--ghost { color: #999; border-color: rgba(255,255,255,0.12); }
.cta-section .btn--ghost:hover { border-color: rgba(255,255,255,0.3); color: #f0f0f5; }

/* FOOTER */
.footer { padding: 60px 0; border-top: 1px solid rgba(255,255,255,0.06); background: #060608; }
.footer__grid { display: flex; justify-content: space-between; align-items: center; }
.footer__logo { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; color: #f0f0f5; }
.footer__logo span { color: #648cff; }
.footer__copy { font-size: 13px; color: #555; }
.footer__links { display: flex; gap: 24px; }
.footer__links a { font-size: 13px; color: #666; transition: color 0.3s; }
.footer__links a:hover { color: #648cff; }

/* ═══════════════════════════════════════════════
   PROJECT PAGE STYLES
   ═══════════════════════════════════════════════ */
.proj-hero {
  position: relative; width: 100%; height: 70vh; min-height: 480px;
  overflow: hidden; margin-top: 72px;
}
.proj-hero__img { width: 100%; height: 100%; object-fit: cover; }
.proj-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.5) 40%, rgba(255,255,255,0.1) 100%);
}
.proj-hero__content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 60px 40px;
}
.proj-hero__tag {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase; color: #4a6cf7; margin-bottom: 16px;
}
.proj-hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 64px); font-weight: 800;
  color: #1a1a2e; letter-spacing: -2px; margin-bottom: 12px;
}
.proj-hero__subtitle { font-size: 18px; color: #6b6b80; max-width: 600px; line-height: 1.7; }

/* Project content layout */
.proj-content { padding: 80px 0; }
.proj-layout { display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: start; }
.proj-sidebar { position: sticky; top: 100px; }
.proj-sidebar__block { margin-bottom: 40px; }
.proj-sidebar__label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase; color: #8a8a9a; margin-bottom: 16px;
}
.proj-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.proj-team-item { margin-bottom: 12px; }
.proj-team-name { font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: #2a2a3e; }
.proj-team-role { font-size: 13px; color: #8a8a9a; }

/* Project body text */
.proj-body h2 {
  font-family: 'Space Grotesk', sans-serif; font-size: 28px;
  font-weight: 700; color: #1a1a2e; letter-spacing: -0.5px;
  margin: 64px 0 24px; padding-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.proj-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.proj-body h3 {
  font-family: 'Space Grotesk', sans-serif; font-size: 20px;
  font-weight: 600; color: #2a2a3e; margin: 40px 0 16px;
}
.proj-body p { font-size: 16px; line-height: 1.85; color: #5a5a70; margin-bottom: 20px; }
.proj-body strong { color: #2a2a3e; font-weight: 600; }
.proj-body ul, .proj-body ol { margin: 16px 0 24px 24px; }
.proj-body li { font-size: 15px; color: #5a5a70; line-height: 1.7; margin-bottom: 8px; }

/* Inline image in project body */
.proj-img {
  width: 100%; border-radius: 12px; margin: 32px 0;
  border: 1px solid rgba(0,0,0,0.08);
  cursor: pointer; transition: all 0.3s;
}
.proj-img:hover { border-color: rgba(74,108,247,0.25); }

/* Full-width image */
.proj-img--full {
  width: calc(100% + 80px + 340px); max-width: none;
  margin-left: 0; border-radius: 12px;
}

/* Project table */
.proj-table { width: 100%; border-collapse: collapse; margin: 24px 0 32px; }
.proj-table th, .proj-table td {
  text-align: left; padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
}
.proj-table th {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 1px; text-transform: uppercase; color: #8a8a9a; font-weight: 500;
}
.proj-table td { color: #5a5a70; }
.proj-table td:first-child { color: #2a2a3e; font-weight: 500; }

/* Back link */
.proj-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #4a6cf7; margin-bottom: 40px;
  font-family: 'JetBrains Mono', monospace; letter-spacing: 0.5px;
  transition: gap 0.3s;
}
.proj-back:hover { gap: 12px; }

/* Project future section */
.proj-future { padding: 80px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.proj-future ul { list-style: none; margin: 24px 0; padding: 0; }
.proj-future li {
  padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 15px; color: #5a5a70; line-height: 1.7;
}
.proj-future li strong { color: #2a2a3e; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; border: 1px solid rgba(0,0,0,0.1); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.lightbox__close {
  position: absolute; top: 24px; right: 32px;
  font-size: 32px; color: #8a8a9a; cursor: pointer;
  transition: color 0.3s; background: none; border: none;
}
.lightbox__close:hover { color: #1a1a2e; }
.lightbox__caption {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 14px; color: #6b6b80; text-align: center; max-width: 600px;
}

/* ═══════════════════════════════════════════════
   SECTION AMBIENT GRADIENTS
   ═══════════════════════════════════════════════ */

/* Vision — soft blue glow from top-right */
.vision::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 60% 70% at 95% 10%, rgba(74,108,247,0.15) 0%, transparent 70%);
}
.vision > * { position: relative; z-index: 1; }

/* Stats bar — warm violet from left edge */
.stats-bar::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 50% 90% at 0% 50%, rgba(139,92,246,0.12) 0%, transparent 70%);
}
.stats-bar { position: relative; }
.stats-bar > * { position: relative; z-index: 1; }

/* Research areas — blue-cyan from bottom-left */
#research::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 65% 60% at 5% 90%, rgba(56,189,248,0.12) 0%, transparent 65%);
}
#research > * { position: relative; z-index: 1; }

/* Projects grid — purple from right, blue from left */
#projects::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 55% 65% at 100% 40%, rgba(139,92,246,0.1) 0%, transparent 65%),
              radial-gradient(ellipse 50% 60% at 0% 70%, rgba(74,108,247,0.08) 0%, transparent 60%);
}
#projects > * { position: relative; z-index: 1; }

/* Team — warm peach from top-left */
#team::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 60% 65% at 10% 15%, rgba(251,146,60,0.1) 0%, transparent 65%);
}
#team > * { position: relative; z-index: 1; }

/* CTA — centered blue glow (dark section) */
.cta-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(74,108,247,0.15) 0%, transparent 60%),
              radial-gradient(ellipse 45% 55% at 80% 80%, rgba(139,92,246,0.08) 0%, transparent 55%);
}
.cta-section > * { position: relative; z-index: 1; }

/* Project page content — blue from top-right, violet from bottom-left */
.proj-content::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 55% 45% at 95% 5%, rgba(74,108,247,0.12) 0%, transparent 65%),
              radial-gradient(ellipse 50% 40% at 5% 95%, rgba(139,92,246,0.1) 0%, transparent 60%);
}
.proj-content { position: relative; }
.proj-content > * { position: relative; z-index: 1; }

/* Project future section — warm glow from right */
.proj-future::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse 50% 70% at 100% 30%, rgba(251,146,60,0.1) 0%, transparent 60%);
}
.proj-future { position: relative; }
.proj-future > * { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .areas__grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .vision__grid { grid-template-columns: 1fr; gap: 48px; }
  .proj-layout { grid-template-columns: 1fr; gap: 48px; }
  .proj-sidebar { position: static; }
}
@media (max-width: 768px) {
  .container, .container--narrow { padding: 0 24px; }
  .section { padding: 100px 0; }
  .nav { padding: 0 24px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.97); padding: 24px; gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .hero__title { letter-spacing: -1.5px; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: 1fr; max-width: 400px; }
  .footer__grid { flex-direction: column; gap: 20px; text-align: center; }
  .proj-hero { height: 50vh; }
  .proj-hero__content { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .areas__grid { grid-template-columns: 1fr; }
  .hero__domains { gap: 6px; }
}
