body.founding-page {
  --navy: #0c0618;
  --navy-mid: rgba(18, 8, 28, 0.92);
  --teal: #7dd3fc;
  --teal-dim: #38bdf8;
  --magenta: #fb7185;
  --purple: #c084fc;
  --gold: #fde047;
  --gold-soft: #fbbf24;
  --founding-muted-caption: #5c2840;
  --ink-on-glass: #f8f0e8;
  --border: rgba(253, 224, 71, 0.28);
  --neon-cyan: 0 0 28px rgba(125, 211, 252, 0.55), 0 0 56px rgba(251, 113, 133, 0.25);
  --neon-pink: 0 0 24px rgba(251, 113, 133, 0.55);
  background: #050308;
  padding-bottom: 3.25rem;
}

html:has(body.founding-page) {
  background: #050308;
}

body.founding-page .vapor-scene {
  inset: 0 auto auto 0;
  right: 0;
  bottom: auto;
  height: var(--founding-sky-end, 78vh);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  background-color: #120818;
  background-image:
    linear-gradient(
      180deg,
      rgba(30, 10, 48, 0.35) 0%,
      rgba(251, 113, 133, 0.12) 45%,
      rgba(253, 224, 71, 0.08) 72%,
      rgba(125, 211, 252, 0.14) 100%
    ),
    image-set(
      url("/images/founding-circle-bg-euphoria.webp") type("image/webp"),
      url("/images/founding-circle-bg-euphoria.png") type("image/png")
    );
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center top;
  background-size: 100% 100%, 100% auto;
  animation: euphoria-breathe 18s ease-in-out infinite alternate;
}

body.founding-page .euphoria-particles {
  inset: 0 auto auto 0;
  right: 0;
  bottom: auto;
  height: var(--founding-sky-end, 78vh);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 70%, transparent 100%);
}

body.founding-page .scanlines,
body.founding-page .glow {
  height: var(--founding-sky-end, 78vh);
  bottom: auto;
  inset: 0 auto auto 0;
  right: 0;
}

body.founding-page .glow {
  opacity: 0.55;
}

body.founding-page .waves {
  opacity: 0.72;
  height: 48%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 92%);
}

body.founding-page .waves::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 247, 237, 0.1) 42%,
    rgba(125, 211, 252, 0.22) 50%,
    rgba(29, 233, 182, 0.16) 54%,
    transparent 62%
  );
  animation: founding-water-shimmer 6.5s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}

body.founding-page .founding-sky-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(41, 121, 255, 0.06) 55%, rgba(29, 233, 182, 0.12) 100%);
}

body.founding-page .founding-sky-water::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(125, 211, 252, 0.14),
    rgba(255, 247, 237, 0.08),
    transparent
  );
  animation: founding-lake-shimmer 8s ease-in-out infinite;
  mix-blend-mode: screen;
}

@keyframes founding-lake-shimmer {
  0%, 100% { transform: translateX(-35%) skewX(-6deg); opacity: 0.45; }
  50% { transform: translateX(35%) skewX(6deg); opacity: 0.95; }
}

body.founding-page .wave-1,
body.founding-page .wave-2,
body.founding-page .wave-3 {
  animation-name: founding-wave-drift;
  opacity: 0.75;
}

@keyframes founding-water-shimmer {
  0%, 100% { transform: translateX(-28%); opacity: 0.35; }
  50% { transform: translateX(28%); opacity: 0.85; }
}

@keyframes founding-wave-drift {
  0%, 100% { transform: translateX(-3%) scaleY(1); }
  50% { transform: translateX(5%) scaleY(1.14); }
}

body.founding-page #page-root {
  background: transparent;
  padding-bottom: 0;
}

body.founding-page .founding-section,
body.founding-page .founding-hero,
body.founding-page .founding-sky-tail {
  background: transparent;
}

body.founding-page .founding-finale-parallax:last-child {
  margin-bottom: 0;
}

/* Cyan horizon arcs — top cap of wide circles only (homepage twin-wave feel) */
.founding-horizon-arcs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 52px;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
  background: transparent;
}

.founding-sky-terminus .founding-horizon-arcs--sky {
  position: absolute;
  left: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  bottom: 0;
  height: 52px;
}

.founding-horizon-arcs--finale {
  bottom: 0;
  height: 52px;
  z-index: 9;
  width: 100%;
}

