*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:118px}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.65 var(--font-family);-webkit-font-smoothing:antialiased}body.dialog-open{overflow:hidden}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;border:0}button:disabled{cursor:default}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--font-family);font-weight:600;line-height:1.35}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}[hidden]{display:none!important}.container{width:min(1216px,calc(100% - 80px));margin-inline:auto}.icon{width:22px;height:22px;stroke:currentColor;stroke-width:1.6;fill:none;flex-shrink:0;display:block}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.sr-only{position:absolute;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;z-index:100;top:-90px;right:20px;background:white;padding:12px 24px}.skip-link:focus{top:12px}
.site-header{position:sticky;top:0;z-index:20;background:var(--paper);border:0}.header-inner{min-height:112px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:40px}.brand{grid-column:2;grid-row:1;display:flex;justify-content:center;align-items:center;flex-shrink:0}.brand-logo{height:96px;width:auto;object-fit:contain}.desktop-nav{grid-column:1;grid-row:1;justify-self:start;display:flex;flex-wrap:wrap;align-content:center;align-self:stretch;align-items:center;gap:0 28px}.desktop-nav a{display:flex;align-items:center;position:relative;min-height:62px;font-size:0.9375rem}.desktop-nav a:hover{color:var(--muted)}.header-actions{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:12px}.header-search{background:transparent;display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 18px 8px 0;border-right:1px solid var(--control-edge);font-size:0.875rem}.menu-toggle{display:none;width:44px;height:44px;padding:10px;background:transparent}.menu-toggle span{display:block;background:var(--ink);height:2px;margin:6px 0;transition:transform .2s}.menu-toggle[aria-expanded=true] span:first-child{transform:translateY(4px) rotate(45deg)}.menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-4px) rotate(-45deg)}.mobile-nav{padding:8px 24px 20px;border-top:1px solid var(--control-edge);display:flex;flex-direction:column}.mobile-nav a{padding:10px 0}
.hero{background:var(--paper);color:var(--ink);overflow:hidden}.hero-inner{min-height:392px;display:grid;grid-template-columns:1.35fr .65fr;gap:64px;align-items:center;padding-block:44px}.hero-copy{max-width:660px}.eyebrow{font-family:var(--font-family);font-size:0.75rem;color:var(--muted);font-weight:500;letter-spacing:.03em;margin-bottom:12px}.eyebrow.light{color:var(--muted);display:flex;gap:12px;align-items:center}.hero h1{font-size:clamp(3.875rem,6.3vw,5.25rem);font-weight:400;letter-spacing:-.025em;line-height:1.16}.hero-description{font-size:1.1875rem;color:var(--paper);margin-top:18px}.hero-actions{display:flex;align-items:center;gap:28px;margin-top:27px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 20px;line-height:1.4;font-size:0.875rem;font-weight:500;border-radius:3px;border:1px solid transparent;transition:background .15s}.button-gold{background:var(--accent);color:var(--paper)}.button-gold:hover{background:var(--accent-hover)}.button-blue{background:var(--ink);color:white}.button-blue:hover{background:var(--ink)}.button-outline{border-color:var(--control-edge);background:white;color:var(--ink)}.button-outline:not(:disabled):hover{background:var(--tint)}.button:disabled{background:var(--disabled-bg);color:var(--inactive);border-color:var(--disabled-edge)}.hero-secondary{display:flex;align-items:center;gap:9px;font-size:0.875rem}.hero-secondary:hover{color:var(--paper)}
.library-section{padding-block:60px 72px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.section-heading h2{font-size:2.625rem}.section-intro{font-size:0.9375rem;color:var(--muted);padding-bottom:4px}.search-form{display:flex;align-items:center;gap:15px;border:1px solid var(--control-edge);border-radius:4px;background:white;padding:8px 17px 8px 8px;max-width:100%;box-shadow:0 4px 12px #11192c03}.search-form>.icon{color:var(--ink)}.search-form input{min-width:0;flex:1;width:100%;border:0;outline-offset:0;background:transparent;height:44px;font-size:0.9375rem;color:var(--ink)}.search-form input::placeholder{color:var(--muted)}.search-form .button{min-width:100px}.library-toolbar{display:flex;gap:20px;align-items:center;flex-wrap:wrap;margin-block:22px 24px}.filters{display:flex;gap:5px}.filters button{border:1px solid transparent;min-height:42px;padding:7px 22px;border-radius:3px;background:transparent;color:var(--muted);font-size:0.875rem}.filters button.active{background:var(--tint);border-color:var(--wash);color:var(--ink)}.filters button:hover{color:var(--ink)}.library-topic{display:flex;align-items:center;gap:10px;padding-inline-start:22px;border-inline-start:1px solid var(--control-edge);font-size:0.8125rem;color:var(--muted)}select{min-height:40px;color:var(--ink);border:1px solid var(--control-edge);background:white;border-radius:3px;padding:6px 12px;cursor:pointer}.result-count{margin-inline-start:auto;color:var(--muted);font-size:0.75rem}.book-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.book-card{min-width:0;border:0;background:white;border-radius:5px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s}.book-card:hover{border:0;box-shadow:none}.book-stage{display:block;width:100%;background:white;padding:13px 11px 0;aspect-ratio:1.02}.book-stage img{width:100%;height:100%;object-fit:contain}.book-body{padding:21px 20px 22px;display:flex;flex-direction:column;flex:1}.book-meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:0.6875rem;margin-bottom:10px}.book-meta .type-badge{background:var(--tint);color:var(--ink);padding:2px 8px;border-radius:2px}.book-card h3{font-size:1.75rem;margin-bottom:10px}.book-title{font:inherit;text-align:start;background:transparent;padding:0}.book-title:hover{color:var(--ink)}.book-subtitle{font-size:0.8125rem;color:var(--muted);line-height:1.7;min-height:66px}.book-actions{display:grid;grid-template-columns:1.3fr 1fr;gap:7px;margin-top:21px}.book-actions .button{font-size:0.75rem;padding:10px 7px;gap:7px;min-height:44px;white-space:nowrap}.book-actions .icon{width:17px;height:17px}.file-note{font-size:0.6875rem;line-height:1.6;color:var(--muted);margin-top:10px}.empty-state{text-align:center;padding:55px 20px;background:var(--tint);border-radius:4px}.empty-state>.icon{width:34px;height:34px;margin:0 auto 20px;color:var(--ink)}.empty-state h3{font-size:1.8125rem;margin-bottom:12px}.empty-state p{color:var(--muted);font-size:0.875rem}.text-link{background:transparent;border:0;padding:4px 0;color:var(--ink);font-size:0.8125rem;min-height:40px;display:inline-flex;align-items:center}.empty-state .text-link{margin-top:15px}
.lessons-section{background:var(--tint);padding-block:53px 60px;border:0}.video-empty{display:flex;align-items:center;justify-content:center;gap:60px;min-height:245px;background:var(--paper);border:0;border-radius:5px}.lesson-art{width:220px;flex-shrink:0}.lesson-art img{width:100%;height:auto}.video-empty-copy h3{font-size:1.875rem;margin-bottom:12px}.video-empty-copy p{color:var(--muted);font-size:0.875rem}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.video-card{border:1px solid var(--control-edge);border-radius:4px;overflow:hidden;background:white}.video-card button{background:white;text-align:start;padding:0;display:block;width:100%}.video-poster{aspect-ratio:16/9;background:var(--ink);position:relative;display:grid;place-items:center;overflow:hidden}.video-poster>img{width:100%;height:100%;object-fit:cover}.video-poster .icon{position:absolute;width:44px;height:44px;color:var(--paper);background:transparent}.video-card-copy{padding:20px}.video-card-copy p{font-size:0.75rem;color:var(--muted)}.video-card h3{font-size:1.6875rem;margin-top:7px}.about-section{background:var(--ink);color:white;padding-block:55px}.about-inner{display:grid;grid-template-columns:1fr 2fr;gap:90px}.about-inner h2{font-size:2.6875rem}.about-copy{font-size:0.9375rem;line-height:1.9;color:var(--paper);max-width:700px}.about-copy p+p{margin-top:12px}.site-footer{background:var(--paper);padding-block:30px 20px}.footer-main{display:flex;align-items:center;gap:50px}.footer-brand img{height:88px;width:auto}.footer-main nav{display:flex;gap:25px;font-size:0.8125rem}.footer-main>span{margin-inline-start:auto;color:var(--muted);font-size:0.6875rem}.draft-notes{font-size:0.6875rem;color:var(--muted);border-top:1px solid #e8e8e1;padding-top:16px;margin-top:20px}.draft-notes summary{cursor:pointer;width:fit-content}.draft-notes p{margin-top:12px;max-width:850px;line-height:1.8}
/* Dialogs keep native keyboard focus management. */
dialog{color:var(--ink);font-family:var(--font-family);padding:0;border:0;border-radius:7px;box-shadow:0 18px 70px rgb(37 32 31 / 24%)}dialog::backdrop{background:rgb(37 32 31 / 54%);backdrop-filter:blur(4px)}.book-dialog{width:min(900px,calc(100% - 48px));max-height:calc(100dvh - 48px);overflow:auto;background:white}.dialog-close,.reader-close{display:grid;place-items:center;flex-shrink:0;font:28px/1 var(--font-family);width:44px;height:44px;border-radius:50%;background:transparent}.dialog-close:hover,.reader-close:hover{background:#ffffff25}.dialog-close{position:absolute;top:14px;left:14px;background:var(--tint);z-index:2}.dialog-layout{display:grid;grid-template-columns:.95fr 1.05fr;min-height:460px}.dialog-gallery{padding:35px 20px;display:grid;place-items:center;background:#fff}.dialog-gallery img{width:100%;height:360px;object-fit:contain}.dialog-copy{padding:58px 35px 35px;background:var(--surface)}.dialog-copy h2{font-size:2.4375rem}.dialog-subtitle{font-size:0.9375rem;color:var(--muted);margin-top:17px}.dialog-author{margin-top:10px;font-size:0.8125rem}.dialog-copy>p{font-size:0.875rem}.detail-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:25px}.detail-actions .button{padding-inline:14px}.dialog-copy .file-note{font-size:0.6875rem}.reader-dialog{width:min(1260px,calc(100% - 40px));height:calc(100dvh - 40px);max-height:none;max-width:none;overflow:hidden;background:var(--tint)}.reader-dialog[open]{display:flex;flex-direction:column}.reader-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--ink);color:white;padding:15px 23px;flex-shrink:0}.reader-kicker{font-size:0.6875rem;color:var(--paper);margin-bottom:4px}.reader-heading h2{font-size:1.625rem}.reader-toolbar-actions{display:flex;align-items:center;gap:15px}.reader-download{color:white;background:#ffffff15;border-color:#ffffff55;font-size:0.75rem;min-height:40px;padding:8px 14px}.reader-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 20px;background:white;border-bottom:1px solid var(--control-edge);font-size:0.75rem;flex-shrink:0}.page-controls,.zoom-controls{display:flex;gap:9px;align-items:center}.page-controls input{width:52px;min-height:38px;border:1px solid var(--control-edge);border-radius:3px;text-align:center;appearance:textfield}.page-controls input::-webkit-inner-spin-button{appearance:none}.icon-button{width:40px;height:40px;background:var(--tint);border-radius:3px;font-size:1.25rem;color:var(--ink)}.icon-button:disabled{opacity:.4}.zoom-controls select{font-size:0.75rem}.zoom-controls a{font-size:0.6875rem;text-decoration:underline;text-underline-offset:4px}.reader-stage{position:relative;flex:1;min-height:0;overflow:hidden;background:var(--tint)}.viewer-container{position:absolute;inset:0;overflow:auto;overscroll-behavior:contain;direction:ltr;touch-action:pan-x pan-y pinch-zoom}.pdfViewer{--page-margin:12px auto;--page-border:0 solid transparent}.reader-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;gap:16px;background:var(--tint);z-index:1}.reader-status h3{font-size:1.875rem}.reader-status p{font-size:0.875rem;color:var(--muted);max-width:500px}.loading-spinner{width:32px;height:32px;border:3px solid var(--control-edge);border-top-color:var(--ink);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.reader-empty{display:grid;grid-template-columns:1fr 1fr;align-items:center;width:min(820px,calc(100% - 60px));margin:40px auto;background:white;border:0;border-radius:4px;overflow:hidden}.reader-cover-wrap{padding:24px}.reader-cover-wrap img{width:100%;height:350px;object-fit:contain}.reader-empty-copy{padding:35px}.reader-empty-copy>.icon{width:35px;height:35px;color:var(--ink);margin-bottom:24px}.reader-empty-copy h3{font-size:1.875rem;margin-bottom:16px}.reader-empty-copy p{font-size:0.875rem;line-height:1.9;color:var(--muted)}.reader-empty-copy .text-link{margin-top:18px}.video-dialog{width:min(1080px,calc(100% - 48px));background:#fff;max-height:calc(100dvh - 40px);overflow:auto}.video-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 22px;background:var(--ink);color:white}.video-toolbar h2{font-size:1.6875rem}.video-player{aspect-ratio:16/9;background:var(--ink)}.video-player iframe,.video-player video{width:100%;height:100%;display:block;border:0}.video-dialog>p{padding:18px 24px;font-size:0.875rem;color:var(--muted)}.video-dialog>p:empty{display:none}
@media(min-width:1500px){.book-card h3{font-size:1.875rem}.book-actions .button{font-size:0.8125rem}}
@media(max-width:1100px){.container{width:calc(100% - 56px)}.header-inner{gap:24px}.desktop-nav{gap:16px}.desktop-nav a{font-size:0.875rem}.hero-inner{gap:30px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.book-stage{aspect-ratio:1.2;padding:20px 35px 0}.book-body{padding:25px}.book-subtitle{min-height:44px}.book-actions .button{font-size:0.875rem}.book-actions{grid-template-columns:1.3fr 1fr}.book-actions .icon{width:20px;height:20px}.about-inner{gap:40px}.reader-empty{margin-top:30px}}
@media(min-width:761px) and (max-width:1000px){.hero-inner{grid-template-columns:1.3fr .7fr;gap:28px;min-height:350px}.hero h1{font-size:clamp(3.3125rem,6.3vw,4rem)}.hero-description{font-size:1.0625rem}}
@media(max-width:760px){html{scroll-padding-top:94px}.container{width:calc(100% - 40px)}.header-inner{min-height:88px;gap:8px}.header-actions{gap:0}.brand-logo{height:72px}.desktop-nav{display:none}.menu-toggle{display:block}.header-search{border:0;padding:10px}.header-search span{display:none}.hero-inner{min-height:0;grid-template-columns:1fr;padding-block:32px;gap:0}.hero-copy{max-width:100%;text-align:center}.hero .eyebrow{justify-content:center}.hero-description{margin-inline:auto}.hero h1{font-size:3.625rem}.hero-description{font-size:1.0625rem;max-width:400px;line-height:1.8;margin-top:13px}.hero-actions{justify-content:center;gap:20px;margin-top:25px}.hero-secondary{font-size:0.8125rem}.hero-actions .button{font-size:0.8125rem;padding:12px 16px}.section-heading{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:22px}.section-heading h2{font-size:2.1875rem}.section-intro{font-size:0.875rem}.library-section{padding-block:38px 45px}.eyebrow{font-size:0.6875rem;margin-bottom:8px}.search-form{padding:7px 12px 7px 7px;gap:10px}.search-form input{font-size:0.8125rem}.search-form .button{min-width:66px;padding-inline:12px;font-size:0.8125rem}.library-toolbar{gap:12px;margin-block:18px}.filters{gap:3px}.filters button{padding:6px 16px;font-size:0.8125rem}.library-topic{border:0;padding:0;margin-inline-start:auto;gap:6px}.library-topic label{display:none}.library-topic select{max-width:138px;font-size:0.75rem}.result-count{width:100%;margin:0;font-size:0.6875rem}.book-grid{gap:18px}.book-stage{aspect-ratio:1;padding:10px}.book-body{padding:18px 15px}.book-card h3{font-size:1.6875rem}.book-subtitle{font-size:0.75rem;min-height:62px}.book-actions{grid-template-columns:1fr;margin-top:18px}.book-actions .button{font-size:0.8125rem}.lessons-section{padding-block:35px 40px}.video-empty{gap:18px;padding:22px;min-height:0}.lesson-art{width:145px}.video-empty-copy h3{font-size:1.5rem}.video-empty-copy p{font-size:0.75rem}.video-grid{grid-template-columns:1fr}.about-section{padding-block:36px}.about-inner{grid-template-columns:1fr;gap:22px}.about-inner h2{font-size:2.25rem}.about-copy{font-size:0.875rem}.footer-main{gap:25px;flex-wrap:wrap}.footer-brand img{height:86px}.footer-main nav{gap:16px;font-size:0.75rem}.footer-main>span{width:100%;margin:0}.site-footer{padding-block:24px}.reader-dialog{width:100%;height:100dvh;margin:0;border-radius:0}.reader-toolbar{padding:10px 13px;gap:10px}.reader-kicker{font-size:0.625rem}.reader-heading h2{font-size:1.4375rem}.reader-toolbar-actions{gap:5px}.reader-download{padding:8px;min-width:40px}.reader-download span{display:none}.reader-controls{flex-wrap:wrap;gap:8px;padding:8px 10px}.page-controls{gap:6px}.zoom-controls{margin-inline-start:auto;gap:8px}.zoom-controls a{display:none}.reader-empty{margin:20px auto;width:calc(100% - 30px);grid-template-columns:1fr;max-width:460px;max-height:calc(100% - 40px);overflow:auto}.reader-cover-wrap{padding:16px 25px 0}.reader-cover-wrap img{height:240px}.reader-empty-copy{padding:18px 24px 28px;text-align:center}.reader-empty-copy>.icon{display:none}.reader-empty-copy h3{font-size:1.625rem;margin-bottom:10px}.reader-empty-copy p{font-size:0.8125rem}.reader-empty-copy .text-link{margin-top:13px}.book-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.dialog-layout{grid-template-columns:1fr;min-height:0}.dialog-gallery{padding:20px}.dialog-gallery img{height:270px}.dialog-copy{padding:28px}.dialog-copy h2{font-size:2.0625rem}.dialog-close{top:8px;left:8px}.video-dialog{width:100%;max-height:100dvh;border-radius:0}.video-toolbar{padding:10px 14px}.video-toolbar h2{font-size:1.4375rem}}
@media(max-width:520px){.book-grid{grid-template-columns:1fr;gap:22px}.book-stage{aspect-ratio:1.15;padding:14px 24px 0}.book-body{padding:20px 22px 22px}.book-card h3{font-size:1.875rem}.book-subtitle{font-size:0.8125rem;min-height:0}.book-meta{font-size:0.75rem}.book-actions{grid-template-columns:1.3fr 1fr}.book-actions .button{font-size:0.8125rem}.file-note{font-size:0.6875rem}.video-empty{flex-direction:column;gap:5px;text-align:center;padding:18px 15px 27px}.lesson-art{width:175px}.video-empty-copy h3{font-size:1.6875rem}.footer-main nav{gap:12px}.hero h1{font-size:3.25rem}.hero-description{font-size:1rem}.hero-actions{gap:14px}.hero-secondary{font-size:0.75rem}.hero-actions .icon{width:19px;height:19px}.hero-actions .button{padding-inline:12px}.zoom-controls select{font-size:0.6875rem;min-height:38px;max-width:127px;padding:5px 7px}.reader-controls{font-size:0.6875rem}.page-controls{gap:5px}.page-controls input{width:39px}.icon-button{width:33px;height:38px}}
@media(max-width:350px){.container{width:calc(100% - 28px)}.hero h1{font-size:2.8125rem}.hero-actions{flex-wrap:wrap}.filters button{padding-inline:11px}.library-topic select{max-width:119px}.search-form input{font-size:0.75rem}.search-form>.icon{width:18px}.reader-heading h2{font-size:1.3125rem}.book-actions .button{font-size:0.75rem}.book-body{padding-inline:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Keyboard, focus and navigation behavior. */
html{scrollbar-gutter:stable}h1,h2,h3{overflow-wrap:break-word}.hero-copy,.reader-heading,.section-heading>div{min-width:0}.section-heading h2{text-wrap:balance}.desktop-nav a{white-space:nowrap}.mobile-nav{max-height:calc(100dvh - 88px);overflow:auto}.hero-secondary,.text-link,.share-control button,.reader-file-actions a,.video-actions>a{min-height:44px;display:inline-flex;align-items:center}.filters button,select,.page-controls input,.icon-button{min-height:44px}.icon-button{min-width:44px}.book-subtitle{font-size:.875rem}.file-note,.dialog-copy .file-note{font-size:.75rem}.book-title:focus-visible{outline-offset:2px}.search-help-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-block:8px}.search-help-row p{font-size:.8125rem;color:var(--muted)}.search-help-row .text-link{font-size:.8125rem;flex-shrink:0}.route-notice{margin-block:20px;background:white;border:1px solid var(--control-edge);padding:20px}.route-notice a{margin-inline-end:20px}.share-control{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:.8125rem}.share-control input{width:100%;min-height:44px;border:1px solid var(--control-edge);padding:8px;min-width:0}.share-control [role=status]{font-size:.75rem;color:var(--muted)}.dialog-copy .share-control{margin-top:10px}.reader-back-button{display:flex;align-items:center;gap:10px;min-height:44px;background:transparent;color:white;font-size:.8125rem;padding:8px;white-space:nowrap}.reader-back-button span{font-size:1.625rem}.reader-toolbar{flex-wrap:wrap}.reader-toolbar-actions{margin-inline-start:auto}.reader-controls{flex-wrap:wrap}.reader-file-actions{flex-shrink:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 24px;padding:6px 15px;background:white;border-top:1px solid var(--control-edge);font-size:.8125rem}.reader-file-actions a,.video-actions>a{text-decoration:underline;text-underline-offset:4px}.reader-file-actions .share-control{max-width:100%}.reader-empty{max-height:calc(100% - 40px);overflow:auto}.reader-status{overflow:auto;justify-content:safe center}.reader-status p{color:var(--muted)}.page-controls{flex-wrap:wrap}.page-controls input{font-size:1rem}.zoom-controls select{font-size:.875rem}.reader-download{min-height:44px}.video-card>a{display:block}.video-watch{display:inline-block;margin-top:12px;font-size:.875rem;color:var(--ink)}.video-player{min-height:200px}.video-status,.video-dialog #video-status{padding:12px 24px;font-size:.875rem}.media-error{color:#8b2c22!important}.video-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;padding:0 24px 18px}.video-actions .share-control{flex-basis:100%}.lesson-search-form{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:24px}.lesson-search-form label{font-size:.875rem}.lesson-search-form input{min-width:0;flex:1;min-height:46px;padding:10px;border:1px solid var(--control-edge);font:inherit}.book-stage:focus-visible{outline-offset:-5px}.video-card a:focus-visible{outline-offset:-5px}
@media(max-width:760px){.search-help-row{align-items:flex-start;flex-direction:column;gap:0}.reader-toolbar{padding:10px 12px;gap:5px}.reader-heading{flex:1 1 150px}.reader-heading h2{font-size:1.375rem}.reader-toolbar-actions{gap:4px}.reader-file-actions{gap:0 16px;justify-content:space-between;padding-inline:12px}.reader-file-actions .share-control [role=status]{flex-basis:100%}.reader-controls{gap:6px;padding:8px 10px}.zoom-controls{margin-inline-start:0}.reader-empty{max-height:calc(100% - 24px);margin-block:12px}.video-actions{gap:6px 16px;padding-inline:16px}.video-dialog #video-status{padding-inline:16px}.video-toolbar h2{font-size:1.5rem}.search-form input{font-size:1rem}.video-empty{flex-wrap:wrap}.section-heading{gap:12px}.footer-main nav{flex-wrap:wrap}.hero-actions{flex-wrap:wrap}}
@media(max-width:350px){.header-inner{gap:0}.reader-toolbar-actions{width:100%;justify-content:space-between}.hero h1{font-size:2.6rem}.book-body{padding-inline:16px}.filters button{padding-inline:14px}.page-controls{gap:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition:none!important}}

.video-player:fullscreen{width:100vw;height:100dvh;aspect-ratio:auto;display:grid;place-items:center;background:#000}.video-player:fullscreen iframe,.video-player:fullscreen video{width:100%;height:100%}

/* Contact and daily inspiration: reuse the approved palette and type. */
.contact-section{padding-block:60px;background:var(--paper);border-bottom:1px solid var(--control-edge)}
.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.contact-card{min-width:0;padding:28px;background:var(--paper);border:1px solid var(--control-edge);border-radius:5px;display:flex;flex-direction:column;align-items:flex-start}
.contact-icon{width:64px;height:64px;object-fit:contain;margin-bottom:20px;flex-shrink:0}
.contact-card h3{font-size:1.9375rem;margin-bottom:12px}
.contact-card p{font-size:1rem;line-height:1.85;color:var(--muted);max-width:470px;margin-bottom:24px}
.contact-card .button{margin-top:auto;min-height:48px;width:100%;max-width:100%;padding-inline:14px;text-align:center;white-space:normal}
.contact-inspiration{background:var(--ink);border-color:var(--ink);color:white}
.contact-inspiration p{color:var(--paper)}
@media(min-width:761px) and (max-width:1000px){.contact-grid{gap:16px}.contact-card{padding:24px 18px}.contact-card .button{padding-inline:10px}}
@media(max-width:760px){.contact-section{padding-block:38px}.contact-grid{grid-template-columns:1fr;gap:18px}.contact-card{padding:26px 22px}.contact-card h3{font-size:1.8125rem}.contact-icon{margin-bottom:16px}.contact-card .button{width:100%}}

/* Responsive type scale. */
.hero h1{font-size:clamp(3rem,5.25vw,4.5rem);font-weight:600;line-height:1.2;letter-spacing:-.035em}
.section-heading h2,.about-inner h2{font-size:2rem;line-height:1.4}
.book-card h3,.video-card h3{font-size:1.375rem;line-height:1.4}
.contact-card h3,.video-empty-copy h3,.empty-state h3,.reader-empty-copy h3,.reader-status h3{font-size:1.5rem;line-height:1.4}
.dialog-copy h2{font-size:2rem;line-height:1.35}
.reader-heading h2,.video-toolbar h2{font-size:1.375rem;line-height:1.4}
.hero-actions{gap:16px}
.hero-actions .button{min-height:48px;padding:12px 20px;font-size:.9375rem}
.hero-actions .hero-secondary{background:var(--tint);color:var(--ink);border-color:var(--control-edge)}
.hero-actions .hero-secondary:hover{background:var(--tint);color:var(--ink)}
@media(min-width:761px) and (max-width:1000px){.hero h1{font-size:3.2rem}.hero-actions{flex-wrap:wrap}}
@media(max-width:760px){.hero h1{font-size:clamp(2.375rem,9.7vw,3.5rem)}.section-heading h2,.about-inner h2,.dialog-copy h2{font-size:1.75rem}.contact-card h3,.video-empty-copy h3,.empty-state h3,.reader-empty-copy h3,.reader-status h3{font-size:1.375rem}.reader-heading h2,.video-toolbar h2{font-size:1.25rem}.hero-actions{gap:12px}.hero-actions .button{padding:12px 16px;font-size:.875rem}}
@media(max-width:390px){.hero-actions{display:grid;grid-template-columns:1fr;width:100%;max-width:300px;margin-inline:auto}.hero-actions .button{width:100%}}

/* Weekly study, external purchase and synagogue requests. */



.weekly-lesson{display:grid;grid-template-columns:1.12fr 1fr;overflow:hidden;background:var(--paper);border:1px solid var(--control-edge);border-radius:6px;min-width:0}
.weekly-visual{width:100%;min-width:0;min-height:300px;aspect-ratio:16/9;align-self:stretch;display:grid;place-items:center;background:var(--tint)}
.weekly-placeholder img{width:min(70%,300px);height:auto}
.weekly-visual.video-poster{height:100%}.weekly-visual.video-poster .icon{width:64px;height:64px}
.weekly-copy{padding:32px 34px;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.weekly-copy h3{font-size:1.75rem;line-height:1.45;margin-bottom:12px}
.weekly-description{color:var(--muted);font-size:1rem;line-height:1.8}
.weekly-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;max-width:100%}
.weekly-actions .button{min-height:48px;font-size:.875rem;padding:11px 17px;white-space:normal;text-align:center}
.weekly-actions button:disabled,#video-summary button:disabled{color:var(--muted);background:var(--disabled-bg);border:1px solid var(--disabled-edge);opacity:1}
.weekly-note{font-size:.8125rem;color:var(--muted);margin-block:12px 4px}
.weekly-copy>.text-link{margin-top:4px}
.video-library{margin-top:36px;scroll-margin-top:125px}
.video-library-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
.video-library-heading h3{font-size:1.375rem}.video-library-heading p{font-size:.875rem;color:var(--muted);margin-top:6px}
.video-library-heading>.text-link{flex-shrink:0}


.video-card h4{font:600 1.375rem/1.4 var(--font-family);margin:7px 0 0;overflow-wrap:break-word}
.lesson-summary-action{padding:0 20px 20px}.lesson-summary-action .button{width:100%;min-height:44px;font-size:.875rem}
.purchase-button{min-height:48px;max-width:100%;background:var(--wash);color:var(--ink);border:1px solid var(--control-edge);flex-wrap:wrap;gap:6px;padding:9px 12px;font-size:.875rem;text-align:center;line-height:1.4}
.purchase-button:hover{background:var(--tint);color:var(--ink)}.purchase-button .icon{width:19px;height:19px}
.purchase-store{flex-basis:100%;font-size:.75rem;font-weight:400}
.book-body>.purchase-button{margin-top:14px;width:100%}
.detail-purchase{margin-top:14px}.detail-purchase:empty{display:none}.detail-purchase .purchase-button{width:100%}



@media(max-width:1000px){.weekly-lesson{grid-template-columns:1fr 1fr}.weekly-copy{padding:26px}.weekly-actions{flex-direction:column;align-items:stretch;width:100%}}
@media(max-width:760px){.weekly-lesson{grid-template-columns:1fr}.weekly-visual{min-height:0;max-height:235px}.weekly-placeholder img{max-width:190px}.weekly-copy{padding:24px}.weekly-copy h3{font-size:1.5rem}.weekly-description{font-size:.9375rem}.weekly-actions{flex-direction:row;margin-top:20px}.weekly-actions .button{flex:1 1 160px}.video-library{scroll-margin-top:100px;margin-top:28px}.video-library-heading{align-items:flex-start;flex-direction:column;gap:8px}.video-library-heading h3{font-size:1.25rem}}
