:root {
  --black: #050505;
  --ink: #101010;
  --white: #f4f4f0;
  --paper: #e8e8e3;
  --gray: #777873;
  --line-dark: rgba(244, 244, 240, .22);
  --line-light: rgba(5, 5, 5, .28);
  --sans: Arial, Helvetica, sans-serif;
  --narrow: "Arial Narrow", "Roboto Condensed", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  overflow-x: hidden;
}

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

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .055;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.topbar {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 32px;
  padding: 0 3vw;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(5, 5, 5, .94);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.wordmark {
  font-family: var(--narrow);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: -.08em;
}

.wordmark span {
  font-size: .45em;
  vertical-align: top;
  margin-left: .3em;
  letter-spacing: 0;
}

.topbar nav { display: flex; gap: 28px; }
.topbar nav a, .status {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topbar nav a { border-bottom: 1px solid transparent; padding: 5px 0; }
.topbar nav a:hover, .topbar nav a:focus-visible { border-color: currentColor; }

.status { justify-self: end; color: #c9c9c4; }
.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--white);
  display: inline-block;
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(244,244,240,.09);
}

.menu-toggle {
  width: 74px;
  height: 38px;
  display: grid;
  grid-template-columns: 1fr 18px;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: 8px;
  border: 1px solid var(--line-dark);
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle span { grid-row: 1 / 3; font: 700 .63rem var(--narrow); letter-spacing: .08em; }
.menu-toggle i { display: block; height: 1px; background: currentColor; width: 100%; }
.menu-toggle:hover, .menu-toggle:focus-visible { color: var(--black); background: var(--white); }

.menu-panel {
  position: fixed;
  inset: 72px 0 0;
  z-index: 9;
  display: grid;
  grid-template-columns: 12% 1fr;
  grid-template-rows: 1fr auto;
  color: var(--black);
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-18px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.menu-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
body.menu-open { overflow: hidden; }
.menu-rail {
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 2vw;
  border-right: 1px solid var(--line-light);
  color: #656560;
  font: 700 .67rem var(--narrow);
  letter-spacing: .12em;
}
.menu-rail span:first-child { writing-mode: vertical-rl; }
.menu-panel nav { display: grid; grid-template-rows: repeat(4, 1fr); }
.menu-panel nav a {
  display: grid;
  grid-template-columns: 8% 1fr;
  align-items: center;
  padding: 0 4vw;
  border-bottom: 1px solid var(--line-light);
}
.menu-panel nav a:hover, .menu-panel nav a:focus-visible { color: var(--white); background: var(--black); }
.menu-panel nav small { font: 700 .7rem var(--narrow); }
.menu-panel nav strong { font: 900 clamp(2.7rem, 7vw, 7rem)/.9 var(--narrow); letter-spacing: -.075em; }
.menu-foot {
  display: flex;
  justify-content: space-between;
  padding: 20px 4vw;
  background: #d0d0cb;
  font: 700 .68rem var(--narrow);
  letter-spacing: .1em;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 12% 64% 24%;
  grid-template-rows: 1fr auto;
  border-bottom: 1px solid var(--line-dark);
}

.hero-code {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3vw 2vw;
  border-right: 1px solid var(--line-dark);
  color: #8a8a86;
  font: 700 .72rem/1.1 var(--narrow);
  letter-spacing: .08em;
}

.hero-title-wrap {
  align-self: center;
  padding: 6vw 3vw 5vw;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 2.4rem;
  color: #9a9a96;
  font: 700 .75rem/1.2 var(--narrow);
  letter-spacing: .16em;
}

h1 {
  margin: 0;
  font: 900 clamp(6rem, 17vw, 18rem)/.69 var(--narrow);
  letter-spacing: -.105em;
  text-transform: uppercase;
}

h1 span { display: block; }
h1 span:last-child { margin-left: .34em; color: #cdcdc8; }

.hero-note {
  position: relative;
  background: var(--white);
  color: var(--black);
  display: flex;
  align-items: end;
  padding: 3vw;
  overflow: hidden;
}

.hero-note::before {
  content: "";
  position: absolute;
  width: 65%;
  aspect-ratio: 1;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  top: 9%;
  right: -25%;
}

.hero-note p {
  margin: 0;
  font: 900 clamp(1.8rem, 2.6vw, 3.5rem)/.9 var(--narrow);
  letter-spacing: -.06em;
}

.vertical {
  position: absolute;
  top: 3vw;
  left: 3vw;
  writing-mode: vertical-rl;
  font: 700 .7rem var(--narrow);
  letter-spacing: .12em;
}

.hero-band {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #1a1a1a;
  border-top: 1px solid var(--line-dark);
}

.hero-band > div { padding: 18px 3vw; border-right: 1px solid var(--line-dark); }
.hero-band > div:last-child { border-right: 0; }
.hero-band small, .hero-band strong { display: block; }
.hero-band small { color: #8b8b87; font: 700 .69rem var(--narrow); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 7px; }
.hero-band strong { font: 800 .92rem var(--narrow); letter-spacing: .04em; }

.manifest {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 12% 52% 36%;
  border-bottom: 1px solid var(--line-dark);
}

.section-index {
  padding: 42px 2vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-dark);
  color: #92928d;
  font: 700 .72rem var(--narrow);
  letter-spacing: .12em;
}

.section-index span:last-child { writing-mode: vertical-rl; }

.manifest-copy {
  padding: 8vw 4vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.manifest h2, .structure h2, .signal h2 {
  margin: 0;
  font: 900 clamp(3.7rem, 8vw, 9rem)/.83 var(--narrow);
  letter-spacing: -.08em;
}

.manifest h2 em { font-style: normal; color: #777873; }

.manifest-copy > p {
  max-width: 560px;
  margin: 5rem 0 0;
  color: #b8b8b3;
  font: 700 clamp(1.1rem, 1.6vw, 1.5rem)/1.35 var(--narrow);
  letter-spacing: -.02em;
}

.rules {
  background: var(--white);
  color: var(--black);
  display: grid;
  grid-template-rows: repeat(3, 1fr);
}

.rules div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 28px;
  padding: 3vw;
  border-bottom: 1px solid var(--line-light);
}

.rules div:last-child { border-bottom: 0; }
.rules b { font: 400 .75rem var(--narrow); }
.rules span { font: 900 clamp(1.45rem, 2.3vw, 3rem)/.92 var(--narrow); letter-spacing: -.045em; }

.structure {
  background: var(--paper);
  color: var(--black);
  min-height: 100vh;
  display: grid;
  grid-template-columns: 12% 35% 53%;
  border-bottom: 1px solid var(--line-light);
}

.section-index.light { color: #60605c; border-color: var(--line-light); }
.structure-head { padding: 8vw 3vw; border-right: 1px solid var(--line-light); }
.structure-head p { max-width: 300px; margin: 4rem 0 0; font: 700 1rem/1.4 var(--narrow); }

.module-table { display: flex; flex-direction: column; justify-content: flex-end; }
.module-row {
  min-height: 128px;
  display: grid;
  grid-template-columns: 12% 38% 34% 16%;
  align-items: center;
  padding: 0 2.5vw;
  border-top: 1px solid var(--line-light);
  font: 700 .76rem var(--narrow);
  letter-spacing: .07em;
}

.module-row strong { font: 900 clamp(1.4rem, 2.5vw, 3.2rem) var(--narrow); letter-spacing: -.04em; }
.module-head { min-height: 48px; color: #5c5c58; font-size: .66rem; }

.signal {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 48% 39% 13%;
  position: relative;
}

.signal-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: #6f706c;
  font: 900 clamp(8rem, 22vw, 24rem)/1 var(--narrow);
  letter-spacing: -.16em;
  overflow: hidden;
}

.signal-mark span { color: var(--black); font-weight: 400; }
.signal-copy { padding: 8vw 4vw; }
.signal-copy > p:last-child { max-width: 390px; color: #a1a19c; font-weight: 700; line-height: 1.5; margin-top: 4rem; }

.signal-meta {
  border-left: 1px solid var(--line-dark);
  padding: 3vw 2vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #81817d;
  font: 700 .65rem var(--narrow);
  letter-spacing: .12em;
}

footer {
  min-height: 180px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  align-items: end;
  gap: 28px;
  padding: 42px 3vw;
  color: var(--black);
  background: var(--white);
}

footer p { margin: 0; font: 700 .7rem/1.5 var(--narrow); letter-spacing: .1em; }
footer button {
  border: 1px solid var(--black);
  color: var(--black);
  background: transparent;
  min-height: 44px;
  padding: 0 20px;
  font: 800 .7rem var(--narrow);
  letter-spacing: .1em;
  cursor: pointer;
}
footer button:hover, footer button:focus-visible { background: var(--black); color: var(--white); }

@media (max-width: 860px) {
  .topbar { grid-template-columns: 1fr auto auto; min-height: 64px; }
  .topbar nav { display: none; }
  .menu-panel { inset: 64px 0 0; }
  .hero { min-height: calc(100svh - 64px); grid-template-columns: 10% 60% 30%; }
  .hero-code { padding: 24px 10px; }
  .hero-code span { writing-mode: vertical-rl; }
  .hero-title-wrap { padding: 72px 3vw; }
  h1 { font-size: clamp(5rem, 21vw, 10rem); }
  .hero-note { padding: 22px; }
  .vertical { top: 22px; left: 18px; }
  .hero-band { grid-template-columns: 1fr; }
  .hero-band > div { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .hero-band > div:last-child { border-bottom: 0; }
  .manifest { grid-template-columns: 10% 90%; }
  .manifest-copy { min-height: 75vh; padding: 72px 7vw; }
  .rules { grid-column: 1 / -1; }
  .rules div { min-height: 150px; padding: 28px 7vw; }
  .structure { grid-template-columns: 10% 90%; }
  .structure-head { min-height: 60vh; padding: 72px 7vw; border-right: 0; }
  .module-table { grid-column: 1 / -1; }
  .module-row { grid-template-columns: 15% 43% 32% 10%; padding: 0 4vw; }
  .signal { grid-template-columns: 100%; }
  .signal-mark { min-height: 52vh; }
  .signal-copy { padding: 72px 7vw; }
  .signal-meta { min-height: 80px; border-left: 0; border-top: 1px solid var(--line-dark); flex-direction: row; padding: 28px 7vw; }
  footer { grid-template-columns: 1fr 1fr; }
  footer button { justify-self: end; }
}

@media (max-width: 520px) {
  .status { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .menu-panel { inset: 64px 0 0; grid-template-columns: 13% 87%; }
  .menu-panel nav a { grid-template-columns: 16% 1fr; padding: 0 5vw; }
  .menu-panel nav strong { font-size: clamp(2.2rem, 12vw, 4rem); }
  .menu-foot { grid-column: 2; flex-direction: column; gap: 8px; }
  .hero {
    grid-template-columns: 13.5% 86.5%;
    grid-template-rows: 430px 300px auto;
    min-height: auto;
  }
  .hero-title-wrap {
    align-self: start;
    padding: 47px 0 0 10.5vw;
    overflow: hidden;
  }
  .hero-title-wrap .eyebrow { display: none; }
  .hero-title-wrap h1 {
    display: flex;
    width: max-content;
    font-size: clamp(6.5rem, 29vw, 9.7rem);
    line-height: .8;
    letter-spacing: -.105em;
  }
  .hero-title-wrap h1 span { display: inline; }
  .hero-title-wrap h1 span:last-child {
    margin-left: 0;
    color: #cdcdc8;
  }
  .hero-note {
    grid-column: 1 / -1;
    min-height: 300px;
    padding: 0;
  }
  .hero-note::before,
  .hero-note > * { display: none; }
  .hero-code {
    grid-row: 1;
    padding: 0 9px 36px;
    justify-content: flex-start;
    gap: 9px;
    font-size: .69rem;
    letter-spacing: .06em;
  }
  .hero-code span { writing-mode: vertical-rl; }
  .hero-code span:last-child {
    writing-mode: horizontal-tb;
    margin-top: auto;
    align-self: center;
  }
  .hero-band { grid-row: 3; }
  .hero-band > div { min-height: 164px; padding: 50px 3.6vw 22px; }
  .hero-band > div:not(:first-child) { display: none; }
  .hero-band small { font-size: .67rem; margin-bottom: 11px; }
  .hero-band strong { font-size: 1.12rem; }
  .manifest, .structure { grid-template-columns: 13% 87%; }
  .section-index { padding: 28px 12px; }
  .manifest h2, .structure h2, .signal h2 { font-size: clamp(3rem, 16vw, 5.2rem); }
  .module-row { min-height: 100px; grid-template-columns: 18% 47% 35%; }
  .module-row span:last-child { display: none; }
  .module-head span:last-child { display: none; }
  footer { grid-template-columns: 1fr; align-items: start; }
  footer button { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu-panel { transition: none; }
}
