:root {
  --bg: #050505;
  --bg-deep: #000000;
  --bg-soft: #121212;
  --panel: rgba(20, 20, 20, 0.72);
  --panel-strong: rgba(28, 28, 30, 0.88);
  --panel-muted: rgba(30, 30, 32, 0.5);
  --panel-shadow: rgba(0, 0, 0, 0.5);
  --line: rgba(217, 230, 30, 0.1);
  --line-strong: rgba(217, 230, 30, 0.2);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #ffffff;
  --text-dim: #98989d;
  --text-soft: #636366;
  --accent: #d9e61e;
  --accent-strong: #f3ff82;
  --signal: #f1b86a;
  --signal-soft: #7dc4ff;
  --font-main: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "IBM Plex Mono", "Fira Code", monospace;
  --radius-panel: 2.5rem;
  --radius-card: 2.2rem;
  --radius-button: 1.25rem;
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.2);
  --ios-blur: blur(20px) saturate(180%);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-main);
  background-color: var(--bg);
  background-image: 
    radial-gradient(circle at 0% 0%, rgba(217, 230, 30, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(217, 230, 30, 0.03) 0%, transparent 40%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.v3-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.v3-grid,
.v3-stars {
  position: absolute;
  inset: 0;
}

.v3-grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 90%);
}

.v3-stars {
  background-image:
    radial-gradient(
      circle at 18% 15%,
      rgba(196, 224, 193, 0.35) 0 1.2px,
      transparent 1.5px
    ),
    radial-gradient(
      circle at 82% 22%,
      rgba(196, 224, 193, 0.24) 0 1px,
      transparent 1.4px
    ),
    radial-gradient(
      circle at 68% 68%,
      rgba(196, 224, 193, 0.18) 0 1px,
      transparent 1.4px
    ),
    radial-gradient(
      circle at 22% 74%,
      rgba(196, 224, 193, 0.16) 0 1px,
      transparent 1.4px
    );
  opacity: 0.26;
}

.v3-aura {
  position: absolute;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.42;
}

.v3-aura-cyan {
  top: -6%;
  left: -4%;
  width: 30rem;
  height: 30rem;
  background: rgba(51, 186, 41, 0.18);
}

.v3-aura-amber {
  right: -10%;
  top: 34%;
  width: 24rem;
  height: 24rem;
  background: rgba(12, 34, 11, 0.32);
}

.topbar,
.hero-copy,
.hero-presence,
.section-block,
.presence-card,
.library-card,
.exit-card,
.creative-copy,
.creative-frame,
.manifesto-grid article,
.sponsor-card-wrapper {
  position: relative;
  isolation: isolate;
}

.hero-copy::before,
.hero-presence::before,
.section-block::before,
.presence-card::before,
.library-card::before,
.exit-card::before,
.creative-copy::before,
.creative-frame::before,
.manifesto-grid article::before,
.sponsor-card-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.1),
      transparent 28%
    ),
    radial-gradient(
      circle at 82% 16%,
      rgba(217, 230, 30, 0.14),
      transparent 26%
    );
  opacity: 0.78;
  pointer-events: none;
}

.hero-copy::after,
.hero-presence::after,
.section-block::after,
.presence-card::after,
.library-card::after,
.exit-card::after,
.creative-copy::after,
.creative-frame::after,
.manifesto-grid article::after,
.sponsor-card-wrapper::after {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(20, 21, 19, 0.6),
    rgba(8, 9, 8, 0.94)
  );
  border: 1px solid rgba(255, 255, 255, 0.03);
  z-index: -2;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.38);
}

.topbar {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-radius: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(38, 40, 36, 0.78),
    rgba(25, 27, 24, 0.88)
  );
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4);
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #fff0ae 100%);
  box-shadow:
    0 0 0 3px rgba(217, 230, 30, 0.08),
    0 0 20px rgba(217, 230, 30, 0.42);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.topnav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topnav a,
.language-switch a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.topnav a {
  padding: 0.75rem 0.92rem;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    background 0.22s ease;
}

