:root {
  --ink: #10231d;
  --green: #143f32;
  --green-2: #1d5c48;
  --cream: #f4f0e6;
  --paper: #fbfaf5;
  --gold: #d8ad57;
  --rust: #b5522e;
  --line: rgba(16, 35, 29, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; overflow-x: hidden; }
img, video { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 86px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 4.5vw;
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); transition: .35s ease;
}
.site-header.scrolled { height: 72px; background: rgba(16,35,29,.96); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 600 16px "Manrope", sans-serif; letter-spacing: .16em; }
.brand strong { font-weight: 800; }
.logo-crop { width: 43px; height: 43px; display: block; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.65); }
.logo-crop img { width: 100%; height: 100%; object-fit: cover; transform: scale(2.55); }
.desktop-nav { display: flex; gap: 34px; font-size: 13px; font-weight: 600; }
.desktop-nav a { opacity: .85; transition: .2s; }
.desktop-nav a:hover { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.nav-question { padding: 11px 17px; border: 1px solid rgba(255,255,255,.55); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.menu-toggle { display: none; color: white; background: none; border: 0; padding: 5px; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px; background: currentColor; }

.hero { position: relative; min-height: 96vh; display: flex; align-items: flex-end; overflow: hidden; color: white; }
.hero-image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 46%; animation: heroZoom 14s ease-out both; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,21,16,.88) 0%, rgba(7,21,16,.57) 43%, rgba(7,21,16,.17) 75%), linear-gradient(0deg, rgba(7,21,16,.72), transparent 42%); }
.hero-content { position: relative; z-index: 2; width: min(820px, 82vw); margin: 0 0 12vh 8.5vw; }
.eyebrow { margin: 0 0 25px; display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: rgba(255,255,255,.82); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -.05em; }
h1 { margin-bottom: 25px; font-size: clamp(58px, 7.5vw, 116px); line-height: .88; font-weight: 500; }
h1 em, h2 em { color: var(--gold); font-family: Georgia, serif; font-weight: 400; }
.hero-copy { max-width: 565px; margin-bottom: 34px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; border: 0; padding: 16px 20px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--gold); color: var(--ink); }
.button.ghost { color: white; border: 1px solid rgba(255,255,255,.55); }
.button.gold { background: var(--gold); color: var(--ink); }
.text-link { display: inline-flex; gap: 25px; align-items: center; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.light-link { color: white; }
.next-service { position: absolute; z-index: 2; right: 5vw; bottom: 7vh; width: 285px; padding: 20px 25px; background: rgba(244,240,230,.93); color: var(--ink); }
.next-service p { margin-bottom: 14px; color: #6b756f; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.next-service div { display: flex; justify-content: space-between; align-items: end; }
.next-service strong { font: 600 20px "Manrope"; }
.next-service span { font-size: 12px; }
.next-service .pulse { position: absolute; top: 19px; right: 20px; width: 7px; height: 7px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 5px rgba(181,82,46,.15); }
.hero-location { position: absolute; z-index: 2; right: 5vw; top: 48%; writing-mode: vertical-rl; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }

.section { padding: 120px 8.5vw; }
.welcome { background: var(--paper); }
.welcome-intro { display: flex; justify-content: space-between; align-items: start; }
h2 { margin-bottom: 0; font-size: clamp(42px, 5.3vw, 78px); line-height: 1.03; font-weight: 500; }
.welcome-grid { display: grid; grid-template-columns: .8fr 1.18fr .85fr; gap: 6vw; align-items: start; margin-top: 80px; }
.welcome-copy { padding-top: 55px; }
.welcome-copy .lead { font: 500 23px/1.45 "Manrope"; }
.welcome-copy > p:not(.lead) { color: #657069; line-height: 1.75; }
.welcome-copy .text-link { margin-top: 28px; }
.portrait-card { margin: 0; position: relative; }
.portrait-card img { height: 610px; object-fit: cover; }
.portrait-card figcaption { position: absolute; left: -45px; bottom: 35px; padding: 15px 20px; background: var(--gold); font: italic 20px Georgia; }
.portrait-card figcaption span { font: 700 9px "DM Sans"; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 3px; }
.community-card { position: relative; margin: 130px 0 0; }
.community-card img { height: 360px; object-fit: cover; }
.vertical-label { position: absolute; top: 0; right: -28px; writing-mode: vertical-rl; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }

.agenda { background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1.6fr .62fr; gap: 9vw; align-items: end; margin-bottom: 70px; }
.section-heading > p { color: #657069; line-height: 1.7; }
.schedule { border-top: 1px solid var(--line); }
.schedule-item { min-height: 180px; display: grid; grid-template-columns: 90px 1fr 60px; align-items: center; border-bottom: 1px solid var(--line); padding: 25px 20px; transition: .3s; }
.schedule-item:hover, .schedule-item.featured { background: var(--green); color: white; padding-left: 35px; }
.schedule-number { align-self: start; padding-top: 7px; font: 500 11px "Manrope"; opacity: .6; }
.schedule-item small { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--rust); font-weight: 700; }
.schedule-item.featured small, .schedule-item:hover small { color: var(--gold); }
.schedule-item h3 { margin: 10px 0 5px; font: 500 31px "Manrope"; letter-spacing: -.03em; }
.schedule-item p { margin: 0; color: #727a75; }
.schedule-item.featured p, .schedule-item:hover p { color: rgba(255,255,255,.65); }
.schedule-icon { font-size: 24px; justify-self: end; }
.agenda-note { margin-top: 25px; display: flex; justify-content: space-between; color: #707a74; font-size: 11px; }
.agenda-note a { color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }

.story { height: 720px; position: relative; overflow: hidden; display: grid; place-items: center; color: white; }
.story-video { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.story-shade { position: absolute; inset: 0; background: rgba(7,21,16,.58); }
.story-content { position: relative; text-align: center; }
.quote-mark { color: var(--gold); font: 80px Georgia; display: block; height: 65px; }
.story blockquote { margin: 0 0 35px; font: 500 clamp(33px, 4.1vw, 62px)/1.2 "Manrope"; letter-spacing: -.045em; }
.story blockquote em { color: var(--gold); font-family: Georgia; font-weight: 400; }

.ministries { background: var(--paper); }
.ministry-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: 380px 480px; gap: 20px; }
.ministry-card { position: relative; overflow: hidden; color: white; }
.ministry-card img { height: 100%; object-fit: cover; transition: transform .8s; }
.ministry-card:hover img { transform: scale(1.04); }
.ministry-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,19,14,.9), transparent 65%); }
.ministry-card div { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 25px; }
.ministry-card div > span { font-size: 10px; color: var(--gold); }
.ministry-card h3 { margin: 7px 0 4px; font: 600 27px "Manrope"; }
.ministry-card p { margin: 0; color: rgba(255,255,255,.7); }
.ministry-card.wide img { object-position: center 40%; }

.pastor-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 850px; background: var(--green); color: white; }
.pastor-photo { position: relative; overflow: hidden; }
.pastor-photo img { height: 100%; object-fit: cover; }
.pastor-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,32,25,.6), transparent 45%); }
.pastor-caption { position: absolute; z-index: 2; left: 50px; bottom: 45px; }
.pastor-caption span { display: block; font: italic 28px Georgia; color: var(--gold); }
.pastor-caption strong { font: 600 12px "Manrope"; text-transform: uppercase; letter-spacing: .16em; }
.pastor-form-wrap { padding: 95px 8vw 70px 7vw; }
.pastor-form-wrap > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.65); line-height: 1.7; margin: 25px 0 35px; }
.pastor-form-wrap form { display: grid; gap: 22px; }
.pastor-form-wrap label { display: grid; gap: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.7); }
input, textarea { width: 100%; color: white; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); padding: 10px 0 13px; outline: none; resize: none; }
input:focus, textarea:focus { border-color: var(--gold); }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.32); }
.form-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 10px; }
.checkbox { display: flex !important; grid-template-columns: 18px 1fr; align-items: center; cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 1px; }
.checkbox span { width: 16px; height: 16px; border: 1px solid rgba(255,255,255,.5); }
.checkbox input:checked + span { background: var(--gold); box-shadow: inset 0 0 0 3px var(--green); }
.form-status { margin: 0; min-height: 18px; color: var(--gold) !important; font-size: 12px; }

