:root {
  --paper: #f3eee3;
  --paper-deep: #e8dfcf;
  --paper-light: #faf7f0;
  --ink: #24211e;
  --ink-soft: #5d564d;
  --ink-inverse: #f7f0df;
  --red: #923522;
  --red-dark: #712719;
  --copper: #b86d36;
  --gold: #a8844c;
  --olive: #6f7658;
  --line: rgba(78, 62, 46, 0.24);
  --line-strong: rgba(78, 62, 46, 0.48);
  --shadow: 0 16px 40px rgba(48, 37, 27, 0.12);
  --shadow-small: 0 6px 18px rgba(48, 37, 27, 0.09);
  --serif: "STSong", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --shell: min(1440px, calc(100vw - 48px));
  --radius: 10px;
  --header-height: 78px;
}

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

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 4%, rgba(184, 109, 54, 0.06), transparent 30%),
    linear-gradient(90deg, rgba(90, 73, 54, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 10px 10px, auto;
  font-family: var(--sans);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.04em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--red-dark);
  border-radius: 5px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(247, 243, 234, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(290px, 1fr);
  align-items: center;
  gap: 32px;
}

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

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--red);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark svg {
  width: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.04em;
}

.brand small {
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  padding-block: 25px 20px;
  color: #3f3a34;
  font-size: 14px;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.version-status {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  border: 1px solid rgba(146, 53, 34, 0.42);
  border-radius: 7px;
  color: #5e2c20;
  font-size: 11px;
  line-height: 1.3;
}

.version-status b {
  margin-right: 3px;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--olive);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(111, 118, 88, 0.12);
}

.status-date {
  padding: 5px 8px;
  color: var(--ink-inverse);
  background: var(--red);
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 5px 0;
  background: var(--ink);
}

.section-paper {
  position: relative;
  background:
    linear-gradient(rgba(126, 94, 60, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 94, 60, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
}

.section-ink {
  position: relative;
  overflow: hidden;
  color: var(--ink-inverse);
  background:
    radial-gradient(circle at 75% 18%, rgba(184, 109, 54, 0.17), transparent 24%),
    radial-gradient(circle at 12% 80%, rgba(146, 53, 34, 0.16), transparent 28%),
    #1d1b18;
}

.section-ink::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(245, 231, 205, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 231, 205, 0.12) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.hero {
  padding: clamp(54px, 7vw, 104px) 0 42px;
  border-bottom: 1px solid var(--line-strong);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(520px, 1.05fr);
  align-items: center;
  gap: clamp(42px, 6vw, 96px);
}

.kicker,
.section-number,
.eyebrow {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker span {
  padding-right: 12px;
  margin-right: 12px;
  border-right: 1px solid currentColor;
}

.hero h1 {
  max-width: 780px;
  margin: 24px 0 26px;
  font-size: clamp(3.1rem, 5.7vw, 6.2rem);
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 700px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-small);
}

.button-primary {
  color: var(--ink-inverse);
  background: var(--red);
  border-color: var(--red);
}

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

.button-secondary {
  background: rgba(255, 255, 255, 0.25);
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 11px;
}

.hero-notes span {
  position: relative;
  padding-left: 12px;
}

.hero-notes span::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  content: "";
  background: var(--copper);
  border-radius: 50%;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(120, 79, 52, 0.2);
  background:
    linear-gradient(135deg, transparent 15%, rgba(168, 132, 76, 0.05)),
    rgba(250, 247, 240, 0.42);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  width: 70px;
  height: 70px;
  pointer-events: none;
  content: "";
}

.hero-visual::before {
  top: 12px;
  left: 12px;
  border-top: 1px solid var(--red);
  border-left: 1px solid var(--red);
}

.hero-visual::after {
  right: 12px;
  bottom: 12px;
  border-right: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
}

.silo-blueprint {
  position: absolute;
  inset: 64px 10px 24px;
  width: calc(100% - 20px);
  height: calc(100% - 88px);
}

.grid-lines {
  fill: none;
  stroke: var(--gold);
  stroke-width: 0.6;
  opacity: 0.22;
}

.silo-lines {
  fill: none;
  stroke: #3c3730;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  opacity: 0.72;
}

.silo-lines .leader {
  stroke: var(--red);
  stroke-dasharray: 3 5;
}

.blueprint-note {
  position: absolute;
  z-index: 2;
  color: #655b50;
  font-family: var(--serif);
  font-size: 12px;
  line-height: 1.45;
}

.note-one { top: 24px; left: 26%; }
.note-two { top: 42px; right: 6%; text-align: right; }
.note-three { right: 9%; bottom: 18px; text-align: right; }

.switch-stamp {
  position: absolute;
  top: 38%;
  left: 50%;
  display: grid;
  width: 138px;
  height: 138px;
  align-content: center;
  justify-items: center;
  color: var(--red);
  background: rgba(243, 238, 227, 0.92);
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(146, 53, 34, 0.05), inset 0 0 0 5px rgba(146, 53, 34, 0.06);
  transform: translate(-50%, -50%) rotate(-4deg);
}

.switch-stamp::before,
.switch-stamp::after {
  position: absolute;
  content: "";
  border: 1px dashed currentColor;
  border-radius: inherit;
}

.switch-stamp::before { inset: 7px; }
.switch-stamp::after { inset: 16px; opacity: 0.42; }

.switch-stamp span,
.switch-stamp strong {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
}

.switch-stamp span { font-size: 18px; letter-spacing: 0.18em; }
.switch-stamp strong { font-size: 33px; line-height: 1; }
.switch-stamp svg { position: absolute; z-index: 2; right: -4px; bottom: 3px; width: 86px; fill: none; stroke: currentColor; stroke-width: 2; }

.version-rail {
  display: grid;
  grid-template-columns: 180px 1fr 210px;
  align-items: center;
  gap: 24px;
  margin-top: 58px;
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}

.rail-version strong,
.rail-version span {
  display: block;
}

.rail-version strong {
  color: var(--red);
  font-family: var(--serif);
  font-size: 30px;
}

.rail-version span {
  color: var(--ink-soft);
  font-size: 11px;
}

.rail-new { text-align: right; }

.rail-line {
  position: relative;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--red) 0 4px, transparent 4px 8px);
}

