:root {
  --navy: #06163d;
  --navy-2: #0a225d;
  --royal: #0b4ec4;
  --royal-2: #1667ff;
  --gold: #f5c84c;
  --gold-2: #fff1a8;
  --gold-3: #b9871a;
  --wine: #8d2f35;
  --sage: #e8efe6;
  --ink: #13213f;
  --muted: #65708a;
  --white: #ffffff;
  --mist: #f6f8fd;
  --line: rgba(245, 200, 76, 0.28);
  --shadow: 0 24px 80px rgba(4, 15, 45, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
  position: relative;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(6, 22, 61, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245, 200, 76, 0.22);
}

.nav {
  min-height: 78px;
  width: min(1220px, calc(100% - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.brand strong {
  display: block;
  font-family: Cinzel, serif;
  font-size: 1.08rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--gold-2);
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-2);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  display: none;
  place-items: center;
  padding: 10px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  display: block;
  margin: 2px 0;
}

.hero {
  min-height: 88vh;
  padding-top: 56px;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 16%, rgba(245, 200, 76, 0.34), transparent 27%),
    radial-gradient(circle at 16% 74%, rgba(22, 103, 255, 0.28), transparent 32%),
    linear-gradient(135deg, #050b22 0%, var(--navy) 44%, var(--royal) 100%);
}

.halo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: center;
  min-height: 500px;
}

.eyebrow,
.card-label {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: Cinzel, serif;
}

h1 {
  font-size: 5rem;
  max-width: 760px;
}

h2 {
  font-size: 3.25rem;
}

h3 {
  font-size: 1.14rem;
}

p {
  margin: 0;
}

.lead {
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.2rem;
  max-width: 720px;
}

.hero-actions,
.button-stack,
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold), var(--gold-3));
  color: #172244;
  box-shadow: 0 14px 34px rgba(245, 200, 76, 0.28);
}

.btn.navy {
  background: linear-gradient(135deg, var(--navy-2), var(--royal));
  color: var(--white);
}

.btn.light {
  background: var(--white);
  color: var(--navy);
}

.btn.outline {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
}

.btn.wide {
  margin-top: 26px;
  width: min(290px, 100%);
}

.hero-mark {
  position: relative;
  isolation: isolate;
  max-width: 500px;
  margin-inline: auto;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: 10%;
  background: radial-gradient(circle, rgba(245, 200, 76, 0.45), transparent 68%);
  filter: blur(16px);
  z-index: -1;
}

.hero-mark img,
.portrait-panel img {
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-panels {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.feature-card,
.bio-card,
.contact-card,
.map-placeholder,
.watch-side,
.sermon-card,
.event-card,
.ministry-card,
.giving-item,
.belief-card,
.scheduler-form,
.scheduler-panel,
.api-card,
.prayer-form {
  border: 1px solid rgba(245, 200, 76, 0.24);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 22px;
  backdrop-filter: blur(14px);
}

.feature-card p {
  color: rgba(255, 255, 255, 0.78);
}

.video-thumb {
  min-height: 182px;
  margin: 14px 0 18px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(3, 13, 39, 0.2), rgba(3, 13, 39, 0.6)),
    radial-gradient(circle at center, rgba(245, 200, 76, 0.34), rgba(11, 78, 196, 0.42) 42%, rgba(4, 12, 35, 0.94));
}

.play-icon,
.play-orb {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: var(--navy);
  font-weight: 900;
}

.verse-card blockquote {
  margin: 18px 0 12px;
  font-family: Cinzel, serif;
  font-size: 1.3rem;
  line-height: 1.3;
}

.section-heading {
  max-width: 710px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
}

.icon-grid,
.giving-categories,
.ministry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.belief-card,
.giving-item,
.ministry-card,
.event-card,
.sermon-card {
  background: var(--white);
  padding: 22px;
}

.belief-card .icon,
.ministry-card .icon,
.giving-item .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: var(--gold);
  font-weight: 900;
}

.apostle-band,
.ministries-band {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 200, 76, 0.2), transparent 30%),
    linear-gradient(135deg, var(--navy), #071d52 58%, #092f8b);
}

.apostle-grid,
.giving-grid,
.form-grid,
.visit-grid,
.watch-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: stretch;
}

.portrait-panel {
  min-height: 480px;
  display: grid;
  align-content: center;
  gap: 26px;
}

.portrait-panel img {
  width: min(320px, 78vw);
}

.bio-card {
  background: rgba(255, 255, 255, 0.1);
  padding: clamp(24px, 5vw, 46px);
  display: grid;
  gap: 18px;
  font-size: 1.08rem;
  backdrop-filter: blur(14px);
}

.live-frame {
  min-height: auto;
  border-radius: var(--radius);
  display: grid;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding: 28px;
  background: linear-gradient(135deg, #fbf8ef, var(--sage));
  box-shadow: var(--shadow);
  position: relative;
}

.live-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  color: var(--white);
  background: rgba(6, 22, 61, 0.82);
  border: 1px solid rgba(245, 200, 76, 0.36);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 800;
}

.watch-side,
.contact-card,
.map-placeholder {
  background: var(--white);
  padding: 24px;
}

