:root {
  --field: #f4f7f5;
  --paper: #ffffff;
  --asphalt: #172126;
  --asphalt-soft: #273238;
  --feasible: #1356d8;
  --window: #f2b632;
  --closed: #c93f35;
  --survey: #b7c1bf;
  --survey-light: #dce2e0;
  --port-field: #cfd4cd;
  --display: "DengXian", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
  --text: "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --utility: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1360px;
  --gutter: clamp(22px, 4vw, 64px);
  --header-height: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--field);
  color: var(--asphalt);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

::selection {
  background: var(--window);
  color: var(--asphalt);
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  background: var(--asphalt);
  color: var(--field);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.utility {
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.section-shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  background: var(--field);
  border-bottom: 1px solid rgba(23, 33, 38, 0.16);
}

.header-inner {
  display: flex;
  width: min(100%, 1540px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-grid;
  min-height: 44px;
  grid-template-columns: 44px auto;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: center;
  color: var(--asphalt);
  text-decoration: none;
}

.brand-mark {
  grid-row: 1 / 3;
  width: 40px;
  height: 40px;
}

.brand-mark path {
  fill: none;
  stroke-linecap: round;
}

.brand-candidate {
  stroke: var(--survey);
  stroke-width: 3;
}

.brand-feasible {
  stroke: var(--feasible);
  stroke-width: 4;
}

.brand-mark circle {
  fill: var(--window);
}

.brand-cn {
  align-self: end;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.04em;
}

.brand-en {
  align-self: start;
  margin-top: 4px;
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.13em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
}

.site-nav a {
  position: relative;
  padding-block: 12px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  background: var(--feasible);
  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;
}

.nav-cta {
  min-height: 44px;
  padding: 10px 17px !important;
  background: var(--asphalt);
  color: var(--field);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--asphalt);
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(480px, calc(76svh - var(--header-height)));
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: center;
  column-gap: clamp(12px, 1.8vw, 28px);
  padding: clamp(56px, 6vh, 78px) max(var(--gutter), calc((100vw - 1540px) / 2)) 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--survey);
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(var(--gutter), calc((100vw - 1540px) / 2));
  width: 1px;
  background: rgba(23, 33, 38, 0.12);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 4;
  grid-column: 1 / span 7;
  align-self: center;
}

.eyebrow {
  margin: 0 0 28px;
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow span {
  display: inline-block;
  margin-right: 8px;
  padding: 5px 8px;
  background: var(--window);
  color: var(--asphalt);
}

.eyebrow-light {
  color: var(--survey);
}

.eyebrow-light span {
  background: var(--window);
  color: var(--asphalt);
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 3.4vw, 52px);
  font-weight: 780;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.hero h1 > span {
  display: block;
}

.title-feasible {
  color: var(--feasible);
}

.title-feasible::after {
  display: none;
}

.hero-lead {
  max-width: 700px;
  margin: 34px 0 0;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 500;
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--feasible);
  color: #fff;
}

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

.button-quiet {
  background: transparent;
  border-color: var(--asphalt);
  color: var(--asphalt);
}

.button-quiet:hover {
  background: var(--asphalt);
  color: var(--field);
}

.button-ink {
  background: var(--asphalt);
  color: var(--field);
}

.button-ink:hover {
  background: var(--feasible);
}

.route-field {
  position: relative;
  z-index: 2;
  grid-column: 8 / -1;
  align-self: center;
  width: 100%;
  margin: 0;
  color: var(--asphalt);
  pointer-events: none;
}

.route-field svg {
  width: 100%;
  overflow: visible;
}

.survey-grid path {
  fill: none;
  stroke: var(--survey);
  stroke-width: 0.65;
  opacity: 0.32;
}

.rail-frame {
  fill: rgba(255, 255, 255, 0.34);
  stroke: var(--survey);
  stroke-width: 1;
}

