@font-face { font-family: "Poppins"; src: url("fonts/poppins-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-700.woff2") format("woff2"); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-800.woff2") format("woff2"); font-style: normal; font-weight: 800; font-display: swap; }

:root {
  --navy: #005281;
  --navy-deep: #003c63;
  --cyan: #00aded;
  --cyan-text: #006b96;
  --orange: #faa826;
  --ink: #082d4d;
  --muted: #60758a;
  --line: #d7e3eb;
  --surface: #f4f8fa;
  --white: #ffffff;
  --max: 1180px;
  --header-height: 92px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 12px);
  background: var(--white);
}

body {
  margin: 0;
  padding-bottom: 110px;
  color: var(--ink);
  background: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--navy-deep);
}
h1[tabindex="-1"]:focus { outline: 0; }
a { color: inherit; }
img, svg { 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;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-deep);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: minmax(210px, 285px) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, min-height .3s ease;
}

.site-header.is-scrolled {
  min-height: 76px;
  box-shadow: 0 8px 24px rgba(0, 60, 99, .08);
}

.brand { display: inline-flex; align-items: center; width: min(100%, 272px); }
.brand img { width: 100%; height: 56px; object-fit: contain; object-position: left center; }
.nav-group-label { display: none; }
.main-nav .mobile-radio-nav { display: none; }

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 1.7vw, 28px);
}

.main-nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 12px 0;
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 3px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s var(--ease);
}

.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.header-radio,
.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 3px;
  color: var(--white);
  background: var(--navy-deep);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .22s ease, transform .22s var(--ease);
}

