/* Zorislav Plantak | Personal website
   Original, framework-free design. Change the color tokens below to restyle all pages. */
:root {
  --ink: #18191c;
  --muted: #5e636c;
  --paper: #ffffff;
  --soft: #f5f5f7;
  --blue: #004a80;
  --blue-light: #b7dbf6;
  --gold: #cbb677;
  --line: #dfe2e7;
  --header: 68px;
  --gutter: clamp(24px, 6.5vw, 124px);
  --reading: 780px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body, button, input, select { font-family: var(--font); }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select { font: inherit; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: #cce3f4; color: #101419; }
:focus-visible { outline: 3px solid #b47912; outline-offset: 5px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.09; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-weight: 650; }
h2 { font-weight: 640; }
p { margin-bottom: 1.1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .45em; }
small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -120px; left: 16px; z-index: 200; background: white; padding: 10px 20px; color: var(--blue); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 100; min-height: var(--header); background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(20,30,45,.1); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.nav-inner { min-height: var(--header); max-width: 1640px; margin: 0 auto; padding: 0 clamp(18px,4vw,72px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 630; letter-spacing: -.025em; }
.monogram { width: 33px; height: 33px; display: grid; place-items: center; background: var(--blue); color: white; font-size: 13px; letter-spacing: -.08em; border-radius: 50%; }
.brand-divider { height: 18px; width: 1px; background: #cdd1d6; }
.brand small { font-size: 13px; font-weight: 430; color: var(--muted); }
.nav-primary { display: flex; gap: clamp(16px, 2.1vw, 36px); align-items: center; margin-left: auto; }
.nav-primary a { display: inline-flex; align-items: center; min-height: 44px; color: #454a52; text-decoration: none; font-size: 13px; }
.nav-primary a:hover, .nav-primary a[aria-current=page] { color: var(--blue); }
.nav-primary a[aria-current=page] { box-shadow: inset 0 -2px var(--blue); }
.site-menu { position: relative; }
.site-menu summary { display: flex; align-items: center; gap: 9px; min-height: 44px; list-style: none; font-size: 13px; }
.site-menu summary::-webkit-details-marker { display: none; }
.menu-glyph { display: inline-block; width: 15px; height: 9px; border-top: 1.5px solid; border-bottom: 1.5px solid; }
.menu-panel { position: absolute; right: -5px; top: calc(100% + 14px); width: min(370px, calc(100vw - 36px)); padding: 16px; background: white; box-shadow: 0 16px 70px rgba(0,20,45,.14); border: 1px solid var(--line); border-radius: 18px; max-height: calc(100dvh - 104px); overflow-y: auto; }
.menu-panel a { display: block; font-size: 14px; padding: 10px 12px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.menu-panel a:hover, .menu-panel a[aria-current=page] { color: var(--blue); background: #edf5fb; }
.menu-panel .menu-label { font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; margin: 0; }
.reading-progress { position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; pointer-events: none; }
/* Every desktop home panel is 100% wide and exactly 16:9 at normal text size.
   At narrow widths and high zoom, content takes priority over the ratio. */
.panel { width: 100%; aspect-ratio: 16 / 9; position: relative; isolation: isolate; display: grid; align-items: center; overflow: hidden; padding: var(--gutter); color: var(--ink); background: #f1f4f7; }
.home-panels .panel { margin-bottom: 12px; }
.panel-dark { color: #fff; background: #101b2b; }
.panel-copy { width: min(62%, 850px); position: relative; z-index: 3; }
.eyebrow { margin-bottom: 20px; font-size: clamp(11px,1vw,15px); letter-spacing: .14em; font-weight: 650; text-transform: uppercase; line-height: 1.5; color: var(--blue); }
.panel-dark .eyebrow { color: #c9dff1; }
.panel-title { font-size: clamp(38px, 6.25vw, 112px); margin-bottom: .28em; line-height: 1.015; letter-spacing: -.055em; font-weight: 650; }
.panel-title span { display: block; }
.panel-description { max-width: 31em; font-size: clamp(17px, 1.52vw, 27px); line-height: 1.42; letter-spacing: -.022em; color: #505963; margin: 0 0 1.6em; }
.panel-dark .panel-description { color: #e0e8ef; }
.panel-meta { position: absolute; bottom: 30px; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #575e67; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; z-index: 3; }
.panel-dark .panel-meta { color: #d3deea; }
.panel-index { font-variant-numeric: tabular-nums; }
.panel-index::before { content: ""; display: inline-block; width: 30px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; opacity: .65; }
.action-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 25px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; border-radius: 999px; border: 1px solid transparent; background: var(--blue); color: white; text-decoration: none; font-size: 15px; padding: 10px 23px; font-weight: 540; line-height: 1.4; transition: background .2s, transform .2s, box-shadow .2s; }
.button:hover { background: #063c66; transform: translateY(-2px); box-shadow: 0 6px 22px rgba(0,40,80,.14); }
.button .arrow { font-size: 19px; line-height: 1; transition: transform .2s; }
.button:hover .arrow { transform: translateX(3px); }
.panel-dark .button { background: white; color: #133859; }
.panel-dark .button:hover { background: #e8f3fc; }
.button.secondary { background: transparent; border-color: #b9c2cc; color: var(--blue); box-shadow: none; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; font-size: 15px; text-decoration: none; }
.panel-dark .text-link { color: #e7f4ff; }
.text-link:hover { text-decoration: underline; }
.media { position: absolute; z-index: 0; inset: 0; overflow: hidden; background-size: cover; background-position: center; }
.media img, .media video { position: absolute; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--focal, 50% 50%); }
.media-photo { opacity: 0; transition: opacity .6s; }
.media-photo.is-ready { opacity: 1; }
.media video { opacity: 0; transition: opacity .35s; }
.media.is-playing video { opacity: 1; }
.media-controls { position: absolute; z-index: 5; right: 28px; bottom: 62px; }
.media-toggle { min-width: 44px; min-height: 44px; padding: 8px 14px; border-radius: 999px; background: rgba(10,22,34,.9); border: 1px solid #cbd8e3; color: white; font-size: 12px; }
.media-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,rgba(245,247,250,.98) 0%,rgba(245,247,250,.93) 33%,rgba(245,247,250,.50) 55%,rgba(245,247,250,0) 82%); pointer-events: none; }
.panel-dark .media-shade { background: linear-gradient(90deg,rgba(10,23,39,.97) 0%,rgba(10,23,39,.87) 37%,rgba(10,23,39,.35) 70%,rgba(10,23,39,.25) 100%); }
.home-intro { background: #071e33; }
.home-intro .panel-title { font-size: clamp(58px, 8vw, 145px); }
.home-intro .panel-copy { width: min(70%,950px); }
.home-intro .media-shade { background: linear-gradient(90deg,rgba(5,24,43,.98),rgba(5,24,43,.88) 35%,rgba(5,24,43,.3) 75%),linear-gradient(0deg,rgba(5,24,43,.3),transparent); }
.home-intro .panel-description { max-width: 27em; }
.intro-tagline { display: inline-flex; font-size: 12px; border: 1px solid rgba(220,235,246,.4); border-radius: 999px; padding: 6px 13px; margin: 0 0 26px; color: #e4edf5; letter-spacing: .01em; }
.section-intro { max-width: 1600px; padding: 66px var(--gutter) 56px; margin: 0 auto; display: flex; justify-content: space-between; align-items: end; gap: 35px; }
.section-intro h2 { font-size: clamp(28px,3.3vw,50px); margin-bottom: 0; }
.section-intro p { max-width: 420px; font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
/* Decorative HTML artwork is an abstract visual element. */
.art-card { position: absolute; z-index: 2; width: 28%; right: 10%; top: 25%; aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,.8); border-radius: 6px; padding: 8%; background: rgba(255,255,255,.85); box-shadow: 0 30px 75px rgba(23,51,85,.12); transform: rotate(8deg); }
.art-card .art-label { font-size: clamp(9px,.9vw,14px); letter-spacing: .15em; color: #577088; }
.art-card .art-name { font-size: clamp(22px,2.9vw,52px); line-height: 1.1; letter-spacing: -.05em; margin-top: 12%; color: #003f71; }
.art-card .art-line { height: 2px; margin-top: 8%; background: #bacbda; width: 100%; }
.art-card .art-line.short { width: 63%; }
.art-card .art-seal { position: absolute; right: 16%; bottom: 14%; width: 18%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #b8a56e; }
.home-bridge { padding: 80px var(--gutter); background: #f5f5f7; }
.bridge-inner { max-width: 1250px; margin: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.bridge-inner h2 { font-size: clamp(28px,3vw,48px); }
.bridge-inner p { color: var(--muted); font-size: 17px; }
/* Detail pages: the visual belongs to the top hero, never behind the long narrative. */
.page-hero { position: relative; aspect-ratio: 16/9; background: #0a2137; isolation: isolate; color: white; overflow: hidden; display: flex; align-items: flex-end; padding: clamp(36px,5.3vw,96px) var(--gutter); }
.page-hero .media-shade { background: linear-gradient(0deg,rgba(5,20,34,.96) 0%,rgba(5,20,34,.68) 38%,rgba(5,20,34,.2) 78%),linear-gradient(90deg,rgba(5,20,34,.35),transparent); }
.hero-copy { z-index: 3; position: relative; max-width: 1100px; }
.page-hero h1 { font-size: clamp(45px,6.4vw,110px); margin-bottom: .22em; line-height: 1.015; letter-spacing: -.052em; }
.page-hero .eyebrow { color: #d2e7f8; margin-bottom: 23px; }
.hero-description { font-size: clamp(18px,1.8vw,29px); max-width: 850px; line-height: 1.4; color: #edf2f7; margin-bottom: 0; }
.breadcrumb { position: absolute; left: var(--gutter); top: 28px; z-index: 4; font-size: 12px; color: #f0f4f8; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.hero-source { font-size: 10px; position: absolute; top: 31px; right: 30px; z-index: 3; color: white; background: rgba(5,20,34,.65); padding: 3px 9px; border-radius: 4px; max-width: 45%; text-align: right; }
.hero-source a { color: inherit; }
.content-wrap { max-width: 1520px; padding: 70px var(--gutter) 100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1fr) 230px; gap: clamp(40px,7vw,120px); }
.article { min-width: 0; }
.article > :first-child { margin-top: 0; }
.article-intro { font-size: clamp(23px,2.2vw,34px); line-height: 1.45; letter-spacing: -.035em; font-weight: 520; }
.article-section { margin-top: 64px; scroll-margin-top: calc(var(--header) + 24px); }
.article-section > h2 { font-size: clamp(28px,3vw,43px); margin-bottom: 24px; }
.article-section h3 { font-size: 22px; letter-spacing: -.025em; margin-bottom: 13px; }
.article-section > p { color: #4c535c; }
.article ul, .article ol { color: #4c535c; }
.article-sidebar { align-self: start; position: sticky; top: calc(var(--header) + 38px); font-size: 13px; }
.article-sidebar .eyebrow { font-size: 10px; margin-bottom: 15px; }
.article-sidebar nav a { display: block; padding: 9px 0 9px 14px; border-left: 2px solid #e1e4e8; text-decoration: none; color: #61656d; line-height: 1.45; }
.article-sidebar nav a:hover { color: var(--blue); border-left-color: var(--blue); }
.article-sidebar nav a.is-current { color: var(--blue); border-left-color: var(--blue); font-weight: 600; }
.sidebar-tools { display: flex; flex-direction: column; gap: 12px; margin-top: 27px; }
.sidebar-tools button, .sidebar-tools a { display: flex; width: 100%; padding: 10px 12px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 9px; background: white; font-size: 12px; text-decoration: none; color: #444b56; }
.sidebar-tools button:hover, .sidebar-tools a:hover { background: #f5f7fa; }
.note { padding: 20px 24px; background: #f2f7fb; border-left: 3px solid #7caacf; font-size: 14px; color: #46566a; border-radius: 0 10px 10px 0; margin: 30px 0; }
.note strong { color: #223e58; }
.note p:last-child { margin-bottom: 0; }
.status-pill { display: inline-flex; align-items: center; border-radius: 99px; font-size: 11px; line-height: 1.4; background: #f2efe5; color: #665127; padding: 5px 10px; white-space: normal; }
.status-pill.neutral { background: #edf2f6; color: #506074; }
.feature { padding: 30px 0; border-top: 1px solid var(--line); position: relative; }
.feature-header { display: flex; align-items: start; gap: 16px; }
.feature-id { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; font-weight: 600; color: var(--blue); border: 1px solid #ceddea; border-radius: 50%; }
.feature h3 { line-height: 1.28; margin: 3px 0 15px; }
.feature p { color: #555e69; margin-bottom: 13px; }
.resource-links { display: flex; gap: 8px; flex-wrap: wrap; }
.resource-links a { color: var(--blue); font-size: 12px; text-decoration: none; padding: 6px 10px; border: 1px solid #d2deea; border-radius: 6px; }
.resource-links a:hover { background: #edf5fc; }
.source-line { font-size: 12px; line-height: 1.6; color: #68717d; margin-top: 25px; }
.source-line a { color: #315d80; }
.fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin: 28px 0 0; }
.fact-grid > div { padding: 15px 0; border-top: 1px solid var(--line); }
.fact-grid dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #767c85; margin-bottom: 4px; }
.fact-grid dd { font-size: 16px; margin: 0; color: #353f4b; }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.case-card { background: #f5f6f8; border: 1px solid #e8eaee; border-radius: 16px; padding: 28px; min-width: 0; }
.case-card h3 { margin-top: 19px; }
.case-card p { font-size: 14px; color: #5b6470; }
.case-card .case-number { color: #799ab5; font-size: 28px; letter-spacing: -.055em; }
.case-card .text-link { font-size: 13px; }
.table-scroll { overflow-x: auto; width: 100%; }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; line-height: 1.5; }
caption { text-align: left; font-weight: 600; margin: 0 0 14px; }
th { font-weight: 600; color: #364758; background: #f4f6f9; }
th, td { padding: 14px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
td { color: #505b69; }
.table-scroll table { min-width: 510px; }
.timeline { list-style: none; padding: 0 !important; }
.timeline li { display: grid; grid-template-columns: 115px 1fr; padding: 17px 0; border-bottom: 1px solid var(--line); gap: 20px; margin: 0; font-size: 15px; }
.timeline strong { color: var(--blue); font-weight: 630; }
.document-list { display: grid; gap: 10px; }
.document-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 20px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: #234663; font-size: 15px; }
.document-link:hover { background: #f3f7fb; }
.document-link small { font-size: 10px; color: var(--muted); white-space: nowrap; }
.disclosure { border-bottom: 1px solid var(--line); }
.disclosure summary { display: flex; justify-content: space-between; padding: 18px 0; font-size: 17px; font-weight: 560; list-style: none; gap: 18px; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: "+"; font-size: 22px; color: var(--blue); font-weight: 400; }
.disclosure[open] summary::after { content: "\2212"; }
.disclosure .disclosure-content { padding-bottom: 18px; font-size: 15px; color: #5b6370; }
.next-section { display: block; padding: 50px var(--gutter); background: #f4f5f7; text-decoration: none; color: var(--ink); }
.next-inner { max-width: 1250px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.next-section .eyebrow { margin-bottom: 13px; font-size: 10px; }
.next-section h2 { font-size: clamp(28px,3vw,46px); margin: 0; }
.next-section .next-arrow { font-size: 40px; color: var(--blue); transition: transform .2s; }
.next-section:hover .next-arrow { transform: translateX(8px); }
/* Resources remains readable without JavaScript. Filters are progressive enhancements. */
.resource-tools { background: #f6f7f9; padding: 22px; border-radius: 13px; margin-bottom: 22px; }
.filter-fields { display: grid; grid-template-columns: minmax(0,1fr) 195px; gap: 14px; }
.filter-fields label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: #58616e; }
.filter-fields input, .filter-fields select { display: block; width: 100%; min-height: 45px; margin-top: 8px; padding: 10px 12px; border: 1px solid #bac6d2; border-radius: 7px; background: white; color: #303841; font-size: 14px; }
.filter-bottom { display: flex; gap: 12px; justify-content: space-between; align-items: center; margin-top: 15px; }
.filter-bottom p { margin: 0; font-size: 12px; color: #697482; }
.clear-filters { border: 0; background: transparent; color: var(--blue); font-size: 12px; min-height: 34px; text-decoration: underline; }
.resource-card { scroll-margin-top: calc(var(--header) + 20px); border: 1px solid #e1e6ec; border-radius: 12px; margin: 0 0 13px; overflow: hidden; }
.resource-card:target { outline: 2px solid #5e91bb; outline-offset: 2px; }
.resource-summary { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; gap: 14px; align-items: start; list-style: none; padding: 21px; }
.resource-summary::-webkit-details-marker { display: none; }
.resource-summary::after { content: "+"; font-size: 22px; line-height: 1.2; color: var(--blue); }
.resource-card[open] .resource-summary::after { content: "\2212"; }
.resource-number { display: flex; min-height: 38px; align-items: center; justify-content: center; background: #eef4f9; color: #355875; border-radius: 7px; font-size: 11px; font-weight: 600; }
.resource-summary h3 { font-size: 17px; margin: 0 0 7px; line-height: 1.35; }
.resource-summary p { font-size: 12px; line-height: 1.5; color: #65717c; margin: 0 0 8px; }
.resource-detail { padding: 0 22px 22px 81px; font-size: 14px; color: #576370; }
.resource-detail .fact-grid { margin: 20px 0; }
.resource-detail .fact-grid dd { font-size: 13px; }
.resource-detail .fact-grid dt { font-size: 10px; }
.no-results { padding: 28px; background: #f8f7f1; border-radius: 12px; }
.site-footer { background: #fafafa; padding: 50px var(--gutter) 28px; border-top: 1px solid #e3e6ea; }
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-top { display: flex; gap: 36px; justify-content: space-between; padding-bottom: 32px; border-bottom: 1px solid #e2e5e9; }
.footer-name { font-size: 18px; font-weight: 620; letter-spacing: -.03em; margin-bottom: 5px; }
.footer-description { font-size: 12px; color: #6a717b; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; align-items: start; gap: 8px 24px; }
.footer-links a, .motion-toggle { min-height: 40px; display: flex; align-items: center; font-size: 12px; text-decoration: none; color: #4f5b68; padding: 0; border: 0; background: transparent; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 25px; margin-top: 23px; font-size: 10px; color: #727983; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #556878; }
.reveal-pending { opacity: 0; transform: translateY(24px); }
.reveal-ready { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.is-visible { opacity: 1; transform: translateY(0); }
.reduce-motion *, .reduce-motion *::before, .reduce-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.reduce-motion { scroll-behavior: auto; }
@media (min-width: 1921px) { .panel-copy { max-width: 960px; } }
@media (max-width: 1050px) {
  .brand small, .brand-divider { display: none; }
  .content-wrap { grid-template-columns: minmax(0,1fr) 195px; gap: 40px; }
  .art-card { right: 8%; }
  .panel-description { max-width: 25em; }
}
@media (max-width: 800px) {
  :root { --header: 62px; --gutter: 28px; }
  .nav-primary { display: none; }
  .nav-inner { padding: 0 22px; }
  .panel { aspect-ratio: auto; min-height: 650px; padding: 60px var(--gutter) 95px; align-items: start; }
  .panel-copy, .home-intro .panel-copy { width: 100%; max-width: 620px; }
  .panel-title { font-size: clamp(43px,8.2vw,67px); }
  .home-intro .panel-title { font-size: clamp(63px,12vw,96px); }
  .home-intro { min-height: 750px; }
  .panel-description { font-size: 19px; max-width: 25em; }
  .eyebrow { font-size: 11px; }
  .intro-tagline { margin-bottom: 24px; font-size: 11px; }
  .panel-meta { bottom: 25px; font-size: 9px; }
  .media-shade { background: linear-gradient(180deg,rgba(245,247,250,1),rgba(245,247,250,.96) 45%,rgba(245,247,250,.22) 83%); }
  .panel-dark .media-shade { background: linear-gradient(180deg,rgba(10,23,39,.97),rgba(10,23,39,.90) 47%,rgba(10,23,39,.35) 88%); }
  .home-intro .media-shade { background: linear-gradient(180deg,rgba(5,24,43,.94),rgba(5,24,43,.90) 45%,rgba(5,24,43,.25)); }
  .art-card { width: 190px; top: auto; bottom: 40px; right: 13%; padding: 30px; }
  .art-card .art-name { font-size: 30px; }
  .art-card .art-label { font-size: 10px; }
  .section-intro { align-items: start; padding: 45px var(--gutter); gap: 24px; }
  .section-intro p { max-width: 260px; font-size: 13px; }
  .page-hero { aspect-ratio: auto; min-height: 660px; padding: 100px var(--gutter) 50px; }
  .page-hero h1 { font-size: clamp(43px,7.8vw,70px); }
  .hero-description { font-size: 21px; }
  .hero-source { top: auto; bottom: 12px; right: var(--gutter); max-width: 80%; font-size: 8px; }
  .content-wrap { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 60px; gap: 0; }
  .article-sidebar { position: static; grid-row: 1; padding-bottom: 26px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
  .article-sidebar nav { display: flex; flex-wrap: wrap; gap: 7px; }
  .article-sidebar nav a { display: inline-flex; font-size: 11px; padding: 7px 10px; border: 1px solid #d6e0e8; border-radius: 6px; }
  .article-sidebar .eyebrow { margin-bottom: 10px; }
  .sidebar-tools { flex-direction: row; flex-wrap: wrap; margin-top: 16px; }
  .sidebar-tools button, .sidebar-tools a { width: auto; font-size: 11px; padding: 7px 12px; min-height: 40px; }
  .case-grid { grid-template-columns: 1fr; }
  .bridge-inner { gap: 25px; }
  .footer-top { flex-direction: column; gap: 17px; }
  .filter-fields { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  :root { --gutter: 22px; }
  .brand { font-size: 14px; gap: 8px; }
  .monogram { width: 29px; height: 29px; font-size: 11px; }
  .site-menu summary { font-size: 12px; }
  .panel { min-height: 665px; padding-top: 48px; }
  .home-intro { min-height: 740px; }
  .panel-title { font-size: 43px; }
  .panel-description { font-size: 18px; }
  .action-row { gap: 10px 16px; }
  .button { font-size: 14px; padding: 10px 20px; }
  .text-link { font-size: 14px; }
  .section-intro { display: block; }
  .section-intro p { margin-top: 17px; max-width: 100%; }
  .page-hero { min-height: 625px; }
  .page-hero h1 { font-size: 44px; }
  .hero-description { font-size: 19px; }
  .hero-copy .eyebrow { font-size: 10px; }
  .article-intro { font-size: 25px; }
  .article-section { margin-top: 47px; }
  .article-section > h2 { font-size: 30px; }
  .feature-header { gap: 12px; }
  .feature h3 { font-size: 20px; }
  .fact-grid { grid-template-columns: 1fr; }
  .note { padding: 18px; font-size: 13px; }
  .bridge-inner { grid-template-columns: 1fr; gap: 8px; }
  .home-bridge { padding: 55px var(--gutter); }
  .timeline li { grid-template-columns: 90px 1fr; gap: 12px; font-size: 13px; }
  .document-link { font-size: 13px; }
  .resource-summary { padding: 16px; gap: 10px; grid-template-columns: 37px minmax(0,1fr) auto; }
  .resource-summary h3 { font-size: 15px; }
  .resource-detail { padding: 0 17px 20px; }
  .filter-bottom { align-items: start; }
  .next-section { padding-top: 36px; padding-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
@media print {
  @page { margin: 18mm; }
  html, body { background: white; color: black; font-size: 11pt; }
  .site-header, .site-footer, .article-sidebar, .next-section, .media, .media-shade, .hero-source, .breadcrumb, .media-controls, .resource-tools, .skip-link, .panel-meta, .art-card, .home-bridge { display: none !important; }
  .page-hero, .panel, .panel-dark { display: block; min-height: 0 !important; height: auto; aspect-ratio: auto; color: black; background: white !important; padding: 0 0 8mm; overflow: visible; }
  .page-hero h1, .panel-title, .home-intro .panel-title { font-size: 28pt; color: black; }
  .hero-description, .panel-description, .panel-dark .panel-description, .page-hero .eyebrow, .panel-dark .eyebrow { color: #333; font-size: 12pt; }
  .panel-copy, .home-intro .panel-copy { width: 100%; }
  .panel-title span { display: inline; }
  .panel-title span + span::before { content: " "; }
  .intro-tagline { color: #333; border-color: #bbb; }
  .content-wrap { display: block; padding: 0; max-width: none; }
  .article-intro { font-size: 16pt; }
  .article-section { margin-top: 8mm; }
  .article-section h2 { font-size: 20pt; }
  .article-section h3 { font-size: 14pt; }
  h1,h2,h3,h4 { break-after: avoid; }
  .feature, .case-card, .resource-card, .note { break-inside: avoid; }
  .case-grid { display: block; }
  .case-card { margin-bottom: 5mm; }
  .note { background: #f7f7f7 !important; color: #333; border-color: #999; }
  .note strong, .feature p { color: #222; }
  .reveal-pending, .reveal-ready, .is-visible { opacity: 1 !important; transform: none !important; }
  a { color: #153e61; }
  .button { background: none !important; color: black !important; border: 1px solid #aaa; padding: 3mm 5mm; }
  .table-scroll { overflow: visible; }
  .table-scroll table { min-width: 0; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .resource-card[hidden] { display: block !important; }
  .section-intro { padding: 7mm 0; }
}

/* Refined decorative paper and hero line breaks. */
.art-card { padding: 3.3%; }
.page-hero h1 span { display: block; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .88em; overflow-wrap: anywhere; }
@media (max-width: 800px) { .art-card { padding: 20px; } }

/* Protect long section names at very narrow widths and large text settings. */
.hero-copy, .panel-copy { min-width: 0; }
.page-hero h1, .panel-title { overflow-wrap: anywhere; }
.resource-record-title { display: block; font-size: 17px; font-weight: 600; margin: 0 0 7px; line-height: 1.35; letter-spacing: -.025em; }
.resource-record-description { display: block; font-size: 12px; line-height: 1.5; color: #65717c; margin: 0 0 8px; }
@media (max-width: 360px) {
  .page-hero h1, .panel-title { font-size: 37px; }
  .home-intro .panel-title { font-size: 60px; }
  .eyebrow { overflow-wrap: anywhere; }
}

/* Personal website refinements. All visuals are bundled local assets by default. */
.intro-tagline { border: 0; padding: 0; display: block; border-radius: 0; font-size: clamp(20px,2.2vw,34px); line-height: 1.3; font-weight: 500; letter-spacing: -.025em; margin: 20px 0 17px; color: #e5f1fa; }
.home-intro .panel-description { font-size: clamp(16px,1.45vw,23px); margin-bottom: 1.65em; }
.brand small { letter-spacing: -.01em; }
.feature-mark { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; font-weight: 600; color: var(--blue); border: 1px solid #ceddea; border-radius: 50%; }
.topic-pills { display: flex; gap: 9px; flex-wrap: wrap; list-style: none; padding: 0 !important; margin: 24px 0 30px; }
.topic-pills li { margin: 0; padding: 8px 14px; background: #eef4f9; color: #31516d; border: 1px solid #dfe9f1; border-radius: 100px; font-size: 13px; line-height: 1.5; }
.quote-card { margin: 32px 0; padding: clamp(24px,4vw,48px); background: #eff4f8; border-radius: 18px; }
.quote-card p { font-size: clamp(23px,2.4vw,34px); line-height: 1.35; letter-spacing: -.035em; color: #193d59; font-weight: 530; margin: 0; }
.small-note { font-size: 13px; line-height: 1.6; color: #5e6773; }
.article a:not(.button) { overflow-wrap: anywhere; }
.contact-card { padding: clamp(22px,3.4vw,42px); border: 1px solid #dfe7ef; background: linear-gradient(135deg,#f3f7fb,#fff); border-radius: 22px; margin-bottom: 26px; }
.contact-card .eyebrow { font-size: 11px; margin-bottom: 14px; }
.contact-address { display: inline-block; font-size: clamp(23px,3.1vw,42px); letter-spacing: -.045em; font-weight: 620; margin-bottom: 22px; text-decoration: none; overflow-wrap: anywhere; line-height: 1.25; }
.contact-address:hover { text-decoration: underline; }
.contact-card > p:not(.eyebrow) { color: #535f6d; font-size: 15px; }
.contact-card .copy-status { margin: 16px 0 0; min-height: 1.6em; font-size: 13px; }
.learning-path { list-style: none; padding: 0 !important; }
.learning-path li { display: flex; gap: 22px; padding: 25px 0; margin: 0; border-top: 1px solid var(--line); }
.path-number { display: grid; place-items: center; border-radius: 50%; background: #edf4fa; color: #365d7d; width: 44px; height: 44px; flex-shrink: 0; font-size: 14px; }
.learning-path h3 { margin: 3px 0 10px; }
.learning-path p { font-size: 15px; margin: 0; }
.resource-location { font-size: 12px; color: #586b7a; }
.resource-tools { position: relative; }
.resource-detail .button { font-size: 13px; }
.resource-number { font-size: 10px; }
.quick-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.quick-topics a { color: var(--blue); background: #edf4f9; border: 1px solid #dce7f0; border-radius: 99px; padding: 6px 13px; font-size: 12px; text-decoration: none; min-height: 34px; display: inline-flex; align-items: center; }
.quick-topics a:hover { background: #dceaf5; }
.site-menu summary:focus-visible { border-radius: 4px; }
.home-bridge { background: #071f35; color: white; }
.home-bridge .eyebrow { color: #c6ddee; }
.home-bridge h2 { font-size: clamp(36px,4.5vw,66px); }
.home-bridge p { color: #d7e4ef; }
.home-bridge .button { background: white; color: #153f61; }
.home-bridge .bridge-inner { align-items: center; }
.home-bridge .text-link { color: #e4f2ff; }
.button:focus-visible { outline-offset: 5px; }
.footer-bottom { font-size: 11px; color: #606a76; }
.hero-source[hidden] { display: none; }
@media (min-width: 801px) and (max-width: 1100px) {
  .home-intro .panel-title { font-size: 7.4vw; }
  .home-intro .eyebrow { margin-bottom: 12px; }
  .home-intro .intro-tagline { font-size: 2.1vw; margin: 12px 0; }
  .home-intro .panel-description { font-size: 16px; margin-bottom: 1.1em; }
  .home-intro .panel-meta { bottom: 20px; }
  .panel-copy { width: 67%; }
}
@media (max-width: 800px) {
  .intro-tagline { font-size: 24px; max-width: 390px; margin: 22px 0 18px; }
  .home-intro .panel-description { font-size: 18px; }
  .home-intro .panel-copy { padding-bottom: 10px; }
  .hero-source { max-width: calc(100% - 44px); top: 63px; left: var(--gutter); right: auto; }
  .breadcrumb { max-width: calc(100% - 44px); }
}
@media (max-width: 480px) {
  .home-intro { min-height: 720px; }
  .home-intro .panel-title { font-size: clamp(60px,17vw,79px); }
  .intro-tagline { font-size: 23px; max-width: 300px; }
  .home-intro .panel-meta { font-size: 9px; gap: 16px; }
  .home-intro .panel-meta span:last-child { text-align: right; max-width: 118px; }
  .contact-card .button { font-size: 13px; }
  .learning-path li { gap: 15px; }
  .resource-record-title { font-size: 16px; }
  .resource-summary { grid-template-columns: 33px minmax(0,1fr) auto; }
  .resource-record-description { font-size: 13px; }
  .brand small { display: none; }
}
@media print {
  .quick-topics, .contact-card .action-row, .copy-status { display: none !important; }
  .intro-tagline { color: #333; font-size: 15pt; }
  .quote-card { background: white; border: 1px solid #bbb; padding: 6mm; }
  .quote-card p { font-size: 16pt; color: #222; }
  .contact-card { background: white; }
  .panel-title span, .page-hero h1 span { display: inline; }
  .panel-title span::before, .page-hero h1 span::before { content: " "; }
  .resource-detail .button { color: #222; }
}

/* Concise personal content: selected writing and compact professional lists. */
.writing-item + .writing-item { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.writing-item h3 { margin-bottom: 10px; }
.writing-item p { margin-bottom: 12px; }
.writing-item .source-line { margin-top: 0; }
.compact-list { list-style: none; padding: 0 !important; }
.compact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.compact-list li + li { margin-top: 0; }
.compact-list strong { font-weight: 600; color: var(--ink); }
.case-card h3:first-child { margin-top: 0; }
@media print { .writing-item { break-inside: avoid; } }
