:root {
    --ink: #121a16;
    --ink-soft: #27332c;
    --paper: #f4f1e9;
    --paper-deep: #e8e2d6;
    --white: #fffef9;
    --leaf: #83ad22;
    --spark: #c8f43d;
    --sage: #9eab99;
    --line: rgba(18, 26, 22, .16);
    --display: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    --body: "Trebuchet MS", "Gill Sans", sans-serif;
    --shell: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.65; }
body:has(.lightbox) { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1:focus { outline: none; }
.shell { width: var(--shell); margin-inline: auto; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; min-width: 0; }
.section-pad { padding: clamp(76px, 9vw, 132px) 0; }

.site-header { position: sticky; top: 0; z-index: 1000; height: 86px; background: rgba(15, 22, 18, .96); border-bottom: 1px solid rgba(200, 244, 61, .28); backdrop-filter: blur(18px); }
.main-nav { height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 86px; max-height: 70px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; color: #f4f1e9; font-size: .73rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.nav-links > a, .nav-dropdown-toggle { padding: 31px 0 27px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: inherit; cursor: pointer; white-space: nowrap; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.nav-links > a:hover, .nav-links > a.active, .nav-dropdown-toggle:hover, .nav-dropdown.is-open .nav-dropdown-toggle { color: var(--spark); border-color: var(--spark); }
.nav-dropdown { position: relative; }
.nav-flyout { position: absolute; display: none; left: -22px; top: 67px; min-width: 220px; padding: 14px; background: #18221c; border: 1px solid rgba(200, 244, 61, .2); box-shadow: 0 24px 50px rgba(0, 0, 0, .3); }
.nav-dropdown.is-open .nav-flyout { display: block; }
.nav-flyout a { display: block; padding: 10px 12px; color: #e9eadf; text-transform: none; letter-spacing: 0; font-size: .84rem; }
.nav-flyout a:hover, .nav-flyout a.active { color: var(--spark); background: rgba(200, 244, 61, .06); }
.nav-contact { padding: 11px 18px !important; color: var(--ink) !important; background: var(--spark); border: 0 !important; }
.nav-contact:hover { background: white; }
.nav-toggle { display: none; width: 46px; height: 42px; border: 1px solid rgba(255,255,255,.25); background: transparent; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: white; margin: 5px 0; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 12px 24px; border: 1px solid transparent; border-radius: 0; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--spark); color: var(--ink); }
.button-primary:hover { background: white; }
.button-light { background: var(--white); color: var(--ink); }
.button-outline { border-color: var(--ink); background: transparent; }
.text-link { display: inline-flex; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 4px; background: none; color: var(--ink); font-size: .79rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.text-link-light { color: white; }
.eyebrow { display: block; margin-bottom: 18px; color: #5f7628; font-size: .72rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-light { color: var(--spark); }

.home-hero { position: relative; min-height: calc(100vh - 86px); overflow: hidden; background: var(--ink); color: white; }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-in 1.6s ease both; }
.home-hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,15,11,.92) 0%, rgba(8,15,11,.68) 45%, rgba(8,15,11,.12) 80%), linear-gradient(0deg, rgba(8,15,11,.52), transparent 50%); }
.home-hero-content { position: relative; z-index: 2; min-height: calc(100vh - 86px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 70px 0 100px; }
.hero-year { margin-bottom: 24px; color: var(--spark); font-size: .72rem; font-weight: 900; letter-spacing: .24em; }
.mobile-break { display: none; }
.home-hero h1 { max-width: 920px; margin: 0; font: 400 clamp(3.5rem, 8.3vw, 8.3rem)/.89 var(--display); letter-spacing: -.055em; animation: rise-in 1s .12s ease both; }
.home-hero h1 em { color: var(--spark); font-weight: 400; }
.home-hero-content > p { max-width: 580px; margin: 34px 0; color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.5vw, 1.22rem); }
.hero-actions { display: flex; align-items: center; gap: 36px; }
.hero-scroll { position: absolute; z-index: 4; right: max(24px, calc((100vw - 1240px) / 2)); bottom: 34px; width: 38px; height: 60px; border: 1px solid rgba(255,255,255,.5); border-radius: 22px; }
.hero-scroll span { position: absolute; left: 50%; top: 12px; width: 4px; height: 10px; border-radius: 4px; background: var(--spark); transform: translateX(-50%); animation: scroll-cue 1.8s infinite; }
@keyframes hero-in { from { transform: scale(1.07); opacity: .5; } to { transform: scale(1); opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes scroll-cue { 0%,100% { transform: translate(-50%,0); opacity: .4; } 50% { transform: translate(-50%,20px); opacity: 1; } }

.welcome-section { padding: clamp(90px, 11vw, 165px) 0; background: var(--paper); }
.welcome-grid { display: grid; grid-template-columns: 90px 1fr 1fr; gap: clamp(30px, 5vw, 84px); align-items: start; }
.welcome-number { padding-top: 9px; border-top: 1px solid var(--ink); color: #687268; font: italic 1.25rem var(--display); }
.welcome-grid h2, .section-heading h2, .gather-section h2, .contact-banner h2 { margin: 0; font: 400 clamp(2.7rem, 5vw, 5.2rem)/.96 var(--display); letter-spacing: -.045em; }
.welcome-copy { max-width: 530px; font-size: 1.06rem; }
.welcome-copy p:first-child { margin-top: 0; font-size: 1.25rem; color: var(--ink); }
.welcome-copy p { color: #536057; }
.welcome-copy .text-link { margin-top: 18px; }

.pathways { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); }
.pathway-card { position: relative; height: 440px; overflow: hidden; color: white; border-right: 1px solid rgba(255,255,255,.18); }
.pathway-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: transform .6s, filter .6s; }
.pathway-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,16,12,.9), rgba(10,16,12,.04) 75%); }
.pathway-card:hover img { transform: scale(1.06); filter: grayscale(0); }
.pathway-card > div { position: absolute; z-index: 2; left: 38px; right: 38px; bottom: 34px; }
.pathway-card small { color: var(--spark); letter-spacing: .15em; text-transform: uppercase; }
.pathway-card h3 { margin: 8px 0 0; font: 400 clamp(2rem, 3vw, 3rem)/1 var(--display); }
.pathway-index { position: absolute; z-index: 2; top: 28px; right: 30px; font: italic 1.2rem var(--display); }