.watch-side {
  display: grid;
  gap: 18px;
}

.countdown strong {
  display: block;
  margin: 8px 0;
  font-size: 2.8rem;
  color: var(--navy);
  line-height: 1;
}

.latest-replay {
  border-top: 1px solid #e5e9f2;
  padding-top: 18px;
}

.sermons-section {
  background: linear-gradient(180deg, #ffffff 0%, #fbf8ef 100%);
}

.video-library {
  margin: 30px 0 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-card-item,
.resource-card,
.playlist-feature {
  background: var(--white);
  border: 1px solid #e6dcc4;
  border-radius: var(--radius);
  box-shadow: 0 20px 54px rgba(19, 33, 63, 0.1);
  overflow: hidden;
}

.video-card-item {
  display: grid;
  gap: 16px;
  padding-bottom: 18px;
}

.playlist-feature {
  margin: 8px 0 34px;
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: center;
}

.playlist-feature .btn {
  justify-self: start;
}

.playlist-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #030a21;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(19, 33, 63, 0.18);
}

.playlist-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-item > div:not(.card-actions) {
  padding: 0 18px;
  display: grid;
  gap: 10px;
}

.video-card-item .card-actions {
  padding: 0 18px;
}

.video-poster {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #030a21;
}

.video-poster.compact {
  margin: 14px 0 18px;
}

.broadcast-preview {
  width: 100%;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(3, 10, 33, 0.04), rgba(3, 10, 33, 0.48));
}

.video-poster .play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.preview-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  color: var(--white);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.56);
}

.video-poster:hover img {
  transform: scale(1.05);
  opacity: 0.88;
}

.sermon-tools {
  margin: 28px 0;
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(4, minmax(130px, 0.65fr));
  gap: 12px;
}

.search-box span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.sermon-tools input,
.sermon-tools select,
.prayer-form input,
.prayer-form textarea,
.scheduler-form input,
.scheduler-form select,
.scheduler-form textarea,
.scheduler-toolbar input,
.scheduler-toolbar select,
.api-card input {
  width: 100%;
  border: 1px solid #d8dfec;
  border-radius: var(--radius);
  background: var(--white);
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}

.sermon-tools input:focus,
.sermon-tools select:focus,
.prayer-form input:focus,
.prayer-form textarea:focus,
.scheduler-form input:focus,
.scheduler-form select:focus,
.scheduler-form textarea:focus,
.scheduler-toolbar input:focus,
.scheduler-toolbar select:focus,
.api-card input:focus {
  border-color: var(--royal);
  box-shadow: 0 0 0 4px rgba(22, 103, 255, 0.12);
}

.sermon-grid,
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sermon-card {
  display: grid;
  gap: 12px;
}

.sermon-meta,
.event-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border-radius: 999px;
  background: #eef4ff;
  color: var(--royal);
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.card-actions .btn {
  min-height: 40px;
  padding: 9px 12px;
  font-size: 0.88rem;
}

.giving-band {
  background:
    linear-gradient(135deg, rgba(6, 22, 61, 0.96), rgba(10, 34, 93, 0.92)),
    radial-gradient(circle at 90% 0%, rgba(245, 200, 76, 0.4), transparent 30%);
  color: var(--white);
}

.giving-band .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

.payment-note {
  max-width: 520px;
  margin-top: 16px;
  color: var(--gold-2);
  font-weight: 800;
}

.giving-toggle {
  display: inline-flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 5px;
  margin-top: 24px;
}

.giving-toggle button {
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: transparent;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}

.giving-toggle button.active {
  color: var(--navy);
  background: var(--gold);
}

.giving-item {
  color: var(--ink);
}

.giving-panel {
  display: grid;
  gap: 16px;
}

.wipay-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid rgba(245, 200, 76, 0.34);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  display: grid;
  gap: 16px;
}

.wipay-card h3 {
  font-family: Cinzel, serif;
  font-size: 2rem;
  color: var(--navy);
}

.wipay-card p {
  color: var(--muted);
}

.payment-steps {
  margin: 4px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.payment-steps li + li {
  margin-top: 6px;
}

.prayer-form {
  background: var(--white);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.prayer-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 800;
}

.scheduler-band {
  background:
    linear-gradient(180deg, #fbf8ef 0%, #ffffff 56%, #eef4ff 100%);
}

.scheduler-stats {
  margin: 30px 0 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.scheduler-stats article {
  background: var(--white);
  border: 1px solid #e6dcc4;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 38px rgba(19, 33, 63, 0.08);
}

.scheduler-stats span,
.api-card label,
.scheduler-form label,
.scheduler-toolbar label {
  color: var(--navy);
  font-weight: 800;
}

.scheduler-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
  line-height: 1;
  color: var(--royal);
}

.scheduler-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: start;
}

.scheduler-form,
.scheduler-panel,
.api-card {
  background: var(--white);
  padding: 22px;
  box-shadow: 0 20px 54px rgba(19, 33, 63, 0.1);
}

.scheduler-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panel-head,
.scheduler-form .full,
.scheduler-actions,
.scheduler-form .form-note {
  grid-column: 1 / -1;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.scheduler-form label,
.scheduler-toolbar label,
.api-card label {
  display: grid;
  gap: 8px;
}

.scheduler-actions,
.scheduler-toolbar,
.api-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.scheduler-toolbar {
  margin-bottom: 16px;
}

.scheduler-toolbar .search-box {
  flex: 1 1 260px;
}

.file-import {
  position: relative;
  min-width: 170px;
}

.file-import input {
  padding: 10px;
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid #e5e9f2;
  border-radius: var(--radius);
  background: #fbfcff;
}

.schedule-card-main {
  display: grid;
  gap: 8px;
}

.date-box {
  min-height: 74px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--royal));
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 10px;
}

