:root {
  color-scheme: dark;
  --black: #050505;
  --black-2: #0a0a0a;
  --surface: #0e0e0e;
  --surface-2: #131313;
  --line: #292929;
  --line-soft: #1a1a1a;
  --paper: #f2f0ea;
  --muted: #9b9b92;
  --dim: #66665f;
  --signal: #ff5a00;
  --signal-soft: rgba(255, 90, 0, 0.16);
  --header-h: 58px;
  --nav-h: 42px;
  --max: 1600px;
  --pad: clamp(20px, 4vw, 72px);
  --mono: "IBM Plex Mono", "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-family: var(--mono);
  background: var(--black);
  color: var(--paper);
  font-synthesis: none;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
  scrollbar-color: var(--signal) var(--black);
  scrollbar-width: thin;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    var(--black);
  background-size: 64px 64px;
}

body:has(dialog[open]) {
  overflow: hidden;
}

::selection {
  color: var(--black);
  background: var(--signal);
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: var(--black);
}

::-webkit-scrollbar-thumb {
  background: var(--signal);
}

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 12px 16px;
  color: var(--black);
  background: var(--signal);
  font-size: 12px;
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

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

.eyebrow,
.cell-label {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cell-label {
  display: block;
  margin-bottom: 28px;
  color: var(--dim);
}

.status-light {
  width: 7px;
  height: 7px;
  background: var(--signal);
  box-shadow: 0 0 16px rgba(255, 90, 0, 0.55);
  animation: status-pulse 2.4s steps(2, end) infinite;
}

@keyframes status-pulse {
  50% { opacity: 0.35; }
}

.boot {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--black);
  transition: transform 0.65s cubic-bezier(0.83, 0, 0.17, 1), visibility 0.65s;
}

.boot.is-complete {
  transform: translateY(-100%);
  visibility: hidden;
}

.boot__grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 7.5vw 7.5vw;
}

.boot__grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 48%, var(--signal-soft) 50%, transparent 52%);
  animation: boot-scan 2s linear infinite;
}

@keyframes boot-scan {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

.boot__content {
  position: relative;
  width: min(900px, calc(100vw - 40px));
}

.boot__word {
  margin: 26px 0 40px;
  font-family: var(--sans);
  font-size: clamp(68px, 17vw, 230px);
  font-weight: 900;
  line-height: 0.73;
  letter-spacing: -0.095em;
}

.boot__log {
  min-height: 16px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.boot__progress {
  height: 2px;
  overflow: hidden;
  background: var(--line);
}

.boot__progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--signal);
}

.text-button {
  padding: 0;
  border: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.boot__skip {
  margin-top: 18px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.topbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 max(18px, env(safe-area-inset-left)) 0 max(18px, env(safe-area-inset-right));
  background: rgba(5, 5, 5, 0.91);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  gap: 9px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 7px;
  height: 22px;
  background: var(--signal);
}

.brand__sub {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.topbar__status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.topbar__clock {
  padding-left: 10px;
  border-left: 1px solid var(--line);
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.topbar__actions {
  justify-self: end;
  display: flex;
  height: 100%;
}

.utility-button,
.menu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 112px;
  height: 100%;
  padding: 0 16px;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color 160ms, background 160ms;
}

.utility-button:hover,
.utility-button:focus-visible,
.utility-button.is-active,
.menu-button:hover,
.menu-button:focus-visible {
  outline: 0;
  color: var(--paper);
  background: var(--signal-soft);
}

.utility-button kbd {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  color: var(--dim);
  font: inherit;
}

.menu-button {
  display: none;
  min-width: 56px;
}

.primary-nav {
  position: fixed;
  z-index: 990;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.91);
  backdrop-filter: blur(16px);
}

.primary-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  color: var(--dim);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color 160ms, background 160ms;
}

.primary-nav a:last-child {
  border-right: 0;
}

.primary-nav a span {
  color: var(--line);
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a.is-active {
  outline: 0;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.02);
}

.primary-nav a.is-active span {
  color: var(--signal);
}

.scroll-meter {
  position: fixed;
  z-index: 1100;
  top: calc(var(--header-h) + var(--nav-h) - 1px);
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
}

.scroll-meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--signal);
}

.section {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + var(--nav-h));
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--header-h) + var(--nav-h) + 56px) var(--pad) 42px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.signal-field,
.hero__noise {
  position: absolute;
  z-index: -2;
  inset: calc(var(--header-h) + var(--nav-h)) 0 0;
  width: 100%;
  height: calc(100% - var(--header-h) - var(--nav-h));
}

