:root {
  --bg: #f4f2ec;
  --surface: #fffefa;
  --surface-2: #ebe8df;
  --ink: #1d2523;
  --muted: #68716d;
  --line: #d6d7d1;
  --accent: #087f6b;
  --accent-dark: #075e51;
  --accent-soft: #d9eee8;
  --warn: #b5552d;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(29, 37, 35, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  padding: .8rem 1rem;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(214, 215, 209, .78);
  background: rgba(244, 242, 236, .88);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-weight: 760;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}

.nav-links, .social-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  font-size: .92rem;
}

.nav-links a, .social-links a { color: var(--muted); }
.nav-links a:hover, .social-links a:hover { color: var(--ink); }

.menu-button {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 10px;
  padding: .55rem .75rem;
  color: var(--ink);
}

main { overflow: hidden; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

.hero {
  min-height: 77vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr);
  align-items: center;
  gap: clamp(2rem, 8vw, 7rem);
  padding-block: clamp(5rem, 12vw, 9rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: .94;
  letter-spacing: -.07em;
  font-weight: 760;
}

.detail-hero h1 { font-size: clamp(2.8rem, 7vw, 6.6rem); }

.lede {
  max-width: 700px;
  color: #4b5652;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 46px;
  padding: .75rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 700;
}

.button.secondary { background: transparent; color: var(--ink); }
.button:hover { transform: translateY(-1px); }

.hero-proof {
  position: relative;
  min-height: 430px;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-proof::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -44px;
  top: -48px;
  border-radius: 50%;
  background: var(--accent-soft);
  z-index: -1;
}

.proof-label { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; }

.proof-flow { display: grid; gap: .5rem; }

.proof-step {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: .75rem;
  align-items: center;
  padding: .75rem;
  border-radius: 12px;
  background: var(--surface-2);
  font-weight: 700;
}

.proof-step span {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-dark);
  font-size: .75rem;
}

.proof-caption { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; }

