:root {
  --bg: #090b0a;
  --bg-raised: #0f1210;
  --panel: #131713;

  --text: #f0eadb;
  --text-soft: #c2bbab;
  --muted: #777c73;

  --gold: #d7b56d;
  --green: #9eb493;
  --signal: #d8ff9c;

  --line: rgba(240, 234, 219, 0.12);
  --line-strong: rgba(240, 234, 219, 0.24);

  --max: 1180px;

  --serif:
    "Iowan Old Style",
    "Palatino Linotype",
    Palatino,
    "Times New Roman",
    serif;

  --sans:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --mono:
    "SFMono-Regular",
    Consolas,
    "Liberation Mono",
    Menlo,
    monospace;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  z-index: 100;
  background-image:
    radial-gradient(circle at center, #fff 0.5px, transparent 0.6px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  min-height: 72px;
  padding: 0 5vw;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid var(--line);

  background: rgba(9, 11, 10, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand-mark {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-right: 0.35rem;
}

.brand-word {
  font-family: var(--serif);
  font-size: 1.65rem;
}

.nav {
  display: flex;
  gap: 1.7rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

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

.hero {
  width: min(var(--max), 90vw);
  min-height: calc(100vh - 72px);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 7vw;

  padding: 8rem 0;
}

.eyebrow,
.section-label {
  margin: 0 0 1.2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
}

.hero h1,
.section h2,
.semantic-boundary h2,
.acquisition h2 {
  font-family: var(--serif);
  font-weight: 400;
}

.hero h1 {
  margin: 0;
  max-width: 750px;

  font-size: clamp(4rem, 8vw, 7.8rem);
  line-height: 0.86;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
  color: var(--gold);
  font-style: italic;
}

.hero-statement {
  max-width: 650px;
  margin: 2.3rem 0 0;

  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.35;

  color: var(--text-soft);
}

.hero-support {
  max-width: 570px;
  margin: 1.3rem 0 0;

  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0 1.25rem;

  border: 1px solid var(--line-strong);

  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.05em;

  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #151208;
}

.button-primary:hover {
  background: #e3c985;
}

.button-secondary {
  color: var(--text-soft);
}

.button-secondary:hover {
  color: var(--text);
  border-color: var(--text-soft);
}

.settlement-instrument {
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,0.015),
      transparent
    );

  min-height: 560px;
  padding: 1.4rem;

  position: relative;
  overflow: hidden;
}

.settlement-instrument::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);

  background-size: 48px 48px;
  opacity: 0.22;
}

.instrument-header,
.flow,
.instrument-result {
  position: relative;
  z-index: 2;
}

.instrument-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;

  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.status i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--signal);
  box-shadow: 0 0 14px rgba(216,255,156,0.65);
}

.flow {
  margin: 4rem 0;
}

.flow-node {
  padding: 1rem 1rem 1rem 0;

  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 0 0.8rem;

  opacity: 0.45;
  transition:
    opacity 400ms ease,
    transform 400ms ease;
}

.flow-node.active {
  opacity: 1;
  transform: translateX(6px);
}

.flow-index {
  grid-row: span 2;

  font-family: var(--mono);
  font-size: 0.67rem;
  color: var(--gold);
}

.flow-node strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
}

.flow-node small {
  color: var(--muted);
  font-size: 0.75rem;
}

.flow-line {
  width: 1px;
  height: 26px;
  margin-left: 20px;
  background: var(--line-strong);
  overflow: hidden;
}

.flow-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--signal);
  transform: translateY(-100%);
}

.flow-line.active span {
  animation: travel 850ms ease forwards;
}

.flow-node.final strong {
  color: var(--signal);
}

.instrument-result {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.4rem;

  padding-top: 1rem;

  display: flex;
  justify-content: space-between;

  border-top: 1px solid var(--line);

  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.instrument-result strong {
  font-weight: 500;
  color: var(--signal);
}

.axiom {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  padding: 3rem 5vw;
}

.axiom p {
  width: min(var(--max), 90vw);
  margin: 0 auto;

  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.2;

  color: var(--text-soft);
}

.axiom strong {
  color: var(--text);
  font-weight: 400;
}

.section {
  width: min(var(--max), 90vw);
  margin: 0 auto;
  padding: 8rem 0;

  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 2rem;

  border-bottom: 1px solid var(--line);
}

.section-index {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--gold);
}

.section h2,
.semantic-boundary h2,
.acquisition h2 {
  margin: 0;
  max-width: 900px;

  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.thesis-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  margin-top: 4rem;
}