.rail-node {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  background: var(--paper);
  border: 2px solid var(--red);
  border-radius: 50%;
  transform: translateY(-50%);
}

.rail-node-start { left: 0; }
.rail-node-end { right: 0; background: var(--red); }

.rail-label {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 2px 10px;
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 11px;
  transform: translate(-50%, -50%);
}

.change-directions,
.comparison,
.readiness,
.sources {
  padding: clamp(76px, 9vw, 140px) 0;
}

.section-heading {
  max-width: 980px;
  margin-bottom: 48px;
}

.section-heading p:not(.section-number) {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.section-number {
  margin-bottom: 14px;
}

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

.direction-card {
  display: grid;
  min-height: 184px;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 18px;
  padding: 28px;
  text-align: left;
  text-decoration: none;
  background: rgba(251, 248, 241, 0.54);
  border: 0;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.direction-card:hover,
.direction-card:focus-visible {
  z-index: 1;
  color: var(--ink-inverse);
  background: var(--red);
  outline: none;
  transform: translateY(-4px);
}

.direction-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ink-inverse);
  background: var(--gold);
  border-radius: 50%;
  font-size: 22px;
}

.direction-copy strong,
.direction-copy small {
  display: block;
}

.direction-copy strong {
  margin-bottom: 11px;
  font-family: var(--serif);
  font-size: 26px;
}

.direction-copy small {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
}

.direction-card:hover .direction-copy small,
.direction-card:focus-visible .direction-copy small {
  color: rgba(255, 248, 232, 0.78);
}

.direction-link .direction-icon {
  background: #5c5b55;
}

.change-explorer {
  padding: clamp(82px, 10vw, 150px) 0;
}

.change-explorer > .shell,
.standards-network > .shell {
  position: relative;
  z-index: 1;
}

.section-heading-light p:not(.section-number) {
  color: rgba(247, 240, 223, 0.68);
}

.section-heading-light .section-number {
  color: #d89460;
}

.explorer-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 420px) 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 240, 223, 0.16);
  border-radius: var(--radius);
}

