:root {
  color-scheme: dark;
  --bg: #0b0d0c;
  --bg-elevated: #111412;
  --bg-inset: #070908;
  --text: #f2f0e8;
  --muted: #9b9f98;
  --faint: #656a64;
  --line: rgba(242, 240, 232, 0.14);
  --line-strong: rgba(242, 240, 232, 0.28);
  --grid: rgba(242, 240, 232, 0.035);
  --accent: #f2f0e8;
  --accent-soft: rgba(242, 240, 232, 0.1);
  --green: #bec2bb;
  --yellow: #858a84;
  --blue: #d9dcd6;
  --shadow: 0 20px 80px rgba(0, 0, 0, 0.25);
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sohne: "Söhne", "Sohne", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 500ms ease, color 500ms ease;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

::selection {
  background: var(--accent);
  color: #0b0d0c;
}

.shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--accent);
  color: #0b0d0c;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-grid {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.scroll-progress {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(18px);
  transition: background-color 500ms ease, border-color 500ms ease;
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 11px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
}

.brand:focus-visible,
.map-node:focus-visible,
.map-filter:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.brand-name {
  font-family: var(--sohne);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.045em;
}

.brand-inline {
  color: var(--text);
  font-family: var(--sohne);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a,
.nav-contact {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

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

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line-strong);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 64px;
  min-height: 760px;
  padding-top: 158px;
  padding-bottom: 92px;
}

.eyebrow,
.section-index,
.console-label,
.console-note,
.timing-code {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.eyebrow,
.section-index,
.console-label {
  color: var(--accent);
}

.type-line::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.1em;
  margin-left: 6px;
  transform: translateY(2px);
  background: var(--accent);
  animation: cursor-blink 900ms steps(1) infinite;
}

@keyframes cursor-blink {
  50% { opacity: 0; }
}

.hero h1 {
  max-width: 850px;
  margin: 24px 0 28px;
  font-size: clamp(54px, 6.3vw, 88px);
  font-weight: 590;
  letter-spacing: -0.064em;
  line-height: 0.96;
}

.hero-deck {
  max-width: 710px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--text);
}

.button-primary:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

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

.button-secondary:hover {
  border-color: var(--text);
  background: var(--bg-elevated);
}

.system-card {
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.system-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}

.status-dot::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  content: "";
}

.system-list {
  margin: 0;
}

.system-list > div {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 16px;
  padding: 17px 15px;
  border-bottom: 1px solid var(--line);
}

.system-list dt,
.system-list dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.45;
}

.system-list dt {
  color: var(--faint);
  text-transform: uppercase;
}

.system-list dd {
  color: var(--text);
}

.system-signal {
  display: flex;
  height: 70px;
  align-items: end;
  gap: 7px;
  padding: 14px 15px;
}

.system-signal span {
  flex: 1;
  height: 50%;
  background: var(--accent);
  opacity: 0.5;
  animation: signal 2.6s ease-in-out infinite alternate;
}

.system-signal span:nth-child(2n) { height: 80%; animation-delay: -0.5s; }
.system-signal span:nth-child(3n) { height: 30%; animation-delay: -1.2s; }
.system-signal span:nth-child(5n) { height: 65%; animation-delay: -1.8s; }

@keyframes signal {
  0% { transform: scaleY(0.45); opacity: 0.28; }
  100% { transform: scaleY(1); opacity: 0.8; }
}

.manifesto-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0f1210;
  color: var(--text);
}

.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 38px;
  padding-bottom: 38px;
}

.manifesto-inner p {
  margin: 0;
  font-family: var(--mono);
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 750;
  line-height: 1.25;
}

.manifesto-inner p:last-child {
  padding-left: 48px;
  border-left: 1px solid var(--line-strong);
}

.section {
  padding-top: 108px;
  padding-bottom: 108px;
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr);
  gap: 44px;
  margin-bottom: 54px;
}

.section-heading h2 {
  max-width: 820px;
  margin: -9px 0 18px;
  font-size: clamp(39px, 4.4vw, 64px);
  font-weight: 590;
  letter-spacing: -0.052em;
  line-height: 1;
}

.section-heading > div > p {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.map-console {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-inset);
  box-shadow: var(--shadow);
}

