:root {
  --teal-950: #251225;
  --teal-900: #571b33;
  --teal-700: #7b2948;
  --teal-500: #244d86;
  --teal-100: #e8edf7;
  --cream: #fffdfb;
  --cream-deep: #ece4e8;
  --ink: #241a21;
  --muted: #665d64;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(87, 27, 51, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { width: 1.2em; fill: currentColor; }

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(37, 18, 37, .99), rgba(123, 41, 72, .96) 62%, rgba(36, 77, 134, .92)),
    radial-gradient(circle at 15% 20%, #244d86, transparent 35%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 249, 233, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 145px rgba(255,255,255,.018);
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .22; }
.hero-glow-one { width: 420px; height: 420px; background: #3767a8; top: -250px; right: 10%; }
.hero-glow-two { width: 260px; height: 260px; background: #d7b5c2; bottom: -170px; left: -80px; }
.topbar, .hero-content, .page-shell, .quick-links, footer { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; letter-spacing: .03em; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; padding: 2px; overflow: hidden; background: transparent; border: 0; border-radius: 10px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.25)); }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.share-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.share-button:hover { background: rgba(255,255,255,.16); }
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(310px, 430px) 1fr;
  gap: clamp(44px, 8vw, 110px);
  align-items: center;
  padding: 42px 0 100px;
}
.portrait-wrap { position: relative; width: min(100%, 410px); margin-inline: auto; }
.portrait-ring {
  padding: 10px;
  aspect-ratio: 4 / 5;
  background: rgba(255,249,233,.16);
  border: 1px solid rgba(255,249,233,.42);
  border-radius: 48% 48% 18px 18px;
  box-shadow: 0 30px 70px rgba(0,0,0,.22);
}
.portrait-ring img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: calc(48% - 8px) calc(48% - 8px) 12px 12px; }
.verified-badge {
  position: absolute;
  right: 8px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--teal-900);
  background: var(--cream);
  border: 5px solid var(--teal-700);
  border-radius: 50%;
  font-weight: 900;
}
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--teal-700); font-size: .78rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: #f0cbd9; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.2rem, 7vw, 6.2rem); line-height: .94; letter-spacing: -.045em; }
.ministry { margin: 24px 0 5px; font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 750; }
.location { display: flex; gap: 8px; align-items: center; margin: 0; color: #e3d8e4; font-size: .94rem; }
.location svg { flex: 0 0 auto; }
.hero-statement { max-width: 520px; margin: 28px 0 30px; color: #f2eaf0; font-size: 1.08rem; }
.primary-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 23px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--teal-950); background: var(--cream); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.button-secondary { color: var(--white); border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); }

