:root {
  --bg: #020202;
  --panel: #050505;
  --line: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.76);
  --blue: #ffffff;
  --blue-glow: rgba(10, 43, 255, 0.26);
  --secondary: #ffffff;
  --secondary-glow: rgba(0, 242, 255, 0.25);
  --success: #00c853;
  --nav-h: 48px;
  --border-diegetic: 1px solid rgba(255, 255, 255, 0.12);
  --bg-diegetic: #050505;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  padding-top: var(--nav-h);
  font-size: 18px;
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

/* ── Star Canvas ── */
#starField {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Fixed Nav ── */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  background: var(--bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  z-index: 200;
}

.nav-logo img {
  height: 26px;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.nav-logo:hover img {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  padding: 15px 0;
  border-bottom: 2px solid transparent;
  transition:
    color 0.3s,
    border-color 0.3s;
  user-select: none;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.active {
  color: var(--text);
  border-bottom-color: var(--blue);
}

/* ── Sections ── */
.section-full {
  min-height: 100vh;
  width: 100%;
  position: relative;
  z-index: 1;
  scroll-margin-top: var(--nav-h);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
    transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

/* ── HOMEPAGE (SPLIT VIEW) ── */
#homepage {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100vh;
  position: relative;
  background: radial-gradient(
    circle at 75% 50%,
    rgba(10, 44, 255, 0.03) 0%,
    transparent 60%
  );
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 10;
  text-align: left;
  max-width: 36vw;
  padding: 0;
  margin-left: 6vw;
  margin-top: 15vh;
  will-change: transform, opacity;
  pointer-events: none;
}

.hero-inner > * {
  pointer-events: auto;
}

/* Orbit animation around logo */
.hero-orbit-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 0 56px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

.hero-logo {
  width: 158px;
  position: relative;
  z-index: 2;
  opacity: 0.9;
  filter: drop-shadow(0 0 30px rgba(10, 44, 255, 0.15));
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transform-style: preserve-3d;
}

.hero-orbit-1 {
  width: 160px;
  height: 160px;
  animation: orbit1 18s linear infinite;
}

.hero-orbit-1::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
  top: -2px;
  left: 50%;
  margin-left: -2px;
  box-shadow:
    0 0 10px var(--blue-glow),
    0 0 3px rgba(255, 255, 255, 0.6);
}

.hero-orbit-2 {
  width: 200px;
  height: 200px;
  border-color: rgba(255, 255, 255, 0.04);
  animation: orbit2 26s linear infinite;
}

.hero-orbit-2::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  top: -1.5px;
  left: 50%;
  margin-left: -1.5px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

@keyframes orbit1 {
  from {
    transform: rotateX(72deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(72deg) rotateZ(360deg);
  }
}

@keyframes orbit2 {
  from {
    transform: rotateX(68deg) rotateY(25deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(68deg) rotateY(25deg) rotateZ(-360deg);
  }
}

/* Hero text */
.hero-text {
  font-weight: 300;
  font-size: 24px;
  line-height: 1.7;
  letter-spacing: 0.4px;
  margin-left: 1vw;
  color: rgba(255, 255, 255, 1);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.99) 0%,
    rgba(255, 255, 255, 0.92) 30%,
    rgb(255, 255, 255) 50%,
    rgba(255, 255, 255, 0.99) 70%,
    rgba(255, 255, 255, 0.92) 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow:
    0 0 24px rgba(255, 255, 255, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 0 18px rgba(0, 0, 0, 0.7);
  animation: shimmer 10s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    background-position: 300% center;
  }

  50% {
    background-position: -100% center;
  }
}

/* ── NETWORK (Merged into Homepage) ── */
.network-container {
  position: absolute;
  top: 3vh;
  right: -5vw;
  width: 85vw;
  height: 130vh;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.network-heading {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 50;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 12px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  pointer-events: none;
}

#globeViz {
  width: 100%;
  height: 100%;
  cursor: grab;
}

#globeViz:active {
  cursor: grabbing;
}

.network-container.node-hover #globeViz {
  cursor: pointer;
}

.globe-node-hit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 30px;
  padding: 8px 12px 9px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-12px, -50%);
  isolation: isolate;
}

.globe-node-hit::before {
  content: "";
  position: absolute;
  inset: 4px 5px;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.14));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 4px 18px rgba(0, 0, 0, 0.38);
  opacity: 0.72;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease,
    transform 0.2s ease;
}

.globe-node-hit:hover::before,
.globe-node-hit:focus-visible::before {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.24));
  opacity: 1;
  transform: scaleX(1.02);
}

.globe-node-hit:focus-visible {
  outline: none;
}

.globe-node-dot {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  margin-left: -2px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 8px rgba(255, 255, 255, 0.72),
    0 0 20px rgba(255, 255, 255, 0.2);
}

.globe-node-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  opacity: 0.58;
}

.globe-node-name {
  position: relative;
  z-index: 1;
  padding-left: 9px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.65px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

/* HUD Elements for the Globe */
.globe-hud {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  pointer-events: none;
  text-align: center;
}

.globe-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 0;
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: rgba(255, 255, 255, 1);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.4px;
  line-height: 1;
  text-transform: uppercase;
  box-shadow: none;
  opacity: 0.8;
  transition:
    opacity 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.network-container.node-hover .globe-hint {
  opacity: 1;
  color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.globe-hud-label {
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--secondary);
  text-transform: uppercase;
  opacity: 0.8;
}

/* ── DIEGETIC POPUP ── */
.city-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px) contrast(1.1);
  -webkit-backdrop-filter: blur(12px) contrast(1.1);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.city-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.city-popup {
  background: var(--bg-diegetic);
  border: var(--border-diegetic);
  width: 90%;
  max-width: 580px;
  position: relative;
  overflow: hidden;
  transform: scale(0.9) translateY(40px);
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.5s;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  display: flex;
  flex-direction: column;
}

.city-popup::before {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}

