:root {
  --ink: #101820;
  --muted: #5e6873;
  --paper: #f6f7f9;
  --white: #ffffff;
  --blue: #005aa8;
  --blue-dark: #003d77;
  --blue-soft: #e6f1fb;
  --silver: #d8dee6;
  --gold: #d8a12e;
  --line: rgba(16, 24, 32, 0.14);
  --shadow: 0 22px 52px rgba(16, 24, 32, 0.15);
}

* {
  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(--paper);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 54px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(16, 24, 32, 0.12);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-weight: 900;
  line-height: 1;
}

.brand-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: #000;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.site-header.scrolled .brand-logo,
.site-header.open .brand-logo {
  box-shadow: 0 0 0 1px var(--line);
}

.brand small {
  display: block;
  margin-top: 5px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.93rem;
  font-weight: 800;
}

.site-nav > a,
.dropdown > button {
  min-height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.dropdown {
  position: relative;
}

.dropdown > button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease;
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  padding: 11px 12px;
  border-radius: 6px;
}

.dropdown-menu a:hover,
.site-nav > a:hover,
.dropdown > button:hover {
  background: rgba(0, 90, 168, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 118px clamp(18px, 6vw, 82px) 64px;
  overflow: hidden;
  color: var(--white);
  --hero-bg-image: url("assets/hainesville-church-building.jpeg");
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.94) 0%, rgba(5, 8, 12, 0.82) 44%, rgba(6, 42, 83, 0.64) 100%),
    var(--hero-bg-image) center / cover no-repeat,
    linear-gradient(135deg, #05080c 0%, #101820 44%, #062a53 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--blue));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.hero-rotator {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  aspect-ratio: 1.12;
  justify-self: end;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.hero-rotator img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 220ms ease;
}

.rotator-dots {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 7px;
}

.rotator-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.rotator-dots button.active {
  background: var(--gold);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 720px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.65rem);
  line-height: 1.03;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-actions,
.amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.78);
}

.button.full {
  width: 100%;
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.band {
  padding: clamp(54px, 8vw, 96px) 0;
}

.welcome,
.give,
.events {
  background: var(--white);
}

.welcome-grid,
.split,
.donate-grid,
.footer-grid,
.outreach-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
}

.welcome-grid p,
.split p,
.donate-grid p,
.outreach-grid p {
  font-size: 1.05rem;
}

.bylaws-button {
  width: fit-content;
  margin-top: 20px;
}

