:root {
  color-scheme: dark;
  --bg: #050807;
  --panel: #0b1210;
  --panel-2: #101a17;
  --ink: #edf7f1;
  --muted: #9fb1aa;
  --line: #243930;
  --green: #7be36d;
  --cyan: #75d5e6;
  --gold: #d9a46f;
  --coral: #ff7a59;
  --blue: #6f8cff;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.45;
}

a { color: inherit; }
img { max-width: 100%; }

.hero-shell {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  padding: 20px 24px 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.98) 0%, rgba(5, 8, 7, 0.84) 44%, rgba(5, 8, 7, 0.28) 100%),
    url("/assets/webflow/kw-hero-run.jpg") center / cover no-repeat;
}

.top-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(237, 247, 241, 0.18);
  border-radius: 8px;
  background: rgba(5, 8, 7, 0.58);
  backdrop-filter: blur(16px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(237, 247, 241, 0.94);
}

.logo-link img {
  width: 150px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(237, 247, 241, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(237, 247, 241, 0.1);
  color: var(--ink);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: center;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 78px 0 64px;
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 740px;
  margin-bottom: 0;
  color: rgba(237, 247, 241, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid rgba(237, 247, 241, 0.28);
  border-radius: 8px;
  background: rgba(237, 247, 241, 0.08);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(237, 247, 241, 0.64);
  background: rgba(237, 247, 241, 0.14);
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #071007;
}

.impact-console {
  overflow: hidden;
  border: 1px solid rgba(237, 247, 241, 0.18);
  border-radius: 8px;
  background: rgba(11, 18, 16, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.console-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(237, 247, 241, 0.12);
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
}

.console-header strong {
  color: var(--cyan);
}

.metric-stack {
  display: grid;
}

.metric-row {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 16px;
  border-bottom: 1px solid rgba(237, 247, 241, 0.1);
}

.metric-row:last-child { border-bottom: 0; }

.metric-row strong {
  color: var(--ink);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 28px;
  line-height: 1;
}

.metric-row span {
  display: block;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.16;
}

.metric-row small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
}

.live-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1240px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(237, 247, 241, 0.16);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(237, 247, 241, 0.1);
  backdrop-filter: blur(16px);
}

.live-strip span {
  min-height: 72px;
  display: grid;
  align-items: center;
  padding: 16px;
  color: rgba(237, 247, 241, 0.8);
  font-weight: 800;
}

.band {
  padding: 78px 24px;
  border-top: 1px solid rgba(237, 247, 241, 0.1);
}

.band > * {
  width: min(1240px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(0, 1fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading.compact {
  display: block;
}

.section-heading h2,
.cta-copy h2,
.privacy-layout h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.94;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.portfolio-layout p,
.cta-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.map-band {
  background: #07100e;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: 16px;
  align-items: stretch;
}

.network-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(237, 247, 241, 0.14);
  border-radius: 8px;
  background: #0a1512;
}

#help-network {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 560px;
}

.network-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(237, 247, 241, 0.16);
  border-radius: 8px;
  background: rgba(5, 8, 7, 0.78);
  backdrop-filter: blur(14px);
}

.network-caption strong {
  font-size: 20px;
}

.network-caption span {
  color: var(--muted);
}

.track-panel {
  display: grid;
  gap: 12px;
}

.track-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.track-tabs button {
  min-height: 48px;
  border: 1px solid rgba(237, 247, 241, 0.16);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.track-tabs button.is-active {
  border-color: var(--green);
  background: rgba(123, 227, 109, 0.12);
  color: var(--ink);
}

.track-detail {
  min-height: 360px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(237, 247, 241, 0.14);
  border-radius: 8px;
  background: var(--panel);
}

.track-detail > span {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(117, 213, 230, 0.12);
  color: var(--cyan);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  font-weight: 700;
}

.track-detail h3 {
  margin-bottom: 0;
  font-size: 30px;
  line-height: 1.04;
}

.track-detail p {
  margin-bottom: 0;
  color: var(--muted);
}

.track-node-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.track-node-list span {
  padding: 7px 9px;
  border: 1px solid rgba(237, 247, 241, 0.14);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.timeline-band {
  background: #0b1210;
}

.timeline-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.timeline-controls,
.year-card,
.bar-chart {
  border: 1px solid rgba(237, 247, 241, 0.14);
  border-radius: 8px;
  background: var(--panel-2);
}

.timeline-controls {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px;
}

.timeline-controls label,
.timeline-controls output {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.year-card {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.year-card span {
  color: var(--cyan);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 12px;
  font-weight: 700;
}

.year-card strong {
  font-size: 44px;
  line-height: 1;
}

.year-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(var(--bar-count), minmax(34px, 1fr));
  gap: 5px;
  align-items: end;
  min-height: 250px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 14px 14px 42px;
}

.year-bar {
  position: relative;
  min-width: 34px;
  min-height: 18px;
  overflow: visible;
  border: 1px solid rgba(237, 247, 241, 0.1);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), rgba(117, 213, 230, 0.24));
  cursor: pointer;
}

.year-bar.is-active {
  background: linear-gradient(180deg, var(--green), rgba(123, 227, 109, 0.28));
}

.year-bar span {
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%) rotate(-45deg);
  transform-origin: top;
  color: var(--muted);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 10px;
}

.outcome-band {
  background: #08110f;
}

.outcome-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.donut-panel {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(237, 247, 241, 0.14);
  border-radius: 8px;
  background: var(--panel);
}

.donut-panel svg {
  width: min(260px, 82%);
  height: auto;
  transform: rotate(-90deg);
}

.donut-panel div {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 4px;
  text-align: center;
}

.donut-panel strong {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 38px;
  line-height: 1;
}

.donut-panel span {
  max-width: 120px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

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

.evidence-card,
.proof-card {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 174px;
  padding: 18px;
  border: 1px solid rgba(237, 247, 241, 0.14);
  border-radius: 8px;
  background: var(--panel);
}

.evidence-card strong,
.proof-card strong {
  color: var(--green);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 30px;
  line-height: 1;
}

.evidence-card h3,
.proof-card h3 {
  margin-bottom: 6px;
  font-size: 21px;
  line-height: 1.08;
}

.evidence-card p,
.proof-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.confidence {
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid rgba(217, 164, 111, 0.32);
  border-radius: 8px;
  color: var(--gold);
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: 11px;
  font-weight: 700;
}

.portfolio-band {
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.98), rgba(5, 8, 7, 0.68)),
    url("/assets/webflow/social-media-2.png") right center / 420px auto no-repeat #050807;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.64fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.portfolio-layout > div:first-child {
  display: grid;
  justify-items: start;
  gap: 14px;
}

