/* Local quality fixes. Approved presentation layout remains the default. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.skip-link{position:fixed;top:12px;left:12px;z-index:1000;padding:12px 18px;background:var(--gold);color:var(--black);border-radius:6px;transform:translateY(-180%)}
.skip-link:focus{transform:translateY(0)}
:focus-visible{outline:2px solid var(--gold);outline-offset:4px}
.reading-mode-toggle{font:inherit;color:var(--gold);text-decoration:underline;text-underline-offset:4px;min-height:28px;padding:2px 5px;white-space:nowrap}
html.fit-layout .site-header #main-nav .reading-mode-toggle{font-size:14px}
html.fit-layout .chapter-dock .persistent-legal{right:150px;bottom:0;gap:18px}
html.fit-layout .chapter-dock .persistent-legal a{display:inline-flex;align-items:center;min-width:24px;min-height:26px;padding:4px 2px}
.video-legal{display:flex;gap:18px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:var(--muted)}
.video-legal a{display:inline-flex;align-items:center;min-height:28px;text-decoration:underline;text-underline-offset:3px}
html.reading-mode{overflow-x:hidden;scroll-behavior:auto}
html.reading-mode body{height:auto;overflow:visible}
html.reading-mode .panel{min-height:0;max-height:none;overflow:visible}
html.reading-mode .hero .panel-inner{height:auto;min-height:0}
html.reading-mode .site-header{position:relative;transform:none}
html.reading-mode .viewport{position:static;display:block;height:auto;overflow:visible}
html.reading-mode .chapter-dock{display:none}
html.reading-mode .story-teaser{position:relative;inset:auto;width:100%;margin-top:28px}
html.reading-mode #chapters>.panel>.panel-inner{transform:none;visibility:visible}
html.reading-mode .hero-copy{padding-bottom:0}
@media(hover:none) and (pointer:coarse){.reading-mode-toggle{display:none}}
@media(max-width:1000px){.main-nav .reading-mode-toggle{align-self:flex-start;min-height:40px;margin:6px 0}}
/* Keep input boundaries distinct from the dark surface. */
#contact-form :is(input,textarea,select),html.fit-layout #chapters #contact-form :is(input,textarea,select){border-color:#8b7954!important}