.founding-horizon-arcs .founding-arc {
  position: absolute;
  left: 50%;
  width: 220vw;
  max-width: none;
  height: 220px;
  bottom: -188px;
  transform: translateX(-50%);
  border: none;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  animation: founding-arc-pulse 5.5s ease-in-out infinite;
}

.founding-horizon-arcs .founding-arc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(41, 121, 255, 0.38);
  clip-path: inset(0 0 88% 0);
  box-shadow: none;
  filter: drop-shadow(0 0 14px rgba(29, 233, 182, 0.35));
}

.founding-horizon-arcs--sky .founding-arc::after {
  border-color: rgba(125, 211, 252, 0.42);
  filter: drop-shadow(0 0 18px rgba(29, 233, 182, 0.28));
}

.founding-horizon-arcs--finale .founding-arc::after {
  border-color: rgba(125, 211, 252, 0.36);
  filter: drop-shadow(0 0 16px rgba(41, 121, 255, 0.28));
}

.founding-arc-2 {
  width: 190vw;
  height: 200px;
  bottom: -178px;
  opacity: 0.82;
  animation-delay: -1.6s;
}

.founding-arc-2::after {
  border-color: rgba(29, 233, 182, 0.32);
  clip-path: inset(0 0 86% 0);
}

.founding-arc-3 {
  display: none;
}

@keyframes founding-arc-pulse {
  0%, 100% {
    transform: translateX(-50%) scaleY(1);
    opacity: 0.7;
  }
  50% {
    transform: translateX(-50%) scaleY(1.06);
    opacity: 1;
  }
}

/* Homepage-style floor — rose/pink tint on Founding Circle */
body.founding-page .grid-floor {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(253, 224, 71, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 113, 133, 0.22) 1px, transparent 1px);
}

body.founding-page .grid-floor-mirror {
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(253, 224, 71, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 113, 133, 0.16) 1px, transparent 1px);
}

body.founding-page .vapor-sun {
  top: 34%;
  opacity: 0.38;
  mix-blend-mode: soft-light;
  background: radial-gradient(circle at 35% 35%, #fff7ed 0%, #fde047 25%, #fb7185 55%, transparent 72%);
  box-shadow: 0 0 120px rgba(253, 224, 71, 0.45), 0 0 200px rgba(251, 113, 133, 0.25);
  animation: euphoria-sun 14s ease-in-out infinite alternate;
}

body.founding-page .vapor-sun::after {
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 7px,
    rgba(10, 5, 32, 0.29) 7px,
    rgba(10, 5, 32, 0.29) 13px
  );
}

@keyframes euphoria-breathe {
  0% { filter: hue-rotate(0deg) brightness(1) saturate(1.02); }
  50% { filter: hue-rotate(8deg) brightness(1.06) saturate(1.08); }
  100% { filter: hue-rotate(-6deg) brightness(0.96) saturate(1); }
}

@keyframes euphoria-sun {
  0% { transform: translate(-50%, 2%) scale(1); }
  100% { transform: translate(-48%, 5%) scale(1.06); }
}

.euphoria-particles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.euphoria-particles span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7ed, #fde047);
  opacity: 0;
  animation: particle-rise 12s linear infinite;
  box-shadow: 0 0 12px rgba(253, 224, 71, 0.8);
}

@keyframes particle-rise {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.85; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

.founding-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .founding-hero { grid-template-columns: 1fr; text-align: center; }
}

.founding-hero-copy {
  background: rgba(12, 6, 22, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(253, 224, 71, 0.22);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
}

.founding-section-intro {
  background: rgba(12, 6, 22, 0.42);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(253, 224, 71, 0.18);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.founding-section-intro p {
  color: var(--ink-on-glass);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

.founding-hero-copy .founding-distill,
.founding-section-intro h2 {
  color: #fbbf24;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.founding-hero-copy h1 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  color: var(--ink-on-glass);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
  animation: title-shimmer 6s ease-in-out infinite alternate;
}

.founding-hero-copy .founding-lead {
  color: rgba(248, 240, 232, 0.92);
  font-size: 1.05rem;
  max-width: 32rem;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.founding-hero-copy .founding-lead strong {
  color: #fff7ed;
}

.founding-badge {
  display: inline-block;
  font-family: "Orbitron", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fde047;
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.35);
}

@keyframes title-shimmer {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.15); }
}

.founding-hero-img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--neon-cyan);
  animation: hero-float 8s ease-in-out infinite alternate;
}

@keyframes hero-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.founding-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  position: relative;
  z-index: 2;
}

