:root {
  --paper: #eeece7;
  --ink: #222420;
  --muted: #676c68;
  --line: #c9cac3;
  --accent: #b34026;
  --panel: #e3e3dc;
  --sans: "DM Sans", sans-serif;
  --mono: "DM Mono", monospace;
  --gutter: clamp(20px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
button:not(:disabled), a { cursor: pointer; }
button { border-radius: 0; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; }
button:disabled { cursor: default; opacity: .4; }
button, a, input { touch-action: manipulation; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--paper); }
p, h1, h2, h3 { margin: 0; }
p { line-height: 1.65; }
.mono, .eyebrow, .fine, .status { font-family: var(--mono); font-weight: 400; }
.eyebrow, .fine { font-size: 10px; line-height: 1.7; letter-spacing: .065em; }
.eyebrow { color: var(--accent); }
.fine { color: var(--muted); }
.mono { font-size: 11px; letter-spacing: .04em; }
.frame { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: var(--gutter); padding: 14px 18px; background: var(--ink); color: var(--paper); transform: translateY(-180%); font-size: 14px; }
.skip-link:focus { transform: translateY(0); }
.reading-progress { position: fixed; z-index: 60; inset: 0 0 auto; height: 2px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

.site-header { position: relative; z-index: 40; display: flex; align-items: center; gap: 20px; max-width: 1440px; min-height: 72px; padding: 18px var(--gutter); margin: 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { flex-shrink: 0; font-size: 12px; font-weight: 700; letter-spacing: .07em; white-space: nowrap; }
.brand span { color: var(--accent); padding: 0 4px; }
.site-header nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-header nav a { position: relative; padding: 8px 0; font-family: var(--mono); font-size: 10px; line-height: 1.4; letter-spacing: .015em; white-space: nowrap; transition: color 160ms; }
.site-header nav a::after { content: ""; position: absolute; height: 1px; left: 0; right: 0; bottom: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 180ms; }
.site-header nav a:hover, .site-header nav a.is-active, .site-header nav a[aria-current] { color: var(--accent); }
.site-header nav a.is-active::after, .site-header nav a[aria-current]::after { transform: scaleX(1); }
.explore-trigger { display: flex; align-items: center; justify-content: center; gap: 12px; flex-shrink: 0; padding: 8px 10px; border: 1px solid var(--line); font-family: var(--mono); font-size: 10px; transition: border-color 160ms, color 160ms; }
.explore-trigger:hover { color: var(--accent); border-color: var(--accent); }
kbd { font-family: inherit; font-size: 10px; color: var(--muted); }

.cover { display: grid; grid-template-columns: 1.12fr .88fr; gap: 40px; padding: 48px 0 40px; align-items: start; }
.intro { min-width: 0; }
.intro .eyebrow { margin-bottom: 30px; }
h1 { font-size: clamp(58px, 7.4vw, 96px); line-height: .97; letter-spacing: -.068em; font-weight: 600; }
h1 em { color: var(--accent); font-style: normal; }
.intro-copy { max-width: 495px; margin-top: 36px; font-size: 17px; line-height: 1.7; color: var(--muted); }
.intro-bottom { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.status { font-size: 10px; letter-spacing: .035em; }
.status::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 9px; background: var(--accent); vertical-align: 2px; }
.hero-link { display: flex; align-items: center; gap: 35px; border-bottom: 1px solid var(--ink); padding-bottom: 9px; font-size: 14px; font-weight: 500; transition: color 160ms, border-color 160ms; }
.hero-link:hover { color: var(--accent); border-color: var(--accent); }
.hero-link span { font-size: 22px; line-height: 1; }
.system-explorer { margin-top: 4px; min-width: 0; }
.explorer-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid var(--ink); padding-top: 12px; }
.explorer-heading .mono { font-size: 10px; }
.explorer-hint { color: var(--accent); font-family: var(--mono); font-size: 10px; white-space: nowrap; }
.system-map { position: relative; width: 100%; aspect-ratio: 480 / 340; margin-top: 18px; }
.map-connections { position: absolute; width: 100%; height: 100%; inset: 0; overflow: visible; }
.map-connections path { stroke: var(--line); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.map-connections path.is-active { stroke: var(--accent); stroke-width: 1.65; stroke-dasharray: 320; stroke-dashoffset: 0; animation: trace-path 800ms ease-out both; }
.map-connections circle { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map-node { position: absolute; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; min-width: 88px; min-height: 66px; padding: 8px 12px; transform: translate(-50%, -50%); background: var(--paper); text-align: center; font-family: var(--mono); font-size: 10px; line-height: 1.5; letter-spacing: .04em; color: var(--muted); transition: color 180ms; }
.map-node::after { content: ""; position: absolute; inset: 0; border: 1px solid transparent; transition: border-color 180ms; }
.map-node:hover, .map-node.is-active { color: var(--accent); }
.map-node:hover::after, .map-node.is-active::after { border-color: var(--line); }
.node-dot { height: 8px; width: 8px; background: var(--paper); border: 1px solid var(--muted); transition: background 180ms, border-color 180ms; }
.map-node:hover .node-dot, .map-node.is-active .node-dot { background: var(--accent); border-color: var(--accent); }
.node-directory { left: 20%; top: 20.5882%; }
.node-policy { left: 80%; top: 20.5882%; }
.node-operations { left: 20%; top: 79.4118%; }
.node-cloud { left: 80%; top: 79.4118%; }
.map-center { position: absolute; left: 50%; top: 48.5294%; transform: translate(-50%, -50%); font-family: var(--mono); font-size: 10px; line-height: 1.6; letter-spacing: .04em; text-align: center; }
.map-audit { position: absolute; left: 50%; bottom: 4.5%; transform: translateX(-50%); color: var(--muted); font-size: 10px; white-space: nowrap; }
.map-preview { position: relative; border-top: 1px solid var(--line); padding: 16px 0 17px; min-height: 125px; }
.map-preview .eyebrow { font-size: 10px; }
.map-preview p { margin: 7px 0 9px; max-width: 340px; font-size: 17px; line-height: 1.35; letter-spacing: -.02em; }
.text-link { display: inline-flex; align-items: center; gap: 17px; font-family: var(--mono); font-size: 10px; color: var(--accent); padding: 3px 0; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.aside-caption { border-top: 1px solid var(--line); padding-top: 15px; }
.aside-caption strong { display: block; font-family: var(--mono); font-size: 10px; line-height: 1.6; font-weight: 400; }
.aside-caption p { max-width: 330px; margin-top: 4px; font-size: 11px; line-height: 1.6; color: var(--muted); }
@keyframes trace-path { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }

.ribbon { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.metric { display: block; padding: 27px 32px 29px; border-left: 1px solid var(--line); }
.metric:first-child { padding-left: 0; border-left: 0; }
.metric:last-child { padding-right: 0; }
.metric strong { display: flex; justify-content: space-between; font-size: 36px; font-weight: 500; line-height: 1.1; letter-spacing: -.045em; }
.metric strong span { font-size: 23px; color: var(--accent); font-weight: 400; }
.metric p { margin-top: 12px; max-width: 240px; font-size: 12px; line-height: 1.6; color: var(--muted); }
a.metric:hover strong { color: var(--accent); }

.chapter { padding-top: 46px; scroll-margin-top: 24px; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 12%; align-items: end; margin-bottom: 34px; }
.chapter-number { margin-bottom: 22px; color: var(--accent); font-size: 10px; }
h2 { font-size: clamp(48px, 5.8vw, 78px); font-weight: 500; line-height: .99; letter-spacing: -.055em; }
.section-aside { max-width: 410px; padding-bottom: 4px; }
.section-intro { font-size: 15px; line-height: 1.7; color: var(--muted); }
.section-aside .fine { margin-top: 24px; font-size: 10px; }
.casebook-layout, .career-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: clamp(36px, 5.6vw, 80px); }
.case-index { position: relative; top: 0; align-self: start; }
.case-tabs { border-top: 1px solid var(--ink); }
.case-tab { width: 100%; display: grid; grid-template-columns: 25px minmax(0, 1fr) 14px; align-items: center; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--muted); transition: color 160ms; }
.case-number { font-family: var(--mono); font-size: 10px; font-weight: 400; }
.case-visit { justify-self: end; color: var(--muted); font-size: 17px; }
.case-tab:hover, .case-tab[aria-selected="true"] { color: var(--accent); }
.case-tab[aria-selected="true"] { border-bottom-color: var(--accent); }
.case-tab[aria-selected="true"] .case-visit { color: var(--accent); }
.case-tab.is-visited:not([aria-selected="true"]) .case-visit { font-size: 12px; }
.exploration { padding-top: 25px; }
.exploration-marks { display: flex; gap: 5px; margin-bottom: 9px; }
.exploration-marks span { height: 2px; flex: 1; background: var(--line); }
.exploration-marks span.is-visited, .exploration-marks span.is-active, .exploration-marks span.is-explored { background: var(--accent); }
.exploration-marks span.is-filled { background: var(--accent); }
.exploration > .mono { font-size: 10px; color: var(--muted); letter-spacing: .05em; }
.index-next { display: block; margin-top: 52px; font-family: var(--mono); font-size: 10px; color: var(--muted); line-height: 1.6; }
.index-next span { display: block; margin-top: 6px; color: var(--ink); font-family: var(--sans); font-size: 14px; }
.index-next:hover span { color: var(--accent); }
.case-panels { min-width: 0; }
.case-panel { border-top: 1px solid var(--ink); padding: 28px 0 42px; scroll-margin-top: 24px; }
.case-panel + .case-panel { margin-top: 32px; }
.is-enhanced .case-panel { margin-top: 0; }
.case-copy .eyebrow { font-size: 10px; }
.case-copy h3 { max-width: 750px; margin-top: 20px; font-size: clamp(29px, 3.1vw, 43px); font-weight: 500; line-height: 1.13; letter-spacing: -.045em; }
.question { margin-top: 24px; max-width: 650px; font-size: 20px; line-height: 1.5; letter-spacing: -.015em; }
.case-context { margin-top: 16px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.method { margin-top: 35px; }
.method-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.method-heading > .mono { font-size: 10px; }
.mode-switch { display: inline-flex; flex-wrap: wrap; gap: 13px; }
.mode-switch button { padding: 7px 0; font-family: var(--mono); font-size: 10px; color: var(--muted); border-bottom: 1px solid transparent; }
.mode-switch button[aria-pressed="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.mode-switch button:hover { color: var(--accent); }
.method-steps { list-style: none; padding: 0; margin: 0; }
.method-steps li { border-top: 1px solid var(--line); }
.method-steps li:last-child { border-bottom: 1px solid var(--line); }
.step-select { display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; gap: 9px; align-items: center; width: 100%; padding: 17px 0; text-align: left; font-family: var(--mono); font-size: 10px; font-weight: 400; line-height: 1.5; letter-spacing: .025em; }
.step-number { color: var(--accent); }
.step-arrow { font-size: 15px; text-align: right; color: var(--muted); }
.method-steps p { margin: -1px 30px 19px 47px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.step-select:hover, .step-select[aria-pressed="true"] { color: var(--accent); }
.method-steps li.is-current { border-top-color: var(--accent); }
.method.is-guided .method-steps li.is-current { background: var(--panel); padding: 0 16px; }
.method.is-guided .method-steps li.is-current .step-arrow { color: var(--accent); }
.walkthrough-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 16px; }
.walkthrough-controls .mono { color: var(--muted); font-size: 10px; white-space: nowrap; }
.text-button { padding: 7px 0; font-family: var(--mono); font-size: 10px; color: var(--accent); line-height: 1.5; }
.text-button:hover:not(:disabled) { text-decoration: underline; text-underline-offset: 4px; }
.text-button:disabled { color: var(--muted); opacity: .45; }
.case-outcome { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 22px; column-gap: 18px; margin-top: 28px; padding: 23px 25px; background: var(--panel); border-left: 2px solid var(--accent); }
.case-outcome > .mono { grid-column: 1; color: var(--accent); font-size: 10px; }
.case-outcome p { grid-column: 1; margin-top: 10px; font-size: 15px; line-height: 1.6; }
.outcome-mark { grid-column: 2; grid-row: 1 / 3; color: var(--accent); font-size: 24px; }
.case-disclaimer { max-width: 650px; margin-top: -10px; font-family: var(--sans); font-size: 11px; line-height: 1.7; letter-spacing: 0; }

.career-note { border-top: 1px solid var(--ink); padding-top: 25px; }
.career-note > .mono { font-size: 16px; line-height: 1.5; letter-spacing: -.03em; }
.career-line { display: flex; flex-direction: column; justify-content: space-between; height: 144px; margin: 25px 0 23px 3px; border-left: 1px solid var(--line); }
.career-line span { position: relative; padding-left: 15px; color: var(--muted); font-family: var(--mono); font-size: 10px; line-height: 1; }
.career-line span::before { content: ""; position: absolute; width: 5px; height: 5px; left: -3px; top: 2px; background: var(--accent); }
.career-note .fine { font-size: 10px; }
.career-timeline { list-style: none; padding: 0; margin: 0; }
.career-entry { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 24px; padding: 27px 0 30px; border-top: 1px solid var(--line); }
.career-entry:first-child { border-top-color: var(--ink); }
.career-date { padding-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.7; }
.career-entry h3 { font-size: 25px; font-weight: 500; line-height: 1.25; letter-spacing: -.03em; }
.career-select { display: grid; grid-template-columns: minmax(0, 1fr) 20px; gap: 20px; width: 100%; padding: 0; text-align: left; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; }
.career-select:hover { color: var(--accent); }
.career-toggle { display: block; color: var(--accent); font-weight: 400; line-height: 1.2; font-size: 23px; transition: transform 180ms; transform-origin: center; }
.career-entry.is-open .career-toggle { transform: rotate(45deg); }
.career-entry > div > p { margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.career-entry p b { color: var(--ink); font-weight: 500; }
.career-connections { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.career-connections .mono { flex: 0 0 100%; color: var(--muted); font-size: 10px; }
.career-connections a, .skill-cases a { color: var(--accent); font-family: var(--mono); font-size: 10px; padding: 6px 0; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; line-height: 1.5; }
.career-connections a:hover, .skill-cases a:hover { text-decoration-color: var(--accent); }
.education h3 { font-size: 20px; }
.education > div > p { margin-top: 10px; }
.recognition { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 20px; font-size: 10px; }
.recognition span { color: var(--accent); margin-right: 10px; font-size: 18px; vertical-align: -2px; }

.skill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skill { padding: 30px 38px 38px 0; border-top: 1px solid var(--ink); }
.skill:nth-child(even) { padding-left: 38px; padding-right: 0; border-left: 1px solid var(--line); }
.skill:nth-child(n+3) { border-top-color: var(--line); }
.skill .eyebrow { font-size: 10px; }
.skill h3 { margin-top: 20px; font-size: 28px; font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.skill h3 button { display: grid; grid-template-columns: minmax(0, 1fr) 20px; align-items: baseline; gap: 22px; width: 100%; padding: 0; text-align: left; font: inherit; letter-spacing: inherit; }
.skill h3 button span { color: var(--accent); font-size: 22px; font-weight: 400; }
.skill h3 button:hover, .skill.is-open h3 { color: var(--accent); }
.skill p { max-width: 460px; margin-top: 16px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.skill-cases { display: flex; flex-wrap: wrap; gap: 6px 22px; border-top: 1px solid var(--line); padding-top: 13px; margin-top: 20px; }
.practice-footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; border-top: 1px solid var(--line); padding-top: 20px; }
.practice-footer .fine { font-size: 10px; }

.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: 10%; margin-top: 38px; padding: 58px clamp(26px, 4.3vw, 62px) 60px; background: var(--ink); color: var(--paper); scroll-margin-top: 24px; }
.contact .eyebrow { color: #df917a; font-size: 10px; margin-bottom: 26px; }
.contact h2 { font-size: clamp(45px, 5.4vw, 72px); }
.contact-intro > p:last-child { margin-top: 24px; max-width: 380px; font-size: 13px; color: #b9bdb4; line-height: 1.8; }
.contact-actions { align-self: end; padding-bottom: 2px; min-width: 0; }
.contact-main { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; border-top: 1px solid #676c68; border-bottom: 1px solid #676c68; font-family: var(--mono); font-size: 11px; line-height: 1.6; }
.contact-main span { font-family: var(--sans); font-size: 28px; line-height: 1; }
.contact-main:hover { color: #df917a; border-bottom-color: #df917a; }
.contact-social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 23px; margin-top: 24px; }
.contact-social a, .contact-social button { padding: 7px 0; font-family: var(--mono); font-size: 10px; line-height: 1.5; }
.contact-social a:hover, .contact-social button:hover { color: #df917a; }
.copy-status { min-height: 18px; margin-top: 10px; color: #b9bdb4; font-size: 10px; }
.site-footer { max-width: 1440px; margin: 0 auto; padding: 24px var(--gutter); display: flex; justify-content: space-between; gap: 22px; color: var(--muted); font-family: var(--mono); font-size: 10px; line-height: 1.7; letter-spacing: .035em; }
.site-footer a { color: var(--ink); white-space: nowrap; }
.site-footer a:hover { color: var(--accent); }

.jump-dialog { width: min(630px, calc(100% - 36px)); max-height: min(84vh, 790px); margin: auto; padding: 30px 34px 22px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); box-shadow: 0 25px 100px #22242025; overflow-y: auto; }
.jump-dialog::backdrop { background: #22242075; backdrop-filter: blur(3px); }
.jump-heading { display: flex; justify-content: space-between; gap: 25px; align-items: flex-start; margin-bottom: 26px; }
.jump-heading .eyebrow { font-size: 10px; }
.jump-heading h2 { margin-top: 13px; font-size: 48px; }
.dialog-close { display: grid; place-items: center; padding: 0; min-width: 36px; min-height: 36px; font-size: 31px; line-height: 1; font-weight: 400; color: var(--muted); }
.dialog-close:hover { color: var(--accent); }
.search-label { display: block; margin-bottom: 9px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.jump-dialog input { display: block; width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 0; padding: 12px 14px; background: var(--panel); color: var(--ink); font-size: 14px; }
.jump-dialog input::placeholder { color: var(--muted); }
.jump-results { margin-top: 22px; border-top: 1px solid var(--ink); }
.jump-results a { position: relative; display: block; padding: 13px 35px 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: -.025em; }
.jump-results a span { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 10px; color: var(--muted); letter-spacing: .025em; font-weight: 400; }
.jump-results a b { position: absolute; right: 3px; top: 23px; color: var(--accent); font-size: 18px; font-weight: 400; }
.jump-results a:hover, .jump-results a.is-current, .jump-results a[aria-selected="true"] { color: var(--accent); }
.jump-results a.is-current { background: var(--panel); }
.jump-empty { padding: 25px 0; font-size: 11px; }
.jump-help { margin-top: 16px; font-size: 10px; }
body.dialog-open { overflow: hidden; }
html:not(.is-enhanced) .casebook-layout { grid-template-columns: minmax(0, 1fr); }
html:not(.is-enhanced) .case-index { display: none; }
html:not(.is-enhanced) .step-select, html:not(.is-enhanced) .career-select, html:not(.is-enhanced) [data-skill] { cursor: text; pointer-events: none; }
html:not(.is-enhanced) .step-arrow, html:not(.is-enhanced) .career-toggle, html:not(.is-enhanced) [data-skill] > span { visibility: hidden; }

@media (max-width: 1100px) {
  .explore-trigger { gap: 8px; }
  .casebook-layout, .career-layout { grid-template-columns: 215px minmax(0, 1fr); gap: 42px; }
  .intro-copy { font-size: 16px; }
  .career-entry { grid-template-columns: 1fr; gap: 12px; }
  .career-date { padding-top: 0; }
  .career-entry h3 { font-size: 25px; }
  .contact { gap: 8%; }
  .contact-main { font-size: 10px; }
}
@media (max-width: 850px) {
  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 13px 20px; padding-top: 16px; padding-bottom: 13px; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; margin-left: 0; justify-content: space-between; gap: 12px; }
  .explore-trigger { grid-column: 2; grid-row: 1; }
  .cover { grid-template-columns: 1.06fr .94fr; gap: 26px; }
  .intro .eyebrow { font-size: 10px; margin-bottom: 26px; }
  .intro-copy { font-size: 14px; margin-top: 27px; }
  .status { font-size: 10px; line-height: 1.7; }
  .intro-bottom { gap: 25px; margin-top: 24px; }
  .hero-link { font-size: 12px; gap: 20px; }
  .explorer-heading .mono { font-size: 10px; }
  .explorer-hint { font-size: 10px; }
  .system-map { margin-top: 20px; }
  .map-node { min-width: 67px; min-height: 56px; padding: 5px 6px; font-size: 10px; gap: 6px; }
  .map-center { font-size: 10px; }
  .map-audit { font-size: 10px; }
  .map-preview { min-height: 128px; padding-top: 13px; }
  .map-preview .eyebrow { font-size: 10px; }
  .map-preview p { font-size: 15px; }
  .aside-caption strong { font-size: 10px; }
  .aside-caption p { font-size: 10px; }
  .metric { padding: 23px 22px 24px; }
  .metric strong { font-size: 31px; }
  .metric p { font-size: 11px; }
  .section-heading { gap: 8%; }
  h2 { font-size: 53px; }
  .section-intro { font-size: 13px; }
  .section-aside .fine { font-size: 10px; margin-top: 20px; }
  .casebook-layout, .career-layout { grid-template-columns: 168px minmax(0, 1fr); gap: 30px; }
  .case-tab { font-size: 13px; grid-template-columns: 20px minmax(0, 1fr) 12px; gap: 5px; padding: 18px 0; }
  .case-number { font-size: 10px; }
  .case-visit { font-size: 14px; }
  .case-copy h3 { font-size: 31px; }
  .case-copy .eyebrow { font-size: 10px; }
  .question { font-size: 17px; }
  .case-context { font-size: 13px; }
  .method-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .mode-switch { gap: 18px; }
  .method-steps p { margin-left: 37px; margin-right: 0; font-size: 12px; }
  .step-select { grid-template-columns: 29px minmax(0, 1fr) 13px; gap: 8px; font-size: 10px; }
  .case-outcome { padding: 19px 20px; }
  .case-outcome p { font-size: 13px; }
  .walkthrough-controls { gap: 10px; }
  .walkthrough-controls .mono { font-size: 10px; }
  .text-button { font-size: 10px; }
  .career-entry h3 { font-size: 23px; }
  .career-entry > div > p { font-size: 13px; }
  .skill { padding-right: 28px; }
  .skill:nth-child(even) { padding-left: 28px; }
  .skill h3 { font-size: 25px; }
  .skill p { font-size: 13px; }
  .contact { grid-template-columns: 1fr; gap: 38px; padding: 40px; }
  .contact h2 { font-size: 61px; }
  .contact-intro > p:last-child { max-width: 425px; }
  .contact-actions { width: 100%; }
  .contact-main { font-size: 11px; }
  .site-footer { flex-wrap: wrap; gap: 12px 25px; }
  .site-footer > span:nth-child(2) { order: 3; flex-basis: 100%; }
  .site-footer a { margin-left: auto; }
}
@media (max-width: 620px) {
  .site-header { gap: 10px 16px; padding-top: 22px; padding-bottom: 8px; }
  .brand { font-size: 10px; letter-spacing: .05em; }
  .brand span { padding: 0 2px; }
  .explore-trigger { gap: 9px; font-size: 10px; padding: 7px 9px; }
  .explore-trigger kbd { font-size: 10px; }
  .site-header nav { gap: 10px; flex-wrap: wrap; }
  .site-header nav a { font-size: 10px; padding-top: 7px; padding-bottom: 8px; }
  .cover { display: block; padding-top: 30px; }
  .intro .eyebrow { font-size: 10px; line-height: 1.8; margin-bottom: 23px; }
  .intro-copy { max-width: 460px; margin-top: 27px; font-size: 15px; line-height: 1.7; }
  .intro-bottom { margin-top: 24px; gap: 25px; }
  .status { font-size: 10px; }
  .hero-link { font-size: 13px; gap: 45px; }
  .system-explorer { margin-top: 36px; }
  .explorer-heading .mono { font-size: 10px; }
  .explorer-hint { font-size: 10px; }
  .system-map { max-width: 440px; margin: 15px auto 0; }
  .map-node { min-width: 80px; min-height: 66px; padding: 7px 9px; gap: 7px; font-size: 10px; }
  .map-center { font-size: 10px; }
  .map-audit { font-size: 10px; }
  .map-preview { padding-top: 16px; padding-bottom: 19px; min-height: 0; }
  .map-preview .eyebrow { font-size: 10px; }
  .map-preview p { max-width: 360px; font-size: 18px; margin-top: 7px; }
  .text-link { font-size: 10px; }
  .aside-caption { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; padding-top: 13px; }
  .aside-caption strong { font-size: 10px; }
  .aside-caption p { font-size: 10px; margin-top: 0; }
  .ribbon { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric { padding: 20px 12px 21px; }
  .metric strong { font-size: clamp(22px, 5.5vw, 32px); display: block; white-space: nowrap; }
  .metric strong span { font-size: 13px; margin-left: 3px; vertical-align: 3px; }
  .metric p { margin-top: 10px; font-size: 10px; line-height: 1.6; }
  .section-heading { display: block; }
  .chapter-number { font-size: 10px; margin-bottom: 18px; }
  h2 { font-size: clamp(47px, 11.7vw, 65px); }
  .section-aside { max-width: 420px; margin-top: 26px; padding-bottom: 0; }
  .section-intro { font-size: 14px; }
  .section-aside .fine { margin-top: 16px; font-size: 10px; }
  .casebook-layout { display: block; }
  .case-index { margin-bottom: 25px; }
  .case-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
  .case-tab { font-size: 13px; padding: 15px 0; grid-template-columns: 20px minmax(0, 1fr) 13px; }
  .case-number { font-size: 10px; }
  .exploration { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 15px; }
  .exploration-marks { width: 100px; flex-shrink: 0; margin-bottom: 0; }
  .exploration > .mono { font-size: 10px; text-align: right; }
  .index-next { display: none; }
  .case-panel { padding-top: 24px; padding-bottom: 33px; }
  .case-copy .eyebrow { font-size: 10px; }
  .case-copy h3 { margin-top: 19px; font-size: clamp(29px, 7.8vw, 40px); }
  .question { font-size: 18px; margin-top: 21px; }
  .case-context { font-size: 14px; margin-top: 15px; }
  .method { margin-top: 29px; }
  .method-heading { flex-direction: row; align-items: center; gap: 10px; }
  .method-heading > .mono { font-size: 10px; }
  .mode-switch { gap: 14px; }
  .mode-switch button { font-size: 10px; }
  .step-select { padding: 17px 0; font-size: 10px; grid-template-columns: 31px minmax(0, 1fr) 15px; }
  .method-steps p { font-size: 13px; margin-left: 39px; margin-bottom: 18px; }
  .walkthrough-controls { gap: 10px; }
  .text-button { font-size: 10px; }
  .case-outcome { margin-top: 25px; padding: 21px 20px; gap: 13px; }
  .case-outcome p { font-size: 14px; }
  .case-disclaimer { margin-top: -3px; font-size: 10px; }
  .career-layout { display: block; }
  .career-note { display: none; }
  .career-entry { grid-template-columns: 1fr; gap: 12px; padding: 24px 0 27px; }
  .career-entry h3 { font-size: 24px; }
  .career-entry > div > p { font-size: 14px; margin-top: 14px; }
  .career-date { font-size: 10px; }
  .career-connections { gap: 7px 20px; }
  .education h3 { font-size: 21px; }
  .recognition { font-size: 10px; line-height: 1.9; padding-top: 16px; margin-top: 0; }
  .recognition span { margin-right: 6px; font-size: 15px; }
  .skill-grid { grid-template-columns: 1fr; }
  .skill { padding: 24px 0 29px; }
  .skill:nth-child(even) { padding: 24px 0 29px; border-left: 0; border-top-color: var(--line); }
  .skill h3 { margin-top: 14px; font-size: 27px; }
  .skill p { font-size: 14px; margin-top: 13px; }
  .practice-footer { display: block; padding-top: 17px; }
  .practice-footer .fine { font-size: 10px; }
  .practice-footer .fine + .fine { margin-top: 9px; }
  .contact { padding: 32px 25px 26px; gap: 30px; }
  .contact .eyebrow { margin-bottom: 23px; font-size: 10px; }
  .contact h2 { font-size: clamp(44px, 11vw, 60px); }
  .contact-intro > p:last-child { font-size: 13px; margin-top: 23px; }
  .contact-main { font-size: 10px; padding: 17px 0; gap: 10px; }
  .contact-main span { font-size: 24px; }
  .contact-social { gap: 9px 18px; margin-top: 17px; }
  .contact-social a, .contact-social button { font-size: 10px; }
  .copy-status { font-size: 10px; }
  .site-footer { font-size: 10px; gap: 10px 16px; }
  .jump-dialog { width: calc(100% - 28px); padding: 24px 22px 20px; max-height: 88dvh; }
  .jump-heading { margin-bottom: 23px; gap: 10px; }
  .jump-heading h2 { font-size: 43px; }
  .jump-heading .eyebrow { font-size: 10px; }
  .jump-dialog input { font-size: 13px; padding-left: 11px; padding-right: 11px; }
  .search-label { font-size: 10px; }
  .jump-results a { font-size: 17px; }
  .jump-help { font-size: 10px; }
}
@media (max-width: 360px) {
  h1 { font-size: 54px; }
  .site-header nav a { font-size: 10px; }
  .explore-trigger kbd { display: none; }
  .status { font-size: 10px; }
  .map-node { min-width: 71px; min-height: 60px; font-size: 10px; }
  .map-center { font-size: 10px; }
  .map-audit { font-size: 10px; }
  .metric { padding-left: 10px; padding-right: 10px; }
  .metric strong { font-size: 22px; }
  .metric strong span { font-size: 11px; margin-left: 0; }
  .metric p { font-size: 10px; }
  .case-tabs { column-gap: 17px; }
  .case-tab { font-size: 11px; gap: 4px; grid-template-columns: 17px minmax(0, 1fr) 10px; }
  .case-number { font-size: 10px; }
  .case-visit { font-size: 12px; }
  .method-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .mode-switch button { font-size: 10px; }
  .contact { padding: 29px 21px 24px; }
  .contact-main { font-size: 10px; }
  .contact-social { column-gap: 15px; }
  .contact-social a, .contact-social button { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .map-connections path.is-active { animation: none; }
}

@media (pointer: coarse) {
  .site-header nav a, .explore-trigger, .mode-switch button, .text-button, .text-link, .dialog-close, .career-select, .skill h3 button, .contact-social a, .contact-social button, .career-connections a, .skill-cases a { min-height: 44px; display: inline-flex; align-items: center; }
  .career-select, .skill h3 button { display: grid; }
  .jump-dialog input { font-size: 16px; }
}
