/**
 * Lumina — modern tech aesthetic.
 * Dark-mode-first surface, single emerald accent, variable Geist Sans.
 * Reference vocabulary: Stripe / Linear / Vercel applied to a sensors brand.
 */

/* —————————————————————————————————— */
/* Tokens                                 */
/* —————————————————————————————————— */
:root {
  /* Surfaces — all dark, layered upward for subtle elevation */
  --paper: #08090d;        /* primary page surface (deepest) */
  --linen: #08090d;        /* same as paper — unified body bg */
  --linen-2: #181c25;      /* card / hover state */
  --ink: #10141c;          /* "elevated dark section" — slightly lighter than body */
  --ink-soft: #eef2f7;     /* PRIMARY TEXT color (light on dark) */
  --ash: #98a2b3;          /* secondary muted text */
  --ash-soft: #5a6373;     /* deepest muted text */
  --white: #ffffff;

  /* Accents — emerald signature with status colors */
  --green: #00d68f;        /* signature emerald — modern biotech-tech feel */
  --green-deep: #00a86b;   /* darker variant for hover */
  --pale-lime: #a3ffd1;    /* bright accent for highlights */
  --tomato: #f59e0b;       /* warning amber for risk callouts */
  --sand: #60a5fa;         /* cool blue for data/info */

  /* Rules — hairline dividers in low-alpha white */
  --rule: rgba(255, 255, 255, 0.08);
  --rule-soft: rgba(255, 255, 255, 0.04);
  --rule-strong: rgba(255, 255, 255, 0.18);
  --rule-dark: rgba(255, 255, 255, 0.12);
  --rule-dark-soft: rgba(255, 255, 255, 0.06);

  /* Type — Geist Sans + Geist Mono (variable weights 100–900) */
  --serif: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", "JetBrains Mono", monospace;

  --gutter: clamp(1.1rem, 4vw, 3.5rem);
  --container: 1320px;
  --section-pad: clamp(4rem, 10vw, 9rem);

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --tap: 44px;
}

/* —————————————————————————————————— */
/* Reset + base                           */
/* —————————————————————————————————— */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* Root size set to 18px so 1rem = 18px throughout. Mobile dials this back
     in the responsive section below, since 18px on small screens is huge. */
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ash);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.005em;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
  font-feature-settings: "ss01", "cv11";
}

html { overflow-x: hidden; }

/* Subtle radial wash — adds atmospheric depth without the old paper grain.
   Sits behind everything via fixed positioning. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      900px 600px at 15% 8%,
      rgba(0, 214, 143, 0.07),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 85% 110%,
      rgba(96, 165, 250, 0.05),
      transparent 65%
    );
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

::selection {
  background: var(--green);
  color: #062216;
}

/* —————————————————————————————————— */
/* Skip link                              */
/* —————————————————————————————————— */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed !important;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--ink-soft);
  z-index: 9999;
  clip: auto;
}

/* —————————————————————————————————— */
/* Captions / monospace labels            */
/* —————————————————————————————————— */
.cap {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 0;
}

.cap--green { color: var(--green); }
.cap--lime  { color: var(--pale-lime); }
.cap--ink   { color: var(--ink-soft); }

/* —————————————————————————————————— */
/* Header                                 */
/* —————————————————————————————————— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s var(--ease-soft), border-color 0.3s var(--ease-soft);
  background: transparent;
  border-bottom: 1px solid transparent;
  padding: 0 calc(var(--gutter) + var(--safe-r)) 0 calc(var(--gutter) + var(--safe-l));
}

.site-header.is-scrolled {
  background: rgba(10, 13, 18, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--rule);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem 0;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.75rem, 2vw, 2rem);
}

body.has-nav .site-header__inner {
  grid-template-columns: auto 1fr auto auto;
  justify-content: stretch;
}

/* —————————————————————————————————— */
/* Primary nav (only rendered when LUMINA_SHOW_NAV is true) */
/* —————————————————————————————————— */
.site-nav {
  justify-self: center;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav__list a,
.site-nav__list .menu-item > a {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.2s var(--ease);
}

.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--green);
}

.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav__cta {
  display: none;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink-soft);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  min-height: var(--tap);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--ink);
  color: var(--ink-soft);
}

.nav-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
  display: inline-block;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.25px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__bars span:nth-child(1) { top: 3px; }
.nav-toggle__bars span:nth-child(2) { top: 9px; }

