/* Solid brand surfaces, with restrained optical blur only in navigation. */
:root{--surface:#fff;--interior-bg:#eaf1fb;--interior-fg:#152a48;--art-fg:#155bcd;--interior-key:#155bcd;--glass-solid:#f8fbff;--glass-bg:rgb(248 251 255 / .77);--glass-edge:rgb(255 255 255 / .94);--glass-shadow:rgb(16 31 53 / .12)}
:root[data-theme=dark]{--paper:#0e1b2f;--ink:#f4f7fd;--white:#142740;--surface:#142740;--muted:#c6d4e9;--line:#354d6c;--brand:#a4c9ff;--interior-bg:#172d49;--interior-fg:#f2f7ff;--art-fg:#b8d3ff;--interior-key:#a4c9ff;--glass-solid:#1e3656;--glass-bg:rgb(30 54 86 / .82);--glass-edge:rgb(171 204 250 / .27);--glass-shadow:rgb(3 11 23 / .32);color-scheme:dark}
:root[data-theme=light]{color-scheme:light}
:root[data-theme=dark] .hero .button:not(:hover),:root[data-theme=dark] .closing-editorial .button:not(:hover){color:#101f35}
:root[data-theme=dark] .book-cover{color:#101f35}
:root[data-theme=dark] .guide-entry,:root[data-theme=dark] .additional-books .book-entry{color:var(--ink)}
.mast-inner{display:flex;gap:clamp(10px,1.5vw,23px)}
.mast-inner .brand{order:0;margin-inline-end:auto}
.mast-inner nav{order:1}
.mast-inner .theme-button{order:2;min-height:44px;white-space:nowrap;padding:.25rem .35rem;color:#fff;background:none}
.mast-inner .theme-button[aria-pressed=true]{color:#bbd7ff}
.mast-inner .menu-button{order:3;min-height:44px}
.masthead,.footer{color:#fff;background:#0c1b32}
.frosted-panel,.contact-primary{background:var(--glass-solid);box-shadow:inset 0 1px var(--glass-edge),0 12px 34px var(--glass-shadow)}
@supports (backdrop-filter:blur(14px)){
 .masthead{background:rgb(12 27 50 / .87);backdrop-filter:blur(16px) saturate(138%);-webkit-backdrop-filter:blur(16px) saturate(138%)}
 .frosted-panel,.contact-primary{background:var(--glass-bg);backdrop-filter:blur(14px) saturate(124%);-webkit-backdrop-filter:blur(14px) saturate(124%)}
}
.interior-hero{background:var(--interior-bg);color:var(--interior-fg);overflow:hidden}
.interior-hero-inner{min-height:480px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:clamp(24px,7vw,115px);align-items:center;padding-block:clamp(60px,8vw,115px)}
.interior-hero h1{font-size:clamp(3.45rem,7vw,8rem);line-height:.94;text-wrap:balance}
.interior-hero p{margin-top:clamp(20px,3vw,32px);font-size:clamp(1.02rem,1.7vw,1.4rem);color:var(--muted);max-width:42ch;text-wrap:pretty}
.interior-illustration{color:var(--art-fg);display:grid;place-items:center}
.interior-illustration svg{width:100%;height:auto;max-width:430px}
.interior-books{background:var(--surface)}
.interior-people{background:var(--interior-bg)}
.service-layout{display:grid;grid-template-columns:minmax(210px,1fr) minmax(0,2.8fr);align-items:start;gap:clamp(30px,8vw,130px);padding-block:clamp(54px,9vw,120px)}
.section-nav{position:sticky;top:108px;padding:clamp(16px,2.6vw,28px)}
.section-nav h2{font-size:clamp(1.35rem,2.3vw,2rem);line-height:1}
.section-nav ul{display:grid;gap:.12rem;margin-top:1rem}
.section-nav a{display:flex;min-height:44px;align-items:center;padding:.25rem 0;color:var(--ink);font-weight:600;text-underline-offset:.32em}
.section-nav a[aria-current=location]{color:var(--brand);font-weight:800}
.service-row{display:grid;grid-template-columns:52px 1fr;gap:clamp(14px,3vw,32px);padding:clamp(30px,5.5vw,72px) 0;border-block-start:1px solid var(--line);scroll-margin-top:10px}
.service-row:first-child{padding-top:0;border-top:0}
.service-row h2,.resource-rubric h2{font-size:clamp(2.05rem,4vw,4.1rem);line-height:1.05;text-wrap:balance}
.service-row p{margin:.9rem 0 1.05rem;max-width:58ch;color:var(--muted)}
.service-row ul{padding-inline-start:1.12rem;margin:0 0 .7rem}
.service-row li+li{margin-top:.25rem}
.service-row .text-link{color:var(--brand);margin-top:.4rem}
.interior-icon{width:26px;height:auto;flex:none;color:inherit}
.service-row-icon{display:grid;place-items:center;align-self:start;width:52px;height:52px;background:var(--interior-bg);color:var(--interior-key)}
.resource-jumps{position:relative;margin-block:-22px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,2vw,20px);z-index:1}
.resource-jumps a{display:flex;gap:8px;align-items:center;justify-content:space-between;color:var(--ink);min-height:61px;padding:.55rem clamp(12px,2.3vw,26px);font-weight:750;text-decoration:none}
.resource-jumps a:hover{text-decoration:underline}
.resource-jumps a .interior-icon{width:20px;color:var(--brand)}
.rubric-list{padding-block:clamp(40px,8vw,105px) clamp(30px,6vw,90px)}
.resource-rubric{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.42fr);align-items:start;gap:clamp(20px,6vw,100px);border-bottom:1px solid var(--line);padding-block:clamp(30px,5vw,75px);scroll-margin-top:10px}
.resource-heading>.interior-icon{width:38px;margin-bottom:1rem;color:var(--brand)}
.resource-heading p,.library-intro p,.resource-partnership p{margin-top:.75rem;color:var(--muted)}
.resource-details details{border-bottom:1px solid var(--line)}
.resource-details details:last-child{border-bottom:0}
.resource-details summary{list-style:none;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-block:.6rem;cursor:pointer;font-weight:750;font-size:clamp(1.05rem,1.8vw,1.4rem)}
.resource-details summary::-webkit-details-marker{display:none}
.resource-details summary .interior-icon{width:19px;color:var(--brand);transition:transform .2s}
.resource-details details[open] summary .interior-icon{transform:rotate(45deg)}
.resource-details details p{max-width:55ch;margin:0 1.5rem 1.1rem 0;color:var(--muted)}
.resource-partnership{background:var(--interior-bg);padding-block:clamp(35px,5.4vw,75px)}
.resource-partnership h2{font-size:clamp(2rem,4vw,4.1rem)}
.resource-partnership .text-link,.interior-library .text-link{color:var(--brand);margin-top:.95rem}
.interior-library{padding-top:clamp(56px,8.2vw,116px)}
.library-intro{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);align-items:end;gap:14px;margin-bottom:clamp(24px,4.6vw,66px)}
.library-intro h2{font-size:clamp(2.3rem,5vw,5.15rem)}
.bio-feature{border-top:0;padding-block:clamp(52px,8.1vw,112px);gap:clamp(28px,6vw,95px)}
.bio-feature>img{width:clamp(250px,37vw,500px);max-width:none;aspect-ratio:4/5;box-shadow:14px 14px 0 var(--interior-bg)}
.bio-feature h2{font-size:clamp(2.4rem,5vw,5rem);line-height:.98}
.bio-feature div>p:not(.role),.bio-details p,.bio-text p:not(.role){max-width:60ch}
.bio-text{border-top:1px solid var(--line);padding-block:clamp(37px,6vw,78px)}
.bio-text h2{font-size:clamp(2rem,3.5vw,3.7rem)}
.interior-closing{border-top:1px solid var(--line)}
@media(max-width:780px){
 .mast-inner nav{order:4}
 .mast-inner .theme-button{order:2}
 .interior-hero-inner{grid-template-columns:1fr minmax(120px,.52fr);min-height:0;padding-block:clamp(42px,10vw,75px);gap:14px}
 .interior-hero h1{font-size:clamp(2.65rem,8vw,5.4rem)}
 .service-layout,.resource-rubric{grid-template-columns:1fr}
 .section-nav{position:static;max-width:34rem}
 .resource-rubric{gap:12px}
 .resource-jumps{margin-top:12px}
 .library-intro{grid-template-columns:1fr;gap:8px}
 .library-intro p{margin-top:0}
 .bio-feature>img{width:min(94%,410px)}
}
@media(max-width:450px){
 .mast-inner{gap:8px}
 .mast-inner .theme-button{font-size:.78rem}
 .interior-hero-inner{grid-template-columns:1fr;gap:19px}
 .interior-illustration{justify-content:start}
 .interior-illustration svg{max-width:144px;height:auto}
 .resource-jumps a{font-size:.85rem;line-height:1.3;flex-direction:column;align-items:flex-start;justify-content:center}
 .resource-jumps a .interior-icon{width:15px}
 .service-row{grid-template-columns:37px 1fr}
 .service-row-icon{width:37px;height:37px}
 .service-row-icon .interior-icon{width:22px}
}
@media print{
 .interior-hero,.resource-partnership,.frosted-panel,.contact-primary{color:#000;background:white;box-shadow:none;backdrop-filter:none}
 .interior-hero-inner,.service-layout,.resource-rubric,.library-intro{display:block;min-height:0;padding-block:12px}
 .interior-illustration,.section-nav,.resource-jumps{display:none}
}
