:root {
  color-scheme: light;
  --ink: #1f2024;
  --muted: #6d6865;
  --paper: #f7f4ef;
  --panel: #fffdf9;
  --red: #a20f16;
  --red-dark: #711014;
  --red-soft: #f1dbd7;
  --line: #d9d1c8;
  --focus: #165da8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
}

a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  background: white;
  padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.masthead {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,.25);
  background: var(--red-dark);
  color: white;
}

.brand {
  display: flex;
  gap: .85rem;
  align-items: center;
  text-decoration: none;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  font: 700 1.35rem var(--serif);
}
.brand strong { display: block; font-family: var(--serif); font-size: 1.22rem; letter-spacing: .01em; }
.brand small { display: block; margin-top: .1rem; font-size: .75rem; opacity: .8; }
.brand sup, footer sup, .dialog-bar sup { font-size: .5em; }
.top-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .45rem 1.6rem; }
.top-nav a { font-size: .9rem; font-weight: 650; text-decoration: none; }
.top-nav a:hover { text-decoration: underline; text-underline-offset: .35rem; }

.search-stage {
  position: relative;
  overflow: visible;
  padding: clamp(3.2rem, 8vw, 7rem) clamp(1rem, 8vw, 8.5rem) 3.2rem;
  background:
    radial-gradient(circle at 86% 14%, rgba(255,255,255,.11) 0 1px, transparent 2px) 0 0 / 26px 26px,
    linear-gradient(138deg, #a70c15 0%, #870f15 54%, #4f0e13 100%);
  color: white;
}
.search-stage::after {
  content: "W";
  position: absolute;
  right: clamp(1rem, 7vw, 7rem);
  top: -2rem;
  color: rgba(255,255,255,.055);
  font: 700 clamp(12rem, 27vw, 26rem)/1 var(--serif);
  pointer-events: none;
}
.eyebrow, .kicker, .section-label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 800;
}
.eyebrow { opacity: .75; }
h1 {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: .7rem 0 2.2rem;
  font: 400 clamp(2.7rem, 6.7vw, 6.2rem)/.98 var(--serif);
  letter-spacing: -.035em;
}
h1 em { font-style: italic; }
.search-box { position: relative; z-index: 2; max-width: 880px; }
.search-box > label {
  display: block;
  margin-bottom: .55rem;
  font-size: .88rem;
  font-weight: 700;
}
.search-control {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: .6rem;
  padding: .55rem .55rem .55rem 1rem;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  box-shadow: 0 18px 45px rgba(31,0,4,.24);
}
.search-control svg { width: 23px; fill: none; stroke: var(--red); stroke-width: 2; }
.search-control input { min-width: 0; border: 0; outline: 0; padding: .75rem .2rem; font-size: 1.05rem; }
.search-control button {
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: white;
  padding: .78rem 1.3rem;
  font-weight: 750;
  cursor: pointer;
}
.search-help {
  position: relative;
  z-index: 2;
  width: min(100%, 880px);
  margin-top: .8rem;
  color: rgba(255,255,255,.86);
  font-size: .78rem;
}
.search-help summary { width: max-content; cursor: pointer; font-weight: 750; }
.search-help p { max-width: 680px; margin: .45rem 0 0; }
.search-help span { font-family: var(--serif); }
.suggestions {
  position: absolute;
  z-index: 8;
  left: clamp(1rem, 8vw, 8.5rem);
  width: min(calc(100% - 2rem), 880px);
  margin-top: .3rem;
  overflow: hidden;
  border-radius: 5px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(31,0,4,.28);
}
.suggestion {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: .75rem 1rem;
  text-align: left;
  cursor: pointer;
}
.suggestion:hover, .suggestion[aria-selected="true"] { background: var(--red-soft); }
.suggestion small { color: var(--muted); }
.alphabet {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: .22rem;
  max-width: 880px;
  margin-top: 1.45rem;
}
.alphabet button {
  width: 31px;
  height: 31px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 700;
}
.alphabet button:hover, .alphabet button.active { background: white; color: var(--red-dark); }