[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 45;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.nav-scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

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

@keyframes lumina-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 214, 143, 0.55); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 214, 143, 0); }
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--ink-soft);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.wordmark__img {
  display: block;
  width: auto;
  height: clamp(40px, 4.5vw, 56px);
  max-width: 100%;
  transition: opacity 0.2s var(--ease);
}

.wordmark:hover .wordmark__img,
.wordmark:focus-visible .wordmark__img {
  opacity: 0.78;
}

.wordmark--footer .wordmark__img {
  height: clamp(36px, 3.8vw, 48px);
}

/* Custom-logo (Customizer) image fallback */
.custom-logo-link img {
  display: block;
  height: clamp(40px, 4.5vw, 56px);
  width: auto;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-soft);
  padding: 0.55rem 1rem 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--ink-soft);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 30px -14px rgba(0, 214, 143, 0.35);
  transform: translateY(-1px);
}

.site-header__cta .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.site-header__cta:hover .arrow {
  transform: translateX(3px);
}

.site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.65rem, 1.5vw, 1.15rem);
  justify-self: end;
}

.site-header__link {
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.45rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-header__link:hover,
.site-header__link:focus-visible {
  color: var(--green);
  border-bottom-color: rgba(0, 214, 143, 0.35);
}

.site-header__cta--home:hover .arrow,
.site-header__cta--home:focus-visible .arrow {
  transform: translateX(-3px);
}

/* —————————————————————————————————— */
/* Container helper                       */
/* —————————————————————————————————— */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* —————————————————————————————————— */
/* Hero                                   */
/* —————————————————————————————————— */
.hero {
  position: relative;
  background: var(--linen);
  padding: clamp(8rem, 14vw, 11rem) var(--gutter) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  isolation: isolate;
}

/* Static ambient behind WebGL: net + bacteria render on transparent canvas. */
[data-lumina-cells] {
  background-color: #0c1218;
  background-image:
    radial-gradient(
      ellipse 100% 88% at 70% 24%,
      rgba(16, 52, 46, 0.7) 0%,
      rgba(12, 30, 34, 0.34) 44%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 85% 72% at 14% 46%,
      rgba(24, 44, 54, 0.5) 0%,
      rgba(12, 18, 22, 0.16) 52%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 130% 80% at 50% 108%,
      rgba(6, 11, 17, 0.72) 0%,
      transparent 52%
    ),
    radial-gradient(
      ellipse 95% 60% at 50% -8%,
      rgba(8, 13, 19, 0.66) 0%,
      transparent 48%
    ),
    linear-gradient(168deg, rgba(12, 18, 24, 0.95) 0%, var(--paper) 52%, #070a10 100%);
  background-repeat: no-repeat;
  background-size: 115% 115%, 110% 110%, 100% 100%, 100% 100%, 100% 100%;
  background-position: 58% 0%, 0% 50%, 50% 100%, 50% 0%, 0 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-soft);
}

.hero__bg.is-ready {
  opacity: 0.85;
}

.hero__bg canvas {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

/* Veil for legibility: subtle dark wash in text zones, transparent in negative
   space so the bacterial motion still reads through. */
.hero__bg-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    /* Top-left: protect the headline */
    radial-gradient(85% 75% at 4% 22%, rgba(10, 13, 18, 0.92) 0%, rgba(10, 13, 18, 0.72) 30%, rgba(10, 13, 18, 0) 64%),
    /* Right-middle: protect the lede paragraph */
    radial-gradient(65% 50% at 78% 52%, rgba(10, 13, 18, 0.7) 0%, rgba(10, 13, 18, 0.35) 38%, rgba(10, 13, 18, 0) 72%),
    /* Bottom: fade into body so the strip reads cleanly */
    linear-gradient(to bottom, rgba(10, 13, 18, 0) 50%, rgba(10, 13, 18, 0.6) 78%, rgba(10, 13, 18, 0.96) 100%);
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ash);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero__meta-sep {
  color: var(--rule);
}

.hero__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--green);
}

.hero__live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0, 214, 143, 0.6);
  animation: lumina-pulse 2.4s var(--ease) infinite;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.8rem, 8.4vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink-soft);
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  max-width: 24ch;
}

.hero__title em {
  font-style: normal;
  font-weight: 600;
  display: inline-block;
  color: var(--green);
  -webkit-text-fill-color: var(--green);
  background: none;
}

/* “before” — solid neon block, dark knockout type (matches hero reference) */
.hero__title-accent {
  display: inline-block;
  margin: 0 0.02em 0 0;
  padding: 0.04em 0.16em 0.08em;
  border-radius: 2px;
  color: var(--paper);
  background: var(--green);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero__lede {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: 0;
  text-align: left;
  padding-left: clamp(0rem, 8vw, 6rem);
}

.hero__lede p {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
  max-width: 52ch;
}

.hero__actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
}

