:root {
  color-scheme: dark;
  --bg: #0e1116;
  --panel: #131820;
  --panel-strong: #171d26;
  --text: #e7e6e1;
  --muted: #9a9b98;
  --faint: #858a92;
  --line: #252c36;
  --line-strong: #303846;
  --accent: #d4a857;
  --page-max: 960px;
  --page-gutter: clamp(28px, 6vw, 88px);
  --page-width: min(calc(100% - var(--page-gutter) - var(--page-gutter)), var(--page-max));
  --reading: 680px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 82% 8%, rgb(212 168 87 / 7%), transparent 28rem), var(--bg);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
}

body, a, button { -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h2, h3 { line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--bg);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus-visible { transform: none; }

.site-header, .site-footer {
  width: var(--page-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header { min-height: 68px; border-bottom: 1px solid var(--line); }
.brand { flex: 0 0 auto; font: 600 13px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }

.site-nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.site-nav a { position: relative; padding: 22px 0; transition: color .2s ease; }

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

.site-nav a:hover, .site-nav [aria-current="page"], .site-nav [aria-current="location"] { color: var(--accent); }
.site-nav a:hover::after, .site-nav [aria-current="page"]::after, .site-nav [aria-current="location"]::after { transform: scaleX(1); }

main {
  width: var(--page-width);
  min-height: 70vh;
  margin: 0 auto;
}

.page-shell { padding: 0 0 96px; }

.site-footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font: 11px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: var(--accent); }

[data-page="home"] main { width: 100%; }
[data-page="home"] .home-section { width: var(--page-width); margin-inline: auto; }

.home-hero--official {
  position: relative;
  display: flex;
  min-height: calc(100svh - 68px);
  align-items: center;
  justify-content: center;
  padding: 0 var(--page-gutter) 116px;
  overflow: hidden;
  isolation: isolate;
}

.home-orbits {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 920px;
  max-width: none;
  height: auto;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  width: min(100%, 900px);
  margin-top: -32px;
  text-align: center;
}

.home-hero-copy .eyebrow { margin: 0; color: rgb(212 168 87 / 80%); letter-spacing: .2em; }

.home-hero--official h1 {
  margin: 28px 0 0;
  color: var(--text);
  font-size: clamp(2.35rem, 5vw, 4.15rem);
  font-weight: 560;
  letter-spacing: -.05em;
  line-height: 1.16;
  text-align: center;
  text-wrap: balance;
}

.hero-title-line { display: block; margin-top: 4px; }
.accent-word { color: var(--accent); }

.hero-rule {
  display: block;
  width: 40px;
  height: 1px;
  margin: 32px auto 0;
  background: rgb(212 168 87 / 60%);
}

.home-hero--official .hero-deck {
  max-width: none;
  margin: 28px 0 0;
  color: rgb(231 230 225 / 60%);
  font-size: clamp(.9rem, 1.4vw, 1rem);
  font-weight: 300;
  line-height: 1.7;
}

.orbit-projects {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 36px;
  display: flex;
  width: min(calc(100% - var(--page-gutter) - var(--page-gutter)), 768px);
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font: 9px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  transform: translateX(-50%);
}

.orbit-project-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; color: rgb(212 168 87 / 70%); list-style: none; }
.orbit-project-list li + li::before { margin-right: 10px; color: var(--faint); content: "/"; }

.detail-hero h1 {
  max-width: 920px;
  margin: 12px 0 20px;
  font-size: clamp(2.5rem, 6.5vw, 6.2rem);
  font-weight: 560;
  letter-spacing: -.05em;
  line-height: 1.01;
  text-wrap: balance;
}

.detail-hero > p:last-child {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.8;
}

.eyebrow, .section-heading span, .status {
  color: var(--accent);
  font: 11px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.home-section { padding: 96px 0; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: 1rem; font-weight: 500; }

.work-grid, .method-grid, .method-cards, .metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.work-index-grid { padding: 64px 0; }

.work-card, .feature-card, .method-card, .writing-card, .evidence-card, .now-card {
  display: block;
  min-width: 0;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  background: color-mix(in srgb, var(--panel) 74%, transparent);
}

.work-card, .feature-card, .method-card, .writing-card, .evidence-card, .page-nav a {
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.work-card:hover, .feature-card:hover, .method-card:hover, .page-nav a:hover {
  border-color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 50%, var(--line));
  background: var(--panel-strong);
  transform: translateY(-3px);
}

.work-card--flagship {
  border: 1px solid var(--accent);
  border-color: color-mix(in srgb, var(--accent) 62%, var(--line));
  box-shadow: inset 3px 0 0 rgb(212 168 87 / 68%);
}

.work-card h2, .work-card h3, .feature-card h3, .method-card h3, .writing-card h3 { margin: 10px 0 12px; }
.work-card > p:not(.status), .feature-card > p, .method-card > p:not(.status), .writing-card > p { color: var(--muted); }
.work-card > a, .method-card > a, .feature-card, .home-section > a:not(.feature-card), .home-section > p + a { color: var(--accent); }

.system-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
  gap: 40px;
  align-items: center;
  color: var(--text);
}

.system-feature-copy h3,
.home-writing-card h3 { margin: 8px 0 12px; }

.system-feature-copy > p:not(.status),
.home-writing-card > p:not(.status) { color: var(--muted); }

.feature-boundary { font-size: .86rem; }

.feature-flow,
.home-method-loop {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: system-stage;
}

.feature-flow li {
  position: relative;
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px 10px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  font-size: .84rem;
  text-align: center;
  counter-increment: system-stage;
}

.feature-flow li::before {
  color: var(--accent);
  font: 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  content: "0" counter(system-stage);
}

.feature-flow li + li { border-left: 1px solid var(--line); }

.home-method-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}

