:root {
  --paper: #faf8f3;
  --white: #fffdf9;
  --ink: #2e2422;
  --muted: #685e59;
  --wine: #562333;
  --wine-dark: #361821;
  --gilt: #c5a06a;
  --rule: #ded7ca;
  --display: "Cormorant Garamond", "Palatino Linotype", Georgia, serif;
  --sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --edge: clamp(20px, 5.2vw, 88px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.55; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
img { max-width: 100%; }
button { color: inherit; }
:focus-visible { outline: 3px solid #a4773e; outline-offset: 4px; }
[hidden], .js-only { display: none !important; }
.enhanced .js-only { display: var(--control-display, inline-flex) !important; }
.enhanced [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; top: .65rem; left: .65rem; z-index: 20; padding: .6rem 1rem; background: var(--white); color: var(--wine); transform: translateY(-160%); }
.skip:focus { transform: none; }
.symbol-set { display: none; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(100% - var(--edge) - var(--edge), 1380px); margin-inline: auto; }
h1, h2, h3, p, figure { margin: 0; }
.masthead { position: sticky; top: 0; z-index: 6; background: var(--paper); border-bottom: 1px solid #e7e0d5; }
.masthead-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; color: var(--wine); text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-type { display: grid; gap: .14rem; }
.brand-name { font: 600 2.45rem/.83 var(--display); letter-spacing: -.06em; }
.brand-sub { font-size: .73rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: clamp(1.3rem, 3.2vw, 3.1rem); }
.primary-nav a { font-size: .95rem; font-weight: 500; text-decoration: none; padding-block: .6rem; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--wine); text-decoration: underline; text-underline-offset: .44rem; }
.primary-nav .nav-search { align-items: center; gap: .45rem; border-left: 1px solid #d5ccbd; padding: .15rem 0 .15rem clamp(1.15rem, 2.55vw, 2.5rem); color: var(--wine); }
.menu-toggle { --control-display: none; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 2% 28%, #512432 0, #401d28 48%, #301a20 100%); color: #fffbf2; border-bottom: 2px solid #b68b53; }
.hero-wrap { position: relative; z-index: 1; pointer-events: none; min-height: clamp(460px, 35vw, 550px); display: flex; align-items: center; }
.hero-copy { width: 51%; max-width: 685px; padding: clamp(52px, 4.65vw, 76px) 0 clamp(54px, 4.9vw, 80px); pointer-events: auto; }
.eyebrow { color: #793b43; display: flex; align-items: center; gap: .72rem; font-size: .75rem; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: .17em; }
.small-rule { display: inline-block; flex: none; position: relative; width: 1.75rem; height: 1px; background: #ad8957; }
.small-rule::after { content: ""; position: absolute; right: 0; top: 50%; width: .3rem; height: .3rem; transform: translateY(-50%) rotate(45deg); background: #ad8957; }
.hero-label { color: #e3c18f; }
.hero h1 { margin: 1.35rem 0 1.3rem -.045em; font-family: var(--display); font-size: clamp(4.35rem, 6.7vw, 7.25rem); font-weight: 500; line-height: .9; letter-spacing: -.052em; }
.hero h1 em { font-weight: 500; color: #e6c594; }
.hero-copy > p { max-width: 32rem; width: 85%; color: #efe5dc; font-size: clamp(1rem, 1.15vw, 1.18rem); line-height: 1.58; }
.hero-actions { display: flex; align-items: center; gap: 1.65rem; margin-top: 1.85rem; }
.read-button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .77rem 1.3rem; border: 1px solid #ecddc4; border-radius: 3px; background: #f3e7d4; color: #48222b; text-decoration: none; font-weight: 700; font-size: .93rem; transition: background .16s, transform .16s; }
.read-button:hover { background: #fff4e2; transform: translateY(-2px); }
.gallery-link { color: #f6e8d8; font-size: .93rem; font-weight: 500; text-decoration-color: #b3937e; text-underline-offset: .34rem; }
.gallery-link:hover { text-decoration-color: #fff4e2; }
.hero-visual { position: absolute; inset: 0 0 0 auto; width: 54.5%; z-index: 0; background: #271a16; }
.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-goya { object-position: 54% 60%; }
.art-botticelli { object-position: 54% 61%; }
.art-paryz { object-position: 53% 70%; }
.hero-img.art-goya { object-position: 56% 59%; }
.hero-img.art-paryz { object-position: 55% 61%; }
.hero-img.switched { animation: artwork-in .36s ease-out; }
@keyframes artwork-in { from { opacity: .63; } to { opacity: 1; } }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #401d28 0%, rgba(64,29,40,.72) 6%, rgba(64,29,40,.13) 20%, transparent 36%), linear-gradient(0deg, rgba(20,12,15,.9), transparent 28%); }
.art-bar { position: absolute; bottom: 1.45rem; left: 16%; right: var(--edge); display: flex; justify-content: space-between; gap: .75rem; align-items: flex-end; color: #fcf7ed; }
.art-caption { display: inline-flex; align-items: center; gap: .68rem; text-decoration: none; max-width: 76%; }
.art-caption > .icon { width: 1.02rem; height: 1.02rem; margin-top: .1rem; color: #dfc79e; }
.art-caption > span { display: grid; gap: .07rem; }
#hero-author { font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
#hero-art-title { font-family: var(--display); font-size: 1.07rem; font-weight: 600; line-height: 1.1; }
.art-caption:hover em { text-decoration: underline; }
.art-choices { align-items: center; gap: .44rem; width: 16rem; max-width: 100%; flex-shrink: 0; }
.art-thumbnails { position: relative; display: flex; align-items: center; gap: inherit; min-width: 0; padding: 4px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #baa17e #39292b; }
.art-thumbnails button, .art-choices #hero-rotation { flex: none; }
.art-choices #hero-rotation { display: grid; place-items: center; width: 2.45rem; height: 2.45rem; margin-right: .25rem; border-radius: 50%; background: #2d2021db; color: #ffefd5; }
#hero-rotation .icon { width: .95rem; height: .95rem; }
.art-choices button { width: 2.05rem; height: 2.45rem; padding: 0; background: #3e2820; border: 1px solid rgba(255,244,220,.5); border-radius: 2px; position: relative; }
.art-choices button[aria-pressed="true"] { outline: 1px solid #e6c38a; outline-offset: 2px; }
.art-choices button:focus-visible { outline: 3px solid #fff3cc; outline-offset: 2px; }
.art-choices img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 53% 60%; border-radius: 1px; }
.apologia { padding-top: clamp(46px,4.2vw,74px); padding-bottom: clamp(58px,6.3vw,100px); }
.section-heading { display: flex; justify-content: space-between; gap: 2rem; align-items: flex-end; margin-bottom: 2.15rem; }
.section-heading h2, .source-intro h2 { font: 500 clamp(3rem,4.2vw,4.75rem)/.98 var(--display); letter-spacing: -.047em; margin: .55rem 0 .55rem -.025em; color: #38282a; }
.section-heading h2 em, .source-intro h2 em { font-weight: 500; color: var(--wine); }
.section-lead, .gallery-instruction { color: var(--muted); font-size: 1rem; }
.search-wrap { align-items: center; gap: .6rem; border: 1px solid #cfc5b7; background: #fffdf8; padding: 0 .87rem; border-radius: 3px; min-width: 16rem; width: min(26vw, 19.5rem); margin-bottom: .12rem; }
.search-wrap .icon { width: 1.12rem; height: 1.12rem; color: #7e665a; }
.search-wrap:focus-within { outline: 2px solid #986d40; outline-offset: 1px; }
.search-wrap input { padding: .69rem 0; border: none; outline: none; background: transparent; color: var(--ink); width: 100%; min-width: 0; font-size: 1rem; }
.search-wrap input:focus-visible { outline: none; }
.search-wrap input::placeholder { color: #756a61; opacity: 1; }
.reading-grid { display: grid; grid-template-columns: minmax(200px, .75fr) minmax(0, 2.8fr); gap: clamp(28px,5.6vw,96px); border-top: 1px solid var(--rule); padding-top: 1.65rem; }
.topic-rail { min-width: 0; }
.rail-inner { position: sticky; top: 102px; }
.topic-group { --control-display: grid; gap: .18rem; width: 100%; }
.rail-title { color: #7a695d; text-transform: uppercase; font: 700 .75rem/1.5 var(--sans); letter-spacing: .13em; margin: 0 0 .55rem .65rem; }
.topic-group button { border: 1px solid transparent; background: none; color: #594c46; display: flex; align-items: center; gap: .7rem; width: 100%; text-align: left; padding: .65rem .77rem; border-radius: 3px; font-size: .94rem; line-height: 1.3; }
.topic-group .icon { width: 1.13rem; height: 1.13rem; }
.topic-group button:hover { color: var(--wine); background: #f2ece3; }
.topic-group button[aria-pressed="true"] { background: #eee1dc; color: #5b2635; font-weight: 700; border-color: #dfccc2; }
.rail-extra { border-top: 1px solid var(--rule); margin-top: 1.12rem; padding: 1rem .7rem; display: grid; gap: .45rem; }
.rail-extra a { font-size: .88rem; color: #6d554b; width: fit-content; text-decoration-color: #bdafa1; }
.question-column { min-width: 0; }
.list-tools { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .2rem .15rem .72rem; color: #78685e; font-weight: 600; }
#list-title { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.list-tools button { align-items: center; gap: .35rem; padding: .12rem 0; background: none; color: #663647; border: none; font-size: .86rem; font-weight: 600; }
.list-tools button:hover { text-decoration: underline; }
.question { border: 1px solid var(--rule); border-radius: 3px; background: var(--white); margin-bottom: .62rem; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.question summary, .appendix summary { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; transition: background .16s; }
.question summary { padding: .95rem 1.35rem 1.02rem; border-radius: 3px; }
.question summary:hover, .appendix summary:hover { background: #f4ede3; }
.question-head { display: grid; gap: .14rem; }
.question-topic { color: #875047; font-size: .73rem; font-weight: 700; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; }
.question-title { font: 600 clamp(1.45rem,2.1vw,2rem)/1.12 var(--display); letter-spacing: -.018em; color: #382b28; }
.disclosure { width: 1.78rem; height: 1.78rem; border: 1px solid #d7c6b7; flex: none; border-radius: 50%; position: relative; color: #744251; display: inline-block; }
.disclosure::before, .disclosure::after { content: ""; position: absolute; background: currentColor; width: .64rem; height: 1.4px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.disclosure::after { transform: translate(-50%,-50%) rotate(90deg); transition: transform .18s; }
details[open] > summary .disclosure::after { transform: translate(-50%,-50%); }
details[open] > summary .disclosure { background: var(--wine); color: white; border-color: var(--wine); }
.question[open] { border-color: #c8b3a5; }
.question[open] summary { background: #f4eee6; border-bottom: 1px solid var(--rule); }
.reader-text { color: #322c28; font: 1.04rem/1.72 Georgia, "Noto Serif", serif; overflow-wrap: anywhere; min-width: 0; }
.question > .reader-text { padding: clamp(18px,2.4vw,36px); }
.reader-text > * { max-width: 77ch; margin-inline: auto; }
.reader-text p { margin-block: 0 1em; }
.reader-text h4 { max-width: 62ch; font: 600 1.55rem/1.18 var(--display); color: #482935; margin-block: 1.5em .55em; }
.reader-text > :first-child { margin-top: 0; }
.reader-text > :last-child { margin-bottom: 0; }
.reader-text > .source-heading { max-width: none; color: #794250; font: 700 .77rem/1.4 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.reader-text > .source-heading:not(:first-child) { border-top: 1px solid var(--rule); padding-top: 1.75rem; margin-top: 2rem; }
.reader-text sup { line-height: 0; font-size: .72em; }
.reader-text a { color: #75394c; }
.reader-text sup a { padding-inline: .04em; }
.reader-text ol { padding-left: 1.7rem; margin-block: 1rem; }
.reader-text li { padding-left: .2rem; margin-bottom: .55em; }
.reader-text [id] { scroll-margin-block: 6.5rem 2rem; }
.reader-text li:target { background: #f3e5c7; }
.reader-text strong { font-weight: 700; }
.table-scroll { overflow-x: auto; max-width: 100%; overscroll-behavior-inline: contain; margin: 1.2rem 0; }
.table-scroll table { width: 100%; min-width: 510px; border-collapse: collapse; text-align: left; font-family: var(--sans); font-size: .92rem; line-height: 1.5; }
.table-scroll th, .table-scroll td { vertical-align: top; border: 1px solid #d7cdbc; padding: .58rem .72rem; }
.table-scroll th { color: #442933; background: #eee2d5; }
.table-scroll tbody tr:nth-child(even) { background: #faf6f0; }
.table-scroll p { margin: 0; }
.table-scroll p + p { margin-top: .5em; }
.document-figure { margin: 1.35rem auto; }
.document-figure img { width: auto; height: auto; display: block; margin-inline: auto; }
.references a { overflow-wrap: anywhere; }
.empty { padding: 2.2rem 1rem; border: 1px dashed #cbbbad; text-align: center; }
.text-button { border: none; padding: .45rem; background: none; color: var(--wine); text-decoration: underline; }
.reading-note { border-left: 3px solid #ba9563; padding: .15rem 0 .1rem clamp(.85rem,2vw,1.45rem); margin-block: .2rem 1.8rem; }
.reading-note h4 { margin: 0 0 .6rem; }
.reading-note .note-refs { margin-bottom: 0; font: .9rem/1.65 var(--sans); }
.more-reading dd p { margin: .45rem 0 0; }
.prayer-section { padding-block: clamp(3rem,5.8vw,5.6rem); border-top: 1px solid var(--rule); background: #f3efe7; }
.prayer-layout { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.5fr); gap: clamp(2.2rem,6.4vw,7.2rem); align-items: start; }
.prayer-intro h2 { margin: 0; color: #38282a; font: 500 clamp(2.55rem,4.4vw,4.2rem)/1.01 var(--display); letter-spacing: -.042em; }
.prayer-intro h2 em { display: block; color: var(--wine); }
.prayer-intro > p { max-width: 39ch; margin: 1.2rem 0; line-height: 1.67; color: #554941; }
.prayer-index { display: grid; gap: .35rem; margin: 1.35rem 0 1.5rem; padding-left: 1rem; border-left: 2px solid #baa077; }
.prayer-index a, .prayer-source a, .note-refs a, .more-reading a { color: #6a3545; text-underline-offset: .18em; text-decoration-color: #b09a82; }
.prayer-index a { width: fit-content; padding: .2rem 0; }
.prayer-index a:hover, .prayer-source a:hover, .note-refs a:hover, .more-reading a:hover { text-decoration-color: currentColor; }
.prayer-download { display: inline-flex; gap: .65rem; align-items: center; padding: .72rem 1rem; background: var(--wine); color: #fff9ef; border-radius: 3px; font-size: .96rem; font-weight: 600; text-decoration: none; }
.prayer-download:hover { background: var(--wine-dark); }
.prayer-groups { min-width: 0; }
.prayer-group + .prayer-group { margin-top: 2.3rem; }
.prayer-group > h3 { margin: 0 0 .8rem; font: 600 clamp(1.65rem,2.4vw,2.15rem)/1.14 var(--display); color: #452c30; }
.prayer { margin: 0 0 .55rem; background: var(--white); border: 1px solid #d5c9b8; border-radius: 3px; }
.prayer > summary { display: flex; align-items: center; justify-content: space-between; gap: .85rem; padding: .92rem 1.2rem; font: 600 clamp(1.24rem,1.65vw,1.48rem)/1.22 var(--display); color: #442c30; }
.prayer > summary:hover, .prayer[open] > summary { background: #f9f4eb; }
.prayer[open] > summary { border-bottom: 1px solid var(--rule); }
.prayer-body { max-width: 69ch; padding: clamp(1rem,2.3vw,2.15rem); margin-inline: auto; font: 1.07rem/1.72 Georgia, "Noto Serif", serif; color: #352b26; overflow-wrap: anywhere; }
.prayer-body p { margin: 0 0 .95em; }
.prayer-body p:last-child { margin-bottom: 0; }
.prayer-part { font: 600 1.25rem/1.3 var(--display); margin: 1.5rem 0 .45rem; color: var(--wine); }
.prayer-part:first-child { margin-top: 0; }
.prayer-body .prayer-rubric { color: #7c3949; font-style: italic; margin-bottom: .35rem; }
.prayer-refrain { border-left: 2px solid #bba07b; padding-left: .95rem; font-style: italic; }
.litany-lines { list-style: none; padding: 0; margin: 0 0 1.15rem; }
.litany-lines li { margin: 0 0 .34rem; padding: 0 0 .34rem; border-bottom: 1px solid #eee6da; }
.litany-lines strong { color: #6c3541; font-weight: 600; }
.prayer-body .prayer-source { margin-top: 1.45rem; padding-top: .8rem; border-top: 1px solid var(--rule); font: .9rem/1.55 var(--sans); color: var(--muted); }
.prayer-source > span { font-weight: 700; color: #594338; margin-right: .4em; }
@media (max-width: 800px) {
  .prayer-layout { grid-template-columns: minmax(0,1fr); gap: 1.9rem; }
  .prayer-intro > p { max-width: 62ch; }
  .prayer-index { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
  .prayer-body { max-width: 68ch; }
}
@media (max-width: 420px) {
  .prayer-intro h2 { font-size: 2.45rem; }
  .prayer > summary { padding: .8rem .88rem; }
  .prayer-body { font-size: 1.02rem; }
}
.gallery-section { background: #eee8dd; padding: clamp(45px,5.6vw,87px) 0; border-block: 1px solid #ded5c7; }
.slim { margin-bottom: 1.65rem; }
.gallery-instruction { max-width: 27rem; }
.gallery-filters { --control-display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 1.35rem; }
.gallery-filters button { background: transparent; color: #5d403b; border: 1px solid #c9b8a6; border-radius: 2px; padding: .45rem .88rem; font-size: .94rem; min-height: 2.65rem; }
.gallery-filters button:hover { background: #e6dac9; }
.gallery-filters button[aria-pressed="true"] { background: var(--wine); border-color: var(--wine); color: #fff7eb; }
.gallery-wall { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(2.1rem,3.8vw,4.2rem) clamp(18px,2.3vw,42px); }
.gallery-item { min-width: 0; }
.picture { position: relative; display: block; background: #493129; overflow: hidden; }
.picture img { width: 100%; height: clamp(206px,19vw,320px); display: block; object-fit: cover; transition: transform .35s ease; }
.picture img.full-frame, .hero-img.full-frame { object-fit: contain; background: #30282a; }
.picture:hover img { transform: scale(1.025); }
.enlarge { position: absolute; right: .6rem; bottom: .6rem; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; color: #fff5df; background: rgba(37,22,25,.75); border: 1px solid #b49c82; border-radius: 2px; }
.enlarge .icon { width: 1rem; height: 1rem; }
.gallery-item figcaption { margin-top: .8rem; }
.art-maker { color: #7a4648; font-size: .76rem; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; }
.gallery-item h3 { font: 600 clamp(1.55rem,2.2vw,2.1rem)/1.07 var(--display); letter-spacing: -.025em; margin: .2rem 0 .3rem; }
.art-info, .credit { display: block; color: #685c52; }
.art-info { font-size: .91rem; }
.credit { margin-top: .25rem; font-size: .8rem; }
.credit a { text-decoration-color: #ae9583; }
.art-note { color: #413630; font: 1rem/1.53 Georgia, serif; margin: .55rem 0; }
.gallery-lead { grid-column: 1/-1; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: center; background: #f9f5ed; border: 1px solid #d6c9b7; }
.gallery-lead figcaption { margin: 0; padding: clamp(1.45rem,3.7vw,4rem); }
.gallery-lead h3 { font-size: clamp(2.4rem,3.3vw,3.9rem); }
.gallery-lead .picture, .gallery-lead .picture img { height: 100%; }
.gallery-lead .picture { width: 100%; aspect-ratio: 1.75; min-height: 100%; }
.gallery-lead .art-note { margin: .9rem 0; font-size: 1.08rem; }
.editions { padding: .2rem .2rem 1.6rem; }
.editions h3 { margin: 1.5rem 0 .45rem; font: 600 clamp(1.55rem,2.6vw,2.2rem)/1.12 var(--display); color: var(--wine); }
.editions p { color: #53473d; }
.edition-list { margin: .65rem 0 1rem; }
.edition-list > div { display: grid; grid-template-columns: minmax(12rem,.95fr) minmax(0,1.15fr); gap: 1rem; border-top: 1px solid var(--rule); padding: .72rem .05rem; }
.edition-list dt, .edition-list dd { margin: 0; }
.edition-list dt { font: 600 1.15rem/1.28 var(--display); color: #44302f; }
.edition-list dt span { display: block; font: 600 .85rem/1.5 var(--sans); color: #70464b; }
.edition-list dd { color: #4a3d37; font-size: .94rem; line-height: 1.5; }
.edition-list dd a, .editions > p a { color: var(--wine); }
.source-table { border-block: 1px solid var(--rule); margin-top: 1.5rem; }
.source-table > summary { font-size: 1.18rem; }
.source-table .reader-text { padding-inline: .2rem; }
.source-area { display: grid; grid-template-columns: minmax(200px, .83fr) minmax(0,2fr); gap: clamp(20px,5.2vw,85px); padding-block: clamp(45px,6vw,90px); }
.appendix { border-top: 1px solid #d6cbbd; }
.appendix:last-child { border-bottom: 1px solid #d6cbbd; }
.appendix summary { padding: 1rem .3rem; font: 600 1.55rem/1.15 var(--display); color: #483036; }
.appendix .reader-text { padding-block: 1rem 2rem; }
footer { background: #3e1b26; color: #f5eadd; }
.footer-inner { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.55rem; }
.footer-brand { font: 500 1.55rem/1 var(--display); text-decoration: none; }
.footer-brand span { margin-inline: .28rem; color: #d3b27e; }
.footer-brand em { color: #dfc8a9; }
.top-link { font-size: .86rem; text-decoration-color: #b99c80; }
dialog { width: min(90vw, 1100px); max-width: 96vw; max-height: 94dvh; padding: 0; border: 1px solid #937969; color: #fff5e6; background: #271c1e; overscroll-behavior: contain; }
dialog::backdrop { background: rgba(23,13,16,.84); }
body.dialog-open { overflow: hidden; }
.lightbox-inner { padding: 1.1rem; position: relative; }
#full-art { display: block; width: 100%; height: min(66dvh,780px); object-fit: contain; }
.dialog-close { display: grid; place-items: center; position: absolute; top: .72rem; right: .72rem; width: 2.45rem; height: 2.45rem; background: #3c2a2a; color: #fff3de; border: 1px solid #b8a38e; border-radius: 50%; }
.lightbox-meta { display: flex; justify-content: space-between; gap: 1rem; margin-top: .95rem; padding: .25rem .4rem; align-items: center; }
#lightbox-maker, #lightbox-credit { font-size: .86rem; color: #ddccba; }
#lightbox-title { font: 500 1.9rem/1.1 var(--display); margin: .15rem 0 .3rem; }
#lightbox-note { font: 1rem/1.45 Georgia, serif; color: #f3e7d8; margin-bottom: .45rem; max-width: 75ch; }
#lightbox-credit a { text-decoration-color: #c9ae8b; }
.lightbox-navigation { display: flex; gap: .45rem; }
.lightbox-navigation button { border: 1px solid #987f70; background: transparent; color: #fff5e6; padding: .45rem .7rem; border-radius: 2px; font-size: .87rem; }
@media (min-width: 1700px) { .art-bar { right: calc((100vw - 1380px) / 2); } }
@media (max-width: 1050px) {
  .hero-copy { width: 52.5%; }
  .hero h1 { font-size: clamp(4rem,7.2vw,5.1rem); }
  .art-bar { left: 13%; right: 4.2vw; align-items: flex-start; flex-direction: column; gap: .55rem; }
  .art-choices { width: 100%; }
  .art-caption { max-width: 100%; }
  .hero-shade { background: linear-gradient(90deg, #401d28, rgba(64,29,40,.35) 14%, transparent 36%), linear-gradient(0deg,#211518ee 0,rgba(28,16,19,.65) 16%, transparent 42%); }
  .reading-grid { gap: 2rem; grid-template-columns: 208px minmax(0,1fr); }
}
@media (max-width: 800px) {
  .masthead-inner { min-height: 67px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 2.22rem; }
  .hero-wrap { min-height: 412px; }
  .hero-copy > p { width: 92%; }
  .hero-actions { gap: 1.1rem; }
  .art-bar { flex-wrap: wrap; }
  .art-caption { max-width: 100%; }
  .art-choices button { width: 1.95rem; height: 2.1rem; }
  .reading-grid { display: block; border: none; padding-top: 0; }
  .rail-inner { position: static; }
  .topic-group { --control-display: flex; flex-wrap: wrap; gap: .42rem; margin-bottom: 1.1rem; }
  .topic-group button { width: auto; padding: .42rem .65rem; border-color: var(--rule); font-size: .88rem; }
  .topic-group .icon { width: 1rem; height: 1rem; }
  .rail-title, .rail-extra { display: none; }
  .gallery-wall { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.9rem 1.2rem; }
  .picture img { height: 180px; }
}
@media (max-width: 900px) {
  .masthead-inner { flex-wrap: wrap; gap: 0; min-height: 64px; }
  .brand-name { font-size: 2.08rem; }
  .brand-sub { font-size: .66rem; }
  .brand { gap: .55rem; }
  .menu-toggle { --control-display: inline-flex; align-items: center; justify-content: center; width: 2.65rem; height: 2.65rem; border: 1px solid var(--rule); border-radius: 3px; color: var(--wine); background: transparent; }
  .menu-toggle .icon { width: 1.3rem; height: 1.3rem; }
  .primary-nav { width: 100%; gap: 1rem; flex-wrap: wrap; padding: .5rem 0 .8rem; }
  .enhanced .primary-nav:not(.is-open) { display: none; }
  .enhanced .primary-nav.is-open { border-top: 1px solid var(--rule); }
  .primary-nav .nav-search { border: none; padding-left: 0; }
  .primary-nav a { font-size: .93rem; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 5rem; }
  .hero { display: flex; flex-direction: column; }
  .hero-wrap { order: 0; pointer-events: auto; min-height: 0; }
  .hero-copy { width: 100%; padding: 2.1rem 0 2.14rem; }
  .hero h1 { margin: 1.05rem 0 .88rem -.035em; font-size: clamp(3.75rem,10vw,5.05rem); line-height: .9; }
  .hero h1 br { display: none; }
  .hero-copy > p { width: 100%; max-width: 32rem; font-size: 1rem; line-height: 1.52; }
  .hero-actions { margin-top: 1.28rem; }
  .read-button { padding: .62rem .95rem; }
  .hero-visual { order: 1; width: 100%; position: relative; inset: auto; }
  .hero-img { height: clamp(225px,58vw,330px); }
  .hero-img.art-goya { object-position: 54% 55%; }
  .hero-shade { display: none; }
  .art-bar { position: static; flex-wrap: nowrap; gap: .25rem; padding: .35rem var(--edge) .6rem; background: #302326; }
  .art-caption { min-height: 3.05rem; gap: .4rem; align-items: center; }
  #hero-art-title { font-size: .95rem; }
  #hero-author { font-size: .71rem; }
  .art-choices { gap: .4rem; }
  .art-choices button { width: 2.1rem; height: 2.1rem; }
  .art-choices #hero-rotation { width: 2.1rem; height: 2.1rem; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 1rem; margin-bottom: 1.1rem; }
  .apologia { padding-top: 2.1rem; }
  .section-heading h2, .source-intro h2 { font-size: clamp(2.7rem,8vw,3.55rem); }
  .search-wrap { width: 100%; min-width: 0; }
  .topic-group .icon { display: none; }
  .topic-group button { min-height: 2.55rem; }
  .question summary { gap: .7rem; padding: .8rem .88rem .9rem; }
  .question-title { font-size: 1.55rem; }
  .question-topic { font-size: .7rem; }
  .question > .reader-text { padding: 1.05rem; }
  .gallery-wall { grid-template-columns: 1fr; gap: 1.9rem; }
  .picture img { height: clamp(185px,53vw,320px); }
  .gallery-lead { display: block; }
  .gallery-lead .picture { min-height: 0; height: auto; }
  .gallery-lead figcaption { padding: 1.15rem; }
  .gallery-instruction { max-width: none; }
  .gallery-filters { gap: .35rem; }
  .gallery-filters button { padding: .4rem .65rem; font-size: .87rem; }
  .edition-list > div { grid-template-columns: 1fr; gap: .3rem; }
  .source-area { grid-template-columns: 1fr; gap: 1.1rem; }
  .footer-inner { flex-wrap: wrap; }
  .lightbox-meta { display: grid; }
  dialog { width: 96vw; }
  #full-art { height: min(56dvh,580px); }
}
@media (max-width: 390px) {
  :root { --edge: 16px; }
  .hero h1 { font-size: 3.48rem; }
  .topic-group { gap: .32rem; }
  .topic-group button { padding: .35rem .55rem; }
  .art-caption > .icon { display: none; }
  .question-title { font-size: 1.44rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: 0s !important; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: clamp(2.65rem, 14.2vw, 3.2rem); }
  .hero h1 br { display: initial; }
  .hero-actions { gap: .65rem; }
  .hero-actions a { font-size: .875rem; white-space: nowrap; }
  .read-button { padding: .62rem .7rem; }
}
@media print {
  .masthead, .hero-actions, .art-bar, .topic-rail, .list-tools, .search-wrap, .art-choices, .disclosure, footer, dialog { display: none !important; }
  .hero { background: none; color: #241e1b; border: 0; }
  .hero-visual { display: none; }
  .hero-wrap { min-height: 0; }
  .hero-copy { width: 100%; padding: 1rem 0; }
  .hero-copy p, .hero h1 em, .hero-label { color: #392e28; }
  .wrap { width: 100%; }
  .reading-grid, .source-area { display: block; }
  .question { break-inside: auto; }
  .question summary, h2, h3, h4 { break-after: avoid; }
}