/* Hero capability strip */
.hero__strip {
  max-width: var(--container);
  margin: clamp(4rem, 8vw, 6rem) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}

.hero__strip-item {
  padding: 1.75rem 1.5rem 0 1.5rem;
  border-right: 1px solid var(--rule);
  position: relative;
}

.hero__strip-item:first-child {
  padding-left: 0;
}

.hero__strip-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.hero__strip-item .cap {
  display: block;
  margin-bottom: 0.85rem;
}

.hero__strip-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--ink-soft);
  margin: 0 0 0.55rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__strip-body {
  margin: 0;
  font-size: 1rem;
  color: var(--ash);
  line-height: 1.55;
  max-width: 32ch;
}

/* —————————————————————————————————— */
/* Marquee                                */
/* —————————————————————————————————— */
.marquee {
  background: var(--ink);
  color: var(--ink-soft);
  overflow: hidden;
  border-top: 1px solid var(--rule-dark-soft);
  border-bottom: 1px solid var(--rule-dark-soft);
}

.marquee__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 1.1rem 0;
  animation: marquee 40s linear infinite;
  gap: 0;
}

.marquee__item {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.9vw, 1.5rem);
  font-style: normal;
  letter-spacing: -0.015em;
  padding: 0 1.25rem;
  color: var(--ash);
}

.marquee__sep {
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.85rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* —————————————————————————————————— */
/* Section heads                          */
/* —————————————————————————————————— */
.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head .cap {
  display: block;
  margin-bottom: 1.25rem;
}

.section-head__lede {
  margin-top: 1.5rem;
  font-size: 1.05rem;
  color: var(--ash);
  max-width: 52ch;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 4vw, 4.5rem);
  align-items: start;
  max-width: var(--container);
}

.section-head--split .section-head__lede {
  margin-top: 0;
  /* Optical offset so the lede sits near the title's first line rather
     than crowding the cap on the left column. */
  padding-top: clamp(1.5rem, 3vw, 3rem);
  max-width: 44ch;
}

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink-soft);
  margin: 0;
}

.section-title--on-dark { color: var(--ink-soft); }

.section-title .muted {
  display: block;
  color: rgba(255, 255, 255, 0.45);
}

.section-title .muted-dark {
  display: block;
  color: var(--ash);
}

/* —————————————————————————————————— */
/* Manifesto (dark)                       */
/* —————————————————————————————————— */
.manifesto {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--section-pad) var(--gutter);
}

.manifesto__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.manifesto__media {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.manifesto-img {
  margin: 0;
}

.manifesto-img__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule-dark);
  background: var(--linen-2);
  isolation: isolate;
}

.manifesto-img--tall .manifesto-img__frame {
  aspect-ratio: 4 / 5;
}

.manifesto-img--wide .manifesto-img__frame {
  aspect-ratio: 4 / 3;
}

.manifesto-img__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) brightness(0.92) contrast(1.05) saturate(0.85);
  transition: filter 0.9s var(--ease), transform 1.2s var(--ease);
}

/* Subtle green duotone wash + bottom vignette so images sit inside the section */
.manifesto-img__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(10, 13, 18, 0) 45%, rgba(10, 13, 18, 0.85) 100%),
    radial-gradient(120% 80% at 50% 100%, rgba(0, 214, 143, 0.22), transparent 60%);
  mix-blend-mode: normal;
}

.manifesto-img:hover .manifesto-img__frame img {
  filter: grayscale(0.15) brightness(0.92) contrast(1.05);
  transform: scale(1.02);
}

.manifesto-img figcaption {
  display: block;
  margin-top: 0.85rem;
  color: var(--pale-lime);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.failures {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule-dark);
}

.failures > li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule-dark);
  align-items: baseline;
}

.failures__index {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--pale-lime);
}

.failures h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink-soft);
  margin: 0 0 0.5rem;
}

.failures p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 60ch;
  line-height: 1.6;
}

