/* ============================================================
   BETHEL STRATEGIC PARTNERS — Shared Stylesheet
   ============================================================ */

/* ── 1. CSS Variables ───────────────────────────────────── */
:root {
  --bg:           #F5F3EE;
  --bg-alt:       #EDEAE2;
  --green:        #233729;
  --green-hover:  #1a2a1f;
  --gold:         #C9A15C;
  --text:         #2D2D2D;
  --text-muted:   #5A5A5A;
  --text-light:   #7A7A7A;
  --border:       #D6D1C6;
  --white:        #FFFFFF;

  --serif:        Georgia, "Times New Roman", serif;
  --sans:         -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --max-text:     1100px;
  --max-wide:     1200px;

  --space-xs:     0.5rem;
  --space-sm:     1rem;
  --space-md:     2rem;
  --space-lg:     4rem;
  --space-xl:     6rem;
}

/* ── 2. Reset & Base ────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ── 3. Typography ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--green);
}

h1 { font-size: clamp(2rem, 4.5vw, 2.65rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.65rem); letter-spacing: 0.02em; }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.2rem); letter-spacing: 0.02em; }
h4 { font-size: 1rem; }

p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.text-muted  { color: var(--text-muted); }
.text-small  { font-size: 0.875rem; }
.text-xs     { font-size: 0.75rem; }
.text-center { text-align: center; }

.eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

/* ── 4. Layout ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-text);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container--wide {
  max-width: var(--max-wide);
}

.section {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.section--sm {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--green {
  background-color: var(--green);
  color: var(--white);
}

.section--white {
  background-color: var(--white);
}

.section--bordered {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Prose width cap for article/long-form text */
.prose {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid helpers */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── 5. Header & Navigation ─────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid rgba(35, 55, 41, 0.12);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

/* Wordmark */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  gap: 0;
}

.wordmark__name {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--green);
  line-height: 1;
  padding-bottom: 0.28rem;
  border-bottom: 1.5px solid var(--gold);
  /* Compensate trailing letter-spacing so rule ends at the last glyph */
  margin-right: calc(-0.3em);
}

.wordmark__sub {
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
  line-height: 1;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  justify-content: flex-end;
  padding-left: 1.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color 0.15s;
  padding-bottom: 2px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--green);
  border-bottom: 1px solid var(--gold);
}

/* CTA button in nav */
.nav-cta {
  display: inline-flex;
  align-items: center;
  background-color: var(--green);
  color: var(--white) !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  border-bottom: none !important;
  transition: background-color 0.15s;
  white-space: nowrap;
}

.nav-cta:hover {
  background-color: var(--green-hover) !important;
  border-bottom: none !important;
}

/* Hamburger toggle (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--green);
  flex-direction: column;
  gap: 5px;
  /* Minimum 44×44px tap target */
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  background-color: var(--white);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  gap: 1.25rem;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  font-size: 1rem;
  color: var(--text-muted);
  /* Comfortable tap target: ~44px via line-height + padding */
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  min-height: 44px;
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile a:hover {
  color: var(--green);
}

/* ── 6. Hero Section ────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  background-color: var(--bg);
}

/* Home: dark green hero */
.hero--green {
  background-color: var(--green);
}

.hero--green h1 {
  color: var(--white);
}

.hero--green .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.hero--green .lead {
  color: rgba(255, 255, 255, 0.78);
}

.hero--green .hero__reply-note {
  color: rgba(255, 255, 255, 0.45);
}

/* About: centered, extra padding, gold vertical stroke above eyebrow */
.hero--about {
  text-align: center;
  padding: 6.5rem 0 5.5rem;
}

.hero--about .eyebrow::before {
  content: '';
  display: block;
  width: 1px;
  height: 36px;
  background-color: var(--gold);
  margin: 0 auto 1.25rem;
}

/* Services: left-aligned, faint decorative wordmark on the right */
.hero--services {
  position: relative;
  overflow: hidden;
}

.hero--services::after {
  content: 'BETHEL';
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: 8.5rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--green);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.hero--centered {
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero--centered .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero--about .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero__reply-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}