.date-box span {
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.date-box strong {
  font-size: 1.65rem;
  line-height: 1;
}

.reminder-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.badge,
.status-pill {
  border-radius: 999px;
  padding: 6px 10px;
  background: #eef4ff;
  color: var(--royal);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.status-pill.ok {
  background: #e8f8ef;
  color: #147a3b;
}

.status-pill.warn {
  background: #fff3d6;
  color: #8a5b00;
}

.empty-schedule {
  border: 1px dashed #cfd7e6;
  border-radius: var(--radius);
  padding: 24px;
  color: var(--muted);
  background: #fbfcff;
}

.api-card {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

.api-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.api-log {
  margin: 0;
  min-height: 118px;
  max-height: 260px;
  overflow: auto;
  border-radius: var(--radius);
  background: #08183d;
  color: #dce8ff;
  padding: 14px;
  white-space: pre-wrap;
}

.prayer-form .full,
.option-row,
.prayer-form button,
.form-note {
  grid-column: 1 / -1;
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.option-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.option-row input {
  width: auto;
}

.form-note {
  color: var(--royal);
  font-weight: 800;
}

.event-card {
  display: grid;
  gap: 14px;
}

.resources-band {
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.86)),
    linear-gradient(135deg, var(--sage), #fbf1db 55%, #f4d7d9);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.resource-card {
  min-height: 280px;
  padding: 26px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.resource-card h3 {
  font-family: Cinzel, serif;
  font-size: 1.7rem;
  color: var(--navy);
}

.resource-card p {
  color: var(--muted);
}

.featured-resource {
  color: var(--white);
  background:
    linear-gradient(rgba(6, 22, 61, 0.72), rgba(6, 22, 61, 0.9)),
    radial-gradient(circle at 70% 12%, rgba(245, 200, 76, 0.46), transparent 34%),
    linear-gradient(135deg, var(--wine), var(--navy));
  border-color: rgba(245, 200, 76, 0.34);
}

.featured-resource h3,
.featured-resource p {
  color: var(--white);
}

.ministry-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.ministry-card p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 12px;
}

.contact-intro {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

.contact-list a,
.footer-contact a {
  color: var(--royal);
  font-weight: 800;
}

.social-row a {
  border: 1px solid #d8dfec;
  color: var(--royal);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 800;
}

.map-placeholder {
  min-height: 360px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
  color: var(--muted);
  background:
    linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.88)),
    repeating-linear-gradient(45deg, #e8edf6 0 12px, #f7f9fd 12px 24px);
}

.map-placeholder span {
  display: block;
  color: var(--navy);
  font-family: Cinzel, serif;
  font-size: 1.7rem;
}

.map-placeholder p {
  max-width: 420px;
}

.footer {
  padding: 38px 0;
  background: #030a21;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 24px;
  align-items: center;
}

.footer img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  margin-bottom: 12px;
}

.footer h3 {
  color: var(--white);
  font-family: Cinzel, serif;
}

.footer-contact {
  margin-top: 12px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  color: var(--gold-2);
  font-weight: 800;
}

.copyright {
  justify-self: end;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    position: absolute;
    inset: 78px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(6, 22, 61, 0.98);
    border: 1px solid rgba(245, 200, 76, 0.24);
    border-radius: var(--radius);
    padding: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-grid,
  .hero-panels,
  .split,
  .apostle-grid,
  .giving-grid,
  .form-grid,
  .visit-grid,
  .watch-grid,
  .scheduler-layout,
  .playlist-feature,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-grid {
    min-height: auto;
  }

  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  .hero-mark {
    max-width: 420px;
    margin-inline: auto;
  }

  .sermon-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-box {
    grid-column: 1 / -1;
  }

  .sermon-grid,
  .event-grid,
  .video-library,
  .resource-grid,
  .scheduler-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .copyright {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .lead {
    font-size: 1.05rem;
  }

  .hero-actions .btn,
  .button-stack .btn {
    width: 100%;
  }

  .hero-panels,
  .icon-grid,
  .giving-categories,
  .ministry-grid,
  .sermon-tools,
  .sermon-grid,
  .event-grid,
  .video-library,
  .resource-grid,
  .scheduler-stats,
  .scheduler-form,
  .api-grid,
  .prayer-form {
    grid-template-columns: 1fr;
  }

  .schedule-card {
    grid-template-columns: 1fr;
  }

  .live-frame {
    padding: 14px;
  }

  .option-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