/* Closing pull-quote — centered glass panel (matches .site-header.is-scrolled) */
.manifesto__quote {
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  max-width: min(52rem, 100%);
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  border-radius: 0;
  border: none;
  /* Same treatment as .site-header.is-scrolled */
  background: rgba(10, 13, 18, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .manifesto__quote {
    background: rgba(10, 13, 18, 0.94);
  }
}

/* Setup line — smaller, airy; reads as context for the thesis below */
.manifesto__quote-lead {
  margin: 0 auto;
  max-width: 44ch;
  padding: 0 0 clamp(1.35rem, 2.8vw, 1.85rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.52;
  letter-spacing: -0.014em;
  color: rgba(255, 255, 255, 0.62);
  text-wrap: balance;
}

/* Thesis line — larger serif, tight leading; this is the line we want to land */
.manifesto__quote-follow {
  margin: clamp(1.35rem, 2.8vw, 2rem) auto 0;
  max-width: min(34ch, 94vw);
  font-family: var(--serif);
  font-size: clamp(2.05rem, 4.1vw, 3.15rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.16;
  letter-spacing: -0.034em;
  color: var(--ink-soft);
  text-wrap: balance;
}

.manifesto__quote-accent {
  font-weight: 600;
  color: var(--green);
  text-shadow: 0 0 20px rgba(0, 214, 143, 0.18);
}

.manifesto .section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.85rem);
}

/* "slow" — italic emphasis only, color inherits from the muted span */
.manifesto .section-title em {
  font-style: italic;
}

/* —————————————————————————————————— */
/* Platform (light, hairline rows)        */
/* —————————————————————————————————— */
.platform {
  background: var(--paper);
  padding: var(--section-pad) var(--gutter);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
}

.platform__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.platform__rows {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--rule);
}

.platform-row {
  display: grid;
  /* Index column holds just "P/0X" now; meta column carries the layer name. */
  grid-template-columns: 90px minmax(220px, 1fr) minmax(0, 2fr) 130px;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(0.85rem, 1.5vw, 1.5rem);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.4s var(--ease-soft);
}

.platform-row:hover {
  background: var(--linen-2);
}

.platform-row__index .cap {
  color: var(--green);
}

.platform-row__title h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 2.1rem);
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
  letter-spacing: -0.01em;
}

.platform-row__body p {
  margin: 0;
  font-size: 1rem;
  color: var(--ash);
  line-height: 1.65;
  max-width: 56ch;
}

/* —————————————————————————————————— */
/* How it works                            */
/* —————————————————————————————————— */
.how {
  background: var(--linen);
  padding: var(--section-pad) var(--gutter);
}

.how__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.how__steps {
  list-style: none;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
}

.how-step {
  padding: 2.25rem 1.5rem 1rem 1.5rem;
  border-right: 1px solid var(--rule);
}

.how-step:first-child {
  padding-left: 0;
}

.how-step:last-child {
  border-right: 0;
  padding-right: 0;
}

.how-step__index {
  display: block;
  margin-bottom: 1.25rem;
  color: var(--green);
}

.how-step__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--ink-soft);
  margin: 0 0 0.6rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.how-step__body {
  margin: 0;
  font-size: 1rem;
  color: var(--ash);
  line-height: 1.6;
  max-width: 32ch;
}

/* —————————————————————————————————— */
/* Economics (dark, large stats)          */
/* —————————————————————————————————— */
.economics {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: var(--section-pad) var(--gutter);
}

.economics__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.economics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule-dark);
}

.stat {
  margin: 0;
  padding: 2.25rem 1.5rem 0 1.5rem;
  border-right: 1px solid var(--rule-dark);
}

.stat:first-child {
  padding-left: 0;
}

.stat:last-child {
  border-right: 0;
  padding-right: 0;
}

.stat .cap {
  display: block;
  color: var(--pale-lime);
  margin-bottom: 1.25rem;
}

.stat__value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.95rem, 4vw, 3.45rem);
  line-height: 1;
  color: var(--ink-soft);
  margin: 0 0 1rem;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.stat__value--alert {
  color: var(--tomato);
}

.stat__note {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  max-width: 30ch;
}

.economics__source {
  margin-top: 2.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* —————————————————————————————————— */
/* Voices                                 */
/* —————————————————————————————————— */
.voices {
  background: var(--paper);
  padding: var(--section-pad) var(--gutter);
}

.voices__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.voices__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}

.voice {
  margin: 0;
  padding: 2.5rem 2rem 2rem 2rem;
  border-right: 1px solid var(--rule);
}

.voice:first-child {
  padding-left: 0;
}

.voice:last-child {
  border-right: 0;
  padding-right: 0;
}

.voice blockquote {
  margin: 0 0 1.75rem;
}

.voice blockquote p {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink-soft);
  margin: 0;
  padding-left: 28px;
}

.voice figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.voice__role {
  font-size: 1rem;
  color: var(--ink-soft);
  font-weight: 500;
}