.rail-header text,
.candidate-ids text {
  fill: #687472;
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.route {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.candidate {
  stroke: #8f9997;
  stroke-dasharray: 0.018 0.014;
  stroke-width: 2;
  opacity: 0.86;
}

.candidate-set .candidate {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw-route 1.15s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.candidate-b {
  animation-delay: 90ms !important;
}

.candidate-c {
  animation-delay: 180ms !important;
}

.failure {
  opacity: 0;
  animation: show-failure 280ms ease forwards;
}

.failure-a {
  animation-delay: 1.05s;
}

.failure-b {
  animation-delay: 1.16s;
}

.failure-c {
  animation-delay: 1.28s;
}

.failure path {
  fill: none;
  stroke: var(--closed);
  stroke-width: 1.8;
  stroke-linecap: square;
}

.failure rect {
  fill: var(--field);
  stroke: var(--closed);
  stroke-width: 1.2;
}

.failure text {
  fill: var(--closed);
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.feasible-route {
  stroke: var(--feasible);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-width: 4.5;
  animation: draw-feasible 1.55s 1.28s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.verification-gates path {
  fill: none;
  stroke: #7f8b88;
  stroke-dasharray: 3 7;
  stroke-width: 1;
}

.verification-gates text {
  fill: #4f5c59;
  font-family: var(--utility);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.checkpoints {
  opacity: 0;
  animation: show-checkpoints 360ms 2.5s ease forwards;
}

.checkpoints circle:first-child {
  fill: var(--field);
  stroke: var(--window);
  stroke-width: 3;
}

.checkpoint-core {
  fill: var(--window);
}

.checkpoints text,
.route-start text,
.route-result text {
  fill: var(--asphalt);
  font-family: var(--utility);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.route-start circle {
  fill: var(--asphalt);
}

.route-result {
  opacity: 0;
  animation: show-result 220ms 2.72s ease forwards;
}

.route-result rect {
  fill: var(--feasible);
  stroke: var(--field);
  stroke-width: 2;
}

.route-result text {
  fill: var(--feasible);
  font-size: 9px;
}

.route-status {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 0 16px;
  padding: 10px 12px;
  background: var(--field);
  border: 1px solid var(--survey);
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--feasible);
  border-radius: 50%;
}

.route-legend {
  display: none;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.route-legend span {
  color: var(--closed);
}

.route-field.is-rerunning .candidate,
.route-field.is-rerunning .failure,
.route-field.is-rerunning .feasible-route,
.route-field.is-rerunning .checkpoints,
.route-field.is-rerunning .route-result {
  animation: none;
}

.hero-index {
  position: absolute;
  right: var(--gutter);
  bottom: 18px;
  left: var(--gutter);
  display: flex;
  justify-content: space-between;
  color: #65716f;
}

.solutions {
  padding: clamp(64px, 6.5vw, 96px) 0;
  background: #e9eeeb;
  border-bottom: 1px solid var(--asphalt);
}

.solutions-heading {
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 8%;
  align-items: end;
}

.solutions-heading .eyebrow {
  margin-bottom: 26px;
}

.solutions-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 780;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.solutions-heading > p {
  margin: 0 0 6px;
  padding-top: 24px;
  border-top: 2px solid var(--asphalt);
  font-size: 18px;
  line-height: 1.8;
}

.solution-list {
  margin-top: 78px;
}

.solution-row {
  display: grid;
  grid-template-columns: minmax(250px, 1.05fr) minmax(260px, 1.15fr) minmax(230px, 0.9fr) minmax(150px, auto);
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--asphalt);
}

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

.solution-question p,
.solution-question h3,
.solution-problem,
.solution-output span,
.solution-output strong {
  margin: 0;
}

.solution-question p {
  margin-bottom: 13px;
}

.solution-question h3 {
  font-family: var(--display);
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 760;
  line-height: 1.26;
  letter-spacing: -0.025em;
}

.solution-state {
  display: inline-block;
  margin-right: 8px;
  padding: 5px 7px;
  color: var(--asphalt);
}

.solution-state.live { background: var(--feasible); color: #fff; }
.solution-state.research { background: var(--survey); color: var(--asphalt); }
.solution-state.pending { background: var(--asphalt); color: var(--field); }
.solution-state.demo { background: var(--window); }

.solution-problem {
  color: #46534f;
  font-size: 15px;
  line-height: 1.78;
}

.solution-output {
  position: relative;
  padding-left: 23px;
}

.solution-output::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 4px;
  background: var(--feasible);
  content: "";
}

.solution-output span,
.solution-output strong {
  display: block;
}

.solution-output span {
  margin-bottom: 8px;
  color: var(--feasible);
}

.solution-output strong {
  font-size: 14px;
  line-height: 1.65;
}

.solution-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: var(--feasible);
  text-underline-offset: 6px;
}

.solution-link span {
  color: var(--feasible);
  font-size: 19px;
}

.hero-coordinate {
  position: absolute;
  z-index: 3;
  top: 24px;
  right: var(--gutter);
  color: #65716f;
}

@keyframes draw-route {
  to { stroke-dashoffset: 0; }
}

@keyframes draw-feasible {
  to { stroke-dashoffset: 0; }
}

@keyframes show-failure {
  to { opacity: 1; }
}

@keyframes show-checkpoints {
  to { opacity: 1; }
}

@keyframes show-result {
  to { opacity: 1; }
}

.method {
  position: relative;
  padding: clamp(66px, 7vw, 104px) 0 60px;
  overflow: hidden;
  background: var(--asphalt);
  color: var(--field);
}

.method::after {
  display: none;
}

.method-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.method-heading .eyebrow {
  grid-column: 1 / -1;
}

.method h2 {
  grid-column: 1 / span 7;
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.method-intro {
  grid-column: 9 / -1;
  align-self: end;
  margin: 0 0 6px;
  color: #d7dddb;
  font-size: 18px;
  line-height: 1.8;
}

.decision-loop {
  position: relative;
  z-index: 1;
  margin-top: 64px;
}

.loop-line {
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  width: calc(100% - var(--gutter) * 2);
  height: 130px;
  overflow: visible;
}

.loop-line path {
  fill: none;
  stroke-linecap: round;
}

.loop-base {
  stroke: rgba(183, 193, 191, 0.42);
  stroke-width: 2;
}

.loop-progress {
  stroke: var(--feasible);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-width: 4;
}

.method.is-visible .loop-progress {
  animation: draw-feasible 1.5s ease forwards;
}

.loop-line circle {
  fill: var(--asphalt);
  stroke: var(--window);
  stroke-width: 3;
}

.loop-stages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 38px;
  margin: 0;
  padding: 64px 0 0;
}

.loop-stages div {
  min-height: 145px;
  padding-left: 18px;
  border-left: 1px solid rgba(183, 193, 191, 0.36);
}

.loop-stages dt {
  margin-bottom: 13px;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 800;
}

.loop-stages dd {
  max-width: 230px;
  margin: 0;
  color: #aeb8b6;
  font-size: 14px;
  line-height: 1.75;
}

.stage-output {
  max-width: 240px;
  margin: 18px 0 0;
  color: var(--window);
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.03em;
}

.method-boundary {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: end;
  gap: 30px;
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid rgba(183, 193, 191, 0.32);
}

.method-boundary p {
  margin: 0;
}

.method-boundary p:first-child {
  color: var(--window);
}

.method-boundary p:last-child {
  text-align: right;
  font-family: var(--display);
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 700;
  line-height: 1.5;
}

.case {
  position: relative;
  overflow: hidden;
}

.case-yilongqing {
  padding: clamp(66px, 7vw, 104px) 0 68px;
  background: var(--field);
}

.case-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + 285px);
  width: 4px;
  background: var(--feasible);
  opacity: 0.88;
}

.case-spine::before,
.case-spine::after,
.case-spine span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 18px;
  border: 4px solid var(--field);
  border-radius: 50%;
  background: var(--window);
  content: "";
  transform: translateX(-50%);
}

.case-spine::before { top: 8%; }
.case-spine span { top: 54%; }
.case-spine::after { bottom: 5%; }

.case-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 7fr 4fr;
  gap: 8%;
  align-items: end;
}

.case-kicker {
  margin: 0 0 25px;
}

.case-state {
  display: inline-block;
  margin-right: 9px;
  padding: 6px 8px;
  color: var(--asphalt);
}

.case-state.live { background: var(--feasible); color: #fff; }
.case-state.research { background: var(--survey); color: var(--asphalt); }
.case-state.pending { background: var(--asphalt); color: var(--field); }
.case-state.demo { background: var(--window); }

.case-header h2,
.port-copy h2,
.case-road h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 760;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.case-summary {
  margin: 0 0 8px;
  padding-top: 24px;
  border-top: 2px solid var(--asphalt);
  font-size: 18px;
  line-height: 1.85;
}

.case-facts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 1px solid var(--asphalt);
  border-bottom: 1px solid var(--asphalt);
}

.case-facts div {
  min-height: 118px;
  padding: 22px 24px;
  border-left: 1px solid var(--survey);
}

.case-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.case-facts dt {
  color: var(--feasible);
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.case-facts dd {
  margin: 10px 0 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.yilongqing-evidence {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 28px;
  margin-top: 72px;
}

.evidence-frame {
  margin: 0;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--asphalt);
}

.evidence-frame img {
  width: 100%;
  height: auto;
  border: 1px solid var(--survey-light);
}

.frame-top {
  display: flex;
  min-height: 32px;
  align-items: flex-start;
  justify-content: space-between;
  color: #5f6c69;
}

.evidence-frame figcaption {
  max-width: 710px;
  padding: 16px 6px 5px;
  font-size: 15px;
  font-weight: 600;
}

.control-evidence {
  grid-column: 1 / span 8;
}

.constraint-rail {
  grid-column: 9 / -1;
  align-self: start;
  padding: 14px 0 0 28px;
  background: var(--field);
}

.constraint-rail > p {
  margin: 0 0 16px;
  color: var(--closed);
}

.constraint-rail ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--asphalt);
  list-style: none;
}