/* Two-col hero variant */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-grid img {
  width: 100%;
  border-radius: 3px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ── 7. Buttons & CTAs ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.8rem 1.75rem;
  /* Minimum 44px tall tap target */
  min-height: 44px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  line-height: 1.2;
}

.btn--primary {
  background-color: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--green-hover);
  color: var(--white);
}

/* White button for use on green hero backgrounds */
.btn--hero {
  background-color: var(--white);
  color: var(--green);
}

.btn--hero:hover {
  background-color: var(--bg);
  color: var(--green);
}

.btn--outline {
  background-color: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

.btn--outline:hover {
  background-color: var(--green);
  color: var(--white);
}

/* Inline text CTA link */
.cta-link {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.cta-link:hover {
  color: var(--green-hover);
}

/* ── 8. Cards ───────────────────────────────────────────── */
.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.card__icon {
  width: 20px;
  height: 20px;
  margin-bottom: 1rem;
  color: var(--gold);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 1rem;
}

.card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}

.card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card__link::after {
  content: '→';
  font-size: 0.8rem;
}

/* ── 8b. Service card variant (P2) ─────────────────────── */
/* Used on "Where We Focus" and Services overview grids.     */
/* Gold top border, transparent bg, no box border.          */
.card--service {
  background-color: transparent;
  border: none;
  border-top: 2px solid var(--gold);
  border-radius: 0;
  padding: 1.5rem 0 0;
}

.card--service h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.card--service p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Hide icon when using service card variant */
.card--service .card__icon {
  display: none;
}

/* Link: plain text, underline on hover only, no arrow */
.card--service .card__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
}

.card--service .card__link::after {
  content: none;
}

.card--service .card__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── 9. Callout / Alert blocks (left-bordered) ──────────── */
.callout {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 3px;
  padding: 1.5rem 1.75rem;
}

.callout h3 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.callout p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── 10. Numbered items (01 / 02 / 03 …) ───────────────── */
/* Desktop: 3-column grid — number / title / body text.     */
.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 0; /* borders handle separation */
}

.numbered-item {
  display: grid;
  grid-template-columns: 10% 28% 1fr;
  gap: 0 2rem;
  align-items: start;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.numbered-item__num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  padding-top: 0.1rem;
}

.numbered-item__title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1.3;
  letter-spacing: 0.02em;
  padding-top: 0.1rem;
}

.numbered-item__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── 11. Checklist (✓ items) ────────────────────────────── */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A15C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ── 12. FAQ accordion-style blocks ─────────────────────── */
.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 1.5rem 1.75rem;
}

.faq-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.faq-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ── 13. Section headings ───────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 0.6rem;
}

/* Short gold accent line centred beneath section h2 titles */
.section-header h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background-color: var(--gold);
  margin: 0.65rem auto 0;
}

.section-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* Gold rule */
.rule {
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--gold);
  margin: 0 auto 1.5rem;
}

.rule--left {
  margin-left: 0;
}

/* Service/article section h2 gold underline accent */
.heading-gold-line::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background-color: var(--gold);
  margin-top: 0.55rem;
}

