:root {
  --impact-cyan: #67e8f9;
  --impact-blue: #60a5fa;
  --impact-violet: #c4b5fd;
  --impact-amber: #fbbf24;
}

html { background: var(--bg); }

.secondary-shell-impact {
  position: fixed;
  inset: 0 0 auto;
  height: 62px;
  min-height: 62px;
  padding: 0 5%;
  background:
    linear-gradient(90deg, rgba(0,229,184,.06), rgba(168,85,247,.045), rgba(245,158,11,.04)),
    rgba(6,6,15,.86);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  box-shadow: 0 10px 34px rgba(0,0,0,.16), inset 0 -1px 0 rgba(94,234,212,.08);
}

[data-theme='light'] .secondary-shell-impact {
  background:
    linear-gradient(90deg, rgba(13,147,115,.06), rgba(109,40,217,.035), rgba(180,83,9,.03)),
    rgba(224,247,243,.95);
  border-bottom-color: rgba(13,147,115,.16);
  box-shadow: 0 10px 30px rgba(15,118,110,.09), inset 0 -1px 0 rgba(13,147,115,.08);
}

[data-theme='light'] .secondary-shell-impact .secondary-shell-brand {
  border-color: rgba(13,147,115,.12);
  background: linear-gradient(135deg, rgba(13,147,115,.06), rgba(109,40,217,.035));
}

.secondary-shell-impact .secondary-shell-inner {
  width: 100%;
  max-width: none;
  min-height: 62px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(.75rem, 1.6vw, 1.5rem);
}

.secondary-shell-impact nav {
  position: static;
  inset: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.secondary-shell-impact .secondary-shell-brand {
  color: var(--shell-text);
  padding: .38rem .5rem;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(94,234,212,.07), rgba(168,85,247,.055));
  text-shadow: none;
}

