:root {
  color-scheme: light;
  --paper: #ffffff;
  --plot: #f5f8fb;
  --mist: #e8eef2;
  --navy: #10233a;
  --navy-soft: #536477;
  --cobalt: #135fbd;
  --cobalt-dark: #0b4895;
  --rust: #b8442e;
  --yellow: #e2a900;
  --rule: #cbd5df;
  --rule-strong: #8798aa;
  --focus: #f0b400;
  --shell: 1440px;
  --gutter: clamp(24px, 4vw, 64px);
  --display: Arial, Helvetica, sans-serif;
  --mono: Consolas, 'Cascadia Mono', 'SFMono-Regular', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.site-shell {
  width: min(var(--shell), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy);
  transform: translateY(-160%);
  transition: transform 150ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.site-header {
  position: relative;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--navy);
  font-size: 0.91rem;
  font-weight: 800;
  letter-spacing: 0.29em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 52px);
}

.site-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-size: 0.98rem;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.site-nav .nav-source {
  color: var(--cobalt);
}

.menu-toggle {
  min-width: 52px;
  min-height: 44px;
  display: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
}

.hero {
  border-bottom: 1px solid var(--rule);
  padding: clamp(58px, 7vw, 108px) 0 clamp(64px, 7vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(420px, 0.85fr) minmax(620px, 1.15fr);
  gap: clamp(38px, 5vw, 86px);
  align-items: start;
}

.hero-copy {
  align-self: center;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(4.2rem, 5.25vw, 6.6rem);
  font-weight: 760;
  letter-spacing: -0.062em;
  line-height: 0.93;
}

.hero h1 span,
.section-heading h2 span,
.boundary-heading h2 span,
.about h2 span,
.closing h2 span {
  color: var(--cobalt);
}

.hero-lead {
  max-width: 30ch;
  margin-top: 30px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.7;
}

.hero-detail {
  max-width: 48ch;
  margin-top: 20px;
  color: var(--navy-soft);
  font-size: 1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border: 1px solid var(--cobalt);
  border-radius: 2px;
  padding: 12px 20px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

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

.button-primary {
  color: var(--paper);
  background: var(--cobalt);
}

.button-primary:hover {
  background: var(--cobalt-dark);
}

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

.button-secondary:hover {
  color: var(--paper);
  background: var(--cobalt);
}

.active-readout {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.active-readout strong {
  color: var(--cobalt);
  font-weight: 500;
}

.active-dot {
  width: 15px;
  height: 15px;
  display: inline-grid;
  border: 1.5px solid var(--cobalt);
  border-radius: 50%;
  place-items: center;
}

.active-dot::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cobalt);
  content: '';
}

.mission-map {
  min-width: 0;
  margin-top: -6px;
  border: 1px solid var(--rule-strong);
  background: var(--plot);
}

.map-heading {
  min-height: 74px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--rule);
  padding: 18px 20px;
  font-family: var(--mono);
  text-transform: uppercase;
}

.map-heading span {
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.map-heading small {
  color: var(--navy-soft);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-align: right;
}

.map-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  background: var(--plot);
}

.plot {
  min-width: 0;
  border-right: 1px dashed var(--rule);
}

.plot svg {
  width: 100%;
  height: auto;
}

.grid-line {
  fill: none;
  stroke: #dce5ed;
  stroke-width: 0.55;
}

.grid-line-major {
  fill: none;
  stroke: #c8d5e1;
  stroke-width: 0.75;
}

.axis,
.ticks {
  fill: none;
  stroke: var(--navy);
  stroke-width: 0.8;
}

.route {
  fill: none;
  stroke: var(--cobalt);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  transition: stroke-width 160ms ease;
}

.route-in,
.route-out {
  stroke: var(--rust);
  stroke-dasharray: 6 8;
}

.route-return {
  stroke-dasharray: 8 7;
}

.arrow-head {
  fill: var(--cobalt);
}

.map-node circle {
  fill: var(--plot);
  stroke: var(--navy);
  stroke-width: 1.6;
  transition:
    fill 160ms ease,
    stroke 160ms ease,
    stroke-width 160ms ease;
}