.home-method-intro > p { margin: 0; color: var(--muted); }
.home-method-intro a { color: var(--accent); }

.home-method-loop {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.home-method-loop li {
  padding: 9px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: center;
}

.home-method-card { min-height: 178px; }

.home-practice-systems {
  margin: 36px 0 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-practice-systems__heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.home-practice-systems__heading p { margin: 0; }
.home-practice-systems__heading a { color: var(--accent); }

.home-writing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.home-writing-card { min-height: 188px; color: var(--text); }
.home-writing-card--article { border-style: solid; }

.writing-hero {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(320px, .8fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: end;
  padding: 88px 0 54px;
  border-bottom: 1px solid var(--line);
}

.writing-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(4.2rem, 8vw, 6.7rem);
  font-weight: 560;
  letter-spacing: -.07em;
  line-height: .9;
}

.writing-hero > p {
  max-width: 520px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
}

.writing-archive { padding: 58px 0 28px; }

.writing-archive__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 22px;
}

.writing-archive__heading .eyebrow { margin-bottom: 8px; }
.writing-archive__heading h2 { margin: 0; font-size: 1.45rem; font-weight: 520; letter-spacing: -.02em; }
.writing-archive__heading > p { margin: 0 0 2px; color: var(--faint); font-size: .82rem; }

.article-index {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.article-entry {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  gap: 34px;
  align-items: start;
  padding: 30px 18px 30px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s ease, color .2s ease;
}

.article-entry__meta {
  display: grid;
  gap: 5px;
  padding-top: 5px;
  color: var(--faint);
  font: 10px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .06em;
}

.article-entry__meta > :first-child { color: var(--accent); }
.article-entry__body h3 { margin: 0 0 8px; font-size: clamp(1.25rem, 2.4vw, 1.9rem); font-weight: 520; letter-spacing: -.025em; }
.article-entry__body p { max-width: 680px; margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.75; }

.article-entry__action {
  align-self: center;
  color: var(--accent);
  font-size: .78rem;
  white-space: nowrap;
  transition: transform .2s ease;
}

.article-entry:hover { background: linear-gradient(90deg, rgb(212 168 87 / 6%), transparent 74%); }
.article-entry:hover .article-entry__body h3 { color: var(--accent); }
.article-entry:hover .article-entry__action { transform: translateX(4px); }

.systems-hero { position: relative; }

.systems-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 36px;
  color: var(--faint);
  font: 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.systems-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 64px 0 78px;
  border-bottom: 1px solid var(--line);
}

.system-card {
  display: flex;
  min-width: 0;
  min-height: 470px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgb(23 29 38 / 82%), rgb(19 24 32 / 54%));
}

.system-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.system-card__meta > span { color: var(--faint); font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.system-card__meta .status { margin: 0; text-align: right; }
.system-card h2, .system-card h3 { margin: 28px 0 14px; font-size: clamp(1.28rem, 2vw, 1.65rem); }
.system-card > p:not(.status) { color: var(--muted); }
.system-card > a { margin-top: auto; padding-top: 22px; color: var(--accent); }
.system-card__boundary { font-size: .82rem; }

.system-card__flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  list-style: none;
}