.founding-section h2 {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
}

.founding-intake-intro {
  color: rgba(248, 240, 232, 0.9);
  font-size: 0.95rem;
  max-width: 36rem;
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
  background: rgba(12, 6, 22, 0.38);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(253, 224, 71, 0.15);
  margin-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.founding-intake-block {
  margin: 2rem auto 0;
  max-width: 560px;
  text-align: center;
}

.founding-intake-block > h2 {
  margin-bottom: 0.75rem;
}

/* Topbar must stay readable — founding page vars must not mute global nav */
body.founding-page .site-topbar {
  --text: #e8f4ff;
  --muted: #b8cce8;
}

body.founding-page .site-topbar .logo {
  color: #fde047;
  text-shadow:
    0 0 18px rgba(253, 224, 71, 0.55),
    0 0 32px rgba(251, 113, 133, 0.25),
    0 2px 10px rgba(0, 0, 0, 0.92);
}

body.founding-page .site-topbar-brand .logo-sub {
  color: #fb9faf;
  text-shadow:
    0 0 14px rgba(251, 113, 133, 0.75),
    0 0 28px rgba(253, 224, 71, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.9);
}

body.founding-page .site-topbar nav a {
  color: rgba(232, 244, 255, 0.9);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}

body.founding-page .site-topbar nav a:hover,
body.founding-page .site-topbar nav a.is-active {
  color: #7dd3fc;
  text-shadow:
    0 0 14px rgba(125, 211, 252, 0.65),
    0 0 24px rgba(125, 211, 252, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.85);
}

body.founding-page .founding-section h2 {
  text-shadow:
    0 0 20px rgba(251, 191, 36, 0.45),
    0 2px 14px rgba(0, 0, 0, 0.85);
}

body.founding-page .anti-leak {
  background: rgba(12, 6, 22, 0.62);
  border-color: rgba(248, 113, 113, 0.45);
  backdrop-filter: blur(8px);
}

body.founding-page .anti-leak ul {
  color: rgba(248, 240, 232, 0.88);
}

body.founding-page footer {
  text-align: center;
  padding: 1.5rem 1rem 0.5rem;
  position: relative;
  z-index: 2;
}

.founding-sky-tail {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
}

.founding-sky-scroll-room {
  min-height: min(19vh, 175px);
  pointer-events: none;
}

.founding-sky-terminus {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: 0;
  border: none;
}

.founding-sky-credits-bowl {
  position: relative;
  z-index: 8;
  padding: 0 1rem 2.35rem;
  text-align: center;
}

.founding-sky-credits {
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
  color: rgba(232, 244, 255, 0.94);
  text-shadow:
    0 0 20px rgba(125, 211, 252, 0.7),
    0 0 36px rgba(29, 233, 182, 0.4),
    0 2px 12px rgba(0, 0, 0, 0.88);
}

.founding-sky-credits a {
  color: #7dd3fc;
  text-decoration: none;
  text-shadow:
    0 0 16px rgba(125, 211, 252, 0.85),
    0 2px 8px rgba(0, 0, 0, 0.9);
}

.founding-sky-credits a:hover {
  color: #fde047;
}

body.founding-page footer .site-credits {
  color: rgba(248, 240, 232, 0.75);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.founding-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 1.75rem auto;
  max-width: 1100px;
}

@media (max-width: 960px) {
  .founding-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .founding-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}

.founding-card {
  padding: 0.75rem 0.65rem 0.85rem;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(18, 8, 28, 0.9), rgba(48, 14, 36, 0.48));
  border: 1px solid rgba(253, 224, 71, 0.24);
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 0 28px rgba(125, 211, 252, 0.06),
    0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.founding-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--neon-pink);
}

.founding-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.65rem;
}

.founding-card p {
  font-size: 0.84rem;
  color: rgba(248, 240, 232, 0.86);
  line-height: 1.55;
}

.founding-intake {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2rem;
  max-width: 560px;
  margin: 1rem auto 0;
  text-align: left;
}

@keyframes crystal-shine-sweep {
  0%, 100% { transform: rotate(-8deg) translateX(-8%); opacity: 0.55; }
  50% { transform: rotate(-8deg) translateX(18%); opacity: 1; }
}

.founding-intake > :not(.founding-crystal-shine):not(.founding-crystal-facets) {
  position: relative;
  z-index: 1;
}

