/* Hallmark · shape: architecture explainer · theme: locked Silicon studio · signature: one instruction stream and a live capacity / bandwidth ledger · redesign: full, architecture additions */
/* Critique: the existing 3D workbench establishes form; these two original diagrams explain execution and the memory budget without repeating a chip illustration. */
/* Hallmark · waive 80 · diagrams encode finalized BP architecture and formulas · original explanatory diagrams preserve the company's facts rather than supplying decorative imagery */
:root {
  --depth-ink: var(--studio-ink);
  --depth-paper: var(--studio-paper);
  --depth-white: var(--studio-white);
  --depth-text: var(--studio-text);
  --depth-muted: var(--studio-muted);
  --depth-line: var(--studio-line);
  --depth-signal: var(--studio-signal);
  --depth-silver: var(--studio-silver);
  --depth-focus: var(--studio-blue);
  --depth-panel: #122b37;
  --depth-dark-line: #34505d;
  --depth-active: #e6f3ee;
  --depth-active-ink: #145c4f;
  --depth-track: #dfe5e1;
  --depth-transparent: transparent;
  --depth-font: var(--font-body);
  --depth-radius: 6px;
  --depth-space-xs: 8px;
  --depth-space-2xs: 4px;
  --depth-space-sm: 12px;
  --depth-space-md: 16px;
  --depth-space-lg: 24px;
  --depth-space-xl: 32px;
  --depth-space-2xl: 48px;
  --depth-space-section: 72px;
  --depth-ease: cubic-bezier(.22,.8,.22,1);
}