/* ── 14. Article / Long-form ────────────────────────────── */
.article-header {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.article-body {
  padding: 3rem 0 4rem;
}

.article-body h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.article-body h3 {
  font-size: 1.05rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.article-body p + p {
  margin-top: 1rem;
}

.article-body a:not(.btn) {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:not(.btn):hover {
  color: var(--green-hover);
}

.article-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.article-cta {
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 3px;
  padding: 1.5rem 1.75rem;
  margin-top: 3rem;
}

.article-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.article-cta .btn {
  color: #ffffff;
  text-decoration: none;
}

.article-cta .btn:hover {
  color: #ffffff;
  opacity: 0.9;
}

/* ── 15. Footer ─────────────────────────────────────────── */
.site-footer {
  background-color: var(--green);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.contact-block {
  text-align: center;
  padding: 0 1.5rem 2.5rem;
  max-width: var(--max-wide);
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.8);
}

.contact-block strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.contact-block a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.contact-block a:hover {
  color: var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  max-width: var(--max-wide);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.footer-wordmark__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--white);
  display: block;
}

.footer-wordmark__sub {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-top: 0.35rem;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.75rem;
  line-height: 1.5;
}

.footer-col h4 {
  font-family: var(--serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col li a,
.footer-col p,
.footer-col address {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  font-style: normal;
  line-height: 1.6;
}

.footer-col li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
}

/* ── 16. CTA Banner ─────────────────────────────────────── */
/* Explicitly off-white so it contrasts with dark footer.   */
.cta-banner {
  text-align: center;
  padding: 5rem 0;
  background-color: var(--bg-alt);
}

.cta-banner h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
}

.cta-banner p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-banner .reply-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}

/* ── 17. Services page specifics ────────────────────────── */
.service-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.service-section:last-of-type {
  border-bottom: none;
}

.service-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

/* ── 18. Utility spacing ────────────────────────────────── */
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-6  { margin-top: 3rem; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.mb-6  { margin-bottom: 3rem; }

/* ── 20. Split hero (Home only) ─────────────────────────── */

.hero--split {
  background-color: var(--bg);
  padding: 0;
  overflow: hidden;
}

/* Full-viewport grid — no max-width so the right panel bleeds to edge */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  align-items: stretch;
}

/* ── Left column ── */
.hero-split__content {
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: flex-end; /* push inner toward centre seam */
}

.hero-split__content-inner {
  width: 100%;
  max-width: 580px;
  padding: 6rem 3rem 6rem 2rem;
}

.hero-split__content-inner h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.hero-split__content-inner .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-split__content-inner .hero__reply-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.75rem;
}

/* ── Right column: dark-green panel ── */
.hero-split__panel {
  background-color: var(--green);
  position: relative;
  overflow: hidden;
}

/* Image variant — drop the file in assets/hero-final.webp to activate */
.hero-split__panel.hero-media {
  background-image: url("hero-final.webp");
  background-size: cover;
  background-position: center;
}

/* Dark overlay so corner brackets stay legible over a photo */
.hero-split__panel.hero-media::before {
  background-image: linear-gradient(
    to right,
    rgba(35, 55, 41, 0.55) 0%,
    rgba(35, 55, 41, 0.3) 100%
  );
  z-index: 1;
}

/* Faint diagonal hatching (no-image fallback only) */
.hero-split__panel:not(.hero-media)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 32px,
    rgba(255, 255, 255, 0.025) 32px,
    rgba(255, 255, 255, 0.025) 33px
  );
}

/* Large circle arc — bottom-right, very faint gold */
.hero-split__panel::after {
  content: '';
  position: absolute;
  bottom: -35%;
  right: -20%;
  width: 78%;
  padding-bottom: 78%;
  border-radius: 50%;
  border: 1px solid rgba(201, 161, 92, 0.18);
  z-index: 2;
}