.constraint-rail li {
  display: grid;
  grid-template-columns: 36px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--survey);
}

.constraint-rail li > span {
  grid-row: 1 / 3;
  color: var(--closed);
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 700;
}

.constraint-rail strong {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.2;
}

.constraint-rail small {
  margin-top: 7px;
  color: #62706d;
  font-size: 13px;
}

.simulation-evidence {
  grid-column: 4 / span 9;
  margin-top: 46px;
}

.case-conclusion {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 82px;
  padding-top: 34px;
  border-top: 1px solid var(--asphalt);
}

.conclusion-mark {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin: 0;
  background: var(--feasible);
  color: white;
  font-size: 28px;
  font-weight: 900;
}

.case-conclusion p {
  margin: 0;
}

.case-conclusion div p:last-child {
  margin-top: 6px;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  text-underline-offset: 6px;
}

.case-port {
  padding: clamp(64px, 6.5vw, 96px) 0;
  background: var(--port-field);
  border-top: 1px solid var(--asphalt);
  border-bottom: 1px solid var(--asphalt);
}

.port-field {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
}

.port-copy {
  position: relative;
  z-index: 3;
}

.port-copy h2 {
  font-size: clamp(26px, 2.4vw, 34px);
}

.port-copy > p:not(.case-kicker):not(.research-note) {
  max-width: 560px;
  margin: 35px 0 0;
  font-size: 18px;
  line-height: 1.85;
}