html, body { overflow-x: clip; }
.depth-section { padding-block: var(--depth-space-section); font-family: var(--depth-font); scroll-margin-top: 90px; }
.depth-execution { background: var(--depth-white); color: var(--depth-text); }
.depth-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.72fr); align-items: end; gap: var(--depth-space-2xl); margin-bottom: var(--depth-space-xl); }
.depth-head h2 { margin: 0; color: inherit; font-size: clamp(30px,3.1vw,43px); font-weight: 600; line-height: 1.25; letter-spacing: -.035em; min-width: 0; overflow-wrap: break-word; text-wrap: balance; }
.depth-head > p { max-width: 45ch; margin: 0; color: var(--depth-muted); font-size: 16px; line-height: 1.75; text-wrap: pretty; }
.depth-section :is(button,a,input,[tabindex]):focus-visible { outline: 3px solid var(--depth-focus); outline-offset: 5px; }
.depth-section button { font-family: var(--depth-font); cursor: pointer; }
.depth-section button:disabled { opacity: .55; cursor: not-allowed; }
.execution-board { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,.8fr); gap: var(--depth-space-2xl); align-items: stretch; }
.execution-diagram { min-width: 0; }
.instruction-stream { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--depth-space-md); padding: var(--depth-space-md) var(--depth-space-lg); background: var(--depth-ink); color: var(--depth-white); border-radius: var(--depth-radius); overflow: clip; }
.instruction-stream > span { font-size: 15px; white-space: nowrap; }
.instruction-stream ol { display: flex; align-items: center; gap: var(--depth-space-xl); list-style: none; padding: 0; margin: 0; color: var(--depth-silver); font-size: 14px; }
.instruction-stream li { position: relative; }
.instruction-link { position: absolute; width: 12px; height: 1px; top: 50%; left: -23px; background: var(--depth-signal); }
.instruction-sweep { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--depth-signal); transform-origin: left; }
.execution-branches { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--depth-space-md); padding-top: var(--depth-space-xl); }
.execution-bus-line { position: absolute; left: 16.66%; right: 16.66%; height: 1px; background: var(--depth-line); }
.execution-bus-line--in { top: 15px; }
.execution-bus-line--out { bottom: -17px; }
.execution-unit { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--depth-space-xs); min-width: 0; min-height: 169px; padding: var(--depth-space-lg) var(--depth-space-md); border: 1px solid var(--depth-line); border-radius: var(--depth-radius); background: var(--depth-white); color: var(--depth-text); text-align: left; transition: border-color 160ms var(--depth-ease), background-color 160ms var(--depth-ease); }
.execution-connector { position: absolute; left: 50%; width: 1px; background: var(--depth-line); }
.execution-connector--in { top: -18px; height: 18px; }
.execution-connector--out { bottom: -17px; height: 17px; }
.execution-unit:hover { background: var(--depth-paper); }
.execution-unit:active { transform: translateY(1px); }
.execution-unit[aria-selected="true"] { border-color: var(--depth-active-ink); background: var(--depth-active); }
.execution-unit[aria-selected="true"] .execution-connector { background: var(--depth-active-ink); }
.execution-unit strong { font-size: 17px; font-weight: 600; line-height: 1.5; }
.execution-unit small { color: var(--depth-muted); font-size: 13px; line-height: 1.4; }
.execution-symbol { display: flex; align-items: center; height: 32px; width: 48px; margin-bottom: var(--depth-space-xs); color: var(--depth-muted); }
.execution-unit[aria-selected="true"] .execution-symbol { color: var(--depth-active-ink); }
.execution-symbol svg { display: block; width: 48px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.residency-bus { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--depth-space-md); margin-top: var(--depth-space-xl); padding: var(--depth-space-md) 0; border-block: 1px solid var(--depth-line); }
.residency-connector { position: absolute; width: 1px; height: 16px; left: 50%; bottom: 100%; background: var(--depth-active-ink); }
.residency-bus strong { color: var(--depth-text); font-size: 16px; font-weight: 600; }
.residency-bus span { color: var(--depth-muted); font-size: 13px; }
.residency-loop { flex: 0 0 28px; width: 28px; height: 28px; fill: none; stroke: var(--depth-active-ink); stroke-width: 1.5; }
.execution-notes { display: flex; flex-direction: column; padding-left: var(--depth-space-xl); border-left: 1px solid var(--depth-line); }
.execution-note { flex: 1; }
.execution-note[hidden] { display: none; }
.execution-note h3 { margin: 0 0 var(--depth-space-md); font-size: 25px; line-height: 1.35; font-weight: 600; color: var(--depth-text); overflow-wrap: break-word; }
.execution-note p { margin: 0; color: var(--depth-muted); font-size: 16px; line-height: 1.8; text-wrap: pretty; }
.execution-equation { display: block; margin-top: var(--depth-space-lg); color: var(--depth-active-ink); font-size: 16px; font-weight: 600; line-height: 1.5; }
.execution-replay { align-self: flex-start; display: inline-flex; align-items: center; gap: var(--depth-space-sm); min-height: 44px; margin-top: var(--depth-space-lg); padding: var(--depth-space-xs) 0; border: 0; border-bottom: 1px solid var(--depth-text); border-radius: 0; background: var(--depth-transparent); color: var(--depth-text); font-size: 14px; }
.execution-replay svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.execution-replay:hover { color: var(--depth-active-ink); border-color: var(--depth-active-ink); }
.execution-replay:active { transform: translateY(1px); }
.storage-hierarchy { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; list-style: none; margin: var(--depth-space-xl) 0 0; padding: var(--depth-space-lg) 0 0; border-top: 1px solid var(--depth-line); }
.storage-hierarchy li { min-width: 0; padding-inline: var(--depth-space-lg); border-left: 1px solid var(--depth-line); }
.storage-hierarchy li:first-child { padding-left: 0; border-left: 0; }
.storage-hierarchy li:last-child { padding-right: 0; }
.storage-hierarchy strong, .storage-hierarchy span { display: block; }
.storage-hierarchy strong { margin-bottom: var(--depth-space-xs); color: var(--depth-text); font-size: 16px; font-weight: 600; }
.storage-hierarchy span { color: var(--depth-muted); font-size: 13px; line-height: 1.6; }
.depth-caption { margin: var(--depth-space-lg) 0 0; color: var(--depth-muted); font-size: 12px; line-height: 1.7; }
.depth-execution + .lab-section { padding-block: var(--space-60); }

