@font-face{font-family:"IM Fell English SC";src:url("assets/fonts/im-fell-english-sc.ttf") format("truetype");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"Libre Caslon Text";src:url("assets/fonts/libre-caslon-text.ttf") format("truetype");font-style:normal;font-weight:400 700;font-display:swap}
@font-face{font-family:"Libre Caslon Text";src:url("assets/fonts/libre-caslon-text-italic.ttf") format("truetype");font-style:italic;font-weight:400 700;font-display:swap}
:root{--paper:#eee4cf;--paper-light:#f5eedf;--ink:#27261f;--muted:#625b4d;--rust:#805442;--line:rgba(39,38,31,.3);--heading:"IM Fell English SC",Georgia,serif;--body:"Libre Caslon Text",Georgia,serif;font-size:clamp(14px,1.08vw,43px)}
*{box-sizing:border-box}
html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--paper);color:var(--ink)}
body{font-family:var(--body);font-weight:400;line-height:1.5;-webkit-font-smoothing:antialiased;overscroll-behavior:none}
button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button{font:inherit;color:inherit;cursor:pointer}
button:disabled{cursor:default}
button:focus,a:focus{outline:2px solid var(--rust);outline-offset:5px}
button:focus:not(:focus-visible),a:focus:not(:focus-visible){outline:none}
button:focus-visible,a:focus-visible{outline:2px solid var(--rust);outline-offset:5px}
button[hidden],[hidden]{display:none!important}
button svg{display:block;width:1.2em;height:1.2em;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-family:var(--heading);font-weight:400;line-height:1.08}
img{display:block;max-width:100%}
strong{font-weight:700}
button::-moz-focus-inner{border:0}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;left:1rem;top:0;transform:translateY(-150%);padding:.7em 1em;background:var(--ink);color:var(--paper);z-index:200}
.skip-link:focus{top:1rem;transform:translateY(0)}
#app{height:100%;display:flex;flex-direction:column}
.app-header{height:7.2vh;min-height:60px;max-height:160px;flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:0 2.7vw;border-bottom:1px solid var(--ink);background:var(--paper);z-index:10}
.brand{display:flex;align-items:center;gap:.75em;border:0;background:none;padding:.5em 0;font-family:var(--heading);font-size:1.13rem;letter-spacing:.015em;line-height:1}
.brand-mark{width:1.45em;height:1.45em;flex:0 0 auto}
.header-actions{display:flex;align-items:center;gap:1.5rem}
.nav-button{display:flex;align-items:center;gap:.5em;min-height:46px;padding:.45em 0;border:0;background:none;font-family:var(--heading);font-size:.94rem;white-space:nowrap;line-height:1.2}
#main{position:relative;flex:1 1 auto;min-height:0;overflow:hidden;outline:none}
.page{height:100%;min-height:0;position:relative}
@keyframes page-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.eyebrow{font-family:var(--heading);font-size:.87rem;letter-spacing:.08em;color:var(--rust);line-height:1.35}
.quiet{color:var(--muted)}
.text-button{border:0;border-bottom:1px solid currentColor;background:none;padding:.4em 0;min-height:44px;font-family:var(--heading);font-size:.9rem;line-height:1.2}
.button{display:inline-flex;align-items:center;justify-content:center;gap:.65em;border:1px solid var(--ink);background:none;min-height:48px;padding:.65em 1.15em;font-family:var(--heading);font-size:1rem;line-height:1.2}
.button-primary{background:var(--ink);color:var(--paper-light)}
.button:disabled{opacity:.3}
.icon-button{border:1px solid var(--line);background:none;display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;min-width:46px;min-height:46px;padding:.55em}
.icon-button:disabled{opacity:.28}
.page-top{display:flex;justify-content:space-between;align-items:flex-end;gap:2rem;padding-bottom:2.2vh;border-bottom:1px solid var(--ink);flex:0 0 auto}
.page-top h1{font-size:2.6rem;letter-spacing:.005em}
.page-top .eyebrow{margin-bottom:.5em}
.page-top .intro-line{max-width:36em;font-size:.98rem;line-height:1.5;color:var(--muted);margin-top:.6em}
.page-bottom{display:flex;align-items:center;justify-content:space-between;gap:2rem;border-top:1px solid var(--ink);padding-top:1.4vh;flex:0 0 auto}
.page-bottom .quiet{font-size:.81rem}
.number{font-family:var(--heading);font-size:1rem;color:var(--rust);font-variant-numeric:tabular-nums}
.arrow{font-family:Georgia,serif;font-size:1.5em;line-height:1;font-weight:400}

