/* One editorial grid across the twelve chapters. No visible grid decoration. */
:root {
  --page-width: 1280px;
  --page-margin: clamp(24px, 5vw, 80px);
  --grid-gutter: 32px;
  --panel-inset: 32px;
  --card-inset: 24px;
  --module-space: 48px;
  --chapter-space: 104px;
  --columns: repeat(12, minmax(0, 1fr));
}
.wrap, .wide { width: min(var(--page-width), calc(100% - var(--page-margin) * 2)); margin-inline: auto; }
.topbar { padding-inline: max(var(--page-margin), calc((100% - var(--page-width)) / 2)); }
.intro { padding-block: 64px 40px; }
.section { padding-block: var(--chapter-space) 0; }
.section-top { margin-bottom: 32px; padding-bottom: 24px; align-items: baseline; }
h2 { font-size: clamp(34px, 3.6vw, 52px); }

/* Two-column editorial text always starts on the same sixth-column boundary. */
.section-head, #chapter-2 .section-head, .adl, #chapter-2 .adl,
.profile, .decision-body, .a67-architecture-panel, .a67-reference-grid,
.c89-stop-boundary, .closing1012-next {
  display: grid; grid-template-columns: var(--columns); column-gap: var(--grid-gutter);
  row-gap: 24px; align-items: start;
}
.section-head > *, .adl > *, .profile > *, .decision-body > *,
.a67-architecture-panel > *, .a67-reference-grid > *, .c89-stop-boundary > *,
.closing1012-next > * { grid-column: span 6; min-width: 0; }
.section-head, .section-head.has-takeaway { margin-bottom: var(--module-space); row-gap: 24px; }
.section-head > p { max-width: 50ch; font-size: 16px; }
.section-head > .chapter-takeaway { grid-column: 1 / -1; }
.chapter-takeaway { padding: 16px 20px; }
.chapter-takeaway p { max-width: none; }
.adl, #chapter-2 .adl { padding-block: 0 32px; margin-bottom: var(--module-space); }
.adl > p { font-size: 15px; }
/* Keep this supporting statistic compact without changing its proportions. */
#chapter-2 .adl-bar, #chapter-2 .adl-legend { width: 100%; max-width: 420px; }
.profile { padding: var(--panel-inset); }
.profile-art { width: 100%; max-width: 430px; justify-self: center; }
@media (min-width: 801px) {
  #chapter-2 .profile-list { align-self: center; }
  #scene-panel .scene-story { padding-top: calc(var(--panel-inset) + 32px); }
  #chapter-4 > .section-head > h2 { grid-column: span 7; }
  #chapter-4 > .section-head > p { grid-column: span 5; max-width: none; }
}
.closing1012-next > div:last-child { padding-top: 0; }

/* Notes use the same 3 / 9 split; labels no longer have unrelated fixed widths. */
.statement, .a67-decision-strip, .a67-measure-note, .a67-next-inputs,
.evaluation1012-note, .next-study {
  display: grid; grid-template-columns: var(--columns); gap: var(--grid-gutter); align-items: start;
}
.statement > :where(:first-child), .a67-decision-strip > :where(:first-child),
.a67-measure-note > :where(:first-child), .a67-next-inputs > :where(:first-child),
.evaluation1012-note > :where(:first-child), .next-study > :where(:first-child) { grid-column: span 3; min-width: 0; }
.statement > :where(:last-child), .a67-decision-strip > :where(:last-child),
.a67-measure-note > :where(:last-child), .a67-next-inputs > :where(:last-child),
.evaluation1012-note > :where(:last-child), .next-study > :where(:last-child) { grid-column: span 9; min-width: 0; }
.statement { padding-top: var(--module-space); }
.statement p { max-width: none; }
.a67-decision-strip { padding: var(--panel-inset); }
.a67-next-inputs span, .next-study .eyebrow { min-width: 0; }