.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section + .section { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .65fr) minmax(300px, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: end;
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.section-intro { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.project-card {
  grid-column: span 6;
  min-height: 390px;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}

.project-card:last-child:nth-child(odd) { grid-column: 4 / span 6; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card-top { display: flex; justify-content: space-between; gap: 1rem; }
.card-number { color: var(--accent-dark); font-weight: 800; }
.card-role { color: var(--muted); font-size: .82rem; text-align: right; }

.project-card h3 {
  max-width: 530px;
  margin: auto 0 .8rem;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.project-card p { color: var(--muted); max-width: 560px; }

.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1rem; }
.tag { padding: .35rem .6rem; border-radius: 999px; background: var(--surface-2); color: #46504d; font-size: .76rem; }
.card-link { margin-top: 1.2rem; color: var(--accent-dark); font-weight: 800; }

.principle-grid, .concept-grid, .metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.principle, .concept-card, .metric {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.principle .number { color: var(--accent); font-weight: 800; }
.principle h3 { margin: 3rem 0 .6rem; font-size: 1.35rem; }
.principle p, .concept-card p { color: var(--muted); margin-bottom: 0; }

.concept-card { min-height: 210px; display: flex; flex-direction: column; }
.concept-card h3 { margin-top: auto; }
.concept-link { margin-top: 1rem; color: var(--accent-dark); font-weight: 800; }

.site-footer { padding-block: 2rem; border-top: 1px solid var(--line); color: var(--muted); }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.detail-hero { padding-block: clamp(4rem, 9vw, 8rem); }
.breadcrumb { margin-bottom: 2rem; color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: var(--accent-dark); }

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.evidence-item { padding: 1.4rem 1rem; border-right: 1px solid var(--line); }
.evidence-item:last-child { border-right: 0; }
.evidence-item span { display: block; margin-bottom: .4rem; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.evidence-item strong { font-size: .98rem; }

.story-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.story-copy { position: sticky; top: 105px; }
.story-copy h2 { margin-bottom: 1.2rem; }
.story-copy p { color: var(--muted); }

.pipeline {
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.pipeline-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55rem; align-items: stretch; }
.pipeline-node { min-height: 115px; padding: .8rem; border-radius: 12px; background: var(--surface-2); display: flex; flex-direction: column; justify-content: space-between; font-weight: 750; }
.pipeline-node span { color: var(--accent-dark); font-size: .72rem; }
.pipeline-control { margin-top: 1rem; padding: 1rem; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); font-weight: 750; text-align: center; }

.decision-list { display: grid; gap: 1rem; }
.decision { padding: 1.4rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; }
.decision span { color: var(--accent-dark); font-weight: 800; }
.decision h3 { margin-bottom: .4rem; }
.decision p { margin-bottom: 0; color: var(--muted); }

.dashboard-shell { border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.dashboard-tabs { display: flex; gap: .5rem; padding: 1rem; border-bottom: 1px solid var(--line); overflow-x: auto; }
.dashboard-tab { border: 0; border-radius: 999px; padding: .6rem .9rem; background: transparent; color: var(--muted); cursor: pointer; white-space: nowrap; }
.dashboard-tab[aria-selected="true"] { background: var(--ink); color: white; }
.dashboard-panel { display: none; padding: 1.2rem; }
.dashboard-panel.active { display: block; }

.dashboard-canvas { min-height: 420px; padding: 1rem; background: #f7f8f5; border-radius: 14px; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 90px 1fr 1fr; gap: .8rem; }
.dash-kpi, .dash-chart { border: 1px solid #d9ddd8; border-radius: 9px; background: white; padding: .8rem; position: relative; overflow: hidden; }
.dash-kpi { grid-column: span 3; }
.dash-kpi small, .dash-chart small { color: var(--muted); }
.dash-kpi strong { display: block; margin-top: .4rem; font-size: 1.4rem; }
.dash-chart.wide { grid-column: span 8; grid-row: span 2; }
.dash-chart.side { grid-column: span 4; }
.bar-set { height: 120px; margin-top: 1rem; display: flex; gap: .5rem; align-items: end; }
.bar { flex: 1; background: var(--accent); border-radius: 5px 5px 0 0; opacity: .82; }
.line-art { margin-top: 1.4rem; height: 150px; border-bottom: 2px solid var(--line); position: relative; }
.line-art::after { content: ""; position: absolute; inset: 35px 5px 25px; border-top: 4px solid var(--accent); border-radius: 50%; transform: rotate(-8deg); }
.annotation { position: absolute; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--warn); color: white; font-size: .75rem; font-weight: 800; }
.a1 { top: 12px; right: 12px; }
.a2 { bottom: 16px; left: 30%; }
.a3 { top: 48%; right: 22%; }
.dashboard-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1rem 0 0; }
.dashboard-notes p { margin: 0; color: var(--muted); font-size: .9rem; }
.dashboard-notes strong { color: var(--ink); }

.metric strong { display: block; margin-bottom: .6rem; font-size: 1.8rem; color: var(--accent-dark); }
.metric p { margin: 0; color: var(--muted); }

.concept-visual { padding: clamp(1.3rem, 5vw, 3rem); border-radius: 24px; background: var(--ink); color: white; }
.rerun-flow { display: grid; grid-template-columns: 1fr auto 1.1fr auto 1fr; gap: 1rem; align-items: center; }
.run-box, .result-box { padding: 1.4rem; border-radius: 14px; text-align: center; }
.run-box { background: #303a37; }
.result-box { background: var(--accent); }
.arrow { color: #96a39e; font-size: 1.6rem; }
.concept-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fact { padding: 1.5rem; border-top: 1px solid var(--line); }
.fact h3 { margin-bottom: .5rem; }
.fact p { color: var(--muted); }
.evidence-callout { padding: 1.5rem; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 14px 14px 0; }

:focus-visible { outline: 3px solid #f0a146; outline-offset: 3px; }

@media (max-width: 900px) {
  .hero, .section-head, .story-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-proof { min-height: 360px; }
  .project-card, .project-card:last-child:nth-child(odd) { grid-column: span 12; }
  .principle-grid, .concept-grid { grid-template-columns: 1fr; }
  .evidence-strip { grid-template-columns: repeat(2, 1fr); }
  .evidence-item:nth-child(2) { border-right: 0; }
  .evidence-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .story-copy { position: static; }
  .pipeline-row { grid-template-columns: repeat(3, 1fr); }
  .dashboard-notes, .metric-grid { grid-template-columns: 1fr; }
  .rerun-flow { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); text-align: center; }
}

/* Reference-led neutral direction — prototype revision 3 */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef1f4;
  --ink: #090b0f;
  --muted: #59616b;
  --line: #cbd1d8;
  --accent: #173b64;
  --accent-dark: #0e2b4b;
  --accent-soft: #dce5ee;
  --warn: #173b64;
  --shadow: 7px 7px 0 rgba(23, 59, 100, .13);
}

body {
  background: #fff;
  background-image: none;
  font-family: Arial, Helvetica, sans-serif;
}

.site-header { background: rgba(255,255,255,.94); border-color: #d7dce1; }
h1, .section h2, .project-card h3, .project-title, .orchestration-rail h3, .path-step h3 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}
.eyebrow { color: var(--accent); }
.brand-mark { background: var(--accent); box-shadow: none; }
.button { background: var(--accent); border-color: var(--accent); }
.button.secondary { color: var(--accent); border-color: var(--accent); }
.hero {
  min-height: calc(100vh - 72px);
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(3rem, 8vw, 6rem);
}
.hero-copy { max-width: 690px; }
.hero .eyebrow { margin-bottom: .25rem; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 1rem; font-weight: 400; }
.hero h1 { margin-bottom: .2rem; font-size: clamp(4.1rem, 9vw, 8.2rem); line-height: .86; letter-spacing: -.075em; }
.role-stamp { display: inline-block; margin-bottom: 1.4rem; padding-top: .2rem; border-top: 4px solid var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.hero .lede { color: #303741; font-size: clamp(1rem, 1.7vw, 1.18rem); }
.hero-support { max-width: 650px; color: var(--muted); }

.hero-portrait { min-height: 490px; margin: 0; display: grid; place-items: center; position: relative; }
.portrait-field {
  width: min(100%, 430px);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at 50% 45%, #e8edf2 0 36%, #d8e0e8 37% 54%, transparent 55%);
}
.portrait-field::before, .portrait-field::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid #aeb9c5; }
.portrait-field::before { inset: 7%; }
.portrait-field::after { inset: 19%; border-style: dashed; }
.portrait-monogram {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -.08em;
  box-shadow: 14px 14px 0 #c9d2dc;
}
.portrait-caption { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); min-width: max-content; color: var(--muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue { position: absolute; right: 2rem; bottom: 2rem; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); }

.hero-proof::before { background: var(--accent-soft); }
.project-card:nth-child(3n+2), .project-card:nth-child(3n) { background: var(--surface); }
.project-card:nth-child(even) { background: #f3f5f7; }
.section-head { border-left-color: var(--accent); }
.pipeline { box-shadow: 7px 7px 0 var(--accent-soft); }
.pipeline-node, .orchestration-rail, .production-step:last-child { background: var(--accent); }
.pipeline-node span, .orchestration-rail small, .production-step:last-child span { color: #c9d8e7; }
.pipeline-control { background: #eef1f4; }
.dashboard-shell { box-shadow: 8px 8px 0 var(--accent-soft); }
.concept-visual { background: var(--accent); box-shadow: 8px 8px 0 #c7d1dc; }
.result-box { background: #41688f; }
.architecture-board { box-shadow: 9px 9px 0 var(--accent-soft); }
.arch-node { background: #f3f5f7; }

.dashboard-placeholder {
  min-height: 480px;
  display: grid;
  place-items: center;
  padding: 2rem;
  border: 1px dashed #8d99a6;
  background: #f4f6f8;
  text-align: center;
}
.dashboard-placeholder div { max-width: 500px; }
.dashboard-placeholder strong { display: block; margin-bottom: .7rem; color: var(--accent); font-size: 1.4rem; }
.dashboard-placeholder p { margin-bottom: 0; color: var(--muted); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-portrait { min-height: 350px; order: -1; }
  .portrait-field { width: min(82vw, 360px); }
  .portrait-caption { bottom: 1rem; }
  .scroll-cue { display: none; }
}

@media (max-width: 680px) {
  .nav-links, .social-links { display: none; }
  .menu-button { display: inline-flex; }
  .nav-wrap.open { align-items: flex-start; padding-block: 1rem; flex-wrap: wrap; }
  .nav-wrap.open .nav-links, .nav-wrap.open .social-links { width: 100%; display: flex; flex-direction: column; align-items: flex-start; }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .pipeline-row { grid-template-columns: repeat(2, 1fr); }
  .dashboard-canvas { grid-template-rows: auto; }
  .dash-kpi { grid-column: span 6; }
  .dash-chart.wide, .dash-chart.side { grid-column: span 12; grid-row: auto; }
  .concept-facts { grid-template-columns: 1fr; }
  .footer-wrap { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Editorial data-report direction — prototype revision 2 */
:root {
  --bg: #eee9df;
  --surface: #f8f4eb;
  --surface-2: #e2ded4;
  --ink: #10243e;
  --muted: #5e6872;
  --line: #b9b7af;
  --accent: #c45f36;
  --accent-dark: #9f4324;
  --accent-soft: #ead4c7;
  --warn: #c45f36;
  --radius: 4px;
  --shadow: 8px 8px 0 rgba(16, 36, 62, .12);
}

body {
  background-image: linear-gradient(rgba(16,36,62,.035) 1px, transparent 1px);
  background-size: 100% 28px;
}

.site-header { background: rgba(238, 233, 223, .94); border-color: var(--ink); }
.brand-mark { border-radius: 0; box-shadow: 4px 4px 0 var(--accent-soft); }
.hero { min-height: 72vh; }
h1, .section h2, .project-card h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
h1 { letter-spacing: -.055em; }
.eyebrow { color: var(--accent-dark); }
.button, .dashboard-tab, .tag { border-radius: 2px; }
.button { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.hero-proof, .project-card, .principle, .concept-card, .metric, .pipeline, .dashboard-shell { border-color: var(--ink); }
.hero-proof::before { border-radius: 0; transform: rotate(7deg); background: #8ca29a; }
.proof-step { border-radius: 1px; border-left: 3px solid var(--accent); background: transparent; border-bottom: 1px solid var(--line); }
.proof-step span { border-radius: 0; background: var(--ink); color: var(--surface); }
.project-grid { gap: 1.5rem; }
.project-card { box-shadow: none; border-width: 1px 1px 4px; }
.project-card:hover { box-shadow: 6px 6px 0 rgba(16,36,62,.12); }
.project-card:nth-child(3n+2) { background: #e7e2d7; }
.project-card:nth-child(3n) { background: #f1e3d9; }
.tag { background: transparent; border: 1px solid var(--line); }
.principle, .concept-card, .metric { border-width: 1px 0 0; background: transparent; padding-inline: 0; }
.section + .section { border-color: var(--ink); }
.section-head { border-left: 5px solid var(--accent); padding-left: 1.25rem; }
.evidence-strip { border-color: var(--ink); background: var(--surface); }
.evidence-strip { grid-template-columns: repeat(5, 1fr); }
.evidence-item { border-color: var(--ink); }
.pipeline { box-shadow: 7px 7px 0 #8ca29a; }
.pipeline-node { border-radius: 1px; background: var(--ink); color: white; }
.pipeline-node span { color: #efb49b; }
.pipeline-control { border-radius: 1px; border: 1px dashed var(--ink); background: #d7ddd8; color: var(--ink); }
.decision { border-color: var(--ink); }
.dashboard-shell { box-shadow: 8px 8px 0 var(--accent-soft); }
.dashboard-canvas { border-radius: 0; }
.dash-kpi, .dash-chart { border-radius: 0; }
.concept-visual { border-radius: 2px; background: var(--ink); box-shadow: 8px 8px 0 var(--accent); }
.run-box, .result-box { border-radius: 1px; }

.project-title {
  max-width: 980px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.7rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.055em;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.problem-item { padding: 1.5rem; border-right: 1px solid var(--ink); }
.problem-item:last-child { border-right: 0; }
.problem-item h3 { font-size: 1rem; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .07em; }
.problem-item p { margin: 0; color: var(--muted); }

.architecture-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  min-height: 560px;
  border: 1px solid var(--ink);
  background: var(--surface);
  box-shadow: 9px 9px 0 #8ca29a;
}

.architecture-flow { padding: 2rem; display: grid; align-content: center; justify-items: center; }
.arch-node { width: min(100%, 460px); padding: 1rem 1.2rem; border: 1px solid var(--ink); background: var(--bg); display: flex; justify-content: space-between; gap: 1rem; font-weight: 800; }
.arch-node span { color: var(--accent-dark); font: 700 .72rem/1 ui-sans-serif, system-ui; letter-spacing: .1em; }
.arch-arrow { min-height: 36px; display: grid; place-items: center; color: var(--accent-dark); font-size: 1.3rem; }
.orchestration-rail { padding: 1.5rem; border-left: 1px solid var(--ink); background: var(--ink); color: white; display: flex; flex-direction: column; justify-content: center; }
.orchestration-rail small { color: #efb49b; text-transform: uppercase; letter-spacing: .12em; }
.orchestration-rail h3 { margin: .8rem 0 1.5rem; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; }
.orchestration-rail ul { margin: 0; padding-left: 1rem; color: #d9e0df; }

.decision-path { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); background: var(--surface); }
.path-step { min-height: 210px; padding: 1.5rem; border-right: 1px solid var(--ink); }
.path-step:last-child { border-right: 0; }
.path-step span { color: var(--accent-dark); font-weight: 800; font-size: .75rem; letter-spacing: .1em; }
.path-step h3 { margin-top: 3rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 500; }
.path-step p { color: var(--muted); }

.prototype-production { display: grid; grid-template-columns: repeat(7, 1fr); align-items: stretch; border: 1px solid var(--ink); background: var(--surface); }
.production-step { min-height: 145px; padding: 1rem; border-right: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: space-between; font-weight: 800; }
.production-step:last-child { border-right: 0; background: var(--ink); color: white; }
.production-step span { color: var(--accent-dark); font-size: .72rem; }
.production-step:last-child span { color: #efb49b; }

.prototype-note { margin-top: 1rem; color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .evidence-strip { grid-template-columns: repeat(2, 1fr); }
  .evidence-item { border-bottom: 1px solid var(--ink); }
  .evidence-item:nth-child(2n) { border-right: 0; }
  .evidence-item:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .problem-grid, .decision-path { grid-template-columns: 1fr; }
  .problem-item, .path-step { border-right: 0; border-bottom: 1px solid var(--ink); }
  .problem-item:last-child, .path-step:last-child { border-bottom: 0; }
  .architecture-board { grid-template-columns: 1fr; }
  .orchestration-rail { border-left: 0; border-top: 1px solid var(--ink); }
  .prototype-production { grid-template-columns: 1fr; }
  .production-step { min-height: 90px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .production-step:last-child { border-bottom: 0; }
}