/* The quiet exhibition entrance: the cards themselves, without a headline. */
.is-resting .app-header{display:none}
.rest-page{background:var(--paper)}
.rest-trigger{display:flex;align-items:center;justify-content:center;position:relative;width:100%;height:100%;border:0;padding:0 0 5vh;background:none;cursor:pointer}
.rest-trigger:focus{outline-offset:-8px}
.rest-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:2.4vh 1.9vw;width:78vw;height:81vh;pointer-events:none}
.rest-grid img{width:100%;height:100%;min-height:0;object-fit:contain}
.rest-invitation{position:absolute;left:0;right:0;bottom:3.5vh;text-align:center;font-family:var(--heading);font-size:1.05rem;letter-spacing:.06em;color:var(--muted)}
@media(max-width:700px){
 .page.rest-page{height:100vh;min-height:480px}
 .rest-grid{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(6,minmax(0,1fr));width:86vw;height:82vh;gap:1.3vh 2.2vw}
 .rest-grid img:nth-child(26){grid-column:2}
 .rest-grid img:nth-child(27){grid-column:4}
 .rest-invitation{font-size:1rem}
}

/* The print keeps its natural ratio; scale is bounded by the space below the title. */
.home-page{background-color:var(--paper);background-image:url("assets/scene/draw.jpg");background-repeat:no-repeat;background-position:left bottom;background-size:min(132vw,235vh) auto}
.home-title{position:absolute;left:4.2%;top:4.8%;width:40%}
.home-title h1{font-size:min(4.1rem,8.2vh);line-height:.97;letter-spacing:-.015em}
.home-title .eyebrow{margin-bottom:1em;font-size:.9rem;color:var(--ink)}
.home-intro{position:absolute;left:48.5%;right:4.2%;top:4.8%;font-size:min(.94rem,2vh);line-height:1.5;color:var(--muted)}
.home-intro p+p{margin-top:.65em}
.home-entries{position:absolute;left:48.5%;right:4.2%;top:27%;bottom:10.5%;display:flex;flex-direction:column;border-top:1px solid var(--ink)}
.home-entry{flex:1 1 0;min-height:0;display:grid;grid-template-columns:2.3rem 1fr 1.8rem;align-items:center;text-align:left;gap:1rem;padding:.75vh 0;border:0;border-bottom:1px solid var(--ink);background:none}
.home-entry h2{font-size:1.85rem;line-height:1.08;margin-bottom:.25em}
.home-entry p{font-size:.85rem;line-height:1.5;max-width:36em;color:#534a3a}
.home-entry .arrow{text-align:right;transition:transform 180ms ease}
.home-footer{position:absolute;left:48.5%;right:4.2%;bottom:2.7%;display:flex;justify-content:space-between;align-items:center;gap:1rem;font-size:.77rem;color:var(--muted)}
.home-footer .text-button{font-size:.85rem}

/* The card catalogue. */
.catalogue-page{padding:3.1vh 4.2vw 2vh;display:flex;flex-direction:column;gap:1.8vh}
.filter-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;flex:0 0 auto}
.filter-button{font-family:var(--heading);font-size:.9rem;padding:.45em .8em;min-height:43px;border:1px solid transparent;background:none;line-height:1.15}
.filter-button[aria-pressed="true"]{border-color:var(--ink);background:var(--ink);color:var(--paper-light)}
.catalogue-grid{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:1.5vh 2.1vw}
.catalogue-card{min-height:0;min-width:0;display:flex;align-items:center;gap:1.4vw;border:0;border-bottom:1px solid var(--line);padding:.6vh .6vw 1.2vh 0;background:transparent;text-align:left}
.catalogue-card img{flex:0 0 auto;width:7.3vw;max-width:30%;height:100%;object-fit:contain;transition:transform 200ms ease;filter:drop-shadow(0 2px 1px rgba(39,38,31,.12))}
.catalogue-card .catalogue-label{min-width:0;flex:1}
.catalogue-card .eyebrow{font-size:.68rem;margin-bottom:.45em}
.catalogue-card h2{font-size:1.54rem;line-height:1.1;margin-bottom:.45em}
.catalogue-card p{font-size:.77rem;line-height:1.45;color:var(--muted);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pager{display:flex;align-items:center;gap:1.15rem}
.pager-label{font-family:var(--heading);font-size:.93rem;white-space:nowrap;font-variant-numeric:tabular-nums}

/* Five thematic chapters. */
.chapters-page{padding:3.1vh 4.2vw 2vh;display:flex;flex-direction:column;gap:1.8vh}
.chapter-list{display:flex;flex-direction:column;min-height:0;flex:1}
.chapter-entry{flex:1;min-height:0;display:grid;grid-template-columns:2.2rem 1fr 19vw 1.6rem;gap:1.8vw;align-items:center;padding:1.1vh 0;border:0;border-bottom:1px solid var(--line);background:none;text-align:left}
.chapter-entry:last-child{border-bottom:0}
.chapter-entry h2{font-size:1.85rem;line-height:1.1;margin-bottom:.25em}
.chapter-entry p{font-size:.87rem;line-height:1.45;color:var(--muted);max-width:48em}
.chapter-entry .chapter-images{height:100%;min-height:0;display:flex;gap:.65vw;justify-content:center}
.chapter-entry .chapter-images img{max-width:29%;height:100%;object-fit:contain;filter:drop-shadow(0 1px 1px rgba(39,38,31,.1))}

/* The four floor images remain whole, with their original proportions. */
.symbols-page{padding:3.1vh 4.2vw 2vh;display:flex;flex-direction:column;gap:3vh}
.symbol-list{min-height:0;flex:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2.3vw}
.symbol-entry{min-height:0;min-width:0;display:flex;flex-direction:column;border:0;border-bottom:1px solid var(--ink);background:none;padding:0;text-align:left}
.symbol-entry figure{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;padding-bottom:2.2vh}
.symbol-entry img{width:100%;height:100%;object-fit:contain;transition:transform 220ms ease}
.symbol-entry .symbol-label{flex:0 0 auto;min-height:17vh;padding:1.8vh 0 1.6vh;border-top:1px solid var(--line)}
.symbol-entry .eyebrow{font-size:.7rem;margin-bottom:.7em}
.symbol-entry h2{font-size:1.85rem;margin-bottom:.3em}
.symbol-entry p{font-size:.86rem;color:var(--muted);line-height:1.4}

/* A reading page: artwork at left, a comfortably sized page at right. */
.reader-page{display:flex;gap:0;height:100%}
.reader-visual{position:relative;flex:0 0 44%;min-width:0;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3.4vh 3.2vw 2.3vh;border-right:1px solid var(--ink)}
.reader-image-wrap{position:relative;min-height:0;flex:1;width:100%;display:flex;align-items:center;justify-content:center}
.reader-main-image{max-width:100%;width:100%;height:100%;min-height:0;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(39,38,31,.12))}
.reader-visual.is-tarot .reader-main-image{max-width:79%}
.reader-caption{flex:0 0 auto;max-width:39em;margin-top:1.6vh;text-align:center;font-size:.71rem;line-height:1.45;color:var(--muted)}
.image-enlarge{position:absolute;bottom:.4rem;right:0;z-index:2;background:var(--paper-light)}
.reader-content{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;padding:3.3vh 3.2vw 2vh}
.reader-heading{flex:0 0 auto}
.reader-heading .eyebrow{margin-bottom:.6em}
.reader-heading h1{font-size:2.65rem;letter-spacing:-.01em;line-height:1.04}
.reader-subtitle{font-size:.9rem;line-height:1.45;color:var(--muted);margin-top:.7em;max-width:37em}
.reader-tabs{display:flex;align-items:stretch;flex:0 0 auto;gap:1.7rem;border-bottom:1px solid var(--ink);margin-top:2vh}
.reader-tab{font-family:var(--heading);font-size:1rem;line-height:1.2;padding:.65em 0;min-height:48px;border:0;border-bottom:3px solid transparent;background:none;color:var(--muted)}
.reader-tab[aria-selected="true"]{color:var(--ink);border-bottom-color:var(--ink)}
.reading-viewport{flex:1 1 auto;min-height:0;position:relative;margin-top:2.2vh;overflow:hidden}
.reading-sheet{font-size:1.26rem;line-height:1.56;overflow:hidden}
.reading-sheet p{margin:0 0 .85em}
.reading-sheet p:last-child{margin-bottom:0}
.reading-sheet .reading-lead{font-weight:700;line-height:1.5}
.reading-sheet .continued-paragraph{margin-top:0}
.reading-sheet h2{font-size:1.5rem;margin:.15em 0 .65em;line-height:1.18}
.reader-tools{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:3.2rem;padding-top:1.2vh;border-top:1px solid var(--line);flex:0 0 auto}
.reader-tools .text-button{font-size:.82rem}
.related{flex:0 0 auto;margin-top:1.6vh;padding-top:1.1vh;border-top:1px solid var(--ink)}
.related-title{font-family:var(--heading);font-size:.8rem;color:var(--muted);margin-bottom:.65em}
.related-cards{display:flex;gap:.6rem;flex-wrap:wrap}
.related-card{border:1px solid var(--line);background:none;padding:.4em .65em;min-height:40px;font-family:var(--heading);font-size:.79rem;line-height:1.15}
.chapter-visual-cards{display:flex;align-items:center;justify-content:center;gap:1.2vw;width:100%;height:100%;position:relative}
.chapter-visual-cards img{width:42%;max-height:90%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(39,38,31,.12))}
.chapter-visual-cards img:nth-child(2){transform:translateY(5%)}
.poem-cross{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:1.4vh 2.1vw;width:100%;height:100%;min-height:0}
.poem-cross-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:0;padding:0;border:0;background:none}
.poem-cross-card img{display:block;min-height:0;max-width:100%;width:auto;height:calc(100% - 1.4rem);object-fit:contain;filter:drop-shadow(0 2px 2px rgba(39,38,31,.12))}
.poem-cross-card span{flex:0 0 auto;font-family:var(--heading);font-size:.73rem;line-height:1.2;margin-top:.35rem}
.poem-cross-card.at-top{grid-area:1/2}.poem-cross-card.at-left{grid-area:2/1}.poem-cross-card.at-centre{grid-area:2/2}.poem-cross-card.at-right{grid-area:2/3}.poem-cross-card.at-bottom{grid-area:3/2}
.chapter-photo{max-width:100%;height:100%;object-fit:contain}
.chapter-image-switch{display:flex;justify-content:center;gap:.7rem;margin-top:1.4vh;flex:0 0 auto}
.chapter-image-switch button{font-family:var(--heading);font-size:.8rem;padding:.4em .65em;border:1px solid var(--line);background:none;min-height:42px}
.chapter-image-switch button[aria-pressed="true"]{background:var(--ink);color:var(--paper-light);border-color:var(--ink)}
.chapter-sequence{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex:0 0 auto;margin-top:1vh;padding-top:.6vh;border-top:1px solid var(--line)}
.chapter-sequence .text-button{display:flex;align-items:center;gap:.6em;border-bottom:0;min-height:40px;font-size:.85rem}
.chapter-sequence .text-button:disabled{opacity:.3}