.portfolio-layout h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 0.94;
}

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

.logo-tile {
  min-height: 150px;
  display: grid;
  grid-template-rows: minmax(70px, 1fr) auto;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(237, 247, 241, 0.14);
  border-radius: 8px;
  background: rgba(237, 247, 241, 0.94);
  color: #071007;
  text-decoration: none;
}

.logo-tile img {
  width: 100%;
  max-height: 82px;
  object-fit: contain;
  align-self: center;
  justify-self: center;
}

.logo-tile span {
  color: #34413b;
  font-size: 13px;
  font-weight: 800;
}

.proof-band {
  background: #0b1210;
}

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

.privacy-band {
  background: #0a1512;
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.privacy-list {
  display: grid;
  gap: 10px;
}

.privacy-item {
  padding: 16px;
  border: 1px solid rgba(237, 247, 241, 0.14);
  border-radius: 8px;
  background: var(--panel);
  color: var(--muted);
  font-size: 18px;
  font-weight: 700;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(5, 8, 7, 0.98), rgba(5, 8, 7, 0.42)),
    url("/assets/webflow/kevin-25.jpg") center / cover no-repeat;
}

.cta-copy {
  width: min(820px, 100%);
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 24px;
  border-top: 1px solid rgba(237, 247, 241, 0.12);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .hero-grid,
  .map-layout,
  .timeline-layout,
  .outcome-layout,
  .portfolio-layout,
  .privacy-layout,
  .cta-band,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 44px;
  }

  .impact-console {
    max-width: 620px;
  }

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

@media (max-width: 700px) {
  .hero-shell {
    padding-inline: 14px;
  }

  .top-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  .metric-row,
  .live-strip,
  .evidence-grid,
  .proof-grid,
  .logo-grid {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 54px 14px;
  }

  .network-stage,
  #help-network {
    min-height: 430px;
  }

  .track-tabs {
    grid-template-columns: 1fr;
  }

  .bar-chart {
    min-height: 220px;
    overflow-x: auto;
    grid-template-columns: repeat(var(--bar-count), 42px);
  }

  .year-bar span {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}
