/* ============================================================
   New Vision Fellowship — Digital Bulletin
   "On-Ramp" visual system: warm editorial — charcoal + warm
   paper + green, four earthy accents. Archivo / Source Serif 4
   / Kaushan Script.
   ============================================================ */

:root {
  /* warm neutrals */
  --ink: #221f1b;          /* primary text */
  --ink-soft: #4a443d;     /* body / secondary */
  --charcoal: #24201d;     /* dark backgrounds */
  --charcoal-2: #2d2823;
  --paper: #faf7f1;        /* main light bg */
  --paper-2: #f1ece2;      /* cards / wells */
  --paper-3: #e9e2d5;
  --line: #e1dacc;         /* hairline (light) */
  --line-dark: #433d36;    /* hairline (on dark) */

  /* brand greens */
  --green: #5f9a32;        /* primary on light */
  --green-deep: #42701f;   /* small text / links on light */
  --green-bright: #74ca33; /* accents on dark */
  --olive: #4a5d2f;
  --olive-deep: #37461f;

  /* four earthy accents (category colors) */
  --chlorophyll: #5d8a3e;       /* green */
  --teal: #347b6f;        /* teal */
  --ochre: #b3852b;         /* ochre */
  --clay: #ae5230;           /* terracotta */
  --ochre-wash: #f5ecd6;
  --clay-wash: #f3e3da;
  --teal-wash: #e0eeec;
  --chlorophyll-wash: #e8f0df;

  --footer-bg: #24201d;
  --footer-text: #b3aa9a;

  --maxw: 1180px;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07);
  --shadow-md: 0 10px 40px rgba(0,0,0,.16);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --font-script: "Kaushan Script", cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.0;
  margin: 0;
  letter-spacing: -0.012em;
}

