:root {
  --navy-950: #031124;
  --navy-900: #061a33;
  --navy-800: #0a2b52;
  --navy-700: #123e70;
  --gold: #f1b914;
  --gold-light: #ffd867;
  --cream: #fcfbf8;
  --white: #ffffff;
  --ink: #101b2a;
  --muted: #657184;
  --line: rgba(10, 43, 82, 0.14);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "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(--sans); font-size: 1rem; line-height: 1.65; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.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; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--gold); color: var(--navy-950); font-weight: 700; border-radius: .35rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 10; width: 100%; border-bottom: 1px solid rgba(255,255,255,.14); }
.nav-shell { width: min(1180px, calc(100% - 3rem)); height: 104px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand img { width: min(370px, 44vw); height: auto; }
.primary-nav { display: flex; align-items: center; gap: 2rem; }
.primary-nav a { color: rgba(255,255,255,.86); text-decoration: none; font-weight: 600; font-size: .93rem; letter-spacing: .01em; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--gold-light); }
.primary-nav .nav-cta { padding: .65rem 1rem; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; padding: 10px; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 4px 0; background: white; }

.hero { position: relative; overflow: hidden; min-height: 780px; color: white; background: radial-gradient(circle at 75% 35%, rgba(48,108,164,.78), transparent 38%), linear-gradient(125deg, #09284a, #17558a); }
.hero::after { content: ""; position: absolute; right: -12vw; bottom: -30vw; width: 58vw; height: 58vw; border: 1px solid rgba(241,185,20,.28); border-radius: 50%; box-shadow: 0 0 0 6vw rgba(255,255,255,.025), 0 0 0 12vw rgba(241,185,20,.035); }
.hero-grid { position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, transparent, black 60%, transparent); }
.hero-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 3rem)); min-height: 780px; margin: 0 auto; padding: 180px 0 80px; display: grid; grid-template-columns: 1.15fr .78fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.eyebrow { margin: 0 0 1.25rem; color: var(--gold-light); font-size: .79rem; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow.dark { color: var(--navy-700); }
.hero h1 { margin: 0; max-width: 750px; font-family: var(--serif); font-size: clamp(3.5rem, 7vw, 6.6rem); line-height: .99; letter-spacing: -.055em; }
.hero h1 span { color: var(--gold); }
.hero-lede { max-width: 640px; margin: 1.8rem 0 0; color: rgba(255,255,255,.76); font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.75; }
.hero-actions, .visit-actions { margin-top: 2.1rem; display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: .75rem 1.3rem; border-radius: .3rem; text-decoration: none; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: var(--navy-950); }
.button-gold:hover { background: var(--gold-light); }
.text-link { color: white; text-underline-offset: .35rem; font-weight: 600; }
.text-link span { display: inline-block; margin-left: .35rem; color: var(--gold); }

.welcome-card { align-self: end; margin-bottom: 1.5rem; padding: 2rem; background: rgba(3,17,36,.68); border: 1px solid rgba(255,255,255,.18); border-top: 4px solid var(--gold); box-shadow: 0 30px 60px rgba(0,0,0,.28); backdrop-filter: blur(12px); }
.card-kicker { margin: 0; color: var(--gold-light); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.welcome-card h2 { margin: .45rem 0 1.2rem; font-family: var(--serif); font-size: 1.8rem; }
.schedule-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.schedule-row div { display: grid; }
.schedule-row .day { color: rgba(255,255,255,.6); font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; }
.schedule-row strong { font-size: .95rem; }
.schedule-row time { color: var(--gold-light); font-weight: 700; white-space: nowrap; }
.address-link { display: flex; gap: .55rem; margin-top: 1rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); font-size: .87rem; text-decoration: none; }

.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-inner { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.purpose { background: var(--white); }
.purpose-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); }
.section-heading h2 { margin: 0; font-family: var(--serif); color: var(--navy-900); font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.16; letter-spacing: -.035em; }
.purpose-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.purpose-content article { padding-top: .6rem; border-top: 1px solid var(--line); }
.number { display: inline-block; margin-top: -1px; padding: .45rem .65rem; color: var(--navy-900); background: var(--gold); font-weight: 700; font-size: .8rem; }
.purpose-content h3 { margin: 1.2rem 0 .65rem; font-family: var(--serif); color: var(--navy-900); font-size: 1.45rem; }
.purpose-content p { color: var(--muted); font-size: 1.08rem; }

