/* Generated by scripts/build-assets.cjs from ledger.css + systems-map.css + case-studies.css. Do not edit. */
@layer reset, base, animations, mobile;
@layer reset {
*, ::before, ::after {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x:  ;
--tw-pan-y:  ;
--tw-pinch-zoom:  ;
--tw-scroll-snap-strictness: proximity;
--tw-gradient-from-position:  ;
--tw-gradient-via-position:  ;
--tw-gradient-to-position:  ;
--tw-ordinal:  ;
--tw-slashed-zero:  ;
--tw-numeric-figure:  ;
--tw-numeric-spacing:  ;
--tw-numeric-fraction:  ;
--tw-ring-inset:  ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgb(59 130 246 / 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur:  ;
--tw-brightness:  ;
--tw-contrast:  ;
--tw-grayscale:  ;
--tw-hue-rotate:  ;
--tw-invert:  ;
--tw-saturate:  ;
--tw-sepia:  ;
--tw-drop-shadow:  ;
--tw-backdrop-blur:  ;
--tw-backdrop-brightness:  ;
--tw-backdrop-contrast:  ;
--tw-backdrop-grayscale:  ;
--tw-backdrop-hue-rotate:  ;
--tw-backdrop-invert:  ;
--tw-backdrop-opacity:  ;
--tw-backdrop-saturate:  ;
--tw-backdrop-sepia:  ;
--tw-contain-size:  ;
--tw-contain-layout:  ;
--tw-contain-paint:  ;
--tw-contain-style:  ;
}
::backdrop {
--tw-border-spacing-x: 0;
--tw-border-spacing-y: 0;
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
--tw-pan-x:  ;
--tw-pan-y:  ;
--tw-pinch-zoom:  ;
--tw-scroll-snap-strictness: proximity;
--tw-gradient-from-position:  ;
--tw-gradient-via-position:  ;
--tw-gradient-to-position:  ;
--tw-ordinal:  ;
--tw-slashed-zero:  ;
--tw-numeric-figure:  ;
--tw-numeric-spacing:  ;
--tw-numeric-fraction:  ;
--tw-ring-inset:  ;
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgb(59 130 246 / 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
--tw-shadow: 0 0 #0000;
--tw-shadow-colored: 0 0 #0000;
--tw-blur:  ;
--tw-brightness:  ;
--tw-contrast:  ;
--tw-grayscale:  ;
--tw-hue-rotate:  ;
--tw-invert:  ;
--tw-saturate:  ;
--tw-sepia:  ;
--tw-drop-shadow:  ;
--tw-backdrop-blur:  ;
--tw-backdrop-brightness:  ;
--tw-backdrop-contrast:  ;
--tw-backdrop-grayscale:  ;
--tw-backdrop-hue-rotate:  ;
--tw-backdrop-invert:  ;
--tw-backdrop-opacity:  ;
--tw-backdrop-saturate:  ;
--tw-backdrop-sepia:  ;
--tw-contain-size:  ;
--tw-contain-layout:  ;
--tw-contain-paint:  ;
--tw-contain-style:  ;
}
*,
::before,
::after {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
}
::before,
::after {
--tw-content: '';
}
html,
:host {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
font-feature-settings: normal;
font-variation-settings: normal;
-webkit-tap-highlight-color: transparent;
}
body {
margin: 0;
line-height: inherit;
}
hr {
height: 0;
color: inherit;
border-top-width: 1px;
}
abbr:where([title]) {
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
font-weight: inherit;
}
a {
color: inherit;
text-decoration: inherit;
}
b,
strong {
font-weight: bolder;
}
code,
kbd,
samp,
pre {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-feature-settings: normal;
font-variation-settings: normal;
font-size: 1em;
}
small {
font-size: 80%;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
table {
text-indent: 0;
border-color: inherit;
border-collapse: collapse;
}
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
font-feature-settings: inherit;
font-variation-settings: inherit;
font-size: 100%;
font-weight: inherit;
line-height: inherit;
letter-spacing: inherit;
color: inherit;
margin: 0;
padding: 0;
}
button,
select {
text-transform: none;
}
button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
-webkit-appearance: button;
background-color: transparent;
background-image: none;
}
:-moz-focusring {
outline: auto;
}
:-moz-ui-invalid {
box-shadow: none;
}
progress {
vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
height: auto;
}
[type='search'] {
-webkit-appearance: textfield;
outline-offset: -2px;
}
::-webkit-search-decoration {
-webkit-appearance: none;
}
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
summary {
display: list-item;
}
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
margin: 0;
}
fieldset {
margin: 0;
padding: 0;
}
legend {
padding: 0;
}
ol,
ul,
menu {
list-style: none;
margin: 0;
padding: 0;
}
dialog {
padding: 0;
}
textarea {
resize: vertical;
}
input::-moz-placeholder, textarea::-moz-placeholder {
opacity: 1;
color: #9ca3af;
}
input::placeholder,
textarea::placeholder {
opacity: 1;
color: #9ca3af;
}
button,
[role="button"] {
cursor: pointer;
}
:disabled {
cursor: default;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
display: block;
vertical-align: middle;
}
img,
video {
max-width: 100%;
height: auto;
}
[hidden]:where(:not([hidden="until-found"])) {
display: none;
}
.visible {
visibility: visible;
}
.table {
display: table;
}
.contents {
display: contents;
}
.hidden {
display: none;
}
.outline {
outline-style: solid;
}
.transition {
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
}
@layer base {
body.ledger {
--ledger-canvas: #F4F0E8;
--ledger-paper: #FFFCF7;
--ledger-ink: #171A17;
--ledger-secondary: #4F5650;
--ledger-rule: #B7B5AA;
--ledger-soft-rule: #D8D4CA;
--ledger-control-border: #85867C;
--ledger-decision: #BD3927;
--ledger-shell-max: 1320px;
--ledger-touch-size: 44px;
--ledger-button-height: 52px;
--ledger-radius-small: 2px;
--ledger-shadow-overlay: 0 12px 32px rgba(23, 26, 23, .14);
--ledger-feedback-duration: 140ms;
--ledger-ease: cubic-bezier(.2, 0, .2, 1);
margin: 0;
background: var(--ledger-canvas);
color: var(--ledger-ink);
font-family: 'Source Sans 3', system-ui, sans-serif;
font-size: 18px;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
scrollbar-color: var(--ledger-rule) var(--ledger-canvas);
}
body.ledger *, body.ledger *::before, body.ledger *::after { box-sizing: border-box; }
body.ledger h1, body.ledger h2, body.ledger h3, body.ledger p, body.ledger figure, body.ledger dl, body.ledger dd, body.ledger blockquote { margin: 0; }
body.ledger h1, body.ledger h2, body.ledger h3 { color: var(--ledger-ink); font-family: 'Archivo', system-ui, sans-serif; font-weight: 700; text-wrap: balance; }
:where(body.ledger) h2 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.1; letter-spacing: -.025em; }
body.ledger a { color: inherit; }
body.ledger button { font: inherit; }
body.ledger ::selection { background: var(--ledger-soft-rule); color: var(--ledger-ink); }
body.ledger :focus-visible { outline: 2px solid var(--ledger-decision); outline-offset: 5px; }
body.ledger [id] { scroll-margin-top: 100px; }
body.ledger p, body.ledger li, body.ledger dd, body.ledger blockquote, body.ledger figcaption { text-wrap: pretty; }
.ledger-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.ledger-icon { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; }
.ledger-shell { width: min(calc(100% - 96px), var(--ledger-shell-max)); margin-inline: auto; }
.ledger-skip { position: fixed; top: -100px; left: 24px; z-index: 100; padding: 12px 24px; background: var(--ledger-ink); color: var(--ledger-paper) !important; }
.ledger-skip:focus { top: 12px; }
.ledger-text-link { display: inline-flex; align-items: center; gap: 12px; min-height: var(--ledger-touch-size); font-size: 16px; font-weight: 600; line-height: 1.4; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ledger-text-link:hover { text-decoration-thickness: 2px; }
.ledger-nav-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.ledger-button {
max-width: 100%;
display: inline-flex; align-items: center; justify-content: center; gap: 16px;
min-height: var(--ledger-button-height); padding: 12px 24px;
border: 1px solid var(--ledger-ink); border-radius: var(--ledger-radius-small);
background: var(--ledger-ink); color: var(--ledger-canvas) !important; text-decoration: none;
font-size: 16px; font-weight: 600; line-height: 1.4;
transition: background-color var(--ledger-feedback-duration) var(--ledger-ease), color var(--ledger-feedback-duration) var(--ledger-ease);
}
.ledger-button:hover { background: var(--ledger-paper); color: var(--ledger-ink) !important; }
.ledger-button:active { background: var(--ledger-ink); color: var(--ledger-canvas) !important; }
.ledger-wordmark { display: inline-flex; align-items: center; min-height: var(--ledger-touch-size); flex: none; font-family: 'Archivo', system-ui, sans-serif; font-size: 26px; font-weight: 750; letter-spacing: -.04em; line-height: 1; text-decoration: none; }
body.ledger .ledger-record-label { display: block; font: 500 12px/1.35 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .04em; color: var(--ledger-secondary); }
body.ledger .ledger-subhead { display: block; color: var(--ledger-ink); font: 600 15px/1.4 'Source Sans 3', system-ui, sans-serif; letter-spacing: 0; text-transform: none; }
.ledger-copy-button { display: inline-flex; align-items: center; min-height: var(--ledger-touch-size); border: 1px solid var(--ledger-rule); border-radius: var(--ledger-radius-small); padding: 8px 12px; background: transparent; cursor: pointer; font-size: 16px; text-underline-offset: 5px; }
.ledger-copy-button:hover, .ledger-copy-button[data-copied] { border-color: var(--ledger-ink); background: var(--ledger-canvas); }
.ledger-copy-button[hidden] { display: none; }
.ledger-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--ledger-rule); background: var(--ledger-canvas); }
.ledger-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ledger-desktop-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin-left: auto; }
.ledger-desktop-nav a { min-width: var(--ledger-touch-size); display: inline-flex; align-items: center; min-height: var(--ledger-touch-size); font-size: 16px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.ledger-desktop-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.ledger-header-action { min-height: 48px; padding: 8px 16px; }
.ledger-header-action[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.ledger-mobile-menu { display: none; }
.ledger-footer { padding-block: 48px 24px; }
.ledger-footer-main { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 32px; padding-bottom: 32px; }
.ledger-footer-brand p { margin-top: 12px !important; max-width: 260px; color: var(--ledger-secondary); font-size: 16px; }
.ledger-footer nav { display: flex; flex-direction: column; align-items: start; }
body.ledger .ledger-footer-heading { margin-bottom: 8px; color: var(--ledger-secondary); font: 600 14px/1.4 'Source Sans 3', system-ui, sans-serif; letter-spacing: 0; }
.ledger-footer nav a { display: inline-flex; align-items: center; min-width: var(--ledger-touch-size); min-height: var(--ledger-touch-size); font-size: 16px; text-decoration: none; }
.ledger-footer nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ledger-footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--ledger-rule); padding-top: 16px; font-size: 14px; color: var(--ledger-secondary); }
.ledger-footer-bottom a { display: inline-flex; align-items: center; min-height: var(--ledger-touch-size); text-underline-offset: 5px; }
}
@layer animations {
@media (prefers-reduced-motion: no-preference) {
.ledger-button--arrow .ledger-icon { transition: transform 150ms cubic-bezier(.16, 1, .3, 1); }
.ledger-button--arrow:hover .ledger-icon, .ledger-button--arrow:focus-visible .ledger-icon { transform: translateX(3px); }
.ledger-button--arrow:active .ledger-icon { transform: translateX(0); }
.ledger-nav-link { position: relative; }
.ledger-nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 200ms cubic-bezier(.16, 1, .3, 1); }
.ledger-nav-link:hover::after, .ledger-nav-link:focus-visible::after { transform: scaleX(1); }
.ledger-nav-link[aria-current="page"]::after { display: none; }
html { scroll-behavior: smooth; }
.ledger-button { transition: background-color var(--ledger-feedback-duration) var(--ledger-ease), color var(--ledger-feedback-duration) var(--ledger-ease), transform 120ms cubic-bezier(.16, 1, .3, 1); }
.ledger-button:active { transform: scale(.98); }
body.ledger :target > :is(h2, h3):first-child, body.ledger :is(h2, h3):target { animation: ledger-target-arrive 900ms ease-out both; }
.ledger-mobile-menu[open] nav { animation: ledger-menu-enter 280ms cubic-bezier(.16, 1, .3, 1) both; transform-origin: top right; }
}
@keyframes ledger-target-arrive { from { background-color: var(--ledger-paper); box-shadow: 0 0 0 8px var(--ledger-paper); } to { background-color: transparent; box-shadow: 0 0 0 8px transparent; } }
@keyframes ledger-menu-enter { from { clip-path: inset(0 0 100% 0); opacity: .7; } to { clip-path: inset(0); opacity: 1; } }
}
@layer mobile {
@media (max-width: 1100px) {
body.ledger .ledger-shell { width: min(calc(100% - 64px), var(--ledger-shell-max)); }
.ledger-desktop-nav, .ledger-header-action { display: none; }
.ledger-mobile-menu { display: block; position: relative; margin-left: auto; }
.ledger-mobile-menu summary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 96px; min-height: var(--ledger-touch-size); padding: 8px 12px; border: 1px solid var(--ledger-ink); border-radius: var(--ledger-radius-small); list-style: none; cursor: pointer; font-size: 16px; }
.ledger-mobile-menu summary::-webkit-details-marker { display: none; }
.ledger-mobile-menu[open] summary { background: var(--ledger-ink); color: var(--ledger-canvas); }
.ledger-mobile-menu nav { position: absolute; top: calc(100% + 12px); right: 0; display: flex; flex-direction: column; width: min(340px, calc(100vw - 40px)); padding: 12px 20px 16px; border: 1px solid var(--ledger-rule); background: var(--ledger-paper); box-shadow: var(--ledger-shadow-overlay); }
.ledger-mobile-menu nav a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--ledger-soft-rule); font-size: 17px; text-decoration: none; }
.ledger-mobile-menu nav a[aria-current="page"] { font-weight: 700; }
.ledger-mobile-menu nav .ledger-menu-action { margin-top: 12px; padding-inline: 12px; background: var(--ledger-ink); color: var(--ledger-canvas); }
}
@media (max-width: 767.98px) {
body.ledger .ledger-shell { width: calc(100% - 40px); }
.ledger-wordmark { font-size: 24px; }
.ledger-header-inner { min-height: 64px; }
body.ledger [id] { scroll-margin-top: 84px; }
.ledger-footer { padding-block: 32px 16px; }
.ledger-footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.ledger-footer-brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
body.ledger *, body.ledger *::before, body.ledger *::after { transition-duration: 0s !important; animation: none !important; }
}
}
@media print {
body.ledger { background: #fff; font-size: 12pt; }
.ledger-header, .ledger-mobile-menu, .ledger-skip, .ledger-footer nav, .ledger-footer-bottom a, .ledger-copy-button { display: none !important; }
body.ledger * { animation: none !important; transition: none !important; box-shadow: none !important; }
body.ledger .ledger-shell { width: 100%; }
body.ledger main a[href^="http"]::after, body.ledger main a[href^="/"]::after { content: " (" attr(href) ")"; font-size: 10pt; color: var(--ledger-secondary); }
body.ledger h2, body.ledger h3 { break-after: avoid; }
body.ledger section, body.ledger li, body.ledger dl > div { break-inside: avoid-page; }
}
@layer base {
.sysmap-stage {
position: relative;
height: 460px;
overflow: hidden;
container-type: size;
border: 1px solid var(--ledger-rule);
border-top: 2px solid var(--ledger-ink);
border-radius: var(--ledger-radius-small);
background: var(--ledger-paper);
}
.sysmap-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.sysmap-lines path { fill: none; vector-effect: non-scaling-stroke; }
.sysmap-tangle path { stroke: var(--ledger-rule); stroke-width: 1.25; stroke-dasharray: 5 4; }
.sysmap-order path { stroke: var(--ledger-ink); stroke-width: 1.5; }
.sysmap-node {
position: absolute;
top: 0;
left: 0;
z-index: 1;
width: min(150px, 23cqw);
padding: 8px 10px;
border: 1px solid var(--ledger-ink);
border-radius: var(--ledger-radius-small);
background: var(--ledger-canvas);
color: var(--ledger-ink);
font: 600 14px/1.25 'Source Sans 3', system-ui, sans-serif;
text-align: center;
overflow-wrap: break-word;
hyphens: manual;
transform: translate(calc(var(--x) * 1cqw - 50%), calc(var(--y) * 1cqh - 50%)) rotate(var(--r, 0deg));
}
.sysmap-node small { display: block; margin-top: 2px; color: var(--ledger-secondary); font-size: 12px; font-weight: 400; line-height: 1.3; }
.sysmap-node--muted { border-style: dashed; border-color: var(--ledger-control-border); background: var(--ledger-paper); }
.sysmap-node--pain small { color: var(--ledger-decision); }
.sysmap-band {
position: absolute;
top: 50%;
left: 5cqw;
right: 5cqw;
z-index: 1;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 8px 16px;
padding: 12px 16px;
border-radius: var(--ledger-radius-small);
background: var(--ledger-ink);
color: var(--ledger-canvas);
transform: translateY(-50%);
}
.sysmap-band strong { font: 700 17px/1.2 'Archivo', system-ui, sans-serif; letter-spacing: -.01em; }
.sysmap-band ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sysmap-band li { padding: 3px 8px; border: 1px solid rgba(244, 240, 232, .45); border-radius: var(--ledger-radius-small); font-size: 13px; line-height: 1.3; }
.sysmap-caption { margin-top: 12px !important; color: var(--ledger-secondary); font-size: 14px; line-height: 1.5; }
}
@layer mobile {
@container (max-width: 520px) {
.home-map-node { width: 31cqw; padding: 6px 5px !important; font-size: 13px; }
.home-map-node small { display: none !important; }
}
@media (max-width: 767.98px) {
.sysmap-stage { height: 420px; }
.sysmap-node { padding: 6px; font-size: 13px; }
.sysmap-node small { font-size: 12px; }
.sysmap-band { padding: 10px 12px; }
.sysmap-band strong { font-size: 15px; }
.sysmap-band li { font-size: 12px; }
}
}
@layer base {
.case-page main { overflow: clip; }
.case-page h4 { margin: 0; color: var(--ledger-ink); font-family: 'Archivo', system-ui, sans-serif; font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.case-page ul, .case-page ol { margin: 0; padding: 0; }
.case-page strong { font-weight: 700; }
.case-opening { padding-block: 84px 108px; }
.case-opening h1 { max-width: 1060px; font-family: 'Archivo', system-ui, sans-serif; font-size: clamp(68px, 7.2vw, 100px); font-weight: 700; line-height: 1.01; letter-spacing: -.035em; }
.case-opening-summary { max-width: 690px; margin-top: 30px !important; color: var(--ledger-secondary); font-size: 22px; line-height: 1.45; }
.case-index { margin-top: 64px; border-top: 2px solid var(--ledger-ink); border-bottom: 1px solid var(--ledger-ink); }
.case-index ol { list-style: none; }
.case-index li + li { border-top: 1px solid var(--ledger-rule); }
.case-index a { display: grid; grid-template-columns: 48px minmax(0, 3fr) minmax(0, 4fr) minmax(136px, 1fr); align-items: center; gap: 24px; min-height: 120px; padding-block: 22px; text-decoration: none; }
.case-index a:hover { background: var(--ledger-paper); }
.case-index a:focus-visible { outline-offset: -5px; }
.case-index-number, .case-record-id { font: 500 12px/1.35 'IBM Plex Mono', monospace; letter-spacing: .04em; color: var(--ledger-secondary); }
.case-index-title { font-family: 'Archivo', system-ui, sans-serif; font-size: clamp(26px, 2.35vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.case-index-title small { display: block; margin-top: 7px; color: var(--ledger-secondary); font: 400 15px/1.4 'Source Sans 3', system-ui, sans-serif; letter-spacing: 0; }
.case-index-description { max-width: 430px; color: var(--ledger-secondary); font-size: 17px; line-height: 1.45; }
.case-index-result { display: block; margin-top: 8px; color: var(--ledger-ink); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.case-index-action { display: inline-flex; justify-self: end; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; white-space: nowrap; }
.case-index-action .ledger-icon { width: 19px; height: 19px; }
.case-record { scroll-margin-top: 100px; }
.case-record--nova { padding-bottom: 128px; }
.case-record-heading { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 8vw, 128px); align-items: end; padding-top: 36px; border-top: 2px solid var(--ledger-ink); }
body.case-page .case-record-heading h2 { margin-top: 18px !important; font-size: clamp(52px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.035em; }
.case-record-heading > p { max-width: 400px; padding-bottom: 8px; color: var(--ledger-secondary); font-size: 21px; line-height: 1.5; }
.case-nova-reading { display: grid; grid-template-columns: minmax(0, 8fr) minmax(220px, 3fr); gap: clamp(48px, 8vw, 132px); margin-top: 88px; }
.case-prose-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 28px; border-top: 1px solid var(--ledger-rule); padding-block: 22px 30px; }
.case-prose-row h3, .case-premium-context h3, .case-premium-after h3 { font-size: 23px; line-height: 1.22; letter-spacing: -.02em; }
.case-prose-row p, .case-premium-context p, .case-premium-after p { max-width: 650px; color: var(--ledger-secondary); font-size: 18px; line-height: 1.6; }
.case-reading-note { border-top: 1px solid var(--ledger-rule); padding-top: 22px; }
.case-reading-note p { max-width: 230px; margin-top: 8px !important; color: var(--ledger-secondary); font-size: 16px; line-height: 1.5; }
.case-reading-note :is(.ledger-record-label, .ledger-subhead):not(:first-child) { margin-top: 38px; }
.case-change { margin-top: 74px; border-top: 2px solid var(--ledger-ink); }
.case-change > h3 { padding-block: 24px 28px; font-size: clamp(32px, 3.1vw, 44px); line-height: 1.1; letter-spacing: -.025em; }
.case-change-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--ledger-rule); }
.case-change-columns > div { padding-block: 27px 34px; }
.case-change-columns > div:first-child { padding-right: 56px; }
.case-change-columns > div + div { border-left: 1px solid var(--ledger-rule); padding-left: 56px; }
.case-change h4 { margin-bottom: 20px; }
.case-change ul { list-style: none; }
.case-change li { position: relative; padding: 10px 0 10px 21px; color: var(--ledger-secondary); font-size: 18px; line-height: 1.5; }
.case-change li::before { content: ''; position: absolute; left: 0; top: 24px; width: 7px; height: 7px; background: var(--ledger-ink); }
.case-build-record > p { max-width: 68ch; }
.case-build-record { margin-top: 48px; border-bottom: 1px solid var(--ledger-rule); }
.case-nova-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; margin-top: 88px; }
.case-nova-after .case-prose-row { display: block; }
body.case-page .case-nova-after h3 { margin-bottom: 16px; }
.case-outcome { margin-top: 104px; border-top: 2px solid var(--ledger-ink); }
.case-outcome-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-block: 22px 34px; }
.case-outcome-head h3 { font-size: clamp(32px, 3.1vw, 44px); line-height: 1.1; letter-spacing: -.025em; }
.case-outcome-head p { color: var(--ledger-secondary); font-size: 15px; }
.case-reporting-compare, .case-inventory-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--ledger-ink); }
.case-reporting-compare > div, .case-inventory-compare > div { min-width: 0; padding-block: 26px 40px; }
.case-reporting-compare > div + div, .case-inventory-compare > div + div { border-left: 1px solid var(--ledger-rule); padding-left: 48px; }
.case-reporting-compare p, .case-inventory-compare p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 20px !important; }
.case-reporting-compare strong, .case-inventory-compare strong { font-family: 'Archivo', system-ui, sans-serif; font-size: clamp(68px, 6.2vw, 90px); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.case-reporting-compare p span, .case-inventory-compare p span { font-size: 20px; }
.case-outcome-lower { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; padding-top: 34px; }
.case-result-rows { border-top: 1px solid var(--ledger-rule); }
.case-result-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 1px solid var(--ledger-rule); padding-block: 18px; }
.case-result-rows dt { max-width: 260px; color: var(--ledger-secondary); font-size: 17px; line-height: 1.4; }
.case-result-rows dd { flex: none; font-family: 'Archivo', system-ui, sans-serif; font-size: 32px; font-weight: 700; line-height: 1.1; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.case-quote { border-top: 1px solid var(--ledger-rule); padding-top: 18px; }
.case-quote blockquote { max-width: 680px; color: var(--ledger-ink); font-size: 24px; line-height: 1.44; }
.case-quote figcaption { display: flex; flex-direction: column; margin-top: 20px; color: var(--ledger-secondary); font-size: 15px; line-height: 1.5; }
.case-quote figcaption strong { color: var(--ledger-ink); font-weight: 600; }
.case-premium-band { background: var(--ledger-ink); color: var(--ledger-canvas); }
.case-premium-band-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(40px, 8vw, 128px); align-items: end; padding-block: 64px 76px; }
.case-premium-band .case-record-id { grid-column: 1 / -1; color: var(--ledger-canvas); opacity: .8; }
body.case-page .case-premium-band h2 { margin-top: 20px !important; color: var(--ledger-canvas) !important; font-size: clamp(64px, 6.4vw, 90px); line-height: 1.02; letter-spacing: -.035em; }
.case-premium-band p { max-width: 450px; padding-bottom: 8px; color: var(--ledger-canvas); font-size: 21px; line-height: 1.5; }
.case-premium-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 88px; }
.case-premium-context section, .case-premium-after section { border-top: 1px solid var(--ledger-rule); padding-top: 23px; }
body.case-page .case-premium-context h3, body.case-page .case-premium-after h3 { margin-bottom: 16px; }
.case-premium-ledger { border-top: 1px solid var(--ledger-rule); }
.case-premium-ledger > div { display: grid; grid-template-columns: minmax(200px, 3fr) minmax(0, 8fr); gap: 48px; align-items: start; border-bottom: 1px solid var(--ledger-rule); padding-block: 24px 32px; }
.case-premium-ledger p { max-width: 850px; color: var(--ledger-secondary); font-size: 20px; line-height: 1.5; }
.case-premium-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-top: 88px; }
.case-record--premium .case-outcome { margin-bottom: 128px; }
.case-inventory-compare strong { font-size: clamp(48px, 5vw, 72px); overflow-wrap: anywhere; }
body.case-page .case-compare { margin-top: 48px; }
.case-compare-view { display: inline-flex; margin: 0 0 16px; padding: 0; border: 1px solid var(--ledger-ink); border-radius: var(--ledger-radius-small); }
.case-compare-view label { position: relative; display: inline-flex; align-items: center; min-height: var(--ledger-touch-size); padding: 8px 20px; color: var(--ledger-ink); font: 600 16px/1.2 'Source Sans 3', system-ui, sans-serif; cursor: pointer; }
.case-compare-view label + label { border-left: 1px solid var(--ledger-ink); }
.case-compare-view input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.case-compare-view label:has(input:checked) { background: var(--ledger-ink); color: var(--ledger-canvas); }
.case-compare-view label:has(input:focus-visible) { outline: 2px solid var(--ledger-decision); outline-offset: 3px; }
.case-compare-layer { position: absolute; inset: 0; isolation: isolate; }
.case-compare-before { background: var(--ledger-canvas); }
.case-compare-after { background: var(--ledger-paper); visibility: hidden; opacity: 0; }
.case-compare:has(input[value="after"]:checked) .case-compare-after { visibility: visible; opacity: 1; }
.case-compare:has(input[value="after"]:checked) .case-compare-before { visibility: hidden; opacity: 0; }
body.case-page .case-compare-label { position: absolute; top: 12px; left: 14px; z-index: 2; color: var(--ledger-secondary); font: 500 12px/1.35 'IBM Plex Mono', monospace; letter-spacing: .04em; }
.case-close { background: var(--ledger-paper); border-block: 1px solid var(--ledger-rule); }
.case-close-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 72px; padding-block: 84px 92px; }
body.case-page .case-close h2 { max-width: 670px; font-size: clamp(44px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.03em; }
.case-close-inner > p:first-of-type { max-width: 540px; color: var(--ledger-secondary); font-size: 20px; line-height: 1.5; }
.case-close-actions { grid-column: 2; }
.case-close-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 26px; }
}
@layer animations {
@media (prefers-reduced-motion: no-preference) {
html { scroll-behavior: smooth; }
.case-index a { transition: background-color 140ms var(--ledger-ease); }
.case-index-action .ledger-icon { transition: transform 140ms var(--ledger-ease); }
.case-index a:hover .case-index-action .ledger-icon, .case-index a:focus-visible .case-index-action .ledger-icon { transform: translateX(3px); }
.case-compare-layer { transition: opacity 240ms var(--ledger-ease), visibility 240ms var(--ledger-ease); }
.case-compare-view label { transition: background-color 140ms var(--ledger-ease), color 140ms var(--ledger-ease); }
}
}
@layer mobile {
@media (max-width: 767.98px) {
body.case-page .case-compare { margin-top: 36px; }
.case-compare-stage .sysmap-node { width: 31cqw; padding: 7px 6px; }
}
@media (max-width: 1100px) {
.case-index a { grid-template-columns: 40px minmax(0, 1.25fr) minmax(0, 1.5fr); }
.case-index-action { grid-column: 2 / -1; justify-self: start; }
.case-record-heading, .case-premium-band-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.case-nova-reading { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; }
.case-prose-row { grid-template-columns: 136px minmax(0, 1fr); }
.case-outcome-lower { gap: 48px; }
}
@media (max-width: 767.98px) {
.case-opening { padding-block: 48px 72px; }
.case-opening h1 { font-size: clamp(44px, 10.5vw, 64px); line-height: 1.04; }
.case-opening-summary { margin-top: 20px !important; font-size: 18px; line-height: 1.5; }
.case-index { margin-top: 42px; }
.case-index a { grid-template-columns: 30px minmax(0, 1fr); gap: 6px 14px; min-height: 0; padding-block: 21px 25px; }
.case-index-number { align-self: start; padding-top: 6px; }
.case-index-title { font-size: 28px; }
.case-index-title small { margin-top: 5px; font-size: 14px; }
.case-index-description { grid-column: 2; margin-top: 10px; font-size: 16px; }
.case-index-action { grid-column: 2; margin-top: 6px; }
.case-record--nova { padding-bottom: 80px; }
.case-record-heading { display: block; padding-top: 24px; }
body.case-page .case-record-heading h2 { margin-top: 13px !important; font-size: clamp(42px, 9vw, 54px); }
.case-record-heading > p { margin-top: 18px !important; padding: 0; font-size: 18px; }
.case-nova-reading { display: block; margin-top: 48px; }
.case-prose-row { display: block; padding-block: 18px 24px; }
.case-prose-row h3, .case-premium-context h3, .case-premium-after h3 { margin-bottom: 12px; font-size: 22px; }
.case-prose-row p, .case-premium-context p, .case-premium-after p { font-size: 16px; line-height: 1.6; }
.case-reading-note { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 20px; margin-top: 20px; padding-top: 18px; }
.case-reading-note :is(.ledger-record-label, .ledger-subhead):not(:first-child) { margin: 0; }
.case-reading-note p { margin-top: 3px !important; font-size: 14px; }
.case-reading-note :is(.ledger-record-label, .ledger-subhead):nth-of-type(1) { grid-column: 1; grid-row: 1; }
.case-reading-note p:nth-of-type(1) { grid-column: 1; grid-row: 2; }
.case-reading-note :is(.ledger-record-label, .ledger-subhead):nth-of-type(2) { grid-column: 2; grid-row: 1; }
.case-reading-note p:nth-of-type(2) { grid-column: 2; grid-row: 2; }
.case-change { margin-top: 60px; }
.case-change > h3, .case-outcome-head h3 { padding-block: 20px 22px; font-size: 32px; }
.case-change-columns { display: block; }
.case-change-columns > div, .case-change-columns > div:first-child { padding: 22px 0 24px; }
.case-change-columns > div + div { border-left: 0; border-top: 1px solid var(--ledger-rule); padding: 22px 0 24px; }
.case-change h4 { margin-bottom: 12px; font-size: 22px; }
.case-change li { padding-block: 7px; font-size: 16px; }
.case-change li::before { top: 19px; }
.case-build-record { margin-top: 36px; }
.case-nova-after, .case-premium-after { display: block; margin-top: 56px; }
.case-nova-after .case-prose-row { padding-block: 18px 24px; }
.case-outcome { margin-top: 62px; }
.case-outcome-head { display: block; padding: 0 0 18px; }
.case-outcome-head h3 { padding-bottom: 6px; }
.case-outcome-head p { font-size: 14px; }
.case-reporting-compare, .case-inventory-compare { display: block; }
.case-reporting-compare > div, .case-inventory-compare > div { padding-block: 20px 26px; }
.case-reporting-compare > div + div, .case-inventory-compare > div + div { border-left: 0; border-top: 1px solid var(--ledger-rule); padding-left: 0; }
.case-reporting-compare p, .case-inventory-compare p { gap: 10px; margin-top: 12px !important; }
.case-reporting-compare strong { font-size: 70px; }
.case-inventory-compare strong { font-size: clamp(42px, 11vw, 58px); }
.case-reporting-compare p span, .case-inventory-compare p span { font-size: 18px; }
.case-outcome-lower { display: block; padding-top: 26px; }
.case-result-rows dd { font-size: 27px; }
.case-quote { margin-top: 38px; padding-top: 20px; }
.case-quote blockquote { font-size: 20px; line-height: 1.5; }
.case-premium-band-inner { display: block; padding-block: 48px 56px; }
body.case-page .case-premium-band h2 { margin-top: 18px !important; font-size: clamp(48px, 11vw, 66px); }
.case-premium-band p { margin-top: 18px !important; padding: 0; font-size: 18px; }
.case-premium-context { display: block; margin-top: 50px; }
.case-premium-context section { padding-block: 18px 24px; }
.case-premium-ledger > div { display: block; padding-block: 20px 26px; }
.case-premium-ledger p { font-size: 17px; }
.case-premium-after section { padding-block: 18px 24px; }
.case-record--premium .case-outcome { margin-bottom: 80px; }
.case-close-inner { display: block; padding-block: 58px 64px; }
body.case-page .case-close h2 { font-size: clamp(38px, 9vw, 48px); }
.case-close-inner > p:first-of-type { margin-top: 18px !important; font-size: 18px; }
.case-close-actions { display: block; margin-top: 26px; }
.case-close-actions .ledger-button { width: 100%; justify-content: space-between; text-align: left; }
}
@media (max-width: 359.98px) {
.case-index-title { font-size: 25px; }
body.case-page .case-record-heading h2 { font-size: 40px; }
.case-reading-note { display: block; }
.case-reading-note :is(.ledger-record-label, .ledger-subhead):not(:first-child) { margin-top: 18px; }
.case-inventory-compare strong { font-size: 39px; }
.case-close-actions .ledger-button { gap: 8px; padding-inline: 14px; }
}
}