a { color: var(--green-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* kicker (green uppercase) + eyebrow (olive) */
.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 11px;
  font-weight: 800;
  color: var(--green-deep);
}
.script { font-family: var(--font-script); font-weight: 400; letter-spacing: 0; }

/* base icon sizing so an uncontextualized icon never balloons */
.ico { width: 18px; height: 18px; flex: 0 0 auto; display: inline-block; vertical-align: middle; }

/* recurring header motif: kicker + title + 54px rule bar */
.rule-bar { width: 54px; height: 3px; border-radius: 2px; background: var(--green); margin: 16px auto 0; }
.rule-bar.left { margin-left: 0; margin-right: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s;
  text-decoration: none; line-height: 1; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green-deep); color: #fff; box-shadow: 0 2px 12px rgba(66,112,31,.28); }
.btn-primary:hover { background: #375d19; }
.btn-outline { background: transparent; color: var(--green-deep); border-color: var(--green-deep); }
.btn-outline:hover { border-color: var(--green-deep); background: var(--paper-2); }
.btn-gold { background: var(--ochre); color: #2e2208; }
.btn-lg { padding: 16px 30px; font-size: 15px; }
.btn .ico { width: 16px; height: 16px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,247,241,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand-logo img { height: 46px; width: auto; }
.brand-logo .logo-dark { display: none; }
body.dark .brand-logo .logo-light { display: none; }
body.dark .brand-logo .logo-dark { display: block; }

.hamburger { display: inline-flex; flex-direction: column; gap: 7px; background: none; border: none; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 30px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .2s ease; }

.header-right { display: flex; align-items: center; gap: 14px; }

/* theme toggle */
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: background .15s, color .15s, border-color .15s; flex: 0 0 auto; }
.theme-toggle:hover { border-color: var(--green); color: var(--green-deep); }
.theme-toggle svg { width: 19px; height: 19px; }

/* ---- DESKTOP nav ---- */
.main-nav { display: flex; align-items: center; gap: 14px; }
.nav-root { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-root-item { position: relative; }
.nav-root-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); background: none; border: none; cursor: pointer; padding: 9px 11px; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: color .15s, background .15s; }
.nav-root-link:hover { color: var(--green-deep); background: var(--paper-2); text-decoration: none; }
.nav-plus { width: 12px; height: 12px; position: relative; display: inline-block; opacity: .7; }
.nav-plus::before, .nav-plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.nav-plus::before { left: 50%; top: 1px; width: 2px; height: 10px; transform: translateX(-50%); transition: transform .25s ease, opacity .2s ease; }
.nav-plus::after { top: 50%; left: 1px; height: 2px; width: 10px; transform: translateY(-50%); }
.nav-root-item:hover .nav-plus::before, .nav-root-item:focus-within .nav-plus::before { opacity: 0; transform: translateX(-50%) rotate(90deg); }

.nav-dropdown { position: absolute; top: calc(100% + 6px); right: 0; min-width: 234px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md); padding: 10px; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease; z-index: 70; }
.nav-root-item:hover .nav-dropdown, .nav-root-item:focus-within .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-inner { display: flex; flex-direction: column; gap: 1px; }
.nav-dd-link { display: block; font-family: var(--font-body); font-size: 15px; color: var(--ink-soft); padding: 9px 12px; border-radius: 8px; white-space: nowrap; }
.nav-dd-link:hover { background: var(--paper-2); color: var(--green-deep); text-decoration: none; }
.nav-dd-group { padding: 4px 0 2px; }
.nav-dd-heading { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; color: var(--green-deep); font-weight: 800; padding: 8px 12px 4px; }
.nav-dd-link.sub { padding-left: 24px; }
.nav-give { padding: 11px 20px; font-size: 13px; }

/* ---- MOBILE full-screen modal ---- */
.nav-modal { position: fixed; inset: 0; z-index: 120; background: var(--paper); opacity: 0; visibility: hidden; pointer-events: none; transform: scale(1.02); transition: opacity .3s ease, transform .3s ease; display: flex; flex-direction: column; }
.nav-modal.open { opacity: 1; visibility: visible; pointer-events: auto; transform: scale(1); }
.nav-modal-bar { display: flex; align-items: center; justify-content: space-between; height: 78px; padding: 0 24px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.nav-modal-logo { height: 42px; width: auto; }
.nav-modal .logo-dark { display: none; }
body.dark .nav-modal .logo-light { display: none; }
body.dark .nav-modal .logo-dark { display: block; }
.nav-close { width: 46px; height: 46px; display: grid; place-items: center; border: none; background: none; color: var(--ink); cursor: pointer; border-radius: 50%; margin-right: -8px; transition: background .15s, color .15s; }
.nav-close:hover { background: var(--paper-2); color: var(--green-deep); }
.nav-close svg { width: 26px; height: 26px; }
.nav-modal-scroll { flex: 1; overflow-y: auto; padding: 8px 24px 64px; -webkit-overflow-scrolling: touch; }
.m-nav { list-style: none; margin: 0 auto; padding: 0; max-width: 680px; }
.m-item { border-bottom: 1px solid var(--line); }
.m-link { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(25px, 6.5vw, 33px); letter-spacing: -.01em; color: var(--ink); background: none; border: none; cursor: pointer; padding: 17px 2px; text-align: left; text-decoration: none; line-height: 1.1; }
.m-link:hover { color: var(--green-deep); text-decoration: none; }
.m-caret { width: 25px; height: 25px; flex: 0 0 auto; color: var(--green); transition: transform .3s ease; }
.m-item.open .m-caret { transform: rotate(90deg); }
.m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.4,0,.2,1); }
.m-item.open .m-sub { grid-template-rows: 1fr; }
.m-sub-inner { overflow: hidden; min-height: 0; }
.m-sub > .m-sub-inner { padding-left: 4px; }
.m-item.open > .m-sub > .m-sub-inner { padding-bottom: 12px; }
.m-sublink { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--font-body); font-size: 18px; color: var(--ink-soft); padding: 11px 2px 11px 18px; border: none; background: none; width: 100%; text-align: left; cursor: pointer; text-decoration: none; }
.m-sublink:hover { color: var(--green-deep); text-decoration: none; }
.m-sublink.overview { font-style: italic; color: var(--muted); font-size: 16px; }
.m-trigger3 { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 19px; }
.m-caret3 { width: 19px; height: 19px; color: var(--green); transition: transform .3s ease; flex: 0 0 auto; }
.m-sub2.open .m-caret3 { transform: rotate(90deg); }
.m-sub3 { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.m-sub2.open .m-sub3 { grid-template-rows: 1fr; }
.m-sublink.lvl3 { font-size: 16px; padding-left: 34px; color: var(--muted); }

@media (max-width: 1040px) { .main-nav { display: none; } }
@media (min-width: 1041px) { .hamburger { display: none; } .nav-modal { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: 66px 0 58px; }
.hero-mark { position: absolute; top: 50%; left: 50%; transform: translate(-46%, -50%); width: 124%; pointer-events: none; z-index: 2; opacity: .5; }
.hero-mark.hero-mark-cross { width: 58%; }
.hero-mark.hero-mark-both { width: 132%; }
.hero-mark svg { width: 100%; height: auto; display: block; }
.hero-mark path, .hero-mark line, .hero-mark rect { stroke: #d6cdba; }

.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow { text-align: center; margin-bottom: 16px; position: relative; z-index: 3; }
.hero-title { text-align: center; font-size: clamp(50px, 9vw, 106px); font-weight: 900; letter-spacing: -0.02em; line-height: .96; margin-bottom: 42px; color: var(--ink); position: relative; z-index: 3; }
.hero-title em { font-style: normal; color: var(--green); }

.hero-cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: center; }
.hero-photo-frame { position: relative; }
.hero-photo { position: relative; z-index: 1; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3 / 2; background: #0a1430; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: filter .4s ease; }
.hero-photo.grayscale img { filter: grayscale(1) contrast(1.05) brightness(.98); }

.hero-copy { position: relative; z-index: 3; }
.hero-copy .lead-script { font-family: var(--font-script); color: var(--green); font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; margin-bottom: 18px; display: block; }
.hero-copy p { font-family: var(--font-body); font-size: 18px; color: var(--ink-soft); margin: 0 0 26px; max-width: 46ch; line-height: 1.58; font-weight: 500; }
.hero-copy .accent-word { color: var(--green-deep); font-weight: 700; font-family: var(--font-display); font-size: .96em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { scroll-margin-top: 90px; }
.section-soft { background: var(--paper-2); }
.pad { padding: 66px 0; }
.pad-sm { padding: 46px 0; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(32px, 4vw, 40px); }
.section-head .eyebrow { display: block; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 17.5px; margin: 14px 0 0; font-weight: 500; }

/* ============================================================
   WELCOME ACCORDION
   ============================================================ */
.accordion { max-width: 860px; margin: 0 auto; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item:first-child { border-top: 1px solid var(--line); }
.acc-trigger { width: 100%; background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 25px 8px; text-align: left; font-family: var(--font-display); color: var(--ink); }
.acc-trigger:hover .acc-title { color: var(--green-deep); }
.acc-caret { flex: 0 0 auto; width: 22px; height: 22px; color: var(--green); transition: color .2s ease; }
.acc-title { font-size: clamp(23px, 3vw, 29px); font-weight: 800; flex: 1; transition: color .15s; letter-spacing: -.01em; }
.acc-meta { font-size: 11px; color: var(--olive); font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }

.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s cubic-bezier(.4,0,.2,1); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }
.acc-body { overflow: hidden; min-height: 0; padding: 4px 8px 0 56px; }
.acc-item.open .acc-body { padding-bottom: 36px; }
.acc-body > p { margin-top: 0; color: var(--ink-soft); }
@media (max-width: 640px) { .acc-body { padding-left: 8px; } }

/* Welcome panel — user-facing green toggle (persisted via localStorage) */
.welcome-toolbar { max-width: 860px; margin: 0 auto 16px; display: flex; justify-content: flex-end; }
.panel-toggle { display: inline-flex; align-items: center; gap: 9px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 15px 7px 9px; font-family: var(--font-display); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.panel-toggle:hover { border-color: var(--green); color: var(--green-deep); }
.panel-toggle .pt-swatch { width: 20px; height: 20px; border-radius: 50%; flex: 0 0 auto; background: #335a1f; border: 2px solid #bfe39a; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
/* on the active green panel the toggle recolors so it stays legible */
.welcome-green .panel-toggle { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #f2f7ec; }
.welcome-green .panel-toggle:hover { background: rgba(255,255,255,.22); color: #fff; }
.welcome-green .panel-toggle .pt-swatch { background: #bfe39a; border-color: #f2f7ec; }


/* A: personalization */
.greet-card { display: flex; align-items: center; gap: 18px; background: var(--chlorophyll-wash); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 22px; border: 1px solid #d2e0c4; border-left: 5px solid var(--chlorophyll); }
.greet-avatar { width: 58px; height: 58px; border-radius: 50%; flex: 0 0 auto; background: var(--green-deep); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-size: 24px; font-weight: 800; overflow: hidden; }
.greet-avatar img { width: 100%; height: 100%; object-fit: cover; }
.greet-text h4 { font-size: 21px; margin-bottom: 4px; font-weight: 800; }
.greet-text .cheer { font-family: var(--font-script); color: var(--green-deep); font-size: 19px; line-height: 1.25; margin: 0; }
.guest-prompt { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--paper-2); border: 1px dashed var(--line); border-left: 5px solid var(--green); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 22px; }
.guest-prompt p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.guest-prompt a { font-weight: 700; font-family: var(--font-display); font-size: 15px; }

/* B: order of service */
.order-list { list-style: none; margin: 0 0 28px; padding: 0; }
.order-list li { display: flex; gap: 16px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.order-list li:last-child { border-bottom: none; }
.order-num { font-family: var(--font-display); color: var(--green); font-size: 14px; font-weight: 900; width: 26px; flex: 0 0 auto; }
.order-main { flex: 1; }
.order-main .ttl { font-family: var(--font-display); font-size: 18px; color: var(--ink); font-weight: 800; }
.order-main .sub { font-size: 15.5px; color: var(--ink-soft); font-family: var(--font-body); }
.order-main .order-detail { display: block; font-size: 14px; font-style: italic; opacity: .78; margin-top: 3px; line-height: 1.45; }
.order-tag { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: #fff; background: var(--clay); padding: 4px 10px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; align-self: center; }
.spotify-wrap { margin-top: 8px; border-radius: 12px; overflow: hidden; }
.spotify-label { font-size: 12px; color: var(--olive); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }

/* D: announcements */
.ann-list { display: flex; flex-direction: column; gap: 16px; }
.ann { border: 1px solid var(--line); border-left: 4px solid var(--chlorophyll); border-radius: var(--radius); padding: 20px 22px; background: var(--paper-2); box-shadow: var(--shadow-sm); }
.ann h4 { font-size: 19px; margin-bottom: 5px; font-weight: 800; }
.ann .blurb { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 12px; }
.ann-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 12px; padding: 0; list-style: none; }
.ann-facts li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--olive); font-family: var(--font-display); font-weight: 600; letter-spacing: .02em; }
.ann-facts .ico { width: 15px; height: 15px; color: var(--green); }
.ann-more { font-size: 12.5px; font-weight: 700; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; display: inline-flex; align-items: center; gap: 6px; }

.ann.has-chip { display: flex; gap: 18px; align-items: flex-start; border-left-color: var(--teal); }
.date-chip { flex: 0 0 auto; width: 64px; text-align: center; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.date-chip .mo { background: var(--teal); color: #fff; font-family: var(--font-display); font-size: 11px; letter-spacing: .14em; padding: 4px 0; text-transform: uppercase; font-weight: 700; }
.date-chip .dy { font-family: var(--font-display); font-size: 28px; color: var(--ink); padding: 6px 0 8px; line-height: 1; font-weight: 900; background: #fff; }

.ann.featured { border: none; border-left: none; padding: 0; overflow: hidden; }
.ann.featured .band { background: var(--ochre); color: #2e2208; padding: 8px 22px; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.ann.featured .feat-body { border: 1px solid var(--ochre); border-top: none; border-radius: 0 0 var(--radius) var(--radius); padding: 20px 22px; background: var(--ochre-wash); }
.ann.featured.clay .band { background: var(--clay); color: #fff; }
.ann.featured.clay .feat-body { border-color: var(--clay); background: var(--clay-wash); }
.ann.featured .feat-body.has-chip { display: flex; gap: 18px; align-items: flex-start; }
.ann.featured .feat-body.has-chip .feat-main { flex: 1; }
.ann.featured .date-chip .mo { background: var(--ochre); color: #2e2208; }
.ann.featured.clay .date-chip .mo { background: var(--clay); color: #2e2208; }
.ann.featured h4 { font-size: 22px; }

.ann-compact { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.ann-compact .crow { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.ann-compact .crow:last-child { border-bottom: none; }
.ann-compact .cday { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); width: 100px; flex: 0 0 auto; }
.ann-compact .cname { flex: 1; font-size: 16px; color: var(--ink); font-family: var(--font-body); }
.ann-compact .ctime { font-size: 13px; color: var(--olive); font-family: var(--font-display); font-weight: 600; }
.style-label { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--olive); font-family: var(--font-display); font-weight: 800; margin: 24px 0 10px; display: flex; align-items: center; gap: 10px; }
.style-label::before, .style-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* next steps */
.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.next-card { border: 1px solid var(--line); border-top: 4px solid var(--chlorophyll); border-radius: var(--radius); padding: 20px; background: var(--paper-2); transition: border-color .15s, transform .12s, box-shadow .15s; display: block; }
.next-card:nth-child(2) { border-top-color: var(--teal); }
.next-card:nth-child(3) { border-top-color: var(--clay); }
.next-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.next-card .nc-ico { width: 32px; height: 32px; color: var(--green-deep); margin-bottom: 12px; }
.next-card h4 { font-size: 18px; margin-bottom: 5px; font-weight: 800; }
.next-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.next-reg { background: var(--chlorophyll-wash); border-radius: var(--radius); padding: 20px 22px; margin: 6px 0 22px; border: 1px solid #d2e0c4; border-left: 5px solid var(--chlorophyll); }
.next-reg .rsub { font-size: 14.5px; color: var(--ink-soft); margin: 4px 0 16px; }
.reg-btns { display: flex; flex-direction: column; gap: 10px; }
.reg-btns a { justify-content: flex-start; }

/* my info */
.info-links { display: flex; flex-direction: column; gap: 2px; }
.info-link { display: flex; align-items: center; gap: 12px; padding: 15px 4px; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 16.5px; color: var(--ink); font-weight: 600; }
.info-link:last-child { border-bottom: none; }
.info-link:hover { color: var(--green-deep); text-decoration: none; }
.info-link .ico { width: 19px; height: 19px; color: var(--green); }
.info-link .chev { margin-left: auto; color: var(--line); width: 16px; height: 16px; }

/* give */
.give-verse { font-family: var(--font-body); border-left: 3px solid var(--green); padding-left: 18px; color: var(--olive); font-style: italic; margin: 18px 0; font-size: 16.5px; }

/* ============================================================
   LIFE GROUP PROMO
   ============================================================ */
.promo { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.promo-img { height: 350px; background: var(--paper-3); overflow: hidden; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; display: block; }
.promo-body { background: var(--olive-deep); color: #fff; padding: 50px 46px; display: flex; flex-direction: column; justify-content: center; }
.promo-body .eyebrow { color: var(--green-bright); }
.promo-body h2 { color: #fff; font-size: clamp(28px, 3.4vw, 38px); margin: 12px 0 0; }
.promo-body .rule-bar { background: var(--green-bright); margin-top: 16px; margin-bottom: 18px; }
.promo-body p { color: #d8e3cc; font-size: 17px; margin: 0 0 26px; font-family: var(--font-body); line-height: 1.55; }
.promo-body .btn-light { background: var(--green-bright); color: #1c2a13; align-self: flex-start; }
.promo-body .btn-light:hover { background: #84da43; }

/* ============================================================
   PRAYER FORM
   ============================================================ */
.prayer-card { max-width: 720px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-size: 12px; color: var(--ink); font-weight: 700; margin-bottom: 7px; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink); padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(95,154,50,.18); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check-row { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 15px; color: var(--ink-soft); }
.check-row input { width: 18px; height: 18px; accent-color: var(--green-deep); }
.check-row label { font-family: var(--font-body); }
.iframe-note { font-size: 13.5px; color: var(--olive); margin-top: 18px; text-align: center; font-family: var(--font-body); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 58px 0 34px; margin-top: 8px; }
.footer-top { border-top: 1px solid var(--line-dark); padding-top: 46px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-logo img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-logo p { font-family: var(--font-script); color: var(--green-bright); max-width: 18ch; margin: 0; font-size: 21px; line-height: 1.2; }
.footer-col h4 { color: #fff; font-family: var(--font-display); font-size: 12px; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; margin-bottom: 16px; }
.footer-col a { color: var(--footer-text); display: block; padding: 6px 0; font-size: 15.5px; font-family: var(--font-body); }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col address { font-style: normal; font-size: 15.5px; line-height: 1.7; font-family: var(--font-body); }
.footer-col address a { display: inline; padding: 0; }
.footer-social { display: flex; flex-direction: column; gap: 10px; }
.footer-social a { display: flex; align-items: center; gap: 10px; }
.footer-social .ico { width: 19px; height: 19px; color: var(--green-bright); }
.footer-live a { color: #fff; font-family: var(--font-display); font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .06em; }
.footer-live .dot { width: 9px; height: 9px; border-radius: 50%; background: #e34a4a; box-shadow: 0 0 0 0 rgba(227,74,74,.6); animation: livepulse 2s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(227,74,74,.55);} 70%{ box-shadow: 0 0 0 8px rgba(227,74,74,0);} 100%{ box-shadow:0 0 0 0 rgba(227,74,74,0);} }
.footer-bottom { border-top: 1px solid var(--line-dark); margin-top: 46px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8a8070; font-family: var(--font-body); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-cols { grid-template-columns: 1fr; gap: 30px; }
  .promo { grid-template-columns: 1fr; }
  .promo-img { height: 350px; background: var(--paper-3); overflow: hidden; }
  .promo-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-logo { grid-column: 1 / -1; }
  .nav-grid { grid-template-columns: 1fr 1fr; gap: 4px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 42px 0 36px; }
  .hero-photo-frame { margin: 0 -24px; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; }
  .pad { padding: 50px 0; }
  .field-row { grid-template-columns: 1fr; }
  .nav-grid { grid-template-columns: 1fr; }
  .prayer-card { padding: 24px; }
  .promo-body { padding: 34px 26px; }
  .ann.has-chip { flex-direction: row; }
}

/* ============================================================
   DARK THEME
   Add class "dark" to <body> (or the .digital-bulletin wrapper in Rock)
   to switch. Remaps the design tokens + the few hard-coded colors.
   ============================================================ */
body.dark {
  --ink: #f1ece3;
  --ink-soft: #cbc4b6;
  --muted: #968d7e;

  --paper: #1b1815;
  --paper-2: #25221e;
  --paper-3: #312d27;
  --line: #38332c;
  --line-dark: #2a2620;

  --green: #76c43e;
  --green-deep: #93d86a;   /* links + small accents on dark */
  --green-bright: #7fd142;
  --olive: #a3b683;
  --olive-deep: #34431d;

  --chlorophyll: #79ad4d;
  --teal: #45a394;
  --ochre: #cf9f3f;
  --clay: #cf6a44;
  --chlorophyll-wash: #1c2715;
  --teal-wash: #11201e;
  --ochre-wash: #2a2310;
  --clay-wash: #2a1a13;

  --footer-bg: #141210;
  --footer-text: #a89e8e;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.35);
  --shadow-md: 0 12px 44px rgba(0,0,0,.5);

  background: var(--paper);
}

/* hard-coded colors that variables don't cover */
body.dark .site-header { background: rgba(24,21,18,.9); }
body.dark .hero-mark path,
body.dark .hero-mark line,
body.dark .hero-mark rect { stroke: rgba(233,238,226,.5); }
body.dark .hero-photo { background: #05080f; }

body.dark .greet-card,
body.dark .next-reg { border-color: rgba(121,173,77,.32); }
body.dark .greet-avatar { background: var(--green-bright); color: #15240a; }

body.dark .btn-primary { background: var(--green-bright); color: #15240a; box-shadow: 0 2px 14px rgba(127,209,66,.22); }
body.dark .btn-primary:hover { background: #8fdd55; }

body.dark .date-chip .dy { background: var(--paper-3); color: var(--ink); }

body.dark .prayer-card { background: #2a2622; }
body.dark .field input,
body.dark .field textarea { background: #1c1916; border-color: #423c34; color: var(--ink); }

/* the promo + footer are dark-on-dark already; keep their light text */
body.dark .promo-body,
body.dark .footer-col h4,
body.dark .footer-col a:hover,
body.dark .footer-live a { color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  body.dark .hero-photo img { filter: brightness(.95) contrast(1.02); }
  body.dark .hero-photo.grayscale img { filter: grayscale(1) brightness(.9) contrast(1.05); }
}

/* ============================================================
   WELCOME PANEL — GREEN VARIANT (tweak / explore)
   Light theme: deep green panel + light text.
   Dark theme:  same deep green panel + light text (matches light theme).
   Cards inside keep their own backgrounds and read as cards on green.
   ============================================================ */
body:not(.dark) .welcome-green { background: #335a1f; }
body.dark .welcome-green { background: #335a1f; }

/* light theme — light text on deep green */
body:not(.dark) .welcome-green .section-head h2,
body:not(.dark) .welcome-green .acc-title,
body:not(.dark) .welcome-green .acc-body,
body:not(.dark) .welcome-green .acc-body p,
body:not(.dark) .welcome-green .acc-body strong,
body:not(.dark) .welcome-green .order-main .ttl,
body:not(.dark) .welcome-green .order-main .sub,
body:not(.dark) .welcome-green .give-verse,
body:not(.dark) .welcome-green .info-link { color: #f2f7ec; }
body:not(.dark) .welcome-green .eyebrow,
body:not(.dark) .welcome-green .acc-caret,
body:not(.dark) .welcome-green .acc-meta,
body:not(.dark) .welcome-green .order-num,
body:not(.dark) .welcome-green .info-link .ico { color: #bfe39a; }
body:not(.dark) .welcome-green .rule-bar { background: #bfe39a; }
body:not(.dark) .welcome-green .give-verse { border-left-color: #bfe39a; }
body:not(.dark) .welcome-green .acc-item,
body:not(.dark) .welcome-green .acc-item:first-child,
body:not(.dark) .welcome-green .order-list li,
body:not(.dark) .welcome-green .info-link { border-color: rgba(255,255,255,.18); }
body:not(.dark) .welcome-green .info-link .chev { color: rgba(255,255,255,.4); }
body:not(.dark) .welcome-green .acc-body p.blurb {color:var(--ink);}

/* dark theme — dark text on lighter green */
body.dark .welcome-green .section-head h2,
body.dark .welcome-green .acc-title,
body.dark .welcome-green .acc-body,
body.dark .welcome-green .acc-body p,
body.dark .welcome-green .acc-body strong,
body.dark .welcome-green .order-main .ttl,
body.dark .welcome-green .order-main .sub,
body.dark .welcome-green .give-verse,
body.dark .welcome-green .info-link { color: #f2f7ec; }
body.dark .welcome-green .eyebrow,
body.dark .welcome-green .acc-caret,
body.dark .welcome-green .acc-meta,
body.dark .welcome-green .order-num,
body.dark .welcome-green .info-link .ico { color: #bfe39a; }
body.dark .welcome-green .rule-bar { background: #bfe39a; }
body.dark .welcome-green .give-verse { border-left-color: #bfe39a; }
body.dark .welcome-green .acc-item,
body.dark .welcome-green .acc-item:first-child,
body.dark .welcome-green .order-list li,
body.dark .welcome-green .info-link { border-color: rgba(255,255,255,.18); }
body.dark .welcome-green .info-link .chev { color: rgba(255,255,255,.4); }