.city-popup::after {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

.city-popup-overlay.active .city-popup {
  transform: scale(1) translateY(0);
}

/* ── NETWORK POPUP ── */
.map-city-hit {
  cursor: pointer;
}

.map-city-hit:hover .map-pin-dot {
  fill: var(--blue);
}

.city-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.city-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.city-popup {
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  width: 90%;
  max-width: 1152px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(10, 44, 255, 0.04);
}

.city-popup-overlay.active .city-popup {
  transform: translateY(0) scale(1);
}

.city-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: var(--border-diegetic);
}

.city-popup-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--secondary);
}

.city-popup-feed {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  border-bottom: var(--border-diegetic);
}

.city-popup-feed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.7;
  transition: opacity 0.5s;
}

.city-popup-scanline {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.03),
      rgba(0, 255, 0, 0.01),
      rgba(0, 0, 255, 0.03)
    );
  background-size:
    100% 4px,
    3px 100%;
  pointer-events: none;
  z-index: 5;
}

.city-popup-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 4;
}

.city-popup-info {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.02));
}

.city-popup-clock {
  font-family: "Roboto", sans-serif;
  font-size: 42px;
  font-weight: 100;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -1px;
}

.city-popup-tz {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}

.city-popup-close {
  position: absolute;
  top: -1px;
  right: 20px;
  padding: 10px 15px;
  background: var(--bg-diegetic);
  border: var(--border-diegetic);
  border-top: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 2px;
  transition: all 0.2s;
}

.city-popup-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 800px) {
  .city-popup {
    max-width: 95%;
  }

  .city-popup-clock {
    font-size: 32px;
  }

  .network-container {
    max-width: 100%;
  }
}

/* ── CONTACT ── */
#contact {
  background: transparent;
  box-sizing: border-box;
}

/* ── Foundation Roles Accordion ── */
.contact-roles {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 64px;
  text-align: left;
}

/* Accordion Level 1 (Roles) */
.role-accordion-item {
  border-bottom: 1px solid var(--line);
}
.role-accordion-item:first-of-type {
  border-top: 1px solid var(--line);
}

.role-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: left;
}

.role-trigger:hover,
.role-trigger:focus-visible {
  color: #ffffff;
  outline: none;
}

.role-icon {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-accordion-item.is-open > .role-trigger > .role-icon {
  transform: rotate(45deg);
}

.role-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.role-panel-inner {
  overflow: hidden;
}

.role-accordion-item.is-open > .role-panel {
  grid-template-rows: 1fr;
}

.role-content-wrap {
  padding-bottom: 24px;
}

.role-intro {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  font-style: italic;
}

/* Accordion Level 2 (Questions) */
.question-accordion-item {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.question-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: left;
  gap: 16px;
}

.question-trigger:hover,
.question-trigger:focus-visible {
  color: #ffffff;
  outline: none;
}

.question-icon {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.question-accordion-item.is-open > .question-trigger > .question-icon {
  transform: rotate(45deg);
}

.question-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.question-panel-inner {
  overflow: hidden;
}

.question-accordion-item.is-open > .question-panel {
  grid-template-rows: 1fr;
}

.question-content-wrap {
  padding: 4px 0 20px;
  padding-right: 28px;
}

.question-content-wrap p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

@media (max-width: 768px) {
  .contact-roles {
    max-width: 100%;
    margin-bottom: 48px;
  }
  .role-trigger {
    font-size: 12px;
    padding: 20px 0;
  }
  .question-trigger {
    font-size: 14px;
    padding: 14px 0;
  }
  .question-content-wrap {
    padding-right: 0;
  }
}

.contact-parallax-wrap {
  will-change: transform, opacity;
}

.contact-inner {
  text-align: center;
}

.contact-heading {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}

.contact-copy {
  max-width: 560px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.65;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-action {
  min-width: 170px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.3s,
    color 0.3s,
    background 0.3s;
}

.contact-action-primary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.contact-action:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

/* ── Content Sections (shared) ── */
.content-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px 140px;
  background: transparent;
}

.content-section:nth-child(odd) {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 8%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.3) 92%,
    transparent 100%
  );
}

.content-heading {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 56px;
  text-align: center;
}

.content-body {
  max-width: 860px;
  width: 100%;
}