.topnav a:hover,
.topnav a:focus-visible,
.topnav a[data-active] {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(217, 230, 30, 0.08);
  transform: translateY(-1px);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.language-switch a {
  padding: 0.6rem 0.72rem;
  border-radius: 999px;
  color: var(--text-soft);
}

.language-switch a[aria-current="page"] {
  color: var(--text);
  background: linear-gradient(
    135deg,
    rgba(217, 230, 30, 0.18),
    rgba(255, 255, 255, 0.08)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.node-shell,
.node-footer {
  width: min(1240px, calc(100% - 2rem));
  margin: 0 auto;
}

.node-shell {
  padding: 2.4rem 0 7rem;
}

.hero-panel,
.section-block {
  scroll-margin-top: 2rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(350px, 0.95fr);
  gap: 1.35rem;
  align-items: stretch;
  padding: 0.8rem 0 1.8rem;
}

.hero-copy,
.hero-presence,
.section-block,
.presence-card,
.library-card,
.exit-card,
.creative-copy,
.creative-frame,
.manifesto-grid article,
.sponsor-card-wrapper {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  background: linear-gradient(
    180deg,
    rgba(39, 41, 37, 0.9),
    rgba(25, 26, 24, 0.96)
  );
  box-shadow: var(--shadow-card);
}

.hero-copy,
.hero-presence {
  min-height: 100%;
}

.hero-copy {
  border-radius: calc(var(--radius-panel) + 0.2rem);
  padding: clamp(1.6rem, 2.8vw, 2.6rem);
  background:
    radial-gradient(
      circle at 88% 16%,
      rgba(217, 230, 30, 0.12),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(34, 37, 32, 0.96), rgba(18, 19, 18, 0.98));
  box-shadow: var(--shadow-xl);
}

.hero-presence {
  border-radius: calc(var(--radius-panel) + 0.2rem);
  padding: 1rem;
  display: grid;
  gap: 1rem;
  background:
    radial-gradient(
      circle at 14% 10%,
      rgba(255, 255, 255, 0.05),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(31, 33, 31, 0.96), rgba(17, 18, 17, 0.98));
}

.button,
.presence-orbit,
.presence-caption,
.creative-frame {
  overflow: hidden;
}

.eyebrow,
.card-kicker,
.card-type,
.meta-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.eyebrow,
.meta-label,
.presence-card .card-kicker {
  color: var(--accent);
  background: rgba(217, 230, 30, 0.08);
}

.library-card .card-type {
  color: var(--signal);
  background: rgba(241, 184, 106, 0.08);
}

.exit-card .card-type,
.sponsor-card-wrapper .card-kicker {
  color: #d5e8ff;
  background: rgba(125, 196, 255, 0.12);
}

.hero-copy h1 {
  margin: 1rem 0 1.15rem;
  max-width: 10.5ch;
  font-size: clamp(3.1rem, 7vw, 6rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.65rem;
  padding: 1rem 1.2rem;
  border-radius: 1.2rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12),
    transparent 42%
  );
  opacity: 0.7;
  pointer-events: none;
}

.button:hover,
.button:focus-visible,
.library-card:hover,
.library-card:focus-visible,
.exit-card:hover,
.exit-card:focus-visible,
.presence-card:hover,
.manifesto-grid article:hover,
.creative-frame:hover,
.sponsor-card-wrapper:hover {
  transform: translateY(-4px);
}

.button-primary {
  color: #17190d;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-strong) 100%
  );
  box-shadow:
    0 18px 34px rgba(217, 230, 30, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button-secondary {
  color: var(--text);
  background: rgba(217, 230, 30, 0.06);
  border-color: rgba(217, 230, 30, 0.16);
}

.button-ghost {
  color: #ffe6bf;
  background: rgba(241, 184, 106, 0.08);
  border-color: rgba(241, 184, 106, 0.16);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-meta div {
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(0, 0, 0, 0.06)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 30px rgba(0, 0, 0, 0.18);
}

.hero-meta strong {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.02rem;
  line-height: 1.4;
}

.presence-orbit {
  position: relative;
  min-height: 440px;
  border-radius: 1.45rem;
  border: 1px solid rgba(217, 230, 30, 0.12);
  background:
    radial-gradient(
      circle at center,
      rgba(217, 230, 30, 0.12),
      transparent 24%
    ),
    radial-gradient(rgba(255, 255, 255, 0.08) 1.1px, transparent 1.5px),
    linear-gradient(180deg, rgba(18, 19, 18, 0.96), rgba(10, 11, 10, 1));
  background-size:
    auto,
    44px 44px,
    auto;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(217, 230, 30, 0.04);
}

.presence-orbit::before,
.presence-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(217, 230, 30, 0.12);
}

.presence-orbit::before {
  inset: 13% 10%;
  box-shadow: 0 0 36px rgba(217, 230, 30, 0.06);
}

.presence-orbit::after {
  inset: 24% 20%;
  opacity: 0.75;
}

.central-node,
.orbit-node {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 999px;
}

.central-node {
  top: 50%;
  left: 50%;
  width: 11rem;
  height: 11rem;
  padding: 0.9rem;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(217, 230, 30, 0.34);
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(217, 230, 30, 0.15),
      transparent 44%
    ),
    linear-gradient(180deg, rgba(33, 36, 29, 0.96), rgba(18, 20, 16, 0.98));
  box-shadow:
    0 0 40px rgba(217, 230, 30, 0.16),
    inset 0 0 26px rgba(217, 230, 30, 0.06);
}

.node-label,
.presence-caption small,
.central-node small {
  color: var(--text-dim);
}

.node-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.central-node strong {
  font-size: 1.25rem;
}

.orbit-node {
  min-width: 5.5rem;
  min-height: 5.5rem;
  padding: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #ffebc6;
  border: 1px solid rgba(241, 184, 106, 0.24);
  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(241, 184, 106, 0.12),
      transparent 48%
    ),
    rgba(21, 22, 21, 0.96);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.orbit-ens {
  top: 8%;
  left: 39%;
}

.orbit-ipfs {
  top: 28%;
  right: 6%;
}

.orbit-ipns {
  right: 20%;
  bottom: 12%;
}

.orbit-store {
  left: 18%;
  bottom: 8%;
}

.orbit-git {
  top: 34%;
  left: 5%;
}

.presence-caption {
  position: relative;
  padding: 1.3rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(
      circle at 18% 22%,
      rgba(217, 230, 30, 0.12),
      transparent 22%
    ),
    radial-gradient(
      circle at 82% 78%,
      rgba(241, 184, 106, 0.12),
      transparent 22%
    ),
    linear-gradient(180deg, rgba(31, 33, 31, 0.94), rgba(18, 19, 18, 0.98));
}

.presence-caption p {
  margin: 0 0 0.55rem;
  max-width: 16ch;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.presence-caption small {
  display: block;
  max-width: 34ch;
  line-height: 1.65;
}

.partners-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.2rem;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  opacity: 0.8;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.partner-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.partner-tag {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.partner-logo {
  height: 18px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.08);
}

.partner-logo-storacha {
  height: 26px;
  transform: translateY(1px);
  filter: brightness(1.16) saturate(1.02);
}

.partner-logo-github {
  height: 17px;
  transform: translateY(0.5px);
}

.pulse-strip {
  position: relative;
  margin: 0.8rem 0 2.4rem;
  overflow: hidden;
  border: 1px solid rgba(125, 196, 255, 0.14);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(16, 18, 17, 0.98), rgba(4, 5, 4, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.44),
    inset 0 0 42px rgba(31, 255, 153, 0.04);
}

.pulse-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04),
      transparent 12%,
      transparent 78%,
      rgba(0, 0, 0, 0.36)
    ),
    linear-gradient(
      90deg,
      rgba(180, 104, 255, 0.08),
      transparent 18%,
      transparent 82%,
      rgba(125, 196, 255, 0.08)
    ),
    radial-gradient(circle, rgba(31, 255, 153, 0.78) 0 1px, transparent 1.35px);
  background-size:
    100% 100%,
    100% 100%,
    7px 7px;
  opacity: 0.8;
  pointer-events: none;
}