.founding-intake::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.75),
    rgba(255, 255, 255, 0.15) 45%,
    rgba(200, 230, 255, 0.35) 70%,
    rgba(255, 255, 255, 0.5)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.85;
  animation: intake-border-glow 12s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 2;
}

.founding-intake::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 55%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.2), transparent 68%);
  filter: blur(14px);
  animation: intake-orb-drift 14s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes intake-border-glow {
  0% { opacity: 0.45; filter: hue-rotate(0deg); }
  100% { opacity: 0.9; filter: hue-rotate(12deg); }
}

@keyframes intake-orb-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(18%, 12%); }
}

.founding-intake label.founding-consent {
  display: block;
  width: 100%;
  margin: 0.45rem 0 0;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
}

.founding-intake label:not(.founding-consent) {
  display: block;
  font-family: "Exo 2", "Audiowide", "Orbitron", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin: 0.75rem 0 0.35rem;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.35),
    0 0 22px rgba(125, 211, 252, 0.25),
    0 1px 2px rgba(0, 0, 0, 0.75);
}

.founding-intake input,
.founding-intake textarea,
.founding-intake select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(4, 8, 18, 0.14);
  backdrop-filter: saturate(1.8) brightness(1.08);
  -webkit-backdrop-filter: saturate(1.8) brightness(1.08);
  color: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.founding-intake textarea { min-height: 110px; resize: vertical; }

.founding-intake input:focus,
.founding-intake textarea:focus,
.founding-intake select:focus {
  outline: 2px solid var(--gold-soft);
  outline-offset: 1px;
}

.founding-consent {
  position: relative;
  display: block;
  margin-top: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: center;
  overflow: hidden;
}

.founding-consent-glass {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(125, 211, 252, 0.08) 45%,
      rgba(253, 224, 71, 0.06) 100%
    ),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 6px 24px rgba(251, 113, 133, 0.1);
}

.founding-consent-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
}

.founding-consent-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.founding-consent-box {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  clip-path: polygon(14% 0, 86% 0, 100% 14%, 100% 86%, 86% 100%, 14% 100%, 0 86%, 0 14%);
  box-shadow:
    inset 0 0 12px rgba(125, 211, 252, 0.28),
    0 0 14px rgba(253, 224, 71, 0.2);
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.founding-consent-box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46%;
  width: 0.36rem;
  height: 0.58rem;
  border: solid #fde047;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

.founding-consent-input:checked + .founding-consent-box {
  border-color: #fde047;
  background: rgba(253, 224, 71, 0.12);
  box-shadow:
    inset 0 0 14px rgba(253, 224, 71, 0.32),
    0 0 16px rgba(253, 224, 71, 0.35);
}

.founding-consent-input:checked + .founding-consent-box::after {
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

.founding-consent-input:focus-visible + .founding-consent-box {
  outline: 2px solid #7dd3fc;
  outline-offset: 2px;
}

.founding-consent-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  max-width: 22rem;
}

.founding-consent-line {
  display: block;
  font-family: "Orbitron", "Audiowide", "Exo 2", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
  text-shadow:
    0 0 8px rgba(125, 211, 252, 0.55),
    0 1px 3px rgba(0, 0, 0, 0.82);
}

.founding-consent-sub {
  font-family: "Exo 2", "Orbitron", sans-serif;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(224, 242, 254, 0.88);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

.founding-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.founding-finale-parallax {
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: calc(118vh - 3.25rem);
  min-height: calc(118dvh - 3.25rem);
  overflow: hidden;
  background: #050308;
  border: none;
}

.founding-finale-parallax::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 7%;
  background: linear-gradient(to bottom, transparent, #050308 88%);
  z-index: 7;
  pointer-events: none;
}

.founding-finale-parallax-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  will-change: transform;
  border: none;
  box-shadow: none;
  transform-origin: center center;
}

.founding-finale-water-shimmer {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(253, 224, 71, 0.08) 72%,
    rgba(125, 211, 252, 0.2) 88%,
    rgba(29, 233, 182, 0.14) 100%
  );
  animation: finale-water-pulse 5.5s ease-in-out infinite alternate;
  pointer-events: none;
  mix-blend-mode: screen;
}

.founding-finale-glint {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 247, 237, 0.1) 46%,
    rgba(125, 211, 252, 0.18) 52%,
    transparent 66%
  );
  animation: founding-water-shimmer 7.5s ease-in-out infinite;
  pointer-events: none;
}

.founding-finale-water-shimmer::after {
  display: none;
}