.system-card__flow li {
  min-width: 0;
  padding: 10px 8px;
  background: var(--panel);
  color: var(--muted);
  font: 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  text-align: center;
}

.system-card--research { box-shadow: inset 0 2px 0 rgb(212 168 87 / 65%); }
.system-card--reading { box-shadow: inset 0 2px 0 rgb(142 163 188 / 45%); }
.system-card--learning { border-style: dashed; background: transparent; }

.home-systems-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.home-systems-grid .system-card { min-height: 248px; padding: 18px; }
.home-systems-grid .system-card h3 { margin: 18px 0 12px; font-size: 1.1rem; }
.home-systems-grid .system-card > p:last-child { margin-bottom: 0; font-size: .86rem; }
.systems-index-link { display: inline-block; margin-top: 22px; }
.working-systems-section > .home-systems-grid { max-width: none; }

.related-paths { display: grid; gap: 10px; }
.related-paths a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 16px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.related-paths span { grid-row: 1 / 3; color: var(--accent); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase; }
.related-paths small { color: var(--muted); }
.inline-link { color: var(--accent); }

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.detail-actions a {
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--accent);
  font-size: .78rem;
  transition: border-color .2s ease, background-color .2s ease;
}

.detail-actions a:hover { border-color: var(--accent); background: var(--panel); }

.phti-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 30px 0 0;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
  list-style: none;
}