.depth-d100 { background: var(--depth-ink); color: var(--depth-white); }
.depth-d100 .depth-head { margin-bottom: var(--depth-space-lg); }
.depth-d100 .depth-head > p { color: var(--depth-silver); }
.ledger-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--depth-space-lg); padding-block: 0 var(--depth-space-lg); border-bottom: 1px solid var(--depth-dark-line); }
.ledger-toolbar > p { margin: 0; color: var(--depth-silver); font-size: 14px; line-height: 1.6; }
.precision-switch { display: flex; flex-wrap: wrap; gap: var(--depth-space-xs); padding: 0; margin: 0; border: 0; }
.precision-switch legend { position: absolute; width: 1px; height: 1px; overflow: clip; clip-path: inset(50%); }
.precision-switch label { position: relative; cursor: pointer; }
.precision-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.precision-switch span { display: inline-flex; align-items: center; justify-content: center; min-width: 110px; min-height: 44px; padding: var(--depth-space-xs) var(--depth-space-lg); border: 1px solid var(--depth-dark-line); border-radius: var(--depth-radius); background: var(--depth-transparent); color: var(--depth-silver); font-size: 14px; transition: background-color 160ms var(--depth-ease), border-color 160ms var(--depth-ease); }
.precision-switch input:checked + span { background: var(--depth-signal); border-color: var(--depth-signal); color: var(--depth-ink); }
.precision-switch label:hover span { border-color: var(--depth-signal); }
.precision-switch input:focus-visible + span { outline: 3px solid var(--depth-signal); outline-offset: 4px; }
.precision-switch input:disabled + span { opacity: .55; cursor: not-allowed; }
.ledger-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.ledger-sheet { min-width: 0; padding: var(--depth-space-xl) var(--depth-space-2xl) var(--depth-space-xl) 0; }
.ledger-sheet + .ledger-sheet { padding-right: 0; padding-left: var(--depth-space-2xl); border-left: 1px solid var(--depth-dark-line); }
.ledger-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--depth-space-2xs) var(--depth-space-sm); margin-bottom: var(--depth-space-lg); }
.ledger-sheet h3 { margin: 0; color: var(--depth-white); font-size: 20px; font-weight: 600; line-height: 1.5; min-width: 0; overflow-wrap: break-word; }
.ledger-title p { margin: 0; color: var(--depth-silver); font-size: 13px; line-height: 1.6; }
.expert-grid { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: var(--depth-space-xs); margin-bottom: var(--depth-space-sm); }
.expert-cell { height: 47px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--depth-dark-line); border-radius: 3px; color: var(--depth-silver); font-size: 12px; font-variant-numeric: tabular-nums; }
.expert-cell.is-active { border-color: var(--depth-signal); color: var(--depth-ink); background: var(--depth-signal); }
.expert-caption { display: flex; justify-content: space-between; gap: var(--depth-space-md); min-height: 24px; margin: 0; color: var(--depth-silver); font-size: 13px; line-height: 1.7; }
.expert-caption b { color: var(--depth-signal); font-weight: 400; }
.bandwidth-path { display: grid; grid-template-columns: minmax(0,1fr) 36px minmax(0,1fr); align-items: center; min-height: 47px; margin-bottom: var(--depth-space-sm); }
.bandwidth-path > div { display: flex; align-items: baseline; gap: var(--depth-space-xs); }
.bandwidth-path strong { color: var(--depth-white); font-size: 27px; font-weight: 600; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bandwidth-path small { color: var(--depth-silver); font-size: 12px; }
.bandwidth-route { position: relative; display: block; height: 1px; margin-right: var(--depth-space-sm); background: var(--depth-dark-line); color: var(--depth-silver); }
.bandwidth-route::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--depth-signal); border-right: 1px solid var(--depth-signal); transform: rotate(45deg); }
.ledger-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--depth-space-sm); margin-top: var(--depth-space-xl); color: var(--depth-white); }
.ledger-value output { display: inline-block; font-size: clamp(48px,5vw,68px); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ledger-value > span { font-size: 22px; color: var(--depth-silver); }
.ledger-value-label { margin: var(--depth-space-sm) 0 0; color: var(--depth-silver); font-size: 14px; line-height: 1.7; }
.ledger-formula { display: flex; flex-wrap: wrap; gap: var(--depth-space-2xs); margin: var(--depth-space-lg) 0 0; padding-top: var(--depth-space-md); border-top: 1px solid var(--depth-dark-line); color: var(--depth-silver); font-size: 14px; line-height: 1.7; font-variant-numeric: tabular-nums; }
.ledger-formula b { color: var(--depth-signal); font-weight: 400; }
.ledger-footnote { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--depth-space-2xl); padding-top: var(--depth-space-lg); border-top: 1px solid var(--depth-dark-line); }
.ledger-footnote p { margin: 0; color: var(--depth-silver); font-size: 12px; line-height: 1.8; }
.ledger-footnote strong { color: var(--depth-white); font-weight: 500; }
.depth-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }
.depth-d100 .depth-caption { color: var(--depth-silver); }
.depth-d100 + .lab-cta { margin-top: var(--space-60); }

/* Action-triggered light trails are absent from the static composition. */
.execution-bus-line { transform-origin: center; }
.depth-flow-pulse { position: absolute; display: block; width: min(28px, 38%); height: 3px; left: 0; top: -1px; opacity: 0; pointer-events: none; background: var(--depth-signal); }
.depth-execution .depth-flow-pulse { background: var(--depth-active-ink); }
.depth-flow-pulse--vertical { width: 3px; height: min(9px, 42%); left: -1px; top: 0; }