.pulse-strip::after {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 1rem;
  border: 1px solid rgba(31, 255, 153, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    inset 0 0 24px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.pulse-track {
  display: flex;
  gap: 4rem;
  min-width: max-content;
  padding: 1.05rem 0;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  animation: pulse-slide 30s linear infinite;
  filter: saturate(1.32) contrast(1.08);
}

.pulse-track span {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 0.2rem;
  animation: led-glitch 2.8s steps(2, end) infinite;
}

.pulse-track span::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(180, 104, 255, 0.08),
    rgba(125, 196, 255, 0.08)
  );
  transform: translateY(-50%);
  opacity: 0.35;
}

.pulse-track span::before {
  content: "▣";
  margin-right: 0.8rem;
  color: var(--signal);
}

.terminal-flicker {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.018),
      transparent 16%,
      transparent 80%,
      rgba(0, 0, 0, 0.12)
    ),
    linear-gradient(
      90deg,
      rgba(180, 104, 255, 0.03),
      transparent 45%,
      rgba(125, 196, 255, 0.03)
    ),
    rgba(217, 230, 30, 0.014);
  animation: terminal-flicker 0.12s infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

.section-block {
  margin-top: 2rem;
  padding: clamp(1.3rem, 2.6vw, 2rem);
  border-radius: var(--radius-panel);
}

