:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --paper-soft: #f5f5f2;
  --purple: #4b39ef;
  --purple-soft: #efedff;
  --teal: #39d2c0;
  --teal-soft: #e6faf7;
  --amber: #f59e0b;
  --line: rgba(10, 10, 10, 0.14);
  --muted: rgba(10, 10, 10, 0.62);
  --muted-dark: rgba(255, 255, 255, 0.66);
  --page: min(1180px, calc(100vw - 96px));
  --display: "Urbanist", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--display);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

::selection {
  color: var(--paper);
  background: var(--purple);
}

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--purple);
  transform: translateY(-150%);
  transition: transform var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--paper);
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: var(--page);
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-word {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.desktop-nav a,
.mobile-nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a {
  color: rgba(255, 255, 255, 0.66);
  transition: color var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--paper);
}

.nav-cta {
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--paper) !important;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  width: 18px;
  height: 1px;
  display: block;
  content: "";
  background: var(--paper);
  transition: transform var(--ease), opacity var(--ease);
}

.menu-button::before {
  transform: translateY(-5px);
}

.menu-button::after {
  transform: translateY(5px);
}

.menu-button[aria-expanded="true"] span {
  opacity: 0;
}

.menu-button[aria-expanded="true"]::before {
  transform: translateY(1px) rotate(45deg);
}

.menu-button[aria-expanded="true"]::after {
  transform: translateY(-1px) rotate(-45deg);
}

