:root {
  color-scheme: light;
  --canvas: #ddded0;
  --paper: #f2f1e6;
  --white: #faf9f1;
  --wash: #e8e8d8;
  --ink: #273b26;
  --muted: #626a54;
  --accent: #304d2b;
  --accent-dark: #203b1d;
  --line: #d5d8c6;
  --nav-offset: 108px;
  --sans: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-offset); }
body { margin: 0; padding: 28px 0; font-family: var(--sans); background: var(--canvas); color: var(--ink); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
svg use { fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.icons { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
h1, h2, p, figure { margin-top: 0; }
.site-frame { width: min(1440px, calc(100% - 56px)); margin: 0 auto; background: var(--paper); border: 1px solid #f9f8ee; border-radius: 22px; box-shadow: 0 3px 0 #72796438, 0 18px 60px #34452c08; }
.shell { width: calc(100% - 80px); max-width: 1320px; margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 20; transform: translateY(-200%); padding: 12px; background: var(--white); border-radius: 6px; }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-radius: 22px 22px 0 0; border-bottom: 1px solid var(--line); }
body:has(.home-layout--chapters) .site-header { border-bottom-color: transparent; }
.header-inner { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { color: var(--accent); width: 39px; height: 39px; flex: none; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 20px; font-weight: 600; letter-spacing: .12em; }
.brand small { color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: .19em; margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 15px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.site-nav a svg { width: 16px; height: 16px; flex: none; }
.site-nav a:hover { background: var(--wash); }
.site-nav a[aria-current] { background: var(--accent); color: var(--white); }
.site-nav a[aria-current]:hover { background: var(--accent-dark); }
.site-identity { display: flex; align-items: flex-end; flex-direction: column; gap: 7px; }
.brand-domain { font-size: 13px; font-weight: 500; letter-spacing: .025em; }
.preview-badge { font-size: 10px; color: var(--muted); white-space: nowrap; letter-spacing: .04em; }
.preview-badge i { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #6f8058; margin-right: 5px; vertical-align: 1px; }
.home-layout--chapters { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: start; gap: 32px; padding-top: 32px; }
.home-chapters { min-width: 0; }
.chapter-guide { position: sticky; top: calc(var(--nav-offset) + 28px); margin-top: 35px; }
.chapter-guide p { margin: 0 0 18px; padding-left: 11px; color: var(--muted); font-size: 10px; font-weight: 500; letter-spacing: .15em; }
.chapter-links { display: grid; gap: 7px; border-left: 1px solid var(--line); }
.chapter-links a { display: flex; align-items: center; gap: 10px; min-height: 43px; margin-left: -1px; padding: 8px 10px; border-left: 2px solid transparent; border-radius: 0 5px 5px 0; color: var(--muted); font-size: 12px; }
.chapter-links a span { font-size: 10px; font-variant-numeric: tabular-nums; opacity: .8; }
.chapter-links a:hover { background: var(--wash); color: var(--accent-dark); }
.chapter-links a[aria-current] { border-color: var(--accent); background: #e3e6d4; color: var(--accent-dark); }
.album-masthead { padding: 4px 0 24px; border-bottom: 1px solid var(--line); }
.album-intro { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 1.2fr); align-items: center; gap: 28px; min-height: 120px; padding: 17px 32px; background: var(--wash); border-radius: 10px; }
.intro-name { text-align: center; }
.intro-kicker { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 7px; color: var(--muted); font-size: 8px; font-weight: 500; letter-spacing: .13em; }
.intro-kicker span { font-size: 14px; line-height: 1; }
.album-intro h1 { margin: 0; font-size: 30px; font-weight: 500; line-height: 1.2; letter-spacing: .1em; }
.album-intro h1 span { display: block; font-size: 8px; font-weight: 400; letter-spacing: .3em; margin: 8px 0 0; }
.intro-deck { margin: 0 0 8px; font-size: 17px; font-weight: 400; letter-spacing: .07em; }
.intro-note { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.home-panel { margin-top: 42px; padding: 0; }
#recent { margin-top: 0; }
.home-layout--chapters .home-panel { scroll-margin-top: var(--nav-offset); }
.home-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 21px; }
.home-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.home-icon svg { width: 20px; height: 20px; }
.section-label { display: block; margin-bottom: 9px; color: var(--muted); font-size: 9px; font-weight: 500; line-height: 1; letter-spacing: .13em; }
.home-heading h2 { margin: 0; color: var(--ink); font-size: clamp(24px, 2.25vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: .015em; }
.home-heading p { margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: .14em; line-height: 1.5; }
.eyebrow span { display: inline-block; width: 16px; height: 1px; background: currentColor; }
.primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 12px 19px; border: 1px solid var(--accent); background: var(--accent); color: var(--white); border-radius: 5px; font-size: 13px; font-weight: 500; line-height: 1.3; transition: background .2s; }
.primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.hero-stage { min-width: 0; }
.hero-photo { display: block; height: clamp(270px, 36vw, 460px); padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--wash); }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 5px; }
.hero-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin-top: 17px; }
.hero-caption { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.hero-caption strong, .hero-caption small { display: block; }
.hero-caption strong { font-size: 15px; font-weight: 500; line-height: 1.5; }
.hero-caption small { font-size: 11px; margin-top: 5px; color: var(--muted); }
.hero-controls { display: flex; align-items: center; gap: 4px; color: var(--accent); }
.hero-controls button { display: grid; width: 36px; height: 36px; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 50%; }
.hero-controls button:hover { background: var(--wash); border-color: #8e9a7a; }
.hero-controls button:focus-visible { outline-offset: 2px; }
.hero-controls span { min-width: 36px; text-align: center; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
#hero-pause { margin-left: 5px; }
.hero-footer .primary { margin-inline-start: auto; white-space: nowrap; }
#photos { padding-top: 38px; border-top: 1px solid var(--line); margin-top: 44px; }
.theme-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.theme-item { display: flex; flex-direction: column; min-width: 0; padding: 7px; border: 1px solid #e0e2d2; border-radius: 8px; background: #f7f6ed; box-shadow: 0 5px 12px #3a4e2a0a; transition: transform .2s, box-shadow .2s; }
.theme-item:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #3a4e2a12; }
.theme-card { display: flex; flex-direction: column; position: relative; min-width: 0; flex: 1; border-radius: 5px; }
.theme-card img { display: block; width: 100%; aspect-ratio: 1.35; object-fit: cover; border-radius: 4px; background: var(--wash); }
.theme-copy { padding: 14px 6px 36px; }
.theme-count { display: block; color: var(--muted); font-size: 10px; margin-bottom: 9px; font-variant-numeric: tabular-nums; }
.theme-copy h3 { margin: 0 0 8px; font-size: 18px; font-weight: 500; line-height: 1.4; letter-spacing: .015em; }
.theme-copy p { color: var(--muted); font-size: 11px; margin: 0; line-height: 1.7; }
.theme-arrow { position: absolute; bottom: 5px; right: 5px; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #c6ceba; border-radius: 50%; color: var(--accent); }
.theme-card:hover .theme-arrow { background: var(--accent); border-color: var(--accent); color: var(--white); }
.theme-arrow svg { width: 14px; height: 14px; }
.theme-keywords { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; min-height: 65px; margin-top: 9px; padding: 11px 4px 4px; border-top: 1px solid var(--line); }
.search-section { margin-bottom: 55px; }
.home-layout--chapters .search-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 28px; padding: 32px; background: var(--wash); border-radius: 12px; margin-top: 44px; }
.home-layout--chapters .search-section .home-heading { align-items: flex-start; margin-bottom: 0; }
.home-layout--chapters .search-section .home-icon { display: none; }
.search-tools { min-width: 0; }
.search-form { display: flex; gap: 8px; }
.search-field { display: flex; align-items: center; flex: 1; min-width: 0; gap: 10px; border: 1px solid #c8cfb9; border-radius: 5px; padding: 0 12px; background: var(--white); color: var(--muted); }
.search-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.search-field svg { flex: none; }
.search-field input { width: 100%; min-width: 0; min-height: 48px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search-field input::placeholder { color: #687059; opacity: 1; }
.search-form .primary { min-width: 68px; }
.search-suggestions, .viewer-topic-links, .card-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.search-examples { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; margin-top: 13px; }
.search-examples-label { color: var(--muted); padding-block: 5px; font-size: 11px; }
.suggestion-count { margin-left: 7px; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.topic-pill, .card-topics span { display: inline-flex; max-width: 100%; align-items: center; padding: 5px 8px; border: 1px solid #d2d8c2; background: #f1f2e6; color: #4a5b3b; border-radius: 4px; font-size: 11px; line-height: 1.4; }
.topic-pill:hover { border-color: #7e916b; color: var(--accent-dark); background: #e4e9d4; }
.theme-keywords .topic-pill { font-size: 10px; padding: 3px 6px; }
.search-section--results { display: grid; grid-template-columns: minmax(192px, .6fr) minmax(0, 1.4fr); align-items: center; gap: 24px; margin: 28px 0 0; padding: 23px 26px; background: var(--wash); border-radius: 10px; }
.search-section--results .home-heading { margin-bottom: 0; }
.search-section--results .home-heading h2 { font-size: 24px; }
.search-section--results .home-heading p, .search-section--results .section-label { display: none; }
.gallery { margin-top: 30px; padding-bottom: 55px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--accent); font-size: 12px; }
.back-link:hover { text-decoration: underline; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 11px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }
.breadcrumb-divider { color: #879178; }
.result-heading { margin-top: 23px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.result-heading h1 { margin: 10px 0 10px; font-size: clamp(29px, 3.1vw, 43px); font-weight: 500; line-height: 1.25; letter-spacing: -.02em; overflow-wrap: anywhere; }
.result-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.result-heading h1:focus { outline: none; }
.folder-panel { padding: 23px 0; border-bottom: 1px solid var(--line); }
.folder-panel h2 { margin: 0 0 14px; font-size: 15px; font-weight: 500; }
.keyword-panel header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; margin-bottom: 14px; }
.keyword-panel header h2, .keyword-panel header p { margin: 0; }
.keyword-panel header p { color: var(--muted); font-size: 12px; }
.search-facets { display: grid; gap: 20px; }
.search-facet h3 { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 500; }
.folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(228px, 100%), 1fr)); gap: 10px; }
.folder-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 7px 11px 7px 7px; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.folder-card:hover { border-color: #879b72; background: #f1f3e6; }
.keyword-panel .folder-card { background: #e9ecdc; border-color: #d2d9c2; }
.keyword-panel .folder-card:hover, .keyword-panel .folder-card[aria-current] { border-color: var(--accent); background: #dfe6cd; }
.keyword-panel .folder-card[aria-current] .folder-copy strong { color: var(--accent-dark); }
.folder-thumb { display: grid; place-items: center; width: 61px; height: 47px; flex: none; overflow: hidden; background: #dce3cc; color: var(--accent); border-radius: 4px; }
.folder-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.folder-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.folder-copy strong { font-size: 13px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.folder-copy small { font-size: 11px; color: var(--muted); }
.folder-arrow { display: grid; place-items: center; flex: none; margin-left: auto; color: var(--accent); }
.results-bar { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 12px; }
.results-bar p { margin: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.load-more { display: flex; justify-content: center; margin-top: 30px; }
.photo-card { display: flex; flex-direction: column; width: 100%; min-width: 0; text-align: left; padding: 7px; border: 1px solid #dce0ce; background: #f8f7ef; border-radius: 8px; overflow: hidden; transition: border-color .18s, box-shadow .18s, transform .18s; }
.photo-card:hover { border-color: #8a9d76; box-shadow: 0 6px 18px #354a2a12; transform: translateY(-2px); }
.thumb-wrap { display: block; width: 100%; aspect-ratio: 4/3; background: var(--wash); overflow: hidden; position: relative; border-radius: 4px; }
.thumb-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.expand { display: grid; place-items: center; position: absolute; right: 9px; bottom: 9px; width: 31px; height: 31px; border: 1px solid #f4f5e74d; border-radius: 50%; background: #253b26c9; color: white; }
.card-copy { display: flex; width: 100%; flex-direction: column; flex: 1; gap: 7px; padding: 14px 7px 9px; }
.card-copy strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
.card-context { color: var(--muted); font-size: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-credit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 7px; margin-top: auto; padding-top: 5px; color: #536442; font-size: 11px; line-height: 1.5; }
.card-year { flex: none; color: var(--muted); }
.card-topics { gap: 4px; margin-top: 4px; }
.card-topics span { padding: 3px 6px; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.empty { text-align: center; padding: 35px 16px; color: var(--muted); background: var(--wash); border-radius: 10px; }
.empty p { margin-bottom: 12px; }
.empty-back { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-dark); font-size: 13px; }
.empty .search-suggestions { justify-content: center; margin: 10px 0 14px; }
footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 21px 24px; }
.album-facts { display: flex; flex-wrap: wrap; gap: 10px 27px; min-width: 0; margin: 0; }
.album-facts > div { min-width: 0; }
.album-facts dt { margin-bottom: 3px; color: var(--muted); font-size: 12px; }
.album-facts dd { margin: 0; color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.footer-inner a { display: inline-flex; align-items: center; gap: 12px; min-height: 36px; white-space: nowrap; font-size: 12px; }
.footer-inner a:hover { color: var(--accent); text-decoration: underline; }
body:has(dialog[open]) { overflow: hidden; }
dialog { width: min(1180px, calc(100% - 48px)); max-width: none; max-height: calc(100% - 48px); padding: 0; border: 1px solid #e8ecdb; border-radius: 14px; color: var(--ink); background: var(--paper); box-shadow: 0 24px 90px #10220e38; }
dialog::backdrop { background: #182416cc; }
.viewer-layout { display: grid; grid-template-columns: minmax(0, 1fr) 350px; min-height: min(72vh, 720px); position: relative; }
.viewer-stage { position: relative; min-width: 0; background: #1c261d; }
.viewer-stage img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.viewer-arrow, .close { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #c9d0bb; }
.viewer-arrow { position: absolute; top: 50%; transform: translateY(-50%); border-color: #e9eed64d; background: #253421d9; color: white; }
.viewer-arrow:hover { background: var(--accent); }
.viewer-arrow:disabled { display: none; }
.prev { left: 12px; }
.next { right: 12px; }
.viewer-info { padding: 62px 27px 27px; }
.close { position: absolute; top: 14px; right: 14px; z-index: 1; background: var(--paper); }
.close:hover { background: #dfe7cf; }
.viewer-info h2 { font-size: 27px; font-weight: 500; line-height: 1.4; margin: 9px 0 12px; overflow-wrap: anywhere; }
.viewer-category { font-size: 12px; color: var(--muted); margin-bottom: 13px; }
.viewer-caption { font-size: 13px; color: #57644c; line-height: 1.85; margin: 0 0 14px; }
.viewer-info dl { margin: 18px 0; padding: 12px 0; border-block: 1px solid var(--line); }
.meta-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 12px; line-height: 1.6; }
.meta-row dt { flex: none; color: var(--muted); }
.meta-row dd { min-width: 0; margin: 0; text-align: right; overflow-wrap: anywhere; }
.meta-row:first-child dd { color: var(--accent-dark); font-weight: 500; }
.viewer-info .primary { width: 100%; }
.viewer-note { color: var(--muted); line-height: 1.7; font-size: 11px; margin: 11px 0 0; }
.viewer-topics { margin-top: 21px; padding-top: 17px; border-top: 1px solid var(--line); }
.viewer-topics h3 { margin: 0 0 12px; font-size: 13px; font-weight: 500; }
.viewer-topic-group { margin: 10px 0; }
.viewer-topic-group h4 { margin: 0 0 7px; color: var(--muted); font-size: 11px; font-weight: 400; }
@media (max-width: 1200px) {
  .shell { width: calc(100% - 56px); }
  .home-layout--chapters { grid-template-columns: 118px minmax(0, 1fr); gap: 24px; }
  .site-nav a { padding-inline: 10px; }
  .theme-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .theme-copy { padding-bottom: 20px; padding-right: 28px; }
  .theme-copy h3 { font-size: 20px; }
  .home-layout--chapters .search-section { grid-template-columns: minmax(0, 1fr); gap: 22px; }
}
@media (max-width: 950px) {
  body { padding: 18px 0; }
  .site-frame { width: calc(100% - 32px); border-radius: 16px; }
  .site-header { border-radius: 16px 16px 0 0; }
  .header-inner { min-height: 84px; gap: 12px; }
  .brand strong { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .site-identity { display: none; }
  .home-layout--chapters { display: block; padding-top: 24px; }
  .chapter-guide { position: static; margin: 0 0 22px; display: flex; align-items: center; gap: 20px; }
  .chapter-guide p { margin: 0; padding: 0; white-space: nowrap; }
  .chapter-links { display: flex; gap: 10px; border-left: 0; }
  .chapter-links a { border-left: 0; min-height: 34px; padding: 6px 9px; border-radius: 4px; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .home-layout--chapters .search-section { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .viewer-layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .viewer-info { padding-inline: 22px; }
}
@media (max-width: 700px) {
  :root { --nav-offset: 134px; }
  .shell { width: calc(100% - 36px); }
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 10px; padding: 16px 0 10px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 8px; }
  .brand-mark { width: 34px; height: 34px; }
  .site-identity { display: flex; grid-column: 2; grid-row: 1; }
  .brand-domain { font-size: 11px; }
  .site-nav { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .site-nav a { min-height: 40px; gap: 5px; padding-inline: 3px; font-size: 12px; }
  .site-nav a svg { width: 15px; height: 15px; }
  .home-layout--chapters { padding-top: 20px; }
  .chapter-guide { display: none; }
  .album-masthead { padding-bottom: 18px; }
  .album-intro { grid-template-columns: minmax(0, 1fr); gap: 10px; min-height: 0; padding: 12px 16px; text-align: center; }
  .album-intro h1 { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 24px; }
  .album-intro h1 span { margin: 0; font-size: 8px; letter-spacing: .16em; }
  .intro-kicker { margin-bottom: 6px; }
  .intro-deck { margin-bottom: 4px; font-size: 14px; letter-spacing: .04em; }
  .intro-note { max-width: 27em; margin-inline: auto; font-size: 10px; }
  .home-panel { margin-top: 32px; }
  .home-heading { gap: 10px; margin-bottom: 18px; }
  .home-icon { width: 35px; height: 35px; }
  .home-icon svg { width: 17px; height: 17px; }
  .section-label { font-size: 8px; margin-bottom: 7px; }
  .home-heading h2 { font-size: 25px; }
  .home-heading p { font-size: 11px; }
  .hero-photo { height: clamp(220px, 57vw, 350px); padding: 7px; border-radius: 8px; }
  .hero-footer { gap: 12px 8px; margin-top: 13px; }
  .hero-caption { flex-basis: 100%; }
  .hero-caption strong { font-size: 14px; }
  .hero-controls { gap: 3px; }
  .hero-controls button { width: 31px; height: 34px; }
  .hero-controls span { min-width: 28px; }
  #hero-pause { margin-left: 1px; }
  .hero-footer .primary { min-height: 36px; gap: 7px; padding: 9px 11px; font-size: 11px; }
  #photos { padding-top: 29px; margin-top: 33px; }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .theme-item { padding: 6px; }
  .theme-copy { padding: 12px 4px 34px; }
  .theme-copy h3 { font-size: 18px; }
  .theme-copy p { font-size: 11px; }
  .theme-count { font-size: 9px; }
  .theme-arrow { right: 4px; bottom: 3px; width: 25px; height: 25px; }
  .theme-keywords { gap: 4px; padding-inline: 2px; }
  .theme-keywords .topic-pill { font-size: 10px; padding-inline: 5px; }
  .home-layout--chapters .search-section { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 23px 18px; margin-top: 33px; }
  .search-section { margin-bottom: 34px; }
  .search-section--results { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 17px; margin-top: 20px; }
  .search-section--results .home-heading h2 { font-size: 23px; }
  .search-field { gap: 7px; padding-inline: 9px; }
  .search-field input { font-size: 16px; }
  .search-field input::placeholder { font-size: 12px; }
  .search-form .primary { min-width: 55px; padding-inline: 11px; }
  .gallery { margin-top: 20px; padding-bottom: 36px; }
  .folder-grid { grid-template-columns: repeat(auto-fill, minmax(min(154px, 100%), 1fr)); gap: 8px; }
  .folder-card { gap: 7px; padding-right: 6px; }
  .folder-thumb { width: 43px; height: 40px; }
  .folder-copy strong { font-size: 12px; }
  .folder-arrow svg { width: 12px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .photo-card { padding: 5px; }
  .card-copy { padding: 11px 4px 7px; gap: 6px; }
  .card-copy strong { font-size: 13px; }
  .card-topics span { padding-inline: 4px; }
  .expand { width: 26px; height: 26px; right: 6px; bottom: 6px; }
  .footer-inner { padding-block: 18px 20px; flex-wrap: wrap; gap: 10px; }
  .album-facts { gap: 9px 20px; }
  dialog { width: calc(100% - 20px); max-height: calc(100% - 20px); border-radius: 10px; }
  .viewer-layout { display: block; min-height: 0; }
  .viewer-stage { height: min(49vh, 360px); }
  .viewer-info { padding: 23px 21px; }
  .viewer-info h2 { font-size: 25px; }
  .viewer-info dl { margin: 16px 0; padding: 8px 0; }
}
@media (max-width: 380px) {
  body { padding: 8px 0; }
  .site-frame { width: calc(100% - 16px); }
  .shell { width: calc(100% - 26px); }
  .brand { gap: 8px; }
  .brand-domain { font-size: 10px; }
  .brand strong { font-size: 17px; }
  .home-layout--chapters .search-section { padding-inline: 12px; }
  .theme-grid { gap: 9px; }
  .hero-controls button { width: 28px; }
  .hero-footer .primary { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
.viewer-description summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer; list-style: none; color: var(--ink); font-size: 13px; font-weight: 600; }
.viewer-description summary::-webkit-details-marker { display: none; }
.viewer-description summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
.description-toggle { display: inline-flex; align-items: center; gap: 5px; flex: none; color: var(--muted); font-size: 11px; font-weight: 400; }
.description-toggle .when-open, .viewer-description[open] .when-closed { display: none; }
.viewer-description[open] .when-open { display: inline; }
.viewer-description[open] .description-toggle svg { transform: rotate(90deg); }
.description-body { padding-top: 16px; }
.search-expansion { padding-top: 15px; }
.search-expansion h4 { margin: 0 0 8px; font-size: 11px; font-weight: 500; color: var(--muted); }
@media (min-width: 701px) {
  .viewer-layout { height: min(84vh, 820px); min-height: 0; }
  .viewer-info { min-height: 0; overflow-y: auto; }
}

.filing-link { padding-bottom: 18px; text-align: center; color: var(--muted); font-size: 12px; }
.filing-link a:hover { color: var(--accent); text-decoration: underline; }