.section-head {
  display: grid;
  gap: 0.5rem;
  max-width: 46rem;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.presence-grid,
.manifesto-grid,
.library-grid,
.creative-grid,
.exit-grid {
  display: grid;
  gap: 1rem;
}

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

.presence-card,
.library-card,
.exit-card,
.creative-copy,
.creative-frame,
.manifesto-grid article,
.sponsor-card-wrapper {
  padding: 1.3rem;
  text-decoration: none;
}

.featured-card {
  grid-column: span 6;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  background:
    radial-gradient(
      circle at 90% 12%,
      rgba(217, 230, 30, 0.12),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(36, 39, 34, 0.96), rgba(20, 22, 19, 0.98));
}

.presence-grid .presence-card:not(.featured-card) {
  grid-column: span 3;
  min-height: 14rem;
}

.presence-grid .presence-card:nth-child(2) {
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(180, 104, 255, 0.14),
      transparent 26%
    ),
    linear-gradient(180deg, rgba(36, 34, 41, 0.94), rgba(21, 21, 24, 0.98));
}

.presence-grid .presence-card:nth-child(3) {
  background:
    radial-gradient(
      circle at 82% 16%,
      rgba(125, 196, 255, 0.16),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(31, 36, 39, 0.95), rgba(18, 21, 24, 0.98));
}

.presence-grid .presence-card:nth-child(4) {
  background:
    radial-gradient(
      circle at 20% 78%,
      rgba(241, 184, 106, 0.14),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(40, 36, 29, 0.94), rgba(23, 20, 17, 0.98));
}

.presence-card h3,
.library-card h3,
.exit-card h3,
.manifesto-grid h3 {
  margin: 0.9rem 0 0.7rem;
  font-size: 1.26rem;
  line-height: 1.15;
}

.presence-card p,
.library-card p,
.exit-card p,
.manifesto-grid p,
.creative-copy p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.7;
}

.link-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.link-cluster a {
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(217, 230, 30, 0.14);
  background: rgba(217, 230, 30, 0.06);
  color: var(--accent-strong);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

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

.manifesto-grid article:nth-child(1) {
  grid-column: span 4;
  min-height: 18rem;
}

.manifesto-grid article:nth-child(2) {
  grid-column: span 3;
  min-height: 18rem;
}

.manifesto-grid article:nth-child(3) {
  grid-column: span 5;
  min-height: 18rem;
}

.manifesto-grid article:nth-child(4) {
  grid-column: span 12;
  min-height: 12rem;
}

.manifesto-grid article:nth-child(1) {
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(180, 104, 255, 0.16),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(35, 33, 40, 0.94), rgba(20, 20, 23, 0.98));
}

.manifesto-grid article:nth-child(2) {
  background:
    radial-gradient(
      circle at 80% 16%,
      rgba(217, 230, 30, 0.16),
      transparent 26%
    ),
    linear-gradient(180deg, rgba(34, 37, 31, 0.94), rgba(19, 21, 18, 0.98));
}

.manifesto-grid article:nth-child(3) {
  background:
    radial-gradient(
      circle at 84% 78%,
      rgba(125, 196, 255, 0.14),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(31, 35, 39, 0.94), rgba(18, 20, 24, 0.98));
}

.manifesto-grid article:nth-child(4) {
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(241, 184, 106, 0.14),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(39, 35, 30, 0.94), rgba(22, 20, 18, 0.98));
}

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