.content-subtitle {
  font-size: 24px;
  font-weight: 100;
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Crisis ── */
.crisis-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.crisis-block {
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.crisis-block-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  display: block;
}

.crisis-block p {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

/* ── Proposition ── */
.prop-body {
  max-width: 960px;
  width: 100%;
}

.prop-sub-heading {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.prop-sub-heading:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.hw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
  /* Increased gap for more 'air' */
}

.hardware-layout {
  width: min(100%, 1700px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(56px, 8vw, 140px);
}

.hardware-visual {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hw-icon-container.hardware-window-model {
  width: min(100%, 900px);
  height: 500px;
  margin-bottom: 0;
}

.hardware-copy {
  width: 100%;
  max-width: 660px;
}

.hardware-lead {
  font-size: clamp(25px, 2.1vw, 38px);
  font-weight: 100;
  line-height: 1.35;
  color: var(--text);
}

.hardware-copy-block {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.hardware-copy-block:last-child {
  padding-bottom: 0;
}

.hardware-copy-block h3 {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.hardware-copy-block p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.66);
}

.hw-item {
  padding: 0;
  border: none;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Center content horizontally */
  text-align: center;
}

.models-persistence-wrap {
  position: relative;
  width: 100%;
}

.models-sticky-overlay {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  pointer-events: none;
  z-index: 0;
  /* Ensure it doesn't create extra scroll space */
  margin-bottom: -100vh;
}

.why-bg-container {
  position: absolute;
  width: 300px;
  height: 300px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.why-bg-container.left {
  left: 4vw;
}

.why-bg-container.right {
  right: 4vw;
}

.why-bg-container.top {
  top: 10%;
}

.why-bg-container.bottom {
  bottom: 10%;
}

.hw-icon-container {
  width: 100%;
  height: 220px;
  margin-bottom: 24px;
  position: relative;
}

.hw-icon-container canvas {
  display: block;
  width: 100%;
  height: 100%;
  outline: none;
}

.hw-name {
  font-size: 18px;
  font-weight: 100;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 14px;
}

.hw-item p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
}

.platform-features {
  margin-top: 20px;
}

.platform-feature {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 40px;
  align-items: baseline;
}

.platform-feature:last-child {
  border-bottom: none;
}

.platform-feature-label {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
  min-width: 160px;
}

.platform-feature p {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
}

.formula {
  text-align: center;
  padding: 24px 0;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.formula span {
  font-size: 32px;
  font-weight: 100;
  letter-spacing: 6px;
  color: var(--text);
  font-style: italic;
}

.formula p {
  font-size: 11px;
  font-weight: 300;
  color: var(--muted);
  margin-top: 12px;
  letter-spacing: 1px;
}

/* ── Software Layout ── */
.software-layout {
  display: flex;
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1600px;
}

.software-info {
  flex: 1;
}

.software-visual {
  flex: 1.2;
  position: relative;
}

.os-window {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.os-header {
  height: 28px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
}

.os-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}

.os-dots-container {
  display: flex;
  gap: 7px;
  align-items: center;
  cursor: pointer;
  padding: 4px;
}

.os-dots-container:hover .os-dot {
  background: rgba(255, 255, 255, 0.3);
}

.os-dots-container:hover .os-dot-close {
  background: rgba(255, 255, 255, 0.8);
}

.os-dot-close {
  position: relative;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.os-dot-close::before,
.os-dot-close::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.os-dots-container:hover .os-dot-close::before {
  width: 10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0;
  transform: rotate(45deg);
}

.os-dots-container:hover .os-dot-close::after {
  width: 10px;
  height: 1px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0;
  transform: rotate(-45deg);
}

.os-video {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.9;
}

/* ── OS Modal Navigation ── */
.os-modal-content {
  display: flex;
  flex: 1;
  height: 100%;
  background: #000;
  position: relative;
  overflow: hidden;
}

.os-sidebar {
  width: 180px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.os-sidebar-item {
  padding: 12px 24px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.os-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.os-sidebar-item.active {
  background: rgba(10, 44, 255, 0.12);
  color: var(--secondary);
}

.os-sidebar-item.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--secondary);
}

.os-folder-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.5;
}

.os-sidebar-item.active .os-folder-icon {
  opacity: 1;
}

.os-main-view {
  flex: 1;
  overflow-y: auto;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(8, 14, 32, 0) 0%,
    rgba(10, 44, 255, 0.03) 100%
  );
}

.tab-content {
  display: none;
  height: 100%;
  animation: tabFade 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes tabFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content.active {
  display: block;
}

/* Live Feed Adjustment */
#tab-livestream.active {
  display: flex;
  flex-direction: column;
}

.os-feed-container {
  position: relative;
  flex: 1;
  min-height: 250px;
  background: #000;
  overflow: hidden;
}

.os-feed-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.os-feed-info {
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.4);
}

/* Calendar Styling */
.calendar-view {
  padding: 32px;
}

.calendar-month {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  margin-bottom: 24px;
  color: var(--text);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cal-day-label {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px;
  font-size: 9px;
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cal-day {
  background: #000;
  min-height: 80px;
  padding: 6px;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  transition: background 0.2s;
}

.cal-day.empty {
  background: rgba(0, 0, 0, 0.2);
}

.cal-day.other-month {
  background: rgba(0, 0, 0, 0.4);
  opacity: 0.3;
  cursor: default;
}

.calendar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.cal-nav-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  padding: 4px 12px;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s;
}

.cal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--secondary);
}

.calendar-month {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--text);
  text-transform: uppercase;
  margin: 0;
  border: none;
  padding: 0;
}

.artist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 32px;
}

.artist-item-mock {
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.artist-item-mock:hover {
  color: var(--secondary);
}

.cal-day.event {
  color: var(--secondary);
  cursor: pointer;
  background: rgba(10, 44, 255, 0.05);
}

.cal-day.event:hover {
  background: rgba(0, 242, 255, 0.15);
  color: #fff;
}

.cal-dot {
  width: 4px;
  height: 4px;
  background: var(--secondary);
  border-radius: 50%;
  margin-top: 4px;
  box-shadow: 0 0 8px var(--secondary);
}

.cal-event-badge {
  font-size: 8px;
  color: var(--secondary);
  background: rgba(10, 44, 255, 0.15);
  padding: 2px 4px;
  border-radius: 2px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.cal-event-name {
  font-size: 10px;
  color: #fff;
  text-align: center;
  margin-top: 4px;
  line-height: 1.2;
  width: 100%;
}

/* Curations Styling */
.curations-view {
  padding: 32px;
}

.curation-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.curation-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s;
}

.curation-card:hover {
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.04);
}

.curation-meta {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 8px;
}

.curation-art-title {
  font-size: 20px;
  font-weight: 100;
  color: var(--text);
  margin-bottom: 4px;
}

.curation-artist-name {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

.curation-detail-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.curation-detail-title {
  font-size: 28px;
  font-weight: 100;
  color: var(--text);
  margin: 8px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.curation-detail-status {
  font-size: 10px;
  color: var(--secondary);
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.curation-detail-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}

.curation-cover img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.curation-info h3 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  margin-top: 0;
}

.curation-info p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 24px;
}

.artist-list-simple {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.artist-list-simple li {
  font-size: 14px;
  color: var(--text);
}

.artist-link {
  color: var(--secondary);
  text-decoration: none;
  transition: opacity 0.2s;
}

.artist-link:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.artist-role-simple {
  font-size: 11px;
  color: var(--muted);
  margin-left: 6px;
  font-style: italic;
}

/* Header additions */
.os-header-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

/* Removed .os-close-btn */

/* ── Partnerships ── */
.partner-intro {
  font-size: 20px;
  font-weight: 100;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  margin-bottom: 56px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.who-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 24px;
}

.partner-item {
  padding: 0;
  border: none;
  text-align: center;
}

.partner-item:hover {
  border-left-color: transparent;
}

.partner-item:last-child {
  border-bottom: none;
}

.partner-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.partner-item p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
}