/* Parallel cards: halves, thirds and quarters on the same twelve tracks. */
.stats-panel, .mechanism-grid, .a67-reach-grid,
.roles, .brief-grid, .a67-hardware-principles, .mechanism-detail-columns,
.c89-principles, .cmf1012-grid, .closing1012-decisions,
.alternative-grid, .study1012-routes, .metrics1012-grid, .source-list {
  grid-template-columns: var(--columns); column-gap: var(--grid-gutter);
}
.stats-panel > *, .mechanism-grid > *, .a67-reach-grid > *, .source-list > * { grid-column: span 6; min-width: 0; }
.roles > *, .brief-grid > *, .a67-hardware-principles > *, .mechanism-detail-columns > *,
.c89-principles > *, .cmf1012-grid > *, .closing1012-decisions > * { grid-column: span 4; min-width: 0; }
.alternative-grid > *, .study1012-routes > *, .metrics1012-grid > * { grid-column: span 3; min-width: 0; }
.stats-panel { padding: var(--panel-inset); }
.stats-panel .stat + .stat:before { left: calc(var(--grid-gutter) / -2); }
.stat-kicker { line-height: 1.5; }
.stat-visual { margin-top: 24px; }
.roles, .brief-grid, .a67-hardware-principles, .closing1012-decisions { margin-top: 32px; }
.mechanism-grid, .a67-reach-grid { row-gap: var(--grid-gutter); }
.mechanism-card, .a67-reach-card { padding: var(--card-inset); }
.mechanism-card { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; }
.mechanism-card-title { min-height: 0; padding-bottom: 16px; }
.mechanism-card-caption { margin-top: 0; }
.mechanism-illustration { margin: 8px 0 16px; }
.a67-reach-card { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 0; }
.a67-reach-card svg { margin: 24px 0; width: 100%; }
.a67-hardware-principles article { display: grid; grid-template-rows: subgrid; grid-row: span 3; align-items: start; }
.a67-hardware-principles { row-gap: 0; }
.alternative-grid { background: none; border: 0; row-gap: 0; }
.alternative { border-top: 1px solid var(--line); padding: 24px 0 0; }
.alternative.highlight { background: none; border-top-color: var(--green); }
.alternative.highlight h4 { color: var(--green); }
.alternative:nth-child(n+3) { border-top: 1px solid var(--line); }
.alternative, .study1012-routes > div, .metrics1012-grid article,
.closing1012-decisions article { row-gap: 0; }
.study1012-routes > div, .metrics1012-grid article { padding-bottom: 0; }
.closing1012-decisions article { grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; grid-row: span 3; }
.closing1012-decisions article > span { grid-row: auto; }
.closing1012-decisions article > p { grid-column: auto; }

