/* MARTEMIAS 1.0 — Signal Field */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-300.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin-600.woff2") format("woff2");
}

:root {
  --bg: #000000;
  --fg: #ffffff;
  --fg-muted: rgba(255, 255, 255, 0.62);
  --fg-faint: rgba(255, 255, 255, 0.38);
  --line: rgba(255, 255, 255, 0.12);
  --accent: #00ffff;
  --accent-soft: rgba(0, 255, 255, 0.18);
  --accent-glow: rgba(0, 255, 255, 0.45);
  --glass: rgba(255, 255, 255, 0.035);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font: "Space Grotesk", system-ui, sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;
  --max: 72rem;
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.is-booting {
  overflow: hidden;
}

/* Keep hero copy hidden under the boot screen until GSAP entrance runs. */
.js-ready body.is-booting .hero__logo,
.js-ready body.is-booting .hero__headline,
.js-ready body.is-booting .hero__subline,
.js-ready body.is-booting .hero .cta,
.js-ready body.is-booting .hero__scroll-hint {
  opacity: 0;
  visibility: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.25s var(--ease-out), opacity 0.25s var(--ease-out);
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -100%;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--fg);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.skip-link:focus {
  top: var(--space-sm);
}

.section-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 var(--space-md);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 var(--space-lg);
  max-width: 20ch;
  font-size: clamp(1.9rem, 4.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* Boot */

.boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #000;
  pointer-events: none;
}

body.is-ready .boot {
  visibility: hidden;
}

.boot__line {
  position: absolute;
  width: min(42vw, 16rem);
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  box-shadow: 0 0 18px var(--accent-glow);
}

.boot__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  opacity: 0.9;
}

/* Custom cursor */

.has-custom-cursor,
.has-custom-cursor * {
  cursor: none !important;
}

.cursor {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cursor.is-visible {
  opacity: 1;
}

.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}

.cursor__dot {
  width: 3px;
  height: 3px;
  margin: -1.5px 0 0 -1.5px;
  background: rgba(0, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.35);
}

.cursor__ring {
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border: 1px solid rgba(0, 255, 255, 0.28);
  background: rgba(0, 255, 255, 0.02);
  transition:
    width 0.4s var(--ease-out),
    height 0.4s var(--ease-out),
    margin 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out);
}

.cursor.is-hover .cursor__ring {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-color: rgba(0, 255, 255, 0.42);
  background: rgba(0, 255, 255, 0.04);
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out) 0.2s;
}

body.is-ready .site-header {
  opacity: 1;
}

.site-header > * {
  pointer-events: auto;
}

.site-header--static {
  position: sticky;
  opacity: 1;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header__brand {
  text-decoration: none;
}

.brand-mark {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  color: var(--fg);
}

.nav-toggle__bar {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin: 0.28rem auto;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out);
}

body.has-nav-open .nav-toggle__bar:first-child {
  transform: translateY(0.29rem) rotate(45deg);
}

body.has-nav-open .nav-toggle__bar:last-child {
  transform: translateY(-0.29rem) rotate(-45deg);
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 48;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out) 0.2s;
}

body.is-ready .site-nav {
  opacity: 1;
  pointer-events: auto;
}

.site-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg-muted);
}

.site-nav a:hover {
  color: var(--fg);
}

body.has-nav-open {
  overflow: hidden;
}

/* Hero */

.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 2rem) 1.25rem 4rem;
  overflow: hidden;
}

.hero__canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.72) 68%, #000 100%),
    linear-gradient(to bottom, transparent 55%, #000 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 48rem;
}

.hero__logo {
  width: min(100%, 38rem);
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  filter: drop-shadow(0 0 48px rgba(0, 255, 255, 0.12));
}

.hero__headline {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.45rem, 3.4vw, 2.35rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.hero__subline {
  margin: 0 0 var(--space-lg);
  max-width: 34rem;
  color: var(--fg-muted);
  font-size: clamp(0.98rem, 1.6vw, 1.125rem);
  font-weight: 300;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition:
    border-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out),
    transform 0.35s var(--ease-out),
    background-color 0.35s var(--ease-out);
}

.cta:hover {
  color: var(--bg);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 0 28px var(--accent-glow),
    0 0 60px rgba(0, 255, 255, 0.2);
  transform: translateY(-2px) scale(1.02);
}

.cta:active {
  transform: translateY(0) scale(0.985);
}

.cta:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.cta--ghost {
  border-color: var(--line);
  color: var(--fg-muted);
}

.cta--ghost:hover {
  color: var(--bg);
}

.hero__scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  z-index: 2;
  width: 1px;
  height: 3.25rem;
  transform: translateX(-50%);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.hero__scroll-hint span {
  display: block;
  width: 100%;
  height: 40%;
  background: var(--accent);
  animation: scroll-pulse 2.4s var(--ease-out) infinite;
}

