:root {
  --teal: #39bcc2;
  --teal-dark: #138d94;
  --ink: #0c1a22;
  --ink-2: #172a33;
  --gray: #72787c;
  --muted: #f3f5f4;
  --cream: #faf8f3;
  --white: #ffffff;
  --sand: #b76f3e;
  --max: 1180px;
  --shadow: 0 18px 60px rgba(9, 25, 32, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow { color: var(--teal-dark); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.section { padding: 78px 0; }
.section-title { margin: 8px 0 14px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: -.03em; }
.lead { font-size: 1.12rem; color: #34434a; max-width: 70ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 7px; font-weight: 800; letter-spacing: .02em; border: 2px solid transparent; transition: .2s ease; }
.btn-primary { background: var(--teal-dark); color: #fff; }
.btn-primary:hover { background: #0b7a81; transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(0,0,0,.1); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--ink); border-color: rgba(12,26,34,.12); }
.btn-light:hover { border-color: var(--teal); color: var(--teal-dark); }
.icon { width: 24px; height: 24px; flex: 0 0 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 7px 20px rgba(0,0,0,.14); }
.nav { min-height: 82px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { width: 245px; max-height: 62px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .92rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.nav-links a { position: relative; opacity: .9; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); opacity: 1; }
.nav-links a.active::after { content: ""; position: absolute; height: 2px; background: var(--teal); left: 0; right: 0; bottom: -9px; }
.nav-cta { background: var(--teal); color: var(--ink); padding: 11px 16px; border-radius: 6px; font-weight: 900; white-space: nowrap; }
.menu-btn { display: none; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; width: 44px; height: 44px; font-size: 1.35rem; }

/* Hero */
.hero { position: relative; min-height: 610px; display: grid; align-items: center; color: #fff; overflow: hidden; background: #58646a; }
.hero::before { content:""; position:absolute; inset:0; background: url('church-hero.jpg') center 51% / cover no-repeat; transform: scale(1.001); }
.hero::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(7,18,24,.91) 0%, rgba(7,18,24,.74) 36%, rgba(7,18,24,.2) 69%, rgba(7,18,24,.05) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero-copy { width: min(670px, 63%); padding: 70px 0; }
.hero h1 { margin: 0 0 8px; font-size: clamp(2.8rem, 7vw, 5.65rem); letter-spacing: -.045em; line-height: .93; text-transform: uppercase; }
.hero h1 span { color: var(--teal); display: block; }
.hero-scripture { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 3vw, 2.25rem); font-style: italic; margin: 0 0 5px; }
.hero-ref { text-transform: uppercase; letter-spacing: .17em; font-weight: 800; color: #dce8ea; font-size: .8rem; }
.hero-place { margin-top: 30px; font-size: 1.1rem; font-weight: 700; }
.service-strip { display: flex; gap: 24px; margin: 26px 0 12px; flex-wrap: wrap; }
.service-pill { display: flex; align-items: center; gap: 12px; padding-right: 24px; border-right: 1px solid rgba(255,255,255,.35); }
.service-pill:last-child { border-right: 0; }
.service-pill .icon { color: var(--teal); width: 30px; height: 30px; }
.service-pill strong { display:block; font-size: 1rem; }
.service-pill span { font-size: .92rem; color: #e7eeee; }
.time-note { color: #d6e4e6; font-size: .9rem; margin: 0 0 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Distinctives */
.distinctives { background: var(--white); border-bottom: 1px solid #e5e9e8; }
.distinctive-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.distinctive { text-align: center; padding: 54px 34px 46px; position: relative; }
.distinctive + .distinctive::before { content:""; position:absolute; left:0; top:46px; bottom:46px; width:1px; background:#dfe4e3; }
.distinctive .icon { width: 46px; height: 46px; color: var(--teal-dark); margin: 0 auto 14px; }
.distinctive h2 { font-size: 1.05rem; margin: 0 0 13px; text-transform: uppercase; letter-spacing: .02em; }
.distinctive h2::after { content:""; display:block; width: 34px; height: 2px; background: var(--teal); margin: 12px auto 0; }
.distinctive p { margin: 0 auto; font-size: .93rem; color: #38464c; max-width: 28ch; }
.distinctive p strong { color: var(--ink); }

/* Welcome */
.welcome { background: var(--cream); }
.welcome-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items:center; }
.photo-card { border-radius: 14px; overflow:hidden; box-shadow: var(--shadow); background:#ddd; }
.photo-card img { width: 100%; aspect-ratio: 4 / 4.25; object-fit: cover; object-position: 50% 30%; }
.welcome-copy p { font-size: 1.08rem; color: #35434a; }
.welcome-copy .btn { margin-top: 10px; }

/* Visit */
.visit-section { background: #edf7f7; position: relative; }
.visit-grid { display:grid; grid-template-columns: .8fr 1.2fr; gap: 42px; align-items: stretch; }
.visit-card { background:#fff; border-radius:14px; padding: 36px; box-shadow: 0 12px 35px rgba(9,25,32,.08); }
.visit-list { display:grid; gap: 17px; margin: 25px 0; }
.visit-row { display:flex; gap:14px; align-items:flex-start; }
.visit-row .icon { color: var(--teal-dark); margin-top:2px; }
.visit-row strong { display:block; }
.visit-row span { color:#4f5e64; }
.map-wrap { min-height: 410px; border-radius: 14px; overflow:hidden; box-shadow: var(--shadow); background:#d7dede; }
.map-wrap iframe { width:100%; height:100%; min-height:410px; border:0; display:block; }

/* About page */
.page-hero { background: linear-gradient(120deg, var(--ink), #19333e); color:#fff; padding: 72px 0; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); margin:0 0 12px; line-height:1; }
.page-hero p { max-width: 760px; color:#dce8ea; font-size:1.12rem; }
.story-grid { display:grid; grid-template-columns: 1.15fr .85fr; gap:56px; align-items:start; }
.story-grid h2 { font-size:2.3rem; margin-top:0; }
.story-grid p { font-size:1.06rem; color:#3a484e; }
.story-photo-placeholder { border:2px dashed #b8c5c6; border-radius:12px; min-height:380px; display:grid; place-items:center; padding:36px; text-align:center; color:#607075; background:#f7f9f8; }
.pastor-panel { background: var(--cream); }
.pastor-grid { display:grid; grid-template-columns: .8fr 1.2fr; gap:52px; align-items:center; }
.pastor-grid img { border-radius:14px; box-shadow: var(--shadow); aspect-ratio: 4/4.25; object-fit:cover; object-position:50% 30%; }

/* Contact */
.contact-grid { display:grid; grid-template-columns: .8fr 1.2fr; gap:42px; align-items:start; }
.contact-card { background:#fff; border:1px solid #e2e7e6; border-radius:14px; padding:32px; }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.field { display:grid; gap:7px; }
.field.full { grid-column:1/-1; }
label { font-weight:800; font-size:.9rem; }
input, textarea { width:100%; border:1px solid #cbd4d4; border-radius:7px; padding:13px 14px; font:inherit; color:var(--ink); background:#fff; }
input:focus, textarea:focus { outline:3px solid rgba(57,188,194,.18); border-color:var(--teal-dark); }
textarea { min-height:150px; resize:vertical; }
.form-note { font-size:.85rem; color:#68767b; margin-top:12px; }

/* Footer */
.site-footer { background: var(--ink); color:#fff; }
.footer-top { padding: 45px 0 35px; display:grid; grid-template-columns: 1.25fr .8fr 1fr 1.15fr; gap:36px; }
.footer-logo { width:220px; margin-bottom:14px; }
.footer-tag { color:#c9d5d7; font-family:Georgia,serif; font-style:italic; max-width:30ch; }
.footer-title { color:var(--teal); font-weight:900; text-transform:uppercase; letter-spacing:.04em; font-size:.83rem; margin-bottom:12px; }
.footer-links { display:grid; gap:6px; color:#d8e0e1; font-size:.92rem; }
.footer-links a:hover { color:var(--teal); }
.member-link { display:inline-flex; align-items:center; gap:8px; margin-top:13px; border:1px solid var(--teal); padding:9px 11px; border-radius:6px; color:var(--teal); font-weight:800; font-size:.84rem; }
.footer-bottom { background: #0a141a; border-top:1px solid rgba(255,255,255,.08); padding:14px 0; font-size:.82rem; color:#b7c2c4; text-align:center; }

@media (max-width: 900px) {
  .nav-links, .nav-cta { display:none; }
  .menu-btn { display:block; }
  .site-header.open .nav { flex-wrap:wrap; padding-bottom:16px; }
  .site-header.open .nav-links { display:grid; width:100%; gap:0; order:4; }
  .site-header.open .nav-links a { padding:13px 0; border-top:1px solid rgba(255,255,255,.1); }
  .site-header.open .nav-links a.active::after { display:none; }
  .hero { min-height: 640px; }
  .hero::after { background: linear-gradient(90deg, rgba(7,18,24,.92) 0%, rgba(7,18,24,.74) 55%, rgba(7,18,24,.3) 100%); }
  .hero-copy { width: 75%; }
  .distinctive-grid { grid-template-columns: repeat(2,1fr); }
  .distinctive:nth-child(3)::before { display:none; }
  .welcome-grid, .visit-grid, .story-grid, .pastor-grid, .contact-grid { grid-template-columns:1fr; }
  .footer-top { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 620px) {
  .container { width:min(var(--max), calc(100% - 28px)); }
  .brand img { width:205px; }
  .hero { min-height: 670px; }
  .hero::before { background-position: 64% center; }
  .hero::after { background: linear-gradient(0deg, rgba(7,18,24,.88), rgba(7,18,24,.52)), linear-gradient(90deg, rgba(7,18,24,.78), rgba(7,18,24,.2)); }
  .hero-copy { width:100%; padding:55px 0 44px; }
  .hero h1 { font-size:clamp(2.55rem, 14vw, 4.25rem); }
  .service-strip { gap:15px; }
  .service-pill { width:100%; border-right:0; padding-right:0; }
  .hero-actions .btn { width:100%; }
  .distinctive-grid { grid-template-columns:1fr; }
  .distinctive + .distinctive::before { top:0; bottom:auto; left:30px; right:30px; width:auto; height:1px; }
  .section { padding:58px 0; }
  .visit-card { padding:28px 24px; }
  .footer-top { grid-template-columns:1fr; }
  .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
}

.story-photo{margin:0}.story-photo img{width:100%;height:auto;display:block;border-radius:18px;box-shadow:0 16px 40px rgba(0,0,0,.12)}.story-photo figcaption{margin-top:10px;color:#667085;font-size:.92rem;text-align:center;font-style:italic}