.library-card {
  min-height: 18rem;
}

.library-card:nth-child(1) {
  grid-column: span 4;
}

.library-card:nth-child(2) {
  grid-column: span 5;
}

.library-card:nth-child(3) {
  grid-column: span 3;
}

.library-card:nth-child(1) {
  background:
    radial-gradient(
      circle at 16% 16%,
      rgba(241, 184, 106, 0.16),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(39, 35, 30, 0.94), rgba(22, 20, 18, 0.98));
}

.library-card:nth-child(2) {
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(217, 230, 30, 0.14),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(36, 39, 34, 0.96), rgba(20, 22, 19, 0.98));
}

.library-card:nth-child(3) {
  background:
    radial-gradient(
      circle at 50% 18%,
      rgba(125, 196, 255, 0.18),
      transparent 26%
    ),
    linear-gradient(180deg, rgba(31, 36, 39, 0.94), rgba(18, 21, 24, 0.98));
}

.creative-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: stretch;
}

.creative-frame {
  min-height: 26rem;
}

.creative-frame:nth-child(1) {
  grid-column: span 3;
}

.creative-frame:nth-child(2) {
  grid-column: span 5;
}

.creative-copy {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(180, 104, 255, 0.14),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(35, 33, 40, 0.94), rgba(20, 20, 23, 0.98));
}

.creative-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creative-frame.highlighted {
  transform: translateY(1.5rem);
}

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

.sponsor-card-wrapper {
  grid-column: span 5;
  display: grid;
  gap: 1rem;
  min-height: 18rem;
  background:
    radial-gradient(
      circle at 16% 16%,
      rgba(125, 196, 255, 0.16),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(29, 34, 39, 0.94), rgba(18, 21, 24, 0.98));
}

.exit-card:nth-of-type(1) {
  grid-column: span 3;
}

.exit-card:nth-of-type(2) {
  grid-column: span 4;
}

.exit-card:nth-of-type(3) {
  grid-column: span 12;
}

.exit-card:nth-of-type(1) {
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(241, 184, 106, 0.16),
      transparent 26%
    ),
    linear-gradient(180deg, rgba(39, 35, 30, 0.94), rgba(22, 20, 18, 0.98));
}

.exit-card:nth-of-type(2) {
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(217, 230, 30, 0.16),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(34, 37, 31, 0.94), rgba(19, 21, 18, 0.98));
}

.exit-card:nth-of-type(3) {
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(180, 104, 255, 0.16),
      transparent 24%
    ),
    linear-gradient(180deg, rgba(35, 33, 40, 0.94), rgba(20, 20, 23, 0.98));
}

.sponsor-iframe {
  width: 100%;
  height: 225px;
  border: 0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.node-footer {
  margin-top: 4rem;
  padding: 3rem 0 8.8rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 2rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-info {
  display: grid;
  gap: 1.2rem;
}

.footer-description {
  max-width: 42ch;
  color: var(--text-dim);
  line-height: 1.7;
}

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

.footer-nav {
  display: grid;
  gap: 0.8rem;
}

.footer-nav h4,
.footer-sponsor h4 {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-nav a {
  width: fit-content;
  text-decoration: none;
  color: var(--text-dim);
  transition:
    transform 0.22s ease,
    color 0.22s ease;
}

.footer-nav a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-sponsor {
  display: grid;
  gap: 0.9rem;
  justify-items: start;
}

.footer-binary {
  grid-column: 1 / -1;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  line-height: 1.9;
  color: rgba(217, 230, 30, 0.24);
  text-align: center;
  word-break: break-all;
}

@keyframes pulse-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-25%);
  }
}

@keyframes terminal-flicker {
  0% {
    opacity: 0.08;
  }

  50% {
    opacity: 0.14;
  }

  100% {
    opacity: 0.08;
  }
}

@keyframes led-glitch {
  0%,
  88%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  89% {
    transform: translate3d(-1px, 0, 0);
    opacity: 0.92;
  }

  91% {
    transform: translate3d(1px, 0, 0);
    opacity: 1;
  }

  93% {
    transform: translate3d(0, 0, 0);
    opacity: 0.94;
  }
}