@keyframes scroll-pulse {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(260%);
    opacity: 0;
  }
}

/* Manifest — pinned stage */

.manifest {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.55);
}

.manifest__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.manifest__shape {
  position: absolute;
  border: 1px solid rgba(0, 255, 255, 0.12);
  border-radius: 50%;
  will-change: transform;
}

.manifest__shape--a {
  width: min(55vw, 28rem);
  height: min(55vw, 28rem);
  top: 12%;
  right: -8%;
  background: radial-gradient(circle at 40% 40%, rgba(0, 255, 255, 0.07), transparent 65%);
}

.manifest__shape--b {
  width: min(40vw, 20rem);
  height: min(40vw, 20rem);
  bottom: 18%;
  left: -6%;
  border-color: rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 60% 50%, rgba(255, 255, 255, 0.04), transparent 70%);
}

.manifest__shape--c {
  width: min(70vw, 36rem);
  height: min(70vw, 36rem);
  top: 40%;
  left: 30%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.05);
  opacity: 0.7;
}

.manifest__pin {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 1.5rem) 0 3rem;
}

.manifest__inner {
  width: min(100% - 2.5rem, 46rem);
}

.manifest__stage {
  position: relative;
  min-height: clamp(10rem, 28vh, 16rem);
  margin-bottom: 2rem;
}

.manifest__statement {
  margin: 0;
  position: absolute;
  inset: 0 auto auto 0;
  max-width: 38rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--accent-soft);
  color: var(--fg-muted);
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.65;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  pointer-events: none;
}

.manifest__statement.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.manifest__progress {
  width: min(12rem, 40vw);
  height: 1px;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.manifest__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0.333);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
  box-shadow: 0 0 12px var(--accent-glow);
}

.manifest__dots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.55rem;
}

.manifest__dots li {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.manifest__dots li.is-active {
  background: var(--accent);
  transform: scale(1.15);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Aanpak / pillars */

.aanpak {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.72);
}

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  perspective: 1200px;
}

.pillar {
  position: relative;
  padding: 1.85rem 1.55rem 1.95rem;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform-style: preserve-3d;
  transition:
    border-color 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out);
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  background: linear-gradient(
    135deg,
    rgba(0, 255, 255, 0.1),
    transparent 45%,
    transparent 55%,
    rgba(0, 255, 255, 0.05)
  );
}

.pillar:hover,
.pillar:focus-within {
  border-color: rgba(0, 255, 255, 0.5);
  background: rgba(0, 255, 255, 0.055);
  box-shadow:
    0 0 0 1px rgba(0, 255, 255, 0.12),
    0 0 48px rgba(0, 255, 255, 0.1);
}

.pillar:hover::before,
.pillar:focus-within::before {
  opacity: 1;
}

