:root {
  --blue-950: #10384f;
  --blue-900: #174b6a;
  --blue-800: #1d587c;
  --blue-600: #3e8ac5;
  --blue-100: #e5f1f8;
  --gold-600: #a97b33;
  --gold-500: #debb7b;
  --gold-100: #fbf4e7;
  --green-600: #5b9f26;
  --green-500: #85d33c;
  --green-100: #edf8e4;
  --earth: #a3735e;
  --earth-100: #f4eae6;
  --background: #f4f8fb;
  --paper: #ffffff;
  --ink: #17384c;
  --muted: #657b89;
  --line: #dce8ef;
  --shadow-sm: 0 5px 22px rgba(29, 88, 124, 0.08);
  --shadow-lg: 0 24px 70px rgba(16, 56, 79, 0.2);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --safe-bottom: max(14px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--background); color: var(--ink); font: 400 1rem/1.5 "Poppins", ui-sans-serif, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, iframe { display: block; max-width: 100%; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 300; top: 10px; left: 10px; padding: 10px 14px; border-radius: 10px; background: white; color: var(--blue-900); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.app-shell { min-height: 100svh; }
.side-nav { display: none; }
.app-column { min-width: 0; }

.mobile-header { position: sticky; z-index: 50; top: 0; display: flex; align-items: center; justify-content: space-between; min-height: 68px; padding: 10px 18px; border-bottom: 1px solid rgba(220, 232, 239, 0.9); background: rgba(244, 248, 251, 0.92); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand > span { display: grid; min-width: 0; line-height: 1; }
.brand-logo { width: 43px; height: 43px; flex: 0 0 auto; object-fit: contain; border-radius: 50%; background: white; box-shadow: 0 5px 16px rgba(29, 88, 124, .16); }
.brand strong { color: var(--blue-900); font-size: .92rem; letter-spacing: .015em; line-height: 1.15; }
.brand small { max-width: 190px; margin-top: 4px; color: var(--muted); font-size: .56rem; line-height: 1.2; letter-spacing: .035em; text-transform: uppercase; }
.icon-button { position: relative; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; }
.notification-dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border: 2px solid white; border-radius: 50%; background: var(--green-500); }

main { width: 100%; }
.screen { display: none; min-height: calc(100svh - 146px); padding: 16px 16px 42px; animation: screen-in 220ms ease both; }
.screen.is-active { display: block; }
@keyframes screen-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.eyebrow { color: var(--blue-600); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--gold { color: var(--gold-500); }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 10px 15px; border: 1px solid transparent; border-radius: 13px; font-size: .84rem; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; }
.button--primary { background: var(--blue-800); color: white; box-shadow: 0 6px 18px rgba(29, 88, 124, .16); }
.button--secondary { border-color: var(--line); background: var(--paper); color: var(--blue-800); }
.button--gold { background: var(--gold-500); color: var(--blue-950); }
.button--small { min-height: 40px; padding: 8px 13px; font-size: .78rem; }
.button--full { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 5px; border: 0; background: none; color: var(--blue-800); font-size: .82rem; font-weight: 750; cursor: pointer; }
.text-link--light { color: var(--gold-500); }

.home-welcome { position: relative; display: flex; min-height: 280px; align-items: center; overflow: hidden; padding: 28px 20px; border-radius: var(--radius-lg); background: var(--blue-950); box-shadow: var(--shadow-lg); color: white; isolation: isolate; }
.home-welcome::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(16,56,79,.96) 0%, rgba(16,56,79,.82) 45%, rgba(16,56,79,.35) 78%, rgba(16,56,79,.12) 100%), linear-gradient(0deg, rgba(8,36,53,.46), transparent 55%); content: ""; }
.home-welcome::after { position: absolute; z-index: -1; right: -76px; bottom: -155px; width: 270px; height: 270px; border: 1px solid rgba(222, 187, 123, .32); border-radius: 50%; content: ""; }
.home-welcome__photo { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 42%; }
.home-welcome > div { position: relative; max-width: min(76%, 540px); }
.home-welcome h1 { margin: 9px 0 12px; font-size: clamp(1.75rem, 7.5vw, 3rem); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.home-welcome p { margin: 0; color: rgba(255,255,255,.78); font-size: .88rem; }

.action-dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 12px 0 15px; padding: 12px 7px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.install-card { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: center; margin: 0 0 15px; padding: 15px; border: 1px solid #bad5e1; border-radius: var(--radius-md); background: linear-gradient(135deg, #f4fbfe, #e8f4f8); box-shadow: var(--shadow-sm); }
.install-card > img { width: 48px; height: 48px; border-radius: 13px; background: white; box-shadow: 0 3px 10px rgba(9,45,64,.12); }
.install-card strong { display: block; color: var(--blue-950); font-size: .88rem; line-height: 1.25; }
.install-card p { margin: 3px 0 0; color: var(--muted); font-size: .75rem; line-height: 1.4; }
.install-card .button { grid-column: 1 / -1; width: 100%; }
.install-card[hidden] { display: none; }
.dock-action { display: flex; min-width: 0; min-height: 78px; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: 5px 2px; border: 0; background: transparent; color: var(--blue-950); font-size: .66rem; font-weight: 700; line-height: 1.25; text-align: center; cursor: pointer; }
.dock-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(222, 187, 123, .72); border-radius: 50%; background: linear-gradient(145deg, #fff, var(--blue-100)); color: var(--blue-800); box-shadow: 0 5px 14px rgba(29, 88, 124, .1); transition: transform 160ms ease, background 160ms ease, color 160ms ease; }
.dock-icon .icon { width: 21px; height: 21px; }
.dock-action:hover .dock-icon, .dock-action:focus-visible .dock-icon { background: var(--blue-800); color: white; transform: translateY(-2px); }

.homecoming-notice { position: relative; display: grid; gap: 22px; overflow: hidden; margin-bottom: 14px; padding: 22px 19px; border-radius: var(--radius-md); background: linear-gradient(90deg, rgba(9,44,64,.97) 0%, rgba(9,44,64,.82) 44%, rgba(9,44,64,.55) 100%), url("/assets/homecoming-countdown.jpeg") center / cover no-repeat; box-shadow: var(--shadow-lg); color: white; isolation: isolate; }
.homecoming-notice::after { position: absolute; z-index: -1; right: -74px; bottom: -132px; width: 230px; height: 230px; border: 1px solid rgba(222,187,123,.24); border-radius: 50%; content: ""; }
.homecoming-notice__copy { min-width: 0; }
.homecoming-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-bottom: 17px; color: rgba(255,255,255,.72); font-size: .75rem; font-weight: 700; letter-spacing: .035em; }
.homecoming-status { display: inline-flex; align-items: center; gap: 9px; color: var(--gold-500); font-weight: 800; letter-spacing: .09em; }
.homecoming-notice h2 { margin: 7px 0 5px; font-size: clamp(1.65rem, 7vw, 2.4rem); line-height: 1.08; letter-spacing: -.04em; }
.homecoming-notice p { max-width: 650px; margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.55; }
.homecoming-notice p strong { color: white; }
.homecoming-notice .homecoming-theme { margin-top: 8px; color: white; font-size: 1.06rem; font-weight: 800; }
.homecoming-countdown { display: grid; grid-template-columns: minmax(150px,220px); justify-content: start; }
.homecoming-countdown > span { display: grid; min-height: 72px; place-content: center; padding: 10px 5px; border: 1px solid rgba(222,187,123,.25); border-radius: 14px; background: rgba(255,255,255,.07); text-align: center; backdrop-filter: blur(8px); }
.homecoming-countdown .homecoming-countdown__message { grid-column: 1 / -1; }
.homecoming-countdown strong { color: var(--gold-500); font-size: 1.35rem; line-height: 1; font-variant-numeric: tabular-nums; }
.homecoming-countdown small { margin-top: 7px; color: rgba(255,255,255,.65); font-size: .7rem; font-weight: 700; text-transform: uppercase; }
.homecoming-register-button { width: 100%; }
.homecoming-actions { display: grid; gap: 9px; }
.homecoming-training-button { width: 100%; border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.1); color: white; backdrop-filter: blur(8px); }
.homecoming-training-button:hover { background: rgba(255,255,255,.18); }

.next-card { display: grid; grid-template-columns: 116px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.next-card > img { width: 100%; height: 100%; object-fit: cover; }
.next-card > img.ordination-poster { object-fit: contain; background: var(--blue-950); }
.next-card__body { min-width: 0; padding: 16px; }
.card-topline { display: flex; align-items: center; gap: 7px; }
.status-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(133,211,60,.13); }
.countdown { margin-left: auto; padding: 4px 7px; border-radius: 99px; background: var(--gold-100); color: var(--gold-600); font-size: .68rem; font-weight: 800; }
.next-card h2 { margin: 9px 0 6px; font-size: 1.15rem; line-height: 1.18; }
.next-card p { margin: 0 0 12px; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.next-card .event-line { display: flex; align-items: center; gap: 5px; color: var(--blue-800); font-weight: 700; }
.next-card .button { min-height: 39px; padding: 8px 10px; font-size: .72rem; }
.home-event-poster-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.home-event-poster-card > img { display: block; width: 100%; height: auto; background: var(--blue-950); }
.home-event-poster-card__body { padding: 18px; }
.home-event-poster-card__body h2 { margin: 8px 0; font-size: 1.25rem; }
.home-event-poster-card__body p { margin: 0 0 14px; color: var(--muted); line-height: 1.55; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 30px 2px 14px; }
.section-heading h2 { margin: 5px 0 0; font-size: 1.45rem; line-height: 1.15; letter-spacing: -.03em; }
.schedule-strip { display: grid; grid-auto-columns: minmax(150px, 44%); grid-auto-flow: column; gap: 10px; margin: 0 -16px; padding: 0 16px 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.schedule-strip::-webkit-scrollbar, .filter-row::-webkit-scrollbar { display: none; }
.schedule-card { display: grid; min-height: 124px; align-content: center; gap: 7px; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); box-shadow: var(--shadow-sm); scroll-snap-align: start; }
.schedule-card span { color: var(--gold-600); font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.schedule-card strong { font-size: .9rem; line-height: 1.3; }
.schedule-card small { color: var(--muted); font-size: .74rem; }
.theme-card { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; width: 100%; margin-top: 15px; padding: 19px; border: 0; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--blue-900), var(--blue-950)); color: white; text-align: left; cursor: pointer; }
.theme-card > span:first-child { display: grid; gap: 7px; }
.theme-card strong { font-size: .92rem; line-height: 1.45; }
.theme-card small { color: rgba(255,255,255,.58); font-size: .72rem; }
.theme-card .chevron { color: var(--gold-500); }

.page-heading { padding: 17px 3px 20px; }
.page-heading h1 { margin: 6px 0 9px; color: var(--blue-950); font-size: clamp(2rem, 9vw, 3.5rem); line-height: 1.05; letter-spacing: -.045em; }
.page-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.page-heading--split { display: flex; flex-direction: column; align-items: start; gap: 14px; }

.live-status-card { display: grid; gap: 18px; margin-bottom: 14px; padding: 20px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--blue-800), var(--blue-950)); box-shadow: var(--shadow-sm); color: white; }
.status-pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 99px; background: rgba(255,255,255,.1); color: var(--gold-500); font-size: .67rem; font-weight: 800; letter-spacing: .08em; }
.live-status-card h2 { margin: 12px 0 5px; font-size: 1.45rem; }
.live-status-card p { margin: 0; color: rgba(255,255,255,.7); font-size: .8rem; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); }
.video-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-950); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-info { display: grid; gap: 15px; padding: 20px; }
.video-info h2 { margin: 7px 0 5px; font-size: 1.35rem; line-height: 1.2; }
.video-info p { margin: 0; color: var(--muted); font-size: .8rem; }
.service-list { display: grid; gap: 9px; }
.service-list > div { display: flex; align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.day-badge { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border-radius: 13px; background: var(--blue-100); color: var(--blue-800); font-size: .7rem; font-weight: 800; }
.service-list > div > span:last-child { display: grid; gap: 3px; }
.service-list strong { font-size: .88rem; }
.service-list small { color: var(--muted); font-size: .75rem; }
.notice-card { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; margin-top: 14px; padding: 16px; border: 1px solid #e8d2aa; border-radius: var(--radius-md); background: var(--gold-100); }
.notice-card .button { grid-column: 1 / -1; }
.notice-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 50%; background: white; color: var(--gold-600); }
.notice-card strong { font-size: .88rem; }
.notice-card p { margin: 3px 0 0; color: #725f42; font-size: .75rem; }

.filter-row { display: flex; gap: 8px; margin: 0 -16px 18px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
.filter-chip { flex: 0 0 auto; min-height: 40px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); color: var(--muted); font-size: .75rem; font-weight: 750; cursor: pointer; }
.filter-chip.is-active { border-color: var(--blue-800); background: var(--blue-800); color: white; }
.events-list { display: grid; gap: 14px; }
.event-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.event-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; background: var(--blue-100); }
.event-image.homecoming-poster { height: auto; aspect-ratio: auto; object-fit: contain; background: var(--blue-950); }
.event-image.ordination-poster { object-fit: contain; background: var(--blue-950); }
.event-body { padding: 19px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--gold-600); font-size: .68rem; font-weight: 800; letter-spacing: .06em; }
.event-meta span + span { color: var(--blue-600); }
.event-body h2 { margin: 9px 0 7px; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.025em; }
.event-body p { margin: 0 0 16px; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.event-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.segmented-control { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 14px; padding: 5px; border: 1px solid var(--line); border-radius: 16px; background: #e8f0f5; }
.segmented-control--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.segmented-control button { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font-size: .82rem; font-weight: 750; cursor: pointer; }
.segmented-control--three button { gap: 4px; padding: 5px 3px; font-size: .68rem; line-height: 1.2; }
.segmented-control--three button .icon { width: 17px; height: 17px; flex: 0 0 auto; }
.segmented-control button.is-active { background: white; color: var(--blue-800); box-shadow: 0 4px 12px rgba(29,88,124,.1); }
.podcast-panel { animation: screen-in 180ms ease both; }
.collection-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-lg); }
.collection-header { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 23px 20px; background: radial-gradient(circle at 92% 8%, rgba(133,211,60,.16), transparent 30%), linear-gradient(145deg, var(--blue-800), var(--blue-950)); color: white; }
.collection-card--podcast .collection-header { background: radial-gradient(circle at 90% 12%, rgba(222,187,123,.2), transparent 31%), linear-gradient(145deg, var(--earth), var(--blue-950)); }
.collection-mark { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(222,187,123,.38); border-radius: 18px; background: rgba(222,187,123,.13); color: var(--gold-500); }
.collection-mark .icon { width: 26px; height: 26px; }
.collection-header h2 { margin: 7px 0 5px; font-size: 1.4rem; line-height: 1.2; }
.collection-header p { margin: 0; color: rgba(255,255,255,.72); font-size: .8rem; }
.collection-card .video-frame { aspect-ratio: 16 / 9; }
.album-listening-layout { background: var(--paper); }
.album-player { scroll-margin-top: 78px; border-bottom: 1px solid var(--line); }
.now-playing { display: grid; gap: 3px; padding: 14px 16px 16px; background: linear-gradient(180deg, white, var(--blue-100)); }
.now-playing .eyebrow { font-size: .65rem; }
.now-playing strong { font-size: .9rem; line-height: 1.35; }
.spotify-album-player { padding: 0 14px 18px; }
.spotify-album-player iframe { display: block; width: 100%; height: 560px; border: 0; border-radius: 16px; background: #121212; }
.media-load-status { display: grid; min-height: 170px; margin: 0; place-items: center; border-radius: 16px; background: #121212; color: rgba(255,255,255,.72); font-size: .8rem; text-align: center; }
.media-load-status[hidden] { display: none; }
.album-tracklist { padding: 17px 14px 6px; }
.tracklist-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 0 3px 12px; }
.tracklist-heading h3 { margin: 4px 0 0; font-size: 1.1rem; line-height: 1.2; }
.tracklist-heading > span { flex: 0 0 auto; color: var(--muted); font-size: .72rem; font-weight: 700; }
.podcast-search { margin: 0 3px 12px; }
.podcast-search .icon { width: 19px; height: 19px; flex: 0 0 auto; }
.podcast-empty { display: grid; gap: 3px; margin: 5px 3px 10px; padding: 20px; border: 1px dashed var(--line); border-radius: 13px; color: var(--muted); text-align: center; }
.podcast-empty strong { color: var(--ink); font-size: .86rem; }
.podcast-empty span { font-size: .74rem; }
.album-tracklist ol { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.song-row { display: grid; grid-template-columns: 24px 36px minmax(0, 1fr) auto; gap: 8px; align-items: center; width: 100%; min-height: 54px; padding: 7px 9px; border: 1px solid transparent; border-radius: 13px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.song-row:hover { border-color: var(--line); background: var(--background); }
.song-row:active { transform: scale(.992); }
.song-row:focus-visible { outline: 3px solid rgba(62,138,197,.22); outline-offset: 1px; }
.song-row.is-active { border-color: rgba(62,138,197,.28); background: var(--blue-100); color: var(--blue-950); }
.collection-card--podcast .song-row.is-active { border-color: rgba(163,115,94,.3); background: var(--earth-100); }
.collection-card--podcast .song-row.is-active .track-play { background: var(--earth); }
.track-number { color: var(--muted); font-size: .66rem; font-weight: 700; text-align: center; }
.track-play { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: var(--paper); color: var(--blue-800); box-shadow: 0 3px 10px rgba(29,88,124,.1); }
.song-row.is-active .track-play { background: var(--blue-800); color: white; }
.track-play .icon { width: 18px; height: 18px; }
.track-title { min-width: 0; font-size: .78rem; font-weight: 700; line-height: 1.35; }
.track-duration { color: var(--muted); font-size: .68rem; font-weight: 600; }
.collection-footer { display: flex; justify-content: flex-end; padding: 13px; background: var(--paper); }
.collection-footer .button { width: 100%; }
.audio-card { overflow: hidden; border-radius: var(--radius-lg); background: linear-gradient(145deg, var(--blue-800), var(--blue-950)); box-shadow: var(--shadow-lg); color: white; }
.audio-card__intro { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 23px 20px 16px; }
.audio-mark { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(222,187,123,.35); border-radius: 18px; background: rgba(222,187,123,.12); color: var(--gold-500); }
.audio-mark .icon { width: 26px; height: 26px; }
.audio-card h2 { margin: 7px 0 6px; font-size: 1.35rem; }
.audio-card p { margin: 0; color: rgba(255,255,255,.7); font-size: .8rem; }
.podbean-frame { background: white; }
.podbean-frame iframe { width: 100%; height: 555px; border: 0; }
.apostle-listening-layout { padding: 0 12px 14px; }
.apostle-player { position: sticky; z-index: 2; top: 8px; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 10px 12px; align-items: center; padding: 13px; border: 1px solid rgba(29,88,124,.13); border-radius: 15px; background: rgba(255,255,255,.98); box-shadow: 0 8px 22px rgba(9,45,64,.12); color: var(--ink); }
.apostle-player img { width: 48px; height: 48px; border: 2px solid white; border-radius: 50%; background: white; object-fit: cover; object-position: 52% 18%; box-shadow: 0 2px 7px rgba(9,45,64,.16); }
.apostle-player .now-playing { display: grid; min-width: 0; gap: 2px; }
.apostle-player .now-playing .eyebrow { color: var(--blue-500); font-size: .6rem; }
.apostle-player .now-playing strong { overflow: hidden; color: var(--blue-950); font-size: .78rem; line-height: 1.35; text-overflow: ellipsis; }
.apostle-player audio { grid-column: 1 / -1; width: 100%; height: 36px; }
#apostle-podcast-panel .audio-card__intro { padding-bottom: 13px; }
#apostle-podcast-panel .album-tracklist { padding-top: 14px; }
.podcast-empty .button { margin-top: 12px; }

.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); grid-auto-rows: 175px; gap: 10px; }
.gallery-item { position: relative; display: flex; align-items: end; overflow: hidden; padding: 15px; border: 0; border-radius: var(--radius-md); background: linear-gradient(transparent 32%, rgba(9,45,64,.87)), var(--image) center/cover; box-shadow: var(--shadow-sm); color: white; text-align: left; cursor: pointer; }
.gallery-item::after { position: absolute; inset: 0; background: rgba(29,88,124,0); content: ""; transition: background 180ms ease; }
.gallery-item:hover::after { background: rgba(29,88,124,.13); }
.gallery-item > span { position: relative; z-index: 1; display: grid; gap: 2px; }
.gallery-item strong { font-size: 1rem; line-height: 1.25; }
.gallery-item small { color: rgba(255,255,255,.74); font-size: .69rem; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item--wide { grid-column: 1 / -1; }

.prayer-screen, .membership-screen { padding-top: 11px; }
.membership-back { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; margin: 0 0 11px; padding: 8px 11px; border: 0; border-radius: 11px; background: transparent; color: var(--blue-800); font-size: .82rem; font-weight: 750; cursor: pointer; }
.membership-back:hover { background: var(--blue-100); }
.prayer-hero { display: grid; gap: 20px; overflow: hidden; padding: 0; border-radius: var(--radius-lg); background: radial-gradient(circle at 92% 2%, rgba(133,211,60,.16), transparent 32%), linear-gradient(145deg, var(--blue-800), var(--blue-950)); box-shadow: var(--shadow-lg); color: white; }
.prayer-hero__image { order: -1; height: 190px; overflow: hidden; }
.prayer-hero__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.prayer-hero__copy, .prayer-hero blockquote { margin-left: 21px; margin-right: 21px; }
.prayer-hero__copy { margin-top: 25px; }
.prayer-hero blockquote { margin-bottom: 25px; }
.prayer-hero h1 { margin: 7px 0 10px; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.prayer-hero .prayer-monthly-theme { margin: 0 0 14px; color: var(--gold-500); font-size: clamp(1.2rem, 5vw, 1.65rem); line-height: 1.3; letter-spacing: -.015em; }
.prayer-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.74); font-size: .86rem; line-height: 1.6; }
.prayer-hero blockquote { display: grid; gap: 7px; margin: 0; padding: 16px; border: 1px solid rgba(222,187,123,.27); border-radius: 16px; background: rgba(255,255,255,.07); }
.prayer-hero blockquote strong { color: var(--gold-500); font-size: .72rem; letter-spacing: .05em; }
.prayer-hero blockquote span { font-size: .83rem; line-height: 1.55; }
.prayer-intro { display: grid; gap: 14px; margin: 14px 0; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.prayer-intro h2 { margin: 5px 0 6px; font-size: 1.28rem; line-height: 1.25; }
.prayer-intro p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.58; }
.prayer-days { display: grid; gap: 9px; }
.prayer-day { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.prayer-day summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 13px; align-items: center; min-height: 74px; padding: 15px 17px; cursor: pointer; list-style: none; }
.prayer-day summary::-webkit-details-marker { display: none; }
.prayer-day summary > span:first-child { display: grid; gap: 4px; }
.prayer-day summary small { color: var(--gold-600); font-size: .65rem; font-weight: 800; letter-spacing: .08em; }
.prayer-day summary strong { font-size: .88rem; line-height: 1.35; }
.prayer-toggle { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: var(--blue-100); color: var(--blue-800); font-size: 1.2rem; transition: transform 180ms ease; }
.prayer-day[open] .prayer-toggle { transform: rotate(45deg); }
.prayer-day[open] summary { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, var(--gold-100), white 60%); }
.prayer-points { display: grid; gap: 0; margin: 0; padding: 0 17px 5px 48px; }
.prayer-points li { padding: 15px 3px 14px 5px; border-bottom: 1px solid var(--line); }
.prayer-points li:last-child { border-bottom: 0; }
.prayer-points li::marker { color: var(--gold-600); font-size: .75rem; font-weight: 800; }
.prayer-points p { margin: 0 0 7px; font-size: .82rem; line-height: 1.58; }
.prayer-points span { color: var(--blue-600); font-size: .7rem; font-weight: 750; }
.prayer-resources-heading { margin-top: 20px; }
.prayer-resources { display: grid; gap: 12px; }
.prayer-resource-player { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.prayer-resource-player .video-frame { aspect-ratio: 16 / 9; }
.prayer-video-cover { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--blue-950); cursor: pointer; }
.prayer-video-cover[hidden] { display: none; }
.prayer-video-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.prayer-video-cover .prayer-video-play { position: absolute; inset: 0; display: grid; place-items: center; color: white; background: rgba(0,0,0,.12); }
.prayer-video-play .icon { display: grid; place-items: center; width: 58px; height: 58px; padding: 17px; border-radius: 50%; color: white; background: var(--blue-800); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.prayer-video-cover:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -4px; }
.prayer-resource-player > div:last-child { display: grid; gap: 3px; padding: 14px 16px 17px; }
.prayer-resource-player small { color: var(--gold-600); font-size: .69rem; font-weight: 800; letter-spacing: .07em; }
.prayer-resource-player strong { font-size: .94rem; line-height: 1.35; }
.prayer-resource-player span { color: var(--muted); font-size: .76rem; line-height: 1.4; }
.prayer-care-card { display: grid; gap: 18px; margin-top: 14px; padding: 22px 20px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--earth), #7f5544); box-shadow: var(--shadow-sm); color: white; }
.prayer-care-card h2 { margin: 6px 0; font-size: 1.35rem; }
.prayer-care-card p { margin: 0; color: rgba(255,255,255,.73); font-size: .82rem; }
.prayer-care-card .button { width: 100%; }
.membership-hero { position: relative; display: grid; gap: 20px; overflow: hidden; padding: 24px 21px; border-radius: var(--radius-lg); background: linear-gradient(110deg, rgba(9,44,64,.96) 0%, rgba(9,44,64,.82) 46%, rgba(9,44,64,.5) 100%), url("/assets/membership-header.jpeg") center / cover no-repeat; box-shadow: var(--shadow-lg); color: white; isolation: isolate; }
.membership-hero::after { position: absolute; right: -58px; bottom: -105px; width: 190px; height: 190px; border: 1px solid rgba(222,187,123,.25); border-radius: 50%; content: ""; }
.membership-hero__icon { position: relative; z-index: 1; display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(255,255,255,.1); color: var(--gold-500); }
.membership-hero__icon .icon { width: 28px; height: 28px; }
.membership-hero > div { position: relative; z-index: 1; }
.membership-hero h1 { margin: 7px 0 10px; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.membership-hero p { max-width: 730px; margin: 0; color: rgba(255,255,255,.76); font-size: .9rem; line-height: 1.65; }
.membership-category-grid { display: grid; gap: 10px; }
.membership-category-card { position: relative; min-width: 0; padding: 21px 19px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.membership-category-card::after { position: absolute; top: -30px; right: -28px; width: 90px; height: 90px; border-radius: 50%; background: var(--gold-100); content: ""; }
.membership-category-number { position: relative; z-index: 1; color: var(--gold-600); font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.membership-category-card h2 { position: relative; z-index: 1; margin: 19px 0 8px; font-size: 1.25rem; line-height: 1.2; }
.membership-category-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.membership-details-grid { display: grid; gap: 11px; margin-top: 14px; }
.membership-detail-card { padding: 22px 19px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.membership-detail-card h2 { margin: 7px 0 18px; font-size: 1.35rem; line-height: 1.2; }
.membership-checklist, .five-ps-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.membership-checklist li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.membership-checklist .icon { display: grid; width: 25px; height: 25px; padding: 5px; border-radius: 50%; background: var(--green-100); color: var(--green-600); }
.membership-detail-card--blue { border-color: transparent; background: linear-gradient(145deg, var(--blue-900), var(--blue-950)); color: white; }
.five-ps-list li { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: center; }
.five-ps-list li > span { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 10px; background: rgba(222,187,123,.15); color: var(--gold-500); font-size: .74rem; font-weight: 800; }
.five-ps-list div { display: grid; gap: 2px; }
.five-ps-list strong { font-size: .88rem; }
.five-ps-list small { color: rgba(255,255,255,.62); font-size: .72rem; line-height: 1.4; }
.membership-commitment { display: grid; gap: 20px; margin-top: 14px; padding: 23px 20px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--earth), #7f5544); box-shadow: var(--shadow-sm); color: white; }
.membership-commitment h2 { margin: 7px 0 8px; font-size: 1.45rem; line-height: 1.2; }
.membership-commitment p { max-width: 680px; margin: 0; color: rgba(255,255,255,.76); font-size: .86rem; line-height: 1.6; }
.membership-actions { display: grid; gap: 9px; }
.membership-actions .button { width: 100%; }
.membership-support { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.09); color: white; }

.about-hero { position: relative; display: grid; gap: 20px; overflow: hidden; padding: 24px; border-radius: var(--radius-lg); background: linear-gradient(110deg, rgba(9,44,64,.96) 0%, rgba(9,44,64,.82) 46%, rgba(9,44,64,.52) 100%), url("/assets/about-header.jpeg") center / cover no-repeat; box-shadow: var(--shadow-lg); color: white; isolation: isolate; }
.about-logo { width: 110px; filter: drop-shadow(0 12px 17px rgba(0,0,0,.2)); }
.about-hero h1 { margin: 7px 0 9px; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.about-hero p { max-width: 670px; margin: 0 0 15px; color: rgba(255,255,255,.72); font-size: .86rem; line-height: 1.62; }
.belief-grid { display: grid; gap: 10px; margin-top: 14px; }
.belief-grid article { min-height: 155px; padding: 19px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.belief-grid article > span { color: var(--gold-600); font-size: .69rem; font-weight: 800; letter-spacing: .1em; }
.belief-grid h2 { margin: 19px 0 6px; font-size: 1.2rem; }
.belief-grid p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.52; }
.founders-card { display: grid; grid-template-columns: 110px 1fr; gap: 17px; margin-top: 14px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.founders-card img { width: 110px; height: 100%; min-height: 190px; object-fit: cover; }
.founders-card div { align-self: center; padding: 17px 15px 17px 0; }
.founders-card h2 { margin: 7px 0; font-size: 1.12rem; line-height: 1.28; }
.founders-card p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.55; }
.section-heading--branch { margin-bottom: 12px; }
.branch-count { flex: 0 0 auto; padding: 5px 9px; border-radius: 99px; background: var(--blue-100); color: var(--blue-800); font-size: .7rem; font-weight: 750; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--muted); }
.search-field:focus-within { border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(62,138,197,.1); }
.search-field input { width: 100%; height: 49px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .88rem; }
.filter-row--branches { margin-top: 10px; margin-bottom: 10px; }
.branch-list { display: grid; gap: 8px; max-height: 390px; margin-bottom: 12px; padding-right: 3px; overflow-y: auto; }
.branch-item { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.branch-pin { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--blue-100); color: var(--blue-800); }
.branch-pin svg { width: 19px; height: 19px; }
.branch-item > span:nth-child(2) { display: grid; gap: 2px; }
.branch-item strong { font-size: .83rem; }
.branch-item small { color: var(--muted); font-size: .69rem; }
.region-pill { color: var(--gold-600); font-size: .65rem; font-weight: 700; text-align: right; }
.contact-card { display: grid; gap: 18px; margin-top: 14px; padding: 22px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--earth), #7f5544); color: white; }
.contact-card h2 { margin: 6px 0; font-size: 1.4rem; }
.contact-card p { margin: 0; color: rgba(255,255,255,.72); font-size: .78rem; line-height: 1.55; }
.contact-actions { display: grid; gap: 8px; }
.contact-actions a { display: flex; min-height: 44px; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(255,255,255,.09); font-size: .78rem; font-weight: 700; }

.empty-state { padding: 45px 20px; color: var(--muted); text-align: center; }
.empty-state > .icon { width: 30px; height: 30px; color: var(--blue-800); }
.empty-state h2 { margin: 12px 0 4px; color: var(--ink); font-size: 1.2rem; }
.empty-state p { margin: 0; font-size: .8rem; }
.app-footer { padding: 5px 16px 110px; color: #889aa6; font-size: .68rem; text-align: center; }
.app-footer p { margin: 3px; }
.app-footer__links { display: flex; justify-content: center; gap: 8px; padding-top: 5px; }
.app-footer__links a { color: #547184; font-weight: 700; text-decoration: none; }

.bottom-nav { position: fixed; z-index: 80; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, 1fr); min-height: calc(66px + var(--safe-bottom)); padding: 7px 6px var(--safe-bottom); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 -8px 28px rgba(29,88,124,.08); backdrop-filter: blur(18px); }
.bottom-link { display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 4px; border: 0; border-radius: 11px; background: none; color: #7f8f99; font-size: .68rem; font-weight: 700; cursor: pointer; }
.bottom-link .icon { width: 20px; height: 20px; }
.bottom-link.is-active { color: var(--blue-800); }

.sheet-backdrop, .modal-backdrop, .lightbox-backdrop { position: fixed; z-index: 100; inset: 0; background: rgba(9,45,64,.57); backdrop-filter: blur(3px); animation: fade-in 180ms ease both; }
.bottom-sheet { position: fixed; z-index: 110; right: 0; bottom: 0; left: 0; padding: 9px 17px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; background: var(--background); box-shadow: 0 -20px 70px rgba(17,56,79,.25); animation: sheet-up 220ms ease both; }
.sheet-handle { width: 40px; height: 4px; margin: 0 auto 14px; border-radius: 99px; background: #cbd8df; }
.sheet-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-heading h2 { margin: 0; font-size: 1.35rem; }
.sheet-links { display: grid; gap: 9px; }
.sheet-links > * { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 13px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: inherit; text-align: left; cursor: pointer; }
.sheet-links > * > span:nth-child(2) { display: grid; gap: 3px; }
.sheet-links strong { font-size: .84rem; }
.sheet-links small { color: var(--muted); font-size: .7rem; }
.action-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; }
.action-icon--gold { background: var(--gold-100); color: var(--gold-600); }
.action-icon--plum { background: var(--blue-100); color: var(--blue-800); }
.action-icon--rose { background: var(--green-100); color: var(--green-600); }
.chevron { color: #91a1aa; font-size: 1.6rem; }

.modal { position: fixed; z-index: 120; top: 50%; left: 50%; width: min(92vw, 440px); padding: 25px; border-radius: 25px; background: var(--paper); box-shadow: var(--shadow-lg); transform: translate(-50%,-50%); animation: modal-in 190ms ease both; }
.modal-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 19px; border-radius: 15px; background: var(--gold-100); color: var(--gold-600); }
.modal-close { position: absolute; top: 17px; right: 17px; }
.modal h2 { margin: 8px 44px 7px 0; font-size: 1.5rem; line-height: 1.16; }
.modal-date { color: var(--gold-600) !important; font-weight: 750; }
.modal p { color: var(--muted); font-size: .82rem; line-height: 1.6; }

.lightbox { position: fixed; z-index: 125; top: 50%; left: 50%; width: min(94vw, 780px); overflow: hidden; border-radius: 24px; background: var(--blue-950); box-shadow: var(--shadow-lg); color: white; transform: translate(-50%,-50%); animation: modal-in 190ms ease both; }
.lightbox img { width: 100%; max-height: 70vh; object-fit: contain; background: #0d2e42; }
.lightbox > div { padding: 17px 21px 20px; }
.lightbox h2 { margin: 5px 0 0; font-size: 1.2rem; }
.lightbox-close { position: absolute; z-index: 2; top: 12px; right: 12px; border-color: rgba(255,255,255,.2); background: rgba(16,56,79,.84); color: white; }

.toast { position: fixed; z-index: 160; right: 16px; bottom: calc(84px + var(--safe-bottom)); left: 16px; display: flex; align-items: center; gap: 10px; max-width: 430px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: var(--blue-950); box-shadow: var(--shadow-lg); color: white; font-size: .78rem; font-weight: 700; animation: toast-in 220ms ease both; }
.toast-icon { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: rgba(222,187,123,.16); color: var(--gold-500); }
.toast-icon .icon { width: 15px; height: 15px; }
.icon { display: inline-block; width: 19px; height: 19px; vertical-align: middle; }
.icon svg { display: block; width: 100%; height: 100%; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes modal-in { from { opacity: 0; transform: translate(-50%,-47%) scale(.97); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
:focus-visible { outline: 3px solid rgba(222,187,123,.65); outline-offset: 3px; }

@media (min-width: 720px) {
  .home-event-poster-card { display: grid; grid-template-columns: minmax(300px,.85fr) 1.15fr; }
  .home-event-poster-card__body { align-self: center; padding: 30px; }
  .home-event-poster-card__body h2 { font-size: 1.65rem; }
  .screen { padding: 27px 30px 54px; }
  .home-welcome { min-height: 310px; padding: 38px; }
  .home-welcome > div { max-width: 560px; }
  .action-dock { gap: 12px; padding: 15px; }
  .install-card { grid-template-columns: 52px 1fr auto; padding: 16px 18px; }
  .install-card > img { width: 52px; height: 52px; }
  .install-card .button { grid-column: auto; width: auto; }
  .dock-action { min-height: 92px; font-size: .76rem; }
  .homecoming-notice { grid-template-columns: minmax(0,1fr) minmax(290px,.7fr); align-items: end; padding: 29px; }
  .homecoming-countdown { justify-content: end; }
  .homecoming-countdown > span { min-height: 92px; }
  .homecoming-countdown strong { font-size: 1.7rem; }
  .homecoming-actions { grid-column: 1 / -1; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .next-card { grid-template-columns: 260px 1fr; }
  .next-card__body { align-self: center; padding: 28px; }
  .next-card h2 { font-size: 1.65rem; }
  .next-card p { font-size: .84rem; }
  .schedule-strip { grid-auto-flow: initial; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; overflow: visible; }
  .page-heading--split { flex-direction: row; align-items: end; justify-content: space-between; }
  .live-status-card { grid-template-columns: 1fr auto; align-items: center; padding: 26px; }
  .video-info { grid-template-columns: 1fr auto; align-items: end; padding: 26px; }
  .service-list { grid-template-columns: 1fr 1fr; }
  .notice-card { grid-template-columns: auto 1fr auto; }
  .notice-card .button { grid-column: auto; }
  .events-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .event-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(260px,.82fr) 1.18fr; }
  .event-card--featured .event-image { height: 100%; aspect-ratio: auto; }
  .event-card--featured .event-body { align-self: center; padding: 30px; }
  .audio-card__intro { padding: 32px; }
  .segmented-control--three button { gap: 7px; padding: 5px 10px; font-size: .8rem; }
  .collection-header { padding: 30px; }
  .album-tracklist { padding: 22px 20px 9px; }
  .track-title { font-size: .84rem; }
  .collection-footer { padding: 16px; }
  .collection-footer .button { width: auto; }
  .gallery-grid { grid-auto-rows: 230px; gap: 14px; }
  .membership-hero { grid-template-columns: auto 1fr; align-items: center; padding: 31px; }
  .prayer-hero { grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); align-items: center; padding: 31px; }
  .prayer-hero__image { order: initial; grid-column: 2; grid-row: 1 / span 2; height: 100%; min-height: 260px; border-radius: 18px; }
  .prayer-hero__copy, .prayer-hero blockquote { margin-left: 0; margin-right: 0; }
  .prayer-hero__copy { margin-top: 0; }
  .prayer-hero blockquote { margin-bottom: 0; }
  .prayer-intro { grid-template-columns: 1fr auto; align-items: end; padding: 23px; }
  .prayer-resources { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .prayer-care-card { grid-template-columns: 1fr auto; align-items: center; padding: 27px; }
  .prayer-care-card .button { width: auto; }
  .membership-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .membership-details-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .membership-detail-card { padding: 27px; }
  .membership-commitment { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 29px; }
  .membership-actions { min-width: 260px; }
  .about-hero { grid-template-columns: 150px 1fr; align-items: center; padding: 34px; }
  .about-logo { width: 145px; }
  .belief-grid { grid-template-columns: repeat(3, 1fr); }
  .founders-card { grid-template-columns: 200px 1fr; }
  .founders-card img { width: 200px; min-height: 250px; }
  .founders-card div { padding: 28px 28px 28px 0; }
  .contact-card { grid-template-columns: 1fr auto; align-items: center; }
  .app-footer { padding-bottom: 110px; }
  .toast { right: 24px; bottom: 92px; left: auto; min-width: 330px; }
}

@media (min-width: 1040px) {
  body { background: #e8f0f5; }
  .app-shell { display: grid; grid-template-columns: 250px minmax(0,1fr); max-width: 1500px; margin: 0 auto; background: var(--background); box-shadow: 0 0 80px rgba(29,88,124,.08); }
  .side-nav { position: sticky; top: 0; display: flex; height: 100svh; flex-direction: column; padding: 27px 20px 24px; background: linear-gradient(175deg, var(--blue-900), var(--blue-950)); color: white; }
  .brand--large { padding: 0 8px; }
  .brand--large .brand-logo { width: 48px; height: 48px; }
  .brand--large strong { color: white; }
  .brand--large small { color: rgba(255,255,255,.55); }
  .side-links { display: grid; gap: 5px; margin-top: 42px; }
  .side-link { display: flex; min-height: 48px; align-items: center; gap: 13px; padding: 11px 14px; border-radius: 13px; color: rgba(255,255,255,.62); font-size: .82rem; font-weight: 700; }
  .side-link:hover { background: rgba(255,255,255,.055); color: white; }
  .side-link.is-active { background: rgba(222,187,123,.16); color: var(--gold-500); }
  .side-care-card { margin-top: auto; padding: 17px; border: 1px solid rgba(222,187,123,.18); border-radius: 17px; background: rgba(255,255,255,.045); }
  .side-care-card p { margin: 8px 0 12px; color: rgba(255,255,255,.65); font-size: .76rem; }
  .mobile-header, .bottom-nav { display: none; }
  .screen { max-width: 1170px; min-height: calc(100svh - 80px); margin: 0 auto; padding: 38px 42px 62px; }
  .home-welcome { min-height: 330px; }
  .home-welcome__photo { object-position: 54% 38%; }
  .next-card { grid-template-columns: 320px 1fr; }
  .video-frame { aspect-ratio: 16 / 8.5; }
  .album-listening-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); align-items: start; }
  .album-player { position: sticky; top: 18px; border-right: 1px solid var(--line); border-bottom: 0; }
  .album-tracklist { max-height: 570px; overflow-y: auto; }
  .events-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .event-card--featured { grid-column: 1 / -1; grid-template-columns: .9fr 1.1fr; }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); grid-auto-rows: 250px; }
  .gallery-item--wide { grid-column: span 2; }
  .branch-list { grid-template-columns: 1fr 1fr; max-height: 470px; }
  .app-footer { padding: 0 40px 28px; }
  .toast { bottom: 28px; }
}

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

.gallery-item--photo { background: #1d587c; }
.gallery-item--photo > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.gallery-item--photo::after { background:linear-gradient(transparent 35%,rgba(9,45,64,.88)); }
.gallery-item--photo:hover::after { background:linear-gradient(rgba(29,88,124,.1),rgba(9,45,64,.9)); }

.gallery-collection { margin-bottom:28px; }
.gallery-collection h2, .gallery-more-heading { margin:0 0 12px; font-size:1.2rem; color:var(--blue-800); }
.gallery-collection .gallery-grid { grid-auto-rows:210px; }
@media(min-width:700px) { .gallery-collection .gallery-grid { grid-auto-rows:270px; } }

.weekly-declaration { margin: 18px 0; padding: clamp(22px, 4vw, 34px); border: 1px solid var(--line); border-left: 4px solid var(--gold-500); border-radius: var(--radius-md); background: var(--paper); box-shadow: var(--shadow-sm); }
.weekly-declaration h2 { margin: 8px 0 18px; font-size: clamp(1.35rem, 5vw, 1.8rem); line-height: 1.25; }
.weekly-declaration blockquote { margin: 0; color: var(--blue-800); font-size: clamp(1.06rem, 3.8vw, 1.3rem); font-weight: 600; line-height: 1.7; }
.weekly-declaration blockquote p { margin: 0; }
.weekly-declaration__scripture { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); }
.weekly-declaration__scripture strong { color: var(--blue-800); font-size: .85rem; }
.weekly-declaration__scripture p { margin: 8px 0 0; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.podcast-preview { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; height: 100%; padding: 0; border: 0; background: var(--blue-950); cursor: pointer; }
.podcast-preview[hidden] { display: none; }
.podcast-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.podcast-preview__play { position: relative; display: grid; place-items: center; width: 68px; height: 48px; padding-left: 3px; border-radius: 13px; background: #c00; color: white; font-size: 25px; box-shadow: 0 2px 12px #0005; }
.podcast-preview:focus-visible { outline: 3px solid var(--gold-500); outline-offset: -4px; }