/* Interactive panels share equal halves or a deliberate 7 / 5 visual split. */
.scene, .chart-grid, .a67-clearance-tool, .c89-story-panel, .c89-fault-panel,
.id1012-layout, .study1012-panel, .definition {
  display: grid; grid-template-columns: var(--columns); gap: 0; min-width: 0;
}
.scene > :where(:first-child), .chart-grid > :where(:first-child), .a67-clearance-tool > :where(:first-child),
.c89-story-panel > :where(:first-child) { grid-column: span 7; min-width: 0; }
.scene > :where(:last-child), .chart-grid > :where(:last-child), .a67-clearance-tool > :where(:last-child),
.c89-story-panel > :where(:last-child) { grid-column: span 5; min-width: 0; }
.c89-fault-panel > :where(:first-child) { grid-column: span 5; }
.c89-fault-panel > :where(:last-child) { grid-column: span 7; }
.id1012-layout > *, .study1012-panel > *, .definition > * { grid-column: span 6; min-width: 0; }
.chart-grid, .definition { column-gap: var(--grid-gutter); }
.chart-grid { align-items: start; }
.scene-map, .scene-story, .chart-callout, .a67-clearance-visual, .a67-clearance-controls,
.c89-stage, .c89-story-copy, .c89-fault-visual, .c89-fault-content,
.id1012-focus-panel, .study1012-graphic, .study1012-copy, .definition { padding: var(--panel-inset); }
.scene-map { align-self: center; }
.c89-story-copy > h3, .c89-user-line { min-height: 0; }
.study1012-graphic > span { align-self: flex-start; margin-left: 0; }
.id1012-stage { padding: 64px var(--panel-inset) 24px; }
.id1012-stage-label { top: var(--panel-inset); left: var(--panel-inset); }
.id1012-stage-note { padding: 0; margin-top: 24px; }
.id1012-robot-wrap { width: min(100%, 224px); max-width: none; margin-top: 0; }
.id1012-robot-wrap > .original-robot { width: 100%; height: auto; }
.priority-row { grid-template-columns: var(--columns); gap: var(--grid-gutter); padding-block: 24px; }
.priority-row > :where(:nth-child(1)) { grid-column: span 2; }
.priority-row > :where(:nth-child(2)) { grid-column: span 4; }
.priority-row > :where(:nth-child(3)) { grid-column: span 6; }
.priority, .alternatives, .a67-clearance-head, .cmf1012-heading,
.study1012-subhead, .closing1012-next { margin-top: var(--module-space); }
.mechanism-detail { padding-block: 32px; min-height: 0; }
.mechanism-legend { justify-content: flex-start; margin-block: 20px 32px; }
.a67-reference-grid, .metrics1012-grid { margin-top: 32px; }
.c89-stop-boundary, .evaluation1012-note { padding-block: 32px; }
.subhead, .a67-clearance-head, .cmf1012-heading { align-items: baseline; gap: var(--grid-gutter); margin-bottom: 24px; }
.footnote { max-width: none; margin-top: 16px; }

/* Original raster render, framed in SVG without changing its design or pixels. */
.original-robot { display: block; overflow: hidden; }
.hero, .closing1012-hero {
  display: grid; grid-template-columns: var(--columns); column-gap: var(--grid-gutter);
  padding: 48px var(--panel-inset) 72px; min-height: 680px;
}
.hero:before { display: none; }
.hero-text, .closing1012-copy { grid-column: 1 / span 5; max-width: none; padding-bottom: 0; }
.hero h2 { font-size: clamp(36px, 4vw, 56px); }
.hero p { font-size: 15px; max-width: 30ch; }
.hero > .original-robot, .closing1012-art { grid-column: 7 / span 6; min-width: 0; }
.hero > .original-robot { height: 560px; width: 100%; margin: 0; max-width: none; align-self: center; }
.hero-foot, .closing1012-caption { left: var(--panel-inset); right: var(--panel-inset); bottom: 24px; gap: 24px; font-size: 9px; line-height: 1.5; }
.hero-foot > *, .closing1012-caption > * { max-width: 46%; }
.closing1012-copy h2 { font-size: clamp(36px, 4vw, 56px); }
.closing1012-art { height: 560px; margin: 0; }
.closing1012-art > .original-robot { width: 100%; height: 100%; transform: none; position: relative; }
.closing1012-orbit { width: 300px; height: 300px; max-width: 100%; }
.definition-art > .original-robot { width: 100%; height: 430px; }
.definition-label { line-height: 1.5; }
.sources { padding-block: var(--chapter-space) 64px; }

@media (max-width: 1000px) {
  :root { --grid-gutter: 24px; --panel-inset: 24px; --card-inset: 24px; --module-space: 40px; --chapter-space: 80px; }
  .hero, .closing1012-hero { min-height: 600px; }
  .hero > .original-robot, .closing1012-art { height: 480px; }
  .alternative-grid > *, .study1012-routes > *, .metrics1012-grid > * { grid-column: span 6; }
  .alternative-grid, .study1012-routes, .metrics1012-grid { row-gap: 24px; }
  .stat-number { font-size: 60px; }
  .mechanism-card-title h3 { font-size: 23px; }
  .closing1012-copy h2 { font-size: 42px; }
}