.hero__noise {
  z-index: -1;
  opacity: 0.14;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E");
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 40% 0 0;
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.92) 86%);
}

.hero__coordinates {
  position: absolute;
  top: calc(var(--header-h) + var(--nav-h) + 26px);
  display: grid;
  gap: 5px;
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.hero__coordinates--left { left: var(--pad); }
.hero__coordinates--right { right: var(--pad); text-align: right; }

.hero__content {
  width: 100%;
  max-width: var(--max);
  margin: auto;
}

.hero__eyebrow {
  margin-bottom: clamp(26px, 4vh, 54px);
  color: var(--signal);
}

.hero h1 {
  display: flex;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(82px, 20.4vw, 350px);
  font-weight: 950;
  line-height: 0.68;
  letter-spacing: -0.105em;
  white-space: nowrap;
}

.accent-outline {
  color: transparent;
  -webkit-text-stroke: max(1px, 0.009em) var(--signal);
  text-stroke: max(1px, 0.009em) var(--signal);
}

.hero__thesis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(42px, 7vh, 90px);
}

.hero__thesis p {
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: clamp(9px, 0.9vw, 12px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.hero__thesis p:first-child {
  border-color: var(--signal);
  color: var(--paper);
}

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: var(--max);
  margin: clamp(48px, 10vh, 130px) auto 0;
}

.enter-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.enter-link svg {
  transition: transform 160ms;
}

.enter-link:hover svg {
  transform: translateX(6px);
}

.hero__telemetry {
  display: flex;
  gap: 22px;
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 0.1em;
}

.section--ruled {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.section-index {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 38px 20px;
  border-right: 1px solid var(--line);
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 0.1em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.section-index span:first-child {
  color: var(--signal);
  font-size: 15px;
  font-weight: 800;
}

.section-body {
  width: min(100%, calc(var(--max) + var(--pad) * 2));
  padding: clamp(72px, 10vw, 150px) var(--pad);
}

.section-header {
  max-width: 1180px;
  margin-bottom: clamp(64px, 9vw, 130px);
}

.section-header--split {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
}

.section-header .eyebrow {
  margin-bottom: 30px;
  color: var(--signal);
}

.section-header h2,
.eras__heading h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(50px, 8.7vw, 150px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: -0.075em;
}

.section-lead {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 30px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.identity-cell {
  min-height: 330px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.006);
}

.identity-cell--statement {
  grid-row: span 2;
  min-height: 660px;
  background: var(--paper);
  color: var(--black);
}

.identity-cell--statement .cell-label {
  color: #6c6c66;
}

.identity-cell--statement p {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(29px, 3.6vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.identity-cell strong {
  display: block;
  margin-bottom: 22px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: clamp(32px, 4vw, 60px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.identity-cell p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.manifesto {
  margin-top: clamp(80px, 12vw, 180px);
  border-top: 1px solid var(--line);
}

.manifesto__line {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.manifesto__line > span {
  padding-top: 7px;
  color: var(--signal);
  font-size: 10px;
}

.manifesto__line p {
  max-width: 1150px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(24px, 3.8vw, 62px);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.eras {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(50px, 8vw, 140px);
  margin-top: clamp(100px, 14vw, 220px);
}

.eras__heading {
  position: sticky;
  top: 140px;
  align-self: start;
}

.eras__heading .eyebrow {
  margin-bottom: 28px;
  color: var(--signal);
}

.eras__heading h3 {
  font-size: clamp(44px, 5.5vw, 86px);
}

.eras__list {
  border-top: 1px solid var(--line);
}

.era {
  padding: 28px 0 36px;
  border-bottom: 1px solid var(--line);
}

.era__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.state,
.document-row__status {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 5px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.state--active,
.status--public {
  border-color: rgba(255, 90, 0, 0.45);
  color: var(--signal);
  background: var(--signal-soft);
}

.status--scheduled,
.status--locked {
  color: var(--paper);
}

.era h4 {
  margin: 0 0 10px;
  font-family: var(--sans);
  font-size: clamp(38px, 5vw, 74px);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.era time {
  color: var(--signal);
  font-size: 10px;
}

.era > p {
  max-width: 650px;
  margin: 30px 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(17px, 2vw, 25px);
  line-height: 1.35;
}

.era__proof {
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.section--subtractive {
  background: #080808;
}

.subtractive-premise {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  padding: 34px 0;
  border-top: 1px solid var(--signal);
  border-bottom: 1px solid var(--line);
}

.subtractive-premise > span {
  color: var(--signal);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.subtractive-premise p {
  max-width: 1000px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(27px, 4.2vw, 66px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
}

.subtract-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.subtract-grid article {
  min-height: 500px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.subtract-grid article:last-child {
  background: var(--paper);
  color: var(--black);
}

.subtract-grid article:last-child .cell-label {
  color: #6c6c66;
}

.subtract-grid ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subtract-grid li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid currentColor;
  border-color: rgba(128, 128, 128, 0.28);
  font-family: var(--sans);
  font-size: clamp(18px, 2.4vw, 34px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.subtract-grid li span {
  color: var(--signal);
  font-family: var(--mono);
  font-weight: 400;
}

.taxonomy {
  margin-top: clamp(90px, 12vw, 180px);
  border-top: 1px solid var(--line);
}

.taxonomy__item {
  display: grid;
  grid-template-columns: 80px minmax(220px, 0.6fr) minmax(300px, 1fr);
  gap: 30px;
  align-items: start;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.taxonomy__index {
  color: var(--signal);
  font-size: 10px;
}

.taxonomy h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(30px, 4vw, 58px);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.taxonomy__label {
  margin: 11px 0 0 !important;
  color: var(--signal) !important;
  font-size: 9px !important;
  letter-spacing: 0.1em;
}

.taxonomy__item > p {
  max-width: 680px;
  margin: 3px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(16px, 1.8vw, 25px);
  line-height: 1.35;
}

.final-rule {
  margin: clamp(90px, 12vw, 180px) 0 0;
  padding: 34px;
  border: 1px solid var(--signal);
  background: var(--signal-soft);
}

.final-rule span {
  color: var(--signal);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.final-rule p {
  max-width: 1150px;
  margin: 48px 0 0;
  font-family: var(--sans);
  font-size: clamp(28px, 4.7vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.documents-header {
  margin-bottom: 70px;
}

.document-controls {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-bottom: 26px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  flex-wrap: wrap;
}

.filter,
.search-inline {
  padding: 16px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  color: var(--dim);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.filter:hover,
.filter:focus-visible,
.filter.is-active,
.search-inline:hover,
.search-inline:focus-visible {
  outline: 0;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.035);
}

.filter.is-active {
  color: var(--signal);
}

.search-inline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-right: 0;
  border-left: 1px solid var(--line);
}

.document-list {
  border-top: 1px solid var(--line);
}

.document-row {
  --delay: calc(var(--row) * 35ms);
  display: grid;
  grid-template-columns: 52px 110px minmax(280px, 1fr) 126px 100px 34px;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 122px;
  padding: 18px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: transparent;
  cursor: pointer;
  animation: row-enter 450ms both var(--delay);
  transition: background 160ms, padding 160ms;
}

@keyframes row-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.document-row:hover,
.document-row:focus-visible {
  outline: 0;
  padding-left: 14px;
  padding-right: 14px;
  background: rgba(255, 255, 255, 0.028);
}

.document-row__number,
.document-row__type,
.document-row__date {
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.document-row__type {
  color: var(--signal);
}

.document-row__main {
  display: grid;
  gap: 9px;
}

.document-row__main strong {
  font-family: var(--sans);
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1;
  letter-spacing: -0.035em;
}

.document-row__main small {
  max-width: 720px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.document-row__open {
  display: grid;
  place-items: center;
  color: var(--dim);
  transition: color 160ms, transform 160ms;
}

.document-row:hover .document-row__open {
  color: var(--signal);
  transform: rotate(90deg);
}

.empty-index {
  padding: 44px 0;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.transmission {
  background:
    linear-gradient(90deg, transparent 50%, rgba(255, 90, 0, 0.025) 50%),
    #070707;
  background-size: 8px 100%;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.countdown > div {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.countdown strong {
  font-family: var(--sans);
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.08em;
  font-variant-numeric: tabular-nums;
}

.countdown > div:first-child strong {
  color: var(--signal);
}

.countdown span {
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.transmission-card {
  display: grid;
  grid-template-columns: 0.55fr 1fr auto;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  margin-top: 50px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.transmission-card__code {
  display: grid;
  gap: 12px;
  color: var(--signal);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.transmission-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(16px, 1.7vw, 24px);
  line-height: 1.4;
}

.calibration-large {
  display: grid;
  gap: 12px;
  min-width: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.calibration-large span:last-child {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.calibration-large:hover,
.calibration-large:focus-visible,
.calibration-large.is-active {
  outline: 0;
  border-color: var(--signal);
  color: var(--signal);
  background: var(--signal-soft);
}

.live-acts {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  margin-top: clamp(90px, 12vw, 170px);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.live-acts > div {
  min-height: 210px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.live-acts__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.act {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.act span {
  color: var(--signal);
  font-size: 10px;
}

.act strong {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.access-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.access-grid article {
  min-height: 340px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.access-grid strong {
  display: block;
  margin-bottom: 28px;
  font-family: var(--sans);
  font-size: clamp(26px, 3vw, 44px);
  line-height: 0.94;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.access-grid p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--muted);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.copy-button:hover,
.copy-button:focus-visible {
  outline: 0;
  border-color: var(--signal);
  color: var(--signal);
}

.access-statement {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(100px, 15vw, 220px);
  padding-top: 36px;
  border-top: 1px solid var(--signal);
}

.access-statement p {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(48px, 10vw, 170px);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: -0.085em;
}

.access-statement span {
  flex: 0 0 auto;
  color: var(--signal);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.footer {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 60px;
  padding: 60px var(--pad) max(40px, env(safe-area-inset-bottom));
  background: var(--paper);
  color: var(--black);
}

.footer__brand {
  font-family: var(--sans);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.footer__brand span {
  color: #71716b;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.footer > p {
  max-width: 780px;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(22px, 3vw, 43px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.footer__meta {
  grid-column: 1 / -1;
  display: flex;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid #bdbdb5;
  color: #6f6f68;
  font-size: 8px;
  letter-spacing: 0.08em;
}

.footer__meta a {
  margin-left: auto;
  color: var(--black);
}

dialog {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  color: var(--paper);
  background: transparent;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
}

.dossier {
  width: min(1040px, calc(100vw - 40px));
  height: min(820px, calc(100svh - 40px));
}

.dossier__frame {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  background: var(--black-2);
  box-shadow: 0 30px 100px rgba(0,0,0,0.6);
}

.dossier__header,
.index-search__frame > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
}

.dossier__header > div {
  display: flex;
  height: 58px;
}

.dossier__header span {
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.dossier__header span:first-child {
  color: var(--signal);
}

.dossier__header button,
.index-search__frame header button {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--line);
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}

.dossier__header button:hover,
.dossier__header button:focus-visible,
.index-search__frame header button:hover,
.index-search__frame header button:focus-visible {
  outline: 0;
  color: var(--paper);
  background: var(--signal-soft);
}

.dossier__content {
  overflow-y: auto;
  padding: clamp(30px, 6vw, 76px);
}

.dossier__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.dossier__content h2 {
  max-width: 900px;
  margin: 45px 0 28px;
  font-family: var(--sans);
  font-size: clamp(46px, 8vw, 108px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.075em;
}

.dossier__lead {
  max-width: 780px;
  margin: 0 0 70px;
  color: var(--signal);
  font-family: var(--sans);
  font-size: clamp(20px, 2.7vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.dossier__body {
  max-width: 760px;
  margin-left: auto;
}

.dossier__body p {
  margin: 0 0 24px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.5;
}

.dossier__relations,
.dossier__credits {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px 30px;
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.dossier__relations > span,
.dossier__credits > span {
  color: var(--signal);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.dossier__relations code {
  grid-column: 2;
  width: max-content;
  max-width: 100%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  overflow-wrap: anywhere;
}

.dossier__credits p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.index-search {
  width: min(920px, calc(100vw - 40px));
  height: min(700px, calc(100svh - 40px));
}

.index-search__frame {
  height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  border: 1px solid var(--line);
  background: var(--black-2);
}

.index-search__frame > header {
  padding-left: 22px;
}

.index-search__frame header > div {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.index-search__frame h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 20px;
  letter-spacing: -0.04em;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  color: var(--signal);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--paper);
  background: transparent;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.search-field input::placeholder {
  color: #3d3d3a;
}

.search-results {
  overflow-y: auto;
}

.search-result {
  display: grid;
  grid-template-columns: 130px 1fr 100px;
  gap: 18px;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 16px 24px;
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.search-result:hover,
.search-result:focus-visible,
.search-result.is-selected {
  outline: 0;
  background: rgba(255,255,255,0.03);
}

.search-result > span {
  color: var(--signal);
  font-size: 9px;
}

.search-result strong {
  font-family: var(--sans);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.search-result small {
  justify-self: end;
  color: var(--dim);
  font-size: 8px;
}

.index-search__frame > footer {
  display: flex;
  gap: 24px;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 8px;
  letter-spacing: 0.08em;
}

@media (max-width: 1050px) {
  :root {
    --nav-h: 0px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .topbar__status,
  .utility-button#search-open {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .primary-nav {
    top: var(--header-h);
    height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    border-bottom: 0;
    border-left: 1px solid var(--line);
    margin-left: 22%;
    padding: 20px;
    transition: transform 350ms cubic-bezier(0.83, 0, 0.17, 1);
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  .primary-nav a {
    flex: 1;
    max-height: 105px;
    justify-content: flex-start;
    padding: 0 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .scroll-meter {
    top: calc(var(--header-h) - 1px);
  }

  .hero {
    padding-top: calc(var(--header-h) + 65px);
  }

  .signal-field,
  .hero__noise {
    inset: var(--header-h) 0 0;
    height: calc(100% - var(--header-h));
  }

  .hero__coordinates {
    top: calc(var(--header-h) + 20px);
  }

  .identity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .identity-cell--statement {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: auto;
  }

  .eras {
    grid-template-columns: 1fr;
  }

  .eras__heading {
    position: static;
  }

  .document-row {
    grid-template-columns: 42px 90px minmax(250px, 1fr) 100px 34px;
  }

  .document-row__date {
    display: none;
  }

  .transmission-card {
    grid-template-columns: 0.6fr 1.4fr;
  }

  .calibration-large {
    grid-column: 1 / -1;
  }

  .live-acts {
    grid-template-columns: repeat(5, 1fr);
  }

  .live-acts__intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 54px;
    --pad: 18px;
  }

  .brand__sub,
  .utility-button#calibration span {
    display: none;
  }

  .utility-button#calibration {
    min-width: 54px;
    padding: 0;
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 24px;
  }

  .hero__coordinates--right {
    display: none;
  }

  .hero__content {
    margin-top: auto;
  }

  .hero h1 {
    font-size: clamp(68px, 25vw, 150px);
    line-height: 0.72;
  }

  .hero__thesis {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 40px;
  }

  .hero__thesis p {
    padding-top: 8px;
  }

  .hero__bottom {
    display: grid;
    margin-top: auto;
    padding-top: 54px;
  }

  .hero__telemetry {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .section--ruled {
    grid-template-columns: 1fr;
  }

  .section-index {
    min-height: 40px;
    flex-direction: row;
    padding: 13px var(--pad);
    border-right: 0;
    border-bottom: 1px solid var(--line);
    writing-mode: initial;
    transform: none;
  }

  .section-index span:first-child {
    font-size: 10px;
  }

  .section-body {
    padding-top: 70px;
    padding-bottom: 80px;
  }

  .section-header,
  .section-header--split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    margin-bottom: 64px;
  }

  .section-header h2 {
    font-size: clamp(47px, 15.5vw, 90px);
  }

  .section-lead {
    font-size: 18px;
  }

  .identity-grid,
  .subtract-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }

  .identity-cell,
  .subtract-grid article,
  .access-grid article {
    min-height: auto;
    padding: 24px;
  }

  .identity-cell--statement {
    min-height: 420px;
  }

  .identity-cell--statement p {
    font-size: 34px;
  }

  .manifesto__line {
    grid-template-columns: 36px 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .manifesto__line p {
    font-size: 26px;
  }

  .eras {
    margin-top: 100px;
  }

  .eras__heading h3 {
    font-size: 48px;
  }

  .era h4 {
    font-size: 48px;
  }

  .subtractive-premise {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .subtractive-premise p {
    font-size: 34px;
  }

  .subtract-grid {
    margin-top: 48px;
  }

  .subtract-grid article {
    min-height: 440px;
  }

  .taxonomy__item {
    grid-template-columns: 34px 1fr;
    gap: 20px;
  }

  .taxonomy__item > p {
    grid-column: 2;
  }

  .final-rule {
    padding: 24px;
  }

  .final-rule p {
    margin-top: 36px;
    font-size: 34px;
  }

  .document-controls {
    display: grid;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .filter {
    min-width: 0;
    padding: 14px 7px;
    border-bottom: 1px solid var(--line);
  }

  .search-inline {
    justify-content: center;
    border-left: 0;
  }

  .document-row {
    grid-template-columns: 34px 1fr 28px;
    gap: 12px;
    min-height: 140px;
    padding: 18px 0;
  }

  .document-row__number {
    align-self: start;
    padding-top: 4px;
  }

  .document-row__type {
    position: absolute;
    margin-top: -20px;
    margin-left: 46px;
  }

  .document-row__main {
    grid-column: 2;
  }

  .document-row__main strong {
    padding-top: 16px;
    font-size: 23px;
  }

  .document-row__status {
    grid-column: 2;
    grid-row: 2;
  }

  .document-row__open {
    grid-column: 3;
    grid-row: 1 / 3;
  }

  .countdown {
    grid-template-columns: 1fr 1fr;
  }

  .countdown > div {
    min-height: 150px;
    padding: 18px;
  }

  .countdown strong {
    font-size: 62px;
  }

  .transmission-card {
    grid-template-columns: 1fr;
  }

  .calibration-large {
    grid-column: auto;
    width: 100%;
  }

  .live-acts {
    grid-template-columns: 1fr;
  }

  .live-acts__intro {
    grid-column: auto;
  }

  .live-acts > div {
    min-height: auto;
  }

  .act {
    min-height: 90px !important;
    flex-direction: row;
    align-items: center;
  }

  .act strong {
    writing-mode: initial;
    transform: none;
  }

  .access-statement {
    display: grid;
  }

  .access-statement p {
    font-size: 62px;
    line-height: 0.82;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer__meta {
    grid-column: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .footer__meta a {
    margin-left: 0;
  }

  .dossier,
  .index-search {
    width: 100vw;
    height: 100svh;
  }

  .dossier__frame,
  .index-search__frame {
    border: 0;
  }

  .dossier__content {
    padding: 34px 20px 70px;
  }

  .dossier__content h2 {
    font-size: 52px;
  }

  .dossier__relations,
  .dossier__credits {
    grid-template-columns: 1fr;
  }

  .dossier__relations code {
    grid-column: auto;
  }

  .index-search__frame > header {
    padding-left: 16px;
  }

  .index-search__frame header > div {
    display: grid;
    gap: 4px;
  }

  .search-result {
    grid-template-columns: 98px 1fr;
    padding: 15px 16px;
  }

  .search-result small {
    display: none;
  }
}

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

@media print {
  .topbar,
  .primary-nav,
  .scroll-meter,
  .signal-field,
  .hero__noise,
  .boot,
  .calibration-large,
  .document-controls {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero,
  .section--ruled,
  .footer {
    display: block;
    min-height: 0;
    color: #000;
    background: #fff;
    border-color: #bbb;
  }
}

/* Layout containment: grid children must be allowed to shrink below min-content width. */
.section-body,
.section-index,
.section-header,
.identity-grid,
.manifesto,
.eras,
.taxonomy,
.document-list,
.access-grid,
.subtract-grid,
.live-acts {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 760px) {
  .section-body,
  .section-index {
    width: 100%;
    max-width: 100vw;
  }
}

@media (max-width: 1050px) {
  .primary-nav {
    left: auto;
    right: 0;
    width: 78%;
    margin-left: 0;
    transform: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .primary-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 760px) {
  .section-header > *,
  .section-header--split > * {
    min-width: 0;
    max-width: 100%;
  }

  .section-header h2 {
    font-size: clamp(42px, 12vw, 68px);
  }
}

.hero h1 {
  letter-spacing: 0;
}

.hero h1 > span {
  display: inline-block;
}

.hero h1 > span:not(:last-child) {
  margin-right: -0.052em;
}

@media (max-width: 760px) {
  .hero h1 > span:not(:last-child) {
    margin-right: -0.04em;
  }
}

.dossier__media {
  margin: 0 0 54px;
  border: 1px solid var(--line);
  background: #070707;
}
.dossier__media img,
.dossier__media video {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #030303;
}
.dossier__media figcaption,
.dossier__media--player > span {
  display: block;
  padding: 13px 15px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 8px;
  letter-spacing: .09em;
}
.dossier__media--player audio {
  width: calc(100% - 30px);
  margin: 18px 15px;
}
.dossier__download {
  display: inline-flex;
  margin: 0 0 54px;
  padding: 15px 18px;
  border: 1px solid var(--signal);
  color: var(--signal);
  font-size: 9px;
  letter-spacing: .08em;
}
.dossier__download:hover { background: var(--signal-soft); }