.pillar__index {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.pillar__title {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.pillar__text {
  margin: 0;
  color: var(--fg-muted);
  font-weight: 300;
  font-size: 0.98rem;
}

/* Soevereiniteit */

.sovereignty {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 75% 40%, rgba(0, 255, 255, 0.07), transparent 55%),
    rgba(0, 0, 0, 0.78);
  overflow: hidden;
}

.sovereignty__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.sovereignty__lead {
  margin: 0 0 var(--space-lg);
  max-width: 34rem;
  color: var(--fg-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 300;
}

.sovereignty__principles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.sovereignty__principle {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.sovereignty__principle-index {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.sovereignty__principle-title {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 500;
}

.sovereignty__principle-text {
  margin: 0;
  max-width: 32rem;
  color: var(--fg-muted);
  font-weight: 300;
  font-size: 0.98rem;
}

.sovereignty__stage {
  position: relative;
  width: min(100%, 34rem);
  aspect-ratio: 1 / 1;
  justify-self: end;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  border: 1px solid rgba(0, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(0, 255, 255, 0.03), transparent 40%),
    rgba(0, 0, 0, 0.45);
  overflow: hidden;
  cursor: crosshair;
}

.sovereignty__hud {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: calc(100% - 1.7rem);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-faint);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sovereignty__hud-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: status-pulse 2.2s ease-in-out infinite;
}

.sovereignty__orb {
  position: absolute;
  inset: 0.5rem;
  z-index: 2;
  opacity: 0.5;
  transform: scale(0.985);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.sovereignty.is-online .sovereignty__orb {
  opacity: 1;
  transform: scale(1);
}

.sovereignty__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.sovereignty__stage.is-hot {
  border-color: rgba(0, 255, 255, 0.35);
  box-shadow: 0 0 48px rgba(0, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .sovereignty__layout {
    grid-template-columns: 1fr;
  }

  .sovereignty__stage {
    order: -1;
    width: min(100%, 28rem);
    justify-self: center;
  }
}

/* Meedoen */

.meedoen {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0 calc(var(--space-2xl) * 0.85);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 255, 255, 0.06), transparent 70%),
    rgba(0, 0, 0, 0.82);
}

.meedoen__inner {
  max-width: 40rem;
}

.meedoen__text {
  margin: 0 0 var(--space-lg);
  color: var(--fg-muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 300;
  max-width: 34rem;
}

/* Newsletter */

.newsletter {
  position: relative;
  max-width: 36rem;
}

.newsletter__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.newsletter__row {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.newsletter__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 3rem;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.newsletter__input::placeholder {
  color: var(--fg-faint);
}

.newsletter__input:hover {
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.newsletter__input:focus {
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 0 var(--accent);
}

.newsletter__submit {
  flex: 0 0 auto;
  cursor: pointer;
}

.newsletter__submit:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.newsletter__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.newsletter__status {
  margin: 1rem 0 0;
  min-height: 1.4em;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--fg-muted);
}

.newsletter__status.is-success {
  color: var(--accent);
}

.newsletter__status.is-error {
  color: rgba(255, 160, 160, 0.9);
}

@media (max-width: 560px) {
  .newsletter__row {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter__submit {
    width: 100%;
  }
}

/* Footer */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 2.75rem;
  border-top: 1px solid var(--line);
  background: #000;
}

.site-footer__inner {
  display: block;
}

.site-footer__line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--fg-faint);
  row-gap: 0.5rem;
}

.site-footer__sep {
  padding: 0 0.85rem;
  color: var(--fg-faint);
}

.site-footer a {
  color: var(--fg-faint);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--fg-muted);
}

/* Privacy / legal */

.page-privacy {
  background:
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(0, 255, 255, 0.05), transparent 55%),
    var(--bg);
}

.legal {
  padding: calc(var(--header-h) + 2rem) 0 var(--space-2xl);
}

.legal__inner {
  max-width: 42rem;
}

.legal h1.section-title {
  max-width: none;
}

.legal__body {
  margin-bottom: var(--space-lg);
  color: var(--fg-muted);
  font-weight: 300;
}

.legal__body h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg);
}

.legal__body p {
  margin: 0 0 1rem;
}

.legal__updated {
  margin-top: 2rem !important;
  font-size: 0.85rem;
  color: var(--fg-faint);
}

/* Reveal defaults */

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

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

.js-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .boot {
    display: none;
  }

  body.is-booting {
    overflow: auto;
  }

  body.is-booting .site-header,
  .site-header {
    opacity: 1;
  }

  .cursor {
    display: none !important;
  }

  .hero__scroll-hint span,
  .sovereignty__hud-dot {
    animation: none;
  }

  .cta:hover {
    transform: none;
  }

  .manifest__stage {
    min-height: 0;
  }

  .manifest__statement {
    position: relative;
    opacity: 1;
    transform: none;
    margin-bottom: 1.5rem;
  }

  .manifest__progress,
  .manifest__dots {
    display: none;
  }
}

/* Responsive */

@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  body.is-ready .site-nav {
    opacity: 0;
    pointer-events: none;
  }

  .site-nav {
    inset: 0;
    z-index: 55;
    height: auto;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    padding: calc(var(--header-h) + 2rem) clamp(1.5rem, 6vw, 3rem);
    background:
      radial-gradient(ellipse 70% 50% at 80% 20%, rgba(0, 255, 255, 0.08), transparent 55%),
      rgba(0, 0, 0, 0.96);
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition:
      opacity 0.35s var(--ease-out),
      transform 0.35s var(--ease-out),
      visibility 0.35s;
  }

  body.has-nav-open .site-nav,
  body.is-ready.has-nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  body.has-nav-open .site-header {
    z-index: 60;
  }

  .site-nav a {
    font-size: clamp(1.35rem, 5vw, 1.85rem);
    letter-spacing: 0.12em;
    color: var(--fg);
  }

  .section-title {
    max-width: 22ch;
  }

  .manifest__stage {
    min-height: 12rem;
  }

  .sovereignty {
    padding: var(--space-xl) 0;
  }
}

@media (max-width: 560px) {
  .section-inner {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero {
    padding: calc(var(--header-h) + 1.25rem) 1rem 3rem;
  }

  .hero__logo {
    width: min(100%, 18rem);
  }

  .hero__headline {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .brand-mark {
    letter-spacing: 0.22em;
    font-size: 0.7rem;
  }

  .eyebrow {
    letter-spacing: 0.2em;
  }

  .sovereignty__hud {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }

  .sovereignty__stage {
    width: 100%;
    padding: 0.85rem;
  }

  .manifest__statement {
    padding-left: 0.9rem;
  }

  .site-header {
    padding: 0 1rem;
  }
}