.giving { display: grid; grid-template-columns: .9fr .8fr .65fr; align-items: center; gap: 6vw; background: var(--cream); }
.giving-copy > p:last-child { margin-top: 28px; color: #67736c; line-height: 1.7; }
.pix-card { padding: 35px; border: 1px solid var(--line); background: var(--paper); }
.pix-label { font-size: 9px; color: #758078; letter-spacing: .17em; text-transform: uppercase; }
.pix-qrcode { width: min(210px, 100%); aspect-ratio: 1; object-fit: contain; margin: 22px auto 12px; border: 8px solid white; }
.pix-card strong { display: block; margin: 14px 0 25px; font: 600 25px "Manrope"; text-align: center; word-break: break-all; }
.pix-card button { width: 100%; display: flex; justify-content: space-between; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); background: none; font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.pix-card small { display: block; margin-top: 20px; color: #879087; font-size: 9px; }
.giving-image { margin: 0; }
.giving-image img { height: 510px; object-fit: cover; }

.gallery { padding-right: 0; }
.gallery-head { padding-right: 8.5vw; display: grid; grid-template-columns: 1fr auto; align-items: end; }
.gallery-head .eyebrow { grid-column: 1 / -1; }
.gallery-track { display: grid; grid-template-columns: repeat(5, minmax(320px, 1fr)); gap: 14px; overflow-x: auto; margin-top: 60px; padding: 0 8.5vw 25px 0; scrollbar-width: thin; scroll-snap-type: x proximity; }
.gallery-track figure { height: 460px; margin: 0; overflow: hidden; scroll-snap-align: start; }
.gallery-track img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s ease; }
.gallery-track figure:hover img { transform: scale(1.025); }

.location { display: grid; grid-template-columns: .75fr 1.25fr; min-height: 730px; }
.location-panel { background: var(--green); color: white; padding: 100px 8vw; }
.contact-list { margin: 55px 0 40px; border-top: 1px solid rgba(255,255,255,.2); }
.contact-list div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); display: grid; grid-template-columns: 110px 1fr; }
.contact-list span { color: rgba(255,255,255,.45); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.contact-list strong, .contact-list a { font-weight: 500; line-height: 1.6; }
.map-visual { position: relative; overflow: hidden; }
.map-visual img { height: 100%; object-fit: cover; filter: saturate(.55) contrast(.92); }
.map-visual::after { content: ""; position: absolute; inset: 0; background: rgba(216,173,87,.12); }
.map-pin { position: absolute; z-index: 2; left: 51%; top: 46%; min-width: 155px; padding: 17px 20px 15px 42px; background: var(--paper); box-shadow: 0 8px 25px rgba(0,0,0,.15); }
.map-pin span { position: absolute; left: 18px; top: 20px; width: 11px; height: 11px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 5px rgba(181,82,46,.15); }
.map-pin strong, .map-pin small { display: block; }
.map-pin strong { font: 700 13px "Manrope"; }
.map-pin small { margin-top: 3px; color: #718077; }

footer { padding: 70px 8.5vw 25px; background: #0d211a; color: white; }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 55px; }
.footer-top p { margin: 0; text-align: center; font: italic 20px/1.5 Georgia; color: var(--gold); }
.footer-top p span { color: rgba(255,255,255,.4); font: 500 9px "DM Sans"; letter-spacing: .16em; text-transform: uppercase; }
.back-top { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); display: flex; justify-content: space-between; color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

@media (max-width: 1000px) {
  .desktop-nav, .nav-question { display: none; }
  .menu-toggle { display: block; }
  .site-header.menu-open { background: var(--ink); }
  .site-header.menu-open .desktop-nav { display: flex; position: fixed; inset: 72px 0 auto; padding: 35px 8vw; flex-direction: column; background: var(--ink); font-size: 18px; }
  .next-service { display: none; }
  .hero-content { margin-left: 7vw; }
  .welcome-grid { grid-template-columns: .8fr 1.2fr; }
  .community-card { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .pastor-section { grid-template-columns: .8fr 1.2fr; }
  .giving { grid-template-columns: 1fr 1fr; }
  .giving-image { display: none; }
}

@media (max-width: 720px) {
  .site-header { height: 72px; padding: 0 22px; }
  .brand { font-size: 13px; }
  .logo-crop { width: 36px; height: 36px; }
  .hero { min-height: 820px; }
  .hero-image { object-position: 64% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(7,21,16,.94), rgba(7,21,16,.32)); }
  .hero-content { width: auto; margin: 0 24px 75px; }
  h1 { font-size: 54px; }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-location { display: none; }
  .section { padding: 85px 24px; }
  h2 { font-size: 43px; }
  .welcome-grid { display: flex; flex-direction: column; gap: 45px; margin-top: 45px; }
  .welcome-copy { padding-top: 0; }
  .portrait-card img { height: 500px; }
  .portrait-card figcaption { left: -8px; }
  .schedule-item { grid-template-columns: 40px 1fr 25px; padding: 25px 8px; }
  .schedule-item:hover, .schedule-item.featured { padding-left: 15px; }
  .schedule-item h3 { font-size: 24px; }
  .agenda-note { flex-direction: column; gap: 12px; }
  .story { height: 580px; padding: 20px; }
  .story blockquote br { display: none; }
  .ministry-grid { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 14px; }
  .ministry-card { min-width: 82vw; height: 480px; }
  .pastor-section { grid-template-columns: 1fr; }
  .pastor-photo { height: 560px; }
  .pastor-form-wrap { padding: 75px 24px; }
  .form-row { align-items: flex-start; flex-direction: column; }
  .giving { grid-template-columns: 1fr; gap: 45px; }
  .gallery { padding-right: 0; }
  .gallery-head { padding-right: 24px; grid-template-columns: 1fr; gap: 30px; }
  .gallery-track { grid-template-columns: repeat(5, 78vw); margin-top: 40px; padding-right: 24px; }
  .gallery-track figure { height: 440px; }
  .location { grid-template-columns: 1fr; }
  .location-panel { padding: 80px 24px; }
  .map-visual { height: 500px; }
  .footer-top { flex-direction: column; gap: 35px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 12px; }
}

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