.phti-fact-strip li { min-width: 0; padding: 18px; background: var(--panel); }
.phti-fact-strip span, .phti-fact-strip small { display: block; color: var(--faint); font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.phti-fact-strip strong { display: block; margin: 8px 0; overflow-wrap: anywhere; color: var(--text); font-size: clamp(1.35rem, 2vw, 2.1rem); font-weight: 520; }

.phti-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.phti-product-grid .media-frame { max-width: none; margin: 0; }
.phti-shot--wide { grid-column: 1 / -1; }
.phti-shot:not(.phti-shot--wide) img { width: 100%; height: 560px; object-fit: contain; background: #0b0e13; }
.phti-shot figcaption { display: grid; gap: 5px; padding: 14px 4px 2px; }
.phti-shot figcaption strong { color: var(--accent); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.phti-shot figcaption span { color: var(--muted); font-size: .78rem; }

.phti-evidence-list { display: grid; gap: 14px; margin-top: 30px; }

.phti-evidence-chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
}

.phti-evidence-chain header {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.phti-evidence-chain header > span { color: var(--accent); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.phti-evidence-chain h3 { margin: 0; font-size: 1rem; font-weight: 520; }
.phti-evidence-chain > div { min-width: 0; padding: 20px; border-left: 1px solid var(--line); }
.phti-evidence-chain > div:nth-of-type(1) { border-left: 0; }
.phti-evidence-chain small { color: var(--faint); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.phti-evidence-chain p { margin: 12px 0 0; font-size: .86rem; }
.phti-evidence-chain em { display: block; margin-top: 16px; color: var(--accent); font: normal 10px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }
.phti-evidence-finding { background: linear-gradient(180deg, rgb(212 168 87 / 6%), transparent); }

.phti-state {
  padding: 6px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--faint);
  font: 9px ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: nowrap;
}

.phti-state--partial { border-color: rgb(212 168 87 / 46%); color: var(--accent); }

.phti-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: none !important;
}

.phti-ledger-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.phti-ledger-card--current { box-shadow: inset 0 2px 0 rgb(212 168 87 / 62%); }
.phti-ledger-card--pending { border-style: dashed; background: transparent; }
.phti-ledger-card > span { color: var(--accent); font: 9px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .06em; }
.phti-ledger-card h3 { margin: 16px 0; font-size: 1.05rem; }
.phti-ledger-card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .78rem; }
.phti-ledger-card li + li { margin-top: 8px; }

.phti-archive-frame { grid-column: 1 / -1; max-width: none; margin: 4px 0 0; }
.phti-archive-frame .media-status { position: relative; right: auto; bottom: auto; display: inline-block; margin-top: 12px; }
.phti-archive-frame p { position: relative; z-index: 2; margin: 12px 0 0; color: var(--muted); font-size: .78rem; }

.detail-meta,
.fact-strip,
.content-grid,
.sample-grid,
.decision-grid,
.responsibility-grid,
.article-meta,
.run-ledger {
  display: grid;
  gap: 16px;
}

.detail-meta {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none !important;
  margin-top: 30px;
}

.detail-meta > div,
.fact-strip > li,
.sample-card,
.decision-card,
.responsibility-card,
.article-meta > div,
.run-ledger > article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.detail-meta dt,
.article-meta dt,
.sample-card > span,
.decision-card > span,
.responsibility-card > span,
.run-ledger article > span,
.timeline-list time,
.content-label {
  color: var(--accent);
  font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.detail-meta dd,
.article-meta dd { margin: 7px 0 0; color: var(--muted); font-size: .82rem; }

.fact-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.fact-strip strong { display: block; margin: 7px 0; font-size: 1.06rem; font-weight: 560; }
.fact-strip small { display: block; color: var(--muted); font-size: .76rem; }

.content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none !important; }
.content-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.content-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(180deg, rgb(23 29 38 / 78%), rgb(19 24 32 / 58%));
}

.content-panel h3 { margin: 8px 0 12px; font-size: 1.08rem; }
.content-panel p:last-child { margin-bottom: 0; }
.content-panel ul, .content-panel ol { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.content-panel li + li { margin-top: 8px; }

.process-list,
.timeline-list,
.source-list,
.handoff-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list > li,
.timeline-list > li,
.source-list > li,
.handoff-list > li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.process-list > li:last-child,
.timeline-list > li:last-child,
.source-list > li:last-child,
.handoff-list > li:last-child { border-bottom: 1px solid var(--line); }
.process-list .step-no,
.handoff-list .step-no { color: var(--accent); font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.process-list h3,
.timeline-list h3,
.source-list h3,
.handoff-list h3 { margin: 0 0 8px; font-size: 1rem; }
.process-list p,
.timeline-list p,
.source-list p,
.handoff-list p { margin: 0; color: var(--muted); }
.process-list small,
.handoff-list small { display: block; margin-top: 8px; color: var(--faint); }

.technical-route {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 24px 0 30px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  list-style: none;
}

.technical-route li { position: relative; min-width: 0; padding: 14px 10px; }
.technical-route li + li { border-left: 1px solid var(--line); }
.technical-route li + li::before { position: absolute; left: -7px; top: 50%; padding: 0 2px; background: var(--panel); color: var(--accent); content: "→"; transform: translateY(-50%); }
.technical-route span, .technical-route small { display: block; color: var(--faint); font: 9px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; }
.technical-route strong { display: block; margin: 5px 0; font-size: .78rem; font-weight: 560; }

.sample-run {
  max-width: none !important;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #10151c;
}

.sample-run > header { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.sample-run > header h3 { margin: 5px 0 0; }
.sample-run > header p { max-width: 460px; margin: 0; color: var(--muted); font-size: .82rem; }
.technical-run { margin-top: 32px; }
.sample-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.sample-card h3 { margin: 10px 0; font-size: .98rem; }
.sample-card p, .sample-card li { color: var(--muted); font-size: .82rem; }
.sample-card ul { margin: 10px 0 0; padding-left: 18px; }
.sample-card--accent { border-color: rgb(212 168 87 / 42%); background: linear-gradient(180deg, rgb(212 168 87 / 7%), var(--panel)); }

.real-output-flow { margin-top: 26px; }
.evidence-chain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 12px 0 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--panel);
  list-style: none;
}
.evidence-chain li { position: relative; min-width: 0; padding: 20px; }
.evidence-chain li + li { border-left: 1px solid var(--line); }
.evidence-chain li + li::before { position: absolute; left: -7px; top: 50%; padding: 0 2px; background: var(--panel); color: var(--accent); content: "→"; transform: translateY(-50%); }
.evidence-chain span, .evidence-chain small { display: block; color: var(--faint); font: 9px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.evidence-chain small { margin-top: 6px; }
.evidence-chain blockquote { margin: 16px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.75; }

.contract-table {
  max-width: none !important;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.contract-table table { width: 100%; min-width: 680px; border-collapse: collapse; }
.contract-table th, .contract-table td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.contract-table th + th, .contract-table td + td { border-left: 1px solid var(--line); }
.contract-table th { color: var(--accent); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.contract-table td { color: var(--muted); font-size: .82rem; }
.contract-table tr:last-child td { border-bottom: 0; }

.decision-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none !important; }
.decision-card h3, .responsibility-card h3, .run-ledger h3 { margin: 10px 0; font-size: 1rem; }
.decision-card p, .responsibility-card p, .run-ledger p { margin: 0; color: var(--muted); font-size: .82rem; }
.decision-card--stop { border-style: dashed; background: transparent; }

.responsibility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none !important; }
.responsibility-card--human { box-shadow: inset 0 2px 0 rgb(212 168 87 / 62%); }
.responsibility-card--ai { box-shadow: inset 0 2px 0 rgb(142 163 188 / 52%); }

.run-ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none !important; }
.run-ledger article ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); font-size: .8rem; }