.map-node text {
  fill: var(--navy);
  font-family: var(--mono);
  font-size: 16px;
  text-anchor: middle;
}

.mission-map[data-active-step='1'] [data-node-marker='1'] circle,
.mission-map[data-active-step='2'] [data-node-marker='2'] circle,
.mission-map[data-active-step='3'] [data-node-marker='3'] circle,
.mission-map[data-active-step='4'] [data-node-marker='4'] circle,
.mission-map[data-active-step='5'] [data-node-marker='5'] circle {
  fill: var(--paper);
  stroke: var(--cobalt);
  stroke-width: 4;
}

.plot-label text,
.axis-label {
  fill: var(--cobalt-dark);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.plot-label .plot-note {
  fill: var(--navy-soft);
  font-size: 10px;
  font-weight: 400;
}

.recheck-label text {
  fill: var(--cobalt);
}

.checkpoint-panel {
  align-self: start;
  margin: 18px 16px 0 0;
  border: 1px solid var(--rule-strong);
  background: rgba(255, 255, 255, 0.84);
  padding: 13px 12px;
  font-family: var(--mono);
}

.checkpoint-panel > p {
  margin-bottom: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.checkpoint-panel ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkpoint-panel button {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 3px 2px;
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.69rem;
  text-align: left;
}

.checkpoint-panel button span {
  width: 20px;
  height: 20px;
  display: inline-grid;
  border: 1px solid var(--navy);
  border-radius: 50%;
  place-items: center;
  font-size: 0.64rem;
}

.checkpoint-panel button[aria-current='step'] {
  color: var(--cobalt);
  font-weight: 700;
}

.checkpoint-panel button[aria-current='step'] span {
  border-width: 2px;
  border-color: var(--cobalt);
}

.map-footer {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(190px, 0.44fr) 1fr;
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding: 15px 20px;
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.5;
}

.map-footer > span {
  color: var(--navy-soft);
  text-transform: uppercase;
}

.map-footer output {
  color: var(--cobalt-dark);
}

.mobile-route {
  display: none;
}

.layers,
.boundary,
.research,
.about {
  padding: clamp(82px, 9vw, 144px) 0;
}

.section-heading {
  max-width: 860px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(46px, 6vw, 78px);
}

.section-heading-wide {
  max-width: none;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.55fr);
}

.section-heading h2,
.boundary-heading h2,
.about h2,
.closing h2 {
  font-size: clamp(2.8rem, 5vw, 5.25rem);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading p {
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.83rem;
  line-height: 1.7;
}

.layer-list {
  border-top: 1px solid var(--rule-strong);
}

.layer-row {
  min-height: 184px;
  display: grid;
  grid-template-columns: 58px 68px minmax(0, 1fr) auto;
  gap: clamp(20px, 3vw, 46px);
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}

.layer-number {
  align-self: start;
  padding-top: 6px;
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.76rem;
}

.layer-icon {
  width: 60px;
  height: 60px;
  display: grid;
  border: 1.5px solid var(--cobalt);
  border-radius: 4px;
  color: var(--cobalt);
  font-family: var(--mono);
  font-size: 1.25rem;
  place-items: center;
}

.layer-icon-svg {
  fill: none;
  padding: 9px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.layer-copy h3 {
  margin-bottom: 9px;
  color: var(--cobalt-dark);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: -0.025em;
}

.layer-copy p {
  max-width: 67ch;
  color: var(--navy-soft);
}

.text-link,
.text-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 5px 0;
  color: var(--cobalt);
  background: transparent;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.text-button:hover {
  color: var(--cobalt-dark);
}

.evidence {
  border-block: 1px solid var(--rule);
  padding: clamp(80px, 8vw, 126px) 0;
  background: var(--plot);
}

.evidence-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--rule-strong);
}

.evidence-rail > div {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--rule);
  padding: 30px 22px;
  text-align: center;
}

.evidence-rail > div:last-child {
  border-right: 0;
}

.evidence-rail > div::after {
  position: absolute;
  bottom: -8px;
  width: 1px;
  height: 15px;
  background: var(--navy);
  content: '';
}

.evidence-rail dt {
  font-size: clamp(3.2rem, 5vw, 5.35rem);
  font-weight: 720;
  letter-spacing: -0.05em;
  line-height: 1;
}