.search-field {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: rgba(247, 240, 223, 0.62);
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(247, 240, 223, 0.22);
  border-radius: 5px;
}

.search-field svg {
  width: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  color: var(--ink-inverse);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-field input::placeholder {
  color: rgba(247, 240, 223, 0.46);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  min-height: 34px;
  padding: 6px 12px;
  color: rgba(247, 240, 223, 0.72);
  background: transparent;
  border: 1px solid rgba(247, 240, 223, 0.24);
  border-radius: 999px;
  cursor: pointer;
}

.chip:hover,
.chip:focus-visible,
.chip.is-active {
  color: white;
  background: var(--red);
  border-color: var(--red);
  outline: 0;
}

.result-count {
  margin: 0;
  color: rgba(247, 240, 223, 0.54);
  font-size: 11px;
  white-space: nowrap;
}

.change-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.change-card {
  position: relative;
  display: flex;
  min-height: 230px;
  flex-direction: column;
  align-items: stretch;
  padding: 22px;
  color: var(--ink-inverse);
  text-align: left;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(247, 240, 223, 0.16);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border 180ms ease;
}

.change-card:hover,
.change-card:focus-visible {
  background: rgba(146, 53, 34, 0.24);
  border-color: rgba(222, 148, 96, 0.7);
  outline: none;
  transform: translateY(-4px);
}

.change-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.change-letter {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #f1c29c;
  border: 1px solid rgba(241, 194, 156, 0.55);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}

.change-category {
  color: rgba(247, 240, 223, 0.48);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.change-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.change-card p {
  margin-bottom: 22px;
  color: rgba(247, 240, 223, 0.64);
  font-size: 12px;
  line-height: 1.75;
}

.change-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.type-tag,
.dialog-tags span {
  padding: 3px 8px;
  border: 1px solid rgba(247, 240, 223, 0.2);
  border-radius: 999px;
  color: #e5b18b;
  font-size: 10px;
}

.change-card .open-mark {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: rgba(247, 240, 223, 0.48);
  font-size: 18px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 64px 24px;
  color: rgba(247, 240, 223, 0.62);
  text-align: center;
  border: 1px dashed rgba(247, 240, 223, 0.26);
}

.record-callout {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding: 28px;
  color: var(--ink);
  background: var(--paper);
  border-left: 4px solid var(--red);
}

.record-index {
  color: var(--red);
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1;
}

.record-callout h3 {
  margin-bottom: 8px;
  font-size: 27px;
}

.record-callout p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.record-callout a {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.comparison-board {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 80px minmax(260px, 1fr);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-small);
}

.comparison-head {
  min-height: 130px;
  padding: 28px;
}

.comparison-head span,
.comparison-head strong {
  display: block;
}

.comparison-head span {
  margin-bottom: 10px;
  font-size: 11px;
}

.comparison-head strong {
  font-family: var(--serif);
  font-size: 30px;
}

.comparison-head.old {
  color: #3c4f61;
  background: #e7edf0;
}

.comparison-head.modern {
  color: #722f22;
  background: #f1dfd9;
}

.comparison-axis {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 8px;
  color: var(--ink-soft);
  background: #eee5d6;
  font-size: 11px;
}

.comparison-axis i {
  width: 1px;
  height: 45px;
  background: var(--line-strong);
}

.comparison-row {
  display: contents;
}

.comparison-row > div {
  min-height: 154px;
  padding: 28px;
  border-top: 1px solid var(--line);
}

.comparison-row > div:first-child { background: rgba(231, 237, 240, 0.5); }
.comparison-row > div:last-child { background: rgba(241, 223, 217, 0.4); }

.comparison-row b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 20px;
}

.comparison-row p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.comparison-row .comparison-arrow {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--red);
  background: #eee5d6;
  font-size: 24px;
}

.scene-query {
  padding: clamp(80px, 10vw, 150px) 0;
  color: var(--ink-inverse);
  background: var(--red-dark);
}

.scene-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(480px, 1.28fr);
  gap: clamp(36px, 7vw, 110px);
}

.scene-intro h2 {
  max-width: 560px;
}