.partner-footer {
  margin-top: 56px;
  text-align: center;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Roadmap ── */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.timeline-year {
  font-size: 20px;
  font-weight: 100;
  letter-spacing: 4px;
  color: var(--text);
  margin-bottom: 28px;
  margin-top: 48px;
  position: relative;
}

.timeline-year:first-child {
  margin-top: 0;
}

.timeline-year::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
  box-shadow: 0 0 10px var(--blue-glow);
}

.timeline-phase {
  padding: 12px 0 20px;
  position: relative;
}

.timeline-phase::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.timeline-phase-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.timeline-phase p {
  font-size: 19px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
}

/* ── About ── */
.about-body {
  max-width: 1100px;
  width: 100%;
  text-align: center;
}

.about-body p {
  font-size: 22px;
  font-weight: 100;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.about-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  #homepage {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
    background: radial-gradient(
      circle at 50% 60%,
      rgba(10, 44, 255, 0.04) 0%,
      transparent 70%
    );
  }

  .hero-inner {
    max-width: 90%;
    margin: 4vh auto 0;
    text-align: center;
    z-index: 20;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-orbit-wrap {
    margin: 0 auto 24px;
  }

  .network-container {
    position: relative;
    width: 100vw;
    height: 40vh;
    /* Reduced height to pull content up */
    margin: -10vh auto 0;
    /* Added negative margin to push it UP */
    right: 0;
    left: 0;
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-text {
    font-size: 18px;
    line-height: 1.5;
  }

  .nav-links {
    gap: 12px;
  }

  .nav-link {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  #mainNav {
    padding: 0 16px;
  }

  .crisis-blocks {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hw-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 440px;
    margin: 0 auto;
  }

  .hardware-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 720px;
  }

  .hardware-visual {
    min-height: 0;
  }

  .hardware-window-model {
    height: min(64vh, 700px);
  }

  .hardware-copy {
    max-width: 100%;
    text-align: center;
  }

  .hardware-lead {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .software-layout {
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }

  .software-visual {
    width: 100%;
    max-width: 100%;
  }

  .content-section {
    padding: 80px 60px;
  }

  .content-subtitle {
    font-size: 20px;
  }

  .platform-feature {
    flex-direction: column;
    gap: 10px;
    text-align: left;
  }

  .platform-feature-label {
    min-width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 10px;
  }

  .nav-link {
    font-size: 8px;
    letter-spacing: 0.5px;
  }

  .hero-inner {
    padding: 0 16px;
    margin: 2vh auto 0;
  }

  .hero-orbit-wrap {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
  }

  .hero-orbit-1 {
    width: 100px;
    height: 100px;
  }

  .hero-orbit-2 {
    width: 120px;
    height: 120px;
  }

  .hero-logo {
    width: 80px;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.6;
  }

  .content-section {
    padding: 64px 24px;
  }

  .content-heading {
    font-size: 18px;
    margin-bottom: 32px;
    letter-spacing: 4px;
  }

  .why-bg-container {
    display: none;
  }

  .content-subtitle {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 0px;
  }

  .hw-name {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .hw-item p,
  .crisis-block p,
  .partner-item p,
  .timeline-phase p {
    font-size: 15px;
    line-height: 1.6;
  }

  .partner-label,
  .crisis-block-label,
  .timeline-phase-label {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .hw-icon-container {
    height: 280px;
    margin-bottom: 24px;
  }

  .hardware-window-model {
    height: 340px;
    margin-bottom: 0;
  }

  .hardware-copy-block {
    padding: 22px 0;
  }

  .hardware-copy-block p {
    font-size: 15px;
    line-height: 1.6;
  }

  .partner-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .timeline-year {
    font-size: 18px;
    margin-top: 32px;
  }

  .about-body p {
    font-size: 16px;
    line-height: 1.6;
  }

  /* OS Modal Mobile Adjustments */
  .city-popup {
    width: 95% !important;
    height: 85vh !important;
    aspect-ratio: auto !important;
    max-width: none !important;
  }

  .os-modal-content {
    flex-direction: column;
    height: calc(85vh - 36px);
  }

  .os-sidebar {
    width: 100%;
    height: auto;
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-shrink: 0;
  }

  .os-sidebar-item {
    padding: 16px 12px;
    font-size: 10px;
    white-space: nowrap;
    flex: 1;
    justify-content: center;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    flex-direction: column;
    gap: 6px;
  }

  .os-folder-icon {
    width: 16px;
    height: 16px;
    margin-right: 0 !important;
  }

  .os-sidebar-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
  }

  .os-sidebar-item.active::before {
    display: none;
  }

  .os-feed-container {
    min-height: 200px;
  }

  .city-popup-clock {
    font-size: 28px;
  }

  .calendar-view,
  .curations-view,
  .artist-grid {
    padding: 20px;
  }

  .curation-detail-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .artist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ── FOUNDATION SECTION ── */
.foundation-section {
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 30px;
}

.foundation-section .content-heading {
  margin-bottom: 12px;
}

.foundation-section .content-subtitle {
  margin-bottom: 0px;
}

.foundation-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  justify-content: flex-start;
  padding: 0 0 10px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  -webkit-overflow-scrolling: touch;
}

/* Custom scrollbar matching rest of layout */
.foundation-scroll-wrapper::-webkit-scrollbar {
  height: 5px;
}

.foundation-scroll-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.foundation-scroll-wrapper::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

@media (min-width: 1101px) {
  .foundation-scroll-wrapper {
    justify-content: center;
  }
}

.foundation-network {
  position: relative;
  width: 1100px;
  height: 686px;
  flex-shrink: 0;
  margin: 0 auto;
  user-select: none;
}

.foundation-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.f-line {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.5px;
}

.f-path {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1.5px;
  fill: none;
}

.foundation-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  z-index: 2;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.f-node-main {
  background: rgba(5, 5, 5, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow:
    0 4px 18px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.f-node-main:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.65),
    0 0 8px rgba(255, 255, 255, 0.05);
}

.f-node-center {
  background: rgba(8, 14, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow:
    0 6px 24px rgba(10, 44, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.f-node-center:hover {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 8px 30px rgba(10, 44, 255, 0.22),
    0 0 12px rgba(255, 255, 255, 0.1);
}

.f-node-sub {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  background: var(--bg);
}

.f-node-sub:hover {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
}

.foundation-flow-value {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 10px;
  font-family: "Roboto", sans-serif;
  color: rgba(255, 255, 255, 0.9);
  background: #020202;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustment for small screens navigation bar */
@media (max-width: 480px) {
  .nav-links {
    gap: 6px;
  }
  .nav-link {
    font-size: 7.5px;
    letter-spacing: 0.2px;
  }
}

@media (max-width: 375px) {
  .nav-links {
    gap: 4px;
  }
  .nav-link {
    font-size: 6.8px;
    letter-spacing: 0.1px;
  }
}

/* ── FOUNDATION GLOSSARY TOOLTIP ── */
.foundation-node[data-glossary-key] {
  cursor: help;
}

.foundation-node[data-glossary-key]:focus-visible {
  outline: none;
}

.f-node-main:focus-visible,
.f-node-main.is-glossary-active {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 6px 22px rgba(0, 0, 0, 0.65),
    0 0 8px rgba(255, 255, 255, 0.05);
}

.f-node-center:focus-visible,
.f-node-center.is-glossary-active {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    0 8px 30px rgba(10, 44, 255, 0.22),
    0 0 12px rgba(255, 255, 255, 0.1);
}

.f-node-sub:focus-visible,
.f-node-sub.is-glossary-active {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
}

.foundation-tooltip {
  position: absolute;
  z-index: 5;
  width: min(360px, calc(100vw - 40px));
  max-width: 360px;
  padding: 13px 15px;
  background: rgba(5, 5, 5, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 300;
  letter-spacing: 0.02em;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.55),
    0 0 18px rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translate(-50%, 8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  pointer-events: none;
}

.foundation-tooltip.is-active {
  opacity: 1;
  transform: translate(-50%, 0);
}

.foundation-tooltip-body {
  margin: 0;
}

.foundation-lines-mobile {
  display: none;
}

/* ── RESPONSIVE MOBILE VIEW FOR FOUNDATION NETWORK (<= 768px) ── */
@media (max-width: 768px) {
  .foundation-section {
    padding: 20px 10px 30px !important;
  }

  .foundation-section .content-heading {
    margin-bottom: 8px !important;
  }

  .foundation-section .content-subtitle {
    margin-bottom: 12px !important;
  }

  .foundation-scroll-wrapper {
    overflow: hidden !important; /* NO internal scroll! */
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    height: calc(790px * (100vw - 20px) / 360) !important;
  }

  .foundation-network {
    transform-origin: top center !important;
    transform: scale(
      calc((100vw - 20px) / 360)
    ) !important; /* Scale to fit viewport width (360px base) */
    width: 360px !important;
    height: 790px !important;
    margin: 0 auto !important;
    position: relative !important;
    flex-shrink: 0 !important;
  }

  /* SVG Line Visibility */
  .foundation-lines {
    display: none !important; /* Hide desktop lines */
  }

  .foundation-lines-mobile {
    display: block !important; /* Show mobile lines */
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
  }

  /* Dollar Flow Badges */
  .foundation-flow-value {
    display: flex !important;
    width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
    position: absolute !important;
    z-index: 3 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  }

  /* Specific mobile positions for flow badges */
  .f-badge-1 {
    left: 85px !important;
    top: 365px !important;
  }
  .f-badge-2 {
    left: 235px !important;
    top: 365px !important;
  }
  .f-badge-3 {
    left: 160px !important;
    top: 410px !important;
  }

  /* Absolute Positioning Overrides for Mobile Nodes (360px layout) */
  [data-glossary-key="newtro"] {
    left: 20px !important;
    top: 20px !important;
    width: 110px !important;
    height: 35px !important;
  }

  [data-glossary-key="vtv"] {
    left: 245px !important;
    top: 20px !important;
    width: 100px !important;
    height: 35px !important;
  }

  [data-glossary-key="orbit-system"] {
    left: 20px !important;
    top: 100px !important;
    width: 110px !important;
    height: 35px !important;
  }

  [data-glossary-key="orbit-screen"] {
    left: 245px !important;
    top: 100px !important;
    width: 100px !important;
    height: 35px !important;
  }

  [data-glossary-key="public-layer"] {
    left: 20px !important;
    top: 170px !important;
    width: 110px !important;
    height: 30px !important;
  }

  [data-glossary-key="admin-layer"] {
    left: 20px !important;
    top: 215px !important;
    width: 110px !important;
    height: 30px !important;
  }

  [data-glossary-key="premium"] {
    left: 245px !important;
    top: 170px !important;
    width: 100px !important;
    height: 30px !important;
  }

  [data-glossary-key="diy"] {
    left: 245px !important;
    top: 215px !important;
    width: 100px !important;
    height: 30px !important;
  }

  [data-glossary-key="satellite-foundation"] {
    left: 100px !important;
    top: 310px !important;
    width: 140px !important;
    height: 40px !important;
  }

  [data-glossary-key="patreons"] {
    left: 20px !important;
    top: 410px !important;
    width: 110px !important;
    height: 35px !important;
  }

  [data-glossary-key="collector"] {
    left: 245px !important;
    top: 410px !important;
    width: 100px !important;
    height: 35px !important;
  }

  [data-glossary-key="new-private-node"] {
    left: 245px !important;
    top: 330px !important;
    width: 100px !important;
    height: 50px !important;
  }

  [data-glossary-key="mirror-node"] {
    left: 245px !important;
    top: 295px !important;
    width: 100px !important;
    height: 30px !important;
  }

  [data-glossary-key="collector-node"] {
    left: 245px !important;
    top: 255px !important;
    width: 100px !important;
    height: 30px !important;
  }

  [data-glossary-key="founder"] {
    left: 15px !important;
    top: 517px !important;
    width: 95px !important;
    height: 35px !important;
  }

  [data-glossary-key="host"] {
    left: 250px !important;
    top: 517px !important;
    width: 95px !important;
    height: 35px !important;
  }

  [data-glossary-key="new-public-node"] {
    left: 125px !important;
    top: 510px !important;
    width: 110px !important;
    height: 50px !important;
  }

  [data-glossary-key="fee"] {
    left: 120px !important;
    top: 610px !important;
    width: 120px !important;
    height: 35px !important;
  }

  [data-glossary-key="curators"] {
    left: 20px !important;
    top: 705px !important;
    width: 105px !important;
    height: 35px !important;
  }

  [data-glossary-key="artists"] {
    left: 235px !important;
    top: 705px !important;
    width: 105px !important;
    height: 35px !important;
  }

  /* Scale tooltip to look good inside mobile container */
  .foundation-tooltip {
    width: 300px !important;
    max-width: 300px !important;
    padding: 12px 14px !important;
    font-size: 11px !important;
    border-width: 1px !important;
    border-radius: 4px !important;
  }
}

/* ============================================================
   V2 NARRATIVE COMPONENTS
   ============================================================ */

:root {
  --gold: #c9a227;
  --gold-text: #e4c766;
  --gold-glow: rgba(201, 162, 39, 0.24);
}

/* ── Shared ── */
.eyebrow {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
  text-align: center;
}

.section-close {
  font-size: 22px;
  color: var(--text);
  text-align: center;
  max-width: 720px;
  margin: 56px auto 0;
  line-height: 1.5;
}

.verify-note {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.6;
  text-align: center;
  max-width: 640px;
  margin: 16px auto 0;
}

.sub-heading {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
}

.empty-state {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 40px 20px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition:
    border-color 0.3s,
    background 0.3s,
    color 0.3s;
}

.btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.btn-primary {
  background: var(--text);
  color: #000;
  border-color: var(--text);
}
.btn-primary:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #000;
}

.btn-gold {
  border-color: var(--gold);
  color: var(--gold-text);
}
.btn-gold:hover {
  background: var(--gold-glow);
  border-color: var(--gold-text);
  color: var(--gold-text);
}

.btn-ghost {
  color: var(--muted);
}

.nav-cta {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-text);
  text-decoration: none;
  padding: 15px 0 15px 12px;
  margin-left: 8px;
  border-left: 1px solid var(--line);
  transition: opacity 0.3s;
}
.nav-cta:hover {
  opacity: 0.75;
}

/* ── Hero ── */
.hero-headline {
  font-size: clamp(30px, 5vw, 62px);
  font-weight: 100;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-align: center;
  max-width: 900px;
  margin: 24px auto 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ── Live counter ── */
.live-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 24px;
}
.live-counter b {
  color: var(--text);
  font-weight: 400;
}
.lc-sep {
  opacity: 0.4;
}
.live-counter-lg {
  font-size: 18px;
  margin-top: 56px;
  gap: 18px;
}
.live-counter-lg b {
  font-size: 28px;
}

/* ── Stat grid ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: min(1080px, 90vw);
  margin: 64px auto 0;
}
.stat {
  text-align: center;
}
.stat-value {
  display: block;
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 100;
  line-height: 1;
  color: var(--text);
}
.stat-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.5;
}

/* ── Node type grid ── */
.node-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: min(900px, 90vw);
  margin: 56px auto 0;
}
.node-type {
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px 24px;
  color: var(--text);
  font-family: inherit;
  font-weight: 300;
  cursor: pointer;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.node-type:hover {
  border-color: rgba(255, 255, 255, 0.28);
}
.node-type-name {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}
.node-type-who {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.node-type-value {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 14px;
  color: var(--text);
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease,
    margin 0.4s ease;
}
.node-type.is-open .node-type-value {
  max-height: 200px;
  opacity: 1;
  margin-top: 14px;
}
.node-type-gold {
  border-color: var(--gold);
  box-shadow: 0 0 40px -18px var(--gold-glow);
}
.node-type-gold .node-type-name {
  color: var(--gold-text);
}

/* ── Hardware sub-section ── */
.hardware-sub {
  width: 100%;
  margin-top: 96px;
}

/* ── Revenue rails ── */
.revenue-rails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: min(960px, 90vw);
  margin: 56px auto 0;
}
.rail {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 32px 30px;
}
.rail-index {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--muted);
}
.rail-title {
  font-size: 22px;
  font-weight: 300;
  margin: 12px 0 14px;
}
.rail p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}
.rail-list {
  list-style: none;
  margin-top: 20px;
}
.rail-list li {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.rail-list b {
  color: var(--text);
  font-weight: 400;
}

/* ── Revenue calculator ── */
.revenue-calculator {
  width: min(760px, 90vw);
  margin: 40px auto 0;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 36px;
}
.calc-controls label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.calc-controls input[type="range"] {
  width: 100%;
  margin-bottom: 26px;
  accent-color: var(--text);
}
.calc-output {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.calc-line {
  font-size: 14px;
  color: var(--muted);
}
.calc-line b {
  color: var(--text);
  font-weight: 400;
}
.calc-total {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 100;
  margin-top: 10px;
}
.calc-total small {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 1px;
}
.calc-total #calcTotal {
  color: var(--text);
}

/* ── Level journey ── */
.level-journey {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(980px, 90vw);
  margin: 56px auto 0;
  align-items: start;
}
.level {
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 26px 24px;
  color: var(--text);
  font-family: inherit;
  font-weight: 300;
  cursor: pointer;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.level:hover {
  border-color: rgba(255, 255, 255, 0.28);
}
.level-index {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
}
.level-name {
  display: block;
  font-size: 19px;
  margin: 8px 0 12px;
}
.level-body {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.level.is-open {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.03);
}
.level .check {
  display: block;
  padding: 4px 0;
  color: var(--text);
}
.level-gold {
  border-color: var(--gold);
  box-shadow: 0 0 40px -18px var(--gold-glow);
}
.level-gold .level-name {
  color: var(--gold-text);
}
.level-gold.is-open {
  border-color: var(--gold-text);
}

.flywheel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 56px;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.fw-arrow {
  color: var(--gold);
}

/* ── agent grid ── */
.agent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(1080px, 90vw);
  margin: 56px auto 0;
}
.agent {
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 24px;
  color: var(--text);
  font-family: inherit;
  font-weight: 300;
  cursor: pointer;
  transition:
    border-color 0.3s,
    background 0.3s;
}
.agent:hover {
  border-color: rgba(255, 255, 255, 0.28);
}
.agent-title {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.agent-headline {
  display: block;
  font-size: 18px;
  margin: 10px 0 12px;
  line-height: 1.3;
}
.agent-body {
  display: block;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s ease,
    opacity 0.4s ease,
    margin 0.4s ease;
}
.agent.is-open .agent-body {
  max-height: 320px;
  opacity: 1;
  margin-bottom: 14px;
}
.agent-tags {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
}

/* ── Investor band ── */
.investor-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(1080px, 90vw);
  margin: 32px auto 0;
  padding: 32px 36px;
  border: 1px solid var(--gold);
  background: linear-gradient(90deg, var(--gold-glow), transparent 60%);
  box-shadow: 0 0 60px -28px var(--gold-glow);
}
.investor-band-copy {
  max-width: 720px;
}
.investor-band .agent-title {
  color: var(--gold-text);
}
.investor-band .agent-headline {
  color: var(--text);
}
.investor-band .agent-body {
  max-height: none;
  opacity: 1;
  margin-bottom: 12px;
}

/* ── Dual path ── */
.dual-path {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: min(880px, 90vw);
  margin: 56px auto 0;
}
.path {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 36px 32px;
  min-height: 200px;
}
.path-gold {
  border-color: var(--gold);
  box-shadow: 0 0 40px -20px var(--gold-glow);
}
.path-tag {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.path-gold .path-tag {
  color: var(--gold-text);
}
.path-title {
  font-size: 24px;
  font-weight: 300;
  margin: 14px 0 10px;
}
.path p {
  font-size: 15px;
  color: var(--muted);
}

.steps-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: min(880px, 90vw);
  margin: 40px auto 0;
}
.step {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.step-num {
  font-size: 28px;
  font-weight: 100;
  color: var(--muted);
}
.step-label {
  font-size: 14px;
  letter-spacing: 1px;
}

/* ── team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  width: min(1000px, 90vw);
  margin: 56px auto 0;
}
.team-stat {
  text-align: center;
}
.team-stat .stat-value {
  font-size: clamp(36px, 5vw, 64px);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: min(900px, 90vw);
  margin: 56px auto 0;
  opacity: 0.6;
}
.logo-slot {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── World ── */
.world-globe-placeholder {
  width: min(900px, 90vw);
  min-height: 320px;
  margin: 48px auto 0;
  border: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.expansion-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: min(1000px, 90vw);
  margin: 56px auto 0;
}
.exp {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.exp-when {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.exp-what {
  display: block;
  font-size: 18px;
  margin-top: 8px;
}

/* ── Investors ── */
.investors-section {
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(201, 162, 39, 0.06),
    transparent 65%
  );
}
.thesis-list {
  list-style: none;
  counter-reset: thesis;
  width: min(760px, 90vw);
  margin: 48px auto 0;
}
.thesis-list li {
  counter-increment: thesis;
  position: relative;
  padding: 18px 0 18px 56px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  line-height: 1.5;
}
.thesis-list li::before {
  content: counter(thesis, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold-text);
}

.exit-quote {
  width: min(820px, 90vw);
  margin: 56px auto 0;
  padding: 32px 36px;
  border-left: 2px solid var(--gold);
  background: var(--panel);
  font-size: 20px;
  line-height: 1.6;
  color: var(--text);
}
.exit-quote b {
  color: var(--gold-text);
  font-weight: 400;
}

.investor-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .node-type-grid {
    grid-template-columns: 1fr;
  }
  .revenue-rails {
    grid-template-columns: 1fr;
  }
  .level-journey {
    grid-template-columns: 1fr;
  }
  .agent-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expansion-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .investor-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-links {
    gap: 12px;
  }
  .nav-link {
    font-size: 10px;
    letter-spacing: 1.5px;
  }
  .nav-cta {
    display: none;
  }
  .agent-grid {
    grid-template-columns: 1fr;
  }
  .dual-path {
    grid-template-columns: 1fr;
  }
  .steps-3 {
    grid-template-columns: 1fr;
  }
  .stat-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .expansion-timeline {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
  }
  .node-type-value,
  .agent-body {
    transition: none;
  }
}

/* ============================================================
   V2.2 — HERO, INTRO & PLATFORM
   ============================================================ */

/* ── Hero layout ── */
#homepage {
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(255, 255, 255, 0.035) 0%,
    transparent 55%
  );
}

.network-container {
  position: absolute;
  inset: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.network-container.ready {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  pointer-events: none;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 1.4s ease,
    transform 1.4s ease;
}
body.intro-done .hero-content {
  opacity: 1;
  transform: translateY(0);
}
.hero-content > * {
  pointer-events: auto;
}
.hero-content::before {
  content: "";
  position: absolute;
  inset: -35% -20%;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    transparent 75%
  );
  pointer-events: none;
}

.wordmark {
  font-weight: 100;
  font-size: clamp(40px, 8vw, 108px);
  line-height: 1;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-shadow:
    0 0 40px rgba(0, 0, 0, 0.9),
    0 0 90px rgba(0, 0, 0, 0.8);
}
.wordmark .wm-strong {
  font-weight: 500;
}
.wordmark .wm-thin {
  font-weight: 100;
  margin-left: 0.24em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}

/* ── Platform embed ── */
.platform-embed {
  width: min(1080px, 92vw);
  margin: 48px auto 0;
}
.embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 40px 120px -60px rgba(255, 255, 255, 0.25);
}
.embed-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.embed-actions {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

@media (max-width: 640px) {
  .wordmark {
    white-space: normal;
  }
}

/* ── Narrative typography (v2.3) ── */
.content-section {
  padding: calc(var(--nav-h) + 72px) 24px 110px;
}
.content-heading {
  font-size: clamp(28px, 4.4vw, 52px);
  font-weight: 100;
  letter-spacing: -0.5px;
  text-transform: none;
  color: var(--text);
  line-height: 1.12;
  margin-bottom: 26px;
  max-width: 980px;
}
.content-subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 760px;
  margin-bottom: 40px;
}
.eyebrow {
  margin-bottom: 16px;
}
.section-close {
  font-weight: 100;
}

/* ── Partners ── */
.partners-block {
  margin-top: 64px;
  text-align: center;
}
.partners-line {
  font-size: 18px;
  font-weight: 300;
  color: var(--text);
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}
.partners-line b {
  font-weight: 500;
}
.partners-line-sub {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 40px;
  margin-bottom: 18px;
}
.logo-row-primary {
  opacity: 0.95;
}
.logo-row {
  margin-top: 0;
}
.logo-slot {
  font-size: 15px;
}

@media (max-width: 640px) {
  .content-heading {
    font-size: 26px;
    letter-spacing: 0;
  }
  .partners-line {
    font-size: 16px;
  }
}

/* ── Viewport fit (v2.4) ── */
.section-full {
  min-height: calc(100vh - var(--nav-h));
}
#homepage {
  min-height: calc(100vh - var(--nav-h));
}
.content-section {
  justify-content: center;
  padding: 56px 24px 96px;
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 44px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 22px;
  opacity: 0.7;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-copy {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.6;
}

@media (max-width: 640px) {
  .content-section {
    padding: 56px 20px 84px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ── Hero intro polish (v2.5) ── */
.hero-content {
  transition:
    opacity 2s ease,
    transform 2s ease;
}
.globe-node-hit {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.network-container.nodes-live .globe-node-hit {
  opacity: 1;
}

/* ── Platform section fit (v2.5) ── */
#platform .content-heading {
  margin-bottom: 16px;
}
#platform .content-subtitle {
  max-width: 1080px;
  margin-bottom: 24px;
}
.platform-embed {
  width: min(760px, 92vw);
  margin: 0 auto;
}
.embed-frame {
  aspect-ratio: 16 / 10;
}
.embed-actions {
  margin-top: 14px;
}

/* ── How it works layout (v2.6) ── */
.revenue-calculator {
  width: min(900px, 92vw);
  padding: 28px 32px;
}
.calc-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}
.calc-output {
  border-top: none;
  padding-top: 0;
  border-left: 1px solid var(--line);
  padding-left: 36px;
}
@media (max-width: 720px) {
  .calc-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .calc-output {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 20px;
  }
}

/* ── Compact spacing baseline (v2.6) ── */
.content-section {
  padding: 44px 24px 72px;
}
.content-heading {
  margin-bottom: 18px;
}
.content-subtitle {
  margin-bottom: 30px;
}
.stat-grid {
  margin-top: 44px;
}
.node-type-grid {
  margin-top: 40px;
}
.revenue-rails {
  margin-top: 32px;
}
.revenue-calculator {
  margin-top: 24px;
}
.level-journey {
  margin-top: 40px;
}
.agent-grid {
  margin-top: 40px;
}
.team-grid {
  margin-top: 40px;
}
.dual-path {
  margin-top: 40px;
}
.expansion-timeline {
  margin-top: 40px;
}
.partners-block {
  margin-top: 44px;
}
.thesis-list {
  margin-top: 32px;
}
.investor-band {
  margin-top: 24px;
}
.section-close {
  margin-top: 36px;
}
.agent {
  padding: 20px;
}
.rail {
  padding: 22px;
}
.rail-title {
  margin: 10px 0;
}
.rail p {
  font-size: 14.5px;
}
.rail-list li {
  padding: 8px 0;
}
.revenue-calculator {
  padding: 22px 26px;
}
.calc-controls input[type="range"] {
  margin-bottom: 18px;
}
.calc-total {
  font-size: clamp(32px, 5vw, 52px);
}

/* ── Responsive by viewport height (v2.6) ── */
@media (max-height: 860px) {
  .content-section {
    padding: 40px 24px 56px;
  }
  .content-heading {
    font-size: clamp(24px, 3.6vw, 42px);
    margin-bottom: 16px;
  }
  .content-subtitle {
    margin-bottom: 26px;
  }
  .stat-grid,
  .node-type-grid,
  .level-journey,
  .agent-grid,
  .team-grid,
  .dual-path,
  .expansion-timeline {
    margin-top: 32px;
  }
  .revenue-rails {
    margin-top: 30px;
  }
  .revenue-calculator {
    margin-top: 22px;
  }
  .partners-block {
    margin-top: 36px;
  }
  .platform-embed {
    margin-top: 20px;
  }
  .thesis-list {
    margin-top: 26px;
  }
  .investor-band {
    margin-top: 20px;
  }
  .section-close {
    margin-top: 36px;
  }
  .platform-embed {
    width: min(680px, 92vw);
  }
  #platform .content-subtitle {
    margin-bottom: 16px;
  }
}

@media (max-height: 800px) {
  .content-heading {
    font-size: clamp(22px, 3.2vw, 34px);
    margin-bottom: 14px;
  }
  .content-subtitle {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 18px;
  }
  .eyebrow {
    margin-bottom: 8px;
  }
  .rail {
    padding: 18px;
  }
  .rail p {
    font-size: 14px;
  }
  .rail-list li {
    padding: 6px 0;
    font-size: 13px;
  }
  .revenue-calculator {
    padding: 18px 22px;
  }
  .calc-controls input[type="range"] {
    margin-bottom: 14px;
  }
  .calc-total {
    font-size: clamp(28px, 4.5vw, 44px);
  }
  .level,
  .node-type {
    padding: 18px;
  }
  .agent {
    padding: 16px;
  }
  .agent-headline {
    font-size: 16px;
    margin: 8px 0;
  }
  .agent-tags {
    font-size: 10px;
  }
  .investor-band {
    padding: 20px 24px;
    margin-top: 16px;
  }
  .stat-value {
    font-size: clamp(34px, 4.6vw, 60px);
  }
  .team-stat .stat-value {
    font-size: clamp(30px, 4vw, 50px);
  }
  .section-close {
    margin-top: 28px;
    font-size: 19px;
  }
  .platform-embed {
    width: min(620px, 92vw);
  }
  #platform .content-subtitle {
    margin-bottom: 12px;
  }
  .embed-actions {
    margin-top: 10px;
  }
}