@media (max-width: 1020px) and (min-width: 721px) {
  .systems-index,
  .home-systems-grid,
  .content-grid--three,
  .sample-grid,
  .decision-grid,
  .run-ledger,
  .phti-ledger,
  .about-principles-grid,
  .about-focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .detail-meta,
  .fact-strip,
  .phti-fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .system-card { min-height: 0; }
  .technical-route { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .technical-route li:nth-child(4) { border-left: 0; }
  .technical-route li:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .technical-route li:nth-child(4)::before { content: none; }
  .evidence-chain { grid-template-columns: 1fr; }
  .evidence-chain li + li { border-top: 1px solid var(--line); border-left: 0; }
  .evidence-chain li + li::before { left: 18px; top: -8px; content: "↓"; transform: none; }
  .phti-evidence-chain { grid-template-columns: 1fr; }
  .phti-evidence-chain > div, .phti-evidence-chain > div:nth-of-type(1) { border-top: 1px solid var(--line); border-left: 0; }
}

.evidence-type {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 5px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--faint);
  font: 9px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.evidence-type--confirmed { border-color: rgb(212 168 87 / 45%); color: var(--accent); }
.evidence-type--pending { border-style: dashed; }

.quote-card {
  max-width: var(--reading);
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--panel);
  font-size: 1.05rem;
}

.quote-card footer { margin-top: 14px; color: var(--faint); font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }

.article-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 28px 0; }
.article-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.article-actions a { padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--accent); font-size: .8rem; }
.article-actions a:hover { border-color: var(--accent); background: var(--panel); }

[data-page^="writing-"] .detail-hero { padding-top: 72px; }

.article-back-link {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--faint);
  font-size: .78rem;
  transition: color .2s ease, transform .2s ease;
}

.article-back-link:hover { color: var(--accent); transform: translateX(-3px); }

.long-copy { max-width: var(--reading); }
.long-copy h3 { margin: 36px 0 12px; }
.long-copy h3:first-child { margin-top: 0; }
.long-copy p, .long-copy li { color: var(--muted); }
.long-copy strong { color: var(--text); }
.long-copy ul, .long-copy ol { padding-left: 22px; }

.module-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent);
  font-size: .84rem;
}

.compact-note { color: var(--faint); font-size: .78rem; }

.method-context {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 48px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgb(14 17 22 / 92%);
  color: var(--faint);
  font: 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .05em;
  backdrop-filter: blur(14px);
}

.method-context a { color: var(--accent); transition: color .2s ease; }
.method-context a:hover { color: var(--text); }
.method-context__separator { color: var(--line-strong); }
.method-context__current { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.method-context__count { color: var(--accent); letter-spacing: .1em; }

.detail-hero { padding: 110px 0 80px; border-bottom: 1px solid var(--line); }
[data-page^="method-"] .detail-hero { padding-top: 72px; }
.detail-hero > p:not(.eyebrow) { max-width: var(--reading); }
.detail-hero > p:not(.eyebrow):not(:last-child) { color: var(--muted); font-size: 1.05rem; }

.case-section {
  display: grid;
  grid-template-columns: minmax(140px, .35fr) minmax(0, 1fr);
  gap: 56px;
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
}

.case-section > h2, .case-section > .eyebrow { margin: 0; }
.case-section > :not(h2):not(.eyebrow) { min-width: 0; grid-column: 2; }
.case-section > p, .case-section > div, .case-section > ol { max-width: var(--reading); }

.media-frame {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 28px auto;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #11161d;
  box-shadow: 0 24px 70px rgb(0 0 0 / 28%);
}

.media-frame--card { aspect-ratio: 16 / 10; margin: 0 0 20px; padding: 9px; overflow: hidden; }
.media-frame img { width: 100%; height: auto; display: block; border-radius: 8px; }
.media-frame--card img { height: 100%; object-fit: cover; object-position: top center; }
.media-frame--portrait { max-width: 460px; }
.media-frame--portrait img { filter: brightness(.82) saturate(.82); }
.media-frame--task-radar-cover img { filter: none; }

.media-frame--unverified {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.media-frame--unverified img { filter: brightness(.5) saturate(.42); }

.media-frame--unverified::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgb(14 17 22 / 10%), rgb(14 17 22 / 58%));
  content: "";
  pointer-events: none;
}