.map-toolbar {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.map-toolbar > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.console-note {
  color: var(--faint);
  font-size: 9px;
}

.map-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.map-filter {
  padding: 6px 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.map-filter:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.map-filter.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #0b0d0c;
}

.world-map {
  position: relative;
  aspect-ratio: 1200 / 610;
  min-height: 390px;
  overflow: hidden;
}

.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-grid-fill {
  fill: var(--bg-inset);
}

.grid-line,
.latitudes path {
  fill: none;
  stroke: var(--line);
  stroke-width: 0.65;
}

.latitudes path {
  stroke-dasharray: 4 10;
  opacity: 0.55;
}

.land path {
  fill: var(--bg-elevated);
  stroke: var(--line-strong);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
  transition: fill 500ms ease, stroke 500ms ease;
}

.supply-route {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-dasharray: 7 9;
  vector-effect: non-scaling-stroke;
  opacity: 0.68;
  animation: route-flow 9s linear infinite;
  transition: opacity 220ms ease;
}

.supply-route:nth-child(2n) {
  stroke: var(--yellow);
  animation-duration: 12s;
}

.supply-route:nth-child(3n) {
  stroke: var(--blue);
  animation-duration: 15s;
}

.supply-route.long-route {
  opacity: 0.35;
}

.supply-route.is-dimmed {
  opacity: 0.04;
}

@keyframes route-flow {
  to { stroke-dashoffset: -160; }
}

.map-node {
  position: absolute;
  z-index: 5;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  transform: translate(-7px, -7px);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: opacity 220ms ease, color 180ms ease, transform 180ms ease;
}

.map-node span {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--bg-inset);
  border-radius: 50%;
  background: var(--node-color, var(--accent));
  box-shadow: 0 0 0 1px var(--node-color, var(--accent)), 0 0 16px var(--node-color, var(--accent));
}

.map-node span::after {
  position: absolute;
  inset: -6px;
  border: 1px solid var(--node-color, var(--accent));
  border-radius: 50%;
  content: "";
  opacity: 0;
  animation: node-pulse 2.4s ease-out infinite;
}

.map-node b {
  padding: 3px 5px;
  background: color-mix(in srgb, var(--bg-inset) 90%, transparent);
  font-weight: 700;
  white-space: nowrap;
}

.node-feedstock { --node-color: var(--accent); }
.node-conversion { --node-color: var(--yellow); }
.node-route { --node-color: var(--blue); }
.node-demand { --node-color: var(--green); }

.map-node:hover,
.map-node.is-selected {
  z-index: 8;
  transform: translate(-7px, -7px) scale(1.08);
  color: var(--text);
}

.map-node.is-selected b {
  color: var(--bg-inset);
  background: var(--node-color);
}

.map-node.is-dimmed {
  pointer-events: none;
  opacity: 0.08;
}

@keyframes node-pulse {
  0% { opacity: 0.75; transform: scale(0.5); }
  75%, 100% { opacity: 0; transform: scale(1.4); }
}

.map-readout {
  display: grid;
  grid-template-columns: 0.55fr 1.6fr auto;
  align-items: start;
  gap: 34px;
  min-height: 130px;
  padding: 24px;
  border-top: 1px solid var(--line);
  background: var(--bg-elevated);
}