/* —————————————————————————————————— */
/* CTA (mesh gradient)                    */
/* —————————————————————————————————— */
.cta {
  background: var(--paper);
  color: var(--ink-soft);
  padding: clamp(6rem, 10vw, 9rem) var(--gutter);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 1px solid var(--rule);
}

/* Atmospheric mesh — emerald + cool blue gradients on dark surface */
.cta::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 18% 32%, rgba(0, 214, 143, 0.22), transparent 60%),
    radial-gradient(45% 55% at 82% 70%, rgba(96, 165, 250, 0.14), transparent 60%),
    radial-gradient(40% 50% at 50% 100%, rgba(163, 255, 209, 0.08), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

/* Subtle grid lines for that "tech doc" feel */
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent 80%);
  -webkit-mask-image: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent 80%);
  pointer-events: none;
}

.cta__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.cta__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: var(--ink-soft);
  margin: 1rem 0 1.5rem;
}

.cta__title em {
  display: block;
  font-style: normal;
  color: transparent;
}

.cta__lede {
  font-size: 1.05rem;
  color: var(--ash);
  max-width: 52ch;
  margin: 0 0 2.5rem;
}

.cta__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}

/* —————————————————————————————————— */
/* Buttons / link styles                   */
/* —————————————————————————————————— */
.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.4rem;
  min-height: var(--tap);
  border-radius: 999px;
  background: var(--green);
  color: #062216;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  border: 1px solid var(--green);
  box-shadow: 0 0 0 1px rgba(0, 214, 143, 0.18), 0 10px 28px -14px rgba(0, 214, 143, 0.55);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.link-pill:hover,
.link-pill:focus-visible {
  background: var(--pale-lime);
  border-color: var(--pale-lime);
  color: #062216;
  box-shadow: 0 0 0 1px rgba(163, 255, 209, 0.35), 0 14px 32px -10px rgba(163, 255, 209, 0.7);
  transform: translateY(-1px);
}

.link-pill .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.link-pill:hover .arrow {
  transform: translateX(4px);
}

/* Secondary button variant: outline on dark surface */
.link-pill--light {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--rule-strong, rgba(255, 255, 255, 0.18));
  box-shadow: none;
}

.link-pill--light:hover,
.link-pill--light:focus-visible {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: none;
  transform: translateY(-1px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink-soft);
  padding: 0.85rem 0;
  min-height: var(--tap);
  border-bottom: 1px solid var(--rule);
  -webkit-tap-highlight-color: transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-arrow:hover {
  color: var(--green);
  border-color: var(--green);
}

.link-arrow .arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover .arrow {
  transform: translateX(4px);
}

.link-arrow--light {
  color: var(--ink-soft);
  border-color: rgba(255, 255, 255, 0.18);
}

.link-arrow--light:hover {
  color: var(--pale-lime);
  border-color: var(--pale-lime);
}

/* —————————————————————————————————— */
/* Footer                                 */
/* —————————————————————————————————— */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding: clamp(4rem, 7vw, 6rem) var(--gutter) 1.5rem;
}

.site-footer__top {
  max-width: var(--container);
  margin: 0 auto;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--rule-dark);
}

