/* Shared cinematic theme. Page behavior and data remain in existing modules. */
:root{--bg:#14161c;--panel:#1c1f27;--border:#393a3d;--text:#e6e8ee;--muted:#b0b3bc;--accent:#c9a24b;--accent-soft:#332b20;color-scheme:dark}
body{font:17px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}
h1,h2,h3,.entity-name{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.25;text-wrap:balance}
h1{font-size:clamp(1.9rem,3.3vw,2.8rem)}h2{font-size:1.6rem}h3{font-size:1.25rem}
a{color:var(--accent);text-underline-offset:4px}a:hover{text-decoration:underline}button,input,select{font:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #e6c77d;outline-offset:4px}
[hidden]{display:none!important}img{max-width:100%}main:focus{outline:none}
.skip-link{position:fixed;top:-100px;left:16px;z-index:1000;background:var(--panel);padding:12px 20px}.skip-link:focus{top:8px}
header#site-header{padding:16px max(24px,calc((100vw - 1152px)/2));gap:18px;background:#14161c;border-bottom:1px solid #53452f}
.brand{gap:12px;flex-shrink:0}.brand:hover{text-decoration:none}.brand img{width:32px;height:32px}
.brand-lockup{display:flex;flex-direction:column;width:158px}.brand-name{font:30px/1 Georgia,serif;letter-spacing:.21em;color:#f0e4c9}
.brand-tagline{font:11px/1.5 system-ui,sans-serif;letter-spacing:.13em;text-align:center;margin-top:5px;white-space:nowrap;color:#d0c7b3}
#site-header nav{gap:24px;font-size:.87rem}#site-header nav a{padding:8px 0;color:var(--muted)}#site-header nav a.active{color:var(--accent)}
.home-main{max-width:1200px;padding:28px 24px 64px}.cinema-hero{position:relative;min-height:440px;display:flex;align-items:center;justify-content:flex-end;background:#121315;isolation:isolate}
.cinema-art{display:block}.cinema-hero>.cinema-art,.library-intro>.cinema-art{position:absolute;inset:0;z-index:-1}.cinema-art img{display:block;width:100%;height:100%;object-fit:cover}
.cinema-copy{width:45%;padding:40px 36px 40px 16px}.cinema-copy h1{margin:12px 0 20px;color:#f2e9d8}.cinema-copy>p:not(.eyebrow){color:#d5d1c9;max-width:32ch}
.eyebrow{font:600 .72rem/1.5 system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:var(--accent);margin:0 0 12px}
.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:26px;font-size:.88rem}.button-bronze{display:inline-block;padding:10px 19px;border:1px solid #a78546;background:linear-gradient(#665333,#423723);color:#fff0d3;text-decoration:none}
.metal-frame{border:1px solid #78603c}.corner{position:absolute;width:48px;height:48px;background:url('images/theme-cinematic-v1/web/iron-corner-96.webp') center/contain no-repeat;pointer-events:none}.tl{top:-3px;left:-3px}.tr{top:-3px;right:-3px;transform:rotate(90deg)}.br{bottom:-3px;right:-3px;transform:rotate(180deg)}.bl{bottom:-3px;left:-3px;transform:rotate(270deg)}
.home-page .featured-hero-wrap{max-width:none;padding:0;margin:36px 0}.home-page .featured-hero{border-radius:0;background:#191c22;border-color:#4c4232}.home-page .featured-hero-image{flex-basis:34%;min-height:230px;background-image:url('images/theme-cinematic-v1/web/psalm-83-confederacy-featured-v3-1280.webp')}.home-page .featured-hero-body{padding:28px 36px}.home-page .featured-hero-body h2{font-size:1.8rem}.home-page .featured-hero-body p{font-size:1rem}
.home-page .section-label{text-align:left;margin:36px 0 18px;padding-bottom:12px;border-bottom:1px solid #514432;color:var(--text);font-size:1.35rem}.home-page .studies-grid{display:grid;grid-template-columns:1fr;max-width:none;padding:0;gap:0}.home-page .tier-card{border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;padding:20px 0}.home-page .tiers{max-width:none;padding:0;gap:28px}.home-page .placeholder-note{text-align:left;max-width:none;padding:0;font-size:.85rem}
.explore-heading{margin-top:48px}.explore-heading h2{margin:8px 0 22px}.explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.explore-card{border:1px solid var(--border);background:var(--panel);color:var(--text);text-decoration:none}.explore-card picture{display:block;aspect-ratio:1.8;overflow:hidden}.explore-card img{width:100%;height:100%;object-fit:cover;display:block}.explore-card>div{padding:22px}.explore-card h3{margin:0 0 10px}.explore-card p{color:var(--muted);font-size:.9rem;margin:0 0 16px}.explore-card span{color:var(--accent);font-size:.85rem}
.library-intro{position:relative;isolation:isolate;max-width:1152px;margin:28px auto 0;min-height:320px;display:flex;align-items:center;background:#16171a;border:1px solid #4c4232}.library-intro>div{width:50%;padding:36px}.library-intro h1{margin:12px 0}.library-intro p:not(.eyebrow){color:var(--muted)}
.library-page .sub-nav{position:sticky;top:var(--header-h,80px);z-index:30;background:var(--panel);max-width:1200px;margin:24px auto 0;padding:12px 24px;gap:28px}.sub-nav a{padding:6px 0}.library-page section{scroll-margin-top:calc(var(--header-h,80px) + 80px)}
.layout{grid-template-columns:minmax(0,1fr) minmax(0,380px)}.layout>*{min-width:0}.video-pane{top:calc(var(--header-h,80px) + 80px)}.claim,.place-card,.teacher-card{border-radius:3px;padding:24px;margin-bottom:20px}.claim p{font-size:1rem;line-height:1.75}.claim .meta,.view-row{font-size:.85rem}
.study-content{max-width:1000px;padding-top:28px}.study-title{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:24px}.study-hero-img{border-radius:2px;max-height:290px}.study-subnav-inner{padding-top:8px;padding-bottom:8px}.study-subnav-links a,.resources-toggle{padding:8px 12px;font-size:.85rem}.study-subnav-links a{border-radius:2px}.study-subnav-links a.active{box-shadow:inset 0 -2px var(--accent)}
table.overview-table{font-size:1rem}table.overview-table th{width:145px;font-size:.78rem}table.overview-table td{padding:16px 0}.scripture-inline{font-family:Georgia,serif;font-size:1.13rem;line-height:1.9;max-width:70ch}
h2.section-title{font-size:1.5rem;margin-top:44px;border-color:#665132;padding-bottom:12px}table.entities{font-size:.9rem}table.entities td{padding:12px 10px}.interp-list li{border-radius:2px;border-left:3px solid #957343;font-size:.95rem;line-height:1.75}.xref-list li{border-radius:2px;font-size:.95rem}.open-q-list li{font-size:.95rem}
.gl-main{max-width:820px;padding-top:48px;padding-bottom:64px}.gl-main h2{font-size:1.5rem;border-color:#665132}.gl-main dt{color:#e5d4ae}.gl-main dd{line-height:1.85}
.wik-main{max-width:1000px;padding-top:24px}.wik-hero{border:1px solid #514432;background-image:url('images/theme-cinematic-v1/web/what-is-kairos-hero-1280.webp')}.wik-pullquote{font-family:Georgia,serif;font-size:1.45rem}.wik-feature-text h2,.wik-interpret-text h2{font-size:1.65rem}.wik-feature-text p,.wik-interpret-text p{line-height:1.85}.wik-interpret-media img{border-radius:2px}
.entity-drawer .entity-name{font-family:Georgia,serif;font-size:1.75rem}.entity-drawer-body{line-height:1.8}.entity-section-toggle{min-height:38px}.entity-drawer-close{min-width:36px;min-height:36px}
footer{margin-top:24px;padding-top:28px;line-height:1.8}p,dd,li{overflow-wrap:break-word}
@media(max-width:900px){.layout{grid-template-columns:1fr}.video-pane{position:static}.cinema-copy{width:49%;padding-right:24px}.explore-grid{gap:14px}.study-subnav-title{display:none}.library-intro{margin-left:24px;margin-right:24px}}
@media(max-width:700px){header#site-header{padding:12px 16px;gap:12px}#site-header nav{gap:18px;font-size:.82rem}.home-main{padding:16px 16px 40px}.cinema-hero{display:block;min-height:0}.cinema-hero>.cinema-art{position:relative;z-index:0;aspect-ratio:2}.cinema-copy{width:100%;padding:24px;background:#191c22}.cinema-copy h1{font-size:2rem}.corner{display:none}.home-page .featured-hero-body{padding:24px}.home-page .featured-hero-image{flex-basis:auto;min-height:180px;background-image:url('images/theme-cinematic-v1/web/psalm-83-confederacy-featured-v3-640.webp')}.home-page .tiers,.explore-grid{grid-template-columns:1fr}.explore-card{display:grid;grid-template-columns:35% 1fr}.explore-card picture{aspect-ratio:auto;height:100%}.explore-card>div{padding:18px}.explore-card p{font-size:.85rem}.library-intro{margin:16px;min-height:0;display:block}.library-intro>.cinema-art{position:relative;z-index:0;aspect-ratio:2}.library-intro>div{width:auto;padding:24px}.library-page .sub-nav{gap:22px;padding:10px 16px}.study-content{padding:20px 16px}.study-subnav-links a{padding:9px 10px}.resources-toggle{padding:8px}.gl-main{padding:24px 20px}.wik-main{padding:16px 16px 40px}.wik-hero{background-image:url('images/theme-cinematic-v1/web/what-is-kairos-hero-640.webp')}table.overview-table th{width:90px;padding-right:12px}.claim{padding:20px}.brand-lockup{width:145px}.brand-name{font-size:28px;letter-spacing:.18em}.brand-tagline{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}


/* Leave breathing room below both sticky navigation rows. */
h2.section-title,table.overview-table tr[id]{scroll-margin-top:calc(var(--sticky-offset,140px) + 12px)}
