:root {
  --navy: #273e54;
  --navy-deep: #1c2e3f;
  --coral: #f6896a;
  --coral-hover: #ff9999;
  --ink: #111111;
  --body: #333333;
  --muted: #6b7280;
  --line: #e5e7eb;
  --cream: #f7f5f2;
  --white: #ffffff;
  --staging: #F5C518;
  --serif: "Rufina", Georgia, "Times New Roman", serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --max: 1100px;
  --banner-h: 2.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--coral); }
h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.6rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Staging bar — never for production */
.staging {
  position: sticky;
  top: 0;
  z-index: 10000;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--staging);
  color: #000;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: var(--banner-h);
  z-index: 900;
  box-shadow: 0 15px 30px 0 rgba(119,123,146,0.12);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(100% - 2rem, 1200px);
  margin-inline: auto;
}
.logo img { height: 28px; width: auto; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
}
nav.primary { display: flex; align-items: center; gap: 0.15rem; flex-wrap: wrap; }
nav.primary a, .drop > summary {
  color: #fbfbfb;
  font-size: 15px;
  font-weight: 500;
  padding: 0.55rem 0.85rem;
  border-radius: 4px;
  list-style: none;
  cursor: pointer;
}
nav.primary a:hover, .drop > summary:hover,
nav.primary a[aria-current="page"] {
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.drop { position: relative; }
.drop > summary { list-style: none; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary::after { content: " ▾"; font-size: 0.75em; opacity: 0.8; }
.drop-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-bottom: 2px solid var(--navy);
  padding: 0.5rem 0;
  z-index: 50;
}
.drop-menu a {
  display: block;
  color: var(--ink) !important;
  padding: 0.55rem 1rem;
  font-weight: 400;
  background: transparent !important;
}
.drop-menu a:hover { background: #f9f9f9 !important; color: var(--navy) !important; }

.btn {
  display: inline-block;
  background: var(--coral);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 0.7em 1.25em;
  border-radius: 4px;
  border: none;
  box-shadow: -1px 6px 19px rgba(246,137,106,0.25);
  transition: background 0.2s ease;
  cursor: pointer;
}
.btn:hover { background: var(--coral-hover); color: #fff !important; }
.btn-outline {
  background: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
  box-shadow: none;
}
.btn-outline:hover { background: var(--navy); color: #fff !important; }

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 55%, #162533 100%);
  color: #fff;
  padding: 4.5rem 0 4rem;
  text-align: center;
}
.hero .eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.hero h1 { color: #fff; max-width: 18ch; margin-inline: auto; }
.hero p { color: rgba(255,255,255,0.9); max-width: 42rem; margin: 0 auto 1.5rem; font-size: 1.1rem; }
.hero .btn { margin-top: 0.25rem; }

.section { padding: 3.5rem 0; }
.section.alt { background: var(--cream); }
.section.navy {
  background: var(--navy);
  color: #fff;
}
.section.navy h2, .section.navy h3 { color: #fff; }
.section.navy p { color: rgba(255,255,255,0.9); }
.lead { font-size: 1.125rem; max-width: 42rem; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 5px 23px rgba(188,207,219,0.2);
}
.card h3 { margin-top: 0; }
.card.dark {
  background: var(--navy-deep);
  border-color: transparent;
  color: #fff;
}
.card.dark h3 { color: #fff; }
.muted { color: var(--muted); }
.rule {
  width: 80px;
  height: 2px;
  background: #978c8c;
  margin: 0.5rem auto 1.25rem;
  border: 0;
}
.center { text-align: center; }
.sermon-art {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  box-shadow: 0 10px 30px rgba(39,62,84,0.2);
}
.worship-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.worship-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.staff {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: start;
}
.staff img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  background: var(--cream);
}
.staff .role { color: var(--coral); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5rem; }
.page-hero {
  background: var(--cream);
  padding: 2.75rem 0 2rem;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 0.5rem; }
.anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.anchors a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  color: var(--navy);
}
.anchors a:hover { border-color: var(--coral); color: var(--coral); }
.quote {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.event-list, .sermon-list { display: grid; gap: 1rem; }
.event-item, .sermon-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.sermon-item { grid-template-columns: 1fr; }
.sermon-meta { color: var(--muted); font-size: 0.9rem; margin: 0.15rem 0 0; }
.form {
  display: grid;
  gap: 0.9rem;
  max-width: 36rem;
}
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.form input, .form textarea, .form select {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: var(--body);
}
.form input:focus, .form textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.checks { display: grid; gap: 0.35rem; font-weight: 400; }
.checks label { font-weight: 400; display: flex; gap: 0.5rem; align-items: center; }
.note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 2rem;
  margin-top: 0;
}
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.75rem; }
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer a:hover { color: var(--coral); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: space-between;
}

@media (max-width: 860px) {
  .grid-2, .grid-3, .footer-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  nav.primary {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  }
  .site-header.is-open nav.primary { display: flex; }
  .drop-menu { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0.4rem 0.8rem; }
  .drop-menu a { color: #fff !important; }
  .staff { grid-template-columns: 1fr; justify-items: start; }
}