.port-judges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 42px 0 35px;
  padding: 20px 0;
  border-top: 1px solid var(--asphalt);
  border-bottom: 1px solid var(--asphalt);
}

.port-judges div {
  padding: 0 14px;
  border-left: 1px solid rgba(23, 33, 38, 0.28);
}

.port-judges div:first-child {
  padding-left: 0;
  border-left: 0;
}

.port-judges dt {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
}

.port-judges dd {
  margin: 4px 0 0;
  color: #58635f;
  font-size: 12px;
}

.research-note {
  max-width: 500px;
  margin: 22px 0 0;
  color: #53605d;
  text-transform: none;
}

.port-map {
  position: relative;
  margin: 0;
}

.port-map::before {
  position: absolute;
  z-index: 2;
  top: -18px;
  right: 18px;
  bottom: 18px;
  left: -18px;
  border: 1px solid var(--asphalt);
  content: "";
  pointer-events: none;
}

.port-scene {
  width: 100%;
  aspect-ratio: 1 / 0.92;
  border: 1px solid var(--asphalt);
  background: #a9b7b3;
}

.port-scene .water { fill: #a9b7b3; }
.port-scene .land { fill: #dfe3dc; stroke: var(--asphalt); stroke-width: 2; }
.survey-roads path { fill: none; stroke: #83908c; stroke-width: 1.2; stroke-dasharray: 5 8; }
.stockyard rect { fill: #bdc5be; stroke: #65716d; stroke-width: 1; }
.berths path { fill: none; stroke: var(--asphalt); stroke-width: 6; }
.vessels path { fill: var(--asphalt-soft); stroke: var(--field); stroke-width: 2; }

.port-candidate,
.port-route {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.port-candidate {
  stroke: rgba(255, 255, 255, 0.75);
  stroke-dasharray: 7 9;
  stroke-width: 2;
}

.port-route {
  stroke: var(--feasible);
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-width: 6;
}

.case-port.is-visible .port-route {
  animation: draw-feasible 1.6s 200ms ease forwards;
}

.port-nodes circle {
  fill: var(--window);
  stroke: var(--asphalt);
  stroke-width: 3;
}

.port-map text {
  fill: var(--asphalt);
  paint-order: stroke;
  stroke: rgba(244, 247, 245, 0.92);
  stroke-width: 5px;
  font-family: var(--utility);
  font-size: 14px;
  font-weight: 800;
}

.port-map figcaption {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: var(--asphalt);
  color: var(--field);
}

.case-road {
  padding: clamp(88px, 9vw, 126px) 0;
  background: #edf1ef;
  color: var(--asphalt);
  border-top: 6px solid var(--window);
}

.road-layout {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  gap: clamp(28px, 4vw, 62px);
  align-items: start;
}

.case-road h2 {
  font-size: clamp(26px, 2.4vw, 34px);
}

.road-copy {
  padding-top: 48px;
  border-top: 2px solid var(--asphalt);
}

.road-copy p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
}

.road-copy p + p {
  margin-top: 20px;
}

.road-copy .road-demo-link {
  margin-top: 30px;
}

.road-copy .road-boundary {
  margin-top: 22px;
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}

.road-timeline {
  position: relative;
  display: grid;
  gap: 30px;
  padding: 14px 0 0 38px;
}

.timeline-line {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 7px;
  width: 4px;
  background: var(--feasible);
}

.timeline-point {
  position: relative;
}

.timeline-point > span {
  position: absolute;
  top: 6px;
  left: -38px;
  width: 18px;
  height: 18px;
  border: 4px solid var(--window);
  border-radius: 50%;
  background: var(--feasible);
}

.timeline-point.gate > span {
  background: var(--closed);
}

.timeline-point strong,
.timeline-point small {
  display: block;
}

.timeline-point strong {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.2;
}

.timeline-point small {
  margin-top: 5px;
  font-family: var(--utility);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.start {
  position: relative;
  padding: clamp(72px, 7.5vw, 110px) 0 clamp(60px, 6.5vw, 92px);
  overflow: hidden;
  background: var(--asphalt);
  color: var(--field);
}








.start-inner {
  position: relative;
  z-index: 2;
}

.start h2 {
  max-width: 1080px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.start-inner > p:not(.eyebrow) {
  max-width: 650px;
  margin: 54px 0 0;
  color: #c8d0ce;
  font-size: 19px;
  line-height: 1.8;
}

.start-checklist {
  display: grid;
  max-width: 920px;
  grid-template-columns: repeat(4, 1fr);
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid #687472;
  border-bottom: 1px solid #687472;
  list-style: none;
}

.start-checklist li {
  position: relative;
  padding: 16px 14px 16px 31px;
  border-left: 1px solid #687472;
  color: #d5dcda;
  font-size: 13px;
  font-weight: 650;
}

.start-checklist li:first-child {
  border-left: 0;
}

.start-checklist li::before {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 7px;
  height: 7px;
  background: var(--window);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.start-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 48px;
  border-top: 1px solid #687472;
  border-bottom: 1px solid #687472;
}

.start-links a {
  display: grid;
  min-height: 116px;
  grid-template-columns: 1fr auto;
  grid-template-rows: 30px auto;
  align-items: center;
  padding: 20px 25px;
  border-left: 1px solid #687472;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.start-links a:first-child {
  border-left: 0;
}

.start-links a:hover {
  background: var(--window);
  color: var(--asphalt);
}

.start-links a .utility {
  grid-column: 1 / -1;
  color: var(--survey);
}

.start-links a:hover .utility {
  color: var(--asphalt);
}

.site-footer {
  padding: 34px 0;
  background: #0d1417;
  color: var(--survey);
  border-top: 1px solid #3c474a;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
}

.footer-brand {
  color: var(--field);
}

.footer-inner p {
  margin: 0;
  font-size: 12px;
}

.footer-inner a {
  text-underline-offset: 4px;
}

.footer-inner p a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer-inner p a:hover {
  color: var(--field);
}

@media (max-width: 1180px) {
  .hero-copy { grid-column: 1 / span 7; }
  .route-field { grid-column: 7 / -1; width: 100%; }
  .solution-row { grid-template-columns: 1fr 1fr; }
  .solution-output { grid-column: 1; }
  .solution-link { grid-column: 2; justify-self: start; }
  .method-intro { grid-column: 8 / -1; }
  .case-spine { left: 75%; }
  .port-field { grid-template-columns: 1fr 1.25fr; gap: 52px; }
}

@media (max-width: 900px) {
  :root { --header-height: 70px; }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] > span:nth-of-type(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 101;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-auto-rows: min-content;
    align-content: start;
    gap: 0;
    padding: 32px var(--gutter);
    background: var(--field);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms;
  }

  .site-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav a {
    padding: 20px 0;
    border-bottom: 1px solid var(--survey);
    font-family: var(--display);
    font-size: 25px;
  }

  .site-nav .nav-cta {
    margin-top: 28px;
    padding: 17px 20px !important;
    text-align: center;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: 88px;
    padding-bottom: 64px;
  }

  .hero-copy { width: 100%; }
  .hero h1 { max-width: 790px; font-size: clamp(54px, 9vw, 76px); }
  .hero-lead { max-width: 580px; }

  .route-field {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 680px);
    margin: 54px auto 0;
    opacity: 1;
  }

  .hero-coordinate { top: 17px; }
  .hero-index { position: relative; right: auto; bottom: auto; left: auto; margin-top: 14px; }

  .solutions-heading { grid-template-columns: 1fr; }
  .solutions-heading > p { max-width: 680px; margin-top: 38px; }

  .method-heading { display: block; }
  .method-intro { max-width: 640px; margin-top: 38px; }

  .decision-loop { margin-top: 76px; }
  .loop-line { display: none; }
  .loop-stages {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    border-top: 3px solid var(--feasible);
  }
  .loop-stages div { padding: 27px 22px; border-right: 1px solid rgba(183, 193, 191, 0.3); border-bottom: 1px solid rgba(183, 193, 191, 0.3); }

  .case-header { grid-template-columns: 1fr; }
  .case-summary { max-width: 650px; margin-top: 42px; }
  .case-facts { grid-template-columns: 1fr 1fr; }
  .case-facts div:nth-child(3) { border-left: 0; border-top: 1px solid var(--survey); }
  .case-facts div:nth-child(4) { border-top: 1px solid var(--survey); }
  .control-evidence { grid-column: 1 / span 8; }
  .constraint-rail { grid-column: 9 / -1; padding-left: 12px; }
  .simulation-evidence { grid-column: 3 / -1; }
  .case-spine { left: auto; right: 40px; }

  .port-field { grid-template-columns: 1fr; }
  .port-copy { max-width: 680px; }
  .port-map { width: min(88%, 680px); margin: 34px auto 0; }

  .road-layout { grid-template-columns: 1fr 1fr; }
  .road-timeline { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); margin-top: 24px; padding: 38px 0 0; }
  .timeline-line { top: 7px; right: 0; bottom: auto; left: 0; width: 100%; height: 4px; }
  .timeline-point > span { top: -38px; left: 0; }

  .start-links { grid-template-columns: 1fr; }
  .start-links a { border-top: 1px solid #687472; border-left: 0; }
  .start-links a:first-child { border-top: 0; }
}

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

  .brand-mark { width: 36px; height: 36px; }
  .brand { grid-template-columns: 36px auto; }
  .brand-en { display: none; }

  .hero { padding-top: 68px; }
  .hero::before { display: none; }
  .hero-coordinate { display: none; }
  .eyebrow { margin-bottom: 22px; font-size: 10px; }
  .hero .eyebrow span { display: block; width: max-content; margin-bottom: 9px; }
  .hero h1 { font-size: clamp(32px, 9.2vw, 36px); line-height: 1.1; letter-spacing: -0.035em; }
  .hero-lead { margin-top: 27px; font-size: 16px; line-height: 1.75; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }

  .route-field { width: 100%; margin: 42px 0 0; }
  .route-field svg { width: 100%; }
  .rail-header text:last-child,
  .candidate-ids,
  .failure text,
  .verification-gates text,
  .route-start text,
  .route-result text { display: none; }
  .route-status { margin: 0; font-size: 8px; line-height: 1.5; }
  .route-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; font-size: 8px; }
  .hero-index { gap: 12px; flex-wrap: wrap; font-size: 8px; }

  .solutions { padding-block: 86px; }
  .solutions-heading h2 { font-size: 37px; }
  .solutions-heading > p { margin-top: 30px; font-size: 16px; }
  .solution-list { margin-top: 54px; }
  .solution-row { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .solution-output,
  .solution-link { grid-column: auto; }
  .solution-link { justify-self: stretch; }

  .method { padding-top: 88px; }
  .method::after { display: none; }
  .method h2 { font-size: 38px; }
  .method-intro { font-size: 16px; }
  .loop-stages { grid-template-columns: 1fr; border-left: 3px solid var(--feasible); border-top: 0; }
  .loop-stages div { min-height: 0; border-right: 0; padding: 24px 20px; }
  .loop-stages dt { font-size: 22px; }
  .method-boundary { display: block; margin-top: 56px; }
  .method-boundary p:last-child { margin-top: 24px; text-align: left; }

  .case-yilongqing { padding-top: 88px; }
  .case-header h2,
  .port-copy h2,
  .case-road h2 { font-size: 27px; line-height: 1.15; }
  .case-summary { margin-top: 32px; font-size: 16px; }
  .case-facts { grid-template-columns: 1fr; margin-top: 40px; }
  .case-facts div { min-height: 0; padding: 17px 0; border-left: 0; border-top: 1px solid var(--survey); }
  .case-facts div:first-child { border-top: 0; }
  .case-spine { right: 20px; opacity: 0.26; }
  .yilongqing-evidence { display: flex; margin-top: 58px; flex-direction: column; }
  .constraint-rail { order: 2; padding: 20px 0 0; }
  .simulation-evidence { order: 3; margin-top: 20px; }
  .evidence-frame { padding: 8px; }
  .evidence-frame img { height: 300px; object-fit: cover; object-position: top left; }
  .frame-top { min-height: 28px; font-size: 8px; }
  .evidence-frame figcaption { padding: 13px 3px 4px; font-size: 13px; }
  .constraint-rail li { padding: 17px 0; }
  .case-conclusion { grid-template-columns: 54px 1fr; gap: 16px; margin-top: 58px; }
  .conclusion-mark { width: 48px; height: 48px; }
  .case-conclusion .text-link { grid-column: 2; margin-top: 10px; }

  .case-port { padding-block: 88px; }
  .port-copy > p:not(.case-kicker):not(.research-note) { font-size: 16px; }
  .port-judges { gap: 0; }
  .port-judges dt { font-size: 18px; }
  .port-judges dd { font-size: 10px; }
  .port-map { width: calc(100% - 12px); margin-top: 45px; }
  .port-map::before { top: -10px; right: 10px; bottom: 10px; left: -10px; }
  .port-map figcaption { font-size: 7px; }

  .road-layout { grid-template-columns: 1fr; }
  .road-copy { padding-top: 26px; }
  .road-timeline { grid-column: auto; grid-template-columns: 1fr; gap: 26px; padding: 10px 0 0 38px; }
  .timeline-line { top: 20px; right: auto; bottom: 20px; left: 7px; width: 4px; height: auto; }
  .timeline-point > span { top: 4px; left: -38px; }

  .start { padding-top: 92px; }
  .start h2 { font-size: clamp(39px, 10.6vw, 44px); line-height: 1.08; }
  .start-inner > p:not(.eyebrow) { margin-top: 42px; font-size: 16px; }
  .start-checklist { grid-template-columns: 1fr 1fr; }
  .start-checklist li:nth-child(3) { border-left: 0; border-top: 1px solid #687472; }
  .start-checklist li:nth-child(4) { border-top: 1px solid #687472; }
  .start-route { top: 37%; width: 150%; }
  .start-links { margin-top: 58px; }

  .footer-inner { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }
  .candidate,
  .feasible-route,
  .loop-progress,
  .port-route { stroke-dashoffset: 0; }
  .failure,
  .checkpoints,
  .route-result { opacity: 1; }
}