.scripture { position: relative; overflow: hidden; padding: 7rem 1.5rem; color: white; text-align: center; background: #164b7c; }
.scripture::before { content: ""; position: absolute; inset: 0; opacity: .12; background: repeating-linear-gradient(135deg, transparent 0 34px, var(--gold) 35px 36px); }
.scripture-inner { position: relative; width: min(840px, 100%); margin: 0 auto; }
.quote-mark { display: block; height: 4.5rem; color: var(--gold); font-family: var(--serif); font-size: 7rem; line-height: 1; }
blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.55; }
cite { display: block; margin-top: 1.5rem; color: var(--gold-light); font-style: normal; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.gatherings { background: var(--cream); }
.section-heading.centered { max-width: 780px; margin: 0 auto 3.5rem; text-align: center; }
.gathering-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gathering-card { min-height: 340px; display: flex; flex-direction: column; padding: 2rem; background: white; border: 1px solid var(--line); }
.gathering-card.featured { color: white; background: var(--navy-900); border-color: var(--navy-900); }
.gathering-card p { margin: 0; color: var(--navy-700); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gathering-card.featured p { color: var(--gold-light); }
.gathering-card h3 { margin: .7rem 0 2rem; font-family: var(--serif); color: var(--navy-900); font-size: 1.55rem; }
.gathering-card.featured h3 { color: white; }
.gathering-card time { margin: auto 0 1.5rem; color: var(--navy-900); font-family: var(--serif); font-size: 3rem; font-weight: 700; }
.gathering-card.featured time { color: var(--gold); }
.gathering-card time small { font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; }
.gathering-card span { color: var(--muted); }
.gathering-card.featured span { color: rgba(255,255,255,.7); }

.events { background: var(--white); }
.events-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(3rem, 8vw, 8rem); }
.event-card { overflow: hidden; border-top: 4px solid var(--gold); background: var(--cream); box-shadow: 0 18px 45px rgba(6,26,51,.1); }
.event-card > img { width: 100%; height: auto; }
.event-details { padding: clamp(1.5rem, 4vw, 2.5rem); }
.events-kicker { margin: 0 0 .65rem; color: var(--navy-700); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.event-details h3 { margin: 0 0 .55rem; color: var(--navy-900); font-family: var(--serif); font-size: clamp(1.65rem, 3vw, 2.25rem); }
.event-details time { display: block; margin-bottom: .75rem; color: var(--navy-700); font-weight: 700; }
.event-details > p:not(.events-kicker) { margin: 0; color: var(--muted); font-size: 1.05rem; }

.giving { background: var(--cream); }
.giving-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: clamp(3rem, 8vw, 8rem); }
.giving-intro { max-width: 430px; color: var(--muted); font-size: 1.05rem; }
.giving-card { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; padding: clamp(2rem, 5vw, 3.5rem); background: var(--navy-900); color: white; box-shadow: 0 20px 50px rgba(6,26,51,.18); }
.giving-mark { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy-950); font-family: var(--serif); font-size: 2rem; font-weight: 700; }
.giving-label { margin: 0; color: var(--gold-light); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.zelle-email { margin: .35rem 0 1.5rem; overflow-wrap: anywhere; font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.65rem); font-weight: 700; line-height: 1.35; }
.giving-steps { margin: 0; padding-left: 1.25rem; color: rgba(255,255,255,.82); }
.giving-steps li + li { margin-top: .55rem; }
.giving-note { margin: 1.5rem 0 0; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.65); font-size: .9rem; }

.visit { color: white; background: linear-gradient(115deg, #09284a, #17558a); }
.visit-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.visit h2 { margin: 0; max-width: 720px; font-family: var(--serif); font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.15; letter-spacing: -.04em; }
.visit-copy > p:not(.eyebrow) { max-width: 650px; color: rgba(255,255,255,.7); font-size: 1.08rem; }
.button-outline { color: white; border: 1px solid rgba(255,255,255,.45); }
.button-outline:hover { border-color: var(--gold); }
.location-card { padding: 2rem; background: white; color: var(--ink); display: flex; align-items: center; gap: 1.25rem; box-shadow: 0 25px 50px rgba(0,0,0,.24); }
.location-mark { flex: 0 0 72px; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; color: var(--navy-950); background: var(--gold); font-family: var(--serif); font-weight: 700; }
.location-card p { margin: 0 0 .4rem; color: var(--navy-900); font-weight: 700; }
address { color: var(--muted); font-style: normal; }

footer { padding: 3.5rem 0 2rem; color: rgba(255,255,255,.66); background: var(--navy-950); }
.footer-inner { width: min(1180px, calc(100% - 3rem)); margin: 0 auto; }
.footer-inner > img { width: min(390px, 90%); }
.footer-inner > p { margin: 1rem 0 2.4rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.footer-bottom a { color: var(--gold-light); }

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

@media (max-width: 900px) {
  .nav-shell { height: 88px; }
  .brand img { width: min(300px, 65vw); }
  .menu-button { display: block; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 88px; display: none; padding: 1.3rem 1.5rem 1.8rem; background: var(--navy-950); box-shadow: 0 20px 30px rgba(0,0,0,.25); }
  .primary-nav.open { display: grid; }
  .primary-nav .nav-cta { justify-self: start; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 150px; gap: 3rem; }
  .welcome-card { align-self: auto; margin: 0; }
  .purpose-grid, .events-grid, .giving-grid, .visit-grid { grid-template-columns: 1fr; }
  .purpose-content { gap: 1.5rem; }
  .gathering-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .nav-shell, .hero-inner, .section-inner, .footer-inner { width: min(100% - 2rem, 1180px); }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding-bottom: 4rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); }
  .welcome-card { padding: 1.4rem; }
  .purpose-content, .gathering-cards { grid-template-columns: 1fr; }
  .purpose-content { gap: 2.5rem; }
  .gathering-card { min-height: 285px; }
  .scripture { padding: 5rem 1rem; }
  .location-card { align-items: flex-start; }
  .giving-card { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