.lead {
  margin: 0;

  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.35;

  color: var(--text-soft);
}

.prose {
  max-width: 600px;
}

.prose p {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.prose .emphasis {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.dark-panel {
  position: relative;
}

.primitives {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.primitive {
  min-height: 105px;

  display: grid;
  grid-template-columns: 65px 220px 1fr;
  align-items: center;
  gap: 1rem;

  border-bottom: 1px solid var(--line);
}

.primitive > span {
  font-family: var(--mono);
  font-size: 0.67rem;
  color: var(--muted);
}

.primitive h3 {
  margin: 0;

  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
}

.primitive p {
  margin: 0;
  max-width: 520px;
  color: var(--muted);
}

.formula {
  margin-top: 4rem;
  padding: 2rem;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;

  border: 1px solid var(--line-strong);

  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;

  color: var(--text-soft);
}

.formula i {
  font-style: normal;
  color: var(--muted);
}

.formula strong {
  color: var(--signal);
  font-weight: 500;
}

.territory-list {
  margin-top: 4rem;
}

.territory-row {
  padding: 1.5rem 0;

  display: grid;
  grid-template-columns: 70px 250px 1fr;
  gap: 1rem;

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

.territory-row:last-child {
  border-bottom: 1px solid var(--line);
}

.territory-row span {
  font-family: var(--mono);
  font-size: 0.67rem;
  color: var(--gold);
}

.territory-row strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.2rem;
}

.territory-row p {
  margin: 0;
  max-width: 570px;
  color: var(--muted);
}

.semantic-boundary {
  width: min(var(--max), 90vw);
  margin: 0 auto;
  padding: 8rem 0;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;

  border-bottom: 1px solid var(--line);
}

.boundary-content {
  padding-top: 2rem;
}

.boundary-content p {
  color: var(--muted);
}

.boundary-content strong {
  display: block;
  margin-top: 2rem;

  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1.3;
}

.name-section {
  width: min(var(--max), 90vw);
  margin: 0 auto;
  padding: 9rem 0;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 7rem;
}

.name-lockup {
  display: flex;
  align-items: baseline;
  gap: 1rem;

  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 0.8;
}

.name-lockup span:first-child {
  color: var(--gold);
}

.name-lockup span:nth-child(2) {
  color: var(--muted);
  font-size: 0.25em;
}

.name-copy {
  max-width: 540px;
}

.name-copy p {
  color: var(--muted);
}

.name-copy strong {
  color: var(--text);
  font-weight: 500;
}

.name-conclusion {
  margin-top: 2rem !important;

  font-family: var(--serif);
  font-size: 1.55rem;

  color: var(--text-soft) !important;
}

.acquisition {
  padding: 10rem 5vw;
  text-align: center;

  border-top: 1px solid var(--line);

  background:
    radial-gradient(
      circle at center,
      rgba(215,181,109,0.07),
      transparent 45%
    );
}

.acquisition h2 {
  max-width: 820px;
  margin: 0 auto;
}

.acquisition > p:not(.section-label) {
  margin: 1.6rem auto 2.2rem;
  color: var(--muted);
}

.asset-signature {
  width: min(850px, 90vw);
  margin: 5rem auto 0;
  padding-top: 1rem;

  display: flex;
  justify-content: space-between;
  gap: 1rem;

  border-top: 1px solid var(--line);

  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

footer {
  min-height: 110px;
  padding: 2rem 5vw;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;

  border-top: 1px solid var(--line);

  color: var(--muted);
  font-size: 0.72rem;
}

.footer-brand {
  justify-self: start;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > span {
  justify-self: end;
}

@keyframes travel {
  to {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 7rem 0 5rem;
  }

  .settlement-instrument {
    min-height: 520px;
  }

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

  .section-index {
    margin-bottom: -0.5rem;
  }

  .thesis-grid,
  .semantic-boundary,
  .name-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .primitive,
  .territory-row {
    grid-template-columns: 50px 1fr;
  }

  .primitive p,
  .territory-row p {
    grid-column: 2;
  }

  .asset-signature {
    flex-direction: column;
    align-items: center;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand,
  footer > span {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 1.2rem;
  }

  .hero,
  .section,
  .semantic-boundary,
  .name-section {
    width: calc(100% - 2.4rem);
  }

  .hero h1 {
    font-size: clamp(3.5rem, 17vw, 5.3rem);
  }

  .settlement-instrument {
    padding: 1rem;
  }

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

  .territory-row {
    grid-template-columns: 38px 1fr;
  }

  .formula {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}