.workspace {
  display: grid;
  grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
  min-height: 680px;
}
.section-nav {
  padding: 3rem clamp(1rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
  background: #eee9e2;
}
.section-label { margin: 0 0 1rem; color: var(--red); }
.section-link {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: .7rem;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  padding: 1rem 0;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}
.section-link:last-child { border-bottom: 1px solid var(--line); }
.section-link span:first-child { color: var(--red); font: 700 1.1rem var(--serif); }
.section-link span:last-child { font-size: .9rem; line-height: 1.35; }
.section-link:hover span:last-child, .section-link.active span:last-child { text-decoration: underline; text-underline-offset: .25rem; }
.featured-link {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: .8rem;
  width: 100%;
  margin-top: 1.2rem;
  border: 1px solid var(--red);
  border-radius: 4px;
  background: transparent;
  padding: .75rem;
  color: var(--red-dark);
  text-align: left;
  cursor: pointer;
}
.featured-link > span:first-child { display: grid; place-items: center; height: 48px; border-radius: 50%; background: var(--red); color: white; font: 700 1.15rem var(--serif); }
.featured-link strong, .featured-link small { display: block; }
.featured-link small { margin-top: .08rem; color: var(--muted); font-size: .72rem; }
.featured-link:hover, .featured-link.active { background: var(--red-soft); }
.author-seal {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: .78rem;
}
.author-seal > span { display: grid; place-items: center; flex: 0 0 48px; height: 48px; border: 1px solid var(--red); border-radius: 50%; color: var(--red); font: italic 700 1rem var(--serif); }
.author-seal p { margin: 0; }
.author-seal strong { color: var(--ink); }

.results-panel { padding: 3rem clamp(1rem, 5vw, 5rem) 5rem; background: var(--panel); }
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.7rem; }
.kicker { margin: 0 0 .4rem; color: var(--red); }
.results-heading h2 { margin: 0; font: 400 clamp(2rem, 4vw, 3.6rem)/1.05 var(--serif); }
#result-count { margin: 0; color: var(--muted); white-space: nowrap; }
.search-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.2rem;
  margin: 0 0 1.8rem;
  padding: 1rem 0 1.2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.search-controls[hidden] { display: none; }