.scene-intro > p:not(.section-number) {
  max-width: 540px;
  color: rgba(247, 240, 223, 0.72);
}

.scene-intro .section-number {
  color: #e7a573;
}

.scene-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 32px;
}

.scene-tab {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  color: rgba(247, 240, 223, 0.78);
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(247, 240, 223, 0.22);
  cursor: pointer;
}

.scene-tab:hover,
.scene-tab:focus-visible,
.scene-tab[aria-selected="true"] {
  color: var(--ink);
  background: var(--paper);
  outline: 0;
}

.scene-tab span:last-child {
  font-size: 18px;
}

.scene-panel {
  min-height: 590px;
  padding: clamp(30px, 5vw, 64px);
  color: var(--ink);
  background: var(--paper);
  border-top: 5px solid var(--copper);
  box-shadow: 0 28px 70px rgba(39, 16, 10, 0.32);
}

.scene-panel h3 {
  max-width: 680px;
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.scene-summary {
  max-width: 680px;
  color: var(--ink-soft);
}

.scene-steps {
  display: grid;
  gap: 0;
  margin: 36px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
}

.scene-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  border-bottom: 1px solid var(--line);
}

.scene-steps span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 13px;
}

.scene-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.scene-related span {
  padding: 5px 10px;
  color: var(--red);
  background: rgba(146, 53, 34, 0.08);
  border-radius: 999px;
  font-size: 11px;
}

.standards-network {
  padding: clamp(90px, 11vw, 164px) 0;
}

.network-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) minmax(560px, 1.2fr);
  align-items: center;
  gap: clamp(48px, 7vw, 110px);
}

.network-copy .section-number { color: #d89460; }
.network-copy h2 { max-width: 650px; }
.network-copy > p { max-width: 640px; color: rgba(247, 240, 223, 0.68); }

.network-disclaimer {
  max-width: 620px;
  margin-top: 30px;
  padding: 16px 18px;
  color: #f0c5a1;
  border: 1px solid rgba(216, 148, 96, 0.4);
  font-size: 12px;
}

.network-map {
  position: relative;
  min-height: 640px;
  background:
    radial-gradient(circle, rgba(184, 109, 54, 0.1) 0 14%, transparent 14.5%),
    repeating-radial-gradient(circle, transparent 0 76px, rgba(247, 240, 223, 0.08) 77px 78px);
}

.network-center,
.network-node {
  position: absolute;
  z-index: 2;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 18px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
}

.network-center {
  top: 50%;
  left: 50%;
  width: 245px;
  height: 245px;
  color: #ffe0bd;
  background: radial-gradient(circle at 50% 40%, #6c4225, #2b2119 72%);
  border: 1px solid #cc8b54;
  box-shadow: 0 0 0 12px rgba(184, 109, 54, 0.08), 0 0 80px rgba(184, 109, 54, 0.18);
  transform: translate(-50%, -50%);
}

.network-center small,
.network-center strong,
.network-center span,
.network-node small,
.network-node strong,
.network-node span {
  display: block;
}

.network-center small,
.network-node small {
  margin-bottom: 8px;
  color: #dba376;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.network-center strong {
  font-family: var(--serif);
  font-size: 24px;
}

.network-center span {
  margin-top: 8px;
  color: rgba(255, 224, 189, 0.74);
  font-size: 12px;
}

.network-node {
  width: 178px;
  height: 178px;
  color: #d9eeeb;
  background: radial-gradient(circle at 50% 35%, #314e4e, #1d2827 75%);
  border: 1px solid #6caaa5;
  box-shadow: 0 0 0 9px rgba(108, 170, 165, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

a.network-node:hover,
a.network-node:focus-visible {
  outline: 0;
  transform: translateY(-5px);
  box-shadow: 0 0 0 11px rgba(108, 170, 165, 0.11), 0 18px 40px rgba(0, 0, 0, 0.28);
}

.network-node strong {
  font-family: var(--serif);
  font-size: 16px;
}

.network-node span {
  margin-top: 6px;
  color: rgba(217, 238, 235, 0.7);
  font-size: 10px;
  line-height: 1.4;
}

.node-safety { top: 2%; right: 8%; }
.node-pesticide { top: 2%; left: 8%; }
.node-specialized { right: 7%; bottom: 1%; }

.network-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: repeating-linear-gradient(to right, #c68a58 0 5px, transparent 5px 10px);
  transform-origin: left center;
}

.line-a { top: 31%; left: 26%; width: 180px; transform: rotate(31deg); }
.line-b { top: 42%; right: 22%; width: 185px; transform: rotate(-35deg); }
.line-c { right: 21%; bottom: 31%; width: 168px; transform: rotate(35deg); }

.readiness-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(46px, 8vw, 120px);
  align-items: start;
}

.readiness-copy {
  position: sticky;
  top: calc(var(--header-height) + 36px);
}

.readiness-copy > p:not(.section-number) {
  color: var(--ink-soft);
}

.check-progress {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.3);
}

.check-progress > span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
}

.progress-track {
  height: 6px;
  margin-bottom: 8px;
  overflow: hidden;
  background: rgba(92, 74, 56, 0.13);
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transition: width 260ms ease;
}

.check-progress small {
  color: var(--ink-soft);
}

.text-button {
  margin-top: 14px;
  padding: 0;
  color: var(--red);
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}

.checklist {
  border-top: 1px solid var(--line-strong);
}

.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.check-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-check {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 180ms ease, border 180ms ease;
}

.custom-check::after {
  width: 9px;
  height: 5px;
  content: "";
  border-bottom: 2px solid white;
  border-left: 2px solid white;
  opacity: 0;
  transform: rotate(-45deg) translate(1px, -1px);
}

.check-item input:checked + .custom-check {
  background: var(--olive);
  border-color: var(--olive);
}

.check-item input:checked + .custom-check::after {
  opacity: 1;
}

.check-item input:focus-visible + .custom-check {
  outline: 3px solid rgba(146, 53, 34, 0.25);
  outline-offset: 3px;
}

.check-item strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--serif);
  font-size: 19px;
}