.media-frame--phti-preview img { filter: brightness(.82) saturate(.72); }
.media-frame--phti-preview::after { opacity: .42; }

.media-status {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border: 1px solid rgb(212 168 87 / 55%);
  border-radius: 999px;
  background: rgb(14 17 22 / 90%);
  color: var(--accent);
  font: 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
}
.evidence-card .media-frame:first-child { margin-top: 0; }
.evidence-card .media-frame:last-child { margin-bottom: 0; }

.boundary-note {
  max-width: var(--reading);
  margin: 44px 0;
  padding: 16px 18px;
  border-left: 2px solid var(--accent);
  background: var(--panel);
  color: var(--muted);
}

.boundary-note h2 { margin: 0 0 8px; color: var(--text); font-size: 1rem; }
.boundary-note p:last-child { margin-bottom: 0; }

.page-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 48px 0 0;
}

.page-nav a {
  display: flex;
  min-width: 0;
  min-height: 64px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}

.page-nav a:nth-child(2) { justify-content: center; text-align: center; }
.page-nav a:last-child { justify-content: flex-end; text-align: right; }

.method-footer-nav {
  display: grid;
  grid-template-columns: minmax(180px, .58fr) minmax(0, 1.42fr);
  gap: 12px;
  padding: 48px 0 0;
}