@media (max-width: 1200px) {
  .hero-panel,
  .presence-grid,
  .manifesto-grid,
  .library-grid,
  .creative-grid,
  .exit-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .featured-card,
  .presence-grid .presence-card:not(.featured-card),
  .manifesto-grid article,
  .library-card,
  .creative-frame:nth-child(1),
  .creative-frame:nth-child(2),
  .creative-copy,
  .sponsor-card-wrapper,
  .exit-card:nth-of-type(1),
  .exit-card:nth-of-type(2),
  .exit-card:nth-of-type(3) {
    grid-column: span 3;
  }

  .featured-card,
  .manifesto-grid article:nth-child(4),
  .exit-card:nth-of-type(3) {
    grid-column: span 6;
  }

  .creative-frame.highlighted {
    transform: none;
  }

  .hero-copy h1 {
    max-width: 11ch;
  }

  .node-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 940px) {
  .topbar {
    bottom: 1rem;
    width: min(100%, calc(100% - 1.4rem));
    padding: 0.85rem 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .topnav {
    width: 100%;
  }

  .node-shell {
    padding-top: 1.4rem;
  }

  .hero-copy,
  .hero-presence,
  .section-block {
    border-radius: 1.6rem;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.5rem, 8vw, 4.6rem);
  }

  .hero-actions,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .presence-orbit {
    min-height: 380px;
  }

  .node-footer {
    grid-template-columns: 1fr;
    padding-bottom: 11rem;
  }

  .footer-nav-group {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .node-shell,
  .node-footer {
    width: min(100%, calc(100% - 1.2rem));
  }

  .hero-panel,
  .presence-grid,
  .manifesto-grid,
  .library-grid,
  .creative-grid,
  .exit-grid,
  .footer-nav-group {
    grid-template-columns: 1fr;
  }

  .featured-card,
  .presence-grid .presence-card:not(.featured-card),
  .manifesto-grid article,
  .library-card,
  .creative-frame:nth-child(1),
  .creative-frame:nth-child(2),
  .creative-copy,
  .sponsor-card-wrapper,
  .exit-card:nth-of-type(1),
  .exit-card:nth-of-type(2),
  .exit-card:nth-of-type(3) {
    grid-column: auto;
  }

  .topnav a {
    font-size: 0.66rem;
    padding: 0.72rem 0.8rem;
  }

  .hero-copy {
    padding: 1.2rem 1rem;
  }

  .eyebrow,
  .card-kicker,
  .card-type,
  .meta-label {
    font-size: 0.62rem;
    padding: 0.42rem 0.7rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .button {
    min-height: 3.35rem;
    font-size: 0.94rem;
  }

  .presence-orbit {
    min-height: 300px;
  }

  .central-node {
    width: 7.6rem;
    height: 7.6rem;
  }

  .central-node strong {
    font-size: 1rem;
  }

  .orbit-node {
    min-width: 4.2rem;
    min-height: 4.2rem;
    font-size: 0.62rem;
  }

  .orbit-ens {
    left: 39%;
  }

  .orbit-ipfs {
    right: 2%;
  }

  .orbit-ipns {
    right: 10%;
    bottom: 8%;
  }

  .orbit-store {
    left: 10%;
    bottom: 7%;
  }

  .orbit-git {
    left: 1%;
  }

  .presence-caption p {
    max-width: none;
    font-size: 1.1rem;
  }

  .creative-frame {
    min-height: 18rem;
  }

  .node-footer {
    padding-bottom: 12rem;
  }
}

@media (max-width: 520px) {
  .topbar {
    padding: 0.7rem 0.8rem;
  }

  .brand-mark {
    font-size: 0.68rem;
  }

  .topnav {
    gap: 0.55rem;
  }

  .topnav a {
    flex: 1 1 calc(50% - 0.55rem);
    text-align: center;
  }

  .language-switch a {
    padding: 0.55rem 0.66rem;
  }

  .node-shell {
    padding-top: 1rem;
    padding-bottom: 6rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.8rem, 11.5vw, 2.5rem);
  }

  .hero-lead,
  .presence-card p,
  .library-card p,
  .exit-card p,
  .manifesto-grid p,
  .creative-copy p,
  .presence-caption small,
  .footer-description {
    font-size: 0.92rem;
  }

  .presence-orbit {
    min-height: 272px;
  }

  .central-node {
    width: 6.8rem;
    height: 6.8rem;
  }

  .orbit-node {
    min-width: 3.8rem;
    min-height: 3.8rem;
    font-size: 0.56rem;
  }

  .section-block,
  .presence-card,
  .library-card,
  .exit-card,
  .creative-copy,
  .creative-frame,
  .manifesto-grid article,
  .sponsor-card-wrapper {
    padding: 1rem;
  }

  .section-head h2 {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }

  .hero-copy::after,
  .hero-presence::after,
  .section-block::after,
  .presence-card::after,
  .library-card::after,
  .exit-card::after,
  .creative-copy::after,
  .creative-frame::after,
  .manifesto-grid article::after,
  .sponsor-card-wrapper::after {
    inset: 6px -6px -6px 6px;
  }
}

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

  .pulse-track,
  .terminal-flicker {
    animation: none;
  }

  .button,
  .library-card,
  .exit-card,
  .presence-card,
  .manifesto-grid article,
  .creative-frame,
  .sponsor-card-wrapper,
  .topnav a,
  .partner-link,
  .footer-nav a {
    transition: none;
  }
}