.sermon-feature { background: var(--white); }
.section-row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 52px; }
.section-heading { max-width: 730px; }
.section-heading.is-centered { margin-inline: auto; text-align: center; }
.section-heading p { max-width: 650px; margin: 22px 0 0; color: #606a63; font-size: 1.05rem; }
.sermon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sermon-card { min-width: 0; }
.sermon-card-visual { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.sermon-card-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .5s, opacity .4s; }
.sermon-card:hover .sermon-card-visual img { transform: scale(1.05); opacity: .9; }
.sermon-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #27332c, #111713); }
.sermon-placeholder span { color: rgba(200,244,61,.12); font: 700 6rem var(--display); }
.play-mark { position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 48px; height: 48px; padding-left: 3px; border-radius: 50%; background: var(--spark); color: var(--ink); font-size: .8rem; }
.sermon-card-copy { padding: 24px 2px 4px; }
.sermon-card-copy time { color: #6f7a72; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sermon-card-copy h3 { margin: 9px 0 6px; font: 400 clamp(1.4rem, 2vw, 1.8rem)/1.16 var(--display); }
.sermon-card-copy h3 a:hover { color: #668a16; }
.sermon-card-copy p { margin: 0; color: #6f7a72; font-size: .85rem; }
.loading-line { min-height: 180px; display: grid; place-items: center; color: #687268; }

.gather-section { background: var(--ink); color: white; }
.gather-grid { display: grid; grid-template-columns: 1.1fr 1fr .8fr; gap: 70px; align-items: end; }
.gather-times { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.2); }
.gather-times > div { padding: 28px 20px 8px 0; }
.gather-times > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.2); }
.gather-times strong, .gather-times span, .gather-times small { display: block; }
.gather-times strong { color: var(--spark); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.gather-times span { margin: 8px 0; font: 400 2rem var(--display); }
.gather-times small, .gather-location { color: rgba(255,255,255,.65); }
.gather-location > span { color: var(--spark); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.gather-location p { margin: 12px 0 26px; }
.events-section { background: var(--paper-deep); }
.event-list { margin-top: 45px; border-top: 1px solid var(--ink); }
.event-row { display: grid; grid-template-columns: 100px 1fr auto; gap: 34px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.event-row time { display: flex; align-items: baseline; gap: 8px; }
.event-row time strong { font: 400 2.4rem var(--display); }
.event-row time span, .event-row a { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.event-row h3 { margin: 0; font: 400 1.45rem var(--display); }

.contact-banner { position: relative; padding: 74px 0; overflow: hidden; background: var(--leaf); color: white; }
.contact-banner::before { content: "GO"; position: absolute; right: 3%; top: -62px; color: rgba(18,26,22,.1); font: 700 15rem/1 var(--display); }
.contact-banner-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-banner h2 { font-size: clamp(2.6rem, 4vw, 4.4rem); }

.site-footer { background: #0b100d; color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 65px; padding: 78px 0 60px; }
.footer-brand img { width: 100px; margin-bottom: 20px; }
.footer-brand p { max-width: 260px; }
.footer-label { display: block; margin-bottom: 18px; color: var(--spark); font-size: .69rem; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.site-footer p { margin: 0; }
.site-footer a:hover { color: var(--spark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: .75rem; }

.page-hero { padding: clamp(100px, 13vw, 180px) 0 90px; color: white; background-color: var(--ink); background-size: cover; background-position: center; }
.page-hero-sermons { background-image: linear-gradient(90deg, rgba(9,15,11,.92), rgba(9,15,11,.48)), url('/media/cta/cta1.webp'); }
.page-hero-gallery { background-image: linear-gradient(90deg, rgba(9,15,11,.9), rgba(9,15,11,.35)), url('/media/gallerybg.webp'); }
.page-hero h1, .editorial-hero h1, .gallery-heading h1, .sermon-detail h1, .error-panel h1 { margin: 0; font: 400 clamp(3.4rem, 8vw, 7.6rem)/.92 var(--display); letter-spacing: -.055em; }
.page-hero p { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.74); font-size: 1.12rem; }

.search-bar { max-width: 920px; margin: 0 auto 65px; }
.search-bar label { display: block; margin-bottom: 12px; color: #5f6b63; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.search-bar > div { display: flex; }
.search-bar input { flex: 1; min-width: 0; height: 58px; padding: 0 20px; border: 1px solid var(--ink); background: var(--white); outline: 0; }
.search-bar input:focus { box-shadow: inset 0 -3px var(--leaf); }
.search-bar .button { height: 58px; }
.results-meta { margin-bottom: 28px; color: #667069; }
.results-meta strong { color: var(--ink); font: 400 1.8rem var(--display); }
.archive-grid { row-gap: 54px; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 28px; margin-top: 70px; }
.pagination button { padding: 10px 0; border: 0; border-bottom: 1px solid; background: none; font-weight: 800; cursor: pointer; }
.pagination button:disabled { opacity: .35; cursor: default; }
.pagination span { color: #687268; font-size: .82rem; }
.empty-state { padding: 80px 20px; text-align: center; }
.empty-state h2 { font: 400 3rem var(--display); }

.sermon-detail-header { padding: 100px 0 64px; background: var(--ink); color: white; }
.sermon-detail-heading { display: grid; grid-template-columns: 1fr 250px; gap: 70px; align-items: end; }
.sermon-detail h1 { max-width: 940px; font-size: clamp(2.8rem, 6vw, 6rem); }
.back-link { display: inline-block; margin-bottom: 38px; color: var(--spark); font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sermon-byline { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); }
.sermon-byline span, .sermon-byline time { display: block; }
.sermon-byline span { font-weight: 800; }
.sermon-byline time { color: rgba(255,255,255,.6); font-size: .84rem; }
.sermon-player-wrap { padding: clamp(55px, 8vw, 110px) 0; }
.video-frame { position: relative; aspect-ratio: 16/9; max-width: 1100px; margin: auto; background: #000; box-shadow: 0 30px 80px rgba(18,26,22,.2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-unavailable { max-width: 900px; margin: auto; padding: 90px 30px; text-align: center; background: var(--ink); color: white; }
.go-monogram { color: rgba(200,244,61,.18); font: 700 7rem/1 var(--display); }
.media-unavailable h2 { font: 400 2.4rem var(--display); }
.media-unavailable p { color: rgba(255,255,255,.65); }
.download-row { display: flex; justify-content: center; gap: 15px; margin-top: 28px; }

.contact-page { min-height: calc(100vh - 86px); display: grid; grid-template-columns: .9fr 1.1fr; background: var(--white); }
.contact-image-panel { position: sticky; top: 86px; height: calc(100vh - 86px); overflow: hidden; background: var(--ink); color: white; }
.contact-image-panel img { width: 100%; height: 100%; object-fit: cover; opacity: .52; }
.contact-image-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11,17,13,.85), transparent 65%); }
.contact-image-copy { position: absolute; z-index: 2; left: clamp(30px, 5vw, 80px); right: 30px; bottom: 70px; }
.contact-image-copy h1 { margin: 0; font: 400 clamp(3rem, 5.4vw, 5.8rem)/.92 var(--display); letter-spacing: -.05em; }
.contact-form-panel { padding: clamp(65px, 8vw, 115px) clamp(30px, 7vw, 110px); }
.form-intro { max-width: 650px; margin-bottom: 45px; }
.form-intro h2, .success-state h2 { margin: 0; font: 400 clamp(2.4rem, 4.4vw, 4.3rem)/1 var(--display); }
.form-intro p { color: #69736c; }
.contact-form { max-width: 780px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.field { position: relative; margin-bottom: 24px; }
.field label { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field label span { color: #849087; font-weight: 400; }
.field input, .field textarea { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid #8e9891; border-radius: 0; background: transparent; outline: none; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--leaf); box-shadow: 0 2px var(--leaf); }
.field .validation-message { display: block; margin-top: 5px; color: #a12828; font-size: .75rem; }
.validation-summary { margin-bottom: 20px; color: #a12828; font-size: .84rem; }
.validation-summary ul { margin: 0; padding-left: 20px; }
.honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.submit-button { margin-top: 8px; }
.form-error { margin-bottom: 24px; padding: 15px 18px; border-left: 4px solid #b6362f; background: #f7e9e5; }
.contact-direct { display: flex; gap: 50px; margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-direct span { display: block; color: #687268; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.success-state { max-width: 600px; margin-top: 80px; }
.success-state p { margin: 24px 0 32px; color: #657068; }
.success-mark { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 32px; border-radius: 50%; background: var(--spark); font-size: 1.7rem; }

.editorial-hero { position: relative; min-height: 650px; display: flex; align-items: end; overflow: hidden; color: white; background: var(--ink); }
.editorial-hero-image { position: absolute; inset: 0; background-image: var(--hero-image); background-size: cover; background-position: center; }
.editorial-hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,15,11,.94), rgba(8,15,11,.12) 75%), linear-gradient(90deg, rgba(8,15,11,.55), transparent); }
.editorial-hero-copy { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 80px; }
.editorial-hero h1 { max-width: 950px; }
.editorial-hero p { max-width: 740px; margin: 26px 0 0; color: rgba(255,255,255,.78); font-size: 1.18rem; }
.editorial-content { background: var(--paper); }
.prose-grid { max-width: 1000px; }
.prose-section { display: grid; grid-template-columns: minmax(220px, .7fr) 1.3fr; gap: clamp(35px, 7vw, 100px); padding: 44px 0; border-top: 1px solid var(--line); }
.prose-section:last-child { border-bottom: 1px solid var(--line); }
.prose-section h2 { margin: 0; font: 400 clamp(1.7rem, 3vw, 2.6rem)/1.06 var(--display); }
.prose-section p { margin-top: 0; color: #4e5b52; font-size: 1.03rem; }
.prose-section ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 30px; padding: 0; list-style: none; }
.prose-section li { position: relative; padding: 8px 0 8px 21px; border-bottom: 1px solid var(--line); }
.prose-section li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; background: var(--leaf); transform: rotate(45deg); }
.resource-section { background: var(--white); }
.resource-section .section-heading { margin-bottom: 45px; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.resource-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid transparent; transition: transform .25s, border-color .25s; }
.resource-card:hover { transform: translateY(-5px); border-color: var(--leaf); }
.resource-image { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-deep); }
.resource-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.resource-card:hover img { transform: scale(1.04); }
.resource-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 28px; }
.resource-type { color: #647c2b; font-size: .66rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.resource-copy h3 { margin: 10px 0; font: 400 1.65rem/1.1 var(--display); }
.resource-copy p { color: #657068; font-size: .88rem; }
.resource-copy .text-link { margin-top: auto; padding-top: 18px; }

.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 390px; gap: 20px; }
.album-card { position: relative; overflow: hidden; background: var(--ink); color: white; }
.album-card:nth-child(7n + 1) { grid-column: span 2; }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .4s; }
.album-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,15,11,.9), transparent 70%); }
.album-card:hover img { transform: scale(1.05); opacity: .82; }
.album-card > div:last-child { position: absolute; left: 28px; right: 28px; bottom: 24px; }
.album-card time { color: var(--spark); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.album-card h2 { margin: 5px 0 0; font: 400 2rem/1 var(--display); }
.album-count { position: absolute; top: 20px; right: 20px; padding: 5px 9px; background: rgba(8,15,11,.75); font-size: .68rem; }
.gallery-heading { padding: 90px 0 55px; }
.gallery-heading .eyebrow { margin-top: 25px; }
.gallery-heading h1 { font-size: clamp(3rem, 6vw, 6rem); }
.gallery-heading p { color: #687268; }
.gallery-video { margin-bottom: 30px; }
.gallery-video video { width: 100%; max-height: 720px; background: #000; }
.photo-grid { columns: 4 240px; column-gap: 16px; padding-bottom: 100px; }
.photo-tile { width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: #ddd; cursor: zoom-in; break-inside: avoid; overflow: hidden; }
.photo-tile img { width: 100%; transition: transform .4s, filter .4s; }
.photo-tile:hover img { transform: scale(1.025); filter: brightness(.82); }
.lightbox { position: fixed; z-index: 3000; inset: 0; display: grid; place-items: center; padding: 40px 80px; background: rgba(4,7,5,.96); color: white; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 80px); object-fit: contain; }
.lightbox button { position: absolute; border: 0; background: transparent; color: white; font: 300 4rem/1 var(--display); cursor: pointer; }
.lightbox-close { top: 18px; right: 28px; }
.lightbox-prev { left: 20px; top: 48%; }
.lightbox-next { right: 20px; top: 48%; }
.lightbox > span { position: absolute; bottom: 12px; font-size: .72rem; letter-spacing: .12em; }

.error-panel { min-height: 70vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 70px; padding-bottom: 70px; }
.error-panel img { width: 150px; margin-bottom: 25px; }
.error-panel h1 { max-width: 900px; }
.error-panel p { color: #657068; font-size: 1.05rem; }
.error-panel .button { margin-top: 18px; }
.page-loading { min-height: 70vh; display: grid; place-items: center; }

#blazor-error-ui { color-scheme: light only; background: #fff3cd; bottom: 0; box-shadow: 0 -1px 2px rgba(0,0,0,.2); box-sizing: border-box; display: none; left: 0; padding: .8rem 1.25rem; position: fixed; width: 100%; z-index: 4000; }
#blazor-error-ui .dismiss { cursor: pointer; position: absolute; right: .75rem; top: .5rem; }

@media (max-width: 1100px) {
    :root { --shell: min(100% - 36px, 920px); }
    .nav-toggle { display: block; }
    .nav-links { position: fixed; inset: 86px 0 auto; display: none; max-height: calc(100vh - 86px); overflow: auto; padding: 24px 18px 35px; background: #111913; align-items: stretch; flex-direction: column; gap: 0; }
    .nav-links.is-open { display: flex; }
    .nav-links > a, .nav-dropdown-toggle { display: block; width: 100%; padding: 14px; border: 0; text-align: center; }
    .nav-dropdown { width: 100%; }
    .nav-flyout { position: static; min-width: 0; padding: 4px 20px 12px; border: 0; box-shadow: none; text-align: center; }
    .nav-contact { margin-top: 12px; }
    .welcome-grid { grid-template-columns: 60px 1fr; }
    .welcome-copy { grid-column: 2; }
    .gather-grid { grid-template-columns: 1fr 1fr; }
    .gather-location { grid-column: 2; }
    .sermon-grid, .resource-grid { grid-template-columns: repeat(2, 1fr); }
    .album-grid { grid-template-columns: repeat(2, 1fr); }
    .album-card:nth-child(7n + 1) { grid-column: span 1; }
    .footer-grid { grid-template-columns: 1.5fr 1fr; }
}

@media (max-width: 760px) {
    :root { --shell: calc(100% - 28px); }
    .site-header, .main-nav { height: 74px; }
    .nav-links { inset: 74px 0 auto; max-height: calc(100vh - 74px); }
    .brand img { width: 72px; max-height: 58px; }
    .home-hero, .home-hero-content { min-height: calc(100svh - 74px); }
    .home-hero-wash { background: linear-gradient(0deg, rgba(8,15,11,.92), rgba(8,15,11,.28)), linear-gradient(90deg, rgba(8,15,11,.6), transparent); }
    .home-hero h1 { max-width: 100%; font-size: clamp(2.7rem, 11.7vw, 3.55rem); overflow-wrap: anywhere; }
    .mobile-break { display: inline; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 24px; }
    .hero-scroll { display: none; }
    .welcome-grid { grid-template-columns: 1fr; }
    .welcome-number { width: 55px; }
    .welcome-copy { grid-column: 1; }
    .pathways { grid-template-columns: 1fr; }
    .pathway-card { height: 310px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
    .section-row { align-items: flex-start; flex-direction: column; }
    .sermon-grid, .resource-grid { grid-template-columns: 1fr; }
    .gather-grid { grid-template-columns: 1fr; }
    .gather-location { grid-column: 1; }
    .event-row { grid-template-columns: 75px 1fr; gap: 15px; }
    .event-row a { grid-column: 2; }
    .contact-banner-inner { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { flex-direction: column; }
    .search-bar > div { flex-direction: column; }
    .search-bar .button { width: 100%; }
    .archive-grid { row-gap: 42px; }
    .pagination { gap: 14px; }
    .pagination span { display: none; }
    .sermon-detail-heading { grid-template-columns: 1fr; gap: 38px; }
    .contact-page { grid-template-columns: 1fr; }
    .contact-image-panel { position: relative; top: 0; height: 58vh; min-height: 450px; }
    .contact-form-panel { padding-block: 65px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-direct { flex-direction: column; gap: 20px; }
    .editorial-hero { min-height: 520px; }
    .prose-section { grid-template-columns: 1fr; gap: 20px; }
    .prose-section ul { grid-template-columns: 1fr; }
    .album-grid { grid-template-columns: 1fr; grid-auto-rows: 360px; }
    .lightbox { padding: 50px 44px; }
    .lightbox-prev { left: 4px; }
    .lightbox-next { right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Administrator content studio */
.admin-auth-body { min-height: 100vh; background: #0e1611; }
.admin-auth-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.admin-auth-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: clamp(35px, 5vw, 76px); overflow: hidden; color: white; background: linear-gradient(145deg, rgba(12,22,15,.92), rgba(12,22,15,.7)), url('/media/homebg.webp') center/cover; }
.admin-auth-brand::after { content: "GO"; position: absolute; right: -25px; bottom: -90px; color: rgba(200,244,61,.09); font: 700 19rem/1 var(--display); }
.admin-auth-brand > a, .admin-auth-brand > div, .admin-auth-brand > small { position: relative; z-index: 2; }
.admin-auth-brand img { width: 110px; }
.admin-auth-brand h1 { margin: 0; font: 400 clamp(4rem, 7vw, 7.8rem)/.82 var(--display); letter-spacing: -.06em; }
.admin-auth-brand h1 em { color: var(--spark); font-weight: 400; }
.admin-auth-brand p { max-width: 560px; margin-top: 30px; color: rgba(255,255,255,.68); font-size: 1.05rem; }
.admin-auth-brand small { color: rgba(255,255,255,.45); letter-spacing: .12em; text-transform: uppercase; }
.admin-auth-form-wrap { display: grid; place-items: center; padding: 50px; background: var(--paper); }
.admin-auth-form { width: min(100%, 510px); }
.admin-auth-form h2 { margin: 0; font: 400 clamp(3rem, 5vw, 5rem)/.95 var(--display); letter-spacing: -.045em; }
.admin-auth-form > p { margin: 18px 0 42px; color: #657068; }
.admin-auth-form .field { margin-bottom: 26px; }
.admin-auth-form .field input { padding: 14px 0; }
.admin-remember { display: flex; align-items: center; gap: 10px; margin: 3px 0 26px; color: #5a655d; font-size: .82rem; cursor: pointer; }
.admin-remember input { width: 17px; height: 17px; accent-color: var(--leaf); }
.admin-auth-submit { width: 100%; }
.admin-back-link { display: block; margin-top: 24px; color: #657068; text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.admin-back-link:hover { color: var(--leaf); }
.admin-validation { margin: 0 0 24px; color: #a12828; font-size: .82rem; }
.admin-validation:empty { display: none; }
.admin-validation ul { padding-left: 18px; }
.admin-password-shell { min-height: 100vh; display: grid; place-items: center; padding: 50px 20px; background: radial-gradient(circle at 10% 10%, rgba(132,173,34,.16), transparent 38%), var(--paper); }
.admin-password-shell .admin-auth-form { padding: clamp(30px, 5vw, 65px); background: var(--white); border-top: 5px solid var(--spark); box-shadow: 0 28px 80px rgba(18,26,22,.14); }
.admin-form-logo { width: 88px; margin-bottom: 35px; padding: 10px; background: var(--ink); }
.admin-signout-form { text-align: center; }
.admin-signout-form .admin-form-logo { margin-inline: auto; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 260px minmax(0, 1fr); background: #eceae3; }
.admin-sidebar { position: sticky; z-index: 1100; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 34px 25px 26px; color: white; background: #101812; }
.admin-logo img { width: 82px; }
.admin-studio-name { margin: 30px 0 50px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.16); }
.admin-studio-name span, .admin-studio-name strong { display: block; }
.admin-studio-name span { color: var(--spark); font-size: .64rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
.admin-studio-name strong { font: 400 2rem var(--display); }
.admin-sidebar nav { display: grid; gap: 4px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 17px; padding: 13px 15px; color: rgba(255,255,255,.68); border-left: 2px solid transparent; font-size: .82rem; font-weight: 800; letter-spacing: .05em; }
.admin-sidebar nav a span { color: rgba(200,244,61,.42); font: italic .75rem var(--display); }
.admin-sidebar nav a:hover, .admin-sidebar nav a.active { color: white; border-color: var(--spark); background: rgba(200,244,61,.07); }
.admin-sidebar nav a.active span { color: var(--spark); }
.admin-sidebar-bottom { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); }
.admin-sidebar-bottom a { color: rgba(255,255,255,.58); font-size: .76rem; }
.admin-sidebar-bottom a:hover { color: var(--spark); }
.admin-sidebar-bottom span { display: inline-block; width: 22px; color: var(--spark); }
.admin-workspace { min-width: 0; }
.admin-topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(25px, 4vw, 60px); border-bottom: 1px solid rgba(18,26,22,.12); background: rgba(250,248,242,.9); backdrop-filter: blur(14px); }
.admin-topbar > div:first-of-type span, .admin-topbar > div:first-of-type strong { display: block; }
.admin-topbar > div:first-of-type span { color: #6b766e; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.admin-topbar > div:first-of-type strong { font-size: .85rem; }
.admin-user { display: flex; align-items: center; gap: 11px; }
.admin-user > span { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--ink); color: var(--spark); font-weight: 900; }
.admin-user small { color: #59635c; }
.admin-mobile-menu { display: none; border: 0; background: transparent; font-size: 1.4rem; }
.admin-main { padding: clamp(38px, 5vw, 72px); }
.admin-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 50px; }
.admin-page-heading h1 { margin: 0; font: 400 clamp(3.5rem, 6vw, 6.5rem)/.9 var(--display); letter-spacing: -.055em; }
.admin-page-heading p { margin: 18px 0 0; color: #637068; }
.admin-heading-compact h1 { font-size: clamp(3.3rem, 5vw, 5.4rem); }
.admin-breadcrumb { display: inline-block; margin-bottom: 28px; color: #617526; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-bottom: 34px; background: rgba(18,26,22,.14); border: 1px solid rgba(18,26,22,.14); }
.admin-metric { min-height: 215px; display: flex; flex-direction: column; padding: 25px; background: #f8f6f0; }
.admin-metric > span { color: #68736b; font-size: .67rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.admin-metric strong { margin: auto 0 8px; font: 400 4.5rem/.9 var(--display); }
.admin-metric small { display: flex; justify-content: space-between; color: #6d776f; }
.admin-metric b { color: #58701f; }
.admin-metric-featured { background: var(--spark); }
.admin-metric-featured > span, .admin-metric-featured small { color: rgba(18,26,22,.68); }
.admin-metric:hover b { text-decoration: underline; }
.admin-quick-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.admin-quick-card { position: relative; min-height: 420px; overflow: hidden; }
.admin-quick-dark { display: grid; grid-template-columns: 65px 1fr; gap: 28px; padding: clamp(34px, 5vw, 65px); background: var(--ink); color: white; }
.admin-card-number { padding-top: 8px; border-top: 1px solid rgba(255,255,255,.3); color: var(--spark); font: italic 1rem var(--display); }
.admin-quick-card h2 { margin: 0; font: 400 clamp(2.3rem, 4vw, 4.2rem)/.95 var(--display); letter-spacing: -.04em; }
.admin-quick-card p { max-width: 540px; color: rgba(255,255,255,.63); }
.admin-quick-card .text-link { margin-top: 22px; }
.admin-quick-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.admin-quick-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,15,11,.9), rgba(9,15,11,.05)); }
.admin-quick-image > div { position: absolute; z-index: 2; left: 38px; right: 38px; bottom: 38px; color: white; }
.admin-quick-image h2 { margin-bottom: 25px; }

.admin-panel, .admin-form-card { background: #faf8f2; border: 1px solid rgba(18,26,22,.12); }
.admin-panel-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding: 24px 28px; border-bottom: 1px solid rgba(18,26,22,.12); }
.admin-panel-toolbar > span { color: #6b756e; font-size: .72rem; }
.admin-search label { display: block; margin-bottom: 7px; color: #68736b; font-size: .64rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.admin-search > div { display: flex; }
.admin-search input { width: min(42vw, 390px); padding: 10px 13px; border: 1px solid #a7afa9; background: white; outline: none; }
.admin-search input:focus { border-color: var(--leaf); }
.admin-search button { padding: 0 18px; border: 0; background: var(--ink); color: white; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 15px 18px; color: #747e77; background: #f1eee6; font-size: .63rem; letter-spacing: .13em; text-align: left; text-transform: uppercase; }
.admin-table td { padding: 18px; border-top: 1px solid rgba(18,26,22,.1); vertical-align: middle; }
.admin-table td:first-child { white-space: nowrap; color: #69746c; font-size: .78rem; }
.admin-table td:nth-child(2) { min-width: 330px; }
.admin-table td strong, .admin-table td small { display: block; }
.admin-table td strong { font: 400 1.15rem var(--display); }
.admin-table td small { color: #747e77; }
.media-badges { display: flex; gap: 5px; }
.media-badges span { padding: 3px 6px; color: #9ba19d; background: #e5e3dc; font-size: .57rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.media-badges .has-media { color: #34420f; background: #dff59f; }
.admin-row-actions { min-width: 190px; text-align: right; }
.admin-row-actions a, .admin-row-actions button { margin-left: 12px; padding: 0; border: 0; border-bottom: 1px solid; background: none; color: #475831; font-size: .68rem; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.admin-row-actions > span { display: block; color: #9a2d27; font-size: .68rem; font-weight: 900; }
.admin-row-actions .danger-link { color: #a0322d; }
.admin-loading { min-height: 260px; display: grid; place-items: center; color: #68736b; }
.admin-alert { margin-bottom: 25px; padding: 16px 20px; border-left: 4px solid; }
.admin-alert-error { border-color: #a3322d; background: #f7e8e5; color: #7a2723; }
.admin-alert-success { border-color: var(--leaf); background: #eff7dc; color: #3e5612; }

.admin-editor-grid { display: grid; gap: 24px; }
.admin-form-card { padding: clamp(25px, 4vw, 44px); }
.admin-form-card-heading { display: grid; grid-template-columns: 52px 1fr; gap: 20px; margin-bottom: 36px; }
.admin-form-card-heading > span { padding-top: 7px; border-top: 1px solid var(--ink); color: #667a2e; font: italic 1rem var(--display); }
.admin-form-card-heading h2 { margin: 0; font: 400 2.2rem/1 var(--display); }
.admin-form-card-heading p { margin: 8px 0 0; color: #707a73; font-size: .82rem; }
.admin-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-field { margin-bottom: 22px; }
.admin-field label { display: flex; justify-content: space-between; margin-bottom: 7px; color: #4e5951; font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.admin-field label span { color: #929a94; font-weight: 400; }
.admin-field input, .admin-field textarea, .admin-field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #aeb5b0; border-radius: 0; background: white; outline: none; }
.admin-field input:focus, .admin-field textarea:focus { border-color: var(--leaf); box-shadow: 0 0 0 2px rgba(131,173,34,.16); }
.admin-field .validation-message { color: #a12828; font-size: .7rem; }
.admin-upload-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.admin-upload-box { position: relative; min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 25px; border: 1px dashed #8e9991; background: #f2f0e9; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.admin-upload-box:hover { border-color: var(--leaf); background: #f5f9e9; }
.admin-upload-box input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.admin-upload-icon { margin-bottom: 10px; color: #66821e; font: 400 2.1rem var(--display); }
.admin-upload-box strong { font: 400 1.2rem var(--display); }
.admin-upload-box small { margin: 6px 0 15px; color: #778179; font-size: .68rem; }
.admin-upload-box b { max-width: 100%; color: #51631f; font-size: .67rem; overflow-wrap: anywhere; }
.admin-form-actions { display: flex; justify-content: flex-end; gap: 12px; }

.admin-gallery-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; }
.admin-gallery-create { position: sticky; top: 105px; }
.admin-gallery-create .admin-form-card-heading { grid-template-columns: 40px 1fr; }
.admin-gallery-drop { min-height: 190px; margin: 8px 0 20px; }
.admin-gallery-submit { width: 100%; }
.admin-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.admin-section-heading h2 { margin: 0; font: 400 2.4rem var(--display); }
.admin-section-heading .eyebrow { margin-bottom: 4px; }
.admin-section-heading > a { color: #596d22; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.admin-album-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.admin-album-card { background: #faf8f2; border: 1px solid rgba(18,26,22,.12); }
.admin-album-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--ink); }
.admin-album-cover img { width: 100%; height: 100%; object-fit: cover; }
.admin-album-cover > span { position: absolute; right: 10px; bottom: 10px; padding: 4px 8px; background: rgba(12,20,14,.82); color: white; font-size: .62rem; }
.admin-album-copy { padding: 18px; }
.admin-album-copy small { color: #737d76; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.admin-album-copy h3 { min-height: 48px; margin: 5px 0 16px; font: 400 1.35rem/1.05 var(--display); }
.admin-add-media { position: relative; display: inline-block; color: #53691e; font-size: .68rem; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.admin-add-media input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admin-add-media span { border-bottom: 1px solid; }
.admin-upload-status { margin: 10px 0 0; color: #677169; font-size: .7rem; }

@media (max-width: 1200px) {
    .admin-metrics { grid-template-columns: repeat(2, 1fr); }
    .admin-gallery-layout { grid-template-columns: 1fr; }
    .admin-gallery-create { position: static; }
}

@media (max-width: 900px) {
    .admin-auth-shell { grid-template-columns: 1fr; }
    .admin-auth-brand { min-height: 420px; }
    .admin-auth-brand small { display: none; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: fixed; left: -280px; width: 260px; transition: left .25s; }
    .admin-shell:has(.admin-sidebar-scrim) .admin-sidebar { left: 0; }
    .admin-sidebar-scrim { position: fixed; z-index: 1050; inset: 0; border: 0; background: rgba(6,10,7,.55); }
    .admin-mobile-menu { display: block; }
    .admin-topbar > div:first-of-type { display: none; }
    .admin-quick-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .admin-auth-form-wrap { padding: 55px 22px; }
    .admin-auth-brand { padding: 30px 24px; }
    .admin-auth-brand h1 { font-size: 3.8rem; }
    .admin-main { padding: 36px 16px; }
    .admin-topbar { padding-inline: 18px; }
    .admin-user small { display: none; }
    .admin-page-heading { align-items: flex-start; flex-direction: column; }
    .admin-page-heading .button { width: 100%; }
    .admin-metrics { grid-template-columns: 1fr; }
    .admin-metric { min-height: 175px; }
    .admin-quick-dark { grid-template-columns: 1fr; }
    .admin-panel-toolbar { align-items: stretch; flex-direction: column; }
    .admin-search input { width: 100%; }
    .admin-field-grid, .admin-upload-grid, .admin-album-grid { grid-template-columns: 1fr; }
    .admin-field-wide { grid-column: 1; }
    .admin-form-actions { flex-direction: column-reverse; }
    .admin-form-actions .button { width: 100%; }
}