.search-facets { display: flex; flex-wrap: wrap; gap: .45rem; }
.search-facets button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  padding: .46rem .72rem;
  color: var(--ink);
  cursor: pointer;
  font-size: .77rem;
  font-weight: 680;
}
.search-facets button span { margin-left: .28rem; color: var(--muted); font-weight: 500; }
.search-facets button:hover, .search-facets button.active { border-color: var(--red); background: var(--red); color: white; }
.search-facets button:hover span, .search-facets button.active span { color: rgba(255,255,255,.78); }
.search-facets button:disabled { opacity: .42; cursor: default; }
.search-facets button:disabled:hover { border-color: var(--line); background: white; color: var(--ink); }
.sort-control { display: grid; gap: .28rem; color: var(--muted); font-size: .72rem; font-weight: 750; white-space: nowrap; }
.sort-control select { min-width: 142px; border: 1px solid var(--line); border-radius: 4px; background: white; padding: .5rem 1.8rem .5rem .6rem; color: var(--ink); }
.result-list { border-top: 1px solid var(--ink); }
.result-group + .result-group { margin-top: 2.6rem; }
.result-group-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--ink);
}
.result-group-heading h3 { margin: 0; font: 700 1.32rem var(--serif); }
.result-group-heading p { margin: 0; color: var(--muted); font-size: .76rem; }
.result-card {
  display: grid;
  grid-template-columns: 1.7fr .7fr 28px;
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 1.4rem 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.result-card:hover { background: linear-gradient(90deg, transparent, rgba(162,15,22,.045)); }
.result-card, .entry-body, .about-body {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.result-title { display: block; margin: 0 0 .42rem; font: 700 1.24rem/1.2 var(--serif); color: var(--red-dark); }
.result-excerpt { display: block; color: #4c4946; font-size: .9rem; }
.result-meta { color: var(--muted); font-size: .76rem; }
.result-arrow { color: var(--red); font-size: 1.4rem; line-height: 1; }
mark { border-radius: 2px; background: #ffe39a; color: inherit; padding: 0 .05em; }
.empty-state { padding: 3rem 0; color: var(--muted); }
.empty-state strong { color: var(--ink); font: 700 1.3rem var(--serif); }
.empty-state p { margin: .5rem 0 .8rem; }
.empty-state a { color: var(--red-dark); font-weight: 750; text-underline-offset: .2em; }

.entry-dialog {
  width: min(1120px, calc(100% - 2rem));
  max-height: min(900px, calc(100vh - 2rem));
  border: 0;
  border-radius: 6px;
  padding: 0;
  background: var(--panel);
  box-shadow: 0 30px 90px rgba(25,8,8,.35);
}
.entry-dialog::backdrop { background: rgba(28,20,19,.67); backdrop-filter: blur(3px); }
.dialog-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .8rem 1rem;
  background: var(--red-dark);
  color: white;
  font: 700 .84rem var(--serif);
}
.dialog-bar button { border: 1px solid rgba(255,255,255,.5); border-radius: 3px; background: transparent; color: white; padding: .35rem .7rem; cursor: pointer; }
.entry-tools {
  position: sticky;
  top: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .7rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255,253,249,.96);
  backdrop-filter: blur(8px);
}
.entry-tools > label { color: var(--muted); font-size: .72rem; font-weight: 750; }
.entry-find-control { display: grid; grid-template-columns: minmax(120px, 210px) auto 32px 32px; align-items: center; gap: .35rem; }
.entry-find-control input { min-width: 0; border: 1px solid var(--line); border-radius: 4px; padding: .42rem .55rem; background: white; }
.entry-find-control span { min-width: 58px; color: var(--muted); font-size: .72rem; text-align: center; }
.entry-find-control button { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 4px; background: white; color: var(--red-dark); cursor: pointer; }
#entry-content { padding: clamp(1.5rem, 4vw, 4rem); }
.entry-header { max-width: 900px; }
.entry-section { margin: 0 0 1rem; color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; font-weight: 800; }
#entry-content h2 { margin: 0 0 1.7rem; color: var(--red-dark); font: 700 clamp(2.2rem, 6vw, 4.5rem)/1 var(--serif); letter-spacing: -.03em; }
.entry-trust { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; color: var(--muted); font-size: .76rem; }
.entry-trust strong { color: var(--ink); }
.source-integrity { margin: .55rem 0 0; color: var(--muted); font-size: .76rem; font-style: italic; }
.entry-artwork {
  max-width: 940px;
  margin: 2.6rem 0 3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #eee9e2;
}
.entry-artwork-image { display: block; background: #382d29; }
.entry-artwork-image img { display: block; width: 100%; height: auto; }
.entry-artwork-image:hover img { opacity: .96; }
.entry-artwork figcaption {
  display: grid;
  gap: .2rem;
  padding: 1rem 1.15rem 1.1rem;
  color: var(--muted);
  font-size: .78rem;
}
.entry-artwork figcaption strong { color: var(--ink); font: 700 1.08rem/1.3 var(--serif); }
.entry-artwork figcaption cite { font-style: italic; }
.entry-artwork figcaption a { color: var(--red-dark); font-weight: 700; text-underline-offset: .18em; }
.entry-artwork-label { color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: .65rem; font-weight: 800; }
.entry-layout { display: grid; grid-template-columns: minmax(150px, 190px) minmax(0, 720px); gap: clamp(2rem, 5vw, 5rem); align-items: start; margin-top: 3rem; }
.entry-toc {
  position: sticky;
  top: 118px;
  padding: 1rem 0;
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
}
.entry-toc[hidden] { display: block; visibility: hidden; }
.entry-toc > strong { display: block; margin-bottom: .65rem; color: var(--ink); text-transform: uppercase; letter-spacing: .08em; font-size: .66rem; }
.entry-toc nav { display: grid; gap: .48rem; }
.entry-toc button { border: 0; background: transparent; padding: 0; color: inherit; text-align: left; cursor: pointer; font: inherit; line-height: 1.25; }
.entry-toc button:hover { color: var(--red-dark); text-decoration: underline; text-underline-offset: .18em; }
.entry-body { font-family: var(--serif); font-size: clamp(1.06rem, 1.8vw, 1.22rem); line-height: 1.72; }
.entry-body p { margin: 0 0 1.15em; }
.entry-body .subhead { margin-top: 1.6rem; font-family: var(--sans); font-size: .95rem; font-weight: 800; }
.entry-source { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; }
.entry-body a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.entry-body a.internal-reference { text-decoration-style: dotted; text-decoration-thickness: 1.5px; }
.sd-marker { border-bottom: 1px dotted var(--red); color: var(--red-dark); cursor: help; }
mark.entry-find-hit { background: #ffe39a; }
mark.entry-find-hit.active { outline: 2px solid var(--red); background: #ffc95c; }
.related-entries { margin-top: 3rem; padding: 1.5rem; border-radius: 5px; background: #eee9e2; }
.related-label { margin: 0 0 .25rem; color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: .65rem; font-weight: 800; }
.related-entries h3 { margin: 0 0 1rem; font: 700 1.45rem var(--serif); }
.related-entries > div { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.related-entries a { display: grid; border-bottom: 1px solid var(--line); padding: .55rem 0; color: var(--red-dark); text-decoration: none; }
.related-entries a:hover span { text-decoration: underline; text-underline-offset: .2em; }
.related-entries small { color: var(--muted); font-size: .66rem; }
.back-to-top { display: inline-block; margin-top: 1rem; border: 0; background: transparent; padding: 0; color: var(--red-dark); cursor: pointer; font-size: .75rem; font-weight: 750; text-decoration: underline; text-underline-offset: .2em; }
.full-work-view { max-width: 920px; }
.full-work-intro {
  margin-bottom: 4rem;
  border: 1px solid #d8bbb5;
  border-radius: 6px;
  background: var(--red-soft);
  padding: clamp(1.25rem, 4vw, 2.4rem);
}
.full-work-label { margin: 0 0 .35rem; color: var(--red); text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; font-weight: 800; }
.full-work-intro h3 { max-width: 680px; margin: 0 0 .65rem; color: var(--red-dark); font: 700 clamp(1.75rem, 4vw, 2.65rem)/1.08 var(--serif); }
.full-work-intro > p:not(.full-work-label) { max-width: 720px; margin: 0; color: #504744; }
.full-work-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.4rem; }
.full-work-nav button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid #c89f99;
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  padding: .48rem .72rem;
  color: var(--red-dark);
  cursor: pointer;
  font-size: .76rem;
  font-weight: 750;
}
.full-work-nav button:hover { border-color: var(--red); background: white; }
.full-work-nav button span { display: grid; place-items: center; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--red); color: white; font-size: .62rem; }
.full-work-text {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.full-work-text a { color: var(--red-dark); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.full-work-text a.internal-reference { text-decoration-style: dotted; text-decoration-thickness: 1.5px; }
.full-work-text a:hover { color: var(--red); }
.full-work-section { scroll-margin-top: 1.5rem; }
.full-work-section + .full-work-section { margin-top: 6rem; }
.full-section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .15rem 1rem;
  align-items: end;
  margin-bottom: 2rem;
  border-top: 4px solid var(--red-dark);
  padding-top: 1rem;
}
.full-section-heading p { grid-column: 1 / -1; margin: 0; color: var(--red); text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 800; }
.full-section-heading h3 { margin: 0; color: var(--red-dark); font: 700 clamp(1.85rem, 4vw, 3rem)/1.08 var(--serif); }
.full-section-heading span { color: var(--muted); font-size: .75rem; text-align: right; }
.full-preface-body, .full-entry-body { font-family: var(--serif); font-size: clamp(1.02rem, 1.6vw, 1.16rem); line-height: 1.72; }
.full-preface-body { padding-bottom: 2rem; }
.full-preface-body p, .full-entry-body p { margin: 0 0 1.1em; }
.full-entry {
  content-visibility: auto;
  contain-intrinsic-size: auto 420px;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
}
.full-entry h4 { margin: 0 0 1.15rem; color: var(--red-dark); font: 700 clamp(1.5rem, 3vw, 2.15rem)/1.15 var(--serif); }
.full-entry-page { margin: 1.7rem 0 0; color: var(--muted); font-size: .7rem; }
.full-back-top { margin-top: 1.2rem; border: 0; background: transparent; padding: 0; color: var(--red-dark); cursor: pointer; font-size: .75rem; font-weight: 750; text-decoration: underline; text-underline-offset: .2em; }
.about-view { max-width: 830px; }
.about-view h2 { max-width: 760px; }
.about-body { font-family: var(--serif); font-size: 1.08rem; line-height: 1.75; }
.about-body p { margin: 0 0 1.25em; }
.about-body strong { color: var(--red-dark); }
.about-back { display: inline-flex; margin-bottom: 1.5rem; border: 0; background: transparent; color: var(--red-dark); padding: 0; font-weight: 750; cursor: pointer; }

.privacy-view { max-width: 830px; }
body.privacy-route main { background: var(--panel); }
body.privacy-route .search-stage,
body.privacy-route .section-nav { display: none; }
body.privacy-route .workspace {
  display: block;
  max-width: 1040px;
  min-height: calc(100vh - 82px);
  margin: 0 auto;
}
body.privacy-route .results-panel {
  width: 100%;
  padding: clamp(2.5rem, 7vw, 6rem) clamp(1rem, 7vw, 6rem);
}
.privacy-summary {
  margin: 0 0 2.4rem;
  border-left: 4px solid var(--red);
  background: var(--red-soft);
  padding: 1.15rem 1.25rem;
  color: var(--ink);
  font: 700 1.08rem/1.55 var(--serif);
}
.privacy-section { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.privacy-section h3 { margin: 0 0 .65rem; color: var(--red-dark); font: 700 1.45rem/1.2 var(--serif); }
.privacy-section p { max-width: 740px; margin: 0 0 .8rem; color: #4c4946; line-height: 1.7; }
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-section a { color: var(--red-dark); font-weight: 700; text-underline-offset: .2em; }

footer { display: flex; justify-content: space-between; gap: 2rem; padding: 1.7rem clamp(1rem, 4vw, 4rem); background: #241d1c; color: #eee7df; font-size: .76rem; }
footer p { margin: 0; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .4rem 1.2rem; }
footer a { color: inherit; font-weight: 700; text-underline-offset: .2em; }
footer a:hover { color: white; }

@media (max-width: 760px) {
  .masthead { align-items: flex-start; padding: .85rem 1rem; }
  .brand small { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .top-nav { gap: .85rem; padding-top: .55rem; }
  .top-nav a { font-size: .72rem; }
  .search-stage { padding-top: 3.2rem; }
  h1 { font-size: clamp(2.7rem, 13vw, 4.2rem); }
  .search-control { grid-template-columns: 24px 1fr; }
  .search-control button { grid-column: 1 / -1; }
  .workspace { grid-template-columns: 1fr; }
  .section-nav { border-right: 0; border-bottom: 1px solid var(--line); padding-block: 1.5rem; }
  #section-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .featured-link { max-width: 360px; }
  .author-seal { display: none; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .search-controls { align-items: stretch; flex-direction: column; }
  .sort-control { width: max-content; }
  .result-group-heading { align-items: flex-start; flex-direction: column; gap: .15rem; }
  .result-card { grid-template-columns: 1fr 24px; gap: .8rem; }
  .result-meta { grid-column: 1; }
  .result-arrow { grid-column: 2; grid-row: 1; }
  .entry-tools { top: 48px; align-items: flex-start; flex-direction: column; }
  .entry-tools > label { display: none; }
  .entry-find-control { width: 100%; grid-template-columns: minmax(90px, 1fr) auto 32px 32px; }
  .entry-layout { display: block; margin-top: 2rem; }
  .entry-artwork { margin: 2rem 0 2.2rem; }
  .entry-artwork figcaption { padding: .85rem .9rem 1rem; }
  .entry-toc, .entry-toc[hidden] { display: none; }
  .related-entries > div { grid-template-columns: 1fr; }
  .full-section-heading { grid-template-columns: 1fr; }
  .full-section-heading span { text-align: left; }
  .full-work-section + .full-work-section { margin-top: 4rem; }
  footer { flex-direction: column; gap: .5rem; }
  .footer-meta { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