/* ── W3C / Standards Icons ──────────────────────────────── */

/* Accessibility link in topbar */
.a11y-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-dim);
  opacity: 0.45;
  transition: opacity 0.2s ease, color 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.a11y-link:hover,
.a11y-link:focus-visible {
  opacity: 1;
  color: var(--accent);
}

.a11y-link svg {
  width: 16px;
  height: 16px;
}

/* Card-type inline icons */
.card-type svg {
  width: 10px;
  height: 10px;
  vertical-align: middle;
  margin-right: 0.3rem;
  flex-shrink: 0;
}

/* Footer badges row */
.footer-badges {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(217, 230, 30, 0.12);
  border-radius: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
  background: rgba(217, 230, 30, 0.02);
  white-space: nowrap;
}

.footer-badge:hover,
.footer-badge:focus-visible {
  border-color: rgba(217, 230, 30, 0.35);
  color: var(--accent);
  background: rgba(217, 230, 30, 0.05);
}

.footer-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.shield-badge {
  display: inline-flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.shield-badge:hover,
.shield-badge:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 940px) {
  .footer-badges {
    justify-content: center;
  }
}

/* ── iOS TAB BAR ────────────────────────────────────────── */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(5rem + env(safe-area-inset-bottom));
  background: rgba(18, 18, 18, 0.82);
  backdrop-filter: var(--ios-blur);
  -webkit-backdrop-filter: var(--ios-blur);
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 1rem env(safe-area-inset-bottom);
  z-index: 2000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.2s ease, transform 0.1s active;
  flex: 1;
  padding: 0.5rem 0;
}

.tab-item:active {
  transform: scale(0.92);
}

.tab-item.active {
  color: var(--accent);
}

.tab-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.tab-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── REFINEMENT FOR iOS LOOK ────────────────────────────── */

.hero-copy, .hero-presence, .section-block, .presence-card, .library-card, .exit-card, .creative-copy, .creative-frame, .manifesto-grid article, .sponsor-card-wrapper {
  background: var(--panel) !important;
  backdrop-filter: var(--ios-blur) !important;
  -webkit-backdrop-filter: var(--ios-blur) !important;
  border: 0.5px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: var(--shadow-card) !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-copy::after, .hero-presence::after, .section-block::after, .presence-card::after, .library-card::after, .exit-card::after, .creative-copy::after, .creative-frame::after, .manifesto-grid article::after, .sponsor-card-wrapper::after {
  display: none !important; 
}

.button {
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, box-shadow 0.2s ease;
  border-radius: var(--radius-button);
}

.button:active {
  transform: scale(0.96) !important;
}

.hero-actions {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

@media (max-width: 940px) {
  .topbar {
    display: none !important;
  }
}

.ios-header {
  position: sticky;
  top: 0;
  padding: 1.2rem 1.5rem;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: var(--ios-blur);
  -webkit-backdrop-filter: var(--ios-blur);
  z-index: 1500;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ios-header .brand-mark {
  font-size: 1rem;
  letter-spacing: -0.01em;
  font-weight: 700;
  font-family: var(--font-main);
  text-transform: none;
}
