:root {
  --purple-950: #24004f;
  --purple-900: #35006f;
  --purple-800: #4b009a;
  --purple-700: #6500ce;
  --purple-500: #8c2dff;
  --gold: #c99b3a;
  --gold-light: #f1d38a;
  --ink: #221b2b;
  --muted: #6b6472;
  --cream: #fbf8ff;
  --white: #fff;
  --shadow: 0 22px 60px rgba(42, 0, 88, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -8rem; z-index: 100; padding: .75rem 1rem; background: #fff; color: var(--purple-900); border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(53, 0, 111, .96);
  color: #fff;
  box-shadow: 0 5px 24px rgba(27, 0, 58, .2);
  backdrop-filter: blur(14px);
}
.nav-wrap { width: min(1180px, calc(100% - 2rem)); margin: auto; min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; font-family: Georgia, serif; font-weight: 700; letter-spacing: .02em; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a { text-decoration: none; padding: .65rem .8rem; border-radius: 999px; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(255,255,255,.14); color: var(--gold-light); }
.nav-actions { display: flex; gap: .55rem; align-items: center; }
.icon-link { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; text-decoration: none; font-weight: 800; }
.menu-button { display: none; border: 1px solid rgba(255,255,255,.5); color: #fff; background: transparent; border-radius: 10px; padding: .55rem .7rem; font: inherit; }

.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.hero { position: relative; overflow: hidden; min-height: 610px; background: radial-gradient(circle at 16% 18%, #9d38ff 0, transparent 31%), linear-gradient(118deg, var(--purple-950), #6500ce 63%, #8a15f4); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,0,45,.42), transparent 60%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; min-height: 610px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 2rem; }
.hero-copy { align-self: center; padding: 5rem 0 5.5rem; }
.eyebrow { margin: 0 0 .7rem; color: var(--gold-light); font-size: .82rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.15; margin: 0 0 1rem; }
h1 { font-size: clamp(3rem, 7vw, 5.75rem); max-width: 780px; }
h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); color: var(--purple-900); }
h3 { font-size: 1.5rem; color: var(--purple-900); }
.hero-copy p { max-width: 660px; font-size: 1.18rem; color: rgba(255,255,255,.9); }
.hero-portrait { align-self: end; justify-self: center; width: min(100%, 590px); max-height: 590px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.65rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .75rem 1.15rem; border-radius: 999px; background: var(--gold); color: #221400; text-decoration: none; font-weight: 800; border: 2px solid var(--gold); cursor: pointer; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.65); }
.btn.purple { background: var(--purple-700); border-color: var(--purple-700); color: #fff; }

.service-strip { background: #fff; border-bottom: 1px solid #eadff8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #eadff8; }
.service-item { background: #fff; padding: 1.35rem 1.5rem; }
.service-item strong { display: block; color: var(--purple-900); }
.service-item span { color: var(--muted); }

.section { padding: 5rem 0; }
.section.alt { background: #fff; }
.section-heading { max-width: 760px; margin-bottom: 2.2rem; }
.section-heading p { color: var(--muted); font-size: 1.08rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card { padding: 1.6rem; background: #fff; border: 1px solid #eadff8; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(53,0,111,.06); }
.card .number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #efe3ff; color: var(--purple-800); font-weight: 900; margin-bottom: 1rem; }
.link-card { min-height: 190px; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(145deg, var(--purple-900), var(--purple-700)); color: #fff; }
.link-card h3 { color: #fff; }
.link-card span { color: var(--gold-light); font-weight: 750; }

.page-hero { padding: 5.5rem 0; text-align: center; color: #fff; background: linear-gradient(rgba(74,0,151,.86), rgba(106,0,215,.82)), url('assets/worship.jpg') center/cover; }
.page-hero h1 { margin-inline: auto; font-size: clamp(2.8rem, 7vw, 5rem); }
.page-hero p { max-width: 720px; margin: 0 auto; font-size: 1.15rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.two-col.top { align-items: start; }
.portrait, .family-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: contain; background: #efe7f7; }
.portrait { max-height: 720px; object-position: top center; }
.family-photo { max-height: 720px; object-position: center; }
.prose { max-width: 800px; }
.prose p { margin: 0 0 1.15rem; }
.quote { border-left: 5px solid var(--gold); padding: 1rem 1.4rem; background: #fff; border-radius: 0 14px 14px 0; color: #4a4250; }
.schedule { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.schedule .card { border-top: 5px solid var(--gold); }
.feature-card { padding: clamp(1.4rem, 4vw, 3rem); background: linear-gradient(135deg, #fff, #f3e9ff); border-radius: 28px; box-shadow: var(--shadow); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.event { overflow: hidden; background: #fff; border-radius: 18px; box-shadow: 0 12px 36px rgba(53,0,111,.1); }
.event img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #eee5f7; }
.event div { padding: 1rem 1.15rem 1.25rem; }

.form-panel { background: var(--purple-950); color: #fff; border-radius: 28px; padding: clamp(1.5rem, 4vw, 3rem); }
.form-panel h2, .form-panel h3 { color: #fff; }
.form-panel p { color: rgba(255,255,255,.8); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 700; }
input, textarea, select { width: 100%; padding: .85rem .9rem; border: 1px solid #d9c8ee; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
textarea { min-height: 125px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(241,211,138,.45); border-color: var(--gold); }

.site-footer { background: #1c003d; color: rgba(255,255,255,.82); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1.15rem; }
.site-footer a { color: #fff; }
.footer-links { display: grid; gap: .45rem; }
.copyright { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .92rem; }

@media (max-width: 900px) {
  .menu-button { display: inline-flex; }
  .nav-links { position: absolute; inset: 88px 0 auto; display: none; flex-direction: column; align-items: stretch; padding: 1rem; background: var(--purple-950); }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 9px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 4rem 0 1rem; }
  .hero-portrait { max-height: 480px; }
  .service-grid, .card-grid, .schedule, .event-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .nav-wrap { min-height: 74px; }
  .brand img { width: 50px; height: 50px; }
  .brand span { display: none; }
  .nav-links { top: 74px; }
  .nav-actions .icon-link:first-child { display: none; }
  .hero-copy { padding-top: 3rem; }
  .hero-copy p { font-size: 1.05rem; }
  .section { padding: 3.7rem 0; }
  .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .service-item { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