.readout-code {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.map-readout h3 {
  margin: -4px 0 5px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
}

.map-readout p {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.map-readout a {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.dependency-chain {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.dependency-chain > div {
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
}

.dependency-chain span,
.dependency-chain strong,
.dependency-chain small {
  display: block;
}

.dependency-chain span {
  margin-bottom: 17px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
}

.dependency-chain strong {
  font-family: var(--mono);
  font-size: 13px;
}

.dependency-chain small {
  margin-top: 5px;
  color: var(--faint);
  font-size: 11px;
}

.dependency-chain i {
  color: var(--faint);
  font-family: var(--mono);
  font-style: normal;
}

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

.problem-card {
  min-height: 290px;
  padding: 24px 20px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--bg-elevated) 48%, transparent);
}

.card-number {
  display: block;
  margin-bottom: 80px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
}

.problem-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.problem-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.problem-card-accent {
  background: var(--accent);
  color: #0b0d0c;
}

.problem-card-accent .card-number,
.problem-card-accent p {
  color: rgba(11, 13, 12, 0.7);
}

.solution-section,
.timing-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.control-loop {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 48px 0 36px;
}

.loop-line {
  position: absolute;
  z-index: 0;
  top: 10px;
  left: 0;
  width: 100%;
  height: calc(100% - 10px);
}

.loop-line path {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}

.loop-line .loop-return {
  stroke: var(--accent);
  opacity: 0.7;
}

.control-loop article {
  position: relative;
  z-index: 1;
  min-height: 205px;
  padding: 20px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}

.control-loop article > span {
  display: grid;
  width: 32px;
  height: 32px;
  margin-bottom: 64px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0d0c;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
}

.control-loop h3 {
  margin: 0 0 7px;
  font-family: var(--mono);
  font-size: 17px;
}

.control-loop p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.solution-statement {
  max-width: 880px;
  margin: 42px 0 0 auto;
  padding-left: 28px;
  border-left: 3px solid var(--accent);
  font-size: clamp(24px, 3vw, 39px);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.scale-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line-strong);
}

.scale-panel {
  padding: 22px;
  background: var(--bg-elevated);
}

.scale-panel + .scale-panel {
  border-left: 1px solid var(--line-strong);
}

.scale-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
}

.scale-label span {
  color: var(--faint);
  font-size: 9px;
}

.scale-label strong {
  font-size: 13px;
}

.plant-diagram,
.cell-network {
  position: relative;
  height: 245px;
  margin: 22px 0;
  border: 1px solid var(--line);
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 16px 16px;
}

.plant-core {
  position: absolute;
  top: 73px;
  left: calc(50% - 65px);
  width: 130px;
  height: 115px;
  border: 2px solid var(--faint);
  border-radius: 60px 60px 12px 12px;
  background: var(--bg);
}

.plant-pipe {
  position: absolute;
  top: 136px;
  width: 70px;
  height: 2px;
  background: var(--faint);
}

.plant-pipe.p1 { left: calc(50% - 135px); }
.plant-pipe.p2 { right: calc(50% - 135px); }

.plant-stack {
  position: absolute;
  bottom: 56px;
  width: 22px;
  border: 2px solid var(--faint);
  border-bottom: 0;
}

.plant-stack.s1 { left: calc(50% - 105px); height: 105px; }
.plant-stack.s2 { right: calc(50% - 112px); height: 78px; }

.cell-network span {
  position: absolute;
  z-index: 2;
  width: 50px;
  height: 50px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 30px var(--accent-soft);
}

.cell-network span::before,
.cell-network span::after {
  position: absolute;
  background: var(--accent);
  content: "";
  opacity: 0.6;
}

.cell-network span::before { top: 10px; bottom: 10px; left: 23px; width: 1px; }
.cell-network span::after { top: 23px; right: 10px; left: 10px; height: 1px; }
.cell-network span:nth-child(1) { top: 38px; left: 12%; }
.cell-network span:nth-child(2) { top: 38px; left: 44%; }
.cell-network span:nth-child(3) { top: 38px; right: 12%; }
.cell-network span:nth-child(4) { bottom: 38px; left: 27%; }
.cell-network span:nth-child(5) { bottom: 38px; right: 27%; }
.cell-network span:nth-child(6) { top: calc(50% - 25px); left: calc(50% - 25px); border-color: var(--green); }

.cell-network i {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 34%;
  height: 1px;
  transform-origin: left center;
  background: var(--line-strong);
}

.cell-network i:nth-of-type(1) { transform: rotate(-147deg); }
.cell-network i:nth-of-type(2) { transform: rotate(-90deg); width: 22%; }
.cell-network i:nth-of-type(3) { transform: rotate(-33deg); }
.cell-network i:nth-of-type(4) { transform: rotate(147deg); width: 27%; }
.cell-network i:nth-of-type(5) { transform: rotate(33deg); width: 27%; }

.scale-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scale-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
}

.scale-panel li::before {
  width: 5px;
  height: 5px;
  background: var(--faint);
  content: "";
}

.new-scale li::before {
  background: var(--accent);
}

