/* Shared brand and footer styling. Loaded after each page's own styles. */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1050px){.site-header nav{background:rgba(0,0,0,.5)}}
.veil-books{padding-block:95px;border-top:1px solid #c9a84c2e;border-bottom:1px solid #c9a84c2e}
.veil-books .novels{grid-template-columns:minmax(260px,1fr) minmax(0,1fr);gap:60px}
.veil-books .novels>div:last-child{max-width:480px}
.other-books-intro{max-width:700px;margin:0 0 30px}
.books>.resource-panel{max-width:760px}
@media(max-width:760px){.veil-books{padding-block:65px}.veil-books .novels{grid-template-columns:1fr;gap:30px}.veil-books .section-heading{align-items:flex-start;gap:16px;flex-direction:column}}
.site-header,.library-header{ text-shadow:0 2px 4px #000,0 4px 12px #000; }
.wordmark .brand-tagline{display:block;white-space:normal;font:400 14px/1.4 'Crimson Pro',Georgia,serif;letter-spacing:.025em;text-transform:none;color:#fff;margin-top:0;max-width:290px}
footer.etv-footer{box-sizing:border-box;display:block;position:relative;z-index:1;width:100%;max-width:none;margin:0;padding:64px 0 28px;background:#000;color:#E8BB69;border:0;border-top:1px solid #e8bb6933;text-align:left;font:400 18px/1.6 'Crimson Pro',Georgia,serif;letter-spacing:normal}
.etv-footer *{box-sizing:border-box}
.etv-footer .etv-footer-inner{width:min(1200px,calc(100% - 112px));margin:0 auto}
.etv-footer .etv-footer-top{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:40px;padding-bottom:48px}
.etv-footer .etv-footer-brand{display:block;color:#E8BB69;text-decoration:none;font:600 clamp(23px,2.5vw,30px)/1.3 'Cinzel',serif;letter-spacing:.08em}
.etv-footer .etv-footer-brand span{font-size:.65em}
.etv-footer .etv-footer-tagline{margin:12px 0 0;color:#fff;font:400 19px/1.5 'Crimson Pro',Georgia,serif;max-width:320px}
.etv-footer .etv-footer-label{margin:0 0 16px;color:#E8BB69;font:600 11px/1.5 'Cinzel',serif;letter-spacing:.16em;text-transform:uppercase}
.etv-footer .etv-footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:0;padding:0}
.etv-footer .etv-footer-nav a{display:inline-flex;align-items:center;min-height:36px;padding:2px 0;color:#E8BB69;text-decoration:none;font:400 17px/1.5 'Crimson Pro',Georgia,serif;letter-spacing:normal;text-transform:none}
.etv-footer .etv-footer-nav a:hover{color:#fff;text-decoration:underline;text-underline-offset:5px}
.etv-footer a:focus-visible{outline:2px solid #E8BB69;outline-offset:6px}
.etv-footer .etv-footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid #e8bb6933;padding-top:24px}
.etv-footer .etv-footer-bottom p{margin:0;color:#fff;font:400 14px/1.6 'Crimson Pro',Georgia,serif}
@media(max-width:900px){.wordmark .brand-tagline{font-size:13px;max-width:250px}.etv-footer .etv-footer-inner{width:calc(100% - 48px)}.etv-footer .etv-footer-top{grid-template-columns:1fr 1fr;gap:32px}.etv-footer .etv-footer-identity{grid-column:1/-1}}
@media(max-width:500px){footer.etv-footer{padding-top:44px}.etv-footer .etv-footer-inner{width:calc(100% - 40px)}.etv-footer .etv-footer-top{gap:30px 20px;padding-bottom:32px}.wordmark .brand-tagline{font-size:12px;max-width:210px}.library-header{gap:20px;align-items:flex-start}.library-header>.wordmark{white-space:normal}}

/* Align shared interior-page headers with the content column gutters. */
.library-header{position:static;display:flex;justify-content:space-between;align-items:center;padding:26px max(56px,calc((100vw - 1200px)/2));border-bottom:1px solid var(--border);background:var(--dark)}
.library-header .wordmark{font-size:21px}
.library-header a:last-child{font:12px var(--font-display);color:var(--gold-lt);text-decoration:none}
@media(max-width:760px){.library-header{padding:20px}}

/* Content-section headings share the homepage's quieter section-heading scale. */
.hero-title,.intro h2,.section-heading h2,.veil-books .section-heading h2,.cinema h2,.connect h2,.about h2,.book-copy h1,.catalog-heading h1,.series-detail-intro h1{font:400 clamp(32px,3.8vw,56px)/1.18 var(--font-display);letter-spacing:0}

/* Keep the Scripture Studies section within the shared content gutters. */
.studies{width:min(1200px,calc(100% - clamp(40px,11vw,112px)));padding-block:clamp(40px,6vh,72px)}
.studies,.studies .study-section-intro,.studies .series-carousel,.studies .series-track{min-width:0;max-width:100%}
.studies .section-heading{align-items:flex-start;flex-wrap:wrap;gap:10px 20px;margin-bottom:20px}
.studies .section-heading h2{font-size:clamp(24px,2.4vw,32px)}
.studies .section-note{max-width:100%}
.studies .study-section-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px;margin-bottom:24px}
.studies .study-section-intro p{min-width:0;width:auto}
.studies .study-section-intro a{max-width:100%}
.studies .study-section-links{display:flex;align-items:center;justify-content:flex-end;gap:20px;flex-wrap:wrap}
@media(max-width:900px){.studies .study-section-links{justify-content:flex-start}}
@media(max-width:900px){.studies .study-section-intro{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px}.studies .study-section-intro p{width:100%}}
@media(max-width:760px){.studies{width:calc(100% - 40px);padding-block:40px}.studies .section-heading{flex-direction:column;align-items:flex-start;gap:8px;margin-bottom:18px}.studies .section-heading h2{font-size:26px}.studies .section-note{font-size:15px}}

/* Mobile sections follow their content instead of reserving a full blank viewport. */
@media(max-width:760px){
  .opening-scripted:not(.motion-reduced) .opening{height:52svh}
  .motion-reduced .opening{height:52svh!important}
  .opening-pin{position:relative;top:auto;height:100%;min-height:0}
  main>section:not(.opening){min-height:0;scroll-snap-align:none}
  main>.intro{padding-block:20px 40px}
  .veil-books{min-height:0;padding-block:52px}
  main>.studies{padding-block:44px}
  main>.cinema{min-height:0}
  .cinema-inner{padding-block:48px}
  main>.books{padding-block:52px}
  main>.connect{padding-block:52px}
  main>.about{padding-block:52px}
}
@media(max-width:760px) and (prefers-reduced-motion:reduce){.opening-scripted:not(.motion-reduced) .opening{height:100svh}}

/* Keep the landscape phone artwork visible behind the open navigation. */
@media (orientation:landscape) and (max-height:500px){.site-header nav{left:auto;right:30px;width:min(340px,calc(100vw - 60px));background:rgba(0,0,0,.8)!important}.site-header .menu-toggle{background:transparent}}
