:root {
  --blue-950: #061f39;
  --blue-900: #0b3158;
  --blue-800: #124a79;
  --blue-600: #1b72a8;
  --sky-100: #eaf6fc;
  --gold: #d8aa55;
  --gold-light: #f0d595;
  --cream: #fbf8f1;
  --ink: #182432;
  --muted: #606e7b;
  --white: #ffffff;
  --border: rgba(11, 49, 88, 0.14);
  --shadow: 0 18px 50px rgba(6, 31, 57, 0.11);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

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

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

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
  text-align: center;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--white);
  color: var(--blue-950);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 31, 57, 0.96);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.brand-logo {
  width: 30px;
  height: 40px;
  max-width: 30px;
  flex: 0 0 30px;
  border: 1px solid rgba(216, 170, 85, 0.38);
  border-radius: 8px;
  background: #000;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

nav a {
  position: relative;
  padding: 27px 0 23px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 680;
  white-space: nowrap;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--gold);
  content: "";
  transition: transform 180ms ease;
}

nav a:hover::after,
nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  display: grid;
  min-height: 690px;
  place-items: end start;
  overflow: hidden;
  isolation: isolate;
}

.hero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 27, 49, 0.92) 0%, rgba(4, 27, 49, 0.66) 44%, rgba(4, 27, 49, 0.12) 79%),
    linear-gradient(0deg, rgba(4, 27, 49, 0.73) 0%, transparent 48%);
}

.hero-content {
  padding-bottom: 82px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--blue-600);
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 7vw, 6.35rem);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  color: var(--blue-950);
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 12px;
  color: var(--blue-900);
  font-size: 1.38rem;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--white);
  color: var(--blue-950);
  transform: translateY(-2px);
}

.section {
  padding: 96px 0;
}

.welcome {
  background:
    radial-gradient(circle at 50% 0%, rgba(29, 111, 166, 0.11), transparent 42%),
    var(--cream);
}

.welcome p:last-child,
.communion p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.12rem;
}

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

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

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

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

.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.75fr);
  align-items: start;
  gap: 70px;
}

.prose {
  max-width: 760px;
}

.prose h3:not(:first-child) {
  margin-top: 38px;
}

.prose p {
  margin-bottom: 19px;
  color: #455361;
}

.timeline {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 14px;
}

.timeline-item {
  position: relative;
  padding: 25px 26px 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--cream);
}

.timeline-item span,
.card-label,
.contact-card > span,
.construction-badge > span {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-600);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin-bottom: 7px;
  font-size: 1.2rem;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.timeline-item.featured {
  border-color: transparent;
  background: var(--blue-900);
}

.timeline-item.featured span {
  color: var(--gold-light);
}

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

.city-ministry {
  background:
    radial-gradient(circle at 12% 8%, rgba(216, 170, 85, 0.18), transparent 28%),
    var(--blue-950);
  color: var(--white);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 85px;
}

.city-ministry h2 {
  color: var(--white);
}

.light-prose p {
  color: rgba(255, 255, 255, 0.77);
}

.light-prose p:last-child {
  margin-bottom: 0;
}

.communion {
  background: var(--sky-100);
}

.mission {
  background: var(--cream);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mission-card {
  position: relative;
  padding: 42px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.mission-card::before,
.ministry-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--gold));
  content: "";
}

.mission-card h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

blockquote {
  margin: 28px 0 14px;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-style: italic;
}

cite {
  color: var(--blue-800);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 800;
}

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

.ministry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ministry-card {
  position: relative;
  min-height: 230px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--cream);
}

.ministry-card > span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--blue-600);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.ministry-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.activities {
  background: var(--blue-900);
  color: var(--white);
}

.schedule-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 42px;
}

.schedule-heading h2 {
  margin-bottom: 0;
  color: var(--white);
}

.schedule-heading > p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.prayer-highlight {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: center;
  gap: 32px;
  margin-bottom: 20px;
  padding: 26px 30px;
  border: 1px solid rgba(240, 213, 149, 0.42);
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(216, 170, 85, 0.2), rgba(255, 255, 255, 0.07));
}

.prayer-highlight span,
.day-name {
  display: block;
  color: var(--gold-light);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prayer-highlight strong {
  display: block;
  margin-top: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.prayer-highlight p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

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

.day-card {
  min-height: 190px;
  padding: 27px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.day-card time {
  display: block;
  margin: 24px 0 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 720;
}

.day-card h3 {
  margin-bottom: 0;
  color: var(--white);
  font-size: 1.28rem;
}

.sunday-event {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sunday-event:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sunday-event time {
  margin: 0 0 4px;
}

.sunday-event h3 {
  font-size: 1.06rem;
}

.gallery {
  background: var(--sky-100);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 20px;
}

.gallery-item {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--blue-950);
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 350ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-item::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(4, 27, 49, 0.82));
  content: "";
  pointer-events: none;
}

.gallery-item figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.contact {
  background: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 72px;
}

.contact-intro > p:not(.eyebrow) {
  color: var(--muted);
}

address {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--blue-900);
}

.contact-cards {
  display: grid;
  gap: 18px;
}

.contact-card {
  padding: 30px 34px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card h3 {
  margin-bottom: 16px;
  font-size: 1.55rem;
}

.contact-card a {
  display: block;
  width: fit-content;
  margin-top: 6px;
  color: var(--blue-800);
  font-weight: 720;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 48px 0;
  background: var(--blue-950);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.footer-inner p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.footer-inner > a {
  color: rgba(255, 255, 255, 0.75);
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .header-inner {
    display: block;
    padding-top: 16px;
  }

  nav {
    max-width: 100%;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  nav a {
    flex: 0 0 auto;
    padding: 15px 0 18px;
  }

  nav a::after {
    bottom: 11px;
  }

  .hero {
    min-height: 620px;
  }

  .history-layout,
  .split-heading,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .timeline {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

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

  .schedule-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .week-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    position: relative;
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-logo {
    width: 28px;
    height: 37px;
    max-width: 28px;
    flex-basis: 28px;
  }

  .hero {
    min-height: 590px;
  }

  .hero > img {
    object-position: 54% 50%;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(4, 27, 49, 0.94) 0%, rgba(4, 27, 49, 0.63) 60%, rgba(4, 27, 49, 0.22) 100%);
  }

  .hero-content {
    padding-bottom: 50px;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .section {
    padding: 70px 0;
  }

  .mission-grid,
  .ministry-grid,
  .timeline,
  .week-grid,
  .gallery-grid,
  .prayer-highlight {
    grid-template-columns: 1fr;
  }

  .mission-card,
  .ministry-card,
  .day-card,
  .contact-card {
    padding: 28px;
  }

  .prayer-highlight {
    gap: 10px;
  }

  .gallery-item,
  .gallery-item img {
    min-height: 270px;
  }

  .footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