.scale-directions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scale-directions article {
  padding: 26px 0;
}

.scale-directions article + article {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.scale-directions span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.scale-directions h3 {
  margin: 22px 0 7px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.scale-directions p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.timing-grid article {
  min-height: 270px;
  padding: 24px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.timing-code {
  display: block;
  margin-bottom: 64px;
  color: var(--accent);
}

.timing-grid h3 {
  margin: 0 0 9px;
  font-size: 23px;
  letter-spacing: -0.03em;
}

.timing-grid p {
  max-width: 460px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.timing-grid a {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 9px;
  text-decoration: none;
  text-transform: uppercase;
}

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

.contact-section {
  border-top: 1px solid var(--line);
  background: #080a09;
  color: #f2f0e8;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  padding-top: 92px;
  padding-bottom: 92px;
}

.contact-section .section-index {
  color: #888d87;
}

.contact-inner h2 {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(43px, 5.6vw, 75px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.contact-copy {
  align-self: end;
}

.contact-copy > p {
  max-width: 500px;
  margin: 0 0 28px;
  font-size: 16px;
}

.contact-email {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(242, 240, 232, 0.28);
  border-bottom: 1px solid rgba(242, 240, 232, 0.28);
  font-family: var(--mono);
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 750;
  text-decoration: none;
}

.contact-email b {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(242, 240, 232, 0.28);
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-email:hover b {
  transform: translate(2px, -2px);
  background: rgba(242, 240, 232, 0.1);
}

.site-footer {
  background: #080a09;
  color: #eeeae0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer-brand > span {
  font-family: var(--sohne);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.footer-brand p {
  margin: 10px 0 0;
  color: #777c76;
  font-size: 13px;
}

.source-list {
  display: grid;
  gap: 8px;
}

.source-list p {
  margin: 0 0 10px;
  color: #777c76;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.source-list a {
  width: fit-content;
  color: #989c96;
  font-family: var(--mono);
  font-size: 10px;
  text-decoration: none;
}

.source-list a:hover {
  color: #eeeae0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid rgba(238, 234, 224, 0.12);
  color: #686d67;
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.error-page main {
  width: min(680px, 100%);
  padding: 44px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elevated);
}

.error-page h1 {
  margin: 22px 0 32px;
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: -0.055em;
  line-height: 1;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 50px;
    min-height: auto;
    padding-top: 160px;
  }

  .hero-copy {
    max-width: 860px;
  }

  .system-card {
    width: min(540px, 100%);
  }

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

  .map-readout {
    grid-template-columns: 0.55fr 1.45fr;
  }

  .map-readout a {
    grid-column: 2;
  }

  .world-map {
    min-height: 420px;
  }

  .control-loop {
    grid-template-columns: 1fr 1fr;
  }

  .loop-line {
    display: none;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 30px, 1180px);
  }

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

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 130px;
    padding-bottom: 68px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 70px);
  }

  .manifesto-inner,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .manifesto-inner {
    gap: 24px;
  }

  .manifesto-inner p:last-child {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .section {
    padding-top: 78px;
    padding-bottom: 78px;
  }

  .section-heading {
    gap: 25px;
    margin-bottom: 38px;
  }

  .map-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .map-filters {
    justify-content: flex-start;
  }

  .world-map {
    min-height: 300px;
  }

  .map-node {
    transform: translate(-6px, -6px);
  }

  .map-node b {
    font-size: 7px;
  }

  .map-readout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .map-readout a {
    grid-column: 1;
  }

  .dependency-chain {
    grid-template-columns: 1fr;
  }

  .dependency-chain i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .problem-grid,
  .control-loop,
  .scale-comparison,
  .scale-directions,
  .timing-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: 230px;
  }

  .card-number,
  .timing-code {
    margin-bottom: 50px;
  }

  .scale-panel + .scale-panel,
  .scale-directions article + article {
    padding-left: 22px;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .contact-inner {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 16px;
  }

  .nav-contact {
    font-size: 9px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .system-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .world-map {
    min-height: 250px;
  }

  .map-node b {
    display: none;
  }

  .control-loop {
    grid-template-columns: 1fr;
  }

  .contact-email span {
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