.mobile-nav {
  width: var(--page);
  margin: 0 auto;
  padding: 0 0 24px;
  display: none;
  grid-template-columns: 1fr;
  gap: 4px;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 14px 0;
  color: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eyebrow {
  margin: 0 0 24px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero::after {
  position: absolute;
  top: 82px;
  right: -210px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(17deg);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: var(--page);
  min-height: 690px;
  margin: 0 auto;
  padding: 96px 0 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: clamp(56px, 8vw, 112px);
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(58px, 8vw, 116px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.hero-copy h1 em {
  color: var(--teal);
  font-style: normal;
}

.hero-copy .lede {
  max-width: 660px;
  margin: 30px 0 0;
  color: var(--muted-dark);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 300;
  line-height: 1.55;
}

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

.button {
  min-height: 48px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

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

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

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(75, 57, 239, 0.32);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-outline {
  color: inherit;
  border-color: currentColor;
  background: transparent;
}

.hero-note {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  top: -26px;
  right: -26px;
  width: 88px;
  height: 88px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-left-color: transparent;
  transform: rotate(12deg);
}

.hero-panel {
  position: relative;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 28px 28px 0 var(--purple);
}

.panel-cap {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.score-display {
  padding: 34px;
}

.score-number {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.score-number strong {
  font-size: clamp(74px, 9vw, 120px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.score-number span {
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

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

.score-meta div {
  min-width: 0;
  padding: 16px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.score-meta strong,
.score-meta span {
  display: block;
}

.score-meta strong {
  font-size: 18px;
}

.score-meta span {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.context-map {
  padding: 28px;
  display: grid;
  gap: 12px;
}

.context-node {
  position: relative;
  padding: 17px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.context-node + .context-node::before {
  position: absolute;
  top: -13px;
  left: 28px;
  width: 1px;
  height: 12px;
  content: "";
  background: var(--purple);
}

.context-node strong,
.context-node span {
  display: block;
}

.context-node strong {
  font-size: 17px;
}

.context-node span {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.context-node.is-accent {
  color: var(--paper);
  border-color: var(--purple);
  background: var(--purple);
}

.context-node.is-accent span {
  color: rgba(255, 255, 255, 0.74);
}

.section {
  padding: 112px 0;
}

.section.is-soft {
  background: var(--paper-soft);
}

.section.is-dark {
  color: var(--paper);
  background: var(--ink);
}

.section-shell {
  width: var(--page);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.42fr);
  align-items: end;
  gap: 56px;
}

.section-heading h2 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}

.is-dark .section-heading p {
  color: var(--muted-dark);
}

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

.is-dark .rule {
  border-color: rgba(255, 255, 255, 0.16);
}

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

.principle {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-number {
  color: var(--purple);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.principle h3 {
  margin: 44px 0 14px;
  font-size: 26px;
  line-height: 1.06;
}

.principle p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}

.evidence-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.evidence-card {
  min-height: 310px;
  padding: 28px;
  background: var(--paper);
}

.evidence-card .weight {
  display: inline-block;
  color: var(--purple);
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.evidence-card h3 {
  margin: 54px 0 12px;
  font-size: 23px;
}

.evidence-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

.evidence-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
}

.lens-lab {
  margin-top: 58px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lens-controls {
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.lens-controls h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.lens-controls > p {
  margin: 0 0 24px;
  color: var(--muted-dark);
  font-size: 14px;
  line-height: 1.55;
}

.lens-option {
  width: 100%;
  margin-top: 10px;
  padding: 15px 16px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  text-align: left;
  transition: color var(--ease), border-color var(--ease), background var(--ease);
}

.lens-option strong,
.lens-option span {
  display: block;
}

.lens-option strong {
  font-size: 14px;
}

.lens-option span {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.45;
}

.lens-option:hover,
.lens-option[aria-pressed="true"] {
  color: var(--paper);
  border-color: var(--teal);
  background: rgba(57, 210, 192, 0.08);
}

.lens-results {
  min-width: 0;
  padding: 28px;
}

.lens-status {
  min-height: 52px;
  padding-bottom: 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.lens-status strong {
  font-size: 16px;
}

.lens-status span {
  max-width: 460px;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.55;
  text-align: right;
}

.candidate-list {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.candidate {
  padding: 18px;
  display: grid;
  grid-template-columns: 34px minmax(150px, 1fr) repeat(3, minmax(76px, auto));
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  transition: transform var(--ease), border-color var(--ease);
}

.candidate.is-filtered {
  display: none;
}

.candidate-rank {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
}

.candidate-name strong,
.candidate-name span,
.candidate-metric strong,
.candidate-metric span {
  display: block;
}

.candidate-name strong {
  font-size: 15px;
}

.candidate-name span {
  margin-top: 3px;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 9px;
}

.candidate-metric {
  text-align: right;
}

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

.candidate-metric span {
  margin-top: 3px;
  color: var(--muted-dark);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lab-disclaimer {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.6;
}

.timeline {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.timeline-step {
  position: relative;
  padding: 34px 28px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.timeline-step:first-child {
  border-left: 1px solid var(--line);
}

.timeline-step::before {
  position: absolute;
  top: -6px;
  left: 27px;
  width: 11px;
  height: 11px;
  content: "";
  border-radius: 50%;
  background: var(--purple);
}

.timeline-step strong {
  display: block;
  font-size: 18px;
}

.timeline-step p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.boundary-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.boundary-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.boundary-card h3 {
  margin: 0 0 24px;
  font-size: 22px;
}

.boundary-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.boundary-card li {
  position: relative;
  padding: 13px 0 13px 28px;
  color: var(--muted-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
}

.boundary-card li::before {
  position: absolute;
  top: 17px;
  left: 2px;
  color: var(--teal);
  content: "✓";
  font-weight: 800;
}

.boundary-card.is-no li::before {
  color: #ff8b8b;
  content: "×";
}

.route-map {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.route-node {
  position: relative;
  min-height: 190px;
  padding: 26px 22px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.route-node + .route-node {
  border-left: 0;
}

.route-node + .route-node::before {
  position: absolute;
  top: 50%;
  left: -9px;
  z-index: 2;
  width: 17px;
  height: 17px;
  content: "→";
  color: var(--purple);
  background: var(--paper-soft);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 17px;
  text-align: center;
  transform: translateY(-50%);
}

.route-node .node-label {
  color: var(--purple);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-node h3 {
  margin: 30px 0 10px;
  font-size: 20px;
}

.route-node p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.55;
}

.context-switcher {
  margin-top: 58px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  border: 1px solid var(--line);
}

.context-tabs {
  padding: 26px;
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid var(--line);
  background: var(--ink);
}

.context-tab {
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.66);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}

.context-tab:hover,
.context-tab[aria-selected="true"] {
  color: var(--paper);
  border-color: var(--teal);
  background: rgba(57, 210, 192, 0.08);
}

.context-panel {
  min-height: 390px;
  padding: 42px;
}

.context-panel[hidden] {
  display: none;
}

.context-panel h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.context-panel > p {
  max-width: 660px;
  margin: 18px 0 30px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
}

.context-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.context-fact {
  padding: 18px;
  border: 1px solid var(--line);
}

.context-fact strong {
  display: block;
  font-size: 14px;
}

.context-fact span {
  margin-top: 6px;
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
}

.cost-grid {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.cost-card {
  min-height: 310px;
  padding: 34px;
  color: var(--ink);
  background: var(--paper);
}

.cost-card.is-accent {
  background: var(--teal-soft);
}

.cost-card .eyebrow {
  color: var(--purple);
}

.cost-card h3 {
  margin: 44px 0 14px;
  font-size: 31px;
}

.cost-card p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}

.faq {
  margin-top: 46px;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 24px 44px 24px 0;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  float: right;
  color: var(--purple);
  content: "+";
  font-family: var(--mono);
  font-size: 22px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  max-width: 820px;
  margin: -4px 0 24px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.cta-band {
  position: relative;
  padding: 108px 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--purple);
}

.cta-band::after {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 340px;
  height: 340px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.34);
  transform: rotate(18deg);
}

.cta-shell {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 56px;
}

.cta-shell h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(44px, 6vw, 78px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.cta-shell p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
}

.site-footer {
  padding: 66px 0 42px;
  color: var(--paper);
  background: var(--ink);
}

.footer-shell {
  width: var(--page);
  margin: 0 auto;
}

.footer-top {
  padding-bottom: 52px;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) repeat(3, minmax(140px, 0.4fr));
  gap: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand img {
  width: 64px;
  height: 64px;
}

.footer-brand p {
  max-width: 300px;
  margin: 18px 0 0;
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.footer-column h2 {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.46);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a {
  margin-top: 11px;
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: rgba(255, 255, 255, 0.38);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  :root {
    --page: min(100% - 48px, 920px);
  }

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

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

  .hero-visual {
    max-width: 620px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .route-map {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
  }

  .route-node,
  .route-node + .route-node {
    border: 0;
  }

  .route-node + .route-node::before {
    display: none;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100% - 36px);
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .mobile-nav:not([hidden]) {
    display: grid;
  }

  .hero,
  .hero-shell {
    min-height: auto;
  }

  .hero-shell {
    padding: 74px 0 84px;
    gap: 72px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 18vw, 78px);
  }

  .hero-panel {
    box-shadow: 14px 14px 0 var(--purple);
  }

  .score-display {
    padding: 25px;
  }

  .score-meta {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 84px 0;
  }

  .section-heading {
    gap: 24px;
  }

  .principle-grid,
  .evidence-grid,
  .timeline,
  .boundary-grid,
  .cost-grid,
  .context-facts {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: auto;
  }

  .lens-lab,
  .context-switcher {
    grid-template-columns: 1fr;
  }

  .lens-controls,
  .context-tabs {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .lens-status {
    display: block;
  }

  .lens-status span {
    margin-top: 8px;
    display: block;
    text-align: left;
  }

  .candidate {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .candidate-metric {
    display: none;
  }

  .candidate-metric.is-active {
    display: block;
  }

  .timeline-step {
    border-left: 1px solid var(--line);
  }

  .route-map {
    grid-template-columns: 1fr;
  }

  .context-panel {
    padding: 30px 24px;
  }

  .cta-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    margin-top: 8px;
    display: block;
  }
}

@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;
  }

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