:root {
  --bg: #040803;
  --bg-soft: rgba(18, 27, 11, 0.7);
  --panel: rgba(11, 16, 8, 0.76);
  --panel-strong: rgba(12, 18, 8, 0.92);
  --line: rgba(184, 255, 42, 0.12);
  --line-strong: rgba(184, 255, 42, 0.3);
  --text: #f7f8f2;
  --muted: #b7bda8;
  --accent: #c8ff2c;
  --accent-strong: #e2ff86;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(129, 187, 20, 0.18), transparent 22%),
    radial-gradient(circle at 82% 72%, rgba(84, 118, 11, 0.22), transparent 22%),
    linear-gradient(180deg, #071005 0%, #040803 45%, #020402 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 88%);
  pointer-events: none;
}

a {
  color: inherit;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 6rem;
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 8, 4, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}

.wordmark {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-primary {
  font-weight: 700;
}

.wordmark-sep,
.wordmark-secondary {
  color: var(--muted);
}

.topnav {
  min-width: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.topnav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.topnav a:hover,
.topnav a.is-active {
  color: var(--text);
}

.topbar-utilities,
.topbar-social {
  display: flex;
  align-items: center;
}

.topbar-utilities {
  justify-self: end;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.topbar-social {
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mini-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.mini-cta {
  padding: 0.7rem 1rem;
  background: var(--accent);
  color: #060903;
}

.mini-cta:hover,
.button:hover,
.portrait-card:hover,
.proof-card:hover,
.panel:hover,
.research-card:hover,
.timeline-row:hover,
.network-card:hover,
.link-card:hover {
  transform: translateY(-3px);
}

.hero {
  padding: 5.2rem 0 4rem;
  text-align: center;
}

.eyebrow,
.section-kicker,
.proof-label,
.panel-label,
.link-label,
.research-index {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 11ch;
  margin: 1rem auto 0;
  font-size: clamp(4rem, 9vw, 6.2rem);
  line-height: 0.93;
}

.hero h1 span {
  display: block;
  color: var(--text);
  opacity: 0.92;
}

.hero-lead,
.proof-body,
.panel-copy,
.panel p,
.research-card p,
.timeline-copy p,
.network-card p,
.link-meta {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lead {
  max-width: 54rem;
  margin: 1.2rem auto 0;
  font-size: 1.05rem;
}

.hero-lead-secondary {
  max-width: 48rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
}

.button {
  min-width: 12rem;
  padding: 0.95rem 1.3rem;
}

.button-primary {
  background: var(--accent);
  color: #060903;
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  margin-top: 3rem;
}

.portrait-card,
.proof-card,
.section,
.panel,
.problem-card,
.research-card,
.timeline-row,
.network-card,
.link-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(11, 16, 8, 0.92), rgba(8, 11, 6, 0.82));
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.portrait-card {
  padding: 1rem;
  text-align: left;
}

.portrait-shell {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius-md) - 4px);
  background:
    radial-gradient(circle at top, rgba(200, 255, 44, 0.1), transparent 28%),
    linear-gradient(180deg, rgba(16, 22, 11, 0.92), rgba(7, 10, 6, 0.96));
}

.portrait-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.portrait-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0.3rem 0.15rem;
}

.portrait-caption strong {
  font-size: 1.05rem;
}

.portrait-caption span {
  color: var(--muted);
  font-size: 0.92rem;
}

.proof-column {
  display: grid;
  gap: 1rem;
}

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

.proof-card {
  padding: 1.2rem;
  text-align: left;
}

.proof-card-focus {
  display: grid;
  gap: 0.95rem;
  padding: 1.55rem;
  background:
    radial-gradient(circle at top right, rgba(200, 255, 44, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(16, 24, 10, 0.96), rgba(9, 14, 6, 0.9));
}

.proof-card-focus .proof-body {
  font-size: 1.04rem;
  line-height: 1.7;
}

.section {
  margin-top: 1.5rem;
  padding: 2.2rem;
}

.section-header {
  max-width: 40rem;
}

.section-header h2 {
  margin-top: 0.5rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 0.98;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
}

.panel {
  padding: 1.4rem;
}

.panel-large {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-panel {
  gap: 1.3rem;
  padding: 1.65rem;
  background:
    radial-gradient(circle at top right, rgba(200, 255, 44, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(14, 20, 9, 0.96), rgba(8, 11, 6, 0.88));
}

.problem-heading {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.problem-card {
  position: relative;
  min-height: 218px;
  padding: 1.2rem 1.2rem 1.25rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(200, 255, 44, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(12, 18, 8, 0.92), rgba(7, 10, 5, 0.82));
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(200, 255, 44, 0));
  opacity: 0.9;
}

.problem-card:nth-child(2)::before {
  background: linear-gradient(90deg, rgba(146, 235, 255, 0.9), rgba(146, 235, 255, 0));
}

.problem-card:nth-child(3)::before {
  background: linear-gradient(90deg, rgba(255, 214, 102, 0.9), rgba(255, 214, 102, 0));
}

.problem-index {
  margin: 0;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.problem-card h4 {
  margin: 0.6rem 0 0.55rem;
  font-size: 1.16rem;
  line-height: 1.15;
}

.problem-card p:last-child {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.68;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.research-card {
  padding: 1.4rem;
  text-align: left;
}

.research-card h3,
.timeline-copy h3,
.network-card h3 {
  margin: 0.7rem 0 0.65rem;
  font-size: 1.2rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
}

.timeline-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.35rem;
  text-align: left;
}

.timeline-year {
  margin: 0;
  color: var(--accent);
  font-weight: 700;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.network-card {
  display: flex;
  flex-direction: column;
  padding: 1.4rem;
  text-align: left;
  text-decoration: none;
}

.network-card-link,
.network-card-main-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.network-card-main-link {
  min-height: calc(100% - 1.4rem);
}

.network-sub-link {
  margin-top: 1rem;
}

.network-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.62rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(200, 255, 44, 0.06);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.network-pill:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(200, 255, 44, 0.14);
}

.network-card:hover,
.proof-card:hover,
.panel:hover,
.problem-card:hover,
.research-card:hover,
.timeline-row:hover,
.portrait-card:hover {
  border-color: var(--line-strong);
}

.links-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(11, 16, 8, 0.92), rgba(8, 11, 6, 0.82));
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.icon-link:hover {
  border-color: var(--line-strong);
}

.icon-link svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: currentColor;
}

.topbar-social .icon-link {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(10, 15, 7, 0.82);
  box-shadow: none;
}

.topbar-social .icon-link svg {
  width: 1rem;
  height: 1rem;
}

[data-reveal="true"] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

[data-reveal="true"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .topbar,
  .hero-stage,
  .about-grid,
  .research-grid,
  .network-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 28px;
  }

  .topbar-utilities {
    justify-self: stretch;
    justify-content: space-between;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .topbar {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .topnav {
    justify-content: flex-start;
  }

  .topbar-utilities {
    width: 100%;
    justify-content: space-between;
  }

  .topbar-social .icon-link {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero {
    padding: 4rem 0 2.4rem;
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .section {
    padding: 1.5rem;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .portrait-caption,
  .timeline-row {
    grid-template-columns: 1fr;
  }

  .portrait-caption {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }

  [data-reveal="true"] {
    opacity: 1;
    transform: none;
  }
}
