:root {
  --navy-950: #07101f;
  --navy-900: #101a2b;
  --navy-850: #152238;
  --navy-800: #1b2b45;
  --line: #30425c;
  --gold: #d9b46d;
  --gold-light: #f0d391;
  --paper: #f8f5ee;
  --muted: #b7c1cf;
  --live: #d72e35;
  --success: #65c58f;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--navy-950); color: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; line-height: 1.65; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-150%); background: var(--paper); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { transform: none; }
.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; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(7, 16, 31, .94); backdrop-filter: blur(14px); }
.header-inner { width: min(1480px, calc(100% - 40px)); min-height: 92px; margin: auto; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; white-space: nowrap; }
.brand img { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 14px; }
.brand-name { font-size: clamp(31px, 2.4vw, 36px); font-weight: 780; letter-spacing: -.04em; color: var(--paper); }
.brand-name span { color: var(--gold); font-weight: 900; }
.brand-tagline { padding-left: 14px; border-left: 1px solid #526681; color: var(--muted); font-size: clamp(17px, 1.35vw, 20px); letter-spacing: -.015em; }
.main-nav { display: flex; align-items: center; gap: 18px; font-size: clamp(15px, 1.15vw, 18px); font-weight: 650; }
.main-nav a { text-decoration: none; color: #d8e0e9; white-space: nowrap; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold-light); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--navy-850); color: #fff; padding: 9px 14px; border-radius: 9px; }
.mobile-app-header, .mobile-app-menu, .mobile-app-menu-toggle, .mobile-bottom-nav, .mobile-home-favorites, .mobile-parish-cover, .mobile-player-actions { display: none; }

.hero { min-height: 580px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); align-items: center; gap: 80px; padding-block: 90px; background: radial-gradient(circle at 76% 42%, rgba(217, 180, 109, .14), transparent 32%); }
.hero h1, .page-hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1.02; letter-spacing: -.045em; margin: .15em 0; }
.hero p, .page-hero p, .lead { max-width: 760px; color: var(--muted); font-size: clamp(18px, 2vw, 23px); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 800; }
.eyebrow i, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 5px rgba(215, 46, 53, .15); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; border: 1px solid transparent; border-radius: 10px; text-decoration: none; font-weight: 750; cursor: pointer; }
.button.primary { background: var(--gold); color: var(--navy-950); }
.button.primary:hover, .button.primary:focus-visible { background: var(--gold-light); }
.button.ghost { border-color: #526681; background: var(--navy-900); color: var(--paper); }
.hero-mark { justify-self: center; }
.hero-mark img { width: min(300px, 30vw); filter: drop-shadow(0 26px 55px rgba(0, 0, 0, .48)); }

.section { padding-block: 70px; }
.section + .section { border-top: 1px solid #223450; }
.home-intro { padding-top: 44px; }
.home-intro h1 { max-width: 1000px; margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.home-intro p { max-width: 780px; margin: 12px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin: .2em 0 0; }
.section-head > a { color: var(--gold); font-weight: 700; }
.parish-grid, .post-grid, .portal-favorites-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.parish-card, .post-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-900); box-shadow: 0 16px 40px rgba(0, 0, 0, .16); transition: transform .2s, border-color .2s; }
.parish-card:hover, .post-card:hover { transform: translateY(-3px); border-color: var(--gold); }
.parish-card[hidden] { display: none; }
.parish-image { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--navy-850); overflow: hidden; }
.parish-image img, .post-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card > a { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.status { display: inline-flex; align-items: center; position: absolute; top: 13px; left: 13px; border-radius: 999px; background: #536173; color: #fff; padding: 4px 10px; text-transform: uppercase; font-size: 11px; font-weight: 850; letter-spacing: .08em; }
.status.is-live { background: var(--live); }
.favorite-button { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(7,16,31,.86); color: #fff; font-size: 25px; cursor: pointer; }
.favorite-button.is-favorite { color: var(--gold-light); border-color: var(--gold); }
.parish-page-favorite { margin-top: 14px; }
.parish-body { padding: 18px 20px 22px; }
.parish-body .place { margin: 0; color: var(--gold); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.parish-body h3 { margin: .25em 0; font-size: 20px; line-height: 1.25; }
.parish-body h3 a, .post-card h3 a { text-decoration: none; }
.parish-body > p:last-child { margin: 0; color: #94a4b7; font-size: 14px; }
.post-card > div { padding: 22px; }
.post-card h3 { font-size: 21px; line-height: 1.28; }
.post-card p { color: var(--muted); font-size: 15px; }

.broadcast-section { padding-top: 38px; }
.broadcast-filters { display: grid; grid-template-columns: minmax(180px, .55fr) minmax(240px, 1fr) auto; gap: 16px; align-items: end; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--navy-900); }
.broadcast-filters label { display: grid; gap: 6px; color: var(--gold); font-size: 14px; }
.broadcast-filters select, .broadcast-filters input { width: 100%; min-height: 52px; border: 1px solid #4a5c75; border-radius: 10px; background: var(--navy-950); color: #fff; padding: 10px 14px; }
.broadcast-hint, .broadcast-status { min-height: 1.5em; margin: 9px 0 18px; color: var(--muted); font-size: 14px; }
.broadcast-list { display: grid; gap: 10px; }
.broadcast-item { border: 1px solid var(--line); border-radius: 13px; background: var(--navy-900); overflow: hidden; }
.broadcast-item a { display: grid; grid-template-columns: 96px 120px 76px minmax(0, 1fr) auto; align-items: center; gap: 16px; min-height: 82px; padding: 14px 18px; text-decoration: none; }
.broadcast-item:hover, .broadcast-item:focus-within { border-color: var(--gold); background: var(--navy-850); }
.broadcast-thumbnail { display: block; width: 96px; height: 54px; border-radius: 8px; object-fit: cover; background: var(--navy-850); }
.broadcast-state { display: inline-flex; justify-content: center; border-radius: 999px; padding: 5px 10px; background: #536173; color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.broadcast-item.is-ongoing .broadcast-state { background: var(--live); }
.broadcast-time { color: var(--gold-light); font-size: 21px; }
.broadcast-copy { display: grid; min-width: 0; line-height: 1.35; }
.broadcast-copy > span { overflow-wrap: anywhere; font-size: 18px; }
.broadcast-copy small { color: var(--muted); }
.broadcast-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.broadcast-pagination span { color: var(--muted); }

.page-hero { padding-block: 72px 36px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); max-width: 1050px; overflow-wrap: anywhere; }
.article { width: min(920px, calc(100% - 40px)); display: block; padding-bottom: 90px; }
.article-cover { display: block; width: 100%; max-height: 540px; object-fit: cover; border-radius: 20px; margin-bottom: 34px; }
.legacy-content, .prose-card { min-width: 0; font-size: 18px; color: #dce3eb; overflow-wrap: anywhere; }
.legacy-content h2, .legacy-content h3, .legacy-content h4 { color: var(--paper); line-height: 1.22; margin: 1.8em 0 .65em; scroll-margin-top: 110px; }
.legacy-content h2 { font-size: clamp(28px, 4vw, 42px); }
.legacy-content h3 { font-size: clamp(23px, 3vw, 32px); }
.legacy-content h4 { font-size: clamp(19px, 2.5vw, 25px); }
.legacy-content p, .legacy-content li { max-width: 78ch; }
.legacy-content a { color: var(--gold-light); }
.legacy-content img { display: block; max-width: 100%; border-radius: 12px; }
.legacy-content figure { margin: 30px auto; max-width: 100%; }
.legacy-content figcaption { margin-top: 8px; color: #9cabbc; font-size: 14px; text-align: center; }
.legacy-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.legacy-content th, .legacy-content td { padding: 10px 12px; border: 1px solid var(--line); }
.content-section { display: block; width: 100%; margin-block: 26px; }
.content-grid { display: flex; flex-wrap: wrap; align-items: stretch; gap: 22px; min-width: 0; }
.content-grid > .content-grid { flex: 1 1 100%; }
.content-column { min-width: 0; flex: 1 1 100%; }
.content-column-25 { flex-basis: calc(25% - 17px); }
.content-column-33 { flex-basis: calc(33.333% - 15px); }
.content-column-50 { flex-basis: calc(50% - 11px); }
.content-column-66 { flex-basis: calc(66.666% - 8px); }
.content-column-75 { flex-basis: calc(75% - 6px); }
.content-price-card { height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--navy-900); }
.content-price { color: var(--gold); font-size: 26px; font-weight: 800; }
.content-button { display: inline-flex; padding: 10px 16px; border-radius: 9px; background: var(--gold); color: var(--navy-950) !important; font-weight: 800; text-decoration: none; }
.content-anchor { display: block; position: relative; top: -100px; visibility: hidden; }
.aligncenter { margin-inline: auto; text-align: center; }
.alignleft { margin-right: auto; }
.alignright { margin-left: auto; }
.notice { padding: 20px 24px; margin-bottom: 28px; border-left: 5px solid var(--gold); border-radius: 8px; background: var(--navy-850); }
.notice strong { font-size: 20px; }
.notice a { color: var(--gold); }

.watch-card { margin-bottom: 38px; border: 1px solid #3b506d; border-radius: 20px; background: var(--navy-900); overflow: hidden; box-shadow: var(--shadow); }
.church-tabs { display: flex; gap: 8px; padding: 14px 22px 0; overflow-x: auto; border-bottom: 1px solid rgba(83, 102, 129, .45); }
.church-tab { flex: 0 0 auto; margin-bottom: -1px; padding: 9px 13px; border: 1px solid transparent; border-bottom-color: #536681; border-radius: 9px 9px 0 0; background: transparent; color: var(--muted); cursor: pointer; }
.church-tab:hover, .church-tab:focus-visible, .church-tab.is-active { border-color: #536681; border-bottom-color: var(--navy-900); background: var(--navy-850); color: var(--paper); }
.watch-head { display: grid; grid-template-columns: minmax(220px, .8fr) minmax(360px, 1.2fr); align-items: center; gap: 24px; padding: 22px; }
.watch-head .status { position: static; }
.watch-context { min-width: 0; }
.watch-head h2 { margin: .25em 0 0; font-size: clamp(22px, 3vw, 30px); overflow-wrap: anywhere; }
.watch-head h2[hidden] { display: none; }
.source-switcher { width: 100%; }
.source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(100%, 520px); margin-left: auto; }
.source-list[data-source-count="1"] { grid-template-columns: minmax(170px, 250px); justify-content: end; }
.source-list[hidden] { display: none; }
.source-button { min-width: 0; width: 100%; display: grid; align-content: center; min-height: 60px; padding: 11px 14px; border: 1px solid #536681; border-radius: 10px; background: var(--navy-850); text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.source-button span { font-weight: 800; }
.source-button:hover, .source-button:focus-visible, .source-button.is-active { border-color: var(--gold); background: #243550; }
.source-empty { margin: 0; padding: 12px 14px; border: 1px dashed #536681; border-radius: 10px; color: var(--muted); }
.video-shell { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #020407; overflow: hidden; }
.video-shell video, .external-stage, .external-stage iframe { display: block; width: 100%; height: 100%; border: 0; background: #000; }
.video-shell video[hidden], .external-stage[hidden] { display: none; }
.player-message { position: absolute; z-index: 4; right: 14px; bottom: 56px; display: flex; align-items: center; gap: 8px; min-width: 54px; min-height: 34px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(7, 16, 31, .84); box-shadow: 0 8px 24px rgba(0, 0, 0, .38); backdrop-filter: blur(8px); }
.player-message[hidden] { display: none; }
.player-message .button[hidden] { display: none; }
.player-message strong, .player-message small { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.player-dots { display: inline-flex; align-items: center; gap: 5px; }
.player-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-light); animation: player-dot 1.15s ease-in-out infinite; }
.player-dots i:nth-child(2) { animation-delay: .16s; }
.player-dots i:nth-child(3) { animation-delay: .32s; }
.player-message.is-error { inset: 0; right: 0; bottom: 0; flex-direction: column; justify-content: center; min-width: 0; padding: 24px; border: 0; border-radius: 0; background: radial-gradient(circle, rgba(21, 34, 56, .82), rgba(2, 4, 7, .95)); text-align: center; }
.player-message.is-error .player-dots { display: none; }
.player-message.is-error strong, .player-message.is-error small { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.player-message.is-error strong { color: #ff9ea2; font-size: clamp(20px, 3vw, 30px); }
.player-message.is-error small { color: var(--muted); max-width: 620px; }
.player-message.is-error .button { margin-top: 8px; }
.player-message.is-idle { inset: 0; right: 0; bottom: 0; flex-direction: column; justify-content: center; min-width: 0; padding: 24px; border: 0; border-radius: 0; background: radial-gradient(circle, rgba(21, 34, 56, .55), rgba(2, 4, 7, .78)); text-align: center; cursor: pointer; }
.player-message.is-idle .player-dots { display: none; }
.player-message.is-idle strong, .player-message.is-idle small { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
.player-message.is-idle strong { color: var(--paper); font-size: clamp(21px, 3vw, 30px); }
.player-message.is-idle small { max-width: 560px; color: #d2dae5; }
.player-message.is-idle .button { margin-top: 8px; }
.player-unmute { position: absolute; z-index: 5; left: 14px; bottom: 56px; min-height: 36px; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; background: rgba(7, 16, 31, .84); color: #fff; font-weight: 750; cursor: pointer; backdrop-filter: blur(8px); }
.player-unmute[hidden] { display: none; }
.pre-video-pause { position: absolute; z-index: 6; right: 14px; bottom: 28px; min-height: 38px; padding: 7px 13px; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; background: rgba(7,16,31,.86); color: #fff; cursor: pointer; }
.pre-video-pause[hidden], .pre-video-progress[hidden] { display: none; }
.pre-video-progress { position: absolute; z-index: 6; right: 14px; bottom: 12px; width: min(260px, calc(100% - 28px)); height: 6px; accent-color: var(--gold); }
.parish-content-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: -20px 0 26px; }
.parish-content-nav .button { justify-content: center; text-align: center; }
.parish-content-nav .button:only-child { grid-column: 1 / -1; }
.parish-mass-times { margin: 0 0 42px; padding: clamp(20px, 4vw, 30px); border: 1px solid var(--line); border-radius: 16px; background: var(--navy-900); }
.parish-mass-times .section-head { margin-bottom: 18px; }
.parish-mass-times .section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.parish-mass-times [data-church-schedule][hidden] { display: none; }
.parish-mass-times .church-name { margin: 0; color: var(--gold); }
.schedule-rows { display: grid; gap: 12px; margin-top: 18px; }
.schedule-row { display: grid; grid-template-columns: minmax(170px, 210px) minmax(0, 1fr); gap: 18px; align-items: start; padding: 16px 18px; border: 1px solid rgba(83, 102, 129, .55); border-radius: 12px; background: rgba(21, 34, 56, .58); }
.schedule-row h3 { margin: 2px 0 0; color: var(--gold-light); font-size: 17px; line-height: 1.35; }
.schedule-row-content, .schedule-variant { display: grid; gap: 8px; min-width: 0; }
.schedule-variant + .schedule-variant { margin-top: 8px; padding-top: 12px; border-top: 1px solid rgba(83, 102, 129, .38); }
.schedule-variant-title { margin: 0; color: var(--muted); font-size: 13px; }
.schedule-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.schedule-chip { display: inline-grid; align-content: center; min-width: 70px; min-height: 45px; padding: 6px 10px; border-radius: 8px; background: var(--navy-950); line-height: 1.15; }
.schedule-chip small { color: var(--muted); font-size: 12px; }
.schedule-chip strong { font-size: 18px; }
.schedule-row-empty, .mass-times-empty { margin: 0; color: var(--muted); }
.mass-schedule-note { margin: 18px 0 0; padding: 14px 16px; border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; background: #1b2b45; color: var(--paper); white-space: pre-line; }

.tv-app-page { display: grid; gap: 44px; padding-top: 16px; }
.tv-app-intro { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 80px); padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(circle at 16% 50%, rgba(217, 180, 109, .16), transparent 34%), var(--navy-900); }
.tv-app-icon { width: 100%; border-radius: 22%; box-shadow: 0 24px 70px rgba(0, 0, 0, .38); }
.tv-platform-mark { display: inline-block; margin-bottom: 12px; color: var(--gold-light); font-size: clamp(24px, 4vw, 44px); letter-spacing: .08em; }
.tv-app-intro h2 { margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: 1.08; }
.tv-install-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.tv-install-steps li { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; gap: 24px; min-height: 132px; padding: 22px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--navy-900); }
.tv-install-steps li > span { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-size: 36px; }
.tv-install-steps h3 { margin: 0 0 4px; font-size: clamp(25px, 3vw, 34px); }
.tv-install-steps p { margin: 0; color: var(--muted); font-size: clamp(19px, 2vw, 24px); }
.tv-store-card { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: center; gap: 36px; padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 20px; background: var(--navy-850); }
.tv-store-card h2, .tv-help h2 { margin-top: 0; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; }
.tv-store-card p, .tv-help li, .tv-webos-soon p { font-size: clamp(18px, 2vw, 23px); }
.tv-store-card > img { width: 280px; padding: 12px; border-radius: 16px; background: #fff; }
.tv-store-button { margin-top: 12px; min-height: 60px; padding-inline: 26px; font-size: 20px; text-align: center; }
.tv-help { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--line); border-radius: 20px; background: var(--navy-900); }
.tv-help ul { display: grid; gap: 12px; margin-bottom: 0; padding-left: 1.25em; }
.tv-help span { color: var(--gold-light); }
.tv-webos-soon { display: flex; align-items: center; gap: 24px; padding: 22px 28px; border: 1px solid #526681; border-radius: 16px; background: var(--navy-900); }
.tv-webos-soon span { color: var(--gold-light); font-size: 24px; white-space: nowrap; }
.tv-webos-soon p { margin: 0; }
.tv-guide-link { margin: -18px 0 0; color: var(--muted); font-size: 18px; }
.tv-guide-link a { color: var(--gold-light); }
.tv-product-page { display: grid; gap: 72px; padding-top: 12px; }
.tv-product-hero { display: grid; grid-template-columns: minmax(190px, 300px) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 78px); padding: clamp(26px, 5vw, 58px); border: 1px solid var(--line); border-radius: 24px; background: radial-gradient(circle at 15% 45%, rgba(217, 180, 109, .18), transparent 32%), var(--navy-900); }
.tv-product-icon { width: 100%; border-radius: 22%; box-shadow: 0 24px 70px rgba(0, 0, 0, .38); }
.tv-product-hero h2 { margin: 0; font-size: clamp(34px, 5vw, 62px); line-height: 1.07; }
.tv-product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tv-product-note { margin-bottom: 0; color: var(--success); }
.tv-platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tv-platform-card { min-width: 0; scroll-margin-top: 110px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 20px; background: var(--navy-850); }
.tv-platform-card > h2, .tv-platform-card > h3 { margin: 0 0 14px; color: var(--gold-light); font-size: clamp(27px, 3vw, 36px); line-height: 1.18; }
.tv-platform-card > p { font-size: clamp(18px, 2vw, 22px); }
.tv-platform-card > ol:not(.tv-install-steps) { padding-left: 1.35em; font-size: clamp(18px, 2vw, 22px); }
.tv-platform-card > ol:not(.tv-install-steps) li + li { margin-top: 10px; }
.tv-platform-card .tv-install-steps li { grid-template-columns: 54px minmax(0, 1fr); gap: 15px; min-height: 112px; padding: 18px; }
.tv-platform-card .tv-install-steps li > span { width: 52px; height: 52px; font-size: 27px; }
.tv-platform-card .tv-install-steps h3 { font-size: clamp(22px, 2.5vw, 29px); }
.tv-platform-card .tv-install-steps p { font-size: clamp(18px, 1.8vw, 21px); }
.tv-platform-card .tv-qr-card { width: min(100%, 320px); margin-top: 18px; }
.tv-platform-disclaimer { margin: 18px 0 0; color: var(--muted); font-size: clamp(17px, 1.8vw, 21px); }
.tv-product-section { min-width: 0; }
.tv-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tv-feature-grid > div { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--navy-900); }
.tv-feature-grid h3 { margin: 0 0 8px; color: var(--gold-light); font-size: 23px; line-height: 1.25; }
.tv-feature-grid p { margin: 0; color: var(--muted); }
.tv-screen-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tv-screen-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--navy-900); }
.tv-screen-gallery img { display: block; width: 100%; aspect-ratio: 1052 / 592; object-fit: cover; background: #000; }
.tv-screen-gallery figcaption { padding: 13px 16px; color: var(--muted); }
.tv-product-split { display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: clamp(30px, 6vw, 70px); padding: clamp(26px, 5vw, 48px); border: 1px solid var(--line); border-radius: 20px; background: var(--navy-850); }
.tv-product-split h2 { margin-top: 8px; font-size: clamp(30px, 4vw, 46px); }
.tv-qr-card { padding: 18px; border-radius: 16px; background: #fff; color: var(--navy-950); text-align: center; }
.tv-qr-card img { display: block; width: min(100%, 280px); margin: auto; }
.tv-qr-card p { margin: 8px 0 0; }
.tv-faq { display: grid; gap: 12px; }
.tv-faq .section-head { margin-bottom: 10px; }
.tv-faq details { border: 1px solid var(--line); border-radius: 13px; background: var(--navy-900); }
.tv-faq summary { min-height: 56px; padding: 15px 18px; color: var(--gold-light); cursor: pointer; }
.tv-faq details p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

.camera-product-page { padding-bottom: 92px; overflow: clip; background: radial-gradient(circle at 82% 5%, rgba(217,180,109,.09), transparent 22%); font-size: 21.333px; }
.camera-product-page .eyebrow { font-size: 16px; }
.camera-sales-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr); align-items: center; column-gap: clamp(34px, 6vw, 78px); row-gap: 34px; padding-block: 68px 54px; }
.camera-sales-heading { grid-column: 1 / -1; width: 100%; }
.camera-sales-heading h1 { width: 100%; margin: 14px 0 0; font-size: clamp(58.667px, 7.333vw, 97.333px); line-height: 1.02; letter-spacing: -.044em; }
.camera-sales-copy .lead { margin: 0; color: #d0d9e4; font-size: clamp(24px, 2.2vw, 29.333px); line-height: 1.58; }
.camera-hero-premium { margin-top: 24px; padding: 22px 24px; border: 1px solid var(--gold); border-radius: 16px; background: linear-gradient(145deg, rgba(217,180,109,.13), rgba(15,26,44,.78)); box-shadow: 0 16px 42px rgba(0,0,0,.18); }
.camera-hero-premium p { margin: 0; color: #d6dee8; }
.camera-hero-premium .camera-hero-premium-label { display: block; color: var(--gold-light); font-size: 16px; letter-spacing: .13em; }
.camera-hero-premium .camera-hero-premium-title { margin: 8px 0 9px; color: var(--paper); font-size: 25.333px; line-height: 1.3; }
.camera-sales-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.camera-sales-actions .button { min-height: 54px; padding-inline: 21px; }
.camera-sales-note { max-width: 700px; margin: 16px 0 0; color: #9fadc0; font-size: 18.667px; }
.camera-hero-media, .camera-installation-media { display: block; margin: 0; overflow: hidden; border: 1px solid #435570; border-radius: 24px; background: var(--navy-900); box-shadow: 0 28px 76px rgba(0,0,0,.38); }
.camera-hero-media img, .camera-installation-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.camera-hero-media img { aspect-ratio: 1440 / 901; }
.camera-equipment-media { padding: clamp(20px, 4vw, 46px); background: #f7f8fa; }
.camera-equipment-media img { aspect-ratio: 700 / 597; object-fit: contain; }
.camera-installation-media img { aspect-ratio: 3 / 2; }
.camera-benefit-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; border: 1px solid #435570; border-radius: 18px; background: var(--navy-900); box-shadow: 0 18px 50px rgba(0,0,0,.14); }
.camera-benefit-strip > div { min-width: 0; padding: 23px 26px; }
.camera-benefit-strip > div + div { border-left: 1px solid #435570; }
.camera-benefit-strip span { display: block; color: #c4cfdb; font-size: 20px; line-height: 1.55; }
.camera-benefit-strip .camera-benefit-title { margin: 0 0 6px; color: var(--gold-light); font-size: 24px; line-height: 1.3; }
.camera-sales-section { padding-block: 82px; }
.camera-sales-section + .camera-sales-section { border-top: 1px solid #223450; }
.camera-section-heading { max-width: 850px; margin-bottom: 34px; }
.camera-section-heading h2, .camera-final-cta h2, .camera-installation-section h2 { margin: 8px 0 12px; font-size: clamp(45.333px, 5.733vw, 69.333px); line-height: 1.08; letter-spacing: -.03em; }
.camera-section-heading > p { max-width: 72ch; margin: 0; color: var(--muted); font-size: 24px; }
.camera-foundation-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.camera-foundation-grid article { min-width: 0; padding: 25px; border: 1px solid #3d506b; border-radius: 17px; background: linear-gradient(145deg, rgba(27,43,69,.92), rgba(16,26,43,.96)); }
.camera-foundation-grid article > span { color: var(--gold); font-size: 18.667px; letter-spacing: .14em; }
.camera-foundation-grid h3 { margin: 18px 0 9px; color: var(--paper); font-size: 32px; line-height: 1.2; }
.camera-foundation-grid p { margin: 0; color: #c4cfdb; }
.camera-premium-feature { margin-top: 32px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--gold); border-radius: 22px; background: radial-gradient(circle at 12% 15%, rgba(217,180,109,.16), transparent 35%), linear-gradient(145deg, #1a2a43, #0e1828); box-shadow: 0 26px 72px rgba(0,0,0,.27); }
.camera-premium-intro h2 { margin: 9px 0 16px; font-size: clamp(42.667px, 5.333vw, 64px); line-height: 1.07; letter-spacing: -.03em; }
.camera-premium-intro .lead { max-width: 88ch; margin: 0; color: #edf1f5; font-size: 24px; line-height: 1.58; }
.camera-premium-media { display: block; width: 100%; margin-top: 28px; overflow: hidden; border: 1px solid #51637c; border-radius: 17px; background: var(--navy-950); }
.camera-premium-media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.camera-premium-body { margin-top: 28px; }
.camera-premium-body p { max-width: 92ch; margin: 0; color: #c8d2de; }
.camera-premium-body p + p { margin-top: 16px; }
.camera-premium-body ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 24px 0 0; padding: 0; color: #e0e6ed; list-style: none; }
.camera-premium-body li { position: relative; padding-left: 25px; }
.camera-premium-body li::before { position: absolute; top: .12em; left: 0; color: var(--gold-light); content: "✦"; }
.camera-premium-body .camera-sales-actions { margin-top: 26px; }
.camera-solutions-section { position: relative; }
.camera-solution-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.camera-solution-card { display: flex; min-width: 0; height: 100%; flex-direction: column; padding: clamp(24px, 3vw, 32px); border: 1px solid #435570; border-radius: 19px; background: var(--navy-900); color: var(--paper); box-shadow: 0 18px 52px rgba(0,0,0,.16); }
.camera-solution-card h3 { margin: 0 0 10px; font-size: clamp(37.333px, 4vw, 49.333px); line-height: 1.1; }
.camera-solution-card > p { margin: 0; color: #c7d1dc; }
.camera-solution-card ul { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; color: #e3e8ee; list-style: none; }
.camera-solution-card li { position: relative; padding-left: 27px; }
.camera-solution-card li::before { position: absolute; top: .15em; left: 0; color: var(--gold-light); font-size: 22.667px; content: "✓"; }
.camera-offer-contact { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 20px; padding: 22px 26px; border: 1px solid #435570; border-radius: 16px; background: rgba(15,26,44,.72); }
.camera-offer-contact > span { color: #d5dde7; font-size: 22.667px; }
.camera-offer-contact .camera-sales-actions { flex: 0 0 auto; margin-top: 0; }
.camera-brand-strip { margin-top: 42px; }
.camera-brand-strip > p { margin: 0 0 16px; color: var(--muted); font-size: 21.333px; }
.camera-brand-strip ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin: 0; padding: 0; list-style: none; }
.camera-brand-strip li { display: grid; min-height: 142px; place-items: center; padding: 24px; border: 1px solid #3d506b; border-radius: 15px; background: #f7f8fa; }
.camera-brand-strip img { display: block; width: auto; max-width: 100%; max-height: 82px; object-fit: contain; }
.camera-flow-section picture, .camera-flow-section img { display: block; width: 100%; height: auto; border-radius: 22px; }
.camera-flow-section picture { box-shadow: 0 22px 60px rgba(0,0,0,.2); }
.camera-platform-section { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); align-items: center; gap: clamp(34px, 6vw, 74px); }
.camera-platform-section h2 { margin: 8px 0 14px; font-size: clamp(45.333px, 5.733vw, 69.333px); line-height: 1.08; letter-spacing: -.03em; }
.camera-platform-section p { margin: 0; color: var(--muted); font-size: 24px; }
.camera-platform-media { display: block; overflow: hidden; border: 1px solid #435570; border-radius: 22px; box-shadow: 0 24px 64px rgba(0,0,0,.28); }
.camera-platform-media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.camera-platform-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; color: #dce3eb; list-style: none; }
.camera-platform-list li { position: relative; padding-left: 26px; }
.camera-platform-list li::before { position: absolute; left: 0; color: var(--gold-light); content: "—"; }
.camera-history-section .camera-section-heading { max-width: none; }
.camera-history-section .camera-section-heading h2 { width: 100%; }
.camera-history-section .camera-section-heading > p { max-width: 72ch; }
.camera-history-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.camera-history-gallery figure { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #3d506b; border-radius: 17px; background: var(--navy-900); }
.camera-history-gallery figure:last-child { grid-column: 1 / -1; justify-self: center; width: min(100%, 560px); }
.camera-history-gallery img { display: block; width: 100%; aspect-ratio: 16 / 9; background: #f7f8fa; object-fit: contain; }
.camera-history-gallery figure:last-child img { aspect-ratio: 1; }
.camera-history-gallery figcaption { padding: 13px 16px; color: #c5d0dc; font-size: 18.667px; }
.camera-installation-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(34px, 6vw, 74px); }
.camera-process-list { display: grid; gap: 15px; margin: 28px 0 0; padding: 0; list-style: none; }
.camera-process-list li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 15px; align-items: start; }
.camera-process-list li > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-size: 24px; }
.camera-process-list h3 { margin: 1px 0 4px; color: var(--paper); font-size: 26.667px; line-height: 1.25; }
.camera-process-list p { margin: 0; color: var(--muted); }
.camera-references-section { font-size: 16px; }
.camera-references-section .eyebrow { font-size: 12px; }
.camera-references-section .section-head p { max-width: 72ch; margin: 0; color: var(--muted); font-size: 16px; }
.camera-faq { display: grid; gap: 12px; }
.camera-faq .camera-section-heading { margin-bottom: 14px; }
.camera-faq details { border: 1px solid #3d506b; border-radius: 14px; background: var(--navy-900); }
.camera-faq details[open] { border-color: #5b708e; background: var(--navy-850); }
.camera-faq summary { min-height: 62px; padding: 17px 20px; color: var(--paper); font-size: 24px; cursor: pointer; }
.camera-faq details p { max-width: 76ch; margin: 0; padding: 0 20px 20px; color: #c5d0dc; }
.camera-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 38px; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--gold); border-radius: 22px; background: radial-gradient(circle at 85% 50%, rgba(217,180,109,.16), transparent 38%), var(--navy-900); box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.camera-final-cta > div:first-child { max-width: 700px; }
.camera-final-cta h2 { margin-bottom: 10px; }
.camera-final-cta p { margin: 0; color: #c8d2de; font-size: 22.667px; }
.camera-final-cta .camera-sales-actions { flex: 0 0 auto; flex-direction: column; margin-top: 0; }
@keyframes player-dot { 0%, 70%, 100% { opacity: .32; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }

.filters { display: grid; grid-template-columns: minmax(220px, 1fr) auto; gap: 8px 24px; align-items: end; margin-bottom: 32px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--navy-900); }
.filters > label:first-child { grid-column: 1 / -1; color: var(--gold); font-size: 14px; font-weight: 750; }
.filters input[type=search], .portal-form input, .portal-form textarea, .portal-form select { width: 100%; min-height: 52px; border: 1px solid #4a5c75; border-radius: 10px; background: var(--navy-950); color: #fff; padding: 10px 14px; }
.live-filter { display: flex; min-height: 52px; align-items: center; gap: 8px; font-weight: 700; }
.schedule { display: grid; gap: 22px; }
.schedule > section { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--navy-900); }
.schedule h2 { margin: 0; }
.schedule h2 a { text-decoration: none; }
.schedule p { margin: 0; color: var(--gold); }
.schedule .schedule-variant-title, .schedule .schedule-row-empty { color: var(--muted); }

.portal-form-section, .web-privacy-update { margin-top: 44px; padding: clamp(20px, 4vw, 34px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--navy-900); }
.portal-form-section h2, .web-privacy-update h2 { margin-top: 0; }
.portal-form { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.portal-form label { display: grid; gap: 6px; color: #dce4ed; font-weight: 650; }
.portal-form textarea { resize: vertical; min-height: 130px; }
.portal-form select { appearance: auto; }
.form-consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; }
.form-consent input { width: 20px; min-height: 20px; margin-top: 4px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.portal-form .button { justify-self: start; }
.form-status { min-height: 1.6em; margin: 0; color: var(--muted); }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: #ff9ea2; }
.privacy .updated { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #050b15; padding: 52px 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer-grid p, .footer-grid a, .link-button { color: #9eacbd; }
.footer-grid nav, .footer-grid > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-brand { margin-bottom: 12px; }
.link-button { padding: 0; border: 0; background: none; text-decoration: underline; cursor: pointer; }
.consent-banner { position: fixed; z-index: 80; right: 20px; bottom: 20px; left: 20px; max-width: 1100px; margin-inline: auto; padding: 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #5b6f8c; border-radius: 16px; background: #101b2d; box-shadow: 0 24px 80px #000; }
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 4px 0 0; color: var(--muted); }
.consent-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.startup-banner { position: fixed; z-index: 79; top: 112px; right: 20px; display: flex; align-items: center; gap: 18px; width: min(520px, calc(100% - 40px)); padding: 18px; border: 1px solid var(--gold); border-radius: 15px; background: var(--navy-900); box-shadow: var(--shadow); }
.startup-banner[hidden] { display: none; }
.startup-banner p { margin: 3px 0 0; color: var(--muted); }
.portal-app { min-height: 55vh; }
.portal-app-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 24px; }
.portal-app-nav a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 9px; text-align: center; text-decoration: none; white-space: nowrap; }
.portal-app-list { display: grid; gap: 16px; }
.portal-app-list.portal-favorites-grid { gap: 22px; }
.portal-favorites-grid .portal-app-empty { grid-column: 1 / -1; }
.portal-app-card, .portal-app-content, .portal-app-empty { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--navy-900); }
.portal-app-card { position: relative; }
.portal-app-card > .favorite-button { display: none; }
.portal-app-card a { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 18px; text-decoration: none; }
.portal-app-card img { width: 120px; aspect-ratio: 16 / 9; border-radius: 9px; object-fit: cover; }
.portal-app-card span { display: grid; }
.portal-app-card small, .portal-app-content small, .portal-app-status { color: var(--muted); }
.portal-app-content h2 { margin: 5px 0; font-size: 24px; }
.portal-app-content video, .portal-app-content audio { width: 100%; margin-top: 12px; }
.portal-settings-list { display: grid; gap: 12px; }
.portal-settings-list > a, .portal-settings-list > section, .portal-settings-list > button { display: grid; width: 100%; gap: 3px; min-height: 72px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--navy-900); color: var(--paper); text-align: left; text-decoration: none; cursor: pointer; }
.portal-settings-list span { color: var(--gold-light); font-size: 18px; }
.portal-settings-list small { color: var(--muted); font-size: 14px; }
.portal-favorites-empty { position: relative; min-height: 310px; padding: 170px 24px 24px; overflow: hidden; text-align: center; }
.portal-favorites-empty p { max-width: 420px; margin: 0 auto 18px; }
.favorites-empty-visual { position: absolute; inset: 14px 14px auto; height: 140px; border-radius: 12px; background: radial-gradient(circle at 50% 52%, rgba(217,180,109,.18), transparent 34%), var(--navy-950); overflow: hidden; }
.favorites-empty-logo { position: absolute; width: 68px; height: 68px; top: 36px; left: 50%; border-radius: 15px; transform: translateX(-50%); }
.favorites-empty-heart { position: absolute; top: 12px; right: 14px; color: var(--gold-light); font-size: 38px; line-height: 1; }
.favorites-empty-arrow { position: absolute; top: 24px; right: 64px; width: 76px; height: 54px; color: var(--gold-light); transform: rotate(-8deg); }
.favorites-empty-arrow path { fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.empty-state { padding: 30px; text-align: center; color: var(--muted); }
:focus-visible { outline: 3px solid #87efad; outline-offset: 4px; }

@media (max-width: 1050px) {
  .tv-platform-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 92px; right: 20px; left: 20px; flex-direction: column; align-items: stretch; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--navy-900); box-shadow: 0 20px 50px #000; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px; }
  .hero { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .parish-grid, .post-grid, .portal-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .watch-head { grid-template-columns: 1fr; align-items: flex-start; }
  .source-list { width: 100%; margin-left: 0; }
  .source-list[data-source-count="1"] { justify-content: start; }
  .tv-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body.has-mobile-bottom-nav { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .has-mobile-shell .header-inner { display: none; }
  .mobile-app-header { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; min-height: 66px; padding: 7px 8px; gap: 8px; }
  .has-mobile-bottom-nav .mobile-app-header { grid-template-columns: 52px minmax(0, 1fr) auto 52px; }
  .mobile-app-brand { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; text-decoration: none; }
  .mobile-app-brand img { width: 44px; height: 44px; border-radius: 10px; }
  .mobile-app-heading { display: grid; min-width: 0; line-height: 1.2; }
  .mobile-app-heading strong { overflow: hidden; color: var(--paper); font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-app-heading span { overflow: hidden; color: var(--gold-light); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-app-heading small { justify-self: end; overflow: hidden; max-width: 100%; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-app-search { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 92px; min-height: 48px; padding: 6px 9px; color: var(--paper); font-size: 15px; text-decoration: none; }
  .mobile-app-search svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .mobile-app-menu-toggle { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 12px; background: transparent; color: var(--paper); cursor: pointer; }
  .mobile-app-menu-toggle svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .mobile-app-menu-toggle[aria-expanded="true"] { background: var(--navy-800); color: var(--gold-light); }
  .mobile-app-menu { position: absolute; z-index: 80; top: calc(100% + 1px); right: 10px; left: 10px; display: grid; padding: 10px; border: 1px solid var(--line); border-radius: 0 0 14px 14px; background: var(--navy-900); box-shadow: 0 20px 50px rgba(0,0,0,.55); }
  .mobile-app-menu[hidden] { display: none; }
  .mobile-app-menu a { min-height: 48px; padding: 10px 14px; border-radius: 8px; color: var(--paper); font-weight: 650; text-decoration: none; }
  .mobile-app-menu a:hover, .mobile-app-menu a:focus-visible { background: var(--navy-800); color: var(--gold-light); }
  .mobile-app-header-spacer { width: 52px; }
  body:not(.has-mobile-bottom-nav) .mobile-app-header { min-height: 88px; }
  body:not(.has-mobile-bottom-nav) .mobile-app-heading { text-align: center; }
  body:not(.has-mobile-bottom-nav) .mobile-app-heading strong { display: none; }
  body:not(.has-mobile-bottom-nav) .mobile-app-heading span { max-height: 48px; font-size: 20px; line-height: 1.18; text-overflow: clip; white-space: normal; }
  .mobile-bottom-nav { position: fixed; z-index: 70; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: calc(68px + env(safe-area-inset-bottom)); padding: 0 4px env(safe-area-inset-bottom); border-top: 1px solid #435570; background: rgba(16, 26, 43, .98); box-shadow: 0 -12px 34px rgba(0,0,0,.35); backdrop-filter: blur(14px); }
  .mobile-bottom-nav > a { position: relative; display: grid; place-items: center; min-width: 0; min-height: 68px; color: #d5dde7; text-decoration: none; }
  .mobile-bottom-nav svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-bottom-nav > a::before { position: absolute; z-index: -1; width: 50px; height: 36px; border-radius: 18px; background: transparent; content: ""; }
  .mobile-bottom-nav > a.is-active { color: var(--navy-950); }
  .mobile-bottom-nav > a.is-active::before { background: var(--gold); }
  .mobile-nav-icon { position: relative; display: grid; place-items: center; }
  .mobile-notification-badge { position: absolute; top: -9px; right: -14px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid var(--navy-900); border-radius: 11px; background: var(--live); color: #fff; font-size: 10px; line-height: 1; }
  .mobile-notification-badge[hidden] { display: none; }
  .shell, .header-inner, .article { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 76px; gap: 12px; }
  .brand { gap: 8px; min-width: 0; }
  .brand img { width: 48px; height: 48px; border-radius: 11px; }
  .brand-name { font-size: 24px; }
  .brand-tagline { padding-left: 9px; font-size: clamp(13px, 3.8vw, 17px); white-space: normal; line-height: 1.15; }
  .main-nav { top: 76px; }
  .hero { min-height: calc(100svh - 70px); align-content: center; padding-block: 62px; gap: 20px; }
  .hero h1 { font-size: 48px; }
  .section { padding-block: 48px; }
  .section-head { align-items: start; flex-direction: column; }
  .parish-grid, .post-grid, .portal-favorites-grid { grid-template-columns: 1fr; gap: 16px; }
  .page-hero { padding-block: 48px 24px; }
  body[data-kind="app"] .page-hero { display: none; }
  body[data-kind="parish"] .page-hero { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .article { padding-bottom: 60px; }
  body[data-kind="parish"] .article { padding-top: 14px; }
  .mobile-home-favorites { display: block; min-height: 52vh; padding-block: 24px 32px; border-bottom: 1px solid #223450; }
  .mobile-home-favorites > h2 { margin: 0 0 8px; font-size: 25px; }
  .mobile-home-favorites .portal-app-status { min-height: 1.5em; margin: 0 0 12px; }
  .mobile-parish-cover { display: block; width: 100%; aspect-ratio: 32 / 9; margin-bottom: 14px; border-radius: 14px; object-fit: cover; background: var(--navy-850); }
  .mobile-player-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
  .mobile-player-actions .button { width: 100%; text-align: center; }
  .legacy-content { font-size: 17px; }
  .content-grid { display: block; }
  .content-column { margin-bottom: 20px; }
  .source-list, .source-list[data-source-count="1"] { grid-template-columns: 1fr; }
  .source-button { width: 100%; }
  .schedule-row { grid-template-columns: 1fr; gap: 10px; }
  .filters, .form-grid, .broadcast-filters { grid-template-columns: 1fr; }
  .filters > label:first-child { grid-column: auto; }
  .broadcast-item a { grid-template-columns: 120px 76px minmax(0, 1fr) auto; }
  .broadcast-thumbnail { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .consent-banner { align-items: stretch; flex-direction: column; }
  .consent-actions { width: 100%; }
  .consent-actions .button { flex: 1; }
  .startup-banner { top: 90px; align-items: stretch; flex-direction: column; }
  .portal-app-card a { grid-template-columns: 92px 1fr; }
  .portal-app-card img { width: 92px; }
  .portal-app-nav { display: none; }
  .parish-content-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: -20px; }
  .portal-app { padding-top: 24px; }
  .portal-app-card, .portal-app-content, .portal-app-empty { padding: 15px; }
  .portal-app-empty.portal-favorites-empty { min-height: 360px; padding: 170px 15px 18px; }
  .portal-app-card .favorite-button { display: grid; width: 44px; height: 44px; }
  .portal-settings { min-height: 65vh; }
  .portal-settings-list > a, .portal-settings-list > section, .portal-settings-list > button { min-height: 68px; padding: 12px 14px; }
  .tv-app-intro, .tv-store-card { grid-template-columns: 1fr; text-align: center; }
  .tv-app-icon { width: min(220px, 70vw); justify-self: center; }
  .tv-store-card > img { justify-self: center; }
  .tv-webos-soon { align-items: flex-start; flex-direction: column; gap: 6px; }
  .home-intro { padding-top: 32px; }
  .tv-product-page { gap: 50px; }
  .tv-product-hero, .tv-product-split { grid-template-columns: 1fr; text-align: left; }
  .tv-product-icon { width: min(220px, 70vw); justify-self: center; }
  .tv-feature-grid, .tv-screen-gallery { grid-template-columns: 1fr; }
  .tv-product-actions { align-items: stretch; flex-direction: column; }
  .tv-product-actions .button { width: 100%; }
  .tv-qr-card { width: min(100%, 320px); justify-self: center; }
}

@media (max-width: 560px) {
  .broadcast-item a { grid-template-columns: auto 1fr auto; gap: 10px; }
  .broadcast-state { grid-column: 1 / 2; }
  .broadcast-time { grid-column: 2 / 3; }
  .broadcast-copy { grid-column: 1 / 3; }
  .broadcast-copy + span { grid-column: 3; grid-row: 1 / 3; }
}

@media (max-width: 420px) {
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 20px; }
  .brand-tagline { max-width: 104px; padding-left: 7px; font-size: 12px; }
  .nav-toggle { padding-inline: 10px; }
  .hero h1 { font-size: 41px; }
  .video-shell { aspect-ratio: 16 / 10; }
  .mobile-app-search { min-width: 82px; padding-inline: 5px; font-size: 14px; }
  .consent-actions { flex-direction: column-reverse; }
  .tv-install-steps li { grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding: 18px 16px; }
  .tv-install-steps li > span { width: 50px; height: 50px; font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1050px) {
  .camera-sales-hero { grid-template-columns: minmax(0, .95fr) minmax(380px, 1.05fr); gap: 34px; }
  .camera-foundation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .camera-solution-grid { gap: 14px; }
  .camera-solution-card { padding: 23px; }
}

@media (max-width: 900px) {
  .camera-sales-hero, .camera-platform-section, .camera-installation-section { grid-template-columns: 1fr; }
  .camera-sales-copy { max-width: 760px; }
  .camera-benefit-strip { grid-template-columns: 1fr; }
  .camera-benefit-strip > div + div { border-top: 1px solid #435570; border-left: 0; }
  .camera-solution-grid { grid-template-columns: 1fr; }
  .camera-solution-card { padding: 28px; }
  .camera-offer-contact { align-items: flex-start; flex-direction: column; }
  .camera-offer-contact .camera-sales-actions { width: 100%; }
  .camera-platform-media { order: -1; }
  .camera-final-cta { align-items: flex-start; flex-direction: column; }
  .camera-final-cta .camera-sales-actions { width: 100%; flex-direction: row; }
}

@media (max-width: 700px) {
  .camera-product-page { padding-bottom: 62px; }
  .camera-sales-hero { padding-block: 24px 38px; }
  .camera-sales-heading h1 { font-size: clamp(50.667px, 14.933vw, 70.667px); }
  .camera-sales-actions { align-items: stretch; flex-direction: column; }
  .camera-sales-actions .button { width: 100%; text-align: center; }
  .camera-sales-note { font-size: 17.333px; }
  .camera-benefit-strip > div { padding: 20px; }
  .camera-sales-section { padding-block: 58px; }
  .camera-section-heading h2, .camera-final-cta h2, .camera-installation-section h2 { font-size: clamp(41.333px, 12vw, 56px); }
  .camera-section-heading > p { font-size: 22.667px; }
  .camera-foundation-grid { grid-template-columns: 1fr; }
  .camera-foundation-grid article { padding: 22px; }
  .camera-solution-card { padding: 24px 21px; }
  .camera-premium-feature { padding: 20px; }
  .camera-premium-intro h2 { font-size: clamp(41.333px, 12vw, 56px); }
  .camera-premium-body ul { grid-template-columns: 1fr; }
  .camera-premium-body .camera-sales-actions { flex-direction: column; }
  .camera-brand-strip ul, .camera-history-gallery { grid-template-columns: 1fr; }
  .camera-brand-strip li { min-height: 118px; }
  .camera-history-gallery figure:last-child { grid-column: auto; width: 100%; }
  .camera-platform-section h2 { font-size: clamp(41.333px, 12vw, 56px); }
  .camera-installation-section { gap: 34px; }
  .camera-final-cta { width: min(100% - 28px, 1180px); padding: 27px 21px; }
  .camera-final-cta .camera-sales-actions { flex-direction: column; }
}

/* Hierarchy is expressed primarily by size, colour and spacing. The camera sales
   page reserves moderate emphasis exclusively for semantic headings. */
body, body * { font-weight: 400 !important; }
body[data-kind="camera-product"] h1,
body[data-kind="camera-product"] h2,
body[data-kind="camera-product"] h3 { font-weight: 600 !important; }