@media (max-width: 900px) {
  .depth-head { grid-template-columns: minmax(0,1fr); gap: var(--depth-space-md); }
  .depth-head > p { max-width: 60ch; }
  .execution-board { grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr); gap: var(--depth-space-lg); }
  .execution-notes { padding-left: var(--depth-space-lg); }
  .execution-note h3 { font-size: 22px; }
  .execution-unit { padding-inline: var(--depth-space-sm); }
  .execution-unit strong { font-size: 16px; }
  .ledger-sheet { padding-right: var(--depth-space-lg); }
  .ledger-sheet + .ledger-sheet { padding-left: var(--depth-space-lg); }
  .ledger-toolbar > p { max-width: 45ch; }
  .bandwidth-path strong { font-size: 23px; }
}

@media (max-width: 640px) {
  .depth-section { padding-block: var(--depth-space-2xl); }
  .depth-head { margin-bottom: var(--depth-space-lg); }
  .depth-head h2 { font-size: 30px; }
  .depth-head > p { font-size: 15px; line-height: 1.7; }
  .execution-board { grid-template-columns: minmax(0,1fr); gap: var(--depth-space-lg); }
  .instruction-stream { gap: var(--depth-space-sm); padding: var(--depth-space-md) var(--depth-space-sm); }
  .instruction-stream > span { font-size: 13px; }
  .instruction-stream ol { gap: var(--depth-space-lg); font-size: 12px; }
  .instruction-link { left: -17px; width: 10px; }
  .execution-branches { gap: var(--depth-space-xs); }
  .execution-unit { min-height: 147px; padding: var(--depth-space-md) var(--depth-space-sm); }
  .execution-unit strong { font-size: 14px; }
  .execution-unit small { font-size: 12px; }
  .execution-symbol { width: 40px; }
  .residency-bus { gap: var(--depth-space-sm); }
  .residency-bus strong { font-size: 14px; }
  .residency-bus span { font-size: 12px; }
  .execution-notes { border-left: 0; padding-left: 0; }
  .execution-note h3 { font-size: 22px; margin-bottom: var(--depth-space-sm); }
  .execution-note p { font-size: 15px; line-height: 1.75; }
  .execution-equation { margin-top: var(--depth-space-md); font-size: 14px; }
  .execution-replay { margin-top: var(--depth-space-sm); }
  .storage-hierarchy { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: var(--depth-space-lg); }
  .storage-hierarchy li { padding-inline: var(--depth-space-md); }
  .storage-hierarchy li:nth-child(3) { border-left: 0; padding-left: 0; }
  .storage-hierarchy strong { font-size: 14px; }
  .storage-hierarchy span { font-size: 12px; }
  .depth-execution + .lab-section { padding-block: var(--depth-space-2xl); }
  .ledger-toolbar { align-items: flex-start; flex-direction: column; gap: var(--depth-space-md); }
  .precision-switch { width: 100%; }
  .precision-switch label { flex: 1; }
  .precision-switch span { width: 100%; }
  .ledger-grid { grid-template-columns: minmax(0,1fr); }
  .ledger-sheet { padding: var(--depth-space-lg) 0; }
  .ledger-sheet + .ledger-sheet { padding: var(--depth-space-lg) 0; border-left: 0; border-top: 1px solid var(--depth-dark-line); }
  .ledger-sheet h3 { font-size: 19px; }
  .ledger-title { display: block; }
  .ledger-title p { margin-top: var(--depth-space-2xs); }
  .expert-cell { height: 40px; }
  .bandwidth-path { grid-template-columns: minmax(0,1fr) 40px minmax(0,1fr); }
  .bandwidth-path strong { font-size: 27px; }
  .ledger-value { margin-top: var(--depth-space-lg); }
  .ledger-value output { font-size: 58px; }
  .ledger-value > span { font-size: 20px; }
  .ledger-footnote { grid-template-columns: minmax(0,1fr); gap: var(--depth-space-md); }
  .depth-d100 + .lab-cta { margin-top: var(--depth-space-2xl); }
}

@media (prefers-reduced-motion: reduce) {
  .execution-unit, .precision-switch span { transition: none; }
  .execution-unit:active, .execution-replay:active { transform: none; }
  .depth-flow-pulse { display: none; }
}