/* Inner wrapper for corner brackets (needs two pseudo-elements of its own) */
.hero-panel-deco {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* Top-left corner bracket */
.hero-panel-deco::before {
  content: '';
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 28px;
  height: 28px;
  border-top: 1.5px solid rgba(201, 161, 92, 0.55);
  border-left: 1.5px solid rgba(201, 161, 92, 0.55);
}

/* Bottom-right corner bracket */
.hero-panel-deco::after {
  content: '';
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 28px;
  height: 28px;
  border-bottom: 1.5px solid rgba(201, 161, 92, 0.55);
  border-right: 1.5px solid rgba(201, 161, 92, 0.55);
}

/* ── "Who this is for" bullets ── */
.hero-bullets {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.hero-bullets__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.hero-bullets ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero-bullets li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.55;
}

.hero-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ── 21. Chapter backgrounds (Home page) ────────────────── */

/* Chapter 2 — Services: bg-alt with barely-visible dot grid */
.chapter--services {
  background-color: var(--bg-alt);
  background-image: radial-gradient(
    circle,
    rgba(35, 55, 41, 0.04) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
}

/* Remove the dot grid at small sizes where it may look noisy */
@media (max-width: 680px) {
  .chapter--services {
    background-image: none;
  }
}

/* Chapter 3 — Why Bethel: dark-green "about" chapter */
.chapter--about {
  background-color: var(--green);
}

.chapter--about .section-header h2 {
  color: var(--white);
}

.chapter--about .section-header p {
  color: rgba(255, 255, 255, 0.62);
}

/* The gold accent line under the heading stays gold — no override needed */

.chapter--about .numbered-item {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.chapter--about .numbered-item__title {
  color: var(--white);
}

.chapter--about .numbered-item__text {
  color: rgba(255, 255, 255, 0.68);
}

/* Chapter 4 — CTA: clean off-white, top rule separates from dark chapter */
.chapter--cta {
  background-color: var(--bg);
  border-top: 1px solid rgba(35, 55, 41, 0.12);
}

/* CTA banner inside chapter inherits bg, no box of its own */
.chapter--cta .cta-banner {
  background-color: transparent;
  padding: 0;
}
.stack { display: flex; flex-direction: column; gap: 1.25rem; }
.stack--lg { gap: 2rem; }

/* ── 19. Responsive ─────────────────────────────────────── */

/* ── Tablet / large mobile (≤ 900px) ───────────────────── */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid .hero-image {
    display: none;
  }

  /* Split hero: collapse to single column, hide decorative panel */
  .hero--split {
    min-height: unset;
  }

  .hero-split {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .hero-split__panel {
    display: none;
  }

  .hero-split__content {
    background-color: var(--bg);
  }

  .hero-split__content-inner {
    max-width: 100%;
    padding: 3.5rem 2rem 3rem;
    justify-content: flex-start;
  }

  .hero-split__content-inner h1 {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .cta-banner {
    padding: 4rem 0;
  }
}

/* ── Mobile nav + layout (≤ 680px) ─────────────────────── */
@media (max-width: 680px) {
  :root {
    --space-xl: 3rem;
    --space-lg: 2.25rem;
  }

  /* Slightly more generous side padding so text never crowds the edge */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Hide desktop nav; show hamburger */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 2.75rem 0 2.25rem;
  }

  /* Prevent overly large headings on small viewports */
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.25rem; }

  /* Article pages */
  .article-header {
    padding: 2.5rem 0 2rem;
  }

  .article-body {
    padding: 2rem 0 2.75rem;
  }

  /* Reduce section-header bottom margin */
  .section-header {
    margin-bottom: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-banner {
    padding: 3rem 0;
  }

  /* Numbered item: 2-col on small screens (num + stacked title/text) */
  .numbered-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 0 1rem;
  }

  .numbered-item__num {
    grid-row: 1 / 3;
  }

  .numbered-item__title {
    align-self: start;
  }

  .numbered-item__text {
    margin-top: 0.35rem;
  }

  .numbered-list {
    gap: 0;
  }
}

/* ── Small phones (≤ 480px) ─────────────────────────────── */
@media (max-width: 480px) {

  /* ── Text: ensure no body-level text drops below 16px ── */
  /* Component text was 0.875–0.9rem; floor to 1rem */
  .card p,
  .card h3,
  .callout p,
  .callout h3,
  .checklist li,
  .numbered-item__title,
  .numbered-item__text {
    font-size: 1rem;
    line-height: 1.75;
  }

  .faq-item p {
    font-size: 0.9375rem; /* 15px */
    line-height: 1.7;
  }

  .faq-item h3 {
    font-size: 1rem;
  }

  /* Article body small text */
  .article-body p,
  .article-body li {
    font-size: 1rem;
  }

  /* ── Buttons: full width in CTA contexts ─────────────── */
  /* Hero, CTA banner, and article CTA buttons span full width
     so they're easy to tap without aiming */
  .hero .btn,
  .cta-banner .btn,
  .article-cta .btn {
    width: 100%;
    text-align: center;
  }

  /* ── Cards: reduce padding so content breathes ───────��─ */
  .card {
    padding: 1.25rem;
  }

  .callout {
    padding: 1.25rem 1.25rem 1.25rem 1rem;
  }

  .faq-item {
    padding: 1.25rem;
  }

  /* ── Section header: tighter on phones ──────────────── */
  .section-header {
    margin-bottom: 1.75rem;
  }

  /* ── CTA banner ──────────────────────────────────────── */
  .cta-banner {
    padding: 2.5rem 0;
  }

  .cta-banner p {
    font-size: 1rem;
  }

  /* ── Hero lead text ──────────────────────────────────── */
  .hero .lead {
    font-size: 1rem;
  }
}
