:root {
  --ink: #18324a;
  --ink-soft: #40586b;
  --blue: #6fa8bc;
  --blue-dark: #456685;
  --cream: #f6f3ec;
  --paper: #ffffff;
  --gold: #c89a52;
  --line: #d9e1e5;
  --shadow: 0 18px 48px rgba(24, 50, 74, 0.12);
  --radius: 1.15rem;
  --content: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--blue-dark);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin: 0 0 0.65em;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p,
ul {
  margin: 0 0 1.25rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  color: white;
  background: var(--ink);
  border-radius: 0.4rem;
}

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

.site-header {
  position: relative;
  z-index: 20;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.motto {
  padding: 0.45rem 1rem;
  color: white;
  background: var(--ink);
  text-align: center;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

.nav-shell {
  width: min(var(--content), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 3.3rem;
  height: 3.3rem;
  object-fit: cover;
  object-position: center;
  border-radius: 0.8rem;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0.75rem;
  color: var(--ink);
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: white;
  background: var(--blue-dark);
}

.hero {
  min-height: clamp(30rem, 62vh, 38rem);
  display: grid;
  align-items: end;
  color: white;
  background:
    linear-gradient(90deg, rgba(11, 30, 45, 0.88) 0%, rgba(11, 30, 45, 0.5) 54%, rgba(11, 30, 45, 0.08) 100%),
    url("../img/jesus.jpg") center 43% / cover no-repeat;
}

.hero-inner,
.page-intro-inner,
.section-inner {
  width: min(var(--content), calc(100% - 2rem));
  margin: 0 auto;
}

.hero-inner {
  padding: clamp(2.75rem, 6vw, 5rem) 0;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero p {
  max-width: 43rem;
  font-size: clamp(1.12rem, 2vw, 1.4rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  color: white;
  background: var(--blue-dark);
  border: 2px solid var(--blue-dark);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.button-light {
  color: var(--ink);
  background: white;
  border-color: white;
}

.button-light:hover {
  color: white;
  background: transparent;
}

.page-intro {
  padding: clamp(4rem, 9vw, 7rem) 0;
  color: white;
  background: linear-gradient(135deg, var(--ink), var(--blue-dark));
}

.page-intro p {
  max-width: 48rem;
  margin-bottom: 0;
  font-size: 1.18rem;
}

.section {
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.section-white {
  background: var(--paper);
}

.section-blue {
  color: white;
  background: var(--blue-dark);
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 2.25rem;
}

.grid-2,
.grid-3,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.card {
  padding: clamp(1.35rem, 3vw, 2rem);
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card > :last-child,
.prose > :last-child {
  margin-bottom: 0;
}

.schedule-card {
  position: relative;
  overflow: hidden;
}

.schedule-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.35rem;
  background: var(--blue);
}

.schedule-time {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--blue-dark);
  font-weight: 850;
}

.notice {
  padding: 1rem 1.2rem;
  background: #fff8e8;
  border: 1px solid #e4c98d;
  border-left: 0.35rem solid var(--gold);
  border-radius: 0.65rem;
}

.media-card {
  overflow: hidden;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card .card-body {
  padding: 1.4rem;
}

.prose {
  max-width: 48rem;
}

.prose-wide {
  max-width: 62rem;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose h3 {
  margin-top: 1.8rem;
}

.quote {
  margin: 0;
  padding-left: 1.3rem;
  border-left: 0.35rem solid var(--gold);
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
}

.quote cite {
  display: block;
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 750;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 6px 24px rgba(24, 50, 74, 0.07);
}

.faq-list summary {
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.25rem;
  font-weight: 800;
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
}

.faq-answer > :last-child {
  margin-bottom: 0;
}

.contact-photo {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-image {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.address {
  font-style: normal;
}

.plain-list {
  padding-left: 1.1rem;
}

.site-footer {
  padding: 3.5rem 0 1.5rem;
  color: white;
  background: var(--ink);
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
  width: min(var(--content), calc(100% - 2rem));
  margin: 0 auto 2.5rem;
}

.site-footer h2,
.site-footer h3 {
  font-size: 1.1rem;
}

.site-footer a {
  color: #d9edf3;
}

.site-footer ul {
  padding: 0;
  list-style: none;
}

.footer-bottom {
  width: min(var(--content), calc(100% - 2rem));
  margin: 0 auto;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #c7d3db;
  font-size: 0.9rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 54rem) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav ul {
    justify-content: flex-start;
  }

  .grid-2,
  .grid-3,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: clamp(27rem, 58vh, 34rem);
    background-position: 42% center;
  }
}

@media (max-width: 32rem) {
  .brand span {
    white-space: normal;
  }

  .site-nav a {
    padding: 0.45rem 0.55rem;
    font-size: 0.9rem;
  }
}

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

@media print {
  .motto,
  .site-nav,
  .button-row,
  .site-footer {
    display: none;
  }

  body {
    color: black;
    background: white;
  }

  .page-intro {
    padding: 1rem 0;
    color: black;
    background: white;
  }
}
