:root {
  --ink: #101b2d;
  --ink-soft: #1c2b42;
  --cream: #f6f3ec;
  --paper: #ffffff;
  --mist: #e9eef3;
  --muted: #667085;
  --accent: #ff6a4a;
  --accent-dark: #dc4c2e;
  --sage: #b6c5ba;
  --sage-deep: #718678;
  --line: rgba(16, 27, 45, 0.13);
  --shadow: 0 24px 70px rgba(16, 27, 45, 0.13);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 118px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; padding: 12px 18px; border-radius: 10px; background: var(--paper); color: var(--ink); font-weight: 700; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.045em; line-height: 1.03; }
h1 { font-size: clamp(3.3rem, 7vw, 6.8rem); margin-bottom: 28px; font-weight: 800; }
h2 { font-size: clamp(2.45rem, 5vw, 4.8rem); margin-bottom: 22px; font-weight: 800; }
h3 { font-size: 1.55rem; margin-bottom: 16px; font-weight: 750; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 25px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--sage); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  transition: background .25s ease, box-shadow .25s ease, color .25s ease, transform .25s ease;
}
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(246, 243, 236, .94);
  box-shadow: 0 10px 40px rgba(16, 27, 45, .08);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-copy { display: grid; line-height: 1.1; }
.brand-copy strong { font-family: var(--font-display); font-size: .98rem; font-weight: 800; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; opacity: .68; font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav a { position: relative; font-size: .9rem; font-weight: 700; text-decoration: none; }
.primary-nav > a:not(.nav-button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent); transition: right .2s ease; }
.primary-nav > a:not(.nav-button):hover::after { right: 0; }
.nav-button { padding: 11px 18px; border-radius: 999px; color: var(--ink); background: var(--sage); }
.site-header.is-scrolled .nav-button { color: #fff; background: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); padding: 11px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 99px; background: currentColor; }
.site-header.is-scrolled .menu-toggle { background: rgba(16,27,45,.08); }

/* Buttons */
.button-row, .contact-buttons, .final-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-family: var(--font-display); font-size: .9rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-accent { color: #fff; background: var(--accent); box-shadow: 0 12px 30px rgba(255, 106, 74, .28); }
.button-accent:hover { background: var(--accent-dark); box-shadow: 0 16px 35px rgba(255, 106, 74, .32); }
.button-ghost { color: #fff; border-color: rgba(255,255,255,.26); background: rgba(255,255,255,.07); backdrop-filter: blur(10px); }
.button-ghost:hover { background: rgba(255,255,255,.13); }
.button-light { color: var(--ink); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.13); }
.button-dark { color: #fff; background: var(--ink); }
.button-outline { border-color: var(--line); background: transparent; }
.text-link, .card-link { color: var(--ink); font-weight: 800; text-decoration: none; }
.card-link { display: inline-flex; gap: 8px; margin-top: auto; }

/* Hero */
.hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 20% 20%, rgba(51, 86, 132, .48), transparent 34%),
    linear-gradient(135deg, #0a1424 0%, #101b2d 58%, #172843 100%);
}
.hero-noise { position: absolute; inset: 0; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E"); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; min-height: 810px; padding-top: 140px; padding-bottom: 70px; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 72px; }
.hero-copy { max-width: 680px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.82); font-size: .78rem; font-weight: 600; backdrop-filter: blur(10px); }
.hero-kicker strong { color: var(--sage); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(255,106,74,.14); }
.hero h1 span { color: var(--sage); }
.hero-lead { max-width: 620px; margin-bottom: 34px; color: rgba(255,255,255,.72); font-size: clamp(1.05rem, 1.8vw, 1.23rem); }
.hero-details { display: flex; gap: 50px; margin-top: 42px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.13); }
.hero-details div { display: grid; gap: 4px; }
.hero-details span { color: rgba(255,255,255,.48); font-size: .69rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-details strong { font-family: var(--font-display); font-size: .95rem; }
.hero-media { position: relative; justify-self: end; width: min(100%, 485px); }
.photo-frame { position: relative; height: 610px; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 190px 190px 34px 34px; box-shadow: 0 45px 90px rgba(0,0,0,.38); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; }
.photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,16,28,.62), transparent 54%); }
.photo-badge { position: absolute; left: 25px; right: 25px; bottom: 25px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.24); border-radius: 17px; background: rgba(10,20,36,.52); backdrop-filter: blur(14px); }
.photo-badge span { display: block; color: rgba(255,255,255,.62); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.photo-badge strong { display: block; margin-top: 3px; font-family: var(--font-display); font-size: 1.05rem; }
.verse-chip { position: absolute; z-index: 3; left: -100px; top: 70px; width: 245px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.55); border-left: 5px solid var(--sage); border-radius: 17px; color: var(--ink); background: rgba(246,243,236,.96); box-shadow: 0 20px 45px rgba(0,0,0,.18); backdrop-filter: blur(12px); }
.verse-chip span { display: block; margin-bottom: 6px; color: var(--sage-deep); font-family: var(--font-display); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.verse-chip p { margin: 0; font-size: .82rem; line-height: 1.45; font-weight: 600; }
.hero-marquee { position: absolute; z-index: 5; inset: auto 0 0; height: 49px; overflow: hidden; border-top: 1px solid rgba(255,255,255,.09); background: rgba(0,0,0,.14); }
.marquee-track { width: max-content; height: 100%; display: flex; align-items: center; gap: 28px; color: rgba(255,255,255,.48); font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; animation: marquee 24s linear infinite; }
.marquee-track b { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section headings */
.section-heading.split { margin-bottom: 52px; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 80px; }
.section-heading.split h2 { max-width: 720px; margin-bottom: 0; }
.section-heading.split > p, .heading-action p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.heading-action { display: grid; gap: 17px; }

/* Quick start */
.quick-start { padding: 120px 0; background: var(--cream); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card { min-height: 390px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.72); box-shadow: 0 18px 50px rgba(16,27,45,.06); transition: transform .25s ease, box-shadow .25s ease; }
.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-card-accent { color: #fff; border-color: transparent; background: var(--ink); }
.step-card-accent p { color: rgba(255,255,255,.7); }
.step-card-accent .card-link { color: var(--sage); }
.step-top { margin-bottom: 55px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.step-number { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-family: var(--font-display); font-size: .75rem; font-weight: 800; }
.step-label { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.step-card-accent .step-label { color: rgba(255,255,255,.48); }
.step-card h3 { font-size: 1.8rem; }
.step-card > p { color: var(--muted); }
.time-list { margin: 2px 0 0; }
.time-list div { padding: 12px 0; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.time-list dt { color: var(--muted); }
.time-list dd { margin: 0; font-weight: 800; }
.midweek-banner { margin-top: 18px; padding: 26px 30px; display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 38px; border-radius: var(--radius-lg); color: #fff; background: var(--accent); }
.midweek-banner h3 { margin: 3px 0 0; font-size: 1.32rem; letter-spacing: -.025em; }
.midweek-banner h3 strong { color: var(--ink); }
.midweek-banner p { margin: 0; color: rgba(255,255,255,.78); }
.mini-kicker { font-size: .65rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.circle-arrow { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; color: #fff; border: 1px solid rgba(255,255,255,.45); text-decoration: none; font-size: 1.35rem; }

/* About */
.about-section { padding: 120px 0; overflow: hidden; color: #fff; background: var(--ink); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.about-visual { position: relative; min-height: 600px; }
.pastor-photo-wrap { position: absolute; inset: 0 55px 40px 0; overflow: hidden; border-radius: 40px 150px 40px 40px; background: linear-gradient(135deg, #253a58, #15233a); }
.pastor-photo { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.pastor-photo[hidden] { display: none; }
.pastor-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; color: rgba(255,255,255,.55); text-align: center; }
.pastor-placeholder[hidden] { display: none; }
.pastor-initial { width: 120px; height: 120px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: var(--sage); background: rgba(255,255,255,.05); font-family: var(--font-display); font-size: 3.6rem; font-weight: 800; }
.pastor-name-card { position: absolute; right: 0; bottom: 0; min-width: 250px; padding: 22px 24px; border-radius: 18px; color: var(--ink); background: var(--sage); box-shadow: 0 24px 55px rgba(0,0,0,.28); }
.pastor-name-card span { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pastor-name-card strong { display: block; margin-top: 5px; font-family: var(--font-display); font-size: 1.1rem; }
.about-copy h2 { max-width: 720px; }
.about-lead { max-width: 650px; color: rgba(255,255,255,.68); font-size: 1.14rem; }
.belief-points { margin: 38px 0 38px; }
.belief-points > div { padding: 20px 0; display: grid; grid-template-columns: 52px 1fr; gap: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.belief-points span { color: var(--accent); font-family: var(--font-display); font-size: .72rem; font-weight: 800; }
.belief-points p { margin: 0; color: rgba(255,255,255,.62); }
.belief-points strong { color: #fff; }

/* Calendar */
.events-section { background: var(--paper); }
.calendar-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: #fff; box-shadow: var(--shadow); }
.calendar-toolbar { min-height: 84px; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.calendar-title { display: flex; align-items: center; gap: 13px; }
.calendar-mark { width: 42px; height: 42px; border-radius: 13px; background: var(--accent); box-shadow: inset 0 -8px 12px rgba(0,0,0,.08); }
.calendar-title small, .calendar-title strong { display: block; }
.calendar-title small { color: var(--muted); font-size: .63rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.calendar-title strong { font-family: var(--font-display); font-size: .95rem; }
.calendar-facebook { padding: 9px 14px; border-radius: 999px; color: var(--ink); background: var(--mist); font-size: .78rem; font-weight: 800; text-decoration: none; }
.calendar-frame { width: 100%; height: 700px; border: 0; }
.calendar-fallback { min-height: 440px; padding: 70px; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 42px; background: linear-gradient(145deg, #f8fafc, #eef3f7); }
.calendar-graphic { width: 120px; height: 120px; display: grid; place-items: center; border-radius: 34px; color: #fff; background: var(--accent); font-size: 3rem; box-shadow: 0 18px 40px rgba(255,106,74,.27); }
.calendar-fallback h3 { margin-bottom: 12px; font-size: 2rem; }
.calendar-fallback p { max-width: 670px; margin-bottom: 0; color: var(--muted); }

/* Contact */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: 65px; }
.contact-copy { padding: 35px 0; }
.contact-copy > p:not(.eyebrow) { max-width: 580px; color: var(--muted); font-size: 1.08rem; }
.contact-buttons { margin: 32px 0 44px; }
.contact-details { display: grid; border-top: 1px solid var(--line); }
.contact-details div { padding: 18px 0; display: grid; grid-template-columns: 145px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.contact-details span { color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-details strong { font-size: .94rem; }
.map-wrap { position: relative; min-height: 620px; overflow: hidden; border-radius: 38px; box-shadow: var(--shadow); }
.map-frame { width: 100%; height: 100%; min-height: 620px; border: 0; filter: saturate(.75) contrast(.95); }
.map-label { position: absolute; left: 24px; bottom: 24px; padding: 14px 18px; display: flex; align-items: center; gap: 10px; border-radius: 14px; background: rgba(255,255,255,.92); box-shadow: 0 12px 30px rgba(16,27,45,.16); backdrop-filter: blur(12px); }

/* Final invite */
.final-invite { padding: 90px 0; color: #fff; background: var(--accent); }
.final-invite-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; }
.final-invite h2 { margin-bottom: 0; }
.final-actions { justify-content: flex-end; }
.final-actions > span { display: grid; padding-right: 26px; border-right: 1px solid rgba(255,255,255,.32); }
.final-actions strong { font-family: var(--font-display); font-size: 1.45rem; }
.final-actions small { color: rgba(255,255,255,.68); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }

/* Footer */
.site-footer { padding: 58px 0 24px; color: #fff; background: #09111f; }
.footer-top { padding-bottom: 50px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 50px; }
.brand-footer { color: #fff; }
.footer-top > p { margin: 0; color: rgba(255,255,255,.52); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; }
.footer-links a { color: rgba(255,255,255,.75); font-size: .84rem; font-weight: 700; text-decoration: none; }
.footer-bottom { padding-top: 23px; display: flex; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.4); font-size: .76rem; }
.footer-bottom a { color: inherit; text-decoration: none; }

/* Motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1050px) {
  .hero-grid { gap: 40px; }
  .verse-chip { left: -45px; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-card:last-child { grid-column: span 2; min-height: 300px; }
  .about-grid, .contact-grid { gap: 45px; }
  .calendar-fallback { grid-template-columns: 90px 1fr; padding: 55px; }
  .calendar-graphic { width: 90px; height: 90px; }
  .calendar-fallback .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section, .quick-start, .about-section { padding: 86px 0; }
  .header-inner { min-height: 74px; }
  .brand img { width: 42px; height: 42px; }
  .menu-toggle { display: block; color: inherit; }
  .primary-nav { position: fixed; inset: 74px 14px auto; padding: 18px; display: none; align-items: stretch; gap: 0; border-radius: 20px; color: var(--ink); background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: grid; }
  .primary-nav a { padding: 13px 11px; }
  .primary-nav .nav-button { margin-top: 8px; text-align: center; color: #fff; background: var(--ink); }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; padding-top: 120px; padding-bottom: 90px; grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: none; }
  .hero h1 { font-size: clamp(3.25rem, 14vw, 5.5rem); }
  .hero-media { justify-self: center; width: min(100%, 520px); }
  .photo-frame { height: 590px; }
  .verse-chip { left: 16px; top: -30px; }
  .section-heading.split { grid-template-columns: 1fr; gap: 20px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-card:last-child { grid-column: auto; }
  .step-card { min-height: 330px; }
  .midweek-banner { grid-template-columns: 1fr auto; gap: 20px; }
  .midweek-banner p { grid-column: 1 / -1; grid-row: 2; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 560px; order: 2; }
  .about-copy { order: 1; }
  .calendar-fallback { grid-template-columns: 1fr; padding: 42px 28px; }
  .calendar-fallback .button { grid-column: auto; }
  .calendar-frame { height: 620px; }
  .map-wrap, .map-frame { min-height: 500px; }
  .final-invite-inner { align-items: flex-start; flex-direction: column; }
  .final-actions { justify-content: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 25px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  h2 { font-size: clamp(2.3rem, 12vw, 3.7rem); }
  .brand-copy small { display: none; }
  .hero-kicker { font-size: .7rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .button-row, .contact-buttons { align-items: stretch; flex-direction: column; }
  .button-row .button, .contact-buttons .button { width: 100%; }
  .hero-details { gap: 24px; justify-content: space-between; }
  .hero-details strong { font-size: .82rem; }
  .photo-frame { height: 505px; border-radius: 150px 150px 28px 28px; }
  .verse-chip { width: 210px; }
  .step-card { padding: 25px; }
  .midweek-banner { padding: 24px; }
  .pastor-photo-wrap { inset: 0 25px 38px 0; border-radius: 28px 100px 28px 28px; }
  .pastor-name-card { min-width: 220px; padding: 18px; }
  .about-visual { min-height: 480px; }
  .calendar-toolbar { align-items: flex-start; }
  .calendar-facebook { display: none; }
  .calendar-fallback { min-height: 470px; }
  .contact-details div { grid-template-columns: 1fr; gap: 5px; }
  .final-actions { width: 100%; align-items: stretch; flex-direction: column; }
  .final-actions > span { padding-right: 0; padding-bottom: 15px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.32); }
  .footer-bottom { flex-direction: column; }
}


/* 2026 client updates: full-photo hero, simplified schedule, mission statement */
.hero {
  min-height: 920px;
  background: #0a1424;
}
.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.hero-photo-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 13, 25, .90) 0%, rgba(5, 13, 25, .72) 39%, rgba(5, 13, 25, .20) 72%, rgba(5, 13, 25, .08) 100%),
    linear-gradient(0deg, rgba(5, 13, 25, .72) 0%, transparent 43%),
    linear-gradient(180deg, rgba(5, 13, 25, .40) 0%, transparent 28%);
}
.hero-noise { z-index: 2; }
.hero-content {
  position: relative;
  z-index: 3;
  min-height: 875px;
  padding-top: 160px;
  padding-bottom: 110px;
  display: flex;
  align-items: center;
}
.hero-copy {
  width: min(100%, 760px);
  max-width: 760px;
}
.hero h1 {
  max-width: 760px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .38);
}
.hero-mission {
  margin: -4px 0 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(.84rem, 1.5vw, 1rem);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-mission strong:first-child { color: var(--sage); }
.hero-mission span { color: var(--accent); }
.hero-lead { color: rgba(255,255,255,.86); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-details {
  width: fit-content;
  min-width: min(100%, 560px);
  padding: 22px 25px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(7, 17, 31, .50);
  backdrop-filter: blur(12px);
}
.hero-details span { color: rgba(255,255,255,.62); }
.service-card { min-height: 330px; }
.mission-statement {
  margin: 32px 0 12px;
  padding: 26px 28px;
  border: 1px solid rgba(255,255,255,.14);
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}
.mission-statement > span {
  display: block;
  margin-bottom: 12px;
  color: var(--sage);
  font-family: var(--font-display);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.mission-lines { display: grid; gap: 3px; }
.mission-lines strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.mission-lines strong:first-child { color: var(--sage); }

@media (max-width: 820px) {
  .hero { min-height: 860px; }
  .hero-background { object-position: center 55%; }
  .hero-photo-shade {
    background:
      linear-gradient(0deg, rgba(5,13,25,.94) 0%, rgba(5,13,25,.78) 47%, rgba(5,13,25,.18) 82%, rgba(5,13,25,.28) 100%);
  }
  .hero-content {
    min-height: 820px;
    padding-top: 130px;
    padding-bottom: 92px;
    align-items: flex-end;
  }
  .hero-details { width: 100%; min-width: 0; }
}

@media (max-width: 560px) {
  .hero { min-height: 790px; }
  .hero-background { object-position: center 47%; }
  .hero-content { min-height: 750px; padding-top: 112px; padding-bottom: 78px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hero-mission { gap: 5px 8px; font-size: .72rem; }
  .hero-details { display: grid; gap: 15px; }
  .hero-details div + div { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.13); }
  .mission-statement { padding: 22px; }
}


/* --------------------------------------------------------------------------
   Grace Baptist Church logo, clear hero, salvation, and Facebook updates
   -------------------------------------------------------------------------- */

.brand-logo {
  width: 54px !important;
  height: 54px !important;
  flex: 0 0 54px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.site-header.is-scrolled .brand-logo {
  border-color: rgba(16,27,45,.14);
  box-shadow: 0 7px 22px rgba(16,27,45,.12);
}
.brand-footer .brand-logo {
  border-color: rgba(255,255,255,.20);
}

/* Keep the church photograph clear and place the copy beside it on desktop. */
@media (min-width: 821px) {
  .hero {
    min-height: 780px;
    background: #0a1424;
  }

  .hero-background {
    position: absolute;
    inset: 0 0 0 auto;
    z-index: 0;
    width: 58%;
    height: 100%;
    object-fit: cover;
    object-position: center 52%;
  }

  .hero-photo-shade {
    z-index: 1;
    background:
      linear-gradient(90deg,
        #0a1424 0%,
        #0a1424 40%,
        rgba(10,20,36,.97) 44%,
        rgba(10,20,36,.58) 49%,
        rgba(10,20,36,.12) 57%,
        transparent 66%),
      linear-gradient(0deg, rgba(5,13,25,.44) 0%, transparent 26%);
  }

  .hero-noise {
    z-index: 2;
    opacity: .06;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    min-height: 740px;
    padding-top: 138px;
    padding-bottom: 102px;
    align-items: center;
  }

  .hero-copy {
    width: 42%;
    max-width: 555px;
  }

  .hero h1 {
    max-width: 555px;
    font-size: clamp(3.25rem, 5.4vw, 5.7rem);
  }

  .hero-lead {
    max-width: 520px;
  }

  .hero-details {
    width: 100%;
    min-width: 0;
    gap: 26px;
  }

  .site-header:not(.is-scrolled) {
    background: linear-gradient(180deg, rgba(5,13,25,.72), transparent);
    text-shadow: 0 1px 12px rgba(0,0,0,.40);
  }
}

/* On phones and tablets, show the photograph first and place all copy below it. */
@media (max-width: 820px) {
  .hero {
    min-height: auto;
    overflow: hidden;
    background: #0a1424;
  }

  .hero-background {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    height: clamp(390px, 62vh, 590px);
    object-fit: cover;
    object-position: center 50%;
  }

  .hero-photo-shade {
    inset: 0 0 auto;
    z-index: 1;
    height: clamp(390px, 62vh, 590px);
    background:
      linear-gradient(180deg,
        rgba(5,13,25,.40) 0%,
        rgba(5,13,25,.04) 32%,
        rgba(5,13,25,.02) 68%,
        #0a1424 100%);
  }

  .hero-noise {
    inset: 0 0 auto;
    z-index: 2;
    height: clamp(390px, 62vh, 590px);
    opacity: .05;
  }

  .hero-content {
    position: relative;
    z-index: 3;
    min-height: auto;
    padding-top: 42px;
    padding-bottom: 108px;
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 4.65rem);
  }

  .hero-details {
    width: 100%;
    min-width: 0;
  }

  .site-header:not(.is-scrolled) {
    background: linear-gradient(180deg, rgba(5,13,25,.72), transparent);
    text-shadow: 0 1px 12px rgba(0,0,0,.45);
  }
}

/* Salvation section based on the church's handout. */
.gospel-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(182,197,186,.34), transparent 28%),
    var(--cream);
}
.gospel-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  left: -210px;
  bottom: -210px;
  border: 1px solid rgba(16,27,45,.08);
  border-radius: 50%;
}
.gospel-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, .72fr) 1.28fr;
  align-items: center;
  gap: clamp(38px, 7vw, 92px);
  margin-bottom: 60px;
}
.gospel-logo-card {
  overflow: hidden;
  border: 1px solid rgba(16,27,45,.12);
  border-radius: 34px;
  background: #71808a;
  box-shadow: var(--shadow);
}
.gospel-logo-card img {
  width: 100%;
  aspect-ratio: .91 / 1;
  object-fit: cover;
}
.gospel-intro-copy > p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.7vw, 1.18rem);
}
.gospel-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.gospel-card {
  min-height: 285px;
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 45px rgba(16,27,45,.06);
}
.gospel-card:nth-child(2),
.gospel-card:nth-child(3) {
  color: #fff;
  border-color: transparent;
  background: var(--ink);
}
.gospel-card:nth-child(2) p,
.gospel-card:nth-child(3) p {
  color: rgba(255,255,255,.70);
}
.gospel-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 800;
}
.gospel-card h3 {
  margin: 7px 0 14px;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
}
.gospel-card p {
  margin-bottom: 0;
  color: var(--muted);
}
.gospel-callout {
  margin-top: 20px;
  padding: 35px 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  border-radius: 28px;
  color: #fff;
  background: var(--ink);
}
.gospel-callout h3 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}
.gospel-callout p {
  max-width: 790px;
  margin-bottom: 0;
  color: rgba(255,255,255,.70);
}

/* Events are intentionally maintained through Facebook only. */
.events-section {
  background: #fff;
}
.facebook-events-card {
  padding: clamp(34px, 6vw, 70px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(233,238,243,.88), rgba(246,243,236,.60));
  box-shadow: var(--shadow);
}
.facebook-events-icon {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 25px;
  color: #fff;
  background: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 3.7rem;
  font-weight: 800;
  line-height: 1;
}
.facebook-events-card h2 {
  max-width: 700px;
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 4.4vw, 4.2rem);
}
.facebook-events-card p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  .gospel-intro {
    grid-template-columns: .8fr 1.2fr;
    gap: 42px;
  }
  .facebook-events-card {
    grid-template-columns: auto 1fr;
  }
  .facebook-events-card .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .gospel-intro {
    grid-template-columns: 1fr;
  }
  .gospel-logo-card {
    width: min(100%, 500px);
  }
  .gospel-steps {
    grid-template-columns: 1fr;
  }
  .gospel-callout {
    grid-template-columns: 1fr;
  }
  .gospel-callout .button {
    justify-self: start;
  }
  .facebook-events-card {
    grid-template-columns: 1fr;
  }
  .facebook-events-card .button {
    grid-column: auto;
  }
  .facebook-events-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    font-size: 3rem;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 46px !important;
    height: 46px !important;
    flex-basis: 46px;
    border-radius: 12px;
  }
  .hero-background,
  .hero-photo-shade,
  .hero-noise {
    height: 430px;
  }
  .hero-content {
    padding-top: 34px;
    padding-bottom: 96px;
  }
  .gospel-card {
    min-height: 0;
    padding: 25px;
    grid-template-columns: 1fr;
  }
  .gospel-callout {
    padding: 28px 24px;
  }
  .facebook-events-card {
    padding: 28px 24px;
    border-radius: 26px;
  }
}


/* Content remains visible even if JavaScript or scroll animations do not load. */
.reveal { opacity: 1 !important; transform: none !important; }
