:root {
  --purple: #4c3472;
  --purple-dark: #2d1a50;
  --purple-light: #6d4ba0;
  --gold: #f3b85d;
  --gold-light: #ffe0a2;
  --ink: #281a3d;
  --muted: #675d72;
  --paper: #fffdfb;
  --wash: #f5f1f7;
  --line: #ded5e7;
  --radius: 16px;
  --shadow: 0 12px 36px rgb(44 26 73 / 8%);
  --header-height: 84px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; font-size: 16px; line-height: 1.65; }
[hidden] { display: none !important; }
img, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--purple); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .12em; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #c47915; outline-offset: 4px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 500; color: var(--ink); overflow-wrap: break-word; }
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.35em; }
li + li { margin-top: .3em; }
figure { margin: 0; }
audio { width: 100%; max-width: 100%; }
main { min-height: 45vh; }
main:focus { outline: none; }
section[id], article[id], div[id] { scroll-margin-top: 24px; }
.wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.sr-only, .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 12px 18px; background: #fff; color: var(--purple-dark); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 40; color: #fff; background: var(--purple); box-shadow: 0 1px 0 rgb(255 255 255 / 12%); }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-brand { display: block; flex: 0 0 150px; }
.site-brand img { width: 150px; height: auto; }
.desktop-navigation { min-width: 0; }
.desktop-navigation ul { display: flex; align-items: center; gap: clamp(12px, 1.15vw, 18px); list-style: none; padding: 0; margin: 0; }
.desktop-navigation li { margin: 0; }
.desktop-navigation a { display: flex; align-items: center; min-height: 48px; color: #fff; font-size: 14px; line-height: 1.3; font-weight: 600; white-space: nowrap; text-decoration: none; border-bottom: 2px solid transparent; transition: color .15s ease, border-color .15s ease; }
.desktop-navigation a:hover, .desktop-navigation a[aria-current='page'] { color: var(--gold-light); border-bottom-color: var(--gold); }
.site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-light); }
.header-tools { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.header-search { display: inline-flex; min-height: 46px; min-width: 44px; align-items: center; justify-content: center; gap: 7px; padding: 9px 2px; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.header-search:hover { color: var(--gold-light); }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 9px 14px; border: 1px solid rgb(255 255 255 / 40%); border-radius: 10px; color: #fff; background: transparent; font-size: 15px; font-weight: 600; }
.menu-icon, .menu-icon::before, .menu-icon::after { width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-icon { display: block; position: relative; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.no-js .menu-toggle { display: none; }
.noscript-navigation ul { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 16px; list-style: none; }
.noscript-navigation a { display: block; padding-block: 8px; }
html.navigation-open, body.navigation-open { overflow: hidden; overscroll-behavior: none; }
.mobile-dialog { position: fixed; inset: 0 0 0 auto; width: min(430px, calc(100% - 20px)); max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: -20px 0 60px rgb(20 10 38 / 25%); overflow: hidden; }
.mobile-dialog[open] { display: flex; flex-direction: column; animation: menu-enter .2s ease-out; }
.mobile-dialog::backdrop { background: rgb(20 10 38 / 58%); }
.mobile-dialog-heading { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 18px 22px; border-bottom: 1px solid var(--line); }
.mobile-dialog-heading .eyebrow { font-family: Arial, Helvetica, sans-serif; font-size: 12px; letter-spacing: .025em; color: var(--muted); }
.mobile-dialog-heading h2 { font-size: 25px; margin-top: 4px; }
.menu-close { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--wash); color: var(--purple); font-size: 31px; line-height: 1; }
.mobile-navigation { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 8px max(22px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) 22px; }
.mobile-navigation ul { list-style: none; margin: 0; padding: 0; }
.mobile-navigation li { margin: 0; }
.mobile-navigation li a { display: flex; align-items: center; min-height: 54px; padding: 13px 8px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.mobile-navigation li a:hover, .mobile-navigation li a[aria-current='page'] { color: var(--purple); background: var(--wash); }
.mobile-navigation li a[aria-current='page'] { box-shadow: inset 3px 0 var(--purple); padding-left: 12px; }
.mobile-navigation .mobile-japa { display: flex; margin-top: 22px; width: 100%; }
.mobile-navigation .mobile-search { display: flex; margin-top: 8px; margin-bottom: 10px; width: 100%; }
@keyframes menu-enter { from { opacity: .4; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }

.eyebrow { display: block; margin: 0 0 10px; color: var(--purple-light); font-size: 15px; line-height: 1.4; font-weight: 600; }
.page-heading { padding: 38px 0 34px; background: var(--wash); border-bottom: 1px solid var(--line); }
.page-heading h1 { max-width: 24ch; }
.page-heading p:not(.eyebrow), .page-heading .lead { max-width: 74ch; margin-top: 18px; margin-bottom: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.breadcrumbs a { padding-block: 4px; }
.home-hero { color: #fff; background-color: var(--purple); background-image: url('/public/assets/fon.webp'); background-position: center bottom; background-size: cover; background-repeat: no-repeat; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, .52fr) minmax(0, .48fr); align-items: center; min-height: max(620px, calc(100vh - var(--header-height))); min-height: max(620px, calc(100svh - var(--header-height))); padding-block: 64px; }
.hero-copy { min-width: 0; grid-column: 1; max-width: 540px; }
.hero-copy h1 { max-width: 13ch; color: #fff; font-size: clamp(2.75rem, 4.7vw, 4.2rem); line-height: 1.04; }
.hero-copy .eyebrow { color: var(--gold-light); font-size: 20px; font-family: Georgia, 'Times New Roman', serif; }
.hero-copy p:not(.eyebrow) { max-width: 45ch; margin-top: 22px; margin-bottom: 0; font-size: 18px; line-height: 1.6; }
.hero-portrait { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 10px; background: var(--purple); color: #fff; font-size: 16px; line-height: 1.4; font-weight: 600; text-align: center; text-decoration: none; overflow-wrap: anywhere; transition: background .15s ease, border-color .15s ease; }
.button:hover { color: #fff; background: var(--purple-dark); }
.button.secondary { color: var(--purple); background: transparent; border-color: var(--purple); }
.button.secondary:hover { background: var(--wash); }
.hero-actions .button { flex: 0 1 200px; min-height: 52px; }
.home-hero .hero-actions .button { color: var(--purple-dark); background: var(--gold-light); border-color: var(--gold-light); }
.home-hero .hero-actions .button.secondary { color: #fff; background: transparent; border-color: var(--gold-light); }
.home-hero .hero-actions .button:hover { background: var(--gold); border-color: var(--gold); color: var(--purple-dark); }
.home-hero .hero-actions .button:focus-visible { outline-color: #fff; }
.facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 0; margin-top: 24px; margin-bottom: 20px; border: 1px solid #e7d8ef; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--paper); overflow: hidden; }
.facts > * { min-width: 0; margin: 0; padding: 24px; border-right: 1px solid var(--line); }
.facts > *:last-child { border-right: 0; }
.facts strong { display: block; margin-bottom: 5px; font-family: Georgia, 'Times New Roman', serif; font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--purple); }
.facts p, .facts span { display: block; margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

.section { padding-block: 48px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.section-heading > div { min-width: 0; }
.section-heading p { max-width: 66ch; margin: 12px 0 0; color: var(--muted); }
.section-heading > a { flex: 0 0 auto; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.grid { --columns: 1; --grid-gap: 24px; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: var(--grid-gap); }
.grid.two { --columns: 2; }
.grid.three { --columns: 3; }
.grid.four { --columns: 4; }
.grid.five { --columns: 5; }
.grid > * { min-width: 0; flex: 0 0 calc((100% - (var(--columns) - 1) * var(--grid-gap)) / var(--columns)); }
.card, .media-card, .book-card, .event-card, .empty-state { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.card, .media-card, .book-card, .event-card { display: flex; flex-direction: column; height: auto; }
.card h2, .card h3, .media-card h2, .media-card h3, .book-card h2, .book-card h3, .event-card h2, .event-card h3 { flex: 0 0 auto; margin-bottom: 12px; font-size: 22px; line-height: 1.3; }
.card p, .media-card p, .book-card p, .event-card p { color: var(--muted); }
.card > .button, .card > .text-link:last-child, .card > .card-action,
.card > .media-body > .button:last-child, .card > .media-body > .text-link:last-child,
.card > .media-body > .card-action, .card > .card-body > .button:last-child,
.card > .card-body > .text-link:last-child { align-self: stretch; min-height: 48px; margin-top: auto; }
.card > .hero-actions, .card > .link-list:last-child,
.card > p:has(> .text-link):last-child { margin-top: auto; }
.card > .hero-actions .button { min-height: 48px; }
.card > img { width: 100%; height: auto; border-radius: 10px; margin-bottom: 20px; }
.media-card { padding: 0; overflow: hidden; }
.media-card > :not(.media-cover):not(img):not(picture) { margin-inline: 24px; }
.media-card > h2, .media-card > h3 { margin-top: 24px; }
.media-card > p, .media-card > a:last-child, .media-card > .button { margin-bottom: 24px; }
.media-card img, .media-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.media-cover { position: relative; display: block; flex: 0 0 auto; overflow: hidden; background: var(--wash); }
.media-cover img { width: 100%; height: 100%; object-fit: cover; }
.media-cover.portrait-cover img { object-fit: contain; aspect-ratio: auto; }
.media-format-cover { display: grid; place-items: center; color: var(--purple); background: var(--wash); text-decoration: none; }
.media-format-cover > span { padding: 24px; font-family: Georgia, 'Times New Roman', serif; font-size: 28px; line-height: 1.2; text-align: center; }
.media-cover .play-icon, .media-cover .play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 54px; height: 54px; padding-left: 3px; margin: 0; border-radius: 50%; transform: translate(-50%, -50%); color: var(--purple-dark); background: var(--gold-light); font-size: 24px; box-shadow: 0 4px 18px rgb(0 0 0 / 20%); }
.card > .media-body, .card > .card-body { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.media-card .media-body, .media-card .card-body { padding: 24px; margin: 0; }
.photo-grid .media-body > p { margin: 0; }
.photo-grid .media-body > .text-link { align-self: stretch; margin-top: auto; }
.photo-albums-action { display: flex; justify-content: center; margin: 24px 0 0; }
.photo-albums-action > .button { width: min(100%, 560px); }
.book-card > a:first-child, .book-cover { display: block; flex: 0 0 auto; width: 100%; aspect-ratio: 3 / 4; max-height: 310px; margin-bottom: 24px; }
.book-card img, .book-cover img { width: 100%; height: 100%; max-height: 310px; aspect-ratio: auto; object-fit: contain; margin: 0; }
.book-card .button { width: 100%; }
.event-card { gap: 12px; }
.event-card time { color: var(--purple); font-weight: 700; font-size: 15px; }
.event-card h2, .event-card h3, .event-card p { margin: 0; }
.event-card .event-place { color: var(--muted); font-style: normal; }
.event-card > a { align-self: stretch; min-height: 48px; margin-top: auto; }
.source-note { max-width: 85ch; margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.prose { max-width: 76ch; font-size: 17px; line-height: 1.75; }
.section > .prose { max-width: none; margin-inline: auto; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.section > .grid + .prose,
.section > .grid + p:not(.source-note):not(.photo-albums-action) { margin-top: 24px; }
.section > .prose > p, .section > .prose > ol, .section > .prose > ul { max-width: 76ch; }
.prose > * + h2, .prose > * + h3 { margin-top: 1.4em; }
.prose h2, .prose h3 { margin-bottom: .65em; }
.prose a { overflow-wrap: anywhere; }
.prose blockquote { margin: 24px 0; padding: 8px 0 8px 22px; border-left: 3px solid var(--gold); color: var(--purple); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.link-list li:last-child { border: 0; }
.link-list a { display: block; min-height: 48px; padding: 12px 0; overflow-wrap: anywhere; }
.link-list > a { border-bottom: 1px solid var(--line); }
.link-list > a:last-child { border-bottom: 0; }
nav.link-list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
nav.link-list > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--purple); background: #fff; font-size: 14px; line-height: 1.4; text-decoration: none; }
nav.link-list > a:last-child { border-bottom: 1px solid var(--line); }
nav.link-list > a:hover { background: var(--wash); border-color: var(--purple-light); }
.section:has(> nav.link-list) { padding-block: 24px; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; padding-block: 8px; font-weight: 600; overflow-wrap: anywhere; }
.section .empty-state { padding: 24px; background: var(--wash); box-shadow: none; }
.empty-state h2, .empty-state h3 { margin-bottom: 12px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter-bar button { min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--purple); background: #fff; font-size: 15px; line-height: 1.4; }
.filter-bar button[aria-pressed='true'], .filter-bar button:hover { color: #fff; background: var(--purple); border-color: var(--purple); }
.filter-status { margin-bottom: 18px; color: var(--muted); font-size: 14px; }
.video-link { display: block; overflow-wrap: anywhere; }
.video-link span { display: block; color: var(--muted); font-size: 14px; margin-top: 6px; }
.media-cover .play-mark { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 54px; height: 54px; padding-left: 3px; margin: 0; border-radius: 50%; transform: translate(-50%, -50%); color: var(--purple-dark); background: var(--gold-light); font-size: 24px; box-shadow: 0 4px 18px rgb(0 0 0 / 20%); }
.portrait-photo, img.portrait-photo { width: 100%; max-height: 560px; object-fit: contain; }
.portrait-photo img { width: 100%; max-height: 560px; object-fit: contain; }
.japa-time { padding: 18px; border-radius: 10px; background: var(--wash); }
.japa-time strong { font-size: 21px; color: var(--purple); }
.copy-status { color: var(--purple); font-size: 14px; }
.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-list > * { margin: 0; }
.audio-card { min-width: 0; }
.audio-card audio { display: block; margin-top: 16px; }
.audio-list { display: grid; gap: 20px; }
.audio-meta { color: var(--muted); font-size: 14px; }

.error-page { display: grid; align-items: center; min-height: calc(100vh - var(--header-height) - 260px); min-height: calc(100svh - var(--header-height) - 260px); padding-block: 64px; background: var(--wash); border-bottom: 1px solid var(--line); }
.error-page-grid { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); align-items: center; gap: 48px; }
.error-code { margin: 0; color: var(--purple); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(7rem, 17vw, 13rem); font-weight: 500; line-height: .8; letter-spacing: -.07em; text-align: center; }
.error-message { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.error-message h1 { max-width: 14ch; }
.error-message > p:not(.eyebrow) { max-width: 52ch; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.error-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.error-actions .button { width: 100%; }

.site-footer { margin-top: 30px; padding-top: 45px; color: #fff; background: var(--purple-dark); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-bottom: 32px; }
.footer-grid > * { min-width: 0; }
.footer-brand img { width: 155px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 37ch; color: rgb(255 255 255 / 82%); font-size: 14px; line-height: 1.7; }
.footer-grid h2 { font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.4; font-weight: 700; color: var(--gold-light); margin-bottom: 13px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0; }
.footer-grid a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 8px 0; color: #fff; font-size: 14px; line-height: 1.4; text-decoration: none; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 21px 25px; border-top: 1px solid rgb(255 255 255 / 22%); color: rgb(255 255 255 / 75%); font-size: 13px; line-height: 1.6; }
.footer-bottom p { margin: 0; }
.footer-bottom a { flex: 0 0 auto; min-height: 44px; display: flex; align-items: center; color: #fff; }

@media (max-width: 1239px) {
  :root { --header-height: 76px; }
  .desktop-navigation { display: none; }
  .menu-toggle { display: inline-flex; }
  .grid.four { --columns: 2; }
  .grid.five { --columns: 3; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
}

@media (max-width: 1100px) {
  .facts { margin-top: 24px; }
  .facts > * { padding: 20px; }
}

@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .home-hero { background-image: none; }
  .home-hero-grid { width: 100%; min-height: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
  .hero-portrait { display: block; order: 1; width: 100%; height: calc(100vh - var(--header-height)); height: calc(100svh - var(--header-height)); min-height: 520px; overflow: hidden; background: var(--purple-dark); }
  .hero-portrait picture { width: 100%; height: 100%; }
  .hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
  .hero-copy { order: 2; width: calc(100% - 40px); max-width: 680px; margin-inline: auto; padding-block: 30px 36px; }
  .hero-copy h1 { max-width: none; font-size: clamp(2.3rem, 8vw, 3.4rem); }
  .hero-copy p:not(.eyebrow) { max-width: 68ch; font-size: 17px; margin-top: 16px; }
  .hero-actions { margin-top: 22px; }
  .grid.three, .grid.five { --columns: 2; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > *:nth-child(2) { border-right: 0; }
  .facts > *:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .error-page { min-height: 0; padding-block: 48px; }
  .error-page-grid { grid-template-columns: 1fr; gap: 28px; }
  .error-code { font-size: clamp(6.5rem, 30vw, 10rem); }
}

@media (max-width: 600px) {
  :root { --header-height: 72px; }
  .wrap { width: calc(100% - 32px); }
  .home-hero-grid { width: 100%; }
  .header-inner { gap: 12px; }
  .site-brand { flex-basis: 142px; }
  .site-brand img { width: 142px; }
  .menu-toggle { padding: 9px 12px; }
  .header-tools { gap: 6px; }
  h1 { font-size: clamp(1.95rem, 8.2vw, 2.4rem); }
  h2 { font-size: clamp(1.6rem, 6.8vw, 2rem); }
  .page-heading { padding-block: 24px 25px; }
  .page-heading p:not(.eyebrow), .page-heading .lead { font-size: 16px; margin-top: 14px; }
  .breadcrumbs { font-size: 13px; margin-bottom: 14px; }
  .eyebrow { font-size: 14px; }
  .hero-portrait { min-height: 0; }
  .hero-copy { width: calc(100% - 32px); padding-block: 26px 30px; }
  .hero-copy .eyebrow { font-size: 16px; margin-bottom: 8px; }
  .hero-copy h1 { font-size: clamp(2.15rem, 9.5vw, 2.7rem); line-height: 1.08; }
  .hero-copy p:not(.eyebrow) { font-size: 16px; line-height: 1.55; margin-top: 14px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 20px; }
  .hero-actions .button { width: 100%; min-height: 48px; }
  .facts { margin-top: 20px; margin-bottom: 0; }
  .facts > * { padding: 18px 16px; }
  .facts strong { font-size: 27px; }
  .facts p, .facts span { font-size: 13px; }
  .section { padding-block: 32px; }
  .section:has(> nav.link-list) { padding-block: 20px; }
  .section-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .section-heading > a { min-height: 44px; }
  .grid, .grid.two, .grid.three, .grid.four, .grid.five { --columns: 1; --grid-gap: 18px; }
  .card, .book-card, .event-card { padding: 20px; }
  .media-card { padding: 0; }
  .media-card > :not(.media-cover):not(img):not(picture) { margin-inline: 20px; }
  .media-card .media-body, .media-card .card-body { padding: 20px; margin: 0; }
  .book-card > a:first-child, .book-cover { max-height: 275px; margin-bottom: 20px; }
  .book-card img, .book-cover img { max-height: 275px; }
  .section .empty-state { padding: 20px; }
  .prose { font-size: 16px; line-height: 1.7; }
  .section > .prose { padding: 20px; }
  .source-note { font-size: 13px; }
  .error-page { padding-block: 36px; }
  .error-page-grid { gap: 22px; }
  .error-message { padding: 24px 20px; }
  .error-message > p:not(.eyebrow) { font-size: 16px; }
  .error-actions { grid-template-columns: 1fr; gap: 10px; margin-top: 22px; }
  .filter-bar { gap: 8px; }
  .filter-bar button { padding-inline: 15px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 27px; }
  .site-footer { padding-top: 34px; margin-top: 20px; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 10px; }
}

@media (max-width: 359px) {
  .site-brand { flex-basis: 126px; }
  .site-brand img { width: 126px; }
  .hero-copy h1 { font-size: 2rem; }
  .facts { grid-template-columns: 1fr; }
  .facts > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts > *:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .mobile-dialog, .skip-link, .filter-bar { display: none !important; }
  .wrap { width: 100%; }
  .home-hero { color: #111; background: none; }
  .home-hero-grid { min-height: 0; padding: 20px 0; display: block; }
  .hero-copy h1, .hero-copy .eyebrow { color: #111; }
  .hero-actions { display: none; }
  .facts { margin-top: 10px; }
  .card, .media-card, .book-card, .event-card { box-shadow: none; break-inside: avoid; }
}