.header-radio:hover,
.solid-button:hover { background: var(--navy); transform: translateY(-2px); }
.header-radio:active,
.solid-button:active { transform: scale(.98); }
.header-radio svg { width: 18px; fill: currentColor; }
.solid-button.orange { background: var(--orange); color: #1d3547; }
.solid-button.orange:hover { background: #ffb73d; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy-deep);
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#conteudo { min-height: calc(100vh - var(--header-height)); outline: none; }
.page { animation: pageIn .3s var(--ease) both; }

@keyframes pageIn {
  from { opacity: .72; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.section { padding: 76px 0; }
.section.soft { background: var(--surface); }
.section.compact { padding: 48px 0; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--cyan-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.035em; }
h1 { margin-bottom: 12px; font-size: clamp(42px, 6vw, 78px); font-weight: 800; }
h2 { margin-bottom: 10px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
h3 { margin-bottom: 8px; font-size: 20px; font-weight: 700; }
.lead { max-width: 720px; color: var(--muted); font-size: clamp(17px, 2vw, 21px); }
.muted { color: var(--muted); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-block: 8px;
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.text-link::after { content: "→"; transition: transform .22s var(--ease); }
.text-link:hover::after { transform: translateX(5px); }
.text-link:active { transform: scale(.98); }

/* Carousel */
.banner-carousel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 48 / 17;
  color: var(--white);
  background: var(--navy-deep);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s;
}

.banner-slide.is-active { opacity: 1; visibility: visible; }
.banner-slide > img { width: 100%; height: 100%; display: block; object-fit: contain; }
.banner-empty { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(120deg, #003c63, #005281 54%, #00608b); }
.banner-empty img { width: min(42%, 440px); max-height: 65%; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; }

.carousel-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  color: var(--white);
  background: rgba(0, 36, 61, .8);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background .2s ease;
}

.carousel-control:hover { background: var(--navy-deep); }
.carousel-control.prev { left: 14px; }
.carousel-control.next { right: 14px; }
.carousel-control svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 2; }

.carousel-dots {
  position: absolute;
  z-index: 5;
  bottom: 20px;
  left: 50%;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .52);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.carousel-dot.is-active { background: var(--cyan); transform: scale(1.3); }

.carousel-pause {
  position: absolute;
  z-index: 6;
  right: 16px;
  bottom: 16px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--white);
  color: var(--white);
  background: var(--navy-deep);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* Radio */
.radio-strip {
  color: var(--white);
  background: var(--navy-deep);
}

.radio-strip-inner {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1.1fr auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.radio-title h2 { margin: 0 0 2px; font-size: 30px; }
.radio-title p { margin: 0; color: #d7eaf5; }
.radio-title p strong { display: block; color: var(--white); font-size: 13px; }
.radio-artist { display: block; max-width: 340px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }

.radio-toggle {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--navy-deep);
  background: var(--orange);
  cursor: pointer;
  transition: transform .25s var(--ease), background .2s ease;
}

.radio-toggle:hover { transform: scale(1.06); background: #ffb740; }
.radio-toggle:active, .global-radio-toggle:active { transform: scale(.96); }
.radio-toggle.is-connecting svg, .global-radio-toggle.is-connecting svg { animation: radioPulse .75s ease-in-out infinite alternate; }
.radio-toggle svg { width: 31px; fill: currentColor; }

.waveform { display: flex; align-items: center; justify-content: center; gap: 5px; height: 64px; overflow: hidden; }
.waveform i { display: block; width: 4px; height: var(--h); background: var(--cyan); animation: wave 1.1s ease-in-out infinite alternate; animation-delay: var(--d); }
.radio-strip:not(.is-playing) .waveform i { animation-play-state: paused; opacity: .58; }

@keyframes wave { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
@keyframes radioPulse { from { opacity: .38; } to { opacity: 1; } }

.radio-meta { display: flex; align-items: center; gap: 20px; }
.live-state { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; }
.live-state::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.is-playing .live-state::before { background: #4de0a2; box-shadow: 0 0 0 5px rgba(77,224,162,.14); }
.listener-count { color: #c8dce8; font-size: 11px; white-space: nowrap; }
.radio-meta .text-link { color: var(--white); padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .35); }

.audio-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  max-width: 360px;
  padding: 14px 18px;
  color: var(--white);
  background: var(--navy-deep);
  border-left: 4px solid var(--orange);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .25s ease, transform .3s var(--ease);
}

.audio-notice.is-visible { opacity: 1; transform: translateY(0); }

.global-radio {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 250;
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.global-radio .rdios-player {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.global-radio-toggle {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--navy-deep);
  background: var(--orange);
  cursor: pointer;
  transition: transform .22s var(--ease), background .2s ease;
}
.global-radio-toggle:hover { transform: scale(1.05); background: #ffb740; }
.global-radio-toggle svg { width: 25px; fill: currentColor; }
.global-radio-copy { min-width: 0; display: grid; line-height: 1.22; }
.global-radio-copy strong,
.global-radio-copy > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.global-radio-copy strong { font-size: 14px; }
.global-radio-copy > span:last-child { color: #c7dce7; font-size: 12px; }
.global-radio-state { margin-bottom: 3px; color: var(--cyan); font-size: 10px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.global-radio-progress,
.track-progress { height: 4px; overflow: hidden; background: rgba(255,255,255,.2); }
.global-radio-progress span,
.track-progress span { display: block; width: 0; height: 100%; background: var(--cyan); transition: width 1s linear; }
.global-radio-listeners { color: #d6e8f1; font-size: 11px; white-space: nowrap; }
.volume-control { display: flex; align-items: center; gap: 9px; }
.volume-control svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.volume-control input { width: 100%; accent-color: var(--orange); cursor: pointer; }
.global-radio-link { color: var(--white); font-size: 11px; font-weight: 800; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.global-radio-link:hover { color: var(--cyan); }

/* Home sections */
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 34px; text-decoration: none; transition: background .25s ease; }
.quick-item + .quick-item { border-left: 1px solid var(--line); }
.quick-item:hover { background: #f8fbfd; }
.quick-item:active { background: #edf5f9; }
.quick-item-featured { background: #eef7fb; box-shadow: inset 0 4px 0 var(--orange); }
.quick-kicker { display: block; margin-bottom: 5px; color: var(--cyan-text); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quick-icon { width: 52px; color: var(--navy); }
.quick-icon svg { fill: none; stroke: currentColor; stroke-width: 1.7; }
.quick-item p { margin-bottom: 12px; color: var(--muted); font-size: 14px; }

.ministries-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ministry { padding: 36px 24px; text-align: center; }
.ministry + .ministry { border-left: 1px solid var(--line); }
.ministry-logo-link {
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 2px dashed #b9ccd8;
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  text-decoration: none;
  transition: color .25s ease, border-color .25s ease, transform .3s var(--ease);
}
.ministry-logo-link:hover { color: var(--cyan-text); border-color: var(--cyan-text); transform: translateY(-7px); }
.ministry-logo-link svg { width: 48px; fill: none; stroke: currentColor; stroke-width: 1.55; }
.ministry-logo-link img { width: 78px; height: 78px; object-fit: contain; }
.ministry h3 { min-height: 48px; font-size: 18px; }
.ministry .full-name { min-height: 66px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.ministry .leader { margin-bottom: 12px; color: var(--ink); font-size: 13px; font-weight: 600; }
.ministry .leader span { color: var(--muted); font-weight: 400; }

.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person-card { border-bottom: 3px solid var(--navy); background: var(--white); }
.person-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: #91aabd;
  background: #edf3f6;
  border: 1px dashed #b7c8d4;
}
.person-placeholder svg { width: 72px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.person-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.person-info { padding: 20px; }
.person-info h3 { margin-bottom: 3px; font-size: 16px; }
.person-info p { margin-bottom: 12px; color: var(--muted); font-size: 13px; }
.person-contact { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-size: 12px; font-weight: 700; }
.person-contact svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.giving-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #f0f7fb; }
.giving-inner { min-height: 130px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; }
.giving-inner > svg { width: 50px; fill: none; stroke: var(--navy); stroke-width: 1.55; }
.giving-inner h2 { margin-bottom: 3px; font-size: 21px; }
.giving-inner p { margin: 0; color: var(--muted); font-size: 14px; }

/* Inner pages */
.page-head { padding: 66px 0 30px; background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 8px; font-size: clamp(40px, 5vw, 64px); }

.placeholder-photo {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #7892a5;
  background: #edf3f6;
  border: 1px dashed #aebfcb;
  text-align: center;
}
.placeholder-photo svg { width: 60px; margin: 0 auto 14px; fill: none; stroke: currentColor; stroke-width: 1.35; }
.placeholder-photo small { display: block; margin-top: 7px; }
.history-image { width: 100%; min-height: 250px; max-height: 500px; object-fit: cover; }

.history-sheet { max-width: 1050px; margin: 0 auto; }
.history-rule { height: 3px; margin: 24px 0 42px; background: var(--navy); }
.history-block { margin-bottom: 64px; }
.history-block h2 { color: var(--navy); font-size: clamp(28px, 4vw, 42px); }
.history-columns { columns: 3 260px; column-gap: 36px; }
.history-columns p { break-inside: avoid; color: #314f67; font-size: 15px; }
.history-media { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; margin: 28px 0; }
.history-caption { margin-top: 8px; color: var(--muted); font-size: 11px; font-style: italic; }
.pull-quote { margin: 54px 0; padding: 28px 0; color: var(--navy); border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); font-size: clamp(27px, 4vw, 42px); font-weight: 800; line-height: 1.25; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.schedule-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; }
.panel { padding: 30px; background: var(--white); border: 1px solid var(--line); }
.schedule-list { margin: 0; padding: 0; list-style: none; }
.schedule-list li { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.schedule-list li:first-child { border-top: 0; }
.schedule-list svg { width: 34px; fill: none; stroke: var(--navy); stroke-width: 1.6; }
.schedule-list strong { display: block; }
.schedule-list span { color: var(--muted); font-size: 14px; }
.next-service-summary { margin: -30px -30px 30px; padding: 24px 30px; color: var(--white); background: var(--navy-deep); border-bottom: 4px solid var(--orange); }
.next-service-summary span { display: block; margin-bottom: 5px; color: #b9e7f8; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.next-service-summary strong { display: block; font-size: clamp(20px, 2.5vw, 28px); line-height: 1.2; }
.next-service-summary p { margin: 5px 0 0; color: var(--white); font-weight: 600; }
.event-placeholders { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.event-empty { max-width: 760px; padding: clamp(28px, 5vw, 48px); border: 1px solid var(--line); border-left: 5px solid var(--orange); background: var(--surface); }
.event-empty > span { color: var(--cyan-text); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.event-empty h2 { margin: 6px 0 8px; font-size: clamp(28px, 4vw, 40px); }
.event-empty p { max-width: 620px; margin: 0; color: var(--muted); }

.journey-end { color: var(--white); background: var(--navy-deep); border-top: 1px solid rgba(255,255,255,.15); }
.journey-end-inner { min-height: 180px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; padding-block: 38px; }
.journey-kicker { display: block; margin-bottom: 6px; color: #8edaf5; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.journey-end h2 { margin-bottom: 6px; font-size: clamp(27px, 4vw, 42px); }
.journey-end p { max-width: 650px; margin: 0; color: #d7eaf5; }

.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 28px; }
.form-aside { padding: 36px; color: var(--white); background: var(--navy-deep); }
.form-aside > svg { width: 70px; margin-bottom: 32px; fill: none; stroke: var(--cyan); stroke-width: 1.5; }
.form-aside ul { margin: 28px 0 0; padding: 0; list-style: none; }
.form-aside li { padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.form-panel { padding: 36px; background: var(--white); border: 1px solid var(--line); }
.fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #70899b;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan-text); box-shadow: 0 0 0 3px rgba(0, 107, 150, .16); }
.check-row { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 13px; }
.form-note { margin-top: 15px; color: var(--muted); font-size: 12px; }
.form-response { min-height: 22px; margin: 14px 0 0; color: var(--navy); font-size: 13px; font-weight: 600; }

.radio-page-player { padding: clamp(30px, 5vw, 58px); color: var(--white); background: var(--navy-deep); }
.radio-now { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 26px; }
.radio-now h2 { margin: 3px 0 4px; font-size: clamp(26px, 4vw, 44px); }
.radio-now p { margin: 0; color: #c8e3f1; }
.radio-kicker { color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.radio-artwork { width: 118px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; padding: 14px; background: var(--white); }
.radio-artwork img { width: 100%; height: 100%; object-fit: contain; }
.radio-page-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; margin-top: 28px; }
.radio-page-player .waveform { height: 100px; }
.radio-page-player .track-progress { margin-top: 8px; }
.radio-player-symbol { width: 66px; height: 66px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-deep); background: var(--orange); }
.radio-player-symbol svg { width: 31px; fill: currentColor; }
.radio-player-guidance { display: grid; gap: 5px; }
.radio-player-guidance strong { color: var(--white); font-size: 16px; }
.radio-player-guidance span { color: #c8e3f1; font-size: 13px; }

.radio-status-box { min-width: 190px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.25); }
.radio-status-box strong { display: block; }
.radio-status-box span { color: #c8e3f1; font-size: 13px; }

.songrequest-section { margin-top: 42px; padding: clamp(24px, 4vw, 38px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.songrequest-section .section-heading { margin-bottom: 20px; }
.songrequest-section .hoostcast { width: 100%; min-height: 120px; }
.radio-programming { margin-top: 48px; padding: clamp(24px, 4vw, 42px); background: var(--white); border: 1px solid var(--line); }
.radio-programming .section-heading { margin-bottom: 22px; }
.radio-programming h2 { font-size: clamp(27px, 3vw, 38px); }
.day-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.day-tab { flex: 0 0 auto; min-width: 108px; padding: 11px 16px; border: 1px solid var(--line); color: var(--navy); background: var(--white); font-size: 12px; font-weight: 700; cursor: pointer; }
.day-tab:hover, .day-tab.is-active { color: var(--white); background: var(--navy); border-color: var(--navy); }
.program-list { margin-top: 18px; border-top: 1px solid var(--line); }
.program-item { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.program-item time { color: var(--navy); font-weight: 800; }
.program-item time span { color: var(--muted); }
.program-item h3 { margin: 0 0 3px; font-size: 17px; }
.program-item p { margin: 0; color: var(--muted); font-size: 13px; }
.program-empty { padding: 34px 0; color: var(--muted); text-align: center; }
.radio-support-grid { margin-top: 28px; }

.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.contact-stack { display: grid; gap: 20px; }
.contact-row { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact-row:first-of-type { border-top: 0; }
.contact-row svg { width: 30px; fill: none; stroke: var(--navy); stroke-width: 1.55; }
.contact-row strong { display: block; }
.contact-row span { color: var(--muted); font-size: 13px; }
.map-link { min-height: 150px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 24px; color: var(--navy); background: #e8f3f9; font-weight: 700; text-decoration: none; transition: background .25s ease; }
.map-link:hover { background: #d9edf7; }
.map-link svg { width: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }

.offers-layout { display: grid; grid-template-columns: 1fr .8fr; gap: 28px; align-items: stretch; }
.offers-layout .panel { padding: clamp(28px, 4vw, 48px); }
.pix-detail { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.pix-detail span { color: var(--muted); font-size: 13px; }
.pix-detail strong { font-size: clamp(16px, 2vw, 21px); }
.offers-layout .solid-button { margin-top: 24px; }
.pix-qr, .pix-qr-placeholder { width: min(100%, 270px); aspect-ratio: 1; margin: 24px auto; }
.pix-qr { display: block; object-fit: contain; }
.pix-qr-placeholder { display: grid; place-content: center; gap: 12px; padding: 32px; border: 1px dashed #b7c9d5; color: var(--muted); background: var(--surface); text-align: center; font-size: 13px; }
.pix-qr-placeholder svg { width: 50px; margin: auto; fill: none; stroke: var(--muted); stroke-width: 1.5; }

/* Legal and accessibility pages */
.legal-sheet { max-width: 900px; }
.legal-copy { display: grid; gap: 38px; }
.legal-copy section { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.legal-copy section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-copy h2 { font-size: clamp(25px, 3vw, 34px); }
.legal-copy p, .legal-list { color: #314f67; }
.legal-updated { margin: 0; color: var(--muted); font-size: 13px; }
.legal-list { display: grid; gap: 10px; margin: 16px 0 0; padding-left: 22px; }
.legal-pending { padding: 18px; border-left: 4px solid var(--orange); background: var(--surface); }
.contact-grid-safe { align-items: stretch; }

/* Footer */
.site-footer { color: var(--white); background: var(--navy-deep); }
.footer-inner { display: grid; grid-template-columns: .9fr 1.8fr .55fr; gap: 40px; align-items: start; padding: 46px 0; }
.footer-logo { width: 240px; filter: brightness(0) invert(1); opacity: .95; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-group { display: grid; align-content: start; gap: 7px; }
.footer-group strong { margin-bottom: 4px; color: var(--white); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.footer-nav a { min-height: 32px; display: inline-flex; align-items: center; color: #e1eef5; text-decoration: none; font-size: 12px; }
.footer-nav a:hover { color: var(--cyan); }
.footer-meta { color: #c2d8e4; font-size: 12px; text-align: right; }
.footer-bottom { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.18); color: #c2d8e4; font-size: 11px; text-align: center; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .site-header { grid-template-columns: minmax(185px, 245px) auto auto; }
  .menu-toggle { display: block; justify-self: end; }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    max-height: calc(100vh - var(--header-height) - 78px);
    max-height: calc(100dvh - var(--header-height) - 78px);
    overflow-y: auto;
    padding: 8px 24px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s var(--ease), visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-group-label { display: block; padding: 15px 0 7px; color: var(--cyan-text); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
  .main-nav a { min-height: 52px; padding: 0 12px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .main-nav a.is-active { color: var(--navy-deep); background: var(--surface); border-left: 4px solid var(--cyan); }
  .main-nav .mobile-radio-nav { display: flex; justify-content: center; margin-top: 14px; color: var(--white) !important; background: var(--navy-deep) !important; border: 0 !important; }
  .header-radio { justify-self: end; }
  .radio-strip-inner { grid-template-columns: 1fr auto 1fr; }
  .radio-meta { grid-column: 1 / -1; justify-content: center; padding-bottom: 20px; }
  .ministries-grid, .people-grid { grid-template-columns: repeat(2, 1fr); }
  .ministry:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .ministry:nth-child(4) { border-top: 1px solid var(--line); }
  .global-radio { grid-template-columns: auto minmax(180px, 1fr) minmax(100px, .7fr) auto auto; }
  .global-radio .volume-control { display: none; }
}

@media (max-width: 760px) {
  :root { --header-height: 70px; }
  .site-header { min-height: 70px; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 8px 16px; }
  .site-header.is-scrolled { min-height: 70px; }
  .brand { width: min(100%, 198px); }
  .brand img { height: 48px; }
  .header-radio { display: none; }
  .container { width: min(100% - 32px, var(--max)); }
  .section { padding: 46px 0; }
  .section.compact { padding: 38px 0; }
  .section-heading { display: block; }
  h1 { font-size: clamp(34px, 9vw, 46px); }
  h2 { font-size: clamp(28px, 7vw, 36px); }
  .lead { font-size: 16px; }
  .page-head { padding: 44px 0 24px; }
  .page-head h1 { font-size: clamp(34px, 9vw, 46px); }
  .banner-empty img { width: 68%; }
  .carousel-control { width: 40px; height: 52px; }
  .carousel-dots { bottom: 10px; }
  .carousel-pause { right: 8px; bottom: 8px; min-height: 32px; padding: 0 9px; font-size: 10px; }
  .radio-strip-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 18px 0; }
  .radio-title h2 { font-size: 23px; }
  .radio-title p { font-size: 12px; }
  .radio-title p strong, .radio-artist { max-width: 230px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .radio-strip .radio-toggle { width: 52px; height: 52px; }
  .radio-strip .radio-toggle svg { width: 25px; }
  .radio-strip .waveform { display: none; }
  .radio-meta { grid-column: 1 / -1; justify-content: space-between; gap: 10px; padding: 0; }
  .radio-meta .text-link { padding-left: 10px; font-size: 11px; }
  .quick-grid, .ministries-grid, .people-grid, .archive-grid, .event-placeholders { grid-template-columns: 1fr; }
  .quick-item { padding: 22px 12px; gap: 14px; }
  .quick-icon { width: 42px; }
  .quick-item + .quick-item, .ministry + .ministry { border-left: 0; border-top: 1px solid var(--line); }
  .ministry { padding: 28px 18px; }
  .ministry .full-name { min-height: 0; }
  .ministry h3 { min-height: 0; }
  .people-grid { gap: 20px; }
  .person-placeholder { aspect-ratio: 16 / 10; }
  .panel, .form-panel { padding: 24px 20px; }
  .next-service-summary { margin: -24px -20px 24px; padding: 22px 20px; }
  .journey-end-inner { min-height: 0; grid-template-columns: 1fr; gap: 22px; padding-block: 34px; }
  .journey-end .solid-button { width: 100%; }
  .giving-inner { grid-template-columns: auto 1fr; padding: 25px 0; }
  .giving-inner .text-link { grid-column: 1 / -1; }
  .history-media, .schedule-grid, .form-layout, .contact-grid, .radio-page-grid, .offers-layout { grid-template-columns: 1fr; }
  .history-columns { columns: 1; }
  .fields { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .radio-status-box { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.25); }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .footer-logo { width: 200px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .footer-group:last-child { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-group:last-child strong { grid-column: 1 / -1; }
  .footer-nav a { min-height: 44px; }
  .footer-meta { text-align: left; }
  body { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
  .global-radio { padding-bottom: env(safe-area-inset-bottom); }
  .global-radio-toggle { width: 50px; height: 50px; }
  .global-radio-progress, .global-radio-listeners, .global-radio-link { display: none; }
  .global-radio-copy strong { font-size: 13px; }
  .global-radio-state { font-size: 11px; }
  .audio-notice { right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); left: 16px; max-width: none; }
  .menu-toggle { width: 44px; height: 44px; }
  .radio-now { grid-template-columns: 82px 1fr; gap: 18px; }
  .radio-artwork { width: 82px; padding: 10px; }
  .program-item { grid-template-columns: 1fr; gap: 5px; }
}

@media (max-width: 380px) {
  .brand { width: min(100%, 174px); }
  .global-radio-copy > span:last-child { display: none; }
  .radio-meta { flex-wrap: wrap; }
  .radio-now { grid-template-columns: 64px 1fr; gap: 12px; }
  .radio-artwork { width: 64px; }
  .footer-nav { grid-template-columns: 1fr; }
  .footer-group:last-child { grid-column: auto; grid-template-columns: 1fr; }
  .footer-group:last-child strong { grid-column: auto; }
}

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