/* Shared fixed navigation; one surface across the desktop/mobile breakpoint. */
html{scroll-padding-top:8rem}
.cb-top-header{position:fixed;inset:0 0 auto;z-index:100;display:flex;align-items:center;gap:1.5rem;padding:.75rem clamp(1rem,4vw,4rem);background:transparent;color:#fff;border:0;isolation:isolate}
/* Fade in a separate glass layer so the clear state has no seam or shadow. */
.cb-top-header::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:rgba(22,26,27,.82);box-shadow:0 4px 20px rgba(0,0,0,.18);opacity:0;transition:opacity .3s ease}
.cb-top-header.is-scrolled::before{opacity:1}
@supports ((backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px))){
 .cb-top-header::before{background:rgba(22,26,27,.28);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
}
@media(prefers-reduced-motion:reduce){.cb-top-header::before{transition:none}}
.cb-top-header:has(.cb-top-mobile[open]){background:rgba(22,26,27,.68)}
.cb-top-brand{flex:0 0 auto;display:block;width:150px;transform-origin:center;transition:transform .22s ease}
.cb-top-brand img{display:block;width:100%;height:80px;object-fit:contain}
.cb-top-brand:is(:hover,:focus-visible){transform:scale(1.08)}
.cb-top-links{display:flex;align-items:center;justify-content:flex-end;gap:clamp(1rem,2vw,2rem);margin-left:auto}
.cb-top-header a{color:#fff;text-decoration:none;font-size:.95rem;text-shadow:0 1px 5px #000}
.cb-top-links a{padding:.65rem 0;white-space:nowrap}
.cb-top-header a:hover,.cb-top-header nav a[aria-current="page"]{color:#ead69c}
.cb-top-header :is(a,summary):focus-visible{outline:2px solid #ead69c;outline-offset:3px}
.cb-top-header .cb-top-quote{border:1px solid rgba(255,255,255,.65);border-radius:4px;padding:.65rem 1rem}
.cb-top-links a:not(.cb-top-quote){position:relative;transition:transform .22s ease,color .22s ease}
.cb-top-links a:not(.cb-top-quote)::after{content:"";position:absolute;left:0;right:0;bottom:.25rem;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.cb-top-links a:not(.cb-top-quote):is(:hover,:focus-visible){transform:translateY(-3px)}
.cb-top-links a:not(.cb-top-quote):is(:hover,:focus-visible)::after{transform:scaleX(1)}
.cb-top-links .cb-top-quote,.cb-top-socials a{transition:transform .22s ease,color .22s ease}
.cb-top-links .cb-top-quote:is(:hover,:focus-visible),.cb-top-socials a:is(:hover,:focus-visible){transform:scale(1.08)}
.cb-top-socials{display:flex;gap:.25rem}
.cb-top-socials a{display:flex;align-items:center;justify-content:center;width:40px;height:44px}
.cb-top-socials svg{width:18px;height:20px;fill:currentColor}
.cb-top-mobile{display:none}
.cb-home-page .cb-hero-content{padding-top:7rem;padding-bottom:2rem}
.cb-inner-hero .cb-top-hero-layout{display:flex;justify-content:center;align-items:center;padding-top:9rem;padding-bottom:2.5rem}
.cb-top-hero-layout .cb-inner-hero__center{width:100%;text-align:center}
.cb-top-header--standalone{background:#211914}
.cb-top-header--standalone + main{padding-top:11rem}
@media(max-width:1050px){
 html{scroll-padding-top:6rem}
 .cb-top-header{flex-wrap:wrap;gap:0;padding:.75rem 1.5rem}
 .cb-top-brand{width:110px}
 .cb-top-brand img{height:56px}
 .cb-top-links{display:none}
 .cb-top-socials{margin-left:auto;margin-right:44px}
 .cb-top-mobile{display:block;width:100%;position:static}
 .cb-top-mobile summary{position:absolute;right:1.25rem;top:calc(.75rem + 6px);display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;color:#eee;font-size:0;cursor:pointer;list-style:none}
 .cb-top-mobile summary::-webkit-details-marker{display:none}
 .cb-top-mobile summary span{display:block;width:22px;height:16px;font-size:0;border-top:2px solid currentColor;border-bottom:2px solid currentColor;position:relative}
 .cb-top-mobile summary span::after{content:"";position:absolute;left:0;right:0;top:5px;border-top:2px solid currentColor}
 .cb-top-mobile nav{display:grid;gap:.35rem;margin-top:1rem;padding:.75rem .25rem .25rem;border-top:1px solid rgba(255,255,255,.2);max-height:calc(100svh - 7rem);overflow:auto}
 .cb-top-header .cb-top-mobile nav a{color:#eee;text-shadow:none;font-size:1rem;padding:.65rem .9rem;min-height:44px;border-radius:4px;transition:background-color .18s ease,color .18s ease}
 .cb-top-header .cb-top-mobile nav a:is(:hover,:focus-visible),.cb-top-header .cb-top-mobile nav a[aria-current="page"]{color:#fff;background:rgba(255,255,255,.12)}
 .cb-top-mobile .cb-top-quote{margin-top:.3rem;text-align:center}
 .cb-inner-hero .cb-top-hero-layout{padding-top:8.5rem}
 .cb-top-header--standalone + main{padding-top:9rem}
}
@media(max-width:767.98px){
 .cb-home-page .cb-hero-content{width:100%;min-width:0;padding:2rem 1rem}
 .cb-home-page .cb-hero h1{font-size:clamp(1.9rem,8.5vw,3.5rem)}
}
@media(prefers-reduced-motion:reduce){
 .cb-top-header a,.cb-top-links a:not(.cb-top-quote)::after{transition:none!important}
 .cb-top-header a:is(:hover,:focus-visible){transform:none!important}
}

/* Carry the glossary's warm gold fade into the remaining photo heroes. */
.cb-inner-hero--about{background-image:linear-gradient(to top,rgba(174,139,50,.34),rgba(174,139,50,.12) 28%,transparent 58%),linear-gradient(90deg,rgba(18,14,12,.65),rgba(18,14,12,.35),rgba(18,14,12,.65)),url('../gallery/page-banners/about-open-red-bible.jpg')}
.cb-inner-hero--gallery{background-image:linear-gradient(to top,rgba(174,139,50,.34),rgba(174,139,50,.12) 28%,transparent 58%),linear-gradient(90deg,#12100eaa,#12100e77,#12100eaa),url('../gallery/home/HeroUpdateSecond.JPG')}
.cb-home-page .cb-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(174,139,50,.34),rgba(174,139,50,.12) 28%,transparent 58%);z-index:1}
