:root {
    --navy: #092b50;
    --navy-deep: #061d36;
    --navy-hover: #164572;
    --white: #fff;
    --surface: #f7f9fb;
    --line: rgb(9 43 80 / 16%);
    --line-strong: rgb(9 43 80 / 30%);
    --muted-navy: rgb(9 43 80 / 72%);
    --focus: #78b5ef;
    --font-sans: "Advent Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --container: 80rem;
    --reading: 46rem;
    --radius: .375rem;
    --space-section: clamp(3.75rem, 6vw, 5.5rem);
    --ease-standard: cubic-bezier(.2, .8, .2, 1);
    --duration-fast: 160ms;
    --duration-standard: 240ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body {
    margin: 0;
    overflow-x: hidden;
    background: var(--white);
    color: var(--navy);
    font-family: var(--font-body);
    font-size: clamp(1rem, .97rem + .12vw, 1.075rem);
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
body.nav-open, body.modal-open { overflow: hidden; }
.creation-grid { display: grid; width: 100%; min-height: 100vh; grid-template-columns: minmax(0, 6fr) minmax(0, 1fr); }
.site-canvas { min-width: 0; overflow-x: clip; }
.sabbath-column { position: relative; z-index: 55; min-width: 0; background: var(--navy-deep); color: var(--white); }
.sabbath-symbol { position: sticky; top: 0; display: grid; min-height: 9rem; place-items: start center; padding-top: 2rem; color: var(--white); }
.sabbath-symbol::after { position: absolute; right: 1.35rem; bottom: 1.2rem; left: 1.35rem; height: 1px; background: rgb(255 255 255 / 24%); content: ""; }
.adventist-symbol { width: 3.7rem; height: 3.35rem; fill: currentColor; }
img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3 { margin-block: 0; font-family: var(--font-sans); font-weight: 650; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
h1 { max-width: 17ch; font-size: clamp(2.6rem, 5.2vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
p { margin-block: 0; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.narrow { width: min(calc(100% - 3rem), var(--reading)); margin-inline: max(1.5rem, calc((100% - var(--container)) / 2)); }
.icon { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.icon-xs { width: .875rem; height: .875rem; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.15rem; height: 1.15rem; }
.icon-lg { width: 1.4rem; height: 1.4rem; }
.icon-xl { width: 1.75rem; height: 1.75rem; }
.brand-icon { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; fill: currentColor; }
.nav-icon { display: none; }
.section-icon { display: grid; width: 3rem; height: 3rem; margin-bottom: 1.25rem; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; }
.eyebrow { color: var(--navy); font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; }
.lead { max-width: 37rem; color: var(--muted-navy); font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.65; }

.skip-link { position: fixed; z-index: 1000; top: -6rem; left: 1rem; padding: .75rem 1rem; border: 2px solid var(--navy); background: var(--white); font-weight: 700; transition: top var(--duration-fast); }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.identity-rule { display: grid; grid-template-columns: repeat(7, 1fr); height: .25rem; }
.identity-rule span { border-right: 1px solid var(--white); background: var(--navy); }
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 96%); transition: box-shadow var(--duration-standard), background var(--duration-standard); }
.site-header.is-scrolled { box-shadow: 0 .5rem 1.5rem rgb(6 29 54 / 7%); background: rgb(255 255 255 / 98%); }
.header-inner { display: flex; align-items: center; min-height: 5.75rem; gap: 1.75rem; }
.brand { display: flex; min-width: 17rem; align-items: center; gap: .75rem; }
.brand-symbol { width: 2.15rem; height: 2rem; flex: 0 0 auto; color: var(--navy); }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--font-sans); font-size: .9rem; font-weight: 700; line-height: 1.25; }
.brand small { margin-top: .2rem; font-size: .7rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: stretch; align-self: stretch; gap: 1.45rem; margin-left: auto; }
.primary-nav > a { position: relative; display: flex; align-items: center; font-family: var(--font-sans); font-size: .84rem; font-weight: 650; white-space: nowrap; }
.primary-nav > a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--navy); content: ""; transform: scaleX(0); transform-origin: right; transition: transform var(--duration-standard) var(--ease-standard); }
.primary-nav > a:hover::after, .primary-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.language { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem; font-family: var(--font-sans); font-size: .76rem; font-weight: 750; }
.menu-toggle { display: none; align-items: center; gap: .55rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--navy); padding: .6rem .75rem; font-size: .82rem; font-weight: 700; }
.close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon { display: none; }
.menu-toggle[aria-expanded="true"] .close-icon { display: block; }
.mobile-language { display: none !important; }
.nav-backdrop { position: fixed; z-index: 40; inset: 0; background: rgb(6 29 54 / 48%); opacity: 0; transition: opacity var(--duration-standard); }
.nav-backdrop.is-visible { opacity: 1; }

.button { display: inline-flex; min-height: 3.1rem; align-items: center; justify-content: center; gap: .65rem; padding: .75rem 1.25rem; border: 1px solid var(--navy); border-radius: var(--radius); background: var(--navy); color: var(--white); font-family: var(--font-sans); font-size: .95rem; font-weight: 700; line-height: 1.2; transition: background var(--duration-fast), border-color var(--duration-fast), color var(--duration-fast), transform var(--duration-fast); }
.button:hover { border-color: var(--navy-hover); background: var(--navy-hover); transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button-small { min-height: 2.7rem; padding: .6rem .9rem; font-size: .82rem; }
.button-outline { background: var(--white); color: var(--navy); }
.button-outline:hover { color: var(--white); }
.button-light { border-color: var(--white); background: var(--white); color: var(--navy); }
.button-light:hover { border-color: var(--white); background: transparent; color: var(--white); }

.hero { padding-block: clamp(3.5rem, 6vw, 6rem); }
.hero-atmosphere { position: relative; isolation: isolate; }
.hero-atmosphere::before { position: absolute; z-index: -1; inset: 0 0 auto auto; width: min(42rem, 48vw); height: 100%; background: linear-gradient(90deg, var(--white), rgb(255 255 255 / 78%)), url('/assets/backgrounds/worship-hands.webp') center 38% / cover no-repeat; content: ""; opacity: .2; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(31rem, 1.16fr); align-items: center; gap: clamp(2.5rem, 6vw, 5rem); }
.hero-copy { display: grid; align-content: center; gap: 1.5rem; }
.hero-copy .eyebrow { margin-bottom: -.35rem; }
.hero-last-word { display: block; }
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.hero-visual { position: relative; min-height: 37rem; }
.hero-visual > img { width: 100%; height: 37rem; object-fit: cover; object-position: center 35%; }
.hero-visual::after { position: absolute; inset: 0; border: 1px solid var(--line); content: ""; pointer-events: none; }
.hero-panel { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: grid; min-height: 8.75rem; grid-template-columns: 1fr auto; align-content: center; align-items: end; gap: .75rem 2rem; padding: 1.75rem 2rem; background: var(--navy); color: var(--white); }
.hero-panel .eyebrow { color: var(--white); }
.hero-panel h2 { max-width: 25ch; margin-top: .2rem; font-size: 1.35rem; letter-spacing: -.02em; }
.hero-panel a { display: inline-flex; grid-column: 2; grid-row: 1 / 3; align-items: center; align-self: center; gap: .5rem; padding-bottom: .25rem; border-bottom: 1px solid rgb(255 255 255 / 55%); font-size: .9rem; font-weight: 700; }
.hero-panel a .icon { transition: transform var(--duration-fast); }
.hero-panel a:hover .icon { transform: translateX(.25rem); }
.panel-number { position: absolute; top: 1rem; right: 1.25rem; padding-bottom: .2rem; border-bottom: 1px solid rgb(255 255 255 / 50%); font-size: .7rem; }

.section, .photo-story { padding-block: var(--space-section); }
.photo-story { border-top: 1px solid var(--line); }
.photo-story-head, .split-heading, .feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: start; gap: clamp(2.5rem, 9vw, 7rem); }
.photo-story-head { align-items: end; margin-bottom: 3rem; }
.photo-story-head h2, .split-heading h2 { max-width: 22ch; margin-top: .7rem; }
.photo-story-head > p, .split-heading > p { max-width: 31rem; color: var(--muted-navy); }
.photo-mosaic { display: grid; grid-template-columns: 1.35fr .65fr; grid-template-rows: repeat(2, 19.5rem); gap: .75rem; }
.photo-mosaic figure { position: relative; overflow: hidden; margin: 0; background: var(--navy-deep); }
.photo-mosaic .photo-primary { grid-row: 1 / 3; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms var(--ease-standard); }
.photo-mosaic figure:hover img { transform: scale(1.02); }
.photo-mosaic figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: .75rem; padding: 3.5rem 1.5rem 1.2rem; background: linear-gradient(transparent, rgb(6 29 54 / 88%)); color: var(--white); font-size: .84rem; font-weight: 700; }
.photo-mosaic figcaption span { padding-bottom: .1rem; border-bottom: 1px solid rgb(255 255 255 / 60%); font-size: .68rem; }
.gallery-section { padding-block: var(--space-section); overflow: hidden; border-top: 1px solid var(--line); background: var(--surface); }
.gallery-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: clamp(2.5rem, 9vw, 7rem); margin-bottom: 2.75rem; }
.gallery-heading h2 { max-width: 20ch; margin-top: .7rem; }
.gallery-heading > p { max-width: 31rem; color: var(--muted-navy); }
.gallery-rail { display: grid; grid-template-rows: repeat(2, 13rem); grid-auto-columns: clamp(13rem, 22vw, 20rem); grid-auto-flow: column; gap: .65rem; width: 100%; padding-inline: max(1.5rem, calc((100vw - var(--container)) / 2)); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline proximity; scrollbar-color: var(--navy) var(--line); scrollbar-width: thin; }
.gallery-rail figure { overflow: hidden; margin: 0; background: var(--navy-deep); scroll-snap-align: start; }
.gallery-rail figure:nth-child(5n + 1) { grid-row: span 2; }
.gallery-rail img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms var(--ease-standard); }
.gallery-rail figure:hover img { transform: scale(1.025); }