.secondary-shell-impact .secondary-shell-brand span {
  background: linear-gradient(135deg, #5eead4 0%, #7dd3fc 42%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.secondary-shell-impact .secondary-shell-links {
  gap: 0;
  min-width: 0;
}

.secondary-shell-impact .secondary-shell-links a,
.secondary-shell-impact .secondary-shell-mobile-links a {
  --impact-nav-accent: #5eead4;
  position: relative;
  padding: .5rem clamp(.35rem, .62vw, .62rem);
  border-radius: 8px;
  color: color-mix(in srgb, var(--impact-nav-accent) 72%, var(--shell-text));
  font-size: clamp(.66rem, .72vw, .78rem);
  font-weight: 720;
  text-shadow: none;
  white-space: nowrap;
}

.secondary-shell-impact .secondary-shell-links a:nth-child(2),
.secondary-shell-impact .secondary-shell-mobile-links a:nth-child(2) { --impact-nav-accent: #67e8f9; }
.secondary-shell-impact .secondary-shell-links a:nth-child(3),
.secondary-shell-impact .secondary-shell-mobile-links a:nth-child(3) { --impact-nav-accent: #fbbf24; }
.secondary-shell-impact .secondary-shell-links a:nth-child(4),
.secondary-shell-impact .secondary-shell-mobile-links a:nth-child(4) { --impact-nav-accent: #c4b5fd; }
.secondary-shell-impact .secondary-shell-links a:nth-child(5),
.secondary-shell-impact .secondary-shell-mobile-links a:nth-child(5) { --impact-nav-accent: #34d399; }
.secondary-shell-impact .secondary-shell-links a:nth-child(6),
.secondary-shell-impact .secondary-shell-mobile-links a:nth-child(6) { --impact-nav-accent: #f9a8d4; }
.secondary-shell-impact .secondary-shell-links a:nth-child(7),
.secondary-shell-impact .secondary-shell-mobile-links a:nth-child(7) { --impact-nav-accent: #fde047; }
.secondary-shell-impact .secondary-shell-links a:nth-child(8),
.secondary-shell-impact .secondary-shell-mobile-links a:nth-child(8) { --impact-nav-accent: #93c5fd; }

.secondary-shell-impact .secondary-shell-links a:hover,
.secondary-shell-impact .secondary-shell-mobile-links a:hover,
.secondary-shell-impact .secondary-shell-links a[aria-current='page'] {
  color: var(--impact-nav-accent);
  background: color-mix(in srgb, var(--impact-nav-accent) 5%, transparent);
}

.secondary-shell-impact .secondary-shell-links a::after {
  content: '';
  position: absolute;
  inset: auto .45rem .15rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--impact-nav-accent), transparent);
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity .2s, transform .2s;
}

.secondary-shell-impact .secondary-shell-links a:hover::after,
.secondary-shell-impact .secondary-shell-links a[aria-current='page']::after {
  opacity: .8;
  transform: scaleX(1);
}

.secondary-shell-impact .secondary-shell-controls {
  gap: .5rem;
}

.secondary-shell-impact .secondary-shell-theme { order: 1; }
.secondary-shell-impact .secondary-shell-select { order: 2; }
.secondary-shell-impact .secondary-shell-menu { order: 3; }
.secondary-shell-impact .secondary-shell-cta {
  order: 4;
  padding: .58rem .88rem;
  border-radius: 8px;
  color: #061512;
  background: linear-gradient(135deg, #fbbf24, #5eead4 58%, #7dd3fc);
  font: 800 .72rem/1 Inter, sans-serif;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(94,234,212,.12);
}

body {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(45, 212, 191, .16), transparent 25rem),
    radial-gradient(circle at 88% 18%, rgba(96, 165, 250, .14), transparent 28rem),
    radial-gradient(circle at 72% 62%, rgba(168, 85, 247, .1), transparent 34rem),
    linear-gradient(180deg, #05070f 0%, #07101b 38%, #080815 72%, #05070f 100%) !important;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .62;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(103,232,249,.75) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(196,181,253,.62) 0 1px, transparent 1.5px);
  background-size: 157px 163px, 233px 227px, 311px 293px;
  background-position: 17px 23px, 89px 71px, 151px 113px;
}

body::after {
  content: '';
  position: fixed;
  inset: 62px 0 0;
  z-index: -1;
  pointer-events: none;
  opacity: .52;
  background:
    radial-gradient(ellipse at 88% 9%, transparent 0 74px, rgba(103,232,249,.2) 75px 76px, transparent 77px 105px, rgba(103,232,249,.1) 106px 107px, transparent 108px),
    radial-gradient(circle at 88% 9%, rgba(96,165,250,.34) 0 18px, rgba(37,99,235,.12) 36px, transparent 68px),
    radial-gradient(ellipse at 5% 72%, transparent 0 92px, rgba(251,191,36,.13) 93px 94px, transparent 95px),
    linear-gradient(116deg, transparent 0 43%, rgba(103,232,249,.035) 43.2% 43.3%, transparent 43.5%);
}

body > .container {
  width: min(1220px, 100%);
  position: relative;
}

.hero {
  position: relative;
  min-height: 390px;
  display: grid;
  place-content: center;
  padding-top: 118px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: min(760px, 78vw);
  aspect-ratio: 1;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(103,232,249,.14);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(45,212,191,.06), inset 0 0 90px rgba(96,165,250,.035);
  pointer-events: none;
}

.hero::after {
  content: 'A2SV  /  2019  →';
  justify-self: center;
  margin-top: 1.35rem;
  padding: .4rem .72rem;
  border: 1px solid rgba(103,232,249,.2);
  border-radius: 999px;
  color: var(--impact-cyan);
  background: rgba(6,14,26,.66);
  font: 700 .67rem/1 'Fira Code', monospace;
  letter-spacing: .08em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .98;
  position: relative;
}

.hero p {
  max-width: 720px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  position: relative;
}

.stats-grid { position: relative; }
.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stat-card,
.section,
.cost-section {
  backdrop-filter: blur(14px) saturate(1.12);
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
}

.stat-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(13,25,40,.76), rgba(10,13,29,.66));
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--impact-cyan), transparent 82%);
  opacity: .72;
}

.stat-card:nth-child(1) .stat-number {
  background: linear-gradient(135deg, #22d3ee, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card:nth-child(2) .stat-number {
  background: linear-gradient(135deg, #a78bfa, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card:nth-child(3) .stat-number {
  background: linear-gradient(135deg, #fbbf24, #fb7185);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card:nth-child(4) .stat-number {
  background: linear-gradient(135deg, #60a5fa, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card:nth-child(5) .stat-number {
  background: linear-gradient(135deg, #34d399, #facc15);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card:nth-child(6) .stat-number {
  background: linear-gradient(135deg, #fb923c, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  position: relative;
  padding: clamp(2rem, 4vw, 3.4rem);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(9,22,35,.72), rgba(10,10,25,.62));
  box-shadow: var(--shadow);
}

.section:has(.companies-grid) {
  background:
    radial-gradient(circle at 92% 8%, rgba(96,165,250,.11), transparent 24rem),
    linear-gradient(145deg, rgba(8,23,36,.76), rgba(9,12,27,.64));
}

.section:has(.photo-grid),
.section:has(img[src*='/images/impact/']) {
  background:
    radial-gradient(circle at 8% 92%, rgba(168,85,247,.1), transparent 25rem),
    linear-gradient(145deg, rgba(15,13,31,.73), rgba(7,21,27,.64));
}

.section:has(.timeline) {
  background:
    radial-gradient(circle at 90% 12%, rgba(251,191,36,.1), transparent 24rem),
    linear-gradient(145deg, rgba(24,18,11,.72), rgba(8,18,28,.66));
}

.section:has([onclick*='openPdf']),
.section:has([onclick*='pdfViewer']) {
  background:
    radial-gradient(circle at 10% 10%, rgba(45,212,191,.11), transparent 24rem),
    linear-gradient(145deg, rgba(7,24,26,.76), rgba(12,12,30,.66));
}

.impact-notes-section {
  background:
    radial-gradient(circle at 92% 12%, rgba(251,191,36,.1), transparent 22rem),
    radial-gradient(circle at 8% 88%, rgba(103,232,249,.08), transparent 24rem),
    linear-gradient(145deg, rgba(18,17,31,.76), rgba(7,20,29,.66));
}

.impact-notes-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.impact-notes-head .subtitle { margin-bottom: 0; text-align: start; }

.impact-notes-all {
  flex: 0 0 auto;
  color: var(--impact-cyan);
  font: 750 .82rem/1.3 Inter, sans-serif;
}

.impact-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.impact-note-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  background: rgba(255,255,255,.045);
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.impact-note-card:hover,
.impact-note-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(103,232,249,.3);
  background: rgba(255,255,255,.065);
}

.impact-note-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.impact-note-body {
  flex: 1;
  min-width: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
}

.impact-note-kicker {
  color: var(--impact-amber);
  font: 750 .66rem/1 'Fira Code', monospace;
  text-transform: uppercase;
}

.impact-note-body strong {
  font-size: 1rem;
  line-height: 1.35;
}

.impact-note-copy {
  flex: 1;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.58;
}

.impact-note-read {
  color: var(--impact-cyan);
  font-size: .78rem;
  font-weight: 750;
}

.section::before,
.cost-section::before {
  content: '';
  position: absolute;
  inset: 0 10% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--impact-cyan), var(--impact-violet), transparent);
  opacity: .52;
}

.section h2,
.cost-section h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }

.company-badge,
.impact-photo-card,
.timeline-item {
  background: rgba(255,255,255,.045);
  box-shadow: 0 14px 36px rgba(0,0,0,.16);
}

.cost-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(96,165,250,.15), transparent 24rem),
    linear-gradient(145deg, rgba(10,23,38,.8), rgba(15,10,31,.74));
}

footer {
  background:
    radial-gradient(ellipse at 50% 120%, rgba(45,212,191,.14), transparent 52%),
    rgba(4,7,14,.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme='light'] body {
  background:
    radial-gradient(circle at 10% 8%, rgba(20,184,166,.22), transparent 26rem),
    radial-gradient(circle at 90% 18%, rgba(59,130,246,.18), transparent 30rem),
    radial-gradient(circle at 70% 70%, rgba(139,92,246,.11), transparent 34rem),
    linear-gradient(180deg, #d7eeea 0%, #e8f3f6 42%, #eceaf5 72%, #dcefeb 100%) !important;
}

[data-theme='light'] body::before {
  opacity: .48;
  filter: contrast(1.15) saturate(1.25);
}

[data-theme='light'] body::after { opacity: .64; mix-blend-mode: multiply; }

[data-theme='light'] .hero::before { border-color: rgba(13,147,115,.18); }
[data-theme='light'] .hero::after {
  color: #08785f;
  border-color: rgba(13,147,115,.2);
  background: rgba(255,255,255,.66);
}

[data-theme='light'] .stat-card,
[data-theme='light'] .section,
[data-theme='light'] .cost-section {
  background: linear-gradient(145deg, rgba(255,255,255,.78), rgba(233,248,247,.68));
  border-color: rgba(13,147,115,.15);
}

[data-theme='light'] .section:has(.companies-grid) {
  background: linear-gradient(145deg, rgba(240,251,255,.86), rgba(220,244,247,.74));
}

[data-theme='light'] .section:has(.photo-grid),
[data-theme='light'] .section:has(img[src*='/images/impact/']) {
  background: linear-gradient(145deg, rgba(249,244,255,.84), rgba(229,242,249,.76));
}

[data-theme='light'] .section:has(.timeline) {
  background: linear-gradient(145deg, rgba(255,249,232,.86), rgba(229,245,243,.76));
}

[data-theme='light'] .section:has([onclick*='openPdf']),
[data-theme='light'] .section:has([onclick*='pdfViewer']) {
  background: linear-gradient(145deg, rgba(232,250,246,.86), rgba(238,239,255,.76));
}

[data-theme='light'] .impact-notes-section {
  background: linear-gradient(145deg, rgba(255,248,232,.86), rgba(228,245,246,.78));
}

[data-theme='light'] .impact-note-card {
  color: #10202a;
  border-color: rgba(13,147,115,.15);
  background: rgba(255,255,255,.68);
  box-shadow: 0 14px 34px rgba(20,82,88,.1);
}

[data-theme='light'] .impact-note-copy { color: #526978; }
[data-theme='light'] .impact-notes-all,
[data-theme='light'] .impact-note-read { color: #08785f; }

[data-theme='light'] .company-badge,
[data-theme='light'] .impact-photo-card,
[data-theme='light'] .timeline-item { background: rgba(255,255,255,.62); }

[data-theme='light'] footer {
  color: #16323b;
  background: rgba(220,244,240,.76);
}

@media (max-width: 700px) {
  body::after { opacity: .34; }
  .hero { min-height: 350px; padding-top: 98px; }
  .hero::before { width: 116vw; }
  .section { padding: 1.5rem 1rem; border-radius: 16px; }
  .stat-card { padding: 25px 18px; }
  .impact-notes-head { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .impact-notes-grid { grid-template-columns: 1fr; }
}

@media (min-width: 701px) and (max-width: 980px) {
  .impact-notes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-note-card:last-child { grid-column: 1 / -1; width: calc(50% - .5rem); justify-self: center; }
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .secondary-shell-impact .secondary-shell-inner { grid-template-columns: auto 1fr; }
  .secondary-shell-impact .secondary-shell-links { display: none; }
  .secondary-shell-impact .secondary-shell-controls { justify-self: end; }
  .secondary-shell-impact .secondary-shell-menu { display: block; }
  .secondary-shell-impact .secondary-shell-cta { display: none; }
  .secondary-shell-impact .secondary-shell-mobile-links a {
    padding: .75rem .7rem;
    border-radius: 6px;
    font-size: .78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in { transition: none; }
}