.site-footer__top--cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.site-footer__heading {
  font-family: var(--mono);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 1rem;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.site-footer__col a {
  font-size: 1rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s var(--ease);
}

.site-footer__col a:hover {
  color: var(--pale-lime);
}

.site-footer__tagline {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__bottom {
  max-width: var(--container);
  margin: 1.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__meta {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.site-footer__contact {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--rule-dark);
  padding-bottom: 0.25rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.site-footer__contact:hover {
  color: var(--pale-lime);
  border-color: var(--pale-lime);
}

/* —————————————————————————————————— */
/* Scroll progress bar                     */
/* —————————————————————————————————— */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0%, var(--pale-lime) 100%);
  width: 0%;
  z-index: 60;
  transform-origin: left;
  pointer-events: none;
  box-shadow: 0 0 18px rgba(0, 214, 143, 0.7);
}

/* —————————————————————————————————— */
/* Reveal animation                        */
/* —————————————————————————————————— */
.lumina-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.lumina-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —————————————————————————————————— */
/* Hero title — mask reveal + accent      */
/* —————————————————————————————————— */
.hero__title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.22em;
}

.hero__title-inner {
  display: block;
  transform: translateY(110%);
  animation: lumina-title-up 1.05s var(--ease) forwards;
}

.hero__title-line:nth-child(1) .hero__title-inner {
  animation-delay: 0.12s;
}

.hero__title-line:nth-child(2) .hero__title-inner {
  animation-delay: 0.26s;
}

.hero__title-line:nth-child(3) .hero__title-inner {
  transform: translateX(-115%);
  animation: lumina-title-fly-in 1.12s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
}

@keyframes lumina-title-up {
  to {
    transform: translateY(0);
  }
}

@keyframes lumina-title-fly-in {
  to {
    transform: translateX(0);
  }
}

/* Hero meta strip slides in */
.hero__meta {
  animation: lumina-fade-down 0.9s var(--ease) 0.05s both;
}

@keyframes lumina-fade-down {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* —————————————————————————————————— */
/* Eyebrow caps — leading hairline draw    */
/* —————————————————————————————————— */
.section-head .cap::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin-right: 0;
  opacity: 0.6;
  transition: width 0.9s var(--ease) 0.1s, margin-right 0.9s var(--ease) 0.1s;
}

.section-head.is-visible .cap::before {
  width: 32px;
  margin-right: 0.7rem;
}

/* —————————————————————————————————— */
/* Marquee — pause on hover                */
/* —————————————————————————————————— */
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

/* —————————————————————————————————— */
/* Cursor spotlight on dark sections       */
/* —————————————————————————————————— */
.manifesto,
.economics {
  position: relative;
  isolation: isolate;
}

.manifesto::before,
.economics::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 214, 143, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
}

.manifesto > *,
.economics > * {
  position: relative;
  z-index: 1;
}

.manifesto.is-tracking::before,
.economics.is-tracking::before {
  opacity: 1;
}

/* —————————————————————————————————— */
/* Platform row — richer hover             */
/* —————————————————————————————————— */
.platform-row {
  transition: background 0.45s var(--ease-soft),
              padding-left 0.45s var(--ease-soft);
}

.platform-row__title h3,
.platform-row__index .cap {
  transition: color 0.3s var(--ease), letter-spacing 0.4s var(--ease);
}

.platform-row__title {
  position: relative;
}

.platform-row__title::after {
  content: "→";
  position: absolute;
  right: -0.4rem;
  top: 50%;
  font-family: var(--mono);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--green);
  opacity: 0;
  transform: translate(-8px, -50%);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}

.platform-row:hover {
  padding-left: 0.6rem;
}

.platform-row:hover .platform-row__title h3 {
  color: var(--green-deep);
}

.platform-row:hover .platform-row__index .cap {
  letter-spacing: 0.24em;
}

.platform-row:hover .platform-row__title::after {
  opacity: 1;
  transform: translate(0, -50%);
}

/* —————————————————————————————————— */
/* Voice quote — animated quotation mark   */
/* —————————————————————————————————— */
.voice blockquote {
  position: relative;
  padding-top: 0.5rem;
}

.voice blockquote::before {
  content: "\201C"; /* opening curly quote */
  position: absolute;
  top: -1.4rem;
  left: -0.1rem;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--green);
  transform: scale(0);
  transform-origin: bottom left;
  transition: transform 0.7s var(--ease) 0.1s;
}

.voice.is-visible blockquote::before {
  transform: scale(1);
}

/* Closing quote — large brand-green flourish that nests at the end of the
   final paragraph and animates in alongside the opening mark. */
.voice blockquote p:last-of-type::after {
  content: "\201D"; /* closing curly quote */
  display: inline-block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 3em;
  line-height: 0;
  color: var(--green);
  margin-left: 0.06em;
  vertical-align: -0.55em;
  transform: scale(0);
  transform-origin: top left;
  transition: transform 0.7s var(--ease) 0.25s;
}

.voice.is-visible blockquote p:last-of-type::after {
  transform: scale(1);
}

/* —————————————————————————————————— */
/* Failures list — index pulse on reveal   */
/* —————————————————————————————————— */
.failures > li.is-visible .failures__index {
  animation: lumina-index-pop 0.9s var(--ease);
}

@keyframes lumina-index-pop {
  0%   { color: var(--ash); transform: translateY(0); }
  50%  { color: var(--pale-lime); transform: translateY(-3px); }
  100% { color: var(--pale-lime); transform: translateY(0); }
}

/* —————————————————————————————————— */
/* Stat — value polish on reveal           */
/* —————————————————————————————————— */
.stat__value {
  transition: letter-spacing 0.8s var(--ease) 0.1s;
}

.stat.is-visible .stat__value {
  letter-spacing: -0.025em;
}

.stat:not(.is-visible) .stat__value {
  letter-spacing: 0.05em;
}