/* Quiet source notes and full image views. */
.modal-shade{position:fixed;left:0;top:0;right:0;bottom:0;z-index:100;background:rgba(24,23,19,.75);display:flex;align-items:center;justify-content:center;padding:4vh 5vw}
.modal{background:var(--paper-light);color:var(--ink);width:min(68rem,100%);max-height:100%;display:flex;flex-direction:column;border:1px solid var(--ink);box-shadow:0 8px 50px rgba(0,0,0,.15)}
.modal-header{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:1.4rem 2rem;border-bottom:1px solid var(--ink)}
.modal-header h2{font-size:1.9rem;line-height:1.1}
.modal-body{overflow:auto;overscroll-behavior:contain;padding:1.5rem 2rem 2rem;font-size:1rem;line-height:1.65}
.modal-body p{margin-bottom:1em}
.modal-body h3{font-size:1.4rem;margin:1.2em 0 .6em}
.modal-body ul{padding-left:1.3em;margin:.8em 0}
.modal-body li{margin:.7em 0}
.modal-body a{color:var(--rust);overflow-wrap:anywhere;text-decoration-thickness:1px;text-underline-offset:3px}
.modal-body .source-detail{display:block;font-size:.85em;color:var(--muted);overflow-wrap:anywhere}
.modal.image-modal{background:#24231f;width:auto;height:100%;max-width:100%;border:0}
.image-modal .modal-header{color:var(--paper-light);padding:1vh 1.4vw;border-bottom-color:rgba(238,228,207,.35);flex:0 0 auto}
.image-modal .modal-header h2{font-size:1.25rem}
.image-modal .modal-body{padding:1.5vh 2vw;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.image-modal img{max-width:100%;height:100%;object-fit:contain}
.about-page{padding:4vh 8vw;overflow:auto}
.about-page article{max-width:55em;margin:0 auto;padding-bottom:4vh}
.about-page h1{font-size:3rem;margin-bottom:.7em}
.about-page h2{font-size:1.9rem;margin:1.3em 0 .6em}
.about-page p{font-size:1.09rem;line-height:1.65;margin:.8em 0}
.about-page .about-cards{display:flex;justify-content:center;gap:2rem;height:28vh;margin:3vh 0}
.about-cards img{height:100%;width:auto}
.about-page .credits{font-size:.87rem;color:var(--muted)}
.noscript{position:fixed;left:0;top:0;right:0;bottom:0;background:var(--paper);padding:10vh 10vw;z-index:999;font:24px/1.6 Georgia,serif}

@media(hover:hover){
 .home-entry:hover h2,.chapter-entry:hover h2,.catalogue-card:hover h2,.symbol-entry:hover h2{color:var(--rust)}
 .home-entry:hover .arrow{transform:translateX(.15em)}
 .catalogue-card:hover img,.symbol-entry:hover img{transform:translateY(-3px)}
 .nav-button:hover,.brand:hover,.text-button:hover{color:var(--rust)}
 .button:not(:disabled):hover,.icon-button:not(:disabled):hover,.related-card:hover{background:var(--ink);color:var(--paper-light)}
 .filter-button:hover{border-color:var(--line)}
}
@media(max-height:780px) and (min-width:1000px){
 .app-header{min-height:52px;height:7vh}
 .reader-content{padding-top:2.4vh}
 .reader-heading h1{font-size:2.4rem}
 .reader-subtitle{font-size:.85rem;margin-top:.45em}
 .reader-tabs{margin-top:1.3vh}
 .reader-tab{padding:.55em 0;min-height:42px}
 .reading-viewport{margin-top:1.8vh}
 .reading-sheet{font-size:1.22rem;line-height:1.5}
 .page-top h1{font-size:2.35rem}
 .page-top .intro-line{font-size:.92rem}
 .catalogue-page,.chapters-page{padding-top:2.3vh;gap:1.4vh}
 .filter-button{min-height:38px}
 .reader-tools{min-height:2.9rem}
 .related{margin-top:1vh}
 .related-card{min-height:34px}
}
@media(max-width:1000px){
 :root{font-size:16px}
 .brand{font-size:16px}
 .app-header{height:58px;padding:0 3vw;gap:12px}
 .header-actions{gap:18px}
 .nav-button{font-size:15px}
 .home-title h1{font-size:3rem}
 .home-intro{font-size:.85rem}
 .home-entry h2{font-size:1.7rem}
 .home-entry p{font-size:.82rem}
 .home-entry{grid-template-columns:1.4rem 1fr 1.3rem;gap:.7rem}
 .reader-heading h1{font-size:2.1rem}
 .reading-sheet{font-size:1rem}
 .reader-tabs{gap:1.2rem}
 .reader-tab{font-size:.87rem}
 .reader-subtitle{font-size:.83rem}
 .catalogue-card h2{font-size:1.25rem}
 .catalogue-card p{font-size:.72rem}
 .catalogue-card .eyebrow{font-size:.6rem}
 .chapter-entry h2{font-size:1.6rem}
 .chapter-entry p{font-size:.8rem}
 .symbol-entry h2{font-size:1.5rem}
}
@media(max-width:700px){
 html,body{overflow:auto;height:auto;min-height:100%}
 #app{min-height:100vh;height:auto}
 .app-header{position:sticky;top:0;min-height:58px}
 .brand{font-size:14px;gap:.4em;max-width:50%;text-align:left;line-height:1.2}
 .brand-mark{display:none}
 .header-actions{gap:14px}
 .nav-button{min-height:44px;font-size:14px}
 #menu-button{display:none}
 #main{min-height:calc(100vh - 58px);overflow:visible}
 .page{height:auto;min-height:calc(100vh - 58px)}
 .home-page{background-image:none;min-height:0}
 .home-page::after{content:"";display:block;height:310px;background:url("assets/scene/draw.jpg") left bottom/980px auto no-repeat}
 .home-title{position:relative;left:auto;top:auto;width:auto;padding:35px 7vw 25px}
 .home-title h1{font-size:3.5rem;max-width:6em}
 .home-title .eyebrow{font-size:.8rem}
 .home-intro{position:relative;left:auto;right:auto;top:auto;padding:0 7vw 20px;font-size:.94rem;max-width:none}
 .home-entries{position:relative;left:auto;right:auto;top:auto;bottom:auto;margin:15px 6vw 0;background:none}
 .home-entry{min-height:125px;padding:16px 10px;gap:10px;grid-template-columns:1.2rem 1fr 1.1rem}
 .home-entry h2{font-size:1.6rem;line-height:1.13}
 .home-entry p{font-size:.82rem}
 .home-footer{position:relative;left:auto;right:auto;bottom:auto;padding:20px 6vw;margin-left:0;font-size:.7rem;align-items:flex-start}
 .home-footer .text-button{font-size:.8rem}
 .page-top{align-items:flex-start;gap:16px}
 .page-top h1{font-size:2.4rem}
 .page-top .intro-line{font-size:.9rem;max-width:32em}
 .page-top>.text-button{font-size:.8rem;white-space:nowrap}
 .catalogue-page,.chapters-page,.symbols-page{padding:28px 6vw 24px;gap:22px}
 .filter-row{gap:5px}
 .filter-button{font-size:.84rem;padding:.5em .6em}
 .catalogue-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:18px 20px}
 .catalogue-card{flex-direction:column;align-items:flex-start;gap:10px;padding:0 0 16px;min-height:240px}
 .catalogue-card img{width:100%;height:190px;max-width:100%}
 .catalogue-card h2{font-size:1.35rem}
 .catalogue-card p{font-size:.75rem}
 .catalogue-card .eyebrow{font-size:.63rem}
 .catalogue-label{width:100%}
 .page-bottom{padding-top:16px;gap:15px;align-items:center}
 .page-bottom .quiet{font-size:.7rem}
 .pager{gap:14px}
 .pager-label{font-size:.85rem}
 .chapter-entry{grid-template-columns:1.5rem 1fr 1rem;gap:12px;padding:22px 0;min-height:138px}
 .chapter-entry .chapter-images{display:none}
 .chapter-entry h2{font-size:1.65rem}
 .chapter-entry p{font-size:.84rem}
 .symbol-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}
 .symbol-entry figure{height:240px;flex:auto;padding-bottom:18px}
 .symbol-entry .symbol-label{min-height:125px;padding:14px 0}
 .symbol-entry h2{font-size:1.5rem}
 .symbol-entry p{font-size:.8rem}
 .symbol-entry .eyebrow{font-size:.62rem}
 .reader-page{display:flex;flex-direction:column}
 .reader-visual{flex:auto;height:52vh;min-height:320px;border-right:0;border-bottom:1px solid var(--ink);padding:22px 7vw 18px}
 .reader-image-wrap{max-height:100%}
 .reader-caption{font-size:.68rem;margin-top:15px}
 .reader-content{flex:auto;min-height:550px;padding:26px 7vw 22px}
 .reader-heading h1{font-size:2.3rem}
 .reader-heading .eyebrow{font-size:.78rem}
 .reader-subtitle{font-size:.9rem}
 .reader-tabs{margin-top:18px}
 .reader-tab{font-size:.95rem;min-height:48px}
 .reading-viewport{min-height:300px;height:44vh;flex:auto;margin-top:22px}
 .reading-sheet{font-size:1.04rem;line-height:1.6}
 .reader-tools{padding-top:10px;min-height:58px}
 .related{margin-top:16px;padding-top:14px}
 .related-card{min-height:44px;font-size:.85rem}
 .chapter-image-switch{margin-top:14px}
 .chapter-image-switch button{font-size:.78rem;min-height:40px}
 .modal-shade{padding:3vh 4vw}
 .modal-header{padding:18px 20px;gap:12px}
 .modal-header h2{font-size:1.65rem}
 .modal-body{padding:20px;font-size:.93rem}
 .image-modal .modal-header{padding:10px 16px}
 .image-modal .modal-body{padding:12px}
 .about-page{padding:30px 7vw}
 .about-page h1{font-size:2.6rem}
 .about-page h2{font-size:1.7rem}
 .about-page p{font-size:1rem}
 .about-page .about-cards{height:24vh;gap:24px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
