/* Generated by scripts/build.py from style.css, base.css and components.css */

:root {
--text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
--text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
--text-base: clamp(1rem,     0.9rem  + 0.5vw,  1.125rem);
--text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
--text-xl:   clamp(1.5rem,   1rem    + 1.5vw,  2.25rem);
--text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
--text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
--text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);
--space-1:  0.25rem;
--space-2:  0.5rem;
--space-3:  0.75rem;
--space-4:  1rem;
--space-5:  1.25rem;
--space-6:  1.5rem;
--space-8:  2rem;
--space-10: 2.5rem;
--space-12: 3rem;
--space-16: 4rem;
--space-20: 5rem;
--space-24: 6rem;
--space-32: 8rem;
--radius-sm: 0.375rem;
--radius-md: 0.5rem;
--radius-lg: 0.75rem;
--radius-xl: 1rem;
--radius-full: 9999px;
--transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
--content-narrow: 640px;
--content-default: 960px;
--content-wide: 1200px;
--content-full: 100%;
--font-display: 'IBM Plex Serif', 'Georgia', serif;
--font-body: 'IBM Plex Sans', 'Helvetica Neue', sans-serif;
}
:root, [data-theme="dark"] {
--color-bg:               #0d0d0f;
--color-surface:          #141416;
--color-surface-2:        #1a1a1d;
--color-surface-offset:   #1e1e22;
--color-surface-offset-2: #242428;
--color-surface-dynamic:  #2a2a2f;
--color-divider:          #2e2e34;
--color-border:           #38383f;
--color-text:           #e0ddd5;
--color-text-muted:     #a5a299;
--color-text-faint:     #918e87;
--color-text-inverse:   #0d0d0f;
--color-primary:          #c9a44a;
--color-primary-hover:    #ddb85a;
--color-primary-active:   #a88a3a;
--color-primary-highlight: #2a2620;
--color-error:            #e07070;
--color-error-hover:      #e88888;
--color-error-active:     #c85858;
--color-error-highlight:  #2a1a1a;
--color-success:          #7fb568;
--color-success-hover:    #8fc578;
--color-success-active:   #3a6a2a;
--color-success-highlight: #1e2a1e;
--color-warning:          #b8862a;
--color-warning-hover:    #c89a3a;
--color-warning-active:   #a07020;
--color-warning-highlight: #2a2418;
--color-partial:           #d9a441;
--color-partial-highlight: #2a2418;
--color-neutral:           #a5a299;
--color-neutral-highlight: #242428;
--viz-1: #d95926; --viz-2: #3987e5; --viz-3: #c98500; --viz-4: #199e70; --viz-5: #9085e9;
--viz-grid: #2e2e34;
--shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
--shadow-md: 0 4px 12px oklch(0 0 0 / 0.4);
--shadow-lg: 0 12px 32px oklch(0 0 0 / 0.5);
}
[data-theme="light"] {
--color-bg:               #f5f3ee;
--color-surface:          #eae7e0;
--color-surface-2:        #e0ddd5;
--color-surface-offset:   #d6d3cb;
--color-surface-offset-2: #ccc9c1;
--color-surface-dynamic:  #c2bfb7;
--color-divider:          #b8b5ad;
--color-border:           #a8a59d;
--color-text:           #1a1815;
--color-text-muted:     #46443e;
--color-text-faint:     #55524c;
--color-text-inverse:   #f5f3ee;
--color-primary:          #6b5518;
--color-primary-hover:    #574410;
--color-primary-active:   #504015;
--color-primary-highlight: #e8e0c8;
--color-error:            #7a3030;
--color-error-hover:      #5a2020;
--color-error-active:     #3a1010;
--color-error-highlight:  #e8d0d0;
--color-success:          #2f5a20;
--color-success-hover:    #2a5a1a;
--color-success-active:   #1a4a0a;
--color-success-highlight: #d0e8c8;
--color-warning:          #8a6a20;
--color-warning-hover:    #6a5010;
--color-warning-active:   #504005;
--color-warning-highlight: #e8dcc0;
--color-partial:           #6e5210;
--color-partial-highlight: #e8dcc0;
--color-neutral:           #46443e;
--color-neutral-highlight: #ccc9c1;
--viz-1: #eb6834; --viz-2: #2a78d6; --viz-3: #eda100; --viz-4: #1baf7a; --viz-5: #4a3aa7;
--viz-grid: #c2bfb7;
--shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.08);
--shadow-md: 0 4px 12px oklch(0.2 0.01 80 / 0.1);
--shadow-lg: 0 12px 32px oklch(0.2 0.01 80 / 0.14);
}
@media (prefers-color-scheme: light) {
:root:not([data-theme]) {
--color-bg:               #f5f3ee;
--color-surface:          #eae7e0;
--color-surface-2:        #e0ddd5;
--color-surface-offset:   #d6d3cb;
--color-surface-offset-2: #ccc9c1;
--color-surface-dynamic:  #c2bfb7;
--color-divider:          #b8b5ad;
--color-border:           #a8a59d;
--color-text:           #1a1815;
--color-text-muted:     #46443e;
--color-text-faint:     #55524c;
--color-text-inverse:   #f5f3ee;
--color-primary:          #6b5518;
--color-primary-hover:    #574410;
--color-primary-active:   #504015;
--color-primary-highlight: #e8e0c8;
--color-error:            #7a3030;
--color-error-hover:      #5a2020;
--color-error-active:     #3a1010;
--color-error-highlight:  #e8d0d0;
--color-success:          #2f5a20;
--color-success-hover:    #2a5a1a;
--color-success-active:   #1a4a0a;
--color-success-highlight: #d0e8c8;
--color-warning:          #8a6a20;
--color-warning-hover:    #6a5010;
--color-warning-active:   #504005;
--color-warning-highlight: #e8dcc0;
--color-partial:           #6e5210;
--color-partial-highlight: #e8dcc0;
--color-neutral:           #46443e;
--color-neutral-highlight: #ccc9c1;
--viz-1: #eb6834; --viz-2: #2a78d6; --viz-3: #eda100; --viz-4: #1baf7a; --viz-5: #4a3aa7;
--viz-grid: #c2bfb7;
--shadow-sm: 0 1px 2px oklch(0.2 0.01 80 / 0.08);
--shadow-md: 0 4px 12px oklch(0.2 0.01 80 / 0.1);
--shadow-lg: 0 12px 32px oklch(0.2 0.01 80 / 0.14);
}
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
text-size-adjust: 100%;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
scroll-behavior: smooth;
hanging-punctuation: first last;
scroll-padding-top: var(--space-16);
}
body {
min-height: 100dvh;
line-height: 1.6;
font-family: var(--font-body, sans-serif);
font-size: var(--text-base);
color: var(--color-text);
background-color: var(--color-bg);
}
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; }
p, li, figcaption { text-wrap: pretty; max-width: 72ch; }
::selection {
background: oklch(from var(--color-primary) l c h / 0.25);
color: var(--color-text);
}
:focus-visible {
outline: 2px solid var(--color-primary);
outline-offset: 3px;
border-radius: var(--radius-sm);
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
button { cursor: pointer; background: none; border: none; }
table { border-collapse: collapse; width: 100%; }
.sr-only {
position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0;
}
#data-table-zone .google-auto-placed,
#data-table-zone ins.adsbygoogle { display: none !important; }
.case-card .google-auto-placed,
.case-card ins.adsbygoogle { display: none !important; }
.case-breadcrumb {
font-size: var(--text-xs);
color: var(--color-text-faint);
margin-bottom: var(--space-6);
display: flex;
align-items: center;
gap: var(--space-2);
flex-wrap: wrap;
}
.case-breadcrumb a {
color: var(--color-text-faint);
text-decoration: none;
transition: color var(--transition-interactive);
}
.case-breadcrumb a:hover { color: var(--color-text); }
.case-breadcrumb-sep { opacity: 0.4; }
.case-page-header {
margin-bottom: var(--space-8);
padding-bottom: var(--space-8);
border-bottom: 1px solid var(--color-divider);
}
.case-page-title {
font-family: var(--font-display);
font-size: clamp(1.5rem, 4vw, 2.5rem);
font-weight: 700;
line-height: 1.1;
margin-bottom: var(--space-4);
margin-top: var(--space-3);
}
.case-page-meta-row {
display: flex;
align-items: center;
gap: var(--space-3);
flex-wrap: wrap;
margin-bottom: var(--space-4);
}
.case-year-label {
font-size: var(--text-sm);
color: var(--color-text-muted);
}
.case-type-label {
font-size: var(--text-xs);
color: var(--color-text-faint);
background: var(--color-surface-offset);
padding: var(--space-1) var(--space-3);
border-radius: var(--radius-sm);
}
.case-details-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: var(--space-4);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: var(--space-5);
margin-bottom: var(--space-6);
}
.case-detail-item {
display: flex;
flex-direction: column;
gap: var(--space-1);
}
.case-detail-label {
font-size: var(--text-xs);
color: var(--color-text-faint);
text-transform: uppercase;
letter-spacing: 0.06em;
font-weight: 500;
}
.case-detail-value {
font-size: var(--text-sm);
font-weight: 500;
}
.case-summary {
font-size: var(--text-base);
color: var(--color-text);
line-height: 1.8;
margin-bottom: var(--space-6);
max-width: 70ch;
font-weight: 500;
}
.case-narrative-section {
margin-bottom: var(--space-8);
max-width: 70ch;
}
.case-narrative {
font-size: var(--text-sm);
color: var(--color-text-muted);
line-height: 1.85;
margin-bottom: var(--space-4);
}
.case-narrative:last-child { margin-bottom: 0; }
.case-sources {
margin-top: var(--space-10);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: var(--space-6);
max-width: 75ch;
}
.case-sources-note {
font-size: var(--text-xs);
color: var(--color-text-faint);
line-height: 1.7;
margin-bottom: var(--space-4);
max-width: 65ch;
}
.case-sources-note a { color: var(--color-primary); text-underline-offset: 2px; }
.case-sources-list {
font-size: var(--text-sm);
color: var(--color-text-muted);
line-height: 1.9;
padding-left: var(--space-5);
margin: 0;
}
.case-sources-list li { margin-bottom: var(--space-1); }
.case-sources-list a { color: var(--color-primary); text-underline-offset: 2px; }
.case-sources-list a:hover { text-decoration: underline; }
.case-back-btn {
display: inline-flex;
align-items: center;
gap: var(--space-2);
font-size: var(--text-xs);
color: var(--color-text-muted);
text-decoration: none;
padding: var(--space-2) var(--space-3);
border-radius: var(--radius-md);
border: 1px solid var(--color-border);
transition: all var(--transition-interactive);
margin-bottom: var(--space-8);
}
.case-back-btn:hover {
color: var(--color-text);
background: var(--color-surface);
border-color: var(--color-text-faint);
}
.related-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
gap: var(--space-3);
margin-top: var(--space-6);
}
.related-case-card {
background: var(--color-surface-2);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: var(--space-4);
text-decoration: none;
display: block;
transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.related-case-card:hover {
border-color: var(--color-primary);
box-shadow: var(--shadow-md);
transform: translateY(-1px);
}
.related-case-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: var(--space-2);
}
.related-case-name {
font-size: var(--text-sm);
font-weight: 600;
color: var(--color-text);
margin-bottom: var(--space-1);
line-height: 1.3;
}
.related-case-meta {
font-size: var(--text-xs);
color: var(--color-text-faint);
}
.all-state-link {
display: inline-block;
margin-top: var(--space-5);
font-size: var(--text-sm);
font-weight: 500;
color: var(--color-primary);
text-decoration: none;
}
.all-state-link:hover { text-decoration: underline; text-underline-offset: 2px; }
.timeline {
margin-top: var(--space-4);
border-left: 2px solid var(--color-border);
padding-left: var(--space-5);
display: flex;
flex-direction: column;
gap: var(--space-5);
max-width: 60ch;
}
.timeline-item {
position: relative;
display: flex;
gap: var(--space-3);
}
.timeline-marker {
position: absolute;
left: calc(-1 * var(--space-5) - 7px);
top: 5px;
width: 12px;
height: 12px;
border-radius: var(--radius-full);
background: var(--color-surface);
border: 2px solid var(--color-primary);
}
.timeline-label {
font-size: var(--text-xs);
color: var(--color-text-faint);
text-transform: uppercase;
letter-spacing: 0.06em;
font-weight: 500;
margin-bottom: var(--space-1);
}
.timeline-value {
font-size: var(--text-sm);
color: var(--color-text-muted);
line-height: 1.6;
}
.how-to-help {
margin-top: var(--space-10);
background: var(--color-surface);
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
padding: var(--space-6);
max-width: 75ch;
}
.how-to-help-heading {
font-family: var(--font-display);
font-size: var(--text-lg);
font-weight: 600;
margin-bottom: var(--space-3);
}
.how-to-help-text {
font-size: var(--text-sm);
color: var(--color-text-muted);
line-height: 1.7;
margin-bottom: var(--space-4);
}
.how-to-help-list {
font-size: var(--text-sm);
color: var(--color-text-muted);
line-height: 1.8;
padding-left: var(--space-5);
margin-bottom: var(--space-4);
}
.how-to-help-list li { margin-bottom: var(--space-2); }
.how-to-help-list a, .how-to-help-note a { color: var(--color-primary); text-underline-offset: 2px; }
.how-to-help-note {
font-size: var(--text-xs);
color: var(--color-text-faint);
line-height: 1.6;
}
.skip-link {
position: absolute;
top: -100%;
left: var(--space-4);
padding: var(--space-2) var(--space-4);
background: var(--color-primary);
color: var(--color-text-inverse);
border-radius: var(--radius-md);
font-size: var(--text-sm);
z-index: 1000;
text-decoration: none;
}
.skip-link:focus { top: var(--space-2); }
.site-header {
position: sticky;
top: 0;
z-index: 100;
background: oklch(from var(--color-bg) l c h / 0.92);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border-bottom: 1px solid var(--color-divider);
padding: var(--space-3) var(--space-4);
}
.header-inner {
max-width: var(--content-wide);
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-4);
}
.header-logo {
display: flex;
align-items: center;
gap: var(--space-2);
text-decoration: none;
color: var(--color-text);
flex-shrink: 0;
}
.header-logo svg { width: 28px; height: 28px; }
.header-logo-text {
font-family: var(--font-display);
font-size: var(--text-sm);
font-weight: 700;
letter-spacing: -0.01em;
}
.header-nav {
display: flex;
align-items: center;
gap: var(--space-1);
}
.header-nav a {
font-size: var(--text-xs);
color: var(--color-text-muted);
text-decoration: none;
padding: var(--space-1) var(--space-3);
border-radius: var(--radius-sm);
transition: color var(--transition-interactive), background var(--transition-interactive);
white-space: nowrap;
}
.header-nav a:hover { color: var(--color-text); background: var(--color-surface); }
.header-nav a[aria-current="page"] { color: var(--color-primary); }
.header-actions {
display: flex;
align-items: center;
gap: var(--space-2);
}
.theme-toggle {
padding: var(--space-2);
color: var(--color-text-muted);
border-radius: var(--radius-md);
transition: color var(--transition-interactive), background var(--transition-interactive);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface); }
.mobile-menu-btn {
display: none;
padding: var(--space-2);
color: var(--color-text-muted);
border-radius: var(--radius-md);
}
@media (max-width: 768px) {
.header-nav { display: none; }
.header-nav.open {
display: flex;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--color-surface);
border-bottom: 1px solid var(--color-divider);
padding: var(--space-2) var(--space-4);
gap: 0;
z-index: 200;
}
.mobile-menu-btn { display: block; }
.case-details-grid { grid-template-columns: repeat(2, 1fr); }
}
.section {
padding: clamp(var(--space-12), 6vw, var(--space-24)) var(--space-4);
}
.section-inner {
max-width: var(--content-wide);
margin: 0 auto;
}
.section-label {
font-family: var(--font-body);
font-size: var(--text-xs);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--color-primary);
margin-bottom: var(--space-3);
}
.section-heading {
font-family: var(--font-display);
font-size: var(--text-xl);
font-weight: 600;
margin-bottom: var(--space-4);
}
.badge {
display: inline-flex;
padding: var(--space-1) var(--space-3);
border-radius: var(--radius-full);
font-size: var(--text-xs);
font-weight: 600;
letter-spacing: 0.02em;
}
.badge-unsolved { background: var(--color-error-highlight); color: var(--color-error); }
.badge-arrest { background: var(--color-primary-highlight); color: var(--color-primary); }
.badge-conviction { background: var(--color-success-highlight); color: var(--color-success); }
.badge-partial { background: var(--color-partial-highlight); color: var(--color-partial); }
.badge-neutral { background: var(--color-neutral-highlight); color: var(--color-neutral); }
.case-tag {
font-size: var(--text-xs);
color: var(--color-text-faint);
background: var(--color-surface-offset);
padding: 2px var(--space-2);
border-radius: var(--radius-sm);
}
.modal-last-seen {
background: var(--color-surface-offset);
border-radius: var(--radius-md);
padding: var(--space-4);
}
.modal-last-seen-label {
font-size: var(--text-xs);
color: var(--color-text-faint);
text-transform: uppercase;
letter-spacing: 0.06em;
font-weight: 500;
margin-bottom: var(--space-2);
}
.modal-last-seen-value {
font-size: var(--text-sm);
}
.site-footer {
border-top: 1px solid var(--color-divider);
padding: var(--space-8) var(--space-4);
}
.footer-inner {
max-width: var(--content-wide);
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: var(--space-6);
flex-wrap: wrap;
}
.footer-brand {
display: flex;
align-items: center;
gap: var(--space-2);
margin-bottom: var(--space-3);
}
.footer-brand svg { width: 20px; height: 20px; color: var(--color-text-faint); }
.footer-brand span {
font-family: var(--font-display);
font-size: var(--text-xs);
font-weight: 600;
color: var(--color-text-faint);
}
.footer-text {
font-size: var(--text-xs);
color: var(--color-text-faint);
max-width: 50ch;
line-height: 1.6;
}
.footer-links {
display: flex;
gap: var(--space-8);
flex-wrap: wrap;
}
.footer-link-group h4, .footer-heading {
font-size: var(--text-xs);
font-weight: 600;
color: var(--color-text-muted);
margin-bottom: var(--space-2);
text-transform: uppercase;
letter-spacing: 0.06em;
}
.footer-link-group a {
display: block;
font-size: var(--text-xs);
color: var(--color-text-faint);
text-decoration: none;
padding: var(--space-1) 0;
transition: color var(--transition-interactive);
}
.footer-link-group a:hover { color: var(--color-text); }
.footer-bottom {
max-width: var(--content-wide);
margin: var(--space-6) auto 0;
padding-top: var(--space-4);
border-top: 1px solid var(--color-divider);
display: flex;
justify-content: space-between;
align-items: center;
gap: var(--space-4);
flex-wrap: wrap;
}
.footer-bottom p, .footer-bottom a {
font-size: var(--text-xs);
color: var(--color-text-faint);
}
.footer-bottom a {
text-decoration: underline;
text-underline-offset: 2px;
transition: color var(--transition-interactive);
}
.footer-bottom a:hover { color: var(--color-text-muted); }
.fade-in { opacity: 1; }
.section-subtext { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 65ch; line-height: 1.7; }
.section-subtext a, .prose-link { color: var(--color-primary); text-underline-offset: 2px; }
.section-tight { padding-top: 0; }
h2.sub-heading { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; margin: var(--space-10) 0 var(--space-3); }
.case-detail-value a { color: var(--color-text); text-decoration: underline; text-decoration-color: var(--color-border); text-underline-offset: 3px; }
.case-detail-value a:hover { text-decoration-color: var(--color-primary); }
.case-tag-link { text-decoration: none; }
.case-tag-link:hover { color: var(--color-text); }
.case-updated { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-6); }
.hub-links { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-5); }
.hub-links a, .breakdown-chip { font-size: var(--text-xs); color: var(--color-text-muted); background: var(--color-surface-2); border: 1px solid var(--color-border); padding: var(--space-2) var(--space-3); border-radius: var(--radius-full); text-decoration: none; display: inline-block; }
.hub-links a:hover, a.breakdown-chip:hover { color: var(--color-text); border-color: var(--color-primary); }
.hub-links a strong, .breakdown-chip strong { color: var(--color-text); font-weight: 600; }
.breakdown-row { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-6); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: var(--space-4); }
.case-card { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); text-decoration: none; display: block; transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive); }
.case-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.case-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-3); gap: var(--space-2); }
.case-card-year { font-size: var(--text-xs); color: var(--color-text-faint); font-variant-numeric: tabular-nums; }
.case-card-name { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-2); line-height: 1.25; color: var(--color-text); }
.case-card-summary { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.case-card-tags { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--space-4); margin: var(--space-6) 0 var(--space-4); padding: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); }
.stat { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.stat-value { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 600; color: var(--color-text); font-variant-numeric: proportional-nums; }
.stat-label { font-size: var(--text-xs); color: var(--color-text-faint); }
.source-note { font-size: var(--text-xs); color: var(--color-text-faint); line-height: 1.6; max-width: 75ch; margin-bottom: var(--space-8); }
.source-note a { color: var(--color-primary); text-underline-offset: 2px; }
.states-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: var(--space-3); }
.state-card { background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-5); text-decoration: none; display: block; transition: border-color var(--transition-interactive); }
.state-card:hover { border-color: var(--color-primary); }
.state-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-3); gap: var(--space-2); }
.state-name { font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; color: var(--color-text); }
.state-count-badge { background: var(--color-primary-highlight); color: var(--color-primary); font-size: var(--text-xs); font-weight: 700; padding: 2px var(--space-2); border-radius: var(--radius-full); }
.state-bar-wrapper { height: 4px; background: var(--color-border); border-radius: var(--radius-full); overflow: hidden; margin-bottom: var(--space-2); }
.state-bar { height: 100%; background: var(--color-primary); border-radius: var(--radius-full); }
.state-card-meta { font-size: var(--text-xs); color: var(--color-text-faint); }
.states-search { width: 100%; max-width: 400px; padding: var(--space-3) var(--space-4); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); font-size: var(--text-sm); color: var(--color-text); margin-bottom: var(--space-6); }
.states-search:focus { border-color: var(--color-primary); }
.states-search::placeholder { color: var(--color-text-faint); }
.state-section { margin-bottom: var(--space-8); }
.state-section-heading { font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-faint); margin-bottom: var(--space-4); padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-divider); }
.state-nav-links { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--color-divider); }
.state-nav-links a { font-size: var(--text-xs); color: var(--color-text-muted); text-decoration: none; padding: var(--space-2) var(--space-3); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.state-nav-links a:hover { color: var(--color-text); border-color: var(--color-text-faint); }
.viz { margin: var(--space-6) 0 var(--space-8); max-width: 820px; }
.case-visuals .viz + .viz { margin-top: var(--space-8); }
.viz-wide { max-width: none; }
.viz-title { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); margin-bottom: var(--space-1); }
.viz-sub { font-size: var(--text-xs); color: var(--color-text-faint); margin-bottom: var(--space-3); max-width: 75ch; }
.viz svg { width: 100%; height: auto; overflow: visible; }
.viz svg text { font-family: var(--font-body); fill: var(--color-text-muted); }
.viz svg .t-strong { fill: var(--color-text); font-weight: 600; }
.viz svg .t-faint { fill: var(--color-text-faint); }
.viz svg .grid { stroke: var(--viz-grid); stroke-width: 1; }
.viz svg .axis { stroke: var(--color-border); stroke-width: 1; }
.viz svg .series { fill: var(--color-primary); }
.viz svg .series-line { fill: none; stroke: var(--color-primary); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.viz svg .series-area { fill: var(--color-primary); opacity: 0.1; }
.viz svg .dot { fill: var(--color-primary); stroke: var(--color-bg); stroke-width: 2; }
.viz svg .dot-key { fill: var(--color-text); stroke: var(--color-bg); stroke-width: 2; }
.viz svg .track { stroke: var(--color-border); stroke-width: 2; stroke-linecap: round; }
.viz svg .track-open { stroke: var(--viz-1); stroke-width: 2; stroke-linecap: round; opacity: 0.55; }
.viz svg a { cursor: pointer; }
.viz svg a:focus-visible rect, .viz svg a:hover rect { stroke: var(--color-text); stroke-width: 2; }
.viz svg .hit { fill: transparent; }
.viz svg .hit:hover + .hover-mark, .viz svg g.pt:hover .hover-mark { opacity: 1; }
.viz svg .hover-mark { opacity: 0; pointer-events: none; }
.viz-legend { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); margin-top: var(--space-3); padding: 0; list-style: none; font-size: var(--text-xs); color: var(--color-text-muted); }
.viz-legend li { display: flex; align-items: center; gap: var(--space-2); max-width: none; }
.viz-legend strong { color: var(--color-text); font-weight: 600; }
.swatch { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.stackbar { display: flex; gap: 2px; height: 20px; border-radius: 4px; overflow: hidden; }
.stackbar span { display: block; min-width: 3px; }
.v1 { background: var(--viz-1); } .v2 { background: var(--viz-2); } .v3 { background: var(--viz-3); } .v4 { background: var(--viz-4); } .v5 { background: var(--viz-5); }
.map-tile { fill: var(--color-surface-offset-2); }
.map-tile-on { fill: var(--color-primary); }
.viz svg .map-label { fill: var(--color-text-muted); font-size: 15px; font-weight: 500; text-anchor: middle; pointer-events: none; }
.viz svg .map-label-on { fill: var(--color-text-inverse); font-weight: 700; }
.viz svg .map-label-dark { fill: #14110a; }
.viz svg .map-label-light { fill: #fdf8ea; }
.locator { max-width: 420px; }
.case-visuals { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--space-8); align-items: start; margin: var(--space-8) 0; }
.case-visuals .viz { margin: 0; }
@media (max-width: 860px) { .case-visuals { grid-template-columns: 1fr; gap: var(--space-6); } }
.progress { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 0; margin: var(--space-3) 0 0; counter-reset: step; }
.progress li { max-width: none; font-size: var(--text-xs); color: var(--color-text-faint); padding-top: var(--space-3); border-top: 4px solid var(--color-border); line-height: 1.35; padding-right: var(--space-2); }
.progress li.done { border-top-color: var(--color-text-faint); }
.progress li.current { border-top-color: var(--color-primary); color: var(--color-text); font-weight: 600; }
.progress li span { display: block; font-weight: 400; color: var(--color-text-muted); margin-top: 2px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--color-border); border-radius: var(--radius-lg); max-width: 100%; }
.table-wrap:focus-visible { outline: 2px solid var(--color-primary); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.data-table caption { text-align: left; font-size: var(--text-xs); color: var(--color-text-faint); padding: var(--space-3) var(--space-4); caption-side: bottom; }
.data-table th, .data-table td { padding: var(--space-2) var(--space-4); text-align: right; border-bottom: 1px solid var(--color-divider); white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-faint); font-weight: 600; background: var(--color-surface); }
.data-table tbody th { font-weight: 500; color: var(--color-text); }
.data-table td { color: var(--color-text-muted); }
.data-table a { color: var(--color-text); text-underline-offset: 3px; }
details.table-view { margin-top: var(--space-3); }
details.table-view summary { font-size: var(--text-xs); color: var(--color-primary); cursor: pointer; padding: var(--space-2) 0; }
details.table-view[open] summary { margin-bottom: var(--space-2); }
@media (max-width: 480px) {
.case-details-grid { padding: var(--space-4); gap: var(--space-3); }
.case-sources, .how-to-help { padding: var(--space-4); }
.footer-links { flex-wrap: wrap; }
.progress li { font-size: 0.6875rem; }
}
.case-sources-list a, .case-narrative, .timeline-value, .case-summary { overflow-wrap: anywhere; }
.data-table thead th { padding: 0; }
.data-table thead th:not(:has(.sort-btn)) { padding: var(--space-2) var(--space-4); }
.sort-btn { font: inherit; font-size: var(--text-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: inherit; padding: var(--space-3) var(--space-4); width: 100%; text-align: inherit; cursor: pointer; background: none; border: none; white-space: nowrap; }
.sort-btn:hover { color: var(--color-text); }
th[aria-sort="ascending"] .sort-btn::after { content: " ▲"; }
th[aria-sort="descending"] .sort-btn::after { content: " ▼"; }
th[aria-sort="ascending"], th[aria-sort="descending"] { color: var(--color-primary); }
.load-more { padding: var(--space-3) var(--space-8); background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); font-size: var(--text-sm); color: var(--color-text); }
.load-more:hover { border-color: var(--color-primary); }
[hidden] { display: none !important; }
.timeline { list-style: none; }
.timeline li { max-width: none; }
dl.case-details-grid dd { margin: 0; }
.about-prose {max-width:70ch; }
.about-prose p {font-size:var(--text-sm);color:var(--color-text-muted);line-height:1.8;margin-bottom:var(--space-5); }
.about-prose h2, .about-prose h3 {font-family:var(--font-display);font-size:var(--text-base);font-weight:600;margin-bottom:var(--space-3);margin-top:var(--space-8); }
.about-prose ul {font-size:var(--text-sm);color:var(--color-text-muted);line-height:1.8;margin-bottom:var(--space-5);padding-left:var(--space-5); }
.about-prose li {margin-bottom:var(--space-2); }
.about-prose a {color:var(--color-primary);text-underline-offset:2px; }
.about-prose .faq-q {font-family:var(--font-body);font-size:var(--text-sm);font-weight:600;color:var(--color-text);margin-top:var(--space-6);margin-bottom:var(--space-2); }
.about-stats-row {display:flex;gap:var(--space-6);flex-wrap:wrap;margin:var(--space-8) 0;padding:var(--space-6);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg); }
.about-stat {display:flex;flex-direction:column;gap:var(--space-1); }
.about-stat-value {font-family:var(--font-display);font-size:var(--text-lg);font-weight:700;color:var(--color-primary); }
.about-stat-label {font-size:var(--text-xs);color:var(--color-text-faint); }
.notfound-wrap {min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--space-8) var(--space-4); }
.notfound-code {font-family: var(--font-display); font-size: clamp(4rem, 15vw, 8rem); font-weight: 700; line-height: 1; color: var(--color-primary); margin-bottom: var(--space-4); }
.notfound-title {font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; margin-bottom: var(--space-3); }
.notfound-text {font-size: var(--text-sm); color: var(--color-text-muted); max-width: 46ch; line-height: 1.7; margin-bottom: var(--space-8); }
.notfound-actions {display: flex; gap: var(--space-3); flex-wrap: wrap; justify-content: center; }
.notfound-btn {display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border-radius: var(--radius-lg); font-size: var(--text-sm); font-weight: 600; text-decoration: none; transition: all var(--transition-interactive); }
.notfound-btn.primary {background: var(--color-primary); color: var(--color-text-inverse); }
.notfound-btn.primary:hover {background: var(--color-primary-hover); transform: translateY(-1px); }
.notfound-btn.secondary {border: 1px solid var(--color-border); color: var(--color-text-muted); }
.notfound-btn.secondary:hover {color: var(--color-text); border-color: var(--color-text-faint); background: var(--color-surface); }
.notfound-logo {width: 56px; height: 56px; margin-bottom: var(--space-6); opacity: 0.9; }
