/* V151 sitewide consistency pass. Scoped to protect approved hero artwork and distinct children's styling. */
:root{--site-content:1160px;--site-ink:#234638;--site-accent:#a47d46;--site-border:#e0e5dc}
html{scroll-padding-top:28px}
body{font-size:16px;line-height:1.7}
.site-header .topbar{max-width:1220px;margin-inline:auto;min-height:92px;gap:24px;align-items:center}
.site-header .brand{font-size:clamp(24px,2.1vw,30px);line-height:1.22;flex:0 0 auto}
.site-header .brand small{font-size:10px;letter-spacing:1.25px;line-height:1.55;margin-top:5px}
.site-header .links{flex:1 1 auto;display:flex;justify-content:flex-end;align-items:center;gap:clamp(10px,1.1vw,17px);flex-wrap:nowrap;min-width:0}
.site-header .links a{font-size:clamp(12px,.94vw,14px);font-weight:700;line-height:1.5;white-space:nowrap}
.site-header .links a.reader-nav-link{color:#27563f}
.site-header .links a[aria-current=page]{text-decoration:underline;text-decoration-color:var(--site-accent);text-underline-offset:7px;text-decoration-thickness:2px}
/* Each page keeps its own editorial heading treatment. Shared navigation and accessibility rules remain. */
.section .grid>*,.section .grid.two>*,.experience-grid>*{min-width:0}
img,svg{max-width:100%}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #a47d46;outline-offset:3px}
:where(section[id],article[id],div[id]){scroll-margin-top:24px}
/* Reader space: avoid tiny controls and huge empty vertical bands. */
.reader-page .reader-section{padding-top:clamp(48px,5vw,72px);padding-bottom:clamp(48px,5vw,72px)}
.reader-page .lesson{padding-top:clamp(48px,5vw,75px);padding-bottom:clamp(48px,5vw,75px)}
.reader-page .reader-wrap{max-width:1160px}
.reader-page .lesson-heading{max-width:42ch}
.reader-page .lesson-heading h2{font-size:clamp(1.85rem,2.65vw,2.5rem)}
.reader-page .lesson-panel{width:100%}
.reader-page .choice,.reader-page .feeling-chip,.reader-page .step-option{font-size:15px!important;line-height:1.4;min-height:46px}
.reader-page .saved-controls button{min-height:44px}
.reader-page .reader-local-nav{position:relative}
/* Tablet: switch to existing accessible hamburger before the header can wrap into two accidental rows. */
@media(max-width:1120px){
 .site-header .topbar{flex-wrap:wrap;align-items:center;min-height:78px;padding-top:14px;padding-bottom:14px}
 .site-header .menu-toggle{display:block;margin-left:auto;background:transparent;border:1px solid #b8c7ba;border-radius:8px;padding:9px 13px;color:#234638;font-size:19px;min-height:44px}
 .site-header .links{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;gap:2px;padding:12px 0 3px;max-width:none;min-width:100%}
 .site-header .links.open{display:flex}
 .site-header .links a{font-size:16px;padding:10px 12px;white-space:normal;border-radius:7px}
 .site-header .links a:hover{background:#edf2eb}
}
@media(max-width:600px){
 .site-header .brand{font-size:clamp(23px,6.4vw,28px)}
 .site-header .brand small{font-size:9px;letter-spacing:.9px}
 .page-hero h1{font-size:clamp(2rem,8vw,2.7rem)}
 .section h2{font-size:clamp(1.75rem,7vw,2.2rem)}
 .reader-page .lesson{gap:20px}
 .reader-page .reader-local-nav a{min-height:40px;display:inline-flex;align-items:center}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