@keyframes finale-water-pulse {
  0% { opacity: 0.55; transform: translateY(0); }
  100% { opacity: 1; transform: translateY(-4px); }
}

.founding-finale-art {
  display: none;
}

.founding-message { font-size: 0.9rem; margin-top: 0.75rem; }
.founding-message.is-error { color: #fca5a5; }
.founding-message.is-success { color: var(--gold-soft); }

.founding-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.founding-teaser {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.founding-secondary-art {
  margin: 2rem 0 1.5rem;
  text-align: center;
}

.founding-secondary-art img {
  width: 100%;
  max-width: 920px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--neon-cyan);
  background: transparent;
}

.founding-secondary-art figcaption {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--founding-muted-caption);
  font-style: italic;
}

/* Mobile only — first viewport: pink euphoria sky fills screen (desktop unchanged). */
@media (max-width: 900px) {
  html:has(body.founding-page:not(.founding-thanks-page)) {
    background: #120818;
  }

  body.founding-page:not(.founding-thanks-page) .vapor-scene,
  body.founding-page:not(.founding-thanks-page) .euphoria-particles,
  body.founding-page:not(.founding-thanks-page) .scanlines,
  body.founding-page:not(.founding-thanks-page) .glow {
    height: max(var(--founding-sky-end, 100dvh), 100dvh);
    min-height: 100dvh;
  }

  body.founding-page:not(.founding-thanks-page) .waves {
    height: 52%;
  }

  body.founding-page:not(.founding-thanks-page) .founding-sky-water {
    height: 48%;
  }
}

.founding-teaser-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(76, 29, 149, 0.35), rgba(251, 113, 133, 0.12));
  border: 1px solid rgba(253, 224, 71, 0.3);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(8px);
}

@media (max-width: 800px) {
  .founding-teaser-inner { grid-template-columns: 1fr; text-align: center; }
}

.music-note {
  font-size: 0.82rem;
  color: var(--founding-muted-caption);
  border-left: 3px solid var(--purple);
  padding-left: 0.85rem;
  margin: 1.5rem 0;
  line-height: 1.6;
}

body.founding-thanks-page {
  --founding-sky-end: 100vh;
  --thanks-top: clamp(3.25rem, 9vw, 4.25rem);
  --thanks-bottom: max(3.25rem, calc(env(safe-area-inset-bottom, 0px) + 2.5rem));
  height: 100vh;
  max-height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  padding-bottom: 0;
  box-sizing: border-box;
}

html:has(body.founding-thanks-page) {
  height: 100%;
  overflow: hidden;
}

body.founding-thanks-page .vapor-scene,
body.founding-thanks-page .euphoria-particles,
body.founding-thanks-page .scanlines,
body.founding-thanks-page .glow {
  bottom: 0;
  height: 100vh;
  max-height: 100vh;
}

body.founding-thanks-page #page-root {
  position: fixed;
  top: var(--thanks-top);
  left: 0;
  right: 0;
  bottom: var(--thanks-bottom);
  min-height: 0;
  height: auto;
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  overflow: hidden;
  z-index: 1;
}

body.founding-thanks-page .founding-thanks-stage {
  max-height: 100%;
  overflow: hidden;
  padding: 1.15rem 1.25rem 1.35rem;
}

body.founding-thanks-page .founding-thanks-gem {
  width: min(248px, 68vw);
  max-width: 248px;
}

body.founding-thanks-page .founding-thanks-copy {
  margin-bottom: 1rem;
  font-size: 0.78rem;
}

body.founding-thanks-page .radio-bar-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

body.founding-thanks-page .founding-sky-water::after {
  opacity: 0.62;
  animation-duration: 5.5s;
}

.founding-thanks-stage {
  width: min(440px, 94vw);
  padding: 2rem 1.5rem 2.25rem;
  text-align: center;
}

.founding-thanks-copy {
  font-family: "Audiowide", "Exo 2", "Orbitron", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 1.35rem;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

.founding-thanks-copy p {
  margin: 0.35rem 0;
}

.founding-thanks-email {
  color: #fde047;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

body.founding-gem-snapshot-page #page-root {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 3rem;
}

.founding-gem-snapshot-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: min(640px, 96vw);
  align-items: stretch;
}

.founding-gem-snapshot-card {
  text-align: center;
}

.founding-gem-snapshot-card h2 {
  font-family: "Audiowide", "Exo 2", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1rem;
}

.founding-gem-snapshot-card .founding-tanzanite-btn {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}