.method-footer-nav a {
  display: grid;
  min-width: 0;
  min-height: 78px;
  align-content: center;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.method-footer-nav a:hover {
  border-color: rgb(212 168 87 / 52%);
  background: var(--panel-strong);
  color: var(--text);
  transform: translateY(-2px);
}

.method-footer-nav a span { color: var(--faint); font: 9px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; }
.method-footer-nav a strong { color: var(--text); font-size: .86rem; font-weight: 520; }

.method-footer-nav__index {
  border-color: rgb(212 168 87 / 38%) !important;
  background: linear-gradient(145deg, rgb(212 168 87 / 7%), transparent);
}

.method-footer-nav__index span { color: var(--accent) !important; }
.method-footer-nav__siblings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.method-footer-nav__next { text-align: right; }
.method-footer-nav__next:only-child { grid-column: 2; }
.method-footer-nav__previous:only-child { grid-column: 1; }

.system-map, .method-loop, .practice-loop { display: grid; margin: 0; padding: 0; list-style: none; }
.system-map { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.practice-loop { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.system-map li, .practice-loop li {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}

.system-map strong, .practice-loop strong { color: var(--accent); }
.system-map span, .practice-loop span { color: var(--muted); font-size: .9rem; }

.loop-section > .loop-diagram,
.case-section > .loop-diagram { max-width: none; }

.loop-diagram {
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgb(212 168 87 / 8%), transparent 38%),
    #10151c;
}

.loop-diagram--embedded { margin-top: 26px; padding: 20px; }
.loop-diagram__lead { max-width: 560px; margin: 0 0 24px; color: var(--text); font-size: 1rem; }
.loop-diagram__note { max-width: 620px; margin: 24px 0 0; color: var(--muted); font-size: .84rem; }

.loop-canvas { position: relative; }

.method-loop {
  position: relative;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(112px, auto) 62px minmax(112px, auto);
  gap: 0 28px;
}

.method-loop li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 4px 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(145deg, rgb(23 29 38 / 96%), rgb(19 24 32 / 90%));
}

.method-loop li:nth-child(1) { grid-column: 1; grid-row: 1; }
.method-loop li:nth-child(2) { grid-column: 2; grid-row: 1; }
.method-loop li:nth-child(3) { grid-column: 3; grid-row: 1; }
.method-loop li:nth-child(4) { grid-column: 3; grid-row: 3; }
.method-loop li:nth-child(5) { grid-column: 2; grid-row: 3; }
.method-loop li:nth-child(6) {
  grid-column: 1;
  grid-row: 3;
  border-color: rgb(212 168 87 / 48%);
  background: linear-gradient(145deg, rgb(212 168 87 / 10%), rgb(19 24 32 / 92%));
}

.method-loop .loop-step {
  grid-row: 1 / 3;
  color: var(--accent);
  font: 10px ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .08em;
}

.method-loop strong { align-self: start; font-size: .96rem; font-weight: 560; }
.method-loop small { align-self: start; color: var(--muted); font-size: .75rem; line-height: 1.55; }

.method-loop li::after {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid rgb(212 168 87 / 26%);
  border-radius: 50%;
  background: #10151c;
  color: var(--accent);
  font: 14px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.method-loop li:nth-child(1)::after,
.method-loop li:nth-child(2)::after { right: -27px; top: 50%; content: "→"; transform: translateY(-50%); }
.method-loop li:nth-child(3)::after { left: 50%; bottom: -43px; content: "↓"; transform: translateX(-50%); }
.method-loop li:nth-child(4)::after,
.method-loop li:nth-child(5)::after { left: -27px; top: 50%; content: "←"; transform: translateY(-50%); }
.method-loop li:nth-child(6)::after { left: 50%; top: -43px; content: "↑"; transform: translateX(-50%); }

.loop-core {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: flex;
  width: max-content;
  max-width: calc(100% - 120px);
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 8px 14px;
  border: 1px solid rgb(212 168 87 / 22%);
  border-radius: 999px;
  background: #10151c;
  transform: translate(-50%, -50%);
}

.loop-core span { color: var(--accent); font: 9px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.loop-core span::before { content: "↺ "; }
.loop-core strong { color: var(--text); font-size: .75rem; font-weight: 520; }

.system-stages { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }

.system-stage {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font: 11px ui-monospace, SFMono-Regular, Consolas, monospace;
}

.method-card dl { margin: 20px 0; }
.method-card dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.method-card dt { color: var(--accent); font: 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.method-card dd { margin: 4px 0 0; color: var(--muted); }

.method-card[id],
#articles { scroll-margin-top: 92px; }

.about-principles-grid,
.about-focus-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: none !important;
}

.case-comparison { display: grid; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.case-comparison [role="row"] { display: grid; grid-template-columns: .6fr 1fr 1.5fr; min-width: 620px; }
.case-comparison [role="row"] + [role="row"] { border-top: 1px solid var(--line); }
.case-comparison [role="cell"], .case-comparison [role="columnheader"] { padding: 14px; }
.case-comparison [role="cell"] + [role="cell"], .case-comparison [role="columnheader"] + [role="columnheader"] { border-left: 1px solid var(--line); }
.case-comparison [role="columnheader"] { color: var(--accent); font-size: .8rem; }

.now-card { margin-top: 76px; }
.now-card .boundary-note { margin-bottom: 0; }

[data-reveal] { transition: opacity .55s ease, transform .55s ease; }
.reveal-enabled [data-reveal] { opacity: 0; transform: translateY(18px); }
.reveal-enabled [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) and (min-width: 721px) {
  .article-meta,
  .about-principles-grid,
  .about-focus-grid,
  .system-map,
  .practice-loop { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-header { min-height: 0; flex-wrap: wrap; align-items: center; padding: 16px 0 10px; gap: 8px 18px; }
  .brand { padding-top: 0; }
  .site-nav { width: 100%; max-width: none; justify-content: space-between; gap: clamp(8px, 3vw, 18px); overflow: visible; font-size: 12px; }
  .site-nav a { padding: 6px 0 12px; }
  .page-shell { padding-bottom: 72px; }
  .home-hero--official { min-height: calc(100svh - 88px); padding: 0 var(--page-gutter) 132px; }
  .home-orbits { width: 760px; top: 45%; }
  .home-hero-copy { margin-top: -20px; }
  .home-hero--official h1 { font-size: 1.95rem; letter-spacing: -.05em; line-height: 1.16; }
  .orbit-projects { bottom: 28px; align-items: flex-start; flex-direction: column; gap: 10px; }
  .orbit-project-list { gap: 8px; }
  .orbit-project-list li + li::before { margin-right: 8px; }
  .detail-hero h1 { font-size: 2.25rem; letter-spacing: -.04em; }
  .home-section { padding: 64px 0; }
  .work-index-grid { padding: 48px 0; }
  .method-context { min-height: 44px; gap: 7px; }
  .method-context__count { letter-spacing: .04em; }
  .detail-hero { padding: 84px 0 58px; }
  [data-page^="method-"] .detail-hero { padding-top: 54px; }

  .work-grid, .method-grid, .method-cards, .metric-grid, .case-section,
  .system-map, .method-loop, .practice-loop, .page-nav, .system-feature, .home-method-intro,
  .home-writing-grid, .systems-index, .home-systems-grid, .phti-fact-strip, .phti-product-grid,
  .phti-evidence-chain, .phti-ledger, .detail-meta, .fact-strip, .content-grid, .content-grid--three,
  .sample-grid, .decision-grid, .responsibility-grid, .article-meta, .run-ledger { grid-template-columns: 1fr; }

  .case-section { gap: 18px; padding: 54px 0; }
  .loop-diagram { padding: 18px; }
  .loop-diagram__lead { margin-bottom: 20px; font-size: .94rem; }
  .loop-diagram__note { margin-top: 20px; }
  .method-loop { grid-template-columns: 1fr; grid-template-rows: none; gap: 28px; }
  .method-loop li:nth-child(n) { grid-column: 1; grid-row: auto; min-height: 92px; }
  .method-loop li:nth-child(n)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -27px;
    content: "↓";
    transform: translateX(-50%);
  }
  .loop-core {
    position: static;
    width: 100%;
    max-width: none;
    justify-content: center;
    margin-top: 28px;
    border-radius: 10px;
    text-align: center;
    transform: none;
  }
  .phti-shot--wide, .phti-archive-frame { grid-column: auto; }
  .phti-shot:not(.phti-shot--wide) img { height: 440px; }
  .phti-evidence-chain header { grid-template-columns: auto minmax(0, 1fr); }
  .phti-evidence-chain header .phti-state { grid-column: 1 / -1; justify-self: start; }
  .phti-evidence-chain > div, .phti-evidence-chain > div:nth-of-type(1) { border-top: 1px solid var(--line); border-left: 0; }
  .system-feature { gap: 24px; }
  .feature-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-flow li:nth-child(3) { border-left: 0; }
  .feature-flow li:nth-child(n + 3) { border-top: 0; }
  .home-method-intro { gap: 18px; }
  .systems-index { padding: 48px 0 58px; }
  .system-card { min-height: 0; }
  .home-method-loop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .writing-hero { grid-template-columns: 1fr; gap: 26px; padding: 64px 0 42px; }
  .writing-hero h1 { font-size: 3.8rem; }
  .writing-hero > p { max-width: 34rem; margin: 0; }
  .writing-archive { padding: 44px 0 8px; }
  .writing-archive__heading { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .article-entry { grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 24px 0; }
  .article-entry__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 0; }
  .article-entry__meta > :nth-child(2)::before { margin-right: 8px; color: var(--line-strong); content: "/"; }
  .article-entry__body h3 { font-size: 1.2rem; }
  .article-entry__body p { font-size: .84rem; }
  .article-entry__action { align-self: start; padding-top: 3px; }
  .case-section > :not(h2):not(.eyebrow) { grid-column: auto; }
  .about-principles-grid, .about-focus-grid { grid-template-columns: 1fr; }
  .page-nav a, .page-nav a:nth-child(2), .page-nav a:last-child { justify-content: flex-start; text-align: left; }
  .method-footer-nav { grid-template-columns: 1fr; padding-top: 38px; }
  .method-footer-nav__siblings { grid-template-columns: 1fr; }
  .method-footer-nav__siblings > a { grid-column: auto; min-height: 68px; text-align: left; }
  .media-frame { padding: 8px; }
  .boundary-note { margin: 32px 0; }
  .sample-run { padding: 16px; }
  .sample-run > header { flex-direction: column; }
  .technical-route { grid-template-columns: 1fr; }
  .technical-route li + li { border-top: 1px solid var(--line); border-left: 0; }
  .technical-route li + li::before { left: 18px; top: -8px; content: "↓"; transform: none; }
  .evidence-chain { grid-template-columns: 1fr; }
  .evidence-chain li + li { border-top: 1px solid var(--line); border-left: 0; }
  .evidence-chain li + li::before { left: 18px; top: -8px; content: "↓"; transform: none; }
  .process-list > li, .timeline-list > li, .source-list > li, .handoff-list > li { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .site-footer { gap: 16px; }
}

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

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

  .reveal-enabled [data-reveal] { opacity: 1; transform: none; transition: none; }
  .work-card:hover, .feature-card:hover, .method-card:hover, .page-nav a:hover { transform: none; }
}
