/* Bethel Mennonite Fellowship — colors drawn from the logo */
:root {
  --green: #4b5f2b;
  --green-dark: #34431c;
  --green-soft: #8a9a5b;
  --brown: #6b3f1d;
  --brown-soft: #8a5a32;
  --gold: #e3a93b;
  --gold-soft: #f6e3b4;
  --cream: #faf6ee;
  --white: #ffffff;
  --ink: #2e2a24;
  --muted: #6b665e;
  --line: #e7dfcf;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(52, 67, 28, 0.08);
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--green-dark);
  line-height: 1.15;
  margin: 0 0 .5rem;
  font-weight: 600;
}
h2 { font-size: clamp(2rem, 4.5vw, 2.85rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--green); color: var(--white); padding: .5rem 1rem; border-radius: 6px; z-index: 100;
}
.skip-link:focus { left: 8px; }

/* Placeholder content — search for class="tbd" to fill in */
.tbd {
  background: var(--gold-soft);
  color: var(--brown);
  border-bottom: 1px dashed var(--brown-soft);
  padding: 0 .25em;
  border-radius: 3px;
}
.tbd-light { background: rgba(255,255,255,.15); color: var(--gold-soft); border-color: var(--gold-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.85rem; color: var(--green); }
.brand-sub {
  font-family: var(--serif); font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brown); margin-top: 2px;
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.site-nav a:hover { color: var(--green); }
.site-nav .nav-cta {
  background: var(--green); color: var(--white); padding: .55rem 1.1rem; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--green-dark); color: var(--white); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--green-dark); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 1rem 16px; border-top: 1px solid var(--line); }
  .site-nav .nav-cta { margin: .75rem 16px 1rem; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; letter-spacing: .04em;
  padding: .85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { border-color: var(--brown); color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--white); }
.btn-sm { padding: .5rem 1.1rem; font-size: .9rem; }
.btn:focus-visible, .site-nav a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(227, 169, 59, 0.12), transparent 55%),
    linear-gradient(180deg, var(--white) 0%, var(--white) 70%, var(--cream) 100%);
  padding: 2.5rem 0 4rem;
}
.hero-inner { text-align: center; }
.hero-logo { width: min(100%, 680px); margin: 0 auto; mix-blend-mode: multiply; }
.hero-tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.7rem);
  color: var(--brown); margin: .5rem auto 1.75rem; max-width: 34ch;
}
.hero-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
@media (max-width: 640px) { .section { padding: 3.5rem 0; } }
.section-tint { background: var(--cream); }
.section-green { background: var(--green-dark); color: #eef0e4; }
.section-green h2, .section-green h3 { color: var(--white); }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .25em; text-transform: uppercase;
  color: var(--brown-soft); margin-bottom: .5rem;
}
.eyebrow-light { color: var(--gold); }

.divider {
  width: 72px; height: 2px; background: var(--gold); margin: 1rem auto 1.75rem; position: relative;
}
.divider::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px;
  background: var(--gold); transform: translate(-50%, -50%) rotate(45deg);
}
.divider-left { margin-left: 0; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section-green .lead { color: #dfe3cf; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.5rem; margin-top: 1rem; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.75rem; box-shadow: var(--shadow); text-align: center;
}
.card-plain { box-shadow: none; text-align: left; border-top: 4px solid var(--green-soft); }
.card-icon {
  width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%;
  background: var(--cream); display: grid; place-items: center;
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--brown); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card .time { font-family: var(--serif); font-size: 1.35rem; color: var(--brown); font-weight: 600; }
.card p:last-child { margin-bottom: 0; color: var(--muted); }

.beliefs article {
  border-top: 2px solid var(--gold); padding-top: 1.25rem;
}
.beliefs p { color: #dfe3cf; margin: 0; }
.small-note { margin-top: 2.5rem; font-size: .95rem; }

/* ---------- What to expect ---------- */
.split { display: grid; gap: 3rem; grid-template-columns: 1fr 1.2fr; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }
.expect-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.expect-list li {
  padding: 1.25rem 1.5rem 1.25rem 3.25rem; background: var(--cream); border-radius: var(--radius);
  position: relative; color: var(--muted);
}
.expect-list li::before {
  content: ""; position: absolute; left: 1.4rem; top: 1.65rem; width: 10px; height: 10px;
  background: var(--gold); transform: rotate(45deg);
}
.expect-list strong { display: block; color: var(--green-dark); font-family: var(--serif); font-size: 1.3rem; }

/* ---------- Verse ---------- */
.verse {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, var(--white), var(--cream));
}
.verse blockquote { margin: 0; }
.verse p {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--green-dark); line-height: 1.35;
}
.verse cite {
  font-style: normal; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown);
}

/* ---------- Visit ---------- */
.visit-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.visit-block {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.75rem; border: 1px solid var(--line);
}
.visit-block address { font-style: normal; margin-bottom: 1.25rem; }
.plain-list { list-style: none; padding: 0; margin: 0; }
.plain-list li {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: .6rem 0; border-bottom: 1px solid var(--line);
}
.plain-list li:last-child { border-bottom: 0; }
.plain-list li > span:first-child { font-weight: 700; color: var(--green-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: #dfe3cf; padding: 3rem 0 1.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: center; }
.footer-name { font-family: var(--serif); font-size: 1.6rem; color: var(--white); margin: 0; }
.footer-sub { margin: 0; color: var(--gold); font-style: italic; font-family: var(--serif); font-size: 1.15rem; }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { color: #dfe3cf; text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.copyright {
  margin: 2rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12);
  font-size: .85rem; color: #b8bfa3;
}
