:root {
  --navy: #0b0b0c;
  --ink: #0b0b0c;
  --red: #0b0b0c;
  --gold: #b9bec6;
  --sky: #8e949c;
  --cream: #f6f7f8;
  --blush: #eceef1;
  --text: #26282c;
  --muted: #5d6168;
  --radius: 28px;
  --serif: 'Unbounded', 'Arial Black', sans-serif;
  --silver: linear-gradient(135deg, #f4f5f7 0%, #b9bec6 35%, #eef0f3 55%, #8e949c 80%, #d7dade 100%);
  --accent: #6b7078;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

.eyebrow {
  font-size: .85rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 .6rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.center .lead { margin-inline: auto; }
.section-label { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--ink); margin: 0 0 .6rem; line-height: 1.2; }

/* Buttons */
.btn {
  display: inline-block; padding: .9em 1.8em; border-radius: 999px; font-weight: 700;
  font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11, 11, 12, .18); }
.btn-red { background: var(--red); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.hero .btn-red { background: #fff; color: #0b0b0c; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Header: formal logo in the top corner */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(11, 11, 12, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.logo img { height: 68px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1rem; }
.nav a:not(.btn):hover { color: var(--red); }
.nav .nav-cta { color: #fff; padding: .6em 1.4em; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--ink); border-radius: 3px; transition: .25s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, #050506 0%, #141518 55%, #2a2c31 100%);
  padding: clamp(80px, 12vw, 150px) 0 clamp(120px, 14vw, 190px);
}
.hero-inner { position: relative; z-index: 2; }
/* church building faded into the black hero */
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  background: url(images/photos/church-building.jpg) right 38% / 64% auto no-repeat;
  opacity: .55; filter: grayscale(.25) blur(1px); transform: scale(1.02);
}
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, #050506 0%, #050506 36%, rgba(5,5,6,.55) 52%, rgba(5,5,6,.2) 75%, rgba(5,5,6,.45) 100%),
    linear-gradient(180deg, rgba(5,5,6,.65) 0%, rgba(5,5,6,0) 35%, rgba(5,5,6,.2) 70%, #050506 100%);
}
.hero .eyebrow { color: #b9bec6; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 12em; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; font-weight: 600; background: var(--silver); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 34em; color: rgba(255,255,255,.88); }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 1; pointer-events: none; }
.blob-1 { width: 460px; height: 460px; background: #8e949c; opacity: .35; right: -120px; top: -80px; animation: drift 14s ease-in-out infinite alternate; }
.blob-2 { width: 380px; height: 380px; background: #ffffff; right: 22%; bottom: -160px; opacity: .12; animation: drift 18s ease-in-out infinite alternate-reverse; }
.blob-3 { width: 520px; height: 520px; background: #d7dade; left: -180px; top: -120px; opacity: .5; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.08); } }

/* Wave dividers */
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(50px, 8vw, 110px); z-index: 2; }
.wave path { fill: var(--cream); }
.wave-top { top: -1px; bottom: auto; }

/* Quick info cards, overlapping the hero wave */
.quick-info { position: relative; z-index: 3; margin-top: -90px; }
.info-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card {
  background: #fff; border-radius: var(--radius); padding: 28px 26px;
  box-shadow: 0 18px 40px rgba(11, 11, 12, .10);
}
.info-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--blush); color: var(--red); font-size: 1.3rem; margin-bottom: 10px;
}
.info-label { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.info-text { margin: 2px 0 8px; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); line-height: 1.3; }
.info-link { font-weight: 700; color: var(--red); text-decoration: none; }
.info-link:hover { text-decoration: underline; }
.info-sub { margin: 0; color: var(--muted); font-weight: 600; line-height: 1.5; }

/* Sections */
.section { position: relative; padding: clamp(70px, 10vw, 120px) 0; }
.tint { background: linear-gradient(160deg, #ffffff 0%, var(--blush) 100%); padding: clamp(130px, 14vw, 190px) 0; }
.tint .wave path { fill: var(--cream); }
.tint-soft { background: var(--blush); border-radius: 60px; width: min(1240px, 100% - 32px); margin-inline: auto; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

/* FAQ */
.faq details {
  background: #fff; border-radius: 20px; margin-bottom: 12px; padding: 4px 24px;
  box-shadow: 0 6px 18px rgba(11, 11, 12, .06);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 0; font-weight: 700; font-size: 1.1rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.6rem; color: var(--red); transition: transform .25s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Connect cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.card {
  background: rgba(255,255,255,.75); backdrop-filter: blur(6px); border-radius: var(--radius);
  padding: 32px 26px; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(11, 11, 12, .12); }
.card p { color: var(--muted); margin: 0; }
.card-dot { width: 44px; height: 44px; border-radius: 50% 50% 50% 12px; margin-bottom: 18px; }
.dot-red { background: var(--red); }
.dot-navy { background: var(--navy); }
.dot-gold { background: var(--gold); }
.dot-sky { background: var(--sky); }
.card-time { margin: 0 0 10px; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 28px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; box-shadow: 0 10px 24px rgba(11, 11, 12, .12); }
.give-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0 28px; text-align: left; }
.give-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 18px 40px rgba(11, 11, 12, .08); }
.give-card p { margin: 0; color: var(--muted); }
.give-verse { color: var(--muted); font-style: italic; max-width: 36em; margin: 0 auto; }
.give-verse span { display: block; margin-top: 6px; font-style: normal; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--accent); }
.card-link { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--red); text-decoration: none; }

/* Watch */
.fb-frame { background: #fff; border-radius: var(--radius); padding: 14px; box-shadow: 0 18px 40px rgba(11, 11, 12, .10); overflow: hidden; }
.fb-frame iframe { width: 100%; max-width: 500px; margin: 0 auto; display: block; border-radius: 16px; }

/* Verse / About */
.verse { overflow: hidden; }
.verse .container { position: relative; z-index: 2; }
.verse-text { font-family: var(--serif); font-style: normal; font-weight: 600; font-size: clamp(1.5rem, 3.8vw, 2.5rem); color: var(--ink); line-height: 1.25; margin: 0 0 .4em; }
.verse-ref { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); font-size: .9rem; margin: 0 0 56px; }
.about-text { font-size: 1.15rem; color: var(--muted); }
.pastors { margin-top: 48px; background: #fff; border-radius: var(--radius); padding: clamp(28px, 5vw, 44px); box-shadow: 0 18px 40px rgba(11, 11, 12, .08); }
.pastors-name { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--ink); margin: 0 0 .4rem; line-height: 1.2; }
.pastors .about-text { margin: 0; }

/* Nearby towns */
.towns { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.towns li { background: #fff; border-radius: 999px; padding: 10px 22px; font-weight: 500; color: var(--ink); box-shadow: 0 4px 12px rgba(11, 11, 12, .06); }

/* Contact */
.split:has(.contact-form) { align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 24px 0; }
.contact-list li { padding: 8px 0; border-bottom: 1px solid rgba(11, 11, 12, .1); }
.contact-list strong { display: inline-block; width: 70px; color: var(--ink); }
.map iframe { width: 100%; height: 240px; border: 0; border-radius: 22px; }
.contact-form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: 0 18px 40px rgba(11, 11, 12, .10); }
.contact-form label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 18px; font-size: 1rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 14px 16px; font: inherit; font-weight: 400;
  border: 2px solid #dfe1e5; border-radius: 16px; background: var(--cream); color: var(--text);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); }
.contact-form .btn { width: 100%; font-size: 1.05rem; }

/* Footer: formal logo in the bottom corner */
.site-footer { position: relative; background: var(--ink); color: rgba(255,255,255,.8); padding: clamp(110px, 12vw, 150px) 0 40px; margin-top: 60px; }
.site-footer .wave path { fill: var(--cream); }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.footer-logo { width: 280px; max-width: 100%; height: auto; }
.footer-name { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin: 0 0 6px; }
.site-footer p { margin: 0 0 4px; }
.site-footer a { color: #fff; }
.copyright { grid-column: 1 / -1; font-size: .9rem; opacity: .6; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin-top: 12px !important; }

/* Scroll fade */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade { opacity: 1; transform: none; }
  .blob { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .hero-photo { background-size: cover; background-position: 70% 40%; opacity: .4; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--cream); padding: 8px 16px 20px; box-shadow: 0 20px 30px rgba(11, 11, 12, .12);
    display: none;
  }
  .nav.nav-open { display: flex; }
  .nav a { padding: 14px 0; width: 100%; text-align: center; font-size: 1.1rem; }
  .nav .nav-cta { margin-top: 8px; }
  .logo img { height: 56px; width: auto; }
  .info-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .give-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .tint-soft { border-radius: 36px; }
}