.editorial-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.editorial-list > a { display: grid; grid-template-columns: 3.25rem 1fr auto; align-items: center; gap: 1.4rem; padding-block: 1.7rem; border-bottom: 1px solid var(--line); transition: padding-inline var(--duration-standard), background var(--duration-standard); }
.editorial-list > a:hover { padding-inline: .75rem; }
.editorial-list h3 { margin-top: .45rem; }
.list-icon { display: grid; width: 2.9rem; height: 2.9rem; place-items: center; border-bottom: 1px solid var(--navy); }
.row-arrow { transition: transform var(--duration-fast); }
.editorial-list > a:hover .row-arrow { transform: translateX(.25rem); }

.navy-section { background: var(--navy); color: var(--white); }
.ministry-atmosphere { position: relative; isolation: isolate; overflow: hidden; }
.ministry-atmosphere::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(9 43 80 / 96%) 0%, rgb(9 43 80 / 90%) 58%, rgb(9 43 80 / 74%) 100%), url('/assets/backgrounds/open-hands-dark.webp') 88% 58% / cover no-repeat; content: ""; }
.navy-section .eyebrow { color: var(--white); }
.navy-section p { color: rgb(255 255 255 / 78%); }
.feature-grid > div:last-child { display: grid; justify-items: start; gap: 1.5rem; }
.section-title { max-width: 18ch; margin-block: .7rem 3rem; }
.service-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-strong); }
.service-grid > a { position: relative; display: grid; min-height: 9.5rem; grid-template-columns: 4.5rem minmax(13rem, .65fr) 1fr 1.5rem; align-items: center; gap: clamp(1.25rem, 4vw, 3.5rem); padding-block: 1.75rem; border-bottom: 1px solid var(--line); transition: padding-inline var(--duration-standard); }
.service-card { isolation: isolate; overflow: hidden; background-position: 90% center; background-size: 28rem auto; background-repeat: no-repeat; }
.service-card::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--white) 0%, var(--white) 62%, rgb(255 255 255 / 80%) 100%); content: ""; transition: opacity var(--duration-standard); }
.service-card:hover::before { opacity: .9; }
.worship-card { background-image: url('/assets/backgrounds/worship-hands.webp'); background-position: center 28%; }
.study-card { background-image: url('/assets/backgrounds/bible-study.webp'); background-position: center 54%; }
.prayer-card { background-image: url('/assets/backgrounds/prayer-hands.webp'); background-position: center 46%; }
.service-grid > a:hover { padding-inline: .75rem; }
.service-grid h3 { grid-column: 2; }
.service-grid p { grid-column: 3; max-width: 31rem; color: var(--muted-navy); font-size: .94rem; }
.service-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.card-arrow { grid-column: 4; transition: transform var(--duration-fast); }
.service-grid > a:hover .card-arrow { transform: translate(.15rem, -.15rem); }
.visit-section { border-top: 1px solid var(--line); }
.link-stack { display: block !important; }
.link-stack a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); font-weight: 700; }

.media-section { border-top: 1px solid var(--line); background: var(--surface); }
.media-grid { display: grid; grid-template-columns: .82fr 1.18fr; align-items: start; gap: clamp(3rem, 8vw, 7rem); }
.media-copy h2 { max-width: 18ch; margin-block: .75rem 1.25rem; }
.media-copy > p:not(.eyebrow) { max-width: 35rem; color: var(--muted-navy); }
.platform-links { margin-top: 2rem; border-top: 1px solid var(--line-strong); }
.platform-links a { display: grid; grid-template-columns: 1.5rem 1fr auto; align-items: center; gap: .75rem; padding-block: .95rem; border-bottom: 1px solid var(--line); font-weight: 700; transition: padding-inline var(--duration-fast), color var(--duration-fast); }
.platform-links a:hover { padding-inline: .5rem; color: var(--navy-hover); }
.video-player { background: var(--navy-deep); color: var(--white); }
.video-player iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-player p { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.2rem; color: rgb(255 255 255 / 82%); font-size: .86rem; font-weight: 650; }
.media-directory { background: var(--white); }
.media-directory-heading { display: grid; grid-template-columns: 1fr; margin-bottom: 2.5rem; }
.media-directory-heading h2 { margin-top: .7rem; }
.media-directory-heading > p { max-width: 31rem; color: var(--muted-navy); }
.media-platform-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem clamp(2rem, 6vw, 5rem); }
.media-platform-list > a { display: grid; min-height: 7.5rem; grid-template-columns: 3.5rem 1fr auto; align-items: center; gap: 1.25rem; padding-block: .75rem; transition: transform var(--duration-standard), color var(--duration-standard); }
.media-platform-list > a:hover { color: var(--navy-hover); transform: translateX(.3rem); }
.media-platform-icon { display: grid; width: 3.5rem; height: 3.5rem; place-items: center; border-radius: 50%; background: var(--navy-deep); color: var(--white); box-shadow: 0 .9rem 2rem rgb(6 29 54 / 16%); }
.media-platform-icon .brand-icon, .media-platform-icon .icon { width: 1.35rem; height: 1.35rem; }
.media-platform-copy { display: grid; gap: .3rem; }
.media-platform-copy strong { font-family: var(--font-sans); font-size: 1.08rem; }
.media-platform-copy small { max-width: 26rem; color: var(--muted-navy); font-size: .82rem; line-height: 1.5; }
.media-platform-cta { display: inline-flex; align-items: center; justify-content: end; gap: .45rem; font-size: .76rem; font-weight: 750; text-align: right; }
.media-platform-cta .icon { width: .95rem; height: .95rem; }
.media-verified-note { display: flex; align-items: center; gap: .7rem; margin-top: 3rem; color: var(--muted-navy); font-size: .78rem; }
.location-section { border-top: 1px solid var(--line); }
.location-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(3rem, 9vw, 7rem); }
.location-grid h2 { max-width: 16ch; margin-top: .75rem; }
.verified-details { border-top: 1px solid var(--line-strong); }
.verified-details > a { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: 1rem; padding-block: 1.2rem; border-bottom: 1px solid var(--line); transition: padding-inline var(--duration-fast); }
.verified-details > a:hover { padding-inline: .5rem; }
.verified-details small { display: block; margin-bottom: .1rem; color: var(--muted-navy); font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }

.page-hero { padding-block: clamp(4rem, 7vw, 6rem); background: var(--navy); color: var(--white); }
.page-hero { background: linear-gradient(90deg, rgb(9 43 80 / 97%), rgb(9 43 80 / 84%)), url('/assets/gallery/njiro-040.webp') center 42% / cover no-repeat; }
.page-hero .eyebrow { color: var(--white); }
.page-hero h1 { margin-block: 0 1rem; }
.page-hero p:not(.eyebrow) { max-width: var(--reading); color: rgb(255 255 255 / 78%); font-size: 1.12rem; }
.empty-state { max-width: var(--reading); margin-left: max(1.5rem, calc((100% - var(--container)) / 2)); }
.empty-state > span { border-bottom: 1px solid var(--navy); font-size: .7rem; font-weight: 700; }
.empty-state h2 { margin-block: 2rem 1rem; }
.empty-state p { margin-bottom: 2rem; color: var(--muted-navy); }
.editorial-content { background: var(--white); }
.content-intro { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: clamp(2.5rem, 9vw, 7rem); margin-bottom: 3rem; }
.content-intro h2 { max-width: 25ch; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 6vw, 5rem); border-top: 1px solid var(--line-strong); }
.content-grid article { min-height: 16rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.content-grid article > span { display: inline-block; padding-bottom: .15rem; border-bottom: 1px solid var(--navy); font-size: .7rem; font-weight: 700; }
.content-grid h3 { margin-block: 3.75rem 1rem; }
.content-grid p { color: var(--muted-navy); font-size: .95rem; }
.scripture-quote { display: grid; grid-template-columns: 1.15rem 1fr; align-items: start; gap: .7rem; margin: 1.75rem 0 0; color: var(--navy); font-family: Baskerville, "Palatino Linotype", Palatino, "Book Antiqua", serif; font-size: 1rem; font-style: italic; font-weight: 400; letter-spacing: .01em; line-height: 1.65; }
.scripture-quote .icon { width: 1.05rem; height: 1.05rem; margin-top: .28rem; opacity: .58; }
.status-section { border-top: 1px solid var(--line); background: var(--surface); }
.status-panel { display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: clamp(2.5rem, 9vw, 7rem); }
.status-panel h2 { max-width: 23ch; margin-top: .75rem; }
.status-panel > div:last-child { display: grid; justify-items: start; gap: 1.5rem; }
.status-panel p { color: var(--muted-navy); }
.worship-schedule { background: var(--navy-deep); color: var(--white); }
.schedule-heading { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 3rem; }
.schedule-heading .section-icon { margin: 0; color: var(--white); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 22%); }
.schedule-heading .eyebrow { color: rgb(255 255 255 / 68%); }
.schedule-heading h2 { margin-top: .4rem; }
.schedule-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 4vw, 4rem); }
.schedule-item { display: grid; align-content: start; gap: .45rem; }
.schedule-item p { color: rgb(255 255 255 / 62%); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.schedule-item strong { font-family: var(--font-sans); font-size: 1rem; line-height: 1.35; }
.schedule-item time { margin-top: .45rem; font-family: var(--font-sans); font-size: clamp(1.55rem, 2.6vw, 2.25rem); font-weight: 650; letter-spacing: -.04em; }

.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(3rem, 9vw, 7rem); }
.form-layout aside { padding-top: 1.5rem; border-top: 4px solid var(--navy); }
.form-layout aside h2 { margin-block: .8rem 1rem; }
.form-layout aside p:last-child { color: var(--muted-navy); }
form { max-width: 45rem; }
.field { margin-bottom: 1.35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
label { display: block; margin-bottom: .45rem; font-size: .88rem; font-weight: 700; }
input, textarea, select { width: 100%; min-height: 3.15rem; padding: .7rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--navy); transition: border-color var(--duration-fast), box-shadow var(--duration-fast); }
input:hover, textarea:hover, select:hover { border-color: var(--navy); }
textarea { resize: vertical; }
.check { display: flex; align-items: flex-start; gap: .75rem; margin-block: 1.5rem; }
.check input { width: 1.2rem; min-height: 1.2rem; margin-top: .15rem; }
.check span { font-weight: 500; }
.honeypot { position: absolute; left: -9999px; }
.success, .errors { margin-bottom: 1.75rem; padding: 1rem 1.2rem; border-left: 4px solid var(--navy); background: var(--surface); }
.errors { border-color: #9b2020; }
.notice { display: flex; align-items: flex-start; gap: .9rem; }
.notice > .icon { margin-top: .15rem; }
.notice ul { margin-block: .5rem 0; padding-left: 1.2rem; }

.site-footer { padding-block: 4.5rem; background: var(--navy-deep); color: var(--white); }
.site-footer { background: linear-gradient(90deg, rgb(6 29 54 / 99%), rgb(6 29 54 / 92%)), url('/assets/gallery/njiro-061.webp') center 36% / cover no-repeat; }
.footer-grid { display: grid; grid-template-columns: minmax(16rem, 1.6fr) repeat(3, minmax(10rem, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); }
.site-footer h2 { max-width: 18ch; margin-block: .7rem 1rem; }
.site-footer h3 { margin-bottom: 1rem; font-size: 1rem; letter-spacing: 0; }
.site-footer p { color: rgb(255 255 255 / 68%); }
.site-footer a { display: block; width: fit-content; margin-block: .55rem; color: rgb(255 255 255 / 84%); }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .25rem; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.site-footer .footer-socials a { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; margin: 0; border: 1px solid rgb(255 255 255 / 28%); border-radius: 50%; transition: border-color var(--duration-fast), background var(--duration-fast); }
.site-footer .footer-socials a:hover { border-color: var(--white); background: rgb(255 255 255 / 10%); text-decoration: none; }
.site-footer .footer-links a { display: flex; align-items: center; gap: .55rem; }
.site-footer .footer-links .icon { width: 1rem; height: 1rem; color: rgb(255 255 255 / 62%); transition: color var(--duration-fast); }
.site-footer .footer-links a:hover .icon { color: var(--white); }
.site-footer .footer-official-links a { display: block; width: 100%; }
.site-footer .footer-official-links .icon { width: .85rem; height: .85rem; opacity: .55; }
.footer-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .15em; }
.copyright { margin-top: 2rem; font-size: .8rem; }
.site-footer .developer-credit { margin-top: .35rem; color: rgb(255 255 255 / 58%); font-size: .72rem; }
.site-footer .developer-credit a { display: inline; margin: 0; color: #8f2335; font-weight: 800; letter-spacing: .08em; }
.site-footer .developer-credit a:hover { color: #b83a50; }

/* Living Mosaic landing page */
:root { --gold: #d7a449; --ivory: #f6f1e8; }
.site-canvas { width: 100%; }
.mosaic-hero { padding: 0; background: linear-gradient(110deg, var(--ivory), var(--white) 48%); }
.mosaic-hero-grid { display: grid; min-height: 34rem; grid-template-columns: minmax(21rem, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 4vw, 4rem); }
.mosaic-hero-grid > * { min-width: 0; }
.mosaic-hero-copy { position: relative; z-index: 2; display: grid; align-content: center; gap: 1.3rem; padding-block: 3rem 5rem; }
.mosaic-hero-copy h1 { max-width: 12ch; font-size: clamp(3.1rem, 4.7vw, 4.55rem); }
.mosaic-tagline { color: var(--muted-navy); font-family: var(--font-sans); font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 500; letter-spacing: -.025em; }
.mosaic-hero-copy .lead { max-width: 34rem; font-size: 1.05rem; }
.mosaic-photos { display: grid; min-height: 34rem; grid-template-columns: 1.35fr .9fr; grid-template-rows: 1fr 1fr; gap: .5rem; overflow: hidden; }
.mosaic-photo { position: relative; overflow: hidden; min-height: 0; margin: 0; background: var(--navy-deep); }
.mosaic-photo-main { grid-row: 1 / 3; clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%); margin-inline: -3.5rem -2.6rem; }
.mosaic-photo-youth { clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
.mosaic-photo-fellowship { clip-path: polygon(0 0, 92% 0, 100% 100%, 8% 100%); }
.mosaic-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-standard); }
.mosaic-photo-main img { object-position: 48% 35%; }
.mosaic-photo-youth img { object-position: 48% 30%; }
.mosaic-photo-fellowship img { object-position: 45% 46%; }
.mosaic-photos:hover .mosaic-photo img { transform: scale(1.018); }
.sabbath-band { position: relative; z-index: 3; display: grid; min-height: 6.7rem; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.8rem; margin-top: -2.2rem; padding: 1.25rem 1.8rem; background: var(--navy-deep); color: var(--white); box-shadow: 0 1.2rem 2.8rem rgb(6 29 54 / 14%); }
.sabbath-band .adventist-symbol { width: 3rem; height: 2.8rem; color: var(--gold); }
.sabbath-band div { padding-left: 1.8rem; border-left: 1px solid rgb(255 255 255 / 32%); }
.sabbath-band small { display: block; margin-bottom: .25rem; color: rgb(255 255 255 / 68%); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.sabbath-band strong { font-family: var(--font-sans); font-size: clamp(1.15rem, 2.2vw, 1.75rem); letter-spacing: -.02em; }
.button-gold { border-color: var(--gold); background: var(--gold); color: var(--navy-deep); }
.button-gold:hover { border-color: #e3b65c; background: #e3b65c; color: var(--navy-deep); }
.pathways-heading { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: clamp(2.5rem, 8vw, 7rem); margin-bottom: 3rem; }
.pathways-heading h2 { max-width: 18ch; margin-top: .75rem; }
.pathways-heading > p { max-width: 34rem; color: var(--muted-navy); }
.ministry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ministry-grid > a { position: relative; min-height: 24rem; overflow: hidden; background: var(--navy-deep); }
.ministry-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-standard), opacity 300ms; }
.ministry-grid > a:nth-child(1) img { object-position: 46% center; }
.ministry-grid > a:nth-child(2) img { object-position: 58% center; }
.ministry-grid > a:hover img { transform: scale(1.025); opacity: .92; }
.ministry-grid span { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 5rem 1.2rem 1.35rem; background: linear-gradient(transparent, rgb(6 29 54 / 92%)); color: var(--white); font-family: var(--font-sans); font-size: clamp(1rem, 1.5vw, 1.25rem); font-weight: 700; }
.ministry-grid .icon { transition: transform var(--duration-fast); }
.ministry-grid a:hover .icon { transform: translate(.15rem, -.15rem); }
.weekly-section { border-top: 1px solid var(--line); background: var(--ivory); }
.weekly-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(3rem, 9vw, 7rem); }
.weekly-grid h2 { margin-block: .75rem 1rem; }
.weekly-grid > div:first-child > p:last-child { max-width: 31rem; color: var(--muted-navy); }
.weekly-links { border-top: 1px solid var(--line-strong); }
.weekly-links > a { display: grid; min-height: 7rem; grid-template-columns: 2.2rem 1fr auto; align-items: center; gap: 1.25rem; border-bottom: 1px solid var(--line); transition: padding-inline var(--duration-standard); }
.weekly-links > a:hover { padding-inline: .5rem; }
.weekly-links > a > span { color: var(--gold); font-size: .74rem; font-weight: 800; }
.weekly-links small { display: block; margin-bottom: .35rem; color: var(--muted-navy); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.weekly-links strong { font-family: var(--font-sans); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.text-link { display: inline-flex; align-items: center; gap: .55rem; padding-bottom: .3rem; border-bottom: 1px solid currentColor; font-weight: 700; }
.text-link .icon { transition: transform var(--duration-fast); }
.text-link:hover .icon { transform: translateX(.25rem); }
.prayer-invitation { background: var(--navy); color: var(--white); }
.prayer-invitation .eyebrow { color: var(--gold); }
.prayer-invitation p { max-width: 34rem; color: rgb(255 255 255 / 72%); }
.location-section .location-grid > div:first-child > p:last-child { max-width: 34rem; margin-top: 1.2rem; color: var(--muted-navy); }

/* Satin editorial refinement */
.creation-grid { grid-template-columns: minmax(0, 6fr) minmax(3.5rem, 1fr); }
.identity-rule { display: none; }
.site-header { border: 0; background: rgb(255 255 255 / 94%); backdrop-filter: blur(1rem) saturate(1.35); }
.site-header.is-scrolled { box-shadow: 0 .8rem 2.5rem rgb(6 29 54 / 8%); }
.sabbath-column { background: linear-gradient(145deg, #061d36 0%, #092b50 48%, #041528 100%); box-shadow: inset 1px 0 rgb(255 255 255 / 7%), -.8rem 0 2.2rem rgb(6 29 54 / 7%); }
.sabbath-symbol::after { display: none; }
.sabbath-symbol .adventist-symbol { filter: drop-shadow(0 .7rem 1.2rem rgb(0 0 0 / 24%)); }
h1, h2 { font-family: Iowan Old Style, Baskerville, "Palatino Linotype", "Book Antiqua", Georgia, serif; font-weight: 600; letter-spacing: -.045em; }
h3 { letter-spacing: -.025em; }
.primary-nav > a::after { display: none; }
.primary-nav > a { transition: opacity var(--duration-fast), transform var(--duration-fast); }
.primary-nav > a:hover { opacity: .66; transform: translateY(-1px); }
.menu-toggle, .button, .button-outline, .button-light { border: 0; }
.button { box-shadow: 0 .75rem 1.8rem rgb(6 29 54 / 10%), inset 0 1px rgb(255 255 255 / 25%); }
.menu-toggle, .button-outline { box-shadow: none; }
.button-outline { background: transparent; box-shadow: none; }
.button-outline:hover { background: transparent; color: var(--navy-hover); }
.icon-action { display: inline-grid; width: 3.15rem; height: 3.15rem; flex: 0 0 auto; place-items: center; border-radius: 50%; background: transparent; color: var(--navy); transition: transform var(--duration-fast), color var(--duration-fast); }
.icon-action:hover { color: var(--navy-hover); transform: translateY(-1px); }
.icon-action-gold { background: var(--gold); color: var(--navy-deep); }
.icon-action-gold:hover { background: #e3b65c; }
.icon-action-light { background: rgb(255 255 255 / 14%); color: var(--white); box-shadow: 0 1rem 2rem rgb(0 0 0 / 14%), inset 0 1px rgb(255 255 255 / 20%); }
.mosaic-hero-copy { gap: 1.25rem; }
.mosaic-tagline { max-width: 27rem; font-size: clamp(1.1rem, 1.7vw, 1.4rem); }
.mosaic-photos { gap: .55rem; overflow: visible; perspective: 75rem; }
.mosaic-photo { box-shadow: 0 1.4rem 3.2rem rgb(6 29 54 / 16%), inset 0 1px rgb(255 255 255 / 22%); transition: transform 700ms var(--ease-standard), box-shadow 700ms var(--ease-standard); }
.mosaic-photo-main { transform: translateZ(1.5rem) rotateY(-1deg); }
.mosaic-photo-youth { transform: translateZ(.5rem) rotateY(1deg); }
.mosaic-photo-fellowship { transform: translateZ(1rem) rotateY(1deg); }
.mosaic-photos:hover .mosaic-photo { box-shadow: 0 1.8rem 3.8rem rgb(6 29 54 / 22%), inset 0 1px rgb(255 255 255 / 30%); transform: translateY(-.2rem) translateZ(1.25rem); }
.sabbath-band { border-radius: 0; background: linear-gradient(120deg, #061d36, #0b355f 60%, #071f39); box-shadow: 0 1.5rem 3.5rem rgb(6 29 54 / 18%), inset 0 1px rgb(255 255 255 / 16%); }
.sabbath-band div { padding-left: .4rem; border: 0; }
.pathways-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.pathways-heading > .icon { width: 2.4rem; height: 2.4rem; color: var(--gold); filter: drop-shadow(0 .6rem 1rem rgb(215 164 73 / 30%)); }
.ministry-grid > a { box-shadow: 0 1.2rem 2.8rem rgb(6 29 54 / 13%); transition: transform 500ms var(--ease-standard), box-shadow 500ms var(--ease-standard); }
.ministry-grid > a:nth-child(even) { transform: translateY(1.5rem); }
.ministry-grid > a:hover { box-shadow: 0 1.7rem 3.4rem rgb(6 29 54 / 20%); transform: translateY(-.25rem); }
.ministry-grid > a:nth-child(even):hover { transform: translateY(1.2rem); }
.weekly-section { border: 0; background: var(--ivory); }
.weekly-links { display: grid; gap: .85rem; border: 0; }
.weekly-links > a { min-height: 5rem; padding: .75rem 0; border: 0; background: transparent; box-shadow: none; transition: padding-inline var(--duration-standard), transform var(--duration-standard); }
.weekly-links > a:hover { padding-inline: .35rem; transform: translateX(.2rem); }
.media-section { border: 0; }
.platform-icons { display: flex; flex-wrap: wrap; gap: .75rem; border: 0; }
.platform-icons a { display: grid; width: 2.25rem; height: 2.25rem; grid-template-columns: 1fr; place-items: center; padding: 0; border: 0; background: transparent; box-shadow: none; }
.platform-icons a:hover { padding: 0; transform: translateY(-2px); }
.platform-icons .brand-icon { width: 1.3rem; height: 1.3rem; }
.video-player { overflow: hidden; border-radius: 0; box-shadow: 0 1.4rem 3.2rem rgb(6 29 54 / 18%); }
.location-section, .photo-story, .gallery-section, .visit-section { border: 0; }
.verified-details, .editorial-list, .service-grid, .platform-links, .content-grid { border: 0; }
.verified-details > a, .editorial-list > a, .service-grid > a, .platform-links a, .link-stack a, .content-grid article { border: 0; }
.verified-details > a + a { margin-top: .35rem; }
.section-icon, .service-icon { border: 0; box-shadow: none; }

.motion-ready [data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity 600ms var(--ease-standard), transform 600ms var(--ease-standard); }
.motion-ready [data-reveal][data-reveal-delay="1"] { transition-delay: 100ms; }
.motion-ready [data-reveal].is-revealed { opacity: 1; transform: none; }

@media (max-width: 68rem) {
    .primary-nav { gap: 1rem; }
    .primary-nav > a { font-size: .78rem; }
    .header-actions .button { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 46rem; }
    .hero-visual { min-height: 34rem; }
    .hero-visual > img { height: 34rem; }
    .mosaic-hero-grid { grid-template-columns: .8fr 1.2fr; gap: 2rem; }
    .mosaic-hero-copy h1 { font-size: clamp(3rem, 6vw, 4.5rem); }
    .ministry-grid { grid-template-columns: repeat(2, 1fr); }
    .ministry-grid > a { min-height: 22rem; }
}

@media (max-width: 52rem) {
    .sabbath-symbol { min-height: 5rem; padding-top: 1rem; }
    .sabbath-symbol::after { right: .5rem; bottom: .75rem; left: .5rem; }
    .sabbath-symbol .adventist-symbol { width: min(2.4rem, 70%); height: auto; aspect-ratio: 253.71 / 227.63; }
    .container { width: min(calc(100% - 2rem), var(--container)); }
    .header-inner { min-height: 4.8rem; gap: .75rem; }
    .brand { min-width: 0; flex: 1; overflow: hidden; }
    .brand-symbol { width: 1.9rem; height: 1.75rem; }
    .brand span { min-width: 0; }
    .brand strong { overflow: hidden; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
    .brand small { font-size: .62rem; }
    .menu-toggle { display: inline-flex; }
    .menu-toggle { flex: 0 0 auto; }
    .header-actions { display: none; }
    .primary-nav { position: fixed; z-index: 60; top: 0; right: 0; display: flex; width: min(86vw, 24rem); height: 100dvh; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 6.5rem 1.5rem 2rem; background: var(--white); box-shadow: -1rem 0 2rem rgb(6 29 54 / 10%); transform: translateX(105%); transition: transform var(--duration-standard) var(--ease-standard); }
    .primary-nav.open { transform: translateX(0); }
    .primary-nav > a { display: flex; min-height: 3.4rem; align-items: center; gap: .8rem; border-bottom: 1px solid var(--line); font-size: 1rem; }
    .primary-nav .nav-icon { display: block; width: 1.1rem; height: 1.1rem; color: var(--muted-navy); }
    .primary-nav > a::after { display: none; }
    .primary-nav .mobile-language { display: flex !important; margin-top: 1rem; border: 1px solid var(--line-strong); justify-content: center; }
    .menu-toggle { position: relative; z-index: 70; }
    .photo-story-head, .split-heading, .feature-grid, .form-layout, .media-grid, .location-grid { grid-template-columns: 1fr; gap: 2rem; }
    .media-directory-heading { grid-template-columns: 1fr; gap: 1.25rem; }
    .media-platform-list { grid-template-columns: 1fr; gap: .5rem; }
    .content-intro, .status-panel { grid-template-columns: 1fr; gap: 2rem; }
    .content-grid { grid-template-columns: 1fr; gap: 0; }
    .schedule-list { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
    .content-grid article { min-height: auto; }
    .content-grid h3 { margin-top: 3rem; }
    .gallery-heading { grid-template-columns: 1fr; gap: 1.5rem; }
    .photo-mosaic { grid-template-columns: 1fr; grid-template-rows: 25rem 18rem 18rem; }
    .photo-mosaic .photo-primary { grid-row: auto; }
    .service-grid > a { min-height: 9rem; grid-template-columns: 3.5rem 1fr auto; gap: 1rem; }
    .service-grid h3 { grid-column: 2; }
    .service-grid p { grid-column: 2 / 4; }
    .card-arrow { grid-column: 3; grid-row: 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .mosaic-hero { padding-top: 0; }
    .mosaic-hero-grid { width: 100%; max-width: 100%; grid-template-columns: minmax(0, 1fr); gap: 0; overflow: hidden; }
    .mosaic-hero-copy { order: 2; width: calc(100% - 2rem); max-width: 100%; margin-inline: auto; padding-block: 2.5rem 3rem; overflow-wrap: anywhere; }
    .mosaic-hero-copy h1 { font-size: clamp(2.8rem, 11vw, 4.5rem); }
    .mosaic-photos { min-height: 30rem; grid-template-columns: 1.25fr .75fr; }
    .mosaic-photo-main { margin-left: 0; }
    .sabbath-band { width: 100%; margin-top: 0; }
    .pathways-heading, .weekly-grid { grid-template-columns: 1fr; gap: 2rem; }
    .ministry-grid { overflow-x: auto; grid-template-columns: repeat(4, minmax(16rem, 72vw)); padding-bottom: .75rem; scroll-snap-type: x mandatory; }
    .ministry-grid > a { min-height: 21rem; scroll-snap-align: start; }
}

@media (max-width: 35rem) {
    h1 { font-size: clamp(2.35rem, 12vw, 3.15rem); }
    .hero { padding-block: 3.25rem 4rem; }
    .hero-grid { gap: 3rem; }
    .hero-visual { min-height: 31rem; }
    .hero-visual > img { height: 23rem; }
    .hero-panel { width: 100%; min-height: 10.5rem; grid-template-columns: 1fr; padding: 1.5rem; }
    .hero-panel h2 { margin-block: .65rem .85rem; font-size: 1.2rem; }
    .hero-panel a { grid-column: 1; grid-row: auto; justify-self: start; }
    .button-row { align-items: stretch; flex-direction: column; }
    .button-row .button { width: 100%; }
    .section, .photo-story { padding-block: 4.25rem; }
    .photo-mosaic { grid-template-rows: 21rem 15rem 15rem; }
    .gallery-rail { grid-template-rows: repeat(2, 10rem); grid-auto-columns: 13rem; padding-inline: 1rem; }
    .editorial-list > a { grid-template-columns: 2.8rem 1fr auto; gap: .9rem; }
    .list-icon { width: 2.65rem; height: 2.65rem; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .media-platform-list > a { grid-template-columns: 3.25rem 1fr; gap: 1rem; }
    .media-platform-icon { width: 3.25rem; height: 3.25rem; }
    .media-platform-cta { grid-column: 2; justify-content: start; text-align: left; }
    .schedule-list { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-grid > div:first-child { grid-column: auto; }
    .narrow, .empty-state { width: auto; margin-inline: 1rem; }
    .header-inner { min-height: 4.35rem; }
    .brand { gap: .45rem; }
    .brand span { display: none; }
    .menu-toggle span { display: none; }
    .menu-toggle { width: 2.75rem; height: 2.75rem; justify-content: center; padding: 0; border-radius: 50%; }
    .sabbath-column { min-width: 3.5rem; }
    .sabbath-symbol { min-height: 4.6rem; padding-top: 1rem; }
    .mosaic-photos { min-height: 23rem; }
    .mosaic-photo-main { margin-right: -1.5rem; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
    .mosaic-photo-fellowship { display: none; }
    .mosaic-photo-youth { grid-row: 1 / 3; clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%); }
    .sabbath-band { grid-template-columns: auto 1fr; gap: 1rem; padding: 1.25rem 1rem; border-radius: 0; }
    .sabbath-band .adventist-symbol { width: 2.35rem; }
    .sabbath-band div { padding-left: 1rem; }
    .sabbath-band strong { font-size: 1rem; }
    .sabbath-band .icon-action { grid-column: 1 / -1; justify-self: end; }
    .ministry-grid { width: auto; margin-left: 1rem; padding-right: 1rem; }
}

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

/* Refined navigation and hero */
.mobile-nav-mark, .mobile-nav-identity { display: none; }
.brand small { color: var(--navy); font-weight: 800; letter-spacing: .2em; }
.mosaic-hero-copy h1 { max-width: 10ch; font-size: clamp(3.45rem, 5.1vw, 5.15rem); line-height: .96; }
.mosaic-hero-copy .eyebrow { letter-spacing: .2em; }
.mosaic-hero-grid { min-height: 35.5rem; }
.mosaic-photos { min-height: 35.5rem; }

@media (max-width: 52rem) {
    .header-inner { min-height: 4.75rem; }
    .brand { min-width: 0; }
    .brand strong { font-size: .78rem; }
    .brand small { margin-top: .12rem; font-size: .58rem; }
    .menu-toggle { display: grid; width: 2.9rem; height: 2.9rem; flex: 0 0 auto; place-items: center; padding: 0; border-radius: 50%; background: rgb(9 43 80 / 6%); box-shadow: inset 0 1px rgb(255 255 255 / 80%); }
    .menu-toggle:hover { background: rgb(9 43 80 / 10%); }
    .menu-toggle .icon { width: 1.25rem; height: 1.25rem; }
    .primary-nav { right: calc(100vw / 7); width: min(calc(100vw * 6 / 7), 25rem); padding: 8.5rem clamp(1.4rem, 6vw, 2.25rem) 2.25rem; overflow: hidden auto; visibility: hidden; opacity: 0; background: rgb(251 250 246 / 98%); box-shadow: -1.5rem 0 4rem rgb(6 29 54 / 14%); transition: transform var(--duration-standard) var(--ease-standard), opacity var(--duration-standard), visibility 0s linear var(--duration-standard); }
    .primary-nav.open { visibility: visible; opacity: 1; transition-delay: 0s; }
    .mobile-nav-mark { position: absolute; right: -3rem; bottom: 2rem; display: block; width: 18rem; height: 16rem; color: var(--navy); opacity: .045; pointer-events: none; }
    .mobile-nav-identity { position: absolute; top: 2rem; left: clamp(1.4rem, 6vw, 2.25rem); display: block; max-width: 13rem; }
    .mobile-nav-identity strong, .mobile-nav-identity small { display: block; }
    .mobile-nav-identity strong { font-family: var(--font-sans); font-size: .78rem; line-height: 1.25; }
    .mobile-nav-identity small { margin-top: .35rem; font-size: .62rem; font-weight: 800; letter-spacing: .2em; }
    .primary-nav > a { position: relative; z-index: 1; min-height: 3.8rem; gap: 1rem; padding-inline: .15rem; border: 0; font-family: var(--font-sans); font-size: 1.08rem; font-weight: 650; letter-spacing: -.01em; }
    .primary-nav > a + a { margin-top: .15rem; }
    .primary-nav .nav-icon { width: 1.2rem; height: 1.2rem; color: var(--navy); opacity: .62; }
    .primary-nav > a:hover, .primary-nav > a.active { opacity: 1; transform: translateX(.3rem); }
    .primary-nav > a.active { color: var(--navy-hover); }
    .primary-nav .mobile-language { width: 3.2rem; min-height: 3.2rem; justify-content: center; margin-top: 1.4rem; padding: 0; border: 0; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 0; box-shadow: 0 1rem 2rem rgb(6 29 54 / 16%); }
    .primary-nav .mobile-language .icon { width: 1.15rem; height: 1.15rem; color: var(--white); opacity: 1; }
    .nav-backdrop { right: calc(100vw / 7); }
    .mosaic-hero-grid { min-height: 0; }
    .mosaic-photos { min-height: 29rem; }
    .mosaic-hero-copy { padding-block: 3rem 3.75rem; }
    .mosaic-hero-copy h1 { max-width: 8.5ch; font-size: clamp(3.5rem, 12vw, 5rem); line-height: .94; }
    .mosaic-tagline { max-width: 24rem; line-height: 1.45; }
}

@media (max-width: 35rem) {
    .mosaic-photos { min-height: 24.5rem; }
    .mosaic-hero-copy { padding-block: 2.6rem 3.25rem; }
    .mosaic-hero-copy h1 { font-size: clamp(3.15rem, 15vw, 4.3rem); }
    .primary-nav { padding-top: 7.8rem; }
}

/* Strict white and dark-blue interface palette */
:root {
    --gold: var(--navy);
    --ivory: var(--white);
    --surface: var(--white);
    --focus: var(--navy);
}
body, .mosaic-hero, .weekly-section, .media-section, .gallery-section, .status-section { background: var(--white); }
.mosaic-hero { background: var(--white); }
.sabbath-column, .prayer-invitation, .site-footer { background: var(--navy-deep); }
.sabbath-band { background: var(--navy-deep); }
.sabbath-band .adventist-symbol, .prayer-invitation .eyebrow { color: var(--white); }
.icon-action-gold { background: var(--white); color: var(--navy-deep); }
.icon-action-gold:hover { background: var(--white); color: var(--navy-hover); }
.button-gold { border-color: var(--white); background: var(--white); color: var(--navy-deep); }
.button-gold:hover { border-color: var(--white); background: var(--white); color: var(--navy-hover); }
.pathways-heading > .icon { color: var(--navy); filter: drop-shadow(0 .6rem 1rem rgb(9 43 80 / 18%)); }
.weekly-links > a { background: transparent; }
.platform-icons a { background: transparent; color: var(--navy); }
.success, .errors { border-color: var(--navy); background: var(--white); }
.primary-nav { background: var(--white); }
.mosaic-hero-copy h1 { max-width: 14ch; font-size: clamp(2.8rem, 4.2vw, 4.35rem); line-height: .98; }
.mosaic-tagline { max-width: 36rem; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.55; }
.about-njiro { background: var(--white); }
.about-njiro .feature-grid > div:last-child { gap: 1.25rem; }
.about-njiro p:not(.eyebrow) { max-width: 39rem; color: var(--muted-navy); }
.service-shortcuts { background: var(--navy-deep); color: var(--white); }
.service-shortcuts .eyebrow { color: var(--white); opacity: .72; }
.service-shortcuts h2 { max-width: 19ch; margin-block: .7rem 2.75rem; }
.shortcut-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.shortcut-links a { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: .8rem; min-height: 4rem; color: var(--white); transition: transform var(--duration-fast), opacity var(--duration-fast); }
.shortcut-links a:hover { opacity: .72; transform: translateY(-2px); }
.shortcut-links span { font-weight: 700; }

@media (max-width: 52rem) {
    .mosaic-hero-copy h1 { max-width: 12ch; font-size: clamp(2.85rem, 10vw, 4rem); }
    .shortcut-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 35rem) {
    .mosaic-hero-copy h1 { font-size: clamp(2.65rem, 12.5vw, 3.5rem); }
    .shortcut-links { grid-template-columns: 1fr; }
}

/* Page-specific editorial simplification */
.page-hero-worship { background: linear-gradient(90deg, rgb(6 29 54 / 97%), rgb(9 43 80 / 78%)), url('/assets/backgrounds/worship-hands.webp') center 42% / cover no-repeat; }
.page-hero-church-life { background: linear-gradient(90deg, rgb(6 29 54 / 97%), rgb(9 43 80 / 76%)), url('/assets/gallery/njiro-061.webp') center 46% / cover no-repeat; }
.page-hero-sermons { background: linear-gradient(90deg, rgb(6 29 54 / 97%), rgb(9 43 80 / 74%)), url('/assets/gallery/njiro-040.webp') center 44% / cover no-repeat; }
.page-hero-church { background: linear-gradient(90deg, rgb(6 29 54 / 97%), rgb(9 43 80 / 76%)), url('/photos/congregation') center 38% / cover no-repeat; }
.page-hero-announcements, .page-hero-events, .page-hero-resources { background: var(--white); color: var(--navy); }
.page-hero-announcements, .page-hero-events, .page-hero-resources { padding-block: 3.5rem; }
.page-hero-announcements .eyebrow, .page-hero-events .eyebrow, .page-hero-resources .eyebrow { color: var(--navy); }
.page-hero-announcements p:not(.eyebrow), .page-hero-events p:not(.eyebrow), .page-hero-resources p:not(.eyebrow) { color: var(--muted-navy); }
.content-grid article { min-height: auto; padding-block: 0; }
.content-grid h3 { margin: 0 0 1rem; }
.schedule-heading { align-items: start; margin-bottom: 2.5rem; }
.schedule-heading > .icon { width: 1.5rem; height: 1.5rem; margin-top: .4rem; }
.schedule-heading h2 { margin: 0; }
.schedule-heading p { margin-top: .35rem; color: rgb(255 255 255 / 62%); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; }
.published-resources { padding-block: 3.5rem; }
.published-resources .published-news-heading { margin-bottom: 2rem; }
.published-resources .published-empty { min-height: 4rem; }

/* Published news and protected editorial workspace */
.published-news { background: var(--white); }
.published-news-heading { margin-bottom: 3.5rem; }
.published-news-heading h2 { margin-top: .7rem; }
.published-item { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 8vw, 7rem); padding-block: 2.5rem; }
.published-item h3 { margin-top: .55rem; font-family: Iowan Old Style, Baskerville, Georgia, serif; font-size: clamp(1.6rem, 2.6vw, 2.35rem); }
.published-item-copy { display: grid; align-content: start; gap: 1rem; color: var(--muted-navy); }
.published-meta { display: flex; align-items: center; gap: .6rem; color: var(--navy); font-size: .82rem; font-weight: 700; }
.published-body { white-space: normal; }
.published-empty { display: flex; align-items: center; gap: 1rem; min-height: 8rem; color: var(--muted-navy); }
.admin-body { min-height: 100vh; background: var(--white); }
.admin-header { display: flex; min-height: 5.5rem; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem clamp(1rem, 5vw, 4rem); background: var(--navy-deep); color: var(--white); }
.admin-brand { display: flex; align-items: center; gap: .8rem; }
.admin-brand .adventist-symbol { width: 2.5rem; height: 2.25rem; }
.admin-brand strong, .admin-brand small { display: block; }
.admin-brand small { color: rgb(255 255 255 / 64%); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.admin-header .button-outline { color: var(--white); }
.admin-header-actions, .admin-header-actions nav { display: flex; align-items: center; gap: 1.5rem; }
.admin-header-actions nav a { color: rgb(255 255 255 / 66%); font-size: .82rem; font-weight: 700; }
.admin-header-actions nav a:hover, .admin-header-actions nav a.active { color: var(--white); }
.admin-main { width: min(calc(100% - 2rem), 76rem); margin-inline: auto; padding-block: clamp(3rem, 7vw, 6rem); }
.admin-login { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(3rem, 9vw, 8rem); max-width: 64rem; margin-inline: auto; }
.admin-login h1, .admin-page-heading h1 { margin-block: .7rem 1rem; }
.admin-login > div > p:last-child, .admin-page-heading > div > p:last-child { color: var(--muted-navy); }
.admin-login form { width: 100%; }
.admin-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.admin-notice { margin-bottom: 2rem; padding: 1rem 1.25rem; background: var(--navy-deep); color: var(--white); }
.admin-list article { display: flex; min-height: 9rem; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.5rem; }
.admin-list h2 { margin-block: .35rem; font-size: 1.5rem; }
.admin-list article > div:first-child > p:last-child { color: var(--muted-navy); }
.admin-row-actions { display: flex; align-items: center; gap: 1.5rem; }
.admin-row-actions button { border: 0; background: transparent; color: var(--muted-navy); cursor: pointer; }
.admin-editor { max-width: none; }
.admin-language-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-block: 1rem 2rem; }
.admin-language-grid fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.admin-language-grid legend { margin-bottom: 1.5rem; font-family: var(--font-sans); font-size: 1.2rem; font-weight: 700; }
.field label span { color: var(--muted-navy); font-weight: 400; }
.field-error { margin-top: .4rem; color: var(--navy); font-size: .8rem; font-weight: 700; }
.resource-directory { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem clamp(2rem, 6vw, 5rem); }
.resource-directory > a { display: grid; min-height: 9rem; grid-template-columns: 3.25rem 1fr auto; align-items: center; gap: 1.2rem; padding-block: 1rem; transition: color var(--duration-fast), transform var(--duration-fast); }
.resource-directory > a:hover { color: var(--navy-hover); transform: translateX(.25rem); }
.resource-icon { display: grid; width: 3.25rem; height: 3.25rem; place-items: center; border-radius: 50%; background: var(--navy-deep); color: var(--white); }
.resource-copy { display: grid; gap: .3rem; }
.resource-copy small { color: var(--muted-navy); font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.resource-copy strong { font-family: var(--font-sans); font-size: 1.08rem; }
.resource-copy > span { color: var(--muted-navy); font-size: .86rem; line-height: 1.5; }
.resource-action { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 750; white-space: nowrap; }

@media (max-width: 52rem) {
    .published-item, .admin-login, .admin-language-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .admin-page-heading, .admin-list article { align-items: start; flex-direction: column; }
    .resource-directory { grid-template-columns: 1fr; }
    .admin-header-actions nav { display: none; }
}

@media (max-width: 35rem) {
    .resource-directory > a { grid-template-columns: 3.25rem 1fr; }
    .resource-action { grid-column: 2; }
}

/* Njiro glass hero */
.glass-hero { position: relative; min-height: clamp(40rem, 72vh, 48rem); overflow: hidden; isolation: isolate; background: var(--navy-deep); color: var(--white); }
.glass-hero-media, .glass-hero-shade { position: absolute; inset: 0; }
.glass-hero-media { z-index: -3; overflow: hidden; }
.glass-hero-photo { position: absolute; inset: -3%; width: 106%; max-width: none; height: 106%; object-fit: cover; object-position: center 38%; opacity: 0; transform: scale(1.04); animation: hero-photo-cycle 21s infinite var(--ease-standard); }
.glass-hero-photo-one { opacity: 1; animation-delay: 0s; }
.glass-hero-photo-two { object-position: center 34%; animation-delay: 7s; }
.glass-hero-photo-three { object-position: center 46%; animation-delay: 14s; }
.glass-hero-shade { z-index: -2; background: linear-gradient(90deg, rgb(4 21 40 / 72%) 0%, rgb(4 21 40 / 34%) 58%, rgb(4 21 40 / 18%) 100%), linear-gradient(0deg, rgb(4 21 40 / 42%), transparent 48%); }
.glass-hero-inner { display: flex; min-height: clamp(40rem, 72vh, 48rem); align-items: center; padding-block: 3rem; }
.glass-hero-panel { width: min(43rem, 62%); padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid rgb(255 255 255 / 18%); background: linear-gradient(135deg, rgb(6 29 54 / 76%), rgb(9 43 80 / 52%)); box-shadow: 0 2rem 5rem rgb(0 0 0 / 24%), inset 0 1px rgb(255 255 255 / 18%); backdrop-filter: blur(1.15rem) saturate(1.18); -webkit-backdrop-filter: blur(1.15rem) saturate(1.18); }
.glass-hero-panel .eyebrow { color: rgb(255 255 255 / 76%); }
.glass-hero-panel h1 { max-width: 13ch; margin-top: 1rem; color: var(--white); font-size: clamp(3rem, 4.6vw, 4.8rem); line-height: .96; text-wrap: balance; }
.glass-hero-tagline { max-width: 34rem; margin-top: 1.35rem; color: rgb(255 255 255 / 82%); font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.6; }
.glass-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-top: 2rem; }
.glass-hero-panel .button-light { box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 20%); }
.glass-hero-link { display: inline-flex; align-items: center; gap: .55rem; padding-block: .65rem; color: var(--white); font-size: .9rem; font-weight: 750; }
.glass-hero-link .icon { transition: transform var(--duration-fast); }
.glass-hero-link:hover .icon { transform: translateX(.25rem); }
.glass-hero-facts { display: grid; grid-template-columns: .7fr 1.3fr; gap: 1.5rem; margin-top: 2.25rem; padding-top: 1.35rem; border-top: 1px solid rgb(255 255 255 / 18%); }
.glass-hero-facts > div, .glass-hero-facts > a { display: grid; grid-template-columns: 1.2rem 1fr auto; align-items: start; gap: .7rem; min-width: 0; }
.glass-hero-facts > div { grid-template-columns: 1.2rem 1fr; }
.glass-hero-facts .icon { margin-top: .15rem; color: rgb(255 255 255 / 72%); }
.glass-hero-facts span { display: grid; min-width: 0; gap: .15rem; }
.glass-hero-facts small { color: rgb(255 255 255 / 58%); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.glass-hero-facts strong { overflow: hidden; color: var(--white); font-family: var(--font-sans); font-size: .82rem; line-height: 1.4; text-overflow: ellipsis; }

@keyframes hero-photo-cycle {
    0% { opacity: 0; transform: scale(1.04); }
    4%, 29% { opacity: 1; }
    33%, 95% { opacity: 0; }
    100% { opacity: 0; transform: scale(1.13); }
}

@media (max-width: 68rem) {
    .glass-hero-panel { width: min(40rem, 72%); }
}

@media (max-width: 52rem) {
    .glass-hero, .glass-hero-inner { min-height: 46rem; }
    .glass-hero-inner { align-items: end; padding-block: 2rem; }
    .glass-hero-panel { width: 100%; padding: clamp(1.75rem, 6vw, 2.6rem); background: linear-gradient(135deg, rgb(6 29 54 / 86%), rgb(9 43 80 / 68%)); }
    .glass-hero-panel h1 { max-width: 12ch; font-size: clamp(2.7rem, 9.5vw, 4rem); }
    .glass-hero-photo { object-position: 54% center; }
}

@media (max-width: 35rem) {
    .glass-hero, .glass-hero-inner { min-height: 49rem; }
    .glass-hero-inner { width: 100%; padding: 1rem; }
    .glass-hero-panel { padding: 1.6rem; }
    .glass-hero-panel h1 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
    .glass-hero-actions { align-items: stretch; flex-direction: column; }
    .glass-hero-actions .button, .glass-hero-link { width: 100%; justify-content: center; }
    .glass-hero-facts { grid-template-columns: 1fr; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .glass-hero-photo { display: none; animation: none; transform: none; }
    .glass-hero-photo-one { display: block; opacity: 1; }
}

/* Crafted primary navigation */
.site-header { background: rgb(255 255 255 / 92%); backdrop-filter: blur(1.25rem) saturate(1.25); -webkit-backdrop-filter: blur(1.25rem) saturate(1.25); }
.site-header.is-scrolled { box-shadow: 0 .75rem 2.5rem rgb(6 29 54 / 9%); }
.header-inner { min-height: 5.35rem; gap: clamp(1rem, 2vw, 1.75rem); }
.brand { min-width: 13.5rem; gap: .7rem; }
.brand-symbol { width: 2rem; height: 1.85rem; }
.brand strong { font-size: .88rem; letter-spacing: -.01em; }
.brand small { margin-top: .18rem; color: var(--muted-navy); font-size: .59rem; font-weight: 750; letter-spacing: .16em; }
.primary-nav { gap: clamp(.35rem, .8vw, .85rem); }
.primary-nav > a { align-self: center; min-height: 2.45rem; padding-inline: .62rem; border-radius: .35rem; font-size: .78rem; transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast); }
.primary-nav > a:hover { background: rgb(9 43 80 / 6%); opacity: 1; transform: none; }
.primary-nav > a.active { background: var(--navy-deep); color: var(--white); }
.header-actions { gap: .45rem; }
.language { min-width: 2.65rem; min-height: 2.65rem; justify-content: center; padding: .45rem; border-radius: .35rem; transition: background var(--duration-fast); }
.language:hover { background: rgb(9 43 80 / 6%); }
.header-actions .button { min-height: 2.75rem; padding-inline: .95rem; white-space: nowrap; box-shadow: none; }
.mobile-nav-context, .primary-nav > .mobile-visit { display: none; }

@media (max-width: 78rem) {
    .header-actions .button { display: none; }
    .brand { min-width: 11rem; }
}

@media (max-width: 52rem) {
    .header-inner { min-height: 4.75rem; }
    .brand { min-width: 0; }
    .brand-symbol { width: 1.85rem; height: 1.7rem; }
    .brand strong { font-size: .8rem; }
    .brand small { font-size: .56rem; }
    .menu-toggle { width: 3rem; height: 3rem; border-radius: .7rem; background: rgb(9 43 80 / 6%); box-shadow: none; }
    .menu-toggle:hover { background: rgb(9 43 80 / 10%); }
    .primary-nav {
        top: 4.75rem;
        right: 0;
        width: 100%;
        height: calc(100dvh - 4.75rem);
        padding: 1rem clamp(1rem, 5vw, 1.75rem) max(1.25rem, env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: rgb(255 255 255 / 98%);
        box-shadow: -1.5rem 0 4rem rgb(6 29 54 / 16%);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .primary-nav::-webkit-scrollbar { display: none; }
    .primary-nav > a { min-height: 3.35rem; flex: 0 0 auto; align-self: stretch; padding-inline: .7rem; border-radius: .45rem; font-size: clamp(.9rem, 3.8vw, .98rem); }
    .primary-nav > a:hover, .primary-nav > a.active { background: rgb(9 43 80 / 7%); color: var(--navy); transform: none; }
    .primary-nav > a.active { font-weight: 750; }
    .primary-nav .nav-icon { width: 1.15rem; height: 1.15rem; opacity: .66; }
    .mobile-nav-context { position: relative; z-index: 1; display: grid; flex: 0 0 auto; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: .9rem; padding: .9rem .7rem 0; border: 0; }
    .mobile-nav-context a { display: grid; grid-template-columns: 1rem 1fr; align-items: start; gap: .6rem; min-width: 0; }
    .mobile-nav-context .icon { margin-top: .2rem; color: var(--muted-navy); }
    .mobile-nav-context span { display: grid; gap: .1rem; min-width: 0; }
    .mobile-nav-context small { color: var(--muted-navy); font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
    .mobile-nav-context strong { font-size: .72rem; line-height: 1.35; }
    .primary-nav .mobile-visit { position: relative; z-index: 1; display: grid; min-height: 3.35rem; grid-template-columns: 1.1rem 1fr; justify-content: stretch; margin-top: 1rem; padding-inline: 1rem; background: var(--navy-deep); color: var(--white); font-size: .84rem; text-align: left; }
    .primary-nav .mobile-visit:hover { background: var(--navy-hover); color: var(--white); }
    .primary-nav .mobile-language { display: flex !important; width: auto; min-height: 3rem; justify-content: flex-start; margin-top: .45rem; padding-inline: 1rem; border-radius: .45rem; background: transparent; color: var(--navy); font-size: .8rem; box-shadow: none; }
    .primary-nav .mobile-language .icon { color: var(--navy); opacity: .7; }
    .mobile-nav-mark { right: -4rem; bottom: 1rem; width: 20rem; height: 18rem; opacity: .035; }
}

@media (max-width: 35rem) {
    .brand span { display: block; }
    .brand small { display: none; }
    .primary-nav { top: 4.75rem; height: calc(100dvh - 4.75rem); padding-top: .75rem; }
    .mobile-nav-context { grid-template-columns: 1fr 1fr; gap: .75rem; }
    .mobile-nav-context strong { font-size: .68rem; }
}

@media (max-width: 52rem) and (max-height: 43rem) {
    .primary-nav { padding-top: .55rem; }
    .primary-nav > a { min-height: 3rem; }
    .mobile-nav-context { margin-top: .55rem; padding-top: .55rem; }
    .primary-nav .mobile-visit { margin-top: .7rem; }
}

/* Pure satin visual system */
:root {
    --surface: #fff;
    --ivory: #fff;
    --gold: #092b50;
    --muted-navy: rgb(9 43 80 / 84%);
    --space-section: clamp(2.9rem, 4.5vw, 4.25rem);
    --shadow-satin: 0 1.35rem 3.5rem rgb(6 29 54 / 18%), inset 0 1px rgb(255 255 255 / 22%);
    --shadow-photo: 0 1.5rem 3.8rem rgb(6 29 54 / 20%);
}

body { font-weight: 475; line-height: 1.58; }
h1, h2 { font-weight: 650; }
h3, strong { font-weight: 750; }
.eyebrow { font-weight: 800; letter-spacing: .18em; }
.lead, .about-njiro p:not(.eyebrow), .media-copy > p:not(.eyebrow), .content-grid p { color: var(--muted-navy); }

.section, .photo-story { padding-block: var(--space-section); }
.feature-grid, .weekly-grid, .media-grid, .location-grid { gap: clamp(2rem, 6vw, 5rem); }
.pathways-heading, .media-directory-heading, .photo-story-head, .gallery-heading { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.service-shortcuts h2 { margin-block: .55rem 2rem; }
.about-njiro h2, .weekly-grid h2, .pathways-heading h2, .service-shortcuts h2, .location-grid h2 { margin-top: 0; }
.site-footer { padding-block: clamp(3rem, 5vw, 4rem); }

.weekly-section, .media-section, .gallery-section, .status-section { background: var(--white); }
.weekly-links > a, .verified-details > a { min-height: 4.5rem; }
.content-grid article { min-height: 13rem; padding-block: 1.35rem; }
.content-grid h3 { margin-block: 2.5rem .8rem; }

.glass-hero-panel {
    border: 0;
    background: linear-gradient(135deg, rgb(6 29 54 / 38%), rgb(9 43 80 / 18%));
    box-shadow: 0 2.5rem 6rem rgb(4 21 40 / 18%), inset 0 1px rgb(255 255 255 / 8%);
    transform: perspective(75rem) rotateY(.6deg) translateZ(0);
}
.glass-hero-panel h1 { font-weight: 650; text-shadow: 0 .65rem 2rem rgb(0 0 0 / 22%); }
.glass-hero-tagline { color: rgb(255 255 255 / 90%); font-weight: 540; }
.glass-hero-panel .button-light { box-shadow: 0 1.15rem 2.8rem rgb(0 0 0 / 24%), inset 0 1px rgb(255 255 255 / 75%); }

.ministry-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-columns: calc((100% - clamp(.65rem, 1.2vw, 1rem)) / 2);
    grid-auto-flow: column;
    gap: clamp(.65rem, 1.2vw, 1rem);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    perspective: 90rem;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ministry-grid::-webkit-scrollbar { display: none; }
.ministry-grid > a { min-height: clamp(21rem, 31vw, 27rem); box-shadow: var(--shadow-photo); transform-style: preserve-3d; }
.ministry-grid > a { scroll-snap-align: start; }
.ministry-grid > a:nth-child(even) { transform: translateY(.85rem) rotateY(-.45deg); }
.ministry-grid > a:nth-child(odd) { transform: rotateY(.45deg); }
.ministry-grid > a:hover { box-shadow: 0 2rem 4.5rem rgb(6 29 54 / 25%); transform: translateY(-.25rem) translateZ(1rem); }
.ministry-grid > a:nth-child(even):hover { transform: translateY(.55rem) translateZ(1rem); }
.ministry-grid img { filter: saturate(1.04) contrast(1.04); }
.ministry-grid > a > span { padding: 6rem 1.25rem 1.35rem; background: linear-gradient(transparent, rgb(6 29 54 / 96%)); }
.ministry-grid > a > span > span { display: grid; gap: .2rem; }
.ministry-grid small { color: rgb(255 255 255 / 68%); font-size: .62rem; font-weight: 800; letter-spacing: .16em; }

.video-player { box-shadow: var(--shadow-photo), inset 0 1px rgb(255 255 255 / 18%); }
.service-shortcuts, .worship-schedule, .site-footer {
    background-color: var(--navy-deep);
    background-image: linear-gradient(125deg, #061d36 0%, #0b355f 58%, #041528 100%);
    box-shadow: inset 0 1px rgb(255 255 255 / 12%);
}
.shortcut-links a { font-weight: 750; }
.shortcut-links a .icon:first-child { filter: drop-shadow(0 .6rem 1rem rgb(0 0 0 / 30%)); }
.button { font-weight: 800; box-shadow: 0 .9rem 2.2rem rgb(6 29 54 / 18%), inset 0 1px rgb(255 255 255 / 30%); }

.photo-story, .gallery-section, .weekly-section, .media-section, .location-section,
.verified-details, .weekly-links, .content-grid, .platform-links, .editorial-list,
.verified-details > a, .weekly-links > a, .content-grid article, .platform-links a, .editorial-list > a { border: 0; }

.media-section { position: relative; isolation: isolate; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.media-section::before { position: absolute; z-index: -2; inset: 0; background: url('/assets/gallery/njiro-040.webp') center 38% / cover no-repeat; content: ""; filter: saturate(.85); }
.media-section::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, rgb(6 29 54 / 98%) 0%, rgb(9 43 80 / 94%) 46%, rgb(4 21 40 / 82%) 100%); content: ""; }
.media-grid { grid-template-columns: minmax(16rem, .72fr) minmax(28rem, 1.28fr); align-items: center; }
.media-copy h2 { max-width: 13ch; margin-block: .65rem 1rem; color: var(--white); }
.media-copy > p:not(.eyebrow) { max-width: 31rem; color: rgb(255 255 255 / 78%); }
.media-section .eyebrow { color: rgb(255 255 255 / 70%); }
.platform-icons { gap: .55rem 1rem; margin-top: 1.65rem; }
.platform-icons a { width: auto; height: auto; grid-template-columns: 1.55rem 1fr; gap: .45rem; color: var(--white); opacity: .82; }
.platform-icons a:hover { color: var(--white); opacity: 1; }
.platform-icons a span { font-size: .68rem; font-weight: 750; }
.platform-icons .brand-icon { width: 1.2rem; height: 1.2rem; }
.media-all-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.65rem; color: var(--white); font-size: .84rem; font-weight: 800; }
.media-all-link .icon { transition: transform var(--duration-fast); }
.media-all-link:hover .icon { transform: translateX(.25rem); }
.video-feature { min-width: 0; }
.video-kicker { display: flex; align-items: center; gap: .55rem; margin-bottom: .75rem; color: rgb(255 255 255 / 72%); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.video-kicker .brand-icon { width: 1rem; height: 1rem; }
.video-player { background: var(--navy-deep); box-shadow: 0 2rem 5rem rgb(0 0 0 / 32%), inset 0 1px rgb(255 255 255 / 20%); }
.video-player p { justify-content: space-between; color: var(--white); font-weight: 750; }
.video-player p a { display: grid; width: 2.2rem; height: 2.2rem; flex: 0 0 auto; place-items: center; color: var(--white); }

/* Story-led image backgrounds */
.about-njiro,
.weekly-section,
.service-shortcuts,
.location-section { position: relative; isolation: isolate; overflow: hidden; }

.about-njiro::before,
.weekly-section::before,
.service-shortcuts::before,
.location-section::before { position: absolute; z-index: -2; inset: 0; background-position: center; background-repeat: no-repeat; background-size: cover; content: ""; }

.about-njiro::after,
.weekly-section::after,
.service-shortcuts::after,
.location-section::after { position: absolute; z-index: -1; inset: 0; content: ""; }

.about-njiro::before { background-image: url('/photos/congregation'); background-position: center 42%; }
.about-njiro::after { background: linear-gradient(90deg, rgb(6 29 54 / 97%) 0%, rgb(9 43 80 / 92%) 48%, rgb(6 29 54 / 78%) 100%); }
.about-njiro { background: var(--navy-deep); color: var(--white); }
.about-njiro .eyebrow,
.about-njiro h2,
.about-njiro p:not(.eyebrow),
.about-njiro .text-link { color: var(--white); }
.about-njiro p:not(.eyebrow) { color: rgb(255 255 255 / 86%); }

.weekly-section::before { background-image: url('/photos/fellowship'); background-position: center 46%; filter: saturate(.92); }
.weekly-section::after { background: linear-gradient(90deg, rgb(255 255 255 / 98%) 0%, rgb(255 255 255 / 94%) 50%, rgb(255 255 255 / 79%) 100%); }
.weekly-section { background: var(--white); }

.service-shortcuts::before { background-image: url('/assets/gallery/njiro-061.webp'); background-position: center 44%; filter: saturate(.88); }
.service-shortcuts::after { background: linear-gradient(110deg, rgb(6 29 54 / 98%) 0%, rgb(9 43 80 / 93%) 55%, rgb(4 21 40 / 82%) 100%); }
.service-shortcuts { background-image: none; }

.location-section::before { background-image: url('/assets/gallery/njiro-040.webp'); background-position: center 44%; filter: saturate(.9); }
.location-section::after { background: linear-gradient(90deg, rgb(255 255 255 / 98%) 0%, rgb(255 255 255 / 95%) 56%, rgb(255 255 255 / 80%) 100%); }
.location-section { background: var(--white); }

.site-footer {
    background-image: linear-gradient(110deg, rgb(6 29 54 / 99%) 0%, rgb(9 43 80 / 94%) 58%, rgb(4 21 40 / 88%) 100%), url('/assets/gallery/njiro-061.webp');
    background-position: center, center 36%;
    background-size: cover;
}

@media (max-width: 68rem) {
    .ministry-grid > a { min-height: 22rem; }
}

@media (max-width: 52rem) {
    :root { --space-section: clamp(2.5rem, 8vw, 3.35rem); }
    .glass-hero-panel { transform: none; }
    .media-grid { grid-template-columns: 1fr; gap: 2rem; }
    .ministry-grid { grid-template-columns: none; grid-auto-columns: calc((100% - .75rem) / 2); gap: .75rem; }
    .ministry-grid > a, .ministry-grid > a:nth-child(even), .ministry-grid > a:nth-child(odd) { min-height: 19rem; transform: none; }
    .ministry-grid > a:hover, .ministry-grid > a:nth-child(even):hover { transform: translateY(-.15rem); }
    .about-njiro::after { background: rgb(6 29 54 / 91%); }
    .weekly-section::after, .location-section::after { background: rgb(255 255 255 / 91%); }
    .service-shortcuts::after { background: rgb(6 29 54 / 92%); }
}

@media (max-width: 35rem) {
    .ministry-grid { grid-template-columns: none; grid-auto-columns: calc((100% - .6rem) / 2); gap: .6rem; }
    .ministry-grid > a { min-height: 17rem; }
    .ministry-grid > a > span { padding: 4.5rem .8rem .9rem; font-size: .88rem; }
    .platform-icons { display: grid; grid-template-columns: 1fr 1fr; }
    .shortcut-links { gap: .75rem; }
}

/* Refined text-link interaction and footer typography */
:where(
    .primary-nav > a,
    .glass-hero-link,
    .weekly-links a,
    .media-all-link,
    .platform-icons a,
    .verified-details a,
    .media-platform-list a,
    .resource-directory a,
    .site-footer .footer-links a,
    .site-footer .developer-credit a
) {
    text-decoration-line: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: .08em;
    text-underline-offset: .32em;
    transition: color var(--duration-fast), opacity var(--duration-fast), text-decoration-color var(--duration-fast), transform var(--duration-fast);
}

:where(
    .primary-nav > a,
    .glass-hero-link,
    .weekly-links a,
    .media-all-link,
    .platform-icons a,
    .verified-details a,
    .media-platform-list a,
    .resource-directory a,
    .site-footer .footer-links a,
    .site-footer .developer-credit a
):is(:hover, :focus-visible, :active) {
    text-decoration-color: currentColor;
}

.site-footer h3 {
    margin-bottom: 1.15rem;
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.35;
    text-transform: uppercase;
}

.site-footer .footer-links a {
    margin-block: .7rem;
    color: rgb(255 255 255 / 82%);
    font-family: var(--font-sans);
    font-size: clamp(.78rem, .74rem + .12vw, .86rem);
    font-weight: 620;
    letter-spacing: .005em;
    line-height: 1.5;
}

.site-footer .footer-links a:hover { color: var(--white); }
.site-footer .footer-official-links a { max-width: 18rem; }
.site-footer .copyright { margin-top: 1.75rem; font-size: .72rem; letter-spacing: .02em; }
.site-footer .developer-credit { font-family: var(--font-sans); letter-spacing: .015em; }

/* Location map experience */
.map-dialog {
    width: min(68rem, calc(100vw - 3rem));
    max-width: none;
    max-height: min(46rem, calc(100dvh - 3rem));
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 2.5rem 7rem rgb(4 21 40 / 38%);
}

.map-dialog::backdrop { background: rgb(4 21 40 / 72%); backdrop-filter: blur(.35rem); }
.map-dialog-layout { display: grid; min-height: min(38rem, calc(100dvh - 3rem)); grid-template-columns: minmax(0, 1.35fr) minmax(18rem, .65fr); }
.map-dialog-view { min-height: 32rem; background: var(--navy-deep); }
.map-dialog-view iframe { display: block; width: 100%; height: 100%; min-height: 32rem; border: 0; filter: saturate(.82) contrast(1.03); }
.map-dialog-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); background: linear-gradient(145deg, #061d36, #0b355f 62%, #041528); color: var(--white); box-shadow: inset 0 1px rgb(255 255 255 / 16%); }
.map-dialog-symbol { width: 3.2rem; height: 2.9rem; margin-bottom: 2rem; color: var(--white); filter: drop-shadow(0 .75rem 1.25rem rgb(0 0 0 / 26%)); }
.map-dialog-copy > p { color: rgb(255 255 255 / 64%); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.map-dialog-copy h2 { max-width: 12ch; margin-top: .7rem; color: var(--white); font-size: clamp(2rem, 3.5vw, 3rem); }
.map-dialog-copy address { max-width: 24rem; margin-top: 1.25rem; color: rgb(255 255 255 / 78%); font-size: .9rem; font-style: normal; line-height: 1.65; }
.map-dialog-actions { display: grid; justify-items: start; gap: 1rem; margin-top: 2rem; }
.map-dialog-actions > a:not(.button) { display: inline-flex; align-items: center; gap: .55rem; color: var(--white); font-size: .84rem; font-weight: 700; }
.map-dialog-close { position: absolute; z-index: 2; top: 1rem; right: 1rem; display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 94%); color: var(--navy); box-shadow: 0 .8rem 2rem rgb(4 21 40 / 18%); cursor: pointer; }
.map-dialog-close:hover { background: var(--white); transform: translateY(-1px); }

@media (max-width: 52rem) {
    .map-dialog { width: calc(100vw - 2rem); max-height: calc(100dvh - 2rem); overflow-y: auto; }
    .map-dialog-layout { min-height: 0; grid-template-columns: 1fr; }
    .map-dialog-view, .map-dialog-view iframe { min-height: min(48vh, 23rem); }
    .map-dialog-copy { min-height: 21rem; padding: 2rem; }
    .map-dialog-symbol { width: 2.6rem; height: 2.4rem; margin-bottom: 1.4rem; }
    .map-dialog-copy h2 { font-size: clamp(1.85rem, 8vw, 2.5rem); }
}

@media (max-width: 35rem) {
    .map-dialog { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); }
    .map-dialog-view, .map-dialog-view iframe { min-height: 40vh; }
    .map-dialog-copy { min-height: 19rem; padding: 1.6rem; }
}