.check-item p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.check-item:has(input:checked) strong {
  color: var(--olive);
}

.sources {
  border-top: 1px solid var(--line-strong);
  background: #e8dfcf;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.source-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 24px;
  text-decoration: none;
  background: rgba(250, 247, 240, 0.68);
  border: 1px solid var(--line-strong);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.source-card:hover,
.source-card:focus-visible {
  outline: none;
  transform: translateY(-4px);
  box-shadow: var(--shadow-small);
}

.source-status {
  width: fit-content;
  margin-bottom: 24px;
  padding: 3px 8px;
  color: var(--red);
  border: 1px solid rgba(146, 53, 34, 0.35);
  border-radius: 999px;
  font-size: 10px;
}

.source-card strong {
  font-family: var(--serif);
  font-size: 19px;
}

.source-card h3 {
  margin: 10px 0 14px;
  font-size: 21px;
}

.source-card p {
  margin-top: auto;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.source-card .source-arrow {
  align-self: flex-end;
  margin-top: 14px;
  color: var(--red);
}

.method-note {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line-strong);
}

.method-note strong {
  font-family: var(--serif);
  font-size: 20px;
}

.method-note p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.site-footer {
  padding: 42px 0;
  color: rgba(247, 240, 223, 0.72);
  background: #181714;
}

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

.footer-grid strong {
  color: var(--ink-inverse);
  font-family: var(--serif);
  font-size: 20px;
}

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

.footer-grid a {
  color: #e4af84;
  text-decoration: none;
}

.change-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(82vh, 820px);
  padding: 38px;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid var(--line-strong);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

.change-dialog::backdrop {
  background: rgba(21, 18, 15, 0.72);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.dialog-index {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.change-dialog h2 {
  padding-right: 40px;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.dialog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 32px;
}

.dialog-tags span {
  color: var(--red);
  border-color: rgba(146, 53, 34, 0.25);
}

.change-dialog section {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.change-dialog section h3 {
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
}

.change-dialog section p {
  margin-bottom: 0;
}

.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.dialog-actions a,
.dialog-next {
  padding: 11px 14px;
  color: var(--red);
  background: transparent;
  border: 1px solid rgba(146, 53, 34, 0.36);
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(146, 53, 34, 0.42);
  outline-offset: 3px;
}

@media (max-width: 1260px) {
  :root { --shell: min(1160px, calc(100vw - 40px)); }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 18px; }
  .brand small { display: none; }
  .site-nav { justify-content: center; gap: 18px; }
  .site-nav a { font-size: 12px; }
  .version-status > span:nth-child(2) { display: none; }
  .hero-grid { grid-template-columns: 0.92fr 1.08fr; gap: 40px; }
  .hero h1 { font-size: clamp(3.2rem, 6vw, 5.5rem); }
  .change-grid { grid-template-columns: repeat(3, 1fr); }
  .source-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  :root { --header-height: 68px; }
  .header-inner { grid-template-columns: 1fr auto auto; min-height: var(--header-height); }
  .nav-toggle { display: block; order: 3; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    display: none;
    width: min(360px, calc(100vw - 40px));
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--paper-light);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 13px 12px; }
  .site-nav a::after { display: none; }
  .version-status { order: 2; }
  .hero-grid,
  .network-grid,
  .readiness-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual { min-height: 500px; }
  .direction-grid { grid-template-columns: repeat(2, 1fr); }
  .explorer-toolbar { grid-template-columns: 1fr; }
  .result-count { justify-self: start; }
  .change-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-layout { grid-template-columns: 1fr; }
  .scene-tabs { grid-template-columns: repeat(4, 1fr); }
  .network-map { max-width: 720px; width: 100%; margin: 0 auto; }
  .readiness-copy { position: static; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 680px); }
  .brand strong { font-size: 15px; }
  .brand-mark { width: 38px; height: 38px; }
  .version-status { padding: 7px; }
  .version-status .status-date { font-size: 0; }
  .version-status .status-date::after { content: "2026.12.1"; font-size: 11px; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4.5rem); }
  .hero-lead { font-size: 0.98rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { min-height: 390px; }
  .switch-stamp { width: 104px; height: 104px; }
  .switch-stamp span { font-size: 13px; }
  .switch-stamp strong { font-size: 25px; }
  .blueprint-note { display: none; }
  .version-rail { grid-template-columns: 1fr; gap: 16px; }
  .rail-new { text-align: left; }
  .rail-line { order: 3; }
  .direction-grid,
  .change-grid,
  .source-grid {
    grid-template-columns: 1fr;
  }
  .direction-card { min-height: 145px; }
  .record-callout { grid-template-columns: 66px 1fr; }
  .record-index { font-size: 54px; }
  .record-callout a { grid-column: 2; }
  .comparison-board { grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr); }
  .comparison-head { min-height: 116px; padding: 18px 14px; }
  .comparison-head strong { font-size: 19px; }
  .comparison-row > div { min-height: 180px; padding: 18px 14px; }
  .comparison-row b { font-size: 17px; }
  .comparison-row p { font-size: 11px; }
  .scene-tabs { grid-template-columns: repeat(2, 1fr); }
  .scene-panel { min-height: 0; }
  .network-map { min-height: 600px; transform: scale(0.92); transform-origin: center top; }
  .network-center { width: 190px; height: 190px; }
  .network-center strong { font-size: 17px; }
  .network-node { width: 136px; height: 136px; padding: 12px; }
  .network-node strong { font-size: 12px; }
  .network-node span { font-size: 8px; }
  .node-safety { right: 0; }
  .node-pesticide { left: 0; }
  .node-specialized { right: 0; }
  .line-a, .line-b, .line-c { opacity: 0.35; }
  .method-note { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .change-dialog { padding: 28px 22px; }
  .dialog-actions { align-items: stretch; flex-direction: column; }
  .dialog-actions > * { text-align: center; }
}

@media (max-width: 420px) {
  .brand span:last-child { max-width: 128px; }
  .brand strong { white-space: nowrap; }
  .brand strong { line-height: 1.2; }
  .button { width: 100%; }
  .hero-visual { min-height: 320px; }
  .silo-blueprint { inset: 42px 0 12px; width: 100%; height: calc(100% - 54px); }
  .network-map { min-height: 520px; transform: scale(0.82); }
  .source-card { min-height: 220px; }
}

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