/* —————————————————————————————————— */
/* How step — index hover lift             */
/* —————————————————————————————————— */
.how-step {
  transition: padding-top 0.4s var(--ease-soft);
}

.how-step .how-step__index {
  transition: color 0.3s var(--ease), letter-spacing 0.4s var(--ease);
}

.how-step:hover {
  padding-top: 1.85rem;
}

.how-step:hover .how-step__index {
  color: var(--green-deep);
  letter-spacing: 0.24em;
}

/* —————————————————————————————————— */
/* CTA — italic shimmer on reveal          */
/* —————————————————————————————————— */
.cta__title em {
  display: block;
  line-height: 1.18;
  padding-bottom: 0.14em;
  background: linear-gradient(90deg, var(--green) 0%, var(--pale-lime) 50%, var(--green) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: lumina-shimmer 6s linear infinite;
}

@keyframes lumina-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* —————————————————————————————————— */
/* Wordmark — soft entrance                */
/* —————————————————————————————————— */
.site-header .wordmark {
  animation: lumina-fade-in 0.9s var(--ease) 0.2s both;
}

@keyframes lumina-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee__track,
  .hero__live-dot,
  .hero__title-inner,
  .hero__title em {
    animation: none !important;
  }

  .hero__title-inner {
    transform: none;
  }

  .hero__title em {
    opacity: 1;
    transform: none;
  }

  .hero__meta,
  .site-header .wordmark,
  .cta__title em,
  .lumina-reveal,
  .scroll-progress,
  .voice blockquote::before,
  .voice blockquote p:last-of-type::after,
  .failures > li .failures__index,
  .section-head .cap::before {
    animation: none !important;
    transition: none !important;
  }

  .voice blockquote::before { transform: scale(1); }
  .voice blockquote p:last-of-type::after { transform: scale(1); }
  .lumina-reveal { opacity: 1; transform: none; }
  .section-head .cap::before { width: 32px; margin-right: 0.7rem; }

  html { scroll-behavior: auto; }
}

/* —————————————————————————————————— */
/* Responsive                              */
/* —————————————————————————————————— */
@media (max-width: 1024px) {
  .manifesto__grid {
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3rem);
  }

  .manifesto__media {
    position: static;
    flex-direction: row;
    gap: 1.25rem;
  }

  .manifesto-img {
    flex: 1;
    min-width: 0;
  }

  .manifesto-img--tall .manifesto-img__frame,
  .manifesto-img--wide .manifesto-img__frame {
    aspect-ratio: 4 / 5;
  }

  .manifesto-img figcaption {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .hero__strip { grid-template-columns: repeat(2, 1fr); }
  .hero__strip-item { padding: 1.5rem 1.25rem 0 1.25rem; }
  .hero__strip-item:nth-child(odd) { padding-left: 0; }
  .hero__strip-item:nth-child(even) { border-right: 0; padding-right: 0; }

  .platform-row {
    /* Tablet: stack index and meta with title / body in a single column. */
    grid-template-columns: 80px 1fr;
    gap: 0.85rem;
  }
  .platform-row__body { grid-column: 2; }
  .platform-row__meta { grid-column: 2; text-align: left; }

  .how__steps { grid-template-columns: repeat(2, 1fr); }
  .how-step:nth-child(odd) { padding-left: 0; }
  .how-step:nth-child(even) { border-right: 0; padding-right: 0; }

  .economics__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-right: 0; padding-right: 0; }

  .voices__list { grid-template-columns: 1fr; }
  .voice {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 2rem 0;
  }
  .voice:last-child { border-bottom: 0; }

  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split .section-head__lede {
    padding-top: 0;
    margin-top: 1.25rem;
    max-width: 56ch;
  }
}

/* —————————————————————————————————— */
/* Mobile drawer (≤ 860px) — only when nav is rendered */
/* —————————————————————————————————— */
@media (max-width: 860px) {
  body.has-nav .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  body.has-nav .site-header__cta {
    display: none;
  }

  body.has-nav .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  body.has-nav .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(86vw, 420px);
    max-width: 100%;
    background: var(--paper);
    border-left: 1px solid var(--rule);
    transform: translateX(102%);
    transition: transform 0.4s var(--ease);
    padding: calc(5.5rem + env(safe-area-inset-top, 0px)) calc(1.5rem + var(--safe-r)) calc(2rem + env(safe-area-inset-bottom, 0px)) 1.5rem;
    overflow-y: auto;
    z-index: 49;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.5);
  }

  body.has-nav .site-nav.is-open {
    transform: translateX(0);
  }

  body.has-nav .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--rule);
  }

  body.has-nav .site-nav__list .menu-item {
    border-bottom: 1px solid var(--rule);
  }

  body.has-nav .site-nav__list a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.1rem 0;
    min-height: var(--tap);
    font-size: 0.78rem;
  }

  body.has-nav .site-nav__list a::after {
    display: none;
  }

  body.has-nav .site-nav__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 1rem 1.25rem;
    min-height: var(--tap);
    border-radius: 999px;
    background: var(--ink);
    color: var(--ink-soft);
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s var(--ease);
  }

  body.has-nav .site-nav__cta:hover,
  body.has-nav .site-nav__cta:focus-visible {
    background: var(--green);
  }
}