/* One tablet breakpoint for every two-pane chapter. */
@media (max-width: 800px) {
  :root { --page-margin: 32px; --chapter-space: 72px; }
  .section-head > *, .adl > *, .profile > *, .decision-body > *,
  .a67-architecture-panel > *, .a67-reference-grid > *, .c89-stop-boundary > *,
  .closing1012-next > *, .scene > *, .chart-grid > *, .a67-clearance-tool > *,
  .c89-story-panel > *, .c89-fault-panel > *, .id1012-layout > *, .study1012-panel > *,
  .definition > * { grid-column: 1 / -1; }
  .section-head > p { max-width: 65ch; font-size: 15px; }
  .section-top { margin-bottom: 24px; }
  .chart-grid, .profile, .decision-body, .a67-reference-grid { row-gap: 24px; }
  .scene-story, .a67-clearance-controls, .c89-story-copy, .id1012-right, .study1012-copy {
    border-left: 0; border-top: 1px solid var(--line);
  }
  .scene-map svg { max-height: 360px; }
  .c89-story-panel, .c89-fault-panel, .id1012-layout, .study1012-panel { min-height: 0; }
  .c89-story-copy { display: flex; }
  .c89-story-copy > h3 { max-width: none; }
  .c89-stage > svg { max-height: 360px; min-height: 0; margin: 16px 0; width: 100%; }
  .c89-fault-visual > svg { height: 280px; max-height: 280px; margin: 16px 0; }
  .id1012-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .id1012-tabs button { flex-direction: column; align-items: flex-start; padding: 16px 12px; gap: 8px; border-bottom: 0; }
  .id1012-tabs button:nth-child(n) { border-bottom: 0; border-right: 1px solid var(--line); }
  .id1012-tabs button:last-child { border-right: 0; }
  .id1012-stage { padding-top: 56px; }
  .id1012-robot-wrap { width: min(100%, 200px); }
  .id1012-detail { grid-template-columns: 1fr 1fr; }
  .study1012-graphic svg { max-height: 280px; }
  .definition-art { height: 430px; }
  .definition-art > .original-robot { height: 400px; }
  .definition-label { bottom: 0; }
  .mechanism-grid > .mechanism-card { grid-column: 1 / -1; display: block; grid-row: auto; }
  .mechanism-detail-columns > * { grid-column: 1 / -1; }
  .mechanism-detail-columns { row-gap: 24px; }
  .a67-clearance-visual { min-height: 0; }
  .a67-clearance-visual svg { max-height: 360px; }
  .a67-clearance-result { display: block; }
  .a67-clearance-result strong { margin-top: 8px; }
  .a67-clearance-result p { margin-top: 12px; }
  .hero-text, .closing1012-copy { grid-column: 1 / span 6; }
  .hero h2, .closing1012-copy h2 { font-size: 38px; }
  .hero p, .closing1012-copy p { font-size: 13px; }
  .closing1012-orbit { width: 220px; height: 220px; }
  .statement > *, .a67-decision-strip > *, .a67-measure-note > *,
  .a67-next-inputs > *, .evaluation1012-note > *, .next-study > * { grid-column: 1 / -1; }
  .statement, .a67-decision-strip, .a67-measure-note, .a67-next-inputs,
  .evaluation1012-note, .next-study { row-gap: 12px; }
}

