:root {
  color-scheme: light;
  --paper: #faf9f6;
  --paper-2: #f0ede6;
  --ink: #131314;
  --ink-soft: #4a4a4b;
  --muted: #777779;
  --line: #e5e2db;
  --surface: #fff;
  --accent: #d97757;
  --accent-deep: #b85536;
  --accent-wash: #f8e9e3;
  --green: #2f7955;
  --green-wash: #e6f1e9;
  --blue: #476f8d;
  --blue-wash: #e7eff4;
  --amber: #96712d;
  --amber-wash: #f4eddb;
  --red: #9b4c46;
  --red-wash: #f5e8e5;
  --radius: 18px;
  font-family: Geist, "Segoe UI", system-ui, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  background: var(--paper);
  color: var(--ink);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
html { scroll-snap-type: y mandatory; scroll-padding-top: 3.5rem; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, a { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, main:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 30; top: 8px; left: 8px; padding: 10px 14px; transform: translateY(-150%); background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { transform: none; }
.topbar { position: fixed; z-index: 20; inset: 0 0 auto; height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 3vw, 48px); border-bottom: 1px solid rgb(229 226 219 / .8); background: rgb(250 249 246 / .94); backdrop-filter: blur(12px); }
.wordmark { text-decoration: none; font-weight: 800; letter-spacing: .09em; font-size: 12px; }
.wordmark span { color: var(--muted); font-size: 10px; letter-spacing: .12em; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.key-hint { color: var(--muted); font: 11px/1.2 ui-monospace, monospace; }
.print-button { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; background: var(--surface); color: var(--ink); cursor: pointer; font-size: 11px; font-weight: 650; }
.print-button:hover { border-color: var(--accent); color: var(--accent-deep); }
main { scroll-snap-type: y mandatory; }
.scene { position: relative; min-height: 100svh; padding: 66px 7vw 50px; display: grid; place-items: center; scroll-snap-align: start; scroll-snap-stop: always; overflow: clip; }
.scene-inner { width: min(100%, calc((100svh - 132px) * 1.77778)); min-height: min(calc(100svh - 118px), 860px); max-height: calc(100svh - 88px); padding: clamp(22px, 3vw, 50px) clamp(20px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.scene-footer { position: absolute; bottom: 20px; left: clamp(18px, 3vw, 48px); right: clamp(18px, 3vw, 48px); display: flex; justify-content: space-between; color: var(--muted); font: 10px/1.2 ui-monospace, monospace; letter-spacing: .1em; }
.eyebrow { margin: 0 0 15px; color: var(--accent-deep); font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { max-width: 1050px; margin-bottom: 16px; font-size: clamp(34px, 4.15vw, 64px); line-height: 1.03; letter-spacing: -.045em; font-weight: 680; }
h1 em { color: var(--accent); font-style: normal; }
h3 { margin-bottom: 8px; font-size: clamp(17px, 1.4vw, 22px); letter-spacing: -.025em; }
.lead { max-width: 590px; margin-bottom: 24px; color: var(--ink-soft); font-size: clamp(16px, 1.55vw, 21px); line-height: 1.5; }
.scene-intro { max-width: 780px; margin-bottom: clamp(18px, 3vh, 32px); color: var(--ink-soft); font-size: clamp(14px, 1.2vw, 18px); line-height: 1.48; }
.source-note, .small-note { color: var(--muted); font-size: 11px; line-height: 1.5; }
.source-note { font-family: ui-monospace, monospace; }
.small-note { margin: 18px 0 0; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
.cover-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3vw; }
.cover-copy { position: relative; z-index: 1; }
.cover-visual { position: relative; height: min(60vh, 500px); min-height: 300px; }
.hub-mark { position: absolute; z-index: 2; left: 38%; top: 38%; width: 142px; height: 142px; border: 1px solid rgb(217 119 87 / .45); border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 5px; background: var(--surface); box-shadow: 0 18px 65px rgb(19 19 20 / .08); text-align: center; }
.hub-mark-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--accent); color: white; font-size: 19px; font-weight: 800; }
.hub-mark strong { font-size: 16px; line-height: 1.05; }
.orbit { position: absolute; border: 1px dashed #d8cfc5; border-radius: 50%; }
.orbit-a { inset: 3% 8% 12% 1%; }
.orbit-b { inset: 17% 0 0 16%; border-color: rgb(71 111 141 / .35); }
.orbit span { position: absolute; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-soft); font-size: 11px; box-shadow: 0 4px 18px rgb(19 19 20 / .04); }
.orbit-a span:nth-child(1) { top: 8%; left: 16%; }.orbit-a span:nth-child(2) { top: 49%; right: -2%; }.orbit-a span:nth-child(3) { bottom: 8%; left: 13%; }
.orbit-b span:nth-child(1) { top: 23%; right: 0; }.orbit-b span:nth-child(2) { bottom: 3%; right: 25%; }
.status-node { position: absolute; z-index: 3; top: 45%; right: -2%; padding: 12px 15px; border-radius: 13px; background: var(--green-wash); color: var(--green); font-size: 12px; font-weight: 750; box-shadow: 0 4px 18px rgb(19 19 20 / .04); }
.cover-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: #c4b6aa; stroke-width: 1.4; stroke-dasharray: 4 6; }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.role-card { position: relative; min-height: 230px; padding: clamp(19px, 2.1vw, 30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.step-no { color: var(--accent-deep); font: 10px/1.2 ui-monospace, monospace; letter-spacing: .12em; }
.role-icon { width: 42px; height: 42px; margin: 18px 0; border-radius: 13px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-deep); font-size: 24px; }
.role-card p { max-width: 290px; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.role-card code { position: absolute; bottom: 17px; color: var(--muted); font-size: 10px; }
.callout { margin: 18px 0 0; padding: 14px 18px; border-left: 3px solid var(--accent); background: rgb(248 233 227 / .65); color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.callout strong { color: var(--ink); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin: -4px 0 14px; color: var(--ink-soft); font-size: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot, .square { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.dot.planning { background: var(--amber); }.dot.maintenance { background: var(--blue); }.dot.archived { background: var(--muted); }.square { border-radius: 2px; border: 1px solid var(--accent); background: transparent; }
.ecosystem-map { max-height: min(50vh, 470px); overflow: auto; padding: 2px 3px 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; scrollbar-color: #cec6bb transparent; }
.app-group { min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: rgb(255 255 255 / .65); }
.app-group h3 { min-height: 27px; margin: 0 0 8px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.app-node { position: relative; display: flex; align-items: flex-start; gap: 8px; min-width: 0; margin: 5px 0; padding: 7px 8px; border: 1px solid transparent; border-radius: 8px; background: var(--surface); }
.app-node.landing-flag { border-color: rgb(217 119 87 / .55); }
.app-node .dot { flex: 0 0 8px; width: 8px; height: 8px; margin-top: 3px; }
.app-node .app-name { min-width: 0; overflow-wrap: anywhere; font-size: 10px; line-height: 1.3; font-weight: 650; }
.app-node .record-tag { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; font-weight: 450; }
.app-node .record-tag:empty { display: none; }
.relationship-layout { display: grid; grid-template-columns: 1fr 190px; gap: 18px; min-height: 330px; }
.relationship-graph { position: relative; min-height: 330px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, minmax(45px, 1fr)); gap: 7px 18px; overflow: hidden; }
.graph-node { position: relative; z-index: 1; width: min(100%, 200px); min-height: 38px; padding: 9px 11px; border: 1px solid #e8ded7; border-radius: 9px; background: var(--paper); font-size: 11px; font-weight: 700; }
.graph-node:nth-child(odd) { justify-self: start; }.graph-node:nth-child(even) { justify-self: end; }
.graph-edge { position: absolute; z-index: 0; left: 36%; right: 36%; height: 1px; border-top: 1px dashed #d2a28d; }
.graph-edge span { position: absolute; left: 50%; top: -10px; transform: translateX(-50%); padding: 2px 5px; background: white; color: var(--muted); white-space: nowrap; font-size: 8px; }
.graph-edge.e1 { top: 18%; }.graph-edge.e2 { top: 37%; border-color: #91b39c; }.graph-edge.e3 { top: 56%; }.graph-edge.e4 { top: 76%; border-color: #91b39c; }.graph-edge.e5 { top: 94%; }
.graph-key { padding: 12px 0; display: grid; grid-template-columns: 30px 1fr; align-content: start; gap: 7px 8px; }
.graph-key span { color: var(--accent-deep); font: 11px/1.4 ui-monospace, monospace; }.graph-key p { margin: 0; font-size: 11px; }.graph-key small { grid-column: 1 / -1; margin-top: 17px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.journey { display: grid; grid-template-columns: 1fr 26px 1fr 26px 1fr; align-items: center; gap: 12px; }
.journey-step { min-width: 0; }.journey-step > .step-no { display: block; margin-bottom: 15px; }
.mock-search, .mock-detail, .mock-open { min-height: 95px; margin-bottom: 16px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); display: flex; align-items: center; gap: 10px; }
.mock-search { color: var(--muted); font-size: 11px; }.mock-search kbd { margin-left: auto; padding: 3px 6px; border: 1px solid var(--line); border-radius: 4px; font-size: 10px; }
.mock-detail { flex-wrap: wrap; align-content: center; }.mock-glyph { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: var(--accent-wash); color: var(--accent-deep); }.mock-detail strong { font-size: 12px; }.mock-detail i { flex-basis: 100%; color: var(--muted); font-size: 9px; font-style: normal; }
.mock-open { justify-content: space-between; background: var(--accent); color: white; font-size: 11px; font-weight: 750; }.mock-open b { font-size: 20px; }
.journey-step p { color: var(--ink-soft); font-size: 12px; line-height: 1.45; }.journey-arrow { color: var(--accent); text-align: center; font-size: 20px; }
.scene-data { background: #f3f5f2; }.scene-data .eyebrow { color: var(--green); }
.data-lanes { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 13px 16px; align-items: center; }
.lane-label { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; align-self: stretch; column-gap: 9px; }
.lane-label > span { grid-row: 1 / 3; align-self: center; font-size: clamp(28px, 2.4vw, 38px) !important; font-weight: 800; line-height: 1; }
.lane-label strong, .lane-label small { grid-column: 2; }
.lane-label { display: flex; flex-direction: column; gap: 3px; }.lane-label > span { color: var(--green); font: 11px ui-monospace, monospace; }.lane-label strong { font-size: 13px; }.lane-label small { color: var(--muted); font-size: 9px; }
.flow-row { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 1vw, 15px); min-width: 0; }
.flow-node { flex: 1 1 0; min-width: 0; min-height: 83px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: flex; flex-direction: column; justify-content: center; gap: 5px; appearance: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.flow-node:focus-visible, .freshness-note:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; z-index: 1; }
.flow-node b { font-size: 11px; }.flow-node small { color: var(--muted); font-size: 9px; line-height: 1.35; }.flow-node.input-node { border-color: #dec6b9; }.flow-node.gate-node { border-color: #dec6b9; background: #fff9f6; }.flow-node.owner-node { border-color: #b8ceb9; background: #f9fcf8; }.flow-node.read-node { border-color: #bacbd3; background: #f8fbfc; }.flow-node.hub-node { border-color: #bbccb9; background: var(--green-wash); }
.flow-arrow { flex: 0 0 auto; color: var(--green); font-size: 16px; }
.freshness-note { width: 100%; display: flex; align-items: center; gap: 12px; margin-top: 19px; padding: 12px 15px; border: 1px solid #dce5d9; border-radius: 12px; background: rgb(255 255 255 / .72); color: inherit; font: inherit; text-align: left; cursor: pointer; }.freshness-note p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }.freshness-note strong { color: var(--ink); }.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--green-wash); }
.case-flow { display: grid; grid-template-columns: 1fr 90px 1fr 90px 1fr; align-items: center; gap: 8px; }
.case-card { position: relative; min-height: 245px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.case-number { position: absolute; right: 17px; top: 15px; color: #bbb2a8; font: 11px ui-monospace, monospace; }.case-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 15px; background: var(--accent-wash); color: var(--accent-deep); font-size: 26px; }.source-card .case-icon { background: var(--blue-wash); color: var(--blue); }.dashboard-card .case-icon { background: var(--green-wash); color: var(--green); }
.case-kicker { margin-bottom: 8px; color: var(--muted); font: 9px ui-monospace, monospace; letter-spacing: .12em; }.case-card p:last-child { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.48; }.case-bridge { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); text-align: center; font-size: 9px; }.case-bridge b { color: var(--accent); font-size: 24px; font-weight: 400; }
.case-boundary { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 13px 16px; border-radius: 10px; background: #f1eee8; font-size: 11px; }.case-boundary b { flex: 0 0 auto; }.case-boundary span { color: var(--ink-soft); }
.scene-surfaces { background: #f4f3ef; }.surface-compare { display: grid; grid-template-columns: 1fr 100px 1fr; align-items: center; gap: 15px; }.surface-card { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }.surface-card header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }.surface-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--green-wash); color: var(--green); font-size: 13px; font-weight: 800; }.user-surface .surface-mark { background: var(--blue-wash); color: var(--blue); }.surface-card header h3 { margin: 0; font-size: 15px; }.surface-card header small { color: var(--muted); font-size: 9px; }.surface-badge { margin-left: auto; padding: 5px 7px; border-radius: 999px; background: var(--green-wash); color: var(--green); font: 8px ui-monospace, monospace; }.user-surface .surface-badge { background: var(--blue-wash); color: var(--blue); }
.surface-window { overflow: hidden; height: 145px; border: 1px solid #263328; border-radius: 8px; background: #111712; }.window-bar { height: 23px; padding: 0 8px; display: flex; align-items: center; gap: 4px; background: #202820; color: #a7b5a7; font-size: 7px; }.window-bar i { width: 5px; height: 5px; border-radius: 50%; background: #6f7d70; }.window-bar span { margin-left: 8px; }.window-content { display: grid; grid-template-columns: 36px 1fr; gap: 8px; height: calc(100% - 23px); padding: 9px; }.window-rail { display: flex; flex-direction: column; gap: 8px; padding: 5px; border-right: 1px solid #334034; }.window-rail b { height: 6px; border-radius: 3px; background: #536252; }.window-panels { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 7px; }.window-panels b { border: 1px solid #3b5140; border-radius: 5px; background: #1c2a1f; }.window-panels.user-panels b:nth-child(4) { display: none; }.surface-card ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; list-style: none; margin: 11px 0 0; padding: 0; color: var(--ink-soft); font-size: 9px; line-height: 1.35; }.surface-card li { padding-left: 9px; border-left: 2px solid #b9cdbc; }.user-surface li { border-color: #b8cad4; }.same-data { display: grid; justify-items: center; gap: 7px; color: var(--muted); text-align: center; font-size: 8px; }.same-data b { display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #c4d2c1; border-radius: 50%; background: white; color: var(--green); font-size: 11px; line-height: 1.2; }
.before-after { display: grid; grid-template-columns: 1fr 50px 1fr; align-items: center; gap: 16px; }.before-after article { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }.before-after article.after-card { border-color: #b8ceb9; background: #f8fcf8; }.before-after small { display: block; margin-top: 15px; color: var(--muted); font-size: 9px; }.work-stack { display: flex; align-items: center; gap: 8px; min-height: 95px; }.work-stack span { flex: 1; min-width: 0; padding: 12px 8px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-soft); text-align: center; font-size: 10px; line-height: 1.35; }.work-stack span + span { position: relative; }.work-stack span + span::before { content: "→"; position: absolute; left: -10px; color: var(--accent); }.connected span { border-color: #c6d8c8; }.outcome-arrow { color: var(--accent); text-align: center; font-size: 24px; }.outcome-points { display: flex; justify-content: space-between; gap: 12px; margin-top: 19px; color: var(--ink-soft); font-size: 10px; }.outcome-points b { margin-right: 6px; color: var(--accent-deep); font: 10px ui-monospace, monospace; }
.scene-next { background: #f1eee8; }.next-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-content: center; gap: 18px 6vw; }.next-layout h2 { font-size: clamp(38px, 4.5vw, 68px); }.next-steps { display: grid; gap: 10px; }.next-steps article { padding: 15px 18px; border: 1px solid #dfd9cf; border-radius: 12px; background: rgb(255 255 255 / .62); }.next-steps article > span { color: var(--accent-deep); font: 9px ui-monospace, monospace; letter-spacing: .12em; }.next-steps h3 { margin: 7px 0 4px; font-size: 15px; }.next-steps p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }.closing-line { grid-column: 1 / -1; margin: 0; color: var(--accent-deep); font-size: clamp(20px, 2.6vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.scene-nav { position: fixed; z-index: 20; top: 50%; right: 14px; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 5px; border: 1px solid rgb(229 226 219 / .8); border-radius: 999px; background: rgb(255 255 255 / .8); backdrop-filter: blur(8px); }.scene-nav button { width: 25px; height: 25px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); cursor: pointer; }.scene-nav button:hover { background: var(--accent-wash); color: var(--accent-deep); }.scene-dots { display: flex; flex-direction: column; gap: 7px; }.scene-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #d4d0c8; cursor: pointer; }.scene-dot[aria-current="true"] { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-wash); }.progress-track { position: fixed; z-index: 21; top: 57px; left: 0; right: 0; height: 2px; background: transparent; }.progress-track span { display: block; height: 100%; width: 10%; background: var(--accent); transition: width .2s ease-out; }
@media (max-height: 760px) and (min-width: 761px) { .scene { padding-top: 60px; padding-bottom: 43px; }.scene-inner { min-height: 0; max-height: calc(100svh - 90px); padding-top: 16px; padding-bottom: 16px; }.eyebrow { margin-bottom: 9px; }.scene-intro { margin-bottom: 14px; }.small-note { margin-top: 10px; }.ecosystem-map { max-height: 38vh; }.role-card { min-height: 190px; }.relationship-layout, .relationship-graph { min-height: 285px; }.case-card { min-height: 205px; padding: 16px; }.surface-window { height: 120px; } }
@media (max-width: 1000px) { .scene { padding-left: 5vw; padding-right: 5vw; }.scene-inner { width: 100%; max-height: none; min-height: 0; padding: 18px 24px; }.ecosystem-map { grid-template-columns: repeat(3, minmax(0, 1fr)); max-height: 47vh; }.relationship-layout { grid-template-columns: 1fr 145px; }.graph-node { width: min(100%, 160px); }.graph-edge span { font-size: 7px; }.data-lanes { grid-template-columns: 170px minmax(0, 1fr); }.flow-row { gap: 6px; }.flow-node { padding: 10px 7px; }.flow-node b { font-size: 10px; }.flow-node small { font-size: 8px; }.case-flow { grid-template-columns: 1fr 58px 1fr 58px 1fr; }.case-card { padding: 17px; }.surface-compare { grid-template-columns: 1fr 70px 1fr; gap: 8px; } }
@media (max-width: 760px) { html { scroll-snap-type: y proximity; scroll-padding-top: 58px; }.scene { min-height: 100svh; padding: 74px 18px 66px; overflow: visible; }.scene-inner { width: 100%; min-height: 0; max-height: none; padding: 16px 0; }.scene-footer { bottom: 16px; font-size: 8px; }.scene-footer span:nth-child(2) { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.topbar { height: 52px; padding: 0 15px; }.progress-track { top: 51px; }.key-hint { display: none; }.scene-nav { top: auto; right: 12px; bottom: 12px; transform: none; flex-direction: row; gap: 6px; padding: 4px 7px; }.scene-nav > button { width: 24px; height: 24px; }.scene-dots { flex-direction: row; gap: 6px; }.scene-dot { width: 6px; height: 6px; }.cover-layout { grid-template-columns: 1fr; gap: 4px; }.cover-copy { padding-top: 14px; }.cover-visual { width: min(100%, 390px); height: 300px; min-height: 260px; justify-self: center; }.hub-mark { width: 110px; height: 110px; }.hub-mark-icon { width: 30px; height: 30px; }.orbit span { padding: 6px 9px; font-size: 9px; }.status-node { right: 0; font-size: 10px; }.role-grid { grid-template-columns: 1fr; gap: 9px; }.role-card { min-height: 0; padding: 16px; display: grid; grid-template-columns: 38px 1fr; align-items: center; column-gap: 12px; }.role-card .step-no { grid-column: 1 / -1; }.role-icon { width: 34px; height: 34px; margin: 9px 0; font-size: 20px; }.role-card h3 { margin: 0; }.role-card p { grid-column: 2; margin: 2px 0 0; }.role-card code { position: static; grid-column: 2; margin-top: 5px; }.callout { margin-top: 12px; padding: 11px 13px; font-size: 11px; }.legend { gap: 7px 12px; font-size: 9px; }.ecosystem-map { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: none; overflow: visible; }.app-group { padding: 8px; }.app-group h3 { font-size: 8px; }.app-node { padding: 6px; gap: 6px; }.app-node .app-name { font-size: 9px; }.small-note { font-size: 9px; }.relationship-layout { grid-template-columns: 1fr; gap: 10px; }.relationship-graph { min-height: 320px; padding: 10px; }.graph-node { width: min(100%, 150px); padding: 8px; font-size: 9px; }.graph-key { grid-template-columns: repeat(3, auto 1fr); align-items: center; gap: 4px 6px; }.graph-key small { grid-column: 1 / -1; margin-top: 4px; }.journey { grid-template-columns: 1fr; gap: 10px; }.journey-arrow { transform: rotate(90deg); }.journey-step > .step-no { margin-bottom: 6px; }.mock-search, .mock-detail, .mock-open { min-height: 58px; margin-bottom: 7px; padding: 10px; }.journey-step p { margin-bottom: 3px; font-size: 11px; }.data-lanes { grid-template-columns: 1fr; gap: 7px; }.lane-label { grid-template-columns: 42px minmax(0, 1fr); column-gap: 8px; }.lane-label > span { font-size: 32px !important; }.lane-label small { margin-left: 0; }.flow-row { flex-wrap: wrap; gap: 5px; }.flow-node { flex-basis: calc(50% - 18px); min-height: 66px; }.flow-arrow { font-size: 12px; }.freshness-note { margin-top: 12px; padding: 10px; }.case-flow { grid-template-columns: 1fr; gap: 5px; }.case-card { min-height: 0; padding: 13px; display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; }.case-number { top: 9px; right: 12px; }.case-icon { grid-row: span 3; width: 38px; height: 38px; margin: 0; font-size: 20px; }.case-card .case-kicker { margin: 0; }.case-card h3 { margin: 2px 0; font-size: 15px; }.case-card p:last-child { grid-column: 2; font-size: 10px; }.case-bridge { flex-direction: row; justify-content: center; gap: 8px; }.case-bridge b { transform: rotate(90deg); font-size: 16px; }.case-boundary { align-items: flex-start; flex-direction: column; gap: 4px; margin-top: 10px; font-size: 10px; }.surface-compare { grid-template-columns: 1fr; }.surface-card { padding: 11px; }.surface-window { height: 105px; }.surface-card ul { font-size: 8px; }.same-data { grid-template-columns: auto 48px auto; align-items: center; justify-content: center; }.same-data b { width: 44px; height: 44px; }.before-after { grid-template-columns: 1fr; gap: 8px; }.before-after article { padding: 14px; }.work-stack { min-height: 70px; gap: 5px; }.work-stack span { padding: 8px 5px; font-size: 8px; }.outcome-arrow { transform: rotate(90deg); }.outcome-points { flex-direction: column; gap: 8px; }.next-layout { grid-template-columns: 1fr; gap: 12px; }.next-layout h2 { font-size: 42px; }.next-steps { gap: 7px; }.next-steps article { padding: 11px 14px; }.closing-line { font-size: 21px; } }
@media (max-width: 390px) { .scene { padding-left: 14px; padding-right: 14px; }.wordmark { font-size: 10px; }.print-button { font-size: 10px; padding: 6px 9px; }.ecosystem-map { gap: 6px; }.app-group { padding: 6px; }.app-node .app-name { font-size: 8px; }.graph-node { width: 135px; }.surface-card ul { grid-template-columns: 1fr; }.surface-card li { padding-left: 6px; }.scene-footer span:nth-child(2) { max-width: 42%; } }

/* Live application walkthroughs host each deployed app in its real surface. */
.scene-live-app .scene-inner { justify-content: flex-start; }
.live-app-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 8px; }
.live-app-heading > div { min-width: 0; }
.live-app-heading .eyebrow { margin-bottom: 10px; }
.live-app-heading h2 { max-width: 100%; margin-bottom: 0; }
.live-app-link { flex: 0 0 auto; padding: 12px 16px; border: 1px solid var(--ink); border-radius: 8px; background: var(--ink); color: white; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.live-app-link:hover { background: #3c3c3c; transform: translateY(-2px); }
.live-demo-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 10px; }
.live-demo-choices.surface-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.live-demo-choice { min-width: 0; min-height: 68px; padding: 10px 13px; border: 1px solid #b8b8b8; border-radius: 9px; background: var(--card-white); color: var(--ink); text-align: left; font-size: 16px; font-weight: 750; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease; }
.live-demo-choice small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.25; }
.live-demo-choice[aria-pressed="true"] { border-color: var(--card-dark); background: var(--card-dark); color: white; box-shadow: 0 5px 16px rgb(0 0 0 / .14); }
.live-demo-choice[aria-pressed="true"] small { color: #ededed; }
.live-demo-choice:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.live-app-caption { flex-wrap: wrap; }
.live-app-frame-wrap { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; border: 1px solid #c9ccd3; border-radius: 14px; background: #edf0f7; box-shadow: 0 12px 32px rgb(19 19 20 / .09); }
.live-app-frame { display: block; width: 100%; height: 100%; min-height: 490px; border: 0; background: #edf0f7; }
.live-app-fallback { position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 8px 11px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink-soft); font-size: 13px; }
.live-app-fallback a { color: var(--accent-deep); font-weight: 700; }
.live-app-print-note { display: none; }
.live-app-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 9px; color: var(--ink-soft); font-size: 13px; }
.live-app-caption span:first-child { color: var(--accent-deep); font-weight: 800; letter-spacing: .08em; }
.live-app-caption span:last-child { color: var(--muted); text-align: right; }
@media (max-width: 760px) {
  .scene-live-app { min-height: 100svh; height: auto; max-height: none; overflow: visible; }
  .scene-live-app .scene-inner { max-height: none; min-height: 0; }
  .live-app-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .live-app-heading h2 { font-size: clamp(32px, 7vw, 46px); }
  .live-app-link { align-self: flex-start; }
  .live-app-frame-wrap { min-height: 66svh; }
  .live-app-frame { min-height: 66svh; }
  .live-app-caption { align-items: flex-start; flex-direction: column; gap: 4px; font-size: 12px; }
  .live-app-caption span:last-child { text-align: left; }
  .scene-live-app .scene-footer { position: static; margin: 12px 0 0; }
  .live-demo-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-demo-choices.surface-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-demo-choice { min-height: 64px; padding: 9px 10px; font-size: 15px; }
  .live-demo-choice small { font-size: 12px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  .scene-live-app { height: auto; max-height: none; overflow: visible; }
  .scene-live-app .scene-inner { min-height: 0; max-height: none; }
  .live-app-frame-wrap { min-height: 58svh; }
  .live-app-frame { min-height: 58svh; }
  .scene-live-app .scene-footer { position: static; margin: 12px 0 0; }
  .live-app-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .live-demo-choices.app-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media print {
  .scene-live-app { overflow: hidden; }
  .scene-live-app .scene-inner { justify-content: flex-start; }
  .live-app-heading { align-items: flex-start; }
  .live-app-link, .live-app-fallback { display: none !important; }
  .live-demo-choices { display: none !important; }
  .live-app-frame-wrap { display: none; }
  .live-app-print-note { display: block !important; min-height: 4.7in; padding: .28in; border: 1px solid #ccc; border-radius: 10px; background: #f0f0f0; color: #171717; font-size: 16pt; }
  .live-app-print-note a { display: inline-block; margin-top: .2in; color: #171717; font-weight: 700; }
  .live-app-caption { font-size: 8pt; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
@page { size: 13.333in 7.5in; margin: 0; }
@media print {
  :root { background: #fff; color: #111; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  html, body, main { width: 100%; height: auto; min-width: 0; overflow: visible; scroll-snap-type: none; }
  .topbar, .scene-nav, .progress-track, .skip-link { display: none !important; }
  .scene { width: 13.333in; height: 7.5in; min-height: 0; max-height: none; overflow: hidden; padding: .35in .48in .42in; display: block; break-after: page; page-break-after: always; }
  .scene:last-child { break-after: auto; page-break-after: auto; }
  .scene-inner { width: 100%; height: 100%; min-height: 0; max-height: none; padding: .08in .12in .23in; justify-content: center; }
  .scene-footer { bottom: .17in; left: .6in; right: .6in; font-size: 7pt; }
  h1, h2 { font-size: 32pt; }.scene-intro { font-size: 10pt; }.eyebrow { font-size: 7pt; }.small-note { font-size: 7pt; }
  .ecosystem-map { max-height: 3.3in; }.app-node .app-name { font-size: 7pt; }.app-group h3 { font-size: 7pt; }
  .relationship-layout, .relationship-graph { min-height: 2.8in; }.case-card { min-height: 1.9in; }
  .surface-window { height: 1.25in; }.scene-data { background: #fff; }.scene-surfaces { background: #fff; }.scene-next { background: #faf9f6; }
}

/* Relationship rows keep arrow labels faithful to the catalog source. */
.relationship-graph { display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.relationship-row { display: grid; grid-template-columns: minmax(130px, 1fr) 18px minmax(185px, 1.5fr) 18px minmax(130px, 1fr); align-items: center; gap: 5px; min-height: 31px; padding: 4px 7px; border: 1px solid #eee8e2; border-radius: 8px; background: #fdfcfb; font-size: 9px; }
.relationship-row:nth-child(3n + 2) { background: #f9fcf8; border-color: #e4ede4; }
.relationship-row strong { font-size: 8px; }
.relation-arrow { color: var(--accent); text-align: center; }
.relation-label { color: var(--muted); text-align: center; font-size: 8px; line-height: 1.2; }
@media (max-width: 760px) { .relationship-row { grid-template-columns: minmax(90px, 1fr) 13px minmax(98px, 1.25fr) 13px minmax(90px, 1fr); gap: 3px; padding: 4px; }.relationship-row strong { font-size: 7px; }.relation-label { font-size: 7px; } }
@media print { .ecosystem-map { max-height: none; overflow: visible; grid-template-columns: repeat(4, minmax(0, 1fr)); }.relationship-graph { overflow: visible; }.relationship-row { min-height: 24px; } }
.app-node { padding-top: 5px; padding-bottom: 5px; }
.app-node .record-tag { display: inline; margin-left: 5px; }
@media (min-width: 1200px) { .ecosystem-map { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 760px) { .app-node .record-tag { margin-left: 3px; } }

@media print {
  .scene-inner { justify-content: flex-start; }
  .scene h2 { font-size: 26pt; line-height: 1.02; margin-bottom: 8px; }
  .scene .scene-intro { margin-bottom: 10px; font-size: 9pt; line-height: 1.35; }
  .scene .eyebrow { margin-bottom: 8px; }
  .ecosystem-map { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
  .app-group { padding: 6px; }.app-group h3 { margin-bottom: 4px; min-height: 0; }
  .app-node { margin: 2px 0; padding: 3px 5px; gap: 5px; }
  .app-node .app-name { font-size: 6.5pt; }.app-node .record-tag { font-size: 5.5pt; }
  .relationship-layout { grid-template-columns: 1fr 145px; gap: 10px; min-height: 0; }
  .relationship-graph { min-height: 0; padding: 5px; gap: 2px; }
  .relationship-row { min-height: 19px; padding: 2px 5px; gap: 3px; grid-template-columns: minmax(120px, 1fr) 12px minmax(175px, 1.5fr) 12px minmax(120px, 1fr); }
  .relationship-row strong { font-size: 6pt; }.relation-label { font-size: 5.5pt; }
  .relationship-layout + .callout { margin-top: 9px; padding: 8px 12px; font-size: 8pt; }
  .journey { grid-template-columns: 1fr 20px 1fr 20px 1fr; gap: 6px; }
  .journey-arrow { transform: none; }
  .journey-step > .step-no { margin-bottom: 6px; }.mock-search, .mock-detail, .mock-open { min-height: 65px; padding: 10px; }
  .journey-step p { font-size: 8pt; }
  .data-lanes { grid-template-columns: 105px 1fr; gap: 8px 10px; }
  .flow-row { flex-wrap: nowrap; gap: 5px; }.flow-node { flex: 1 1 0; min-width: 0; min-height: 60px; padding: 7px 5px; }
  .flow-node b { font-size: 7pt; }.flow-node small { font-size: 6pt; }.flow-arrow { font-size: 10pt; }
  .freshness-note { margin-top: 10px; padding: 8px 11px; }.scene-data .small-note { margin-top: 8px; }
  .case-flow { grid-template-columns: 1fr 42px 1fr 42px 1fr; gap: 5px; }
  .case-card { min-height: 0; padding: 12px; }.case-icon { width: 34px; height: 34px; margin-bottom: 10px; font-size: 18px; }
  .case-bridge { flex-direction: column; }.case-bridge b { transform: none; }
  .case-boundary { margin-top: 10px; padding: 9px 12px; font-size: 8pt; }
  .surface-compare { grid-template-columns: minmax(0, 1fr) 65px minmax(0, 1fr); gap: 8px; }
  .surface-card { padding: 10px; }.surface-window { height: 1.05in; }.surface-card ul { font-size: 6.5pt; }
  .surface-card header { margin-bottom: 7px; }.surface-card header h3 { font-size: 11pt; }
  .surface-card header small, .surface-badge { font-size: 6pt; }
  .scene-surfaces .small-note { margin-top: 8px; font-size: 6.5pt; }
  .before-after { gap: 9px; }.before-after article { padding: 12px; }.work-stack { min-height: 65px; gap: 5px; }
  .work-stack span { padding: 8px 5px; font-size: 7pt; }.before-after small { margin-top: 8px; }
  .outcome-points { margin-top: 10px; }
  .next-layout { grid-template-columns: .9fr 1.1fr; gap: 10px 35px; }.next-steps { gap: 6px; }
  .next-steps article { padding: 9px 12px; }.next-steps h3 { margin: 4px 0 2px; font-size: 10pt; }.next-steps p { font-size: 7.5pt; }
  .closing-line { font-size: 20pt; }
}

/* Readability pass: keep the same story, with fewer tiny labels and calmer cards. */
@media screen {
  .scene-inner { width: min(100%, 1500px); }
  h1, h2 { font-size: clamp(42px, 3.2vw, 62px); }
  .eyebrow { font-size: 13px; letter-spacing: .12em; }
  .scene-intro, .lead { font-size: clamp(18px, 1.25vw, 21px); line-height: 1.4; }
  .source-note, .small-note { font-size: 15px; line-height: 1.5; }
  .role-card { min-height: 250px; border-radius: 14px; box-shadow: none; }
  .role-card p, .callout { font-size: 17px; line-height: 1.5; }
  .role-card code { font-size: 13px; }
  .ecosystem-map { align-content: start; max-height: none; overflow: visible; gap: 10px; }
  .app-group { align-self: start; padding: 10px; border-radius: 12px; background: #fff; }
  .app-group h3 { min-height: 0; margin-bottom: 7px; font-size: 12px; letter-spacing: .06em; }
  .app-node { align-items: center; margin: 2px 0; padding: 5px 6px; gap: 7px; }
  .app-node .app-name { font-size: 13px; line-height: 1.25; }
  .app-node .record-tag { display: none; }
  .legend { font-size: 13px; gap: 8px 16px; }
  .relationship-row { min-height: 42px; font-size: 12px; }
  .relationship-row strong { font-size: 12px; }
  .relation-label { font-size: 11px; }
  .graph-key p, .journey-step p, .lane-label strong, .case-card p, .surface-card li,
  .before-after small, .next-steps p { font-size: 15px; line-height: 1.45; }
  .flow-node b { font-size: 15px; }
  .flow-node small, .surface-card header small { font-size: 12px; }
  .case-kicker, .work-stack span, .outcome-points { font-size: 14px; }
  .case-number, .next-steps article > span, .outcome-points b { font-size: 12px; }
  .surface-card ul { font-size: 14px; }
  .same-data { font-size: 12px; }
  .scene-footer { font-size: 12px; }
  .scene-nav { padding: 10px 7px; }
  .scene-dot { width: 10px; height: 10px; }
}
@media screen and (max-width: 1000px) {
  .scene-intro, .lead { font-size: 18px; }
  .ecosystem-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .app-node .app-name { font-size: 14px; }
  .role-card p, .callout { font-size: 16px; }
}
@media screen and (max-width: 760px) {
  .scene-inner { padding: 14px 0; }
  h1, h2 { font-size: clamp(34px, 8vw, 48px); }
  .scene-intro, .lead { font-size: 18px; }
  .source-note, .small-note { font-size: 14px; }
  .eyebrow { font-size: 12px; }
  .role-card p, .callout { font-size: 15px; }
  .ecosystem-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-group { padding: 10px; }
  .app-group h3 { font-size: 12px; }
  .app-node .app-name { font-size: 13px; }
  .app-node .record-tag { font-size: 10px; }
  .legend { font-size: 11px; }
  .graph-key p, .journey-step p, .case-card p, .next-steps p { font-size: 14px; }
  .scene-footer { font-size: 10px; }
}

/* Presentation-wide type and neutral card tone system. */
:root {
  --paper: #ffffff;
  --paper-2: #f0f0f0;
  --ink: #171717;
  --ink-soft: #414141;
  --muted: #666666;
  --line: #d7d7d7;
  --surface: #ffffff;
  --accent-wash: #eeeeee;
  --green-wash: #eeeeee;
  --blue-wash: #eeeeee;
  --amber-wash: #eeeeee;
  --red-wash: #eeeeee;
  --card-white: #ffffff;
  --card-light: #eeeeee;
  --card-dark: #3c3c3c;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--paper);
}
*, *::before, *::after { font-family: "Segoe UI", Arial, sans-serif !important; }
body, .scene { background: var(--paper); }
.scene-data, .scene-surfaces { background: #eeeeee !important; }
@media screen and (max-width: 390px) {
  .ecosystem-map { grid-template-columns: 1fr; }
  .app-node .app-name { font-size: 14px; }
  .scene-footer span:nth-child(2) { max-width: 38%; }
}
@media print {
  .scene-inner { justify-content: flex-start; }
  .scene-intro { font-size: 12pt; }
  .small-note, .source-note { font-size: 9pt; }
  .app-node .app-name { font-size: 8pt; }
  .app-group h3 { font-size: 8pt; }
  .work-stack span, .outcome-points { font-size: 10pt; }
  .relationship-row, .relationship-row strong { font-size: 7pt; }
  .relation-label { font-size: 6.5pt; }
}

/* Gentle motion and pointer feedback. Transforms do not change document flow. */
@keyframes hub-breathe {
  0%, 100% { box-shadow: 0 18px 65px rgb(19 19 20 / .08); }
  50% { box-shadow: 0 22px 72px rgb(217 119 87 / .17); }
}
@keyframes orbit-dash { to { stroke-dashoffset: -40; } }
@keyframes orbit-label-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -5px; }
}
@keyframes status-glow {
  0%, 100% { box-shadow: 0 4px 18px rgb(19 19 20 / .04); }
  50% { box-shadow: 0 5px 24px rgb(47 121 85 / .20); }
}
@keyframes scene-enter {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
.scene.is-current .scene-inner > * { animation: scene-enter 420ms cubic-bezier(.2,.7,.2,1) both; }
.scene.is-current .scene-inner > :nth-child(2) { animation-delay: 45ms; }
.scene.is-current .scene-inner > :nth-child(3) { animation-delay: 90ms; }
.scene.is-current .scene-inner > :nth-child(4) { animation-delay: 135ms; }
.scene.is-current .scene-inner > :nth-child(5) { animation-delay: 180ms; }
.scene.is-current .scene-inner > :nth-child(6) { animation-delay: 225ms; }
.scene-cover .hub-mark { animation: hub-breathe 5s ease-in-out infinite; }
.scene-cover .cover-lines path { animation: orbit-dash 12s linear infinite; }
.scene-cover .orbit-a span { animation: orbit-label-float 4.6s ease-in-out infinite; }
.scene-cover .orbit-a span:nth-child(2) { top: 49%; right: 19%; animation-delay: .7s; }
.scene-cover .orbit-a span:nth-child(3) { animation-delay: 1.4s; }
.scene-cover .orbit-b span:nth-child(1) { animation-delay: .35s; }
.scene-cover .orbit-b span:nth-child(2) { animation-delay: 1.05s; }
.scene-cover .status-node { animation: status-glow 4s ease-in-out infinite; }
.relationship-row, .role-card, .journey-step, .case-card,
.mock-search, .mock-detail, .mock-open,
.surface-card, .before-after article, .next-steps article, .flow-node,
.orbit span, .hub-mark, .status-node {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease,
    background-color 180ms ease, color 180ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .live-demo-choice:hover { transform: translateY(-2px); border-color: var(--accent-deep); box-shadow: 0 8px 20px rgb(19 19 20 / .09); }
  .scene-cover .orbit span:hover { z-index: 4; transform: translateY(-4px) scale(1.08); border-color: var(--accent); color: var(--accent-deep); box-shadow: 0 9px 25px rgb(19 19 20 / .13); }
  .scene-cover .hub-mark:hover { transform: scale(1.07); animation-play-state: paused; }
  .scene-cover .status-node:hover { transform: translateY(-4px) scale(1.06); animation-play-state: paused; }
  .role-card:hover, .case-card:hover, .surface-card:hover,
  .before-after article:hover, .next-steps article:hover, .flow-node:hover {
    transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 28px rgb(19 19 20 / .09);
  }
  .journey-step:hover .mock-search, .journey-step:hover .mock-detail,
  .journey-step:hover .mock-open {
    transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 8px 20px rgb(19 19 20 / .09);
  }
  .relationship-row:hover { transform: translateX(4px); border-color: #d7a18b; box-shadow: 0 4px 14px rgb(19 19 20 / .07); }
}
.scene-cover .orbit span:focus-visible, .scene-cover .hub-mark:focus-visible,
.scene-cover .status-node:focus-visible,
.role-card:focus-within, .journey-step:focus-within, .case-card:focus-within,
.surface-card:focus-within, .next-steps article:focus-within {
  outline: 3px solid var(--accent); outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .scene.is-current .scene-inner > *,
  .scene-cover .hub-mark, .scene-cover .cover-lines path, .scene-cover .orbit span,
  .scene-cover .status-node { animation: none !important; }
  .live-demo-choice:hover { transform: none !important; }
  .relationship-row, .role-card, .journey-step, .case-card,
  .mock-search, .mock-detail, .mock-open,
  .surface-card, .before-after article, .next-steps article, .flow-node, .live-demo-choice,
  .orbit span, .hub-mark, .status-node { transition: none !important; }
}
@media print {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .app-node, .relationship-row, .role-card, .journey-step, .case-card,
  .mock-search, .mock-detail, .mock-open,
  .surface-card, .before-after article, .next-steps article, .flow-node,
  .orbit span, .hub-mark, .status-node { transform: none !important; translate: none !important; }
}
@media screen and (max-width: 760px) {
  /* The numbered stages carry the sequence; keep arrow marks out of the card edges. */
  .journey { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .journey-step { width: 100%; min-width: 0; transform: none; box-shadow: none; }
  .journey-arrow { display: none; }
  .mock-search, .mock-detail, .mock-open { width: 100%; min-width: 0; }
}

/* Stable scene picker: a fixed-height counter replaces the moving dot stack. */
.scene-picker { position: relative; display: grid; place-items: center; }
.scene-counter { width: auto !important; min-width: 50px; height: 30px !important; padding: 0 4px; border-radius: 8px !important; font-size: 12px; font-weight: 700; }
.scene-counter:hover, .scene-counter[aria-expanded=true] { background: var(--card-light) !important; }
.scene-menu { position: absolute; z-index: 30; top: 50%; right: calc(100% + 10px); display: grid; gap: 3px; width: 230px; max-height: min(70vh, 540px); overflow: auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--card-white); box-shadow: 0 12px 36px rgb(0 0 0 / .14); transform: translateY(-50%); }
.scene-menu[hidden] { display: none; }
.scene-menu-item { padding: 9px 10px; border: 0; border-radius: 7px; color: var(--ink); background: transparent; text-align: left; font-size: 13px; cursor: pointer; }
.scene-menu-item:hover, .scene-menu-item[aria-current=true] { background: var(--card-light); }
@media (max-width: 760px) {
  .scene-menu { top: auto; right: 0; bottom: calc(100% + 8px); transform: none; }
}

/* Presentation-wide type scale and three neutral card tones. */
html, body, *, *::before, *::after { font-family: "Segoe UI", Arial, sans-serif !important; }
body { font-size: 17px; }
.eyebrow, .step-no, .case-kicker { font-size: 13px !important; }
.scene-footer, .wordmark span, .key-hint, .print-button, .source-note,
.small-note, .legend, .app-group h3, .app-node .app-name, .app-node .record-tag,
.graph-node, .graph-key span, .graph-key p, .graph-key small,
.relationship-row, .relationship-row strong, .relation-label,
.mock-search, .mock-search kbd, .mock-detail strong, .mock-detail i, .mock-open,
.role-card p, .callout, .lane-label, .lane-label small, .flow-node b, .flow-node small,
.freshness-note p, .case-number, .case-card p, .case-bridge, .case-boundary,
.surface-card ul, .surface-card header small, .surface-badge, .before-after small,
.work-stack span, .outcome-points, .next-steps article > span, .next-steps p,
.closing-line { font-size: max(13px, 1em) !important; }
.scene-footer { font-size: 12px !important; }
.role-card, .case-card, .surface-card, .before-after article, .next-steps article,
.relationship-graph { background: #ffffff !important; }
.app-group, .graph-node, .relationship-row, .flow-node, .callout, .freshness-note,
.case-boundary, .role-icon, .source-card .case-icon, .dashboard-card .case-icon,
.mock-glyph, .scene-data, .scene-surfaces { background: #eeeeee !important; }
.scene-cover .status-node, .surface-mark { background: #3c3c3c !important; color: #ffffff !important; }
.app-node.landing-flag { border-color: var(--line) !important; }
@media (max-width: 760px) { .scene-footer { font-size: 11px !important; } }
@media print {
  .scene-footer, .source-note, .small-note, .app-node .app-name,
  .app-node .record-tag, .relationship-row, .relationship-row strong,
  .relation-label, .role-card p, .case-card p, .next-steps p { font-size: 9pt !important; }
}

/* Keep this short operating-effect headline on one line at every viewport. */
#title-7 { max-width: none; white-space: nowrap; font-size: clamp(17px, 3.4vw, 56px); }
@media (max-width: 760px) { #title-7 { font-size: clamp(15px, 5vw, 36px); } }

/* Expand a live app below the presentation header without remounting its iframe. */
.live-app-placeholder { width: 100%; min-height: 0; flex: 0 0 auto; }
.live-app-close {
  position: absolute; z-index: 2; top: 12px; right: 12px;
  min-height: 44px; border: 1px solid #bdbdbd; background: #fff; color: #171717;
  box-shadow: 0 5px 18px rgb(0 0 0 / .16); cursor: pointer;
}
.live-app-close { display: none; place-items: center; width: 44px; padding: 0; border-radius: 50%; font-size: 28px; line-height: 1; }
.live-app-close:hover, .live-app-open-external:hover { background: #eeeeee; }
.live-app-close:focus-visible, .live-app-open-external:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.live-app-open-external { display: none; position: absolute; z-index: 2; top: 12px; right: 68px; min-height: 44px; padding: 12px 14px; border: 1px solid #bdbdbd; border-radius: 999px; background: #fff; color: #171717; box-shadow: 0 5px 18px rgb(0 0 0 / .16); text-decoration: none; font-size: 14px; font-weight: 700; }
.scene-live-app.is-preview-open { overflow: visible; }
html.app-preview-open { scroll-snap-type: none; }
.app-preview-open .topbar { z-index: 40; }
.app-preview-open .scene-nav { visibility: hidden; pointer-events: none; }
.live-app-frame-wrap.is-expanded {
  position: fixed; z-index: 30;
  top: var(--app-top); left: var(--app-left);
  width: var(--app-width); height: var(--app-height);
  min-height: 0; max-height: none; margin: 0;
  transition: top 480ms cubic-bezier(.2,.7,.2,1), left 480ms cubic-bezier(.2,.7,.2,1),
    width 480ms cubic-bezier(.2,.7,.2,1), height 480ms cubic-bezier(.2,.7,.2,1),
    border-radius 480ms cubic-bezier(.2,.7,.2,1);
}
.live-app-frame-wrap.is-expanded.is-open {
  top: var(--app-header-height); left: 0; width: var(--app-open-width);
  height: calc(100dvh - var(--app-header-height)); border-radius: 0;
}
.live-app-frame-wrap.is-expanded .live-app-frame { height: 100%; min-height: 0; }
.live-app-frame-wrap.is-expanded .live-app-fallback { display: none; }
.live-app-frame-wrap.is-expanded .live-app-close { display: grid; }
.live-app-frame-wrap.is-expanded .live-app-open-external { display: inline-flex; align-items: center; }
@media (prefers-reduced-motion: reduce) {
  .live-app-frame-wrap.is-expanded { transition: none; }
}
@media print {
  .live-app-open-external, .live-app-close { display: none !important; }
}

/* Clickable ownership-flow cards open a source-backed detail dialog. */
.data-lanes .flow-node { background: #eeeeee !important; border-color: #d8d8d8 !important; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.data-lanes .flow-node:hover { transform: translateY(-2px); border-color: var(--accent) !important; box-shadow: 0 8px 20px rgb(23 23 23 / .1); }
.freshness-note { background: #fff !important; border-color: #d8d8d8; transition: box-shadow 180ms ease, border-color 180ms ease; }
.freshness-note:hover { border-color: var(--green); box-shadow: 0 6px 16px rgb(23 23 23 / .08); }
.flow-detail-dialog { position: fixed; width: min(620px, calc(100vw - 32px)); max-width: none; max-height: min(80vh, 600px); margin: auto; padding: clamp(24px, 4vw, 42px); border: 1px solid #d8d8d8; border-radius: 20px; background: #fff; color: #171717; box-shadow: 0 24px 80px rgb(0 0 0 / .25); }
.flow-detail-dialog::backdrop { background: rgb(23 23 23 / .56); backdrop-filter: blur(3px); }
.flow-detail-dialog .eyebrow { margin: 0 52px 18px 0; color: var(--accent); }
.flow-detail-dialog h2 { margin: 0 48px 16px 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.flow-detail-copy { margin: 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.flow-detail-source { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid #dedede; color: #555; font-size: 14px; line-height: 1.45; }
.flow-detail-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 1px solid #d8d8d8; border-radius: 50%; background: #fff; color: #171717; font-size: 26px; cursor: pointer; }
.flow-detail-close:hover { background: #eeeeee; }
.flow-detail-close:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 760px) { .flow-detail-dialog { padding: 28px 22px 24px; }.flow-detail-dialog h2 { font-size: 30px; }.flow-detail-copy { font-size: 18px; }.flow-detail-source { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .data-lanes .flow-node, .freshness-note { transition: none; } }
@media print { .flow-detail-dialog { display: none !important; }.data-lanes { grid-template-columns: 125px 1fr; }.lane-label { grid-template-columns: 34px minmax(0, 1fr); column-gap: 6px; }.lane-label > span { font-size: 25pt !important; } }

/* Final label layout overrides the original compact row styles above. */
.data-lanes .lane-label { display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; align-self: stretch; column-gap: 9px; gap: 0 9px; }
.data-lanes .lane-label > span { grid-row: 1 / 3; grid-column: 1; align-self: center; color: var(--green); font: 800 clamp(28px, 2.4vw, 38px)/1 "Segoe UI", Arial, sans-serif !important; }
.data-lanes .lane-label strong, .data-lanes .lane-label small { grid-column: 2; }
@media (max-width: 760px) {
  .data-lanes .lane-label { grid-template-columns: 42px minmax(0, 1fr); column-gap: 8px; gap: 0 8px; }
  .data-lanes .lane-label > span { font-size: 32px !important; }
  .data-lanes .lane-label small { margin-left: 0; }
}
@media print {
  .data-lanes { grid-template-columns: 125px 1fr; }
  .data-lanes .lane-label { grid-template-columns: 34px minmax(0, 1fr); column-gap: 6px; gap: 0 6px; }
  .data-lanes .lane-label > span { font-size: 25pt !important; }
}