/* —————————————————————————————————— */
/* Small phones (≤ 720px)                  */
/* —————————————————————————————————— */
@media (max-width: 720px) {
  /* Drop root back to 16px on phones — desktop's 18px root would
     compound with the existing rem-based mobile overrides and run too
     large on small screens. Keeps body around 16px for comfortable
     mobile reading. */
  html { font-size: 16px; }

  .manifesto__media {
    flex-direction: column;
  }

  .manifesto-img--tall .manifesto-img__frame {
    aspect-ratio: 4 / 5;
  }

  .manifesto-img--wide .manifesto-img__frame {
    aspect-ratio: 4 / 3;
  }

  .hero {
    padding-top: clamp(6rem, 18vw, 8rem);
  }

  .hero__bg.is-ready {
    opacity: 0.5;
  }

  .hero__meta {
    flex-wrap: wrap;
    gap: 0.4rem 0.6rem;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
  }

  .hero__meta-sep { display: none; }

  .hero__title {
    font-size: clamp(2.1rem, 11vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    max-width: 16ch;
  }

  .hero__lede {
    padding-left: 0;
    margin-left: 0;
  }

  .hero__lede p {
    font-size: 1.02rem;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero__actions .link-pill,
  .hero__actions .link-arrow {
    width: 100%;
    justify-content: center;
  }

  .hero__strip { grid-template-columns: 1fr; }
  .hero__strip-item {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 1.5rem 0;
  }
  .hero__strip-item:last-child { border-bottom: 0; }

  .marquee__item { font-size: 1.25rem; padding: 0 0.85rem; }
  .marquee__sep  { font-size: 0.85rem; }

  .section-title {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .failures > li {
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .failures h3 {
    font-size: clamp(1.2rem, 5.2vw, 1.6rem);
  }

  .platform-row { grid-template-columns: 1fr; padding: 1.5rem 0; gap: 0.75rem; }
  .platform-row__title h3 { font-size: clamp(1.2rem, 5.5vw, 1.6rem); }

  .how__steps { grid-template-columns: 1fr; }
  .how-step {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    padding: 1.75rem 0;
  }
  .how-step:last-child { border-bottom: 0; }

  .economics__grid { grid-template-columns: 1fr; }
  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--rule-dark);
    padding: 2rem 0;
  }
  .stat:last-child { border-bottom: 0; }
  .stat__value { font-size: clamp(1.78rem, 9.5vw, 2.48rem); }

  .voice { padding: 1.75rem 0; }
  .voice blockquote p { font-size: clamp(1.05rem, 4.5vw, 1.3rem); }

  .cta__title { font-size: clamp(2rem, 9vw, 3rem); }
  .cta__actions { flex-direction: column; align-items: stretch; gap: 0.85rem; }
  .cta__actions .link-pill,
  .cta__actions .link-arrow { width: 100%; justify-content: center; }

  .site-footer__top--cols { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }

  body.no-nav .site-header__cta {
    padding: 0.55rem 0.95rem;
  }
}

/* —————————————————————————————————— */
/* Very small phones (≤ 380px)             */
/* —————————————————————————————————— */
@media (max-width: 380px) {
  .wordmark__img { height: 36px; }
  .wordmark--footer .wordmark__img { height: 32px; }

  .site-footer__cols { grid-template-columns: 1fr; }

  body.no-nav .site-header__cta span { display: none; }
  body.no-nav .site-header__cta {
    padding: 0.6rem 0.9rem;
    aspect-ratio: 1;
    min-width: var(--tap);
    justify-content: center;
  }

  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 0.55rem 0.7rem; }

  .hero__title {
    font-size: clamp(1.9rem, 10.5vw, 3rem);
  }

  .marquee__item { font-size: 1.1rem; }

  .site-footer__cols { grid-template-columns: 1fr; }
}