.services,
.ministry-links,
.ministries,
.leadership,
.announcements,
.map-section {
  padding: clamp(58px, 9vw, 110px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

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

.service-card,
.program-card,
.announcement-card,
.donation-panel,
.leader-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.service-card,
.program-card,
.announcement-card {
  min-height: 250px;
  padding: 26px;
}

.service-card span,
.program-icon {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  margin-bottom: 34px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-card p {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--blue-dark);
}

.announcement-card {
  min-height: 220px;
}

.announcement-card time {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  margin-bottom: 26px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.calendar-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.calendar-header h2 {
  margin-bottom: 0;
}

.calendar-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.calendar-controls button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.calendar-controls strong {
  min-width: 170px;
  text-align: center;
}

.weekly-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.weekly-service-card {
  padding: 16px;
  border: 1px solid rgba(0, 90, 168, 0.22);
  border-radius: 8px;
  background: var(--blue-soft);
}

.weekly-service-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.weekly-service-card strong {
  display: block;
  margin-bottom: 4px;
}

.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 22px;
  align-items: start;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.calendar-weekday,
.calendar-day {
  min-width: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calendar-weekday:nth-child(7n),
.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-weekday {
  padding: 12px 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day {
  min-height: 112px;
  padding: 10px;
  background: var(--white);
}

.calendar-day.muted {
  background: #f3f5f7;
}

.calendar-date {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 8px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
}

.calendar-day.today .calendar-date {
  color: var(--white);
  background: var(--blue);
}

.calendar-event {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 7px;
  border: 0;
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  color: var(--ink);
  background: #fff7e8;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.calendar-event.recurring {
  border-left-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.calendar-event.announcement {
  border-left-color: #d79a1f;
  background: #fff4d8;
  color: #5f4108;
}

.event-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.event-panel h3 {
  color: var(--blue-dark);
}

.event-panel-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  color: var(--blue-dark);
  background: transparent;
  font: inherit;
  font-size: 1.17rem;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.event-panel-toggle span[aria-hidden="true"] {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  transition: transform 160ms ease;
}

.event-panel.collapsed .event-panel-toggle {
  margin-bottom: 0;
}

.event-panel.collapsed .event-panel-toggle span[aria-hidden="true"] {
  transform: rotate(180deg);
}

.event-panel.collapsed .event-list {
  display: none;
}

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

.event-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.event-item.announcement {
  border-color: #efd58d;
  background: #fffaf0;
}

.event-item time {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.event-kind {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #5f4108;
  background: #fff4d8;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.event-item strong {
  display: block;
  margin-bottom: 6px;
}

.event-item p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.beliefs,
.outreach {
  background: #101820;
}

.beliefs h2,
.outreach h2 {
  color: var(--white);
}

.beliefs p,
.outreach p {
  color: rgba(255, 255, 255, 0.76);
}

.belief-list {
  display: grid;
  gap: 14px;
}

.belief-list p {
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.belief-button {
  width: max-content;
  margin-top: 8px;
}

.belief-detail-list {
  display: grid;
  gap: 16px;
  max-width: 920px;
}

.belief-detail-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.belief-detail-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 1.1rem;
}

.ministry-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.ministry-link-grid a {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
  font-weight: 900;
  text-align: center;
}

.team {
  background: var(--white);
}

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

.team-grid article {
  min-height: 200px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.team-member-grid {
  align-items: stretch;
}

.team-member-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  overflow: hidden;
}

.team-member-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
  background: var(--blue-soft);
}

.team-member-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.team-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 1.12rem;
}

.map-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.map-grid > div,
.map-grid iframe {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.map-grid > div {
  padding: 26px;
}

.map-grid iframe {
  width: 100%;
  min-height: 360px;
}

.donation-panel {
  padding: 26px;
}

.donation-panel p {
  margin: 18px 0;
}

.amount {
  min-width: 74px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.amount.active {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.leader-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
}

.leader-photo {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  border-radius: 8px;
  background: #05080c;
}

.leader-photo img {
  width: 142px;
  height: 142px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-popup {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
}

.contact-fab {
  min-height: 50px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.contact-card {
  position: absolute;
  right: 0;
  bottom: 64px;
  display: none;
  width: min(330px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-popup.open .contact-card {
  display: block;
}

.contact-card h2 {
  font-size: 1.45rem;
}

.contact-card ul {
  margin: 0 0 18px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--blue-soft);
  font-size: 1.3rem;
  cursor: pointer;
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.86);
  background: #05080c;
}

.site-footer p,
.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1rem;
}

.footer-brand {
  margin-bottom: 18px;
  color: var(--white);
}

.newsletter {
  display: flex;
  gap: 8px;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  resize: vertical;
}

.newsletter input {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter button {
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.ministry-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 90, 168, 0.18), transparent 28%),
    var(--paper);
}

.maintenance-mode {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 90, 168, 0.18), transparent 28%),
    linear-gradient(135deg, #05080c 0%, #101820 58%, #062a53 100%);
}

.maintenance-page {
  width: min(620px, 100%);
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  text-align: center;
}

.maintenance-page img {
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  border-radius: 50%;
  object-fit: cover;
}

.maintenance-page h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 7vw, 4.6rem);
}

.maintenance-page p:not(.eyebrow) {
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.82);
}

.page-detail {
  padding: clamp(48px, 8vw, 96px) 0;
}

.page-detail .button {
  margin-bottom: 44px;
}

.page-detail h1 {
  max-width: 900px;
  color: var(--ink);
}

.page-detail p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.18rem;
}

.trust-note {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.site-form,
.content-list {
  display: grid;
  gap: 16px;
  max-width: 860px;
}

.site-form {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.checkbox-line {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.checkbox-line input {
  width: auto;
  min-height: 0;
}

.content-list article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.content-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font-size: 1.14rem;
}

.content-list .button {
  margin: 8px 0 0;
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.07);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-rotator {
    justify-self: stretch;
    width: 100%;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    max-height: calc(100vh - 86px);
    overflow: auto;
    padding: 10px 18px 22px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 30px rgba(16, 24, 32, 0.13);
  }

  .site-nav.open {
    display: grid;
    gap: 5px;
  }

  .site-nav > a,
  .dropdown > button {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 8px 14px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown.open .dropdown-menu {
    display: grid;
  }

  .welcome-grid,
  .split,
  .donate-grid,
  .footer-grid,
  .outreach-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .program-grid,
  .announcement-grid,
  .team-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .map-grid {
    grid-template-columns: 1fr;
  }

  .calendar-header,
  .calendar-layout {
    grid-template-columns: 1fr;
  }

  .calendar-header {
    display: grid;
  }

  .weekly-services {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

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

  .brand small {
    font-size: 0.64rem;
  }

  .hero {
    min-height: 0;
    padding: 104px 18px 48px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-rotator {
    aspect-ratio: 0.98;
  }

  .service-grid,
  .program-grid,
  .announcement-grid,
  .team-grid,
  .ministry-link-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .leader-row {
    grid-template-columns: 1fr;
  }

  .leader-photo {
    width: 100%;
  }

  .newsletter {
    flex-direction: column;
  }

  .calendar-grid {
    font-size: 0.88rem;
  }

  .calendar-day {
    min-height: 84px;
    padding: 6px;
  }

  .calendar-event {
    padding: 6px;
    font-size: 0.72rem;
  }
}
