:root {
  --ink: #17243a;
  --navy: #18375f;
  --navy-deep: #102946;
  --blue-soft: #e8eff5;
  --cream: #f7f4ed;
  --paper: #fffdf9;
  --rose: #9c435d;
  --rose-soft: #f5e8ec;
  --gold: #d6ae60;
  --muted: #5c6777;
  --line: #d9d8d2;
  --shadow: 0 18px 50px rgba(20, 42, 70, 0.12);
  --radius: 1.25rem;
  --wrap: 72rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--navy); text-underline-offset: 0.2em; }
a:hover { color: var(--rose); }

h1, h2, h3 {
  margin: 0 0 0.65em;
  color: var(--navy-deep);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p, ul { margin-top: 0; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--rose);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: white;
  background: rgba(16, 41, 70, 0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12);
}

.header-inner {
  width: min(100% - 2rem, var(--wrap));
  min-height: 5rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.brand-mark {
  width: 3.4rem;
  height: 3.4rem;
  flex: none;
  object-fit: contain;
}

.brand-name { color: white; }

.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 0.45rem;
  padding: 0.55rem 0.7rem;
  color: white;
  background: transparent;
  font: inherit;
  font-weight: 700;
}

.site-nav ul { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav a { display: block; border-radius: 999px; padding: 0.5rem 0.72rem; color: white; font-size: 0.94rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: white; background: rgba(255,255,255,0.14); }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 52rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-tight { padding: 2.5rem 0; }
.section-white { background: var(--paper); }
.section-blue { background: var(--blue-soft); }

.eyebrow {
  margin-bottom: 0.8rem;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.lead { max-width: 43rem; color: #33435a; font-size: clamp(1.16rem, 2.2vw, 1.42rem); }

.hero {
  position: relative;
  min-height: min(47rem, calc(100vh - 5rem));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: white;
  background: var(--navy-deep);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 28, 49, 0.94) 0%, rgba(10, 28, 49, 0.72) 48%, rgba(10, 28, 49, 0.14) 100%), url("images/church-entrance.jpg") center 45% / cover no-repeat;
}

.hero-content { position: relative; z-index: 1; padding: clamp(4rem, 9vw, 8rem) 0; }
.hero h1 { max-width: 12ch; color: white; }
.hero .lead { max-width: 38rem; color: #f1f4f7; }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; border: 2px solid var(--rose); border-radius: 999px; padding: 0.78rem 1.2rem; color: white; background: var(--rose); font-weight: 750; text-decoration: none; }
.button:hover { color: white; background: #7f3049; border-color: #7f3049; }
.button-light { border-color: rgba(255,255,255,0.75); color: white; background: transparent; }
.button-light:hover { color: var(--navy); background: white; border-color: white; }
.button-dark { color: white; background: var(--navy); border-color: var(--navy); }

.service-strip { color: white; background: var(--rose); }
.service-grid { min-height: 7rem; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; gap: 1rem; }
.service-item { padding: 1.15rem 0; }
.service-item + .service-item { border-left: 1px solid rgba(255,255,255,0.3); padding-left: 2rem; }
.service-item strong { display: block; font-family: Georgia, serif; font-size: 1.35rem; }

.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); background: var(--paper); box-shadow: 0 8px 25px rgba(20,42,70,0.06); }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-link { color: inherit; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.card-link:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { width: 2.8rem; height: 2.8rem; margin-bottom: 1rem; display: grid; place-items: center; border-radius: 50%; color: var(--rose); background: var(--rose-soft); font-size: 1.25rem; font-weight: 900; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.split-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

.page-hero { padding: clamp(4.5rem, 10vw, 8rem) 0 4rem; color: white; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.page-hero h1 { color: white; font-size: clamp(2.5rem, 6vw, 4.6rem); }
.page-hero .lead { color: #edf2f7; }

.notice { border-left: 5px solid var(--gold); border-radius: 0.35rem; padding: 1rem 1.15rem; background: #fff7df; }
.notice strong { color: #664c17; }
.weekly-content > *:last-child { margin-bottom: 0; }
.weekly-content .notice-list { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.weekly-content .notice-list li { border: 1px solid var(--line); border-radius: 0.85rem; padding: 1.1rem 1.2rem; background: white; }
.weekly-content .notice-list strong { display: block; color: var(--navy); font-size: 1.08rem; }

.document-panel { border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); color: white; background: var(--navy); }
.document-panel h2 { color: white; }
.document-panel p { color: #dce6ef; }
.pdf-frame { width: 100%; min-height: 46rem; border: 1px solid var(--line); border-radius: 0.75rem; background: white; }

.video-frame { position: relative; overflow: hidden; border-radius: var(--radius); padding-top: 56.25%; background: #091827; box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.portrait { width: min(100%, 23rem); aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; border-radius: 50%; box-shadow: var(--shadow); }
.contact-list { padding: 0; list-style: none; }
.contact-list li { margin-bottom: 0.9rem; }

.site-footer { color: #dce6ef; background: #0c223b; }
.footer-grid { padding: 3.5rem 0 2rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { display: flex; align-items: flex-start; gap: 1rem; }
.footer-mark { width: 4.6rem; height: 4.6rem; flex: none; object-fit: contain; }
.site-footer h2, .site-footer h3 { color: white; }
.site-footer a { color: #e8eef5; }
.site-footer ul { padding: 0; list-style: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 1rem 0 1.5rem; color: #b8c7d6; font-size: 0.92rem; }

@media (max-width: 58rem) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 0.6rem 1rem 1rem; background: var(--navy-deep); }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; }
  .site-nav a { border-radius: 0.4rem; padding: 0.75rem 0.9rem; }
  .service-grid, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .service-item + .service-item { border-top: 1px solid rgba(255,255,255,0.3); border-left: 0; padding-left: 0; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 42rem) {
  body { font-size: 1rem; }
  .header-inner { min-height: 4.4rem; }
  .brand { gap: 0.55rem; font-size: 0.98rem; }
  .brand-mark { width: 2.8rem; height: 2.8rem; }
  .hero { min-height: 39rem; }
  .hero::before { background: linear-gradient(0deg, rgba(10,28,49,0.96) 0%, rgba(10,28,49,0.64) 68%, rgba(10,28,49,0.18) 100%), url("images/church-entrance.jpg") 61% center / cover no-repeat; }
  .hero-content { padding-top: 14rem; padding-bottom: 3rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .pdf-frame { min-height: 32rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