.quick-links {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -42px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.quick-links a, .quick-links button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 84px;
  padding: 16px;
  color: var(--ink);
  background: none;
  border: 0;
  border-right: 1px solid #e6efee;
  font-weight: 750;
  cursor: pointer;
}
.quick-links > :last-child { border-right: 0; }
.quick-links a:hover, .quick-links button:hover { color: var(--teal-700); background: #fbf4f7; }
.quick-icon { display: grid; place-items: center; width: 38px; height: 38px; color: var(--teal-700); background: var(--teal-100); border-radius: 50%; }

.page-shell { padding: 90px 0 30px; }
.content-section { padding: 70px 0; }
.section-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(45px, 8vw, 110px); align-items: start; }
h2 { margin: 0 0 24px; color: var(--teal-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4.8vw, 4.2rem); line-height: 1.03; letter-spacing: -.035em; }
.about-section .section-grid > div p { margin: 0 0 18px; color: var(--muted); font-size: 1.06rem; }
.scripture-section {
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 8vw, 90px);
  color: var(--cream);
  background: var(--teal-950);
  border-radius: 28px;
  text-align: center;
}
.scripture-section p { position: relative; max-width: 850px; margin: 0 auto 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 4vw, 3.6rem); line-height: 1.22; }
.scripture-section > span:last-child { color: #b6e9e5; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.quote-mark { position: absolute; top: -55px; left: 30px; color: rgba(255,255,255,.07); font-family: Georgia, serif; font-size: 18rem; line-height: 1; }
.calling-section { padding-top: 110px; }
.calling-section > h2 { max-width: 680px; }
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 42px; }
.focus-grid article { min-height: 270px; padding: 28px; background: var(--white); border: 1px solid #e3eeec; border-radius: 18px; box-shadow: 0 15px 40px rgba(4,71,75,.06); }
.focus-grid article > span { display: inline-grid; place-items: center; width: 38px; height: 38px; color: var(--teal-700); background: var(--teal-100); border-radius: 50%; font-weight: 850; }
.focus-grid h3 { margin: 55px 0 12px; color: var(--teal-950); font-size: 1.2rem; }
.focus-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
.invitation-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin: 30px 0 60px;
  padding: clamp(42px, 7vw, 78px);
  color: var(--white);
  background: linear-gradient(130deg, var(--teal-900), var(--teal-700));
  border-radius: 28px;
}
.invitation-section h2 { color: var(--white); }
.invitation-section p { max-width: 720px; margin: 0; color: #f1e2e8; font-size: 1.05rem; }
.section-kicker.light { color: #efc7d6; }
.button-cream { white-space: nowrap; color: var(--teal-950); background: var(--cream); }
.contact-section { padding-bottom: 100px; }
.contact-section > h2 { max-width: 700px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.contact-grid a, .contact-grid > div { display: flex; flex-direction: column; padding: 24px; background: rgba(255,255,255,.62); border: 1px solid #dedfce; border-radius: 16px; }
.contact-grid a:hover { border-color: var(--teal-500); background: var(--white); }
.contact-grid small { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-grid strong { margin-top: 4px; color: var(--teal-950); font-size: 1.05rem; }
footer { padding: 30px 0 50px; border-top: 1px solid #dddcc8; color: var(--muted); text-align: center; }
footer p { margin: 4px 0; }
.powered { font-size: .84rem; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 50; transform: translate(-50%, 30px); padding: 12px 18px; color: var(--white); background: var(--teal-950); border-radius: 999px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 860px) {
  .hero-content { grid-template-columns: 1fr; padding-top: 20px; text-align: center; }
  .portrait-wrap { max-width: 335px; }
  .location, .primary-actions { justify-content: center; }
  .hero-statement { margin-inline: auto; }
  .quick-links { grid-template-columns: repeat(2, 1fr); }
  .quick-links a, .quick-links button { border-bottom: 1px solid #e6efee; }
  .quick-links > :nth-child(2) { border-right: 0; }
  .section-grid { grid-template-columns: 1fr; gap: 22px; }
  .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .invitation-section { grid-template-columns: 1fr; gap: 28px; }
  .button-cream { justify-self: start; }
}

@media (max-width: 560px) {
  .topbar, .hero-content, .page-shell, .quick-links, footer { width: min(100% - 28px, 1160px); }
  .topbar { padding-top: 20px; }
  .brand span:last-child { display: none; }
  .hero { min-height: 760px; }
  .hero-content { gap: 30px; padding-bottom: 92px; }
  .portrait-wrap { max-width: 255px; }
  h1 { font-size: clamp(2.9rem, 15vw, 4.35rem); }
  .ministry { margin-top: 18px; }
  .primary-actions .button { flex: 1; }
  .quick-links { margin-top: -34px; }
  .quick-links a, .quick-links button { min-height: 78px; flex-direction: column; gap: 5px; font-size: .82rem; }
  .quick-icon { width: 32px; height: 32px; }
  .page-shell { padding-top: 60px; }
  .content-section { padding: 55px 0; }
  .scripture-section { border-radius: 20px; }
  .calling-section { padding-top: 80px; }
  .focus-grid, .contact-grid { grid-template-columns: 1fr; }
  .focus-grid article { min-height: 0; }
  .focus-grid h3 { margin-top: 30px; }
  .invitation-section { padding: 38px 25px; border-radius: 20px; }
  .button-cream { width: 100%; }
  .contact-grid strong { font-size: .96rem; }
}

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