@media (max-width: 580px) {
  :root { --page-margin: 24px; --grid-gutter: 20px; --panel-inset: 20px; --card-inset: 20px; --module-space: 32px; --chapter-space: 64px; }
  .intro { padding-block: 36px 32px; }
  .section-top { padding-bottom: 20px; align-items: flex-start; }
  .section-head > p { font-size: 14px; }
  .section-head, .section-head.has-takeaway { row-gap: 20px; }
  .chapter-takeaway { padding: 14px 16px; }
  .chapter-takeaway p { font-size: 14px; }
  .stats-panel > *, .mechanism-grid > *, .a67-reach-grid > *, .source-list > *,
  .roles > *, .brief-grid > *, .a67-hardware-principles > *, .c89-principles > *,
  .cmf1012-grid > *, .closing1012-decisions > *, .metrics1012-grid > *,
  .priority-row > * { grid-column: 1 / -1; }
  .stats-panel, .roles, .brief-grid, .a67-hardware-principles, .c89-principles,
  .cmf1012-grid, .closing1012-decisions, .metrics1012-grid { row-gap: 24px; }
  .stats-panel .stat, .brief, html[lang=zh-CN] .brief,
  .mechanism-card, .a67-reach-card, .a67-hardware-principles article,
  .c89-principles article, .cmf1012-grid article, .closing1012-decisions article,
  .metrics1012-grid article { display: block; grid-row: auto; }
  .stats-panel .stat + .stat:before { display: none; }
  .stat-number { font-size: 64px; }
  .stat-number small { font-size: 26px; }
  .adl-heading { flex-wrap: wrap; gap: 12px; }
  .adl-heading span { max-width: 100%; }
  .adl-legend { gap: 10px 16px; }
  .mechanism-card-title { padding-bottom: 16px; }
  .mechanism-card-kind { display: none; }
  .mechanism-card-title h3 { font-size: 24px; }
  .mechanism-toolbar { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cmf1012-swatch { height: 180px; margin-bottom: 16px; }
  .cmf1012-grid h4, .metrics1012-grid h4 { margin-bottom: 10px; padding-top: 0; }
  .metrics1012-grid article > span { margin-bottom: 14px; }
  .priority-row { row-gap: 12px; }
  .alternative-grid { row-gap: 24px; }
  .alternative { padding-top: 20px; }
  .alternative p { font-size: 12px; }
  .scene-tabs button { padding-inline: 10px; }
  .id1012-tabs button { padding-inline: 8px; font-size: 9px; }
  .id1012-robot-wrap { width: min(100%, 176px); }
  .id1012-detail { grid-template-columns: 1fr; }
  .id1012-stage-note { font-size: 10px; }
  .subhead, .a67-clearance-head, .cmf1012-heading { align-items: flex-start; gap: 12px; }
  .hero, .closing1012-hero { padding: 32px var(--panel-inset) 64px; row-gap: 24px; min-height: 0; }
  .hero-text, .closing1012-copy, .hero > .original-robot, .closing1012-art { grid-column: 1 / -1; }
  .hero-text, .closing1012-copy { padding: 0; justify-content: flex-start; }
  .hero h2, .closing1012-copy h2 { font-size: 36px; }
  .hero h2 br { display: block; }
  .hero p, .closing1012-copy p { font-size: 13px; margin-top: 20px; }
  .hero > .original-robot, .closing1012-art { height: 420px; margin: 0; }
  .hero-foot, .closing1012-caption { font-size: 8px; gap: 16px; bottom: 20px; }
  .closing1012-orbit { width: 240px; height: 240px; }
  .closing1012-decisions article > span { margin-bottom: 12px; }
  .closing1012-next { padding-top: 24px; }
  .source-list { row-gap: 16px; }
}

/* A closer opening portrait; technical chapters retain the full original view. */
.hero--upper-body {
  min-height: 0;
  padding-bottom: 0;
  row-gap: 0;
}
.hero--upper-body .hero-text { padding-bottom: 48px; }
.hero--upper-body > .original-robot { align-self: end; }
.hero--upper-body .hero-foot {
  position: relative;
  inset: auto;
  grid-column: 1 / -1;
  padding-block: 20px;
  border-top: 1px solid #dadadd;
}
@media (max-width: 580px) {
  .hero--upper-body { row-gap: 24px; }
  .hero--upper-body .hero-text { padding-bottom: 0; }
  .hero--upper-body > .original-robot { margin-bottom: -24px; }
  .hero--upper-body .hero-foot { padding-block: 16px; }
}

/* A heading-led disclosure; the chevron hangs in the gutter so text stays on the page grid. */
.module-disclosure, .module-static {
  --disclosure-chevron: 28px;
  --disclosure-gap: 12px;
  margin-top: var(--chapter-space);
  padding-block: 32px;
  border-block: 1px solid var(--line);
  scroll-margin-top: 32px;
}
:is(.module-disclosure, .module-static) + :is(.module-disclosure, .module-static) { margin-top: 0; border-top: 0; }
.module-disclosure > .module-summary, .module-static > .module-heading {
  position: relative;
  display: block;
  padding: 0;
  list-style: none;
  color: var(--ink);
}
.module-summary::after, details[open] > .module-summary::after { content: none; }
.module-summary::-webkit-details-marker { display: none; }
.module-summary > .module-title, .module-heading > .module-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.035em;
}
.module-chevron {
  position: absolute;
  width: var(--disclosure-chevron);
  height: var(--disclosure-chevron);
  left: calc(-1 * (var(--disclosure-chevron) + var(--disclosure-gap)));
  top: 50%;
  transform: translateY(-50%);
  transition: transform .18s ease;
}
.module-disclosure[open] > .module-summary .module-chevron { transform: translateY(-50%) rotate(90deg); }
.module-summary:hover { color: var(--green); }
.module-summary:focus-visible { outline: 2px solid var(--green); outline-offset: 8px; border-radius: 2px; }
.module-content > .section.wrap { width: 100%; margin-inline: 0; padding-top: 64px; }
.module-content > .section:first-child { padding-top: var(--module-space); }
.module-collapse-row { display: flex; justify-content: flex-start; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.module-collapse-row button { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; background: transparent; border: 0; padding: 8px 0; font-size: 13px; color: var(--green); }
.module-collapse-row button:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 800px) {
  .module-disclosure { --disclosure-chevron: 22px; --disclosure-gap: 10px; }
}
@media (max-width: 580px) {
  .module-disclosure { --disclosure-chevron: 16px; --disclosure-gap: 6px; padding-block: 24px; }
  .module-static { padding-block: 24px; }
  .module-summary, .module-heading { min-height: 44px; }
  .module-summary > .module-title, .module-heading > .module-title { font-size: 30px; line-height: 44px; }
  .module-content > .section.wrap { padding-top: 48px; }
  .module-content > .section:first-child { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .module-chevron { transition: none; }
}

/* Approved studio portrait and refined independent-living illustration. */
.hero--upper-body { background: #f2efea; }
.hero--upper-body > .hero-portrait {
  grid-column: 7 / span 6;
  display: block;
  width: min(100%, 450px);
  height: auto;
  max-width: none;
  margin: 0;
  align-self: end;
  justify-self: center;
  filter: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 5%);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 5%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.profile-illustration { display: block; width: 100%; height: auto; }
@media (max-width: 580px) {
  .hero--upper-body > .hero-portrait { grid-column: 1 / -1; width: min(100%, 360px); margin-bottom: -24px; }
}

/* Lead with the industrial design, then let readers explore its rationale. */
.project-context { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.project-facts { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 24px 32px; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.project-facts > div { min-width: 0; }
.project-facts dt { margin-bottom: 8px; color: var(--muted); font-size: 11px; line-height: 1.5; letter-spacing: .04em; }
.project-facts dd { margin: 0; color: var(--ink); font-size: 14px; line-height: 1.6; }
@media (max-width: 700px) {
  .project-facts { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
  .project-facts > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .project-facts { grid-template-columns: 1fr; gap: 16px; }
}
.design-detail-gallery { display: grid; grid-template-columns: var(--columns); gap: var(--grid-gutter); margin-top: var(--module-space); }
.design-detail-card { grid-column: span 4; min-width: 0; margin: 0; }
.design-detail-frame { aspect-ratio: 1; overflow: hidden; background: #f2efea; }
.design-detail-frame > svg { display: block; width: 100%; height: 100%; }
.design-detail-card figcaption { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px 8px; padding-top: 20px; }
.design-detail-number { color: var(--muted); font-size: 11px; line-height: 26px; }
.design-detail-card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.025em; margin: 0; }
.design-detail-card p { grid-column: 2; margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.design-development-heading { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }

/* A quiet, nested process section; original design evidence can replace each media slot. */
.design-process { margin-top: var(--module-space); border-block: 1px solid var(--line); scroll-margin-top: 32px; }
.design-process > summary { position: relative; display: block; padding: 28px 0; min-height: 44px; color: var(--ink); }
.design-process > summary::after, .design-process[open] > summary::after { content: none; }
.design-process > summary h3 { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 500; letter-spacing: -.025em; }
.process-chevron { position: absolute; left: -32px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); transition: transform .18s ease; }
.design-process[open] > summary .process-chevron { transform: translateY(-50%) rotate(90deg); }
.design-process > summary:hover, .process-close:hover { color: var(--green); }
.design-process > summary:focus-visible, .process-close:focus-visible { outline: 2px solid var(--green); outline-offset: 6px; }
.process-intro { max-width: 640px; margin: 0 0 28px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.process-grid { display: grid; grid-template-columns: var(--columns); gap: 40px var(--grid-gutter); }
.process-stage { grid-column: span 6; min-width: 0; margin: 0; }
.process-media { aspect-ratio: 16 / 9; min-height: 160px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 24px; background: var(--warm); border: 1px solid var(--line); text-align: center; }
.process-media-label { font-size: 18px; line-height: 1.35; color: var(--muted); }
.process-pending { font-size: 11px; line-height: 1.5; color: var(--muted); }
.process-stage figcaption { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px 8px; padding-top: 20px; }
.process-number { font-size: 11px; line-height: 25px; color: var(--muted); }
.process-stage h4 { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 500; letter-spacing: -.025em; }
.process-stage p { grid-column: 2; margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.process-close { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; min-height: 44px; padding: 8px 0; margin-block: 28px 16px; font-size: 13px; color: var(--green); cursor: pointer; }
@media (max-width: 800px) {
 .design-process > summary h3 { font-size: 24px; }
 .process-stage h4 { font-size: 19px; }
}
@media (max-width: 580px) {
 .design-process > summary { padding-block: 24px; }
 .process-chevron { left: -22px; width: 16px; height: 16px; }
 .process-grid { row-gap: 28px; }
 .process-stage { grid-column: 1 / -1; }
 .process-stage figcaption { grid-template-columns: 24px minmax(0,1fr); gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .process-chevron { transition: none; } }
@media (max-width: 800px) {
  .design-detail-card h3 { font-size: 18px; }
  .design-detail-card figcaption { grid-template-columns: 1fr; gap: 10px; }
  .design-detail-card p { grid-column: 1; font-size: 12px; }
}
@media (max-width: 580px) {
  .project-context { flex-direction: column; gap: 4px; font-size: 11px; }
  .design-detail-gallery { row-gap: 32px; }
  .design-detail-card { grid-column: 1 / -1; }
  .design-detail-frame { aspect-ratio: 4 / 3; }
  .design-detail-card figcaption { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
  .design-detail-card h3 { font-size: 22px; }
  .design-detail-card p { grid-column: 2; font-size: 13px; }
  .design-development-heading { margin-top: 40px; padding-top: 24px; }
}

/* Lead with the original design render, then the project and the designer's contribution. */
.design-intent-scene { width: 100%; margin: 0; scroll-margin-top: 32px; background: #eeeeee; isolation: isolate; }
.design-intent-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}
.intro--after-scene { padding-block: 32px 0; scroll-margin-top: 32px; }
.intro-kicker { margin: 0 0 20px; font-size: 14px; line-height: 1.6; color: var(--green); }
.intro-main { display: grid; grid-template-columns: var(--columns); column-gap: var(--grid-gutter); align-items: center; }
.intro-main h1 { grid-column: 1 / span 5; }
.intro--after-scene p.lead { grid-column: 7 / span 6; margin: 0; max-width: 54ch; white-space: normal; }
.intro--after-scene + #design { margin-top: 48px; }
@media (max-width: 700px) {
  .intro--after-scene { padding-top: 28px; }
  .intro-kicker { margin-bottom: 16px; font-size: 13px; }
  .intro-main { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .intro-main h1, .intro--after-scene p.lead { grid-column: 1 / -1; }
  .intro--after-scene + #design { margin-top: 32px; }
}