.evidence-rail dd {
  margin-top: 15px;
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.evidence-notes {
  min-height: 88px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-top: 30px;
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.evidence-notes > div {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.boundary-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.boundary-heading h2 {
  max-width: 18ch;
}

.boundary-canvas {
  position: relative;
  border: 1px solid var(--rule-strong);
  padding: 58px clamp(26px, 4vw, 60px) 34px;
  background-color: var(--plot);
  background-image:
    linear-gradient(rgba(203, 213, 223, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 213, 223, 0.35) 1px, transparent 1px);
  background-size: 24px 24px;
}

.boundary-canvas::before,
.boundary-canvas::after {
  position: absolute;
  width: 15px;
  height: 15px;
  border-color: var(--navy);
  content: '';
}

.boundary-canvas::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.boundary-canvas::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.boundary-route {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-route::before {
  position: absolute;
  z-index: 0;
  top: 25px;
  right: 9%;
  left: 9%;
  height: 2px;
  background: var(--cobalt);
  content: '';
}

.boundary-route li {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.boundary-route li:not(:last-child)::after {
  position: absolute;
  top: 21px;
  right: -14px;
  color: var(--cobalt);
  content: '→';
  font-family: var(--mono);
}

.boundary-route button {
  width: 100%;
  display: grid;
  justify-items: start;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.boundary-route button > span {
  width: 50px;
  height: 50px;
  display: grid;
  border: 2px solid var(--navy);
  border-radius: 50%;
  background: var(--plot);
  font-family: var(--mono);
  place-items: center;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.boundary-route button strong {
  margin-top: 20px;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 0.83rem;
}

.boundary-route button small {
  max-width: 20ch;
  margin-top: 8px;
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.45;
}

.boundary-route button[aria-current='step'] > span {
  border-color: var(--cobalt);
  color: var(--cobalt);
  box-shadow:
    0 0 0 5px var(--paper),
    0 0 0 7px var(--cobalt);
}

.boundary-route button[aria-current='step'] strong {
  color: var(--cobalt);
}

.boundary-detail {
  min-height: 118px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-top: 1px dashed var(--rule-strong);
  margin-top: 52px;
  padding-top: 28px;
}

.boundary-reticle {
  position: relative;
  width: 34px;
  height: 34px;
  display: block;
  border: 2px solid var(--yellow);
  border-radius: 50%;
}

.boundary-reticle::before,
.boundary-reticle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--yellow);
  content: '';
  transform: translate(-50%, -50%);
}

.boundary-reticle::before {
  width: 48px;
  height: 1px;
}

.boundary-reticle::after {
  width: 1px;
  height: 48px;
}

.boundary-detail p,
.boundary-detail strong {
  font-family: var(--mono);
}

.boundary-detail [data-boundary-kicker] {
  color: var(--cobalt);
  font-size: 0.71rem;
  text-transform: uppercase;
}

.boundary-detail strong {
  max-width: 68ch;
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  line-height: 1.6;
}

.boundary-detail .replan-note {
  color: var(--rust);
  font-size: 0.7rem;
  white-space: nowrap;
}

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

.research-ledger {
  border-top: 1px solid var(--rule-strong);
}

.ledger-head,
.ledger-row {
  display: grid;
  grid-template-columns: 0.72fr 1.25fr 1fr;
  gap: 40px;
}

.ledger-head {
  min-height: 58px;
  align-items: center;
  border-bottom: 1px solid var(--rule-strong);
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ledger-row {
  min-height: 154px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
}

.ledger-row h3 {
  max-width: 36ch;
  font-family: var(--mono);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 500;
  line-height: 1.5;
}

.ledger-row > p:last-child {
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.6;
}

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status span {
  width: 19px;
  height: 19px;
  display: inline-block;
  border: 2px solid;
  border-radius: 50%;
}

.status-proven span {
  border-color: var(--yellow);
}

.status-experimental span {
  border-color: var(--cobalt);
}

.status-refuted span {
  border-color: var(--rust);
}

.research-link {
  margin-top: 32px;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.7fr);
  gap: clamp(60px, 10vw, 170px);
  align-items: center;
}

.about h2 {
  max-width: 11ch;
  margin-bottom: 34px;
}

.about-copy > p {
  max-width: 58ch;
  margin-top: 16px;
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.75;
}

.about-copy .patent-note {
  margin-top: 28px;
  color: var(--navy);
  font-size: 0.74rem;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 24px;
}

.rose-map {
  width: min(100%, 540px);
  justify-self: center;
  fill: none;
  stroke: var(--cobalt-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.05;
}

.rose-map .rose-dashed {
  stroke: var(--rule-strong);
  stroke-dasharray: 8 10;
}

.rose-map .rose-core {
  stroke: var(--cobalt);
  stroke-width: 1.65;
}

.rose-map g circle {
  fill: var(--paper);
  stroke: var(--cobalt);
  stroke-width: 1.5;
}

.closing {
  color: var(--paper);
  background: var(--navy);
}

.closing-top {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-block: 80px;
}

.closing h2 {
  max-width: 12ch;
}

.button-light {
  border-color: #2479df;
  color: var(--paper);
  background: var(--cobalt);
}

.button-light:hover {
  background: #2479df;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--paper);
  background: transparent;
}

.button-outline-light:hover {
  color: var(--navy);
  background: var(--paper);
}

.site-footer {
  min-height: 155px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.36);
  padding-block: 28px 42px;
  font-family: var(--mono);
  font-size: 0.74rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 58px);
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.ledger-intro {
  border-bottom: 1px solid var(--rule);
  padding: clamp(76px, 9vw, 142px) 0 clamp(72px, 8vw, 124px);
}

.ledger-coordinate {
  margin-bottom: 28px;
  color: var(--cobalt);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-intro h1 {
  max-width: 12ch;
  font-size: clamp(4rem, 8vw, 8.3rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.91;
}

.ledger-intro h1 span {
  color: var(--cobalt);
}

.ledger-lead {
  max-width: 72ch;
  margin-top: 40px;
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  line-height: 1.75;
}

.ledger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.campaigns {
  padding: clamp(82px, 9vw, 142px) 0;
}

.ledger-section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 56px;
}

.ledger-section-title h2,
.method h2 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.ledger-section-title p {
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.campaign {
  display: grid;
  grid-template-columns: 56px minmax(210px, 0.72fr) minmax(340px, 1fr) minmax(340px, 1.05fr);
  gap: clamp(22px, 3vw, 46px);
  border-top: 1px solid var(--rule-strong);
  padding: 42px 0 48px;
}

.campaign:last-child {
  border-bottom: 1px solid var(--rule-strong);
}

.campaign-index {
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.campaign-title h3 {
  margin-top: 22px;
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.campaign-measures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.campaign-measures > div {
  border-left: 1px solid var(--rule);
  padding-left: 16px;
}

.campaign-measures dt {
  overflow-wrap: anywhere;
  font-size: clamp(1.35rem, 2vw, 2.25rem);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1;
}

.campaign-measures dd {
  margin-top: 9px;
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.45;
}

.campaign-scope {
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.62;
}

.campaign-scope p + p {
  margin-top: 14px;
}

.campaign-scope strong {
  color: var(--navy);
}

.campaign-scope .text-link {
  margin-top: 20px;
}

.method {
  border-top: 1px solid var(--rule);
  padding: clamp(80px, 9vw, 138px) 0;
  background: var(--plot);
}

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(440px, 1fr);
  gap: clamp(60px, 9vw, 150px);
}

.method h2 {
  max-width: 12ch;
}

.method-grid > div p {
  max-width: 48ch;
  margin-top: 26px;
  color: var(--navy-soft);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.method ol {
  margin: 0;
  border-top: 1px solid var(--rule-strong);
  padding: 0;
  list-style: none;
}

.method li {
  min-height: 92px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.78rem;
}

.method li span {
  width: 34px;
  height: 34px;
  display: grid;
  border: 1.5px solid var(--cobalt);
  border-radius: 50%;
  color: var(--cobalt);
  place-items: center;
}

@media (max-width: 1220px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 10ch;
    font-size: clamp(4rem, 9vw, 7.3rem);
  }

  .hero-lead {
    max-width: 48ch;
  }

  .mission-map {
    max-width: 1050px;
    margin-top: 0;
  }

  .layer-row {
    grid-template-columns: 52px 68px minmax(0, 1fr);
  }

  .layer-row .text-link {
    grid-column: 3;
    justify-self: start;
  }

  .campaign {
    grid-template-columns: 46px 0.72fr 1.3fr;
  }

  .campaign-scope {
    grid-column: 2 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 26px;
  }

  .section-heading,
  .section-heading-wide {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-heading p {
    max-width: 65ch;
  }

  .evidence-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-rail > div:nth-child(2) {
    border-right: 0;
  }

  .evidence-rail > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--rule);
  }

  .evidence-notes,
  .boundary-heading,
  .closing-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .evidence-notes {
    display: flex;
  }

  .boundary-heading {
    display: flex;
  }

  .boundary-route {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .boundary-route::before {
    top: 25px;
    right: auto;
    bottom: 25px;
    left: 25px;
    width: 2px;
    height: auto;
  }

  .boundary-route li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -20px;
    left: 20px;
    content: '↓';
  }

  .boundary-route button {
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 20px;
  }

  .boundary-route button > span {
    grid-row: 1 / span 2;
  }

  .boundary-route button strong,
  .boundary-route button small {
    grid-column: 2;
  }

  .boundary-route button strong {
    margin-top: 3px;
  }

  .boundary-route button small {
    max-width: none;
    margin-top: 1px;
  }

  .boundary-detail {
    grid-template-columns: 44px 1fr;
  }

  .boundary-detail .replan-note {
    grid-column: 2;
  }

  .ledger-head,
  .ledger-row {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 24px;
  }

  .ledger-head span:last-child {
    display: none;
  }

  .ledger-row > p:last-child {
    grid-column: 2;
    margin-top: -20px;
  }

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

  .rose-map {
    max-width: 440px;
  }

  .closing-top {
    display: flex;
  }

  .ledger-section-title,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .campaign {
    grid-template-columns: 44px 1fr;
  }

  .campaign-measures,
  .campaign-scope {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand {
    gap: 10px;
    font-size: 0.75rem;
    letter-spacing: 0.24em;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
  }

  .site-nav {
    position: absolute;
    z-index: 40;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    border-bottom: 1px solid var(--rule-strong);
    padding: 10px 20px 18px;
    background: var(--paper);
    transform: translateY(-8px);
    visibility: hidden;
    opacity: 0;
    transition:
      opacity 150ms ease,
      transform 150ms ease,
      visibility 150ms ease;
  }

  .site-nav[data-open='true'] {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .site-nav a {
    min-height: 48px;
    border-bottom: 1px solid var(--rule);
  }

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

  .hero {
    padding: 44px 0 70px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 12.5vw, 3.65rem);
    letter-spacing: -0.058em;
    line-height: 0.96;
  }

  .hero-lead {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-detail {
    display: none;
  }

  .button-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .button {
    width: 100%;
    min-height: 56px;
  }

  .active-readout {
    display: none;
  }

  .map-heading {
    min-height: 80px;
    display: block;
    padding: 16px;
  }

  .map-heading small {
    display: block;
    margin-top: 5px;
    text-align: left;
  }

  .map-layout {
    display: block;
    padding: 28px 24px;
    background-image:
      linear-gradient(rgba(203, 213, 223, 0.4) 1px, transparent 1px),
      linear-gradient(90deg, rgba(203, 213, 223, 0.4) 1px, transparent 1px);
    background-size: 24px 24px;
  }

  .plot-desktop,
  .checkpoint-panel {
    display: none;
  }

  .mobile-route {
    position: relative;
    display: grid;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-route::before {
    position: absolute;
    top: 26px;
    bottom: 26px;
    left: 22px;
    width: 2px;
    background: var(--cobalt);
    content: '';
  }

  .mobile-route::after {
    position: absolute;
    top: 43%;
    left: 5px;
    width: 86px;
    height: 68px;
    border: 2px dashed var(--cobalt);
    border-right: 0;
    border-radius: 40px 0 0 40px;
    content: '';
    transform: translateX(-34px);
  }

  .mobile-route li {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 18px;
    align-items: start;
  }

  .mobile-route li > span {
    width: 46px;
    height: 46px;
    display: grid;
    border: 2px solid var(--navy);
    border-radius: 50%;
    background: var(--plot);
    font-family: var(--mono);
    place-items: center;
  }

  .mission-map[data-active-step='1'] [data-mobile-step='1'] > span,
  .mission-map[data-active-step='2'] [data-mobile-step='2'] > span,
  .mission-map[data-active-step='3'] [data-mobile-step='3'] > span,
  .mission-map[data-active-step='4'] [data-mobile-step='4'] > span,
  .mission-map[data-active-step='5'] [data-mobile-step='5'] > span {
    border: 4px solid var(--cobalt);
    color: var(--cobalt);
  }

  .mobile-route strong,
  .mobile-route small {
    display: block;
    font-family: var(--mono);
  }

  .mobile-route strong {
    color: var(--cobalt-dark);
    font-size: 0.82rem;
  }

  .mobile-route small {
    margin-top: 4px;
    color: var(--navy-soft);
    font-size: 0.69rem;
    line-height: 1.5;
  }

  .map-footer {
    min-height: 108px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .layers,
  .boundary,
  .research,
  .about {
    padding: 78px 0;
  }

  .section-heading,
  .section-heading-wide {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .boundary-heading h2,
  .about h2,
  .closing h2 {
    font-size: clamp(2.65rem, 12vw, 3.75rem);
  }

  .layer-row {
    min-height: 0;
    grid-template-columns: 54px 1fr;
    gap: 16px 20px;
    padding: 26px 0;
  }

  .layer-number {
    display: none;
  }

  .layer-icon {
    width: 54px;
    height: 54px;
    grid-column: 1;
    grid-row: 1;
  }

  .layer-copy {
    grid-column: 2;
  }

  .layer-copy h3 {
    font-size: 1.32rem;
  }

  .layer-copy p {
    font-size: 0.9rem;
  }

  .layer-row .text-link {
    grid-column: 2;
    justify-self: start;
  }

  .evidence {
    padding: 76px 0;
  }

  .evidence-rail {
    grid-template-columns: 1fr;
  }

  .evidence-rail > div,
  .evidence-rail > div:nth-child(2) {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .evidence-rail > div:last-child {
    border-bottom: 0;
  }

  .evidence-rail dt {
    font-size: 3.7rem;
  }

  .evidence-notes > div {
    display: grid;
    gap: 8px;
  }

  .boundary-heading {
    gap: 24px;
    margin-bottom: 34px;
  }

  .boundary-canvas {
    padding: 46px 24px 30px;
  }

  .boundary-detail {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .boundary-detail .replan-note {
    grid-column: 1;
  }

  .ledger-head {
    display: none;
  }

  .ledger-row {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }

  .ledger-row > p:last-child {
    grid-column: 1;
    margin-top: 0;
  }

  .about-grid {
    gap: 50px;
  }

  .rose-map {
    max-width: 340px;
  }

  .closing-top {
    min-height: 430px;
    gap: 38px;
    padding-block: 70px;
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 24px;
  }

  .ledger-intro {
    padding: 66px 0 76px;
  }

  .ledger-intro h1 {
    font-size: clamp(3.45rem, 15vw, 4.6rem);
  }

  .ledger-actions {
    display: grid;
  }

  .ledger-section-title {
    gap: 20px;
    margin-bottom: 40px;
  }

  .campaign {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 34px 0 40px;
  }

  .campaign-title,
  .campaign-measures,
  .campaign-scope {
    grid-column: 1;
  }

  .campaign-measures {
    grid-template-columns: 1fr 1fr;
  }

  .method-grid {
    gap: 48px;
  }

  .method li {
    min-height: 108px;
  }
}

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

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

@media print {
  .site-header,
  .button-row,
  .menu-toggle,
  .text-button {
    display: none !important;
  }

  .hero,
  .layers,
  .evidence,
  .boundary,
  .research,
  .about,
  .closing {
    break-inside: avoid;
  }

  .closing {
    color: var(--navy);
    background: var(--paper);
  }
}
