/* =====================================================================
   EPCC 3.0 design system — one stylesheet for public site, My EPCC, and Admin.
   Replaces the 30 layered 2.x stylesheets. Legacy class names still rendered by
   unchanged 2.x screens are styled in the "Legacy components" sections.
   ===================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
/* Mountain Modern: DM Serif Display for editorial headings, Inter (variable) for UI and body. */
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-serif-display-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/dm-serif-display-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin-wght-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  /* Mountain Modern palette (shared by the public site, EPCC+ and Admin). */
  --navy: #183247;          /* Deep Mountain Navy — dominant brand color */
  --navy-900: #10222f;
  --navy-800: #142a3b;
  --navy-700: #23435c;
  --navy-600: #2e526d;
  --slate: #6f8998;         /* Blue Ridge Slate */
  --slate-700: #4f6876;     /* slate dark enough for small text on white */
  --slate-300: #b4c3cc;
  --slate-100: #e2e9ed;
  --clay: #b85c3d;          /* Appalachian Clay — accent */
  --clay-700: #9c4a2e;      /* clay for text on white (AA) */
  --clay-100: #f7e9e3;
  --laurel: #6e806c;        /* Laurel Green — supporting accent */
  --laurel-700: #4d6150;    /* laurel for buttons/text on white (AA) */
  --laurel-100: #e8eee7;
  --charcoal: #202426;
  --mist: #eef1f2;          /* Mist Gray */
  --white: #ffffff;

  /* Legacy token names, remapped to the palette so every existing rule follows the brand. */
  --spruce: var(--navy);
  --spruce-900: var(--navy-900);
  --spruce-700: var(--navy-700);
  --spruce-100: #dbe4ea;
  --spruce-50: #eef2f4;
  --ridge: var(--slate-700);
  --ridge-100: #e7edf0;
  --ridge-300: var(--slate-300);
  --meadow: var(--laurel-700);
  --meadow-100: var(--laurel-100);
  --gold: var(--clay);
  --gold-300: #dca48f;
  --gold-100: var(--clay-100);
  --danger: #b3261e;
  --danger-100: #fbe9e7;
  --warning: #8a5a00;
  --warning-100: #fbf0d9;
  --ink: var(--charcoal);
  --ink-2: #3b4449;
  --muted: #5b666c;
  --line: #d6dee2;
  --line-2: #e7ecee;
  --stone: var(--mist);     /* app/admin page background */
  --surface: #ffffff;
  --focus: #1f63b5;

  --font-head: "DM Serif Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.75rem;
  --step-4: clamp(1.9rem, 1.45rem + 1.7vw, 2.75rem);
  --step-5: clamp(2.3rem, 1.6rem + 3vw, 3.9rem);
  --step-6: clamp(2.6rem, 1.7rem + 4.2vw, 4.75rem);

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(16, 34, 47, 0.06), 0 1px 1px rgba(16, 34, 47, 0.03);
  --shadow-2: 0 14px 36px rgba(16, 34, 47, 0.14);
  --shadow-card: 0 1px 2px rgba(16, 34, 47, 0.05), 0 6px 20px rgba(16, 34, 47, 0.06);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --tap: 48px;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body[data-area="public"] { font-size: 1.0625rem; background: var(--surface); }
body.no-scroll, body.menu-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.1; color: var(--navy); margin: 0 0 0.5em; letter-spacing: -0.005em; text-wrap: balance; }
h3 { line-height: 1.2; letter-spacing: 0; }
h4 { font-family: var(--font-body); font-weight: 650; line-height: 1.3; letter-spacing: -0.005em; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--spruce); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--spruce-900); text-decoration-thickness: 2px; }
strong, b { font-weight: 700; }
ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.hidden { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--spruce); color: #fff; padding: 12px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.i-sm { width: 1em; height: 1em; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.lead { font-size: var(--step-1); color: var(--ink-2); max-width: 60ch; }
.kicker { font-weight: 700; color: var(--ridge); font-size: var(--step--1); margin: 0 0 0.5rem; letter-spacing: 0.01em; }
.eyebrow { font-weight: 700; color: var(--ridge); font-size: var(--step--1); margin: 0 0 0.35rem; }
.wrap, .container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 820px; }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--ridge-100); border-radius: var(--r); padding: 12px 14px; color: var(--ink-2); }
.hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: var(--step--1); }
.empty-note { color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); padding: 18px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--surface); --fg: var(--spruce); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 44px; padding: 0.55em 1.1em; border-radius: 10px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { text-decoration: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-dark, .btn-primary { --bg: var(--spruce); --fg: #fff; --bd: var(--spruce); }
.btn-dark:hover, .btn-primary:hover { --bg: var(--spruce-900); --bd: var(--spruce-900); color: #fff; }
.btn-light { --bg: var(--surface); --fg: var(--spruce); --bd: #c3cbc5; }
.btn-light:hover { --bg: var(--spruce-50); --bd: var(--spruce); color: var(--spruce); }
.btn-quiet { --bg: transparent; --fg: var(--spruce); --bd: transparent; }
.btn-quiet:hover { --bg: var(--spruce-50); }
.btn-danger { --bg: var(--surface); --fg: var(--danger); --bd: #e0b4ad; }
.btn-danger:hover { --bg: var(--danger); --fg: #fff; --bd: var(--danger); color: #fff; }
.btn-danger-solid { --bg: var(--danger); --fg: #fff; --bd: var(--danger); }
.btn-gold { --bg: var(--gold-300); --fg: var(--spruce-900); --bd: var(--gold-300); }
.btn-gold:hover { --bg: #d8b261; color: var(--spruce-900); }
.btn-outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.7); }
.btn-outline-light:hover { --bg: rgba(255,255,255,.12); color: #fff; }
.btn-lg { min-height: 52px; padding: 0.7em 1.4em; font-size: 1.0625rem; }
.btn-sm { min-height: 40px; padding: 0.4em 0.85em; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); }
.icon-button:hover { border-color: var(--spruce); color: var(--spruce); }
.icon-button:disabled { opacity: 0.45; cursor: not-allowed; }
.icon-button.on-dark { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.35); color: #fff; }
.link-button, .link-btn { background: none; border: 0; padding: 6px 0; color: var(--spruce); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 40px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-bottom: 16px; background: none; border: 0; color: var(--spruce); padding: 8px 0; min-height: 44px; }

/* ---------- Chips & status ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 0.9375rem; font-weight: 700; color: var(--ink-2); vertical-align: middle; }
button.chip:hover { border-color: var(--spruce); }
.chip.is-active { background: var(--spruce); color: #fff; border-color: var(--spruce); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.chip-danger { background: var(--danger-100); color: var(--danger); border-color: transparent; min-height: 0; padding: 2px 10px; font-size: 0.8125rem; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; line-height: 1.4; background: var(--ridge-100); color: var(--ridge); white-space: nowrap; }
.badge.ok, .status.approved, .status.confirmed, .status.completed { background: var(--meadow-100); color: #35562a; }
.badge.warn, .status.pending { background: var(--warning-100); color: var(--warning); }
.badge.bad, .status.cancelled, .status.suspended { background: var(--danger-100); color: var(--danger); }
.badge.info { background: var(--ridge-100); color: #34495a; }
.badge.neutral { background: #eef0ed; color: var(--ink-2); }
.badge.gold { background: var(--gold-100); color: #7a5509; }
.status { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 0.8125rem; font-weight: 700; background: #eef0ed; color: var(--ink-2); text-transform: capitalize; white-space: nowrap; }

/* ---------- Forms ---------- */
.field { margin: 0 0 18px; display: grid; gap: 6px; }
.field > label, .field-label { font-weight: 700; color: var(--ink); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; }
.field-hint { font-weight: 400; color: var(--muted); font-size: 0.9375rem; }
.req { color: var(--danger); }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]), select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #b9c2bc; border-radius: 10px; background: var(--surface); font-size: 1rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
select { padding-right: 36px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233a433e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(27, 95, 176, .22); }
input[aria-invalid=true], select[aria-invalid=true], textarea[aria-invalid=true] { border-color: var(--danger); }
input:disabled, select:disabled, textarea:disabled { background: #eef0ed; color: var(--muted); }
input[type=checkbox], input[type=radio] { width: 22px; height: 22px; accent-color: var(--spruce); margin: 0; flex: none; }
.field-error { color: var(--danger); font-weight: 700; font-size: 0.9375rem; margin: 0; }
.field-row, .form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 16px; }
.check-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; cursor: pointer; line-height: 1.45; }
.check-row input { margin-top: 2px; }
.form-status { color: var(--danger); font-weight: 700; display: flex; gap: 8px; align-items: flex-start; }
.form-status:empty { display: none; }
.form-status { margin: 0 0 14px; }
.search-field { position: relative; display: block; min-width: min(100%, 320px); }
.search-field .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field input { padding-left: 42px !important; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-weight: 700; padding: 0; margin-bottom: 8px; }

/* ---------- Notices, toasts, dialogs ---------- */
.notice { background: var(--spruce-50); border: 1px solid var(--spruce-100); border-left: 4px solid var(--spruce); border-radius: var(--r-sm); padding: 12px 16px; color: var(--ink-2); margin: 0 0 14px; }
.notice.warning, .notice.warn { background: var(--warning-100); border-color: #f0dcae; border-left-color: var(--warning); }
.notice.error { background: var(--danger-100); border-color: #efc9c2; border-left-color: var(--danger); }
.notice.info { background: var(--ridge-100); border-color: #d2dde5; border-left-color: var(--ridge); }
.notice > .i { display: inline; vertical-align: -3px; margin-right: 6px; }
.toasts { position: fixed; z-index: 2000; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 8px; width: min(560px, calc(100vw - 24px)); pointer-events: none; }
body[data-area="member"] .toasts { bottom: calc(88px + env(safe-area-inset-bottom)); }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 12px; background: var(--spruce-900); color: #fff; box-shadow: var(--shadow-2); font-weight: 700; animation: toastIn .18s ease-out; }
.toast span { flex: 1; }
.toast-error { background: #7d2a1f; }
.toast-success { background: var(--spruce); }
.toast .toast-close { background: none; border: 0; color: #fff; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; opacity: .8; }
.toast .toast-action { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.4); color: #fff; border-radius: 8px; padding: 6px 12px; font-weight: 700; }
.toast.leaving { opacity: 0; transition: opacity .18s; }
@keyframes toastIn { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.dialog-backdrop { position: fixed; inset: 0; background: rgba(20, 30, 25, .55); z-index: 1500; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
.dialog { background: var(--surface); border-radius: var(--r-lg); width: min(520px, 100%); box-shadow: var(--shadow-2); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; }
.dialog.wide { width: min(820px, 100%); }
.dialog.xwide { width: min(1100px, 100%); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px 8px; }
.dialog-head h2 { font-size: var(--step-2); margin: 0; }
.dialog-body { padding: 8px 20px 16px; overflow-y: auto; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding: 14px 20px 18px; border-top: 1px solid var(--line-2); }
.dialog-message p { color: var(--ink-2); }
@media (max-width: 560px) {
  .dialog-backdrop { place-items: end center; padding: 0; }
  .dialog { border-radius: var(--r-lg) var(--r-lg) 0 0; width: 100%; max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom); }
  .dialog-actions .btn { flex: 1; }
}
.empty-state { text-align: center; padding: 48px 16px; display: grid; justify-items: center; gap: 8px; color: var(--muted); }
.empty-state .i { width: 40px; height: 40px; color: var(--ridge); }
.empty-state h1, .empty-state h2 { color: var(--ink); margin: 6px 0 0; }
.empty-state.big { padding: 80px 16px; }
.spinner, .p227-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--spruce-100); border-top-color: var(--spruce); animation: spin 0.9s linear infinite; margin: 0 auto 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, #eceeea 25%, #f5f6f3 50%, #eceeea 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; border-radius: 8px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* =====================================================================
   PUBLIC SITE
   ===================================================================== */
.site-banner { background: var(--gold-100); border-bottom: 1px solid #ecd9a8; color: #4a3608; }
.site-banner.tone-urgent { background: var(--danger-100); border-color: #efc9c2; color: #5f1f16; }
.site-banner .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; }
.site-banner p { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 1rem; }
.site-banner a { font-weight: 700; color: inherit; }
.site-banner .icon-button { background: transparent; border-color: transparent; color: inherit; width: 40px; height: 40px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line-2); backdrop-filter: saturate(1.4) blur(8px); }
.header-bar { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.site-brand { display: block; flex: none; }
.site-brand img { height: 48px; width: auto; }
.site-nav { flex: 1; display: none; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; }
.site-nav a, .nav-group-toggle { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); font-weight: 700; font-size: 1rem; text-decoration: none; background: none; border: 0; white-space: nowrap; }
.site-nav a:hover, .nav-group-toggle:hover { background: var(--spruce-50); color: var(--spruce); }
.site-nav a.is-current { color: var(--spruce); box-shadow: inset 0 -3px 0 var(--gold-300); border-radius: 8px 8px 0 0; }
.nav-group { position: relative; }
.nav-group-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav-sub { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); }
.nav-group-toggle[aria-expanded="true"] + .nav-sub { display: block; }
.nav-sub a { display: flex; width: 100%; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-login .i { display: none; }
.header-cta { display: none; }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; color: var(--spruce); }
.mobile-nav { border-top: 1px solid var(--line-2); background: var(--surface); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding-bottom: 24px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.mobile-nav li a { display: flex; align-items: center; min-height: 54px; padding: 0 4px; font-size: 1.1875rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-2); }
.mobile-nav li a.is-current { color: var(--spruce); }
.m-group-label { display: block; padding: 18px 4px 4px; color: var(--muted); font-weight: 700; font-size: 0.9375rem; }
.m-group ul { padding: 0; }
.mobile-nav-actions { display: grid; gap: 10px; margin-top: 16px; }
.mobile-nav-times { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--ink-2); }
.mobile-nav-times span { display: grid; gap: 2px; }
@media (min-width: 720px) { .header-cta { display: inline-flex; } .header-login .i { display: block; } }
@media (min-width: 1140px) { .site-nav { display: block; } .menu-toggle { display: none; } .mobile-nav { display: none !important; } }
@media (max-width: 420px) { .site-brand img { height: 40px; } .header-login span { display: none; } .header-login .i { display: block; } .header-login { padding: 0 10px; } .header-bar { gap: 8px; } }

/* sections */
.page { display: block; }
.ps { padding-block: clamp(48px, 7vw, 88px); }
.ps + .ps { padding-top: 0; }
.ps.is-first { padding-top: 0; }
.ps-hero, .ps-module { padding-block: 0 !important; }
.ps-hero + .ps { padding-top: clamp(40px, 6vw, 72px); }
.ps.bg-white { background: var(--surface); padding-top: clamp(48px, 7vw, 88px); }
.ps.bg-white + .ps { padding-top: clamp(48px, 7vw, 88px); }
.section-intro { margin-bottom: 24px; max-width: 760px; }
.section-intro.row-between { max-width: none; }
.section-intro h2 { margin-bottom: 0.25em; }
.intro { color: var(--ink-2); font-size: var(--step-1); max-width: 62ch; }
.rich { max-width: 68ch; }
.rich p, .rich li { color: var(--ink-2); }
.rich h3 { margin-top: 1.4em; }
.rich ul { padding-left: 1.2em; }
.rich li { margin-bottom: 0.5em; }
.rich li::marker { color: var(--meadow); }

/* hero */
.hero { position: relative; overflow: hidden; }
.ridge { display: block; width: 100%; height: clamp(36px, 6vw, 84px); }
.ridge .r1 { fill: var(--ridge-300); opacity: .45; }
.ridge .r2 { fill: var(--ridge); opacity: .35; }
.ridge .r3 { fill: var(--stone); }
.hero-split { background: linear-gradient(180deg, var(--surface) 0%, var(--spruce-50) 100%); }
.hero-split-inner { display: grid; gap: 32px; padding-block: clamp(32px, 6vw, 72px) 8px; align-items: center; }
.hero h1 { font-size: var(--step-6); line-height: 1.06; letter-spacing: -0.02em; max-width: 14ch; }
.hero .lead { margin-top: 12px; }
.hero-figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 16/10; background: var(--spruce-100); }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 960px) { .hero-split-inner { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero-full { color: #fff; min-height: min(78vh, 720px); display: grid; align-items: end; background: var(--spruce-900); }
.hero-full > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 22, 17, .82) 0%, rgba(12, 22, 17, .55) 55%, rgba(12, 22, 17, .2) 100%); }
.hero-full-inner { position: relative; display: grid; gap: 28px; padding-block: 120px 24px; }
.hero-full h1, .hero-full .kicker, .hero-full .lead { color: #fff; }
.hero-full .kicker { color: var(--gold-300); }
.hero-full .ridge { position: relative; }
.hero-simple { background: var(--surface); }
.hero-simple .wrap { padding-block: clamp(36px, 6vw, 64px) clamp(8px, 2vw, 16px); display: grid; gap: 24px; }
.hero-simple h1 { font-size: var(--step-5); max-width: 20ch; }
.hero-simple .lead { font-size: var(--step-1); }
.hero-simple:not(.is-page-top) { background: transparent; }
.bulletin { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--spruce); border-radius: var(--r); padding: 18px 20px; max-width: 460px; box-shadow: var(--shadow-1); color: var(--ink); }
.bulletin-title { font-size: var(--step-1); margin: 0 0 8px; }
.bulletin ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.bulletin li { display: flex; gap: 14px; align-items: baseline; }
.bulletin li strong { font-family: var(--font-head); font-size: var(--step-2); color: var(--spruce); min-width: 6.2ch; }
.bulletin-place { display: flex; gap: 10px; align-items: flex-start; padding-top: 12px; border-top: 1px solid var(--line-2); text-decoration: none; color: var(--ink-2); }
.bulletin-place small { display: block; color: var(--spruce); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.hero-full .bulletin { margin-top: 0; }

/* split text */
.split-2 { display: grid; gap: 32px; }
@media (min-width: 900px) { .split-2 { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.times-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 20px; box-shadow: var(--shadow-1); }
.times-list { list-style: none; margin: 0; padding: 0; }
.times-list li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.times-when span { display: block; color: var(--muted); font-size: 0.9375rem; }
.times-when strong { font-family: var(--font-head); font-size: var(--step-2); color: var(--spruce); }
.times-list h3 { font-size: var(--step-1); margin-bottom: 2px; }
.times-list p { color: var(--ink-2); font-size: 1rem; }
.times-place { display: flex; gap: 12px; padding: 18px 0; }
.times-place > div { display: grid; gap: 4px; justify-items: start; }
.times-place .btn { margin-top: 6px; }

.text-image { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .text-image { grid-template-columns: 1fr 1fr; gap: 64px; } .text-image.side-left .ti-figure { order: -1; } .text-image.no-image { grid-template-columns: minmax(0, 760px); } }
.ti-figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--spruce-100); }
.ti-figure img { width: 100%; height: 100%; object-fit: cover; }

.card-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; }
.feature-card h3 { font-size: var(--step-1); margin: 0; }
.feature-card p { color: var(--ink-2); font-size: 1rem; }
.feature-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--spruce-50); color: var(--spruce); }

.cta-band { border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; align-items: center; border: 1px solid var(--line); background: var(--surface); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr auto; gap: 40px; } .cta-band .actions { margin: 0; justify-content: flex-end; } }
.cta-band h2 { font-size: var(--step-3); margin-bottom: 0.3em; }
.cta-band p { color: var(--ink-2); max-width: 60ch; }
.cta-band.tone-dark { background: var(--spruce); border-color: var(--spruce); color: #fff; }
.cta-band.tone-dark h2, .cta-band.tone-dark p { color: #fff; }
.cta-band.tone-dark .kicker { color: var(--gold-300); }
.cta-band.tone-accent { background: var(--gold-100); border-color: #ecd9a8; }

.scripture { margin: 0; padding: 8px 0 8px 24px; border-left: 4px solid var(--gold-300); }
.scripture blockquote { margin: 0; }
.scripture blockquote p { font-family: var(--font-head); font-weight: 600; font-size: var(--step-3); line-height: 1.35; color: var(--spruce-900); }
.scripture figcaption { margin-top: 12px; font-weight: 700; color: var(--ridge); }
.scripture-note { margin-top: 12px; color: var(--muted); }
.quote-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote-card { margin: 0; background: var(--surface); border-radius: var(--r); padding: 22px; border: 1px solid var(--line); height: 100%; }
.quote-card blockquote { margin: 0 0 14px; font-size: var(--step-1); }
.quote-card figcaption { display: grid; color: var(--muted); }
.quote-card figcaption strong { color: var(--ink); }

.faq { display: grid; gap: 10px; margin-top: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 18px; font-weight: 700; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { transition: transform .15s; color: var(--spruce); }
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq details > div { padding: 0 18px 18px; }

.staff-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.staff-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; }
.staff-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.staff-initials { display: grid; place-items: center; aspect-ratio: 4/3; background: var(--spruce-50); color: var(--spruce); font-family: var(--font-head); font-size: 3rem; }
.staff-card > div { padding: 18px; }
.staff-role { color: var(--ridge); font-weight: 700; margin-bottom: 8px; }

.photo-strip { list-style: none; margin: 0; padding: 4px 0 12px; display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 360px); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.photo-strip.small { grid-auto-columns: min(60%, 220px); }
.photo-strip li { scroll-snap-align: start; }
.photo-button { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: var(--spruce-100); cursor: zoom-in; }
.photo-button img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s; }
.photo-button:hover img { transform: scale(1.02); }
.photo-caption { margin: 8px 2px 0; font-size: 0.9375rem; color: var(--ink-2); }
.strip-controls { display: flex; gap: 8px; }
.lightbox { position: fixed; inset: 0; z-index: 1800; background: rgba(8, 14, 11, .94); display: grid; place-items: center; padding: 64px 12px 24px; }
.lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; max-width: 1200px; }
.lightbox img { max-height: calc(100dvh - 150px); width: auto; border-radius: 8px; }
.lightbox figcaption { color: #e8ece9; text-align: center; }
.lightbox-top { position: fixed; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000; margin: 12px 0 18px; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { position: absolute; inset: 0; border: 0; padding: 0; background: #000; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--spruce); }
.video-play .i { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }

.giving-card { display: grid; gap: 20px; align-items: center; background: var(--spruce); color: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); }
.giving-card h2, .giving-card p { color: #fff; }
.giving-card .kicker { color: var(--gold-300); }
.giving-card .muted { color: #c9d6cf; }
@media (min-width: 800px) { .giving-card { grid-template-columns: 1fr auto; } }

.mh-promo { display: grid; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.mh-promo figure { margin: 0; aspect-ratio: 4/3; }
.mh-promo figure img { width: 100%; height: 100%; object-fit: cover; }
.mh-promo-copy { padding: 0 22px 24px; }
@media (min-width: 900px) { .mh-promo { grid-template-columns: 1fr 1fr; align-items: center; } .mh-promo figure { aspect-ratio: auto; height: 100%; min-height: 380px; } .mh-promo-copy { padding: 36px 40px 36px 0; } }
.fact-row { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fact-row li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--spruce-50); color: var(--spruce-900); font-weight: 700; font-size: 0.9375rem; }

.ministry-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.ministry-tile { display: block; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; text-decoration: none; color: var(--ink); border-left: 4px solid var(--meadow); }
.ministry-tile:hover { border-color: var(--spruce); border-left-color: var(--spruce); color: var(--ink); }
.ministry-tile h3 { font-size: var(--step-1); margin-bottom: 4px; }
.ministry-tile p { color: var(--ink-2); font-size: 1rem; }

.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.event-row > a { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; text-decoration: none; color: var(--ink); min-height: 80px; }
.event-row > a:hover { border-color: var(--spruce); }
.event-row.is-cancelled .event-title { text-decoration: line-through; text-decoration-thickness: 1px; }
.date-block { display: grid; justify-items: center; width: 62px; padding: 6px 0; border-radius: 10px; background: var(--spruce-50); color: var(--spruce); line-height: 1.1; font-size: 0.8125rem; font-weight: 700; }
.date-block strong { font-family: var(--font-head); font-size: 1.6rem; line-height: 1.1; }
.event-main { display: grid; gap: 4px; min-width: 0; }
.event-title { font-size: var(--step-1); }
.event-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--ink-2); font-size: 0.9375rem; }
.event-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ridge-300); margin: 0 4px; }
.event-summary { color: var(--muted); font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-repeat { color: var(--ridge); font-size: 0.875rem; font-weight: 700; }
.event-go { color: var(--ridge-300); }
.events-page { display: grid; gap: 44px; }
.events-page h2 { font-size: var(--step-3); }
.series-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.series-list a { display: grid; gap: 2px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.series-list a:hover { border-color: var(--spruce); }
.series-list span { color: var(--ink-2); font-size: 0.9375rem; }
.series-next { color: var(--ridge) !important; font-weight: 700; }
.event-detail-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.event-image { width: 100%; max-height: 420px; object-fit: cover; }
.event-detail-body { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: clamp(20px, 4vw, 36px); }
.detail-facts { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; gap: 8px; }
.detail-facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.detail-facts li .i { color: var(--spruce); margin-top: 2px; }
@media (max-width: 560px) { .event-detail-body { grid-template-columns: 1fr; } }

.sermon-feature { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sermon-art { display: block; background: var(--spruce); min-height: 200px; text-decoration: none; }
.sermon-art img { width: 100%; height: 100%; object-fit: cover; }
.sermon-art-type { height: 100%; min-height: 200px; display: grid; align-content: end; gap: 6px; padding: 24px; color: #fff; background: radial-gradient(circle at 85% 15%, rgba(227,194,122,.35), transparent 55%), var(--spruce); }
.sermon-art-type span { color: var(--gold-300); font-weight: 700; }
.sermon-art-type strong { font-family: var(--font-head); font-size: var(--step-3); line-height: 1.15; }
.sermon-copy { padding: 0 22px 24px; }
.sermon-copy h3 { font-size: var(--step-3); }
.sermon-copy h3 a { text-decoration: none; color: var(--ink); }
.sermon-date { color: var(--muted); font-weight: 700; font-size: 0.9375rem; margin-bottom: 6px; }
.sermon-scripture { display: flex; gap: 6px; align-items: center; font-weight: 700; color: var(--ridge); }
@media (min-width: 860px) { .sermon-feature { grid-template-columns: 0.9fr 1.1fr; align-items: stretch; } .sermon-copy { padding: 32px 32px 32px 0; } }
.sermons-page { display: grid; gap: 40px; }
.sermon-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sermon-list a { display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); text-decoration: none; color: var(--ink); }
.sermon-list a:hover { border-color: var(--spruce); }
.sermon-row-date { font-weight: 700; color: var(--spruce); display: grid; line-height: 1.2; }
.sermon-row-date small { color: var(--muted); font-weight: 400; }
.sermon-row-main { display: grid; }
.sermon-row-main span { color: var(--ink-2); font-size: 0.9375rem; }
.sermon-row-media { display: flex; gap: 6px; color: var(--ridge); }
.sermon-detail article { max-width: 820px; }
.takeaway { background: var(--gold-100); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 4px; }
.outline li { margin-bottom: 8px; }

.ministry-list { display: grid; gap: 12px; margin-top: 12px; }
.ministry { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.ministry > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; min-height: 72px; }
.ministry > summary::-webkit-details-marker { display: none; }
.ministry-head h3 { margin: 0 0 2px; font-size: var(--step-2); }
.ministry-head span { color: var(--ink-2); }
.ministry-chevron { color: var(--spruce); transition: transform .15s; width: 26px; height: 26px; }
.ministry[open] .ministry-chevron { transform: rotate(180deg); }
.ministry[open] { border-color: var(--spruce); }
.ministry-body { padding: 0 22px 22px; display: grid; gap: 14px; justify-items: start; }
.ministry-body .photo-strip { width: 100%; }

.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; } }
.contact-details h2, .contact-form-card h2 { font-size: var(--step-3); }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list li > .i { color: var(--spruce); margin-top: 4px; }
.contact-list li div { display: grid; }
.contact-times { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; color: var(--ink-2); }
.contact-times span { font-weight: 700; color: var(--ink); }
.contact-form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 32px); }
.receipt { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 20px 0; }
.receipt > .i, .receipt-icon .i { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: var(--meadow-100); color: var(--meadow); }
.map-card { display: grid; gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.map-copy { padding: 24px; }
.map-address { display: flex; gap: 10px; font-weight: 700; }
.map-frame { min-height: 280px; background: var(--spruce-50); display: grid; place-content: center; justify-items: center; gap: 6px; padding: 20px; text-align: center; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (min-width: 860px) { .map-card { grid-template-columns: 1fr 1.2fr; } .map-frame:has(iframe) { padding: 0; display: block; } }
.porch-invite { display: grid; gap: 16px; padding: clamp(24px, 4vw, 40px); background: var(--ridge-100); border-radius: var(--r-lg); align-items: center; }
.porch-invite h2 { font-size: var(--step-3); }
@media (min-width: 900px) { .porch-invite { grid-template-columns: 1.3fr auto; } .porch-invite .actions { margin: 0; } }
.announce-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.announce-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r); padding: 18px; }
.announce-card.tone-urgent { border-left-color: var(--danger); }
.announce-card img { width: 120px; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.announce-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold); }
.announce-card h3 { font-size: var(--step-1); margin-bottom: 4px; }
.divider { border-top: 1px solid var(--line); margin: 0; }
.divider.is-space { border: 0; height: 24px; }

/* footer */
.site-footer { margin-top: clamp(48px, 8vw, 96px); color: #dfe7e2; }
.site-footer .ridge { height: clamp(40px, 6vw, 80px); }
.site-footer .ridge .r1 { fill: var(--ridge); opacity: .55; }
.site-footer .ridge .r2 { fill: var(--spruce-700); opacity: 1; }
.site-footer .ridge .r3 { fill: var(--spruce-900); }
.footer-inner { background: var(--spruce-900); padding: 24px 0 32px; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.5fr 1fr 0.9fr 0.9fr; } .footer-about { grid-column: auto; } }
.footer-logo { height: 60px; width: auto; filter: invert(1); mix-blend-mode: screen; margin-bottom: 14px; }
.footer-about p { color: #c9d6cf; max-width: 42ch; }
.footer-about address { display: grid; gap: 6px; margin-top: 12px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-about address a { display: flex; gap: 10px; align-items: flex-start; min-height: 36px; }
.footer-title { font-family: var(--font-body); font-size: 1rem; color: var(--gold-300); margin: 0 0 10px; letter-spacing: 0.01em; }
.footer-links, .footer-times { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a { display: inline-flex; min-height: 36px; align-items: center; }
.footer-times li { color: #c9d6cf; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 4px 0; }
.footer-times span { min-width: 6.5em; }
.footer-times strong { color: #fff; }
.footer-social { display: flex; gap: 16px; margin-top: 12px; }
.footer-social a { font-weight: 700; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 18px; font-size: 0.9375rem; color: #a9bbb1; }
.footer-bottom a { color: #a9bbb1; }

/* =====================================================================
   MISSION HOUSE
   ===================================================================== */
.mh-hero { display: grid; gap: 28px; padding-block: clamp(24px, 5vw, 56px) 8px; }
.mh-hero h1 { font-size: var(--step-6); line-height: 1.05; }
.mh-rating { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--ink); margin: 4px 0 18px; }
.mh-rating .i { color: var(--gold); fill: var(--gold-300); }
.mh-rating span { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.mh-jump { margin-top: 4px; }
.mh-mosaic { position: relative; display: grid; gap: 8px; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; }
.mh-mosaic .photo-button { border-radius: 0; height: 100%; }
.mh-mosaic .photo-button img { aspect-ratio: auto; height: 100%; }
.mh-mosaic .photo-button:first-child { grid-row: 1 / 3; }
.mh-mosaic.count-1 { grid-template-columns: 1fr; }
.mh-mosaic.count-1 .photo-button:first-child { grid-row: auto; }
.mh-mosaic .photo-button:nth-child(n+4) { display: none; }
.mh-all-photos { position: absolute; right: 12px; bottom: 12px; box-shadow: var(--shadow-1); }
@media (min-width: 960px) { .mh-hero { grid-template-columns: 1fr 1.15fr; align-items: center; gap: 48px; } .mh-mosaic { grid-template-columns: 2fr 1fr 1fr; } .mh-mosaic .photo-button:nth-child(n+4) { display: block; } .mh-mosaic.count-5 .photo-button:nth-child(2) { grid-column: 2; } }
.mh-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 32px; }
.mh-body > *, .mh-info > * { min-width: 0; }
.mh-info { display: grid; gap: 44px; min-width: 0; }
.mh-info h2 { font-size: var(--step-3); }
@media (min-width: 1020px) { .mh-body { grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; } .mh-book { position: sticky; top: calc(var(--header-h) + 16px); order: 2; } .mh-info { order: 1; } }
@media (max-width: 1019px) { .mh-book { order: -1; } }
.mh-book-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-2); }
.mh-book-card h2 { font-size: var(--step-2); }
.mh-price-line { color: var(--ink-2); margin-bottom: 14px; }
.mh-price-line strong { color: var(--spruce); font-family: var(--font-head); font-size: var(--step-1); }
.cal-nav { display: flex; justify-content: space-between; margin-bottom: -40px; position: relative; z-index: 1; pointer-events: none; }
.cal-nav .icon-button { pointer-events: auto; width: 40px; height: 40px; }
.cal-months { display: grid; gap: 18px; }
.cal-months .cal-month:nth-child(2) { display: none; }
@media (min-width: 640px) and (max-width: 1019px) { .cal-months { grid-template-columns: 1fr 1fr; } .cal-months .cal-month:nth-child(2) { display: block; } .cal-nav { margin-bottom: -40px; } }
.cal-label { text-align: center; font-size: var(--step-1); margin: 6px 0 12px; line-height: 28px; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-weekdays span { text-align: center; font-size: 0.8125rem; color: var(--muted); font-weight: 700; padding-bottom: 4px; }
.cal-cell { aspect-ratio: 1; min-height: 40px; border-radius: 8px; border: 1px solid transparent; background: var(--spruce-50); color: var(--ink); font-weight: 700; font-size: 0.9375rem; display: grid; place-items: center; padding: 0; position: relative; }
.cal-cell.is-empty { background: none; }
.cal-cell.is-available:hover { border-color: var(--spruce); }
.cal-cell.is-past { background: none; color: #a2aaa5; font-weight: 400; }
.cal-cell.is-unavailable { background: repeating-linear-gradient(135deg, #eceeea 0 5px, #e2e5e0 5px 10px); color: #8a928d; text-decoration: line-through; font-weight: 400; }
.cal-cell.is-turnover { text-decoration: none; color: var(--ink); border: 1px dashed var(--spruce); }
.cal-cell.in-range { background: var(--spruce-100); color: var(--spruce-900); border-radius: 0; }
.cal-cell.is-start, .cal-cell.is-end { background: var(--spruce); color: #fff; }
.cal-cell.is-start { border-radius: 8px 0 0 8px; } .cal-cell.is-end { border-radius: 0 8px 8px 0; }
.cal-cell.is-start:not(.is-end):last-child { border-radius: 8px; }
.cal-cell:disabled { cursor: not-allowed; }
.cal-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; padding: 0; margin: 12px 0 8px; font-size: 0.875rem; color: var(--ink-2); }
.cal-legend li { display: flex; gap: 6px; align-items: center; }
.lg { width: 16px; height: 16px; border-radius: 4px; display: inline-block; }
.lg-available { background: var(--spruce-50); border: 1px solid var(--spruce-100); }
.lg-selected { background: var(--spruce); }
.lg-unavailable { background: repeating-linear-gradient(135deg, #eceeea 0 3px, #d7dbd5 3px 6px); }
.mh-type-dates { margin: 6px 0 14px; }
.mh-type-dates summary { cursor: pointer; font-weight: 700; color: var(--spruce); min-height: 44px; display: flex; align-items: center; }
.mh-summary { margin: 4px 0 16px; padding: 14px 16px; background: var(--stone); border-radius: var(--r); display: grid; gap: 10px; }
.mh-summary div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 8px; }
.mh-summary dt { color: var(--muted); font-weight: 700; font-size: 0.9375rem; }
.mh-summary dd { margin: 0; display: grid; }
.mh-summary small { color: var(--muted); }
.mh-total { padding-top: 10px; border-top: 1px solid var(--line); }
.mh-total strong { font-family: var(--font-head); font-size: var(--step-2); color: var(--spruce); }
.mh-pick-hint { display: flex; gap: 8px; align-items: center; color: var(--ink-2); background: var(--stone); padding: 12px 14px; border-radius: var(--r); }
.mh-step-actions { display: grid; gap: 8px; }
.mh-receipt { display: grid; gap: 10px; }
.receipt-icon { display: block; }
.steps-list { padding-left: 1.3em; display: grid; gap: 10px; color: var(--ink-2); }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.price-big { font-size: var(--step-1); }
.price-big strong { font-family: var(--font-head); font-size: var(--step-3); color: var(--spruce); }
.price-big span { color: var(--muted); margin: 0 4px; }
.hardship { display: flex; gap: 12px; align-items: flex-start; background: var(--gold-100); padding: 14px 16px; border-radius: var(--r); margin-top: 14px; color: #4a3608; }
.hardship .i { color: var(--gold); margin-top: 3px; }
.amenity-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.amenity-grid li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.amenity-grid .i { color: var(--meadow); }
.rules-list { padding-left: 1.2em; display: grid; gap: 8px; color: var(--ink-2); }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; height: 100%; display: grid; gap: 10px; align-content: start; }
.stars { color: var(--gold); letter-spacing: 2px; margin: 0; }
.stars span { color: #d8dcd6; }
.review-card blockquote { margin: 0; color: var(--ink-2); }
.review-card figcaption { display: grid; color: var(--muted); font-size: 0.9375rem; }
.review-card figcaption strong { color: var(--ink); }
.mh-sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(20,39,32,.08); }
.mh-sticky-bar strong { font-family: var(--font-head); color: var(--spruce); }
@media (min-width: 1020px) { .mh-sticky-bar { display: none; } }
body:has(.mh-sticky-bar) .site-footer { padding-bottom: 70px; }
@media (min-width: 1020px) { body:has(.mh-sticky-bar) .site-footer { padding-bottom: 0; } }

/* =====================================================================
   MOUNTAIN MODERN — public website pass (EPCC 3.1)
   Navy-led, white/mist surfaces, DM Serif Display headings, Inter UI.
   Overrides earlier component rules (same specificity, later in file).
   ===================================================================== */
a { color: var(--navy); }
a:hover { color: var(--navy-700); }
.kicker, .eyebrow, .ad-eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 650; color: var(--slate-700); }
.kicker { display: inline-flex; align-items: center; gap: 12px; }
.lead { color: var(--ink-2); font-size: var(--step-1); line-height: 1.6; }

/* buttons: pill CTAs on the public site and EPCC+, navy primary, laurel conversion accent */
.btn { border-radius: var(--r-pill); font-weight: 600; letter-spacing: 0; padding: 0.6em 1.3em; }
.btn-dark, .btn-primary { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }
.btn-dark:hover, .btn-primary:hover { --bg: var(--navy-700); --bd: var(--navy-700); color: #fff; }
.btn-accent, .btn-gold { --bg: var(--laurel-700); --fg: #fff; --bd: var(--laurel-700); }
.btn-accent:hover, .btn-gold:hover { --bg: #3f5142; --bd: #3f5142; color: #fff; }
.btn-light { --bg: #fff; --fg: var(--navy); --bd: var(--line); }
.btn-light:hover { --bg: var(--spruce-50); --bd: var(--navy); color: var(--navy); }
.btn-quiet { --fg: var(--navy); }
.btn-outline-light { --bd: rgba(255,255,255,.8); }
.btn .i:last-child:not(:first-child) { margin-right: -2px; }
.icon-button { border-radius: var(--r); }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]), select, textarea { border-radius: var(--r); border: 1px solid #c7d1d6; background-color: #fff; }
input:hover:not(:focus):not([type=checkbox]):not([type=radio]), select:hover:not(:focus), textarea:hover:not(:focus) { border-color: var(--slate); }
input[type=checkbox], input[type=radio] { accent-color: var(--navy); }
.field > label, .field-label { font-weight: 600; font-size: 0.9375rem; color: var(--ink); }
.toast { border-radius: var(--r); background: var(--navy-900); }
.toast-success { background: var(--laurel-700); }
.toast-error { background: var(--danger); }
.dialog { border-radius: var(--r-lg); }
.dialog-backdrop { background: rgba(16, 34, 47, .55); }
.dialog-head h2 { font-size: var(--step-3); }
.notice { border-radius: var(--r); background: var(--spruce-50); border-color: var(--spruce-100); border-left: 4px solid var(--navy); }
.notice.info { background: var(--ridge-100); border-left-color: var(--slate); }
.notice.success { background: var(--laurel-100); border-color: #cfdccd; border-left-color: var(--laurel-700); }
.chip { border-radius: var(--r-pill); font-weight: 600; }
.chip.is-active { background: var(--navy); border-color: var(--navy); }
.badge { font-weight: 600; }
.empty-state .i { color: var(--slate); }
.empty-state h2, .empty-state h3 { color: var(--navy); }
.spinner, .p227-spinner { border-color: var(--spruce-100); border-top-color: var(--navy); }

/* header: white bar, navy wordmark, Inter nav with a clay current-page rule */
.site-header { background: rgba(255, 255, 255, 0.98); border-bottom: 1px solid var(--line-2); backdrop-filter: saturate(1.2) blur(8px); }
.site-brand img { height: 48px; width: auto; }
.site-nav a, .nav-group-toggle { font-weight: 500; font-size: 0.9688rem; color: var(--ink-2); border-radius: var(--r-sm); padding: 0 12px; }
.site-nav a:hover, .nav-group-toggle:hover { background: transparent; color: var(--navy); }
.site-nav a.is-current { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--clay); border-radius: 0; }
.nav-sub { border-radius: var(--r); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.nav-sub a:hover { background: var(--spruce-50); }
.header-login { color: var(--navy); font-weight: 600; }
.header-login .plus-mark { height: 16px; width: auto; display: block; }
.header-cta { --bg: var(--laurel-700); --bd: var(--laurel-700); --fg: #fff; }
.header-cta:hover { --bg: #3f5142; --bd: #3f5142; color: #fff; }
.menu-toggle { border-radius: var(--r-pill); color: var(--navy); border-color: var(--line); }
.mobile-nav { background: #fff; }
.mobile-nav li a { font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; color: var(--navy); }
.mobile-nav li a.is-current { color: var(--clay-700); }
.m-group-label { text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; color: var(--slate-700); }
.site-banner { background: var(--navy); color: #fff; border-color: var(--navy); }
.site-banner .icon-button { color: #fff; }
.site-banner.tone-urgent { background: var(--danger); color: #fff; border-color: var(--danger); }
.site-banner.tone-celebrate { background: var(--clay-100); color: var(--navy); border-color: #efd5ca; }

/* sections: generous rhythm, alternate mist bands */
.ps { padding-block: clamp(56px, 8vw, 104px); }
.ps.bg-white { background: var(--surface); }
.ps.bg-mist { background: var(--mist); padding-top: clamp(56px, 8vw, 104px); }
.ps.bg-mist + .ps, .ps.bg-navy + .ps { padding-top: clamp(56px, 8vw, 104px); }
.ps.bg-navy { background: var(--navy); color: #fff; padding-top: clamp(56px, 8vw, 104px); }
.ps.bg-navy h2, .ps.bg-navy h3, .ps.bg-navy .kicker { color: #fff; }
.section-intro h2, .ps-text h2, .ps-textImage h2, .ps-faq h2, .ps-video h2 { font-size: var(--step-5); line-height: 1.05; max-width: 22ch; }
.section-intro .kicker::before, .ti-copy .kicker::before, .cta-copy .kicker::before, .mh-promo-copy .kicker::before { content: ""; width: 28px; height: 2px; background: var(--clay); border-radius: 2px; }
.mh-info h2, .event-detail h2, .sermons-page h2, .events-page h2 { font-size: var(--step-4); }
.page-mission-house h1 { font-size: var(--step-5); }
.rich li::marker { color: var(--clay); }
.rich h2, .rich h3 { color: var(--navy); }

/* hero */
.hero h1 { font-size: var(--step-6); line-height: 1.02; letter-spacing: -0.01em; max-width: 14ch; }
.hero-split { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.hero-split-inner { padding-block: clamp(32px, 6vw, 80px); }
.hero-figure { border-radius: var(--r-lg); box-shadow: var(--shadow-2); aspect-ratio: 4/3; }
.hero-full { min-height: min(78vh, 700px); align-items: center; background: var(--navy-900); }
.hero-shade { --shade: .45; background: linear-gradient(90deg, rgba(16,34,47,calc(var(--shade) + .25)) 0%, rgba(16,34,47,var(--shade)) 48%, rgba(16,34,47,calc(var(--shade) * .35)) 100%), linear-gradient(0deg, rgba(16,34,47,.45) 0%, rgba(16,34,47,0) 40%); }
.hero-full-inner { padding-block: clamp(96px, 13vw, 150px) clamp(88px, 10vw, 128px); }
.hero-full h1 { color: #fff; }
.hero-full .kicker { color: rgba(255,255,255,.88); }
.hero-full .kicker::before { content: ""; width: 28px; height: 2px; background: var(--clay); border-radius: 2px; }
.hero-full .lead { color: rgba(255,255,255,.9); max-width: 52ch; }
.hero-full .btn-light { --bg: var(--laurel-700); --bd: var(--laurel-700); --fg: #fff; }
.hero-full .btn-light:hover { --bg: #3f5142; --bd: #3f5142; color: #fff; }
.hero.is-centered .hero-copy { text-align: center; margin-inline: auto; }
.hero.is-centered h1, .hero.is-centered .lead { margin-inline: auto; }
.hero.is-centered .actions { justify-content: center; }
.hero-simple { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.hero-simple:not(.is-page-top) { background: transparent; }
.hero-simple h1 { font-size: var(--step-6); max-width: 18ch; }
.hero-simple .wrap { padding-block: clamp(40px, 6vw, 80px) clamp(12px, 2vw, 20px); }
.ridge .r1 { fill: var(--slate-300); opacity: .45; }
.ridge .r2 { fill: var(--slate); opacity: .3; }
.ridge .r3 { fill: var(--surface); }
.bulletin { border: 1px solid var(--line-2); border-top: 3px solid var(--clay); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.bulletin li strong { color: var(--navy); }
.bulletin-place small { color: var(--navy); }

/* quick-info card overlapping the hero photo */
.info-strip { position: relative; z-index: 2; background: transparent; border: 0; }
.info-grid { display: grid; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 4px 20px; grid-template-columns: 1fr; }
.hero-full + .info-strip .info-grid { margin-top: -56px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.info-item:last-child { border-bottom: 0; }
.info-item > .i { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--navy); color: #fff; margin-top: 0; flex: none; stroke-width: 1.8; }
.info-item:nth-child(3) > .i { background: var(--clay); }
.info-item .kicker { margin-bottom: 2px; font-size: .6875rem; color: var(--navy); }
.info-main { margin: 0 0 4px; font-size: 0.9375rem; color: var(--ink-2); }
.info-times li { font-size: 0.9375rem; color: var(--ink-2); }
.info-times strong { color: var(--navy); }
.info-item .text-link { font-size: .875rem; color: var(--clay-700); }
@media (min-width: 900px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); padding: 6px 8px; }
  .info-item { border-bottom: 0; border-right: 1px solid var(--line-2); padding: 22px 24px; }
  .info-item + .info-item { padding-left: 24px; }
  .info-item:last-child { border-right: 0; }
}

/* feature cards: white cards with round icon badges */
.card-grid { gap: 16px; border-top: 0; }
.feature-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-card); }
.feature-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--spruce-50); color: var(--navy); display: grid; place-items: center; }
.feature-icon .i { width: 24px; height: 24px; }
.feature-card h3 { font-size: var(--step-2); color: var(--navy); }
.feature-card .text-link { color: var(--clay-700); font-size: .9375rem; }
.ps.bg-white .feature-card { background: var(--mist); border-color: transparent; box-shadow: none; }

/* events: date-forward rows in a card list */
.event-list { gap: 10px; border-top: 0; }
.event-row > a { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 14px 18px; gap: 18px; box-shadow: var(--shadow-1); }
.event-row > a:hover { border-color: var(--slate-300); box-shadow: var(--shadow-card); }
.event-row > a:hover .event-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.date-block { background: var(--spruce-50); color: var(--navy); width: 62px; padding: 8px 0; border-radius: 12px; text-transform: uppercase; letter-spacing: .08em; font-size: .6875rem; font-weight: 650; }
.date-block > span:first-child { color: var(--clay-700); }
.date-block strong { font-family: var(--font-head); font-size: 1.9rem; font-weight: 400; letter-spacing: 0; color: var(--navy); }
.event-title { font-size: 1.0625rem; font-weight: 650; color: var(--navy); }
.event-meta { color: var(--muted); font-size: .875rem; }
.event-meta .i { color: var(--slate); }
.event-go { color: var(--slate-300); }
.series-list a, .sermon-list a { border-radius: var(--r-lg); border-color: var(--line-2); }
.series-list a:hover, .sermon-list a:hover { border-color: var(--slate-300); box-shadow: var(--shadow-card); }
.series-next { color: var(--clay-700) !important; }
.event-detail-card { border-radius: var(--r-lg); border-color: var(--line-2); box-shadow: var(--shadow-card); }
.detail-facts li .i { color: var(--clay); }

/* sermon: media-forward card */
.sermon-feature { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-card); }
.sermon-art { background: var(--navy); }
.sermon-art-type { background: radial-gradient(circle at 85% 15%, rgba(184,92,61,.35), transparent 55%), linear-gradient(160deg, var(--navy-700), var(--navy-900)); }
.sermon-art-type span { color: rgba(255,255,255,.8); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; }
.sermon-art-type strong { font-weight: 400; font-size: var(--step-4); }
.sermon-copy h3 { font-size: var(--step-4); }
.sermon-copy h3 a { color: var(--navy); }
.sermon-date { color: var(--slate-700); font-weight: 600; font-size: .875rem; }
.sermon-scripture { color: var(--clay-700); }
.sermon-row-date { color: var(--navy); }
.sermon-row-media { color: var(--slate); }
.takeaway { background: var(--clay-100); border-radius: var(--r); }

/* Mission House promo: photo-led */
.mh-promo { background: transparent; border: 0; border-radius: 0; gap: clamp(24px, 4vw, 56px); align-items: center; }
.mh-promo figure { border-radius: var(--r-lg); overflow: hidden; background: var(--spruce-100); box-shadow: var(--shadow-card); }
.mh-promo-copy { padding: 0; }
.mh-promo-copy h2 { font-size: var(--step-5); }
.fact-row li { background: var(--spruce-50); color: var(--navy); font-weight: 600; }

/* ministries: card tiles */
.ministry-tiles { gap: 14px; border-top: 0; }
.ministry-tile { background: #fff; border: 1px solid var(--line-2); border-left: 0; border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
.ministry-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--slate-300); }
.ministry-tile:hover { border-color: var(--slate-300); box-shadow: var(--shadow-card); }
.ministry-tile:hover::before { background: var(--clay); }
.ministry-tile h3 { font-size: var(--step-2); color: var(--navy); }
.ministry { border-radius: var(--r-lg); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.ministry[open] { border-color: var(--slate-300); }
.ministry-chevron { color: var(--navy); }

/* bands */
.cta-band { border-radius: var(--r-lg); border-color: var(--line-2); background: var(--mist); }
.cta-band h2 { font-size: var(--step-5); }
.cta-band.tone-dark { background: var(--navy); border-color: var(--navy); position: relative; overflow: hidden; }
.cta-band.tone-dark::after { content: ""; position: absolute; inset: auto 0 0 0; height: 42%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200' preserveAspectRatio='none'%3E%3Cpath d='M0 140 C160 90 300 120 420 96 C560 66 640 30 760 52 C880 74 960 120 1100 104 C1240 88 1340 60 1440 70 V200 H0Z' fill='%23ffffff' fill-opacity='.05'/%3E%3Cpath d='M0 170 C180 150 320 160 480 140 C640 120 760 150 920 156 C1080 162 1260 140 1440 132 V200 H0Z' fill='%23ffffff' fill-opacity='.06'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; pointer-events: none; }
.cta-band.tone-dark > * { position: relative; z-index: 1; }
.cta-band.tone-dark .kicker { color: rgba(255,255,255,.85); }
.cta-band.tone-dark .btn-light { --bg: var(--laurel-700); --bd: var(--laurel-700); --fg: #fff; }
.cta-band.tone-dark .btn-light:hover { --bg: #3f5142; --bd: #3f5142; color: #fff; }
.cta-band.tone-accent { background: var(--clay-100); border-color: #efd5ca; }
.giving-card { background: var(--navy); border-radius: var(--r-lg); }
.giving-card .kicker { color: rgba(255,255,255,.85); }
.giving-card .muted { color: #c9d5dd; }
.quote-card, .staff-card, .map-card, .contact-form-card, .times-card, .mh-book-card, .price-card, .review-card { border-radius: var(--r-lg); border-color: var(--line-2); box-shadow: var(--shadow-card); }
.staff-initials { background: var(--spruce-50); color: var(--navy); }
.staff-role { color: var(--clay-700); }
.times-when strong, .price-big strong, .mh-total strong, .mh-price-line strong, .mh-sticky-bar strong { color: var(--navy); }
.faq { gap: 10px; border-top: 0; }
.faq details { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); }
.faq summary { padding: 16px 20px; font-size: 1.0313rem; font-weight: 600; color: var(--navy); }
.faq details > div { padding: 0 20px 18px; }
.faq-icon { color: var(--clay); }
.scripture { border-left-color: var(--clay); }
.scripture blockquote p { font-family: var(--font-head); font-weight: 400; font-style: italic; color: var(--navy); }
.scripture figcaption { color: var(--slate-700); }
.announce-card { border-radius: var(--r-lg); border-color: var(--line-2); border-left: 4px solid var(--clay); box-shadow: var(--shadow-1); }
.announce-icon { background: var(--clay-100); color: var(--clay-700); border-radius: 50%; }
.contact-list li > .i { color: var(--clay); }
.receipt > .i, .receipt-icon .i { background: var(--laurel-100); color: var(--laurel-700); }
.hardship { background: var(--clay-100); color: var(--ink); }
.hardship .i { color: var(--clay); }
.amenity-grid .i { color: var(--laurel-700); }
.stars { color: var(--clay); }
.cal-cell.is-start, .cal-cell.is-end { background: var(--navy); }
.lg-selected { background: var(--navy); }

/* footer: deep navy with ridge line, reversed wordmark */
.site-footer { color: #c9d5dd; }
.site-footer .ridge .r1 { fill: var(--slate-300); opacity: .35; }
.site-footer .ridge .r2 { fill: var(--navy-700); opacity: 1; }
.site-footer .ridge .r3 { fill: var(--navy); }
.footer-inner { background: var(--navy); }
.footer-logo { filter: none; mix-blend-mode: normal; height: 52px; }
.footer-about p { color: #c9d5dd; }
.brand-line { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; font-weight: 650; color: #fff; margin: 0 0 10px; }
.footer-title { font-family: var(--font-body); color: #9fb3c0 !important; text-transform: uppercase; letter-spacing: .16em; font-size: .75rem !important; font-weight: 650; }
.footer-times li { color: #c9d5dd; }
.footer-note { font-family: var(--font-head); font-size: 1.5rem; line-height: 1.2; color: #fff; margin: 0 0 6px; }
.footer-note-sub { text-transform: uppercase; letter-spacing: .18em; font-size: .6875rem; color: #9fb3c0; }
.footer-social a { text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.footer-bottom { border-top-color: rgba(255,255,255,.14); color: #9fb3c0; }
.footer-bottom a { color: #9fb3c0; }

/* next-step paths: photo cards */
.paths { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; border-top: 0; }
.path { display: grid; grid-template-rows: auto 1fr; height: 100%; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: box-shadow .2s, transform .2s; }
.path:hover { box-shadow: var(--shadow-2); color: var(--ink); }
.path-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--spruce-100); margin: 0; border-radius: 0; }
.path-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.path:hover .path-img img { transform: scale(1.03); }
.path-body { display: grid; gap: 6px; padding: 20px 22px 22px; align-content: start; }
.path-title { font-family: var(--font-head); font-weight: 400; font-size: var(--step-2); line-height: 1.2; color: var(--navy); }
.path-text { color: var(--ink-2); font-size: .9688rem; }
.path-go { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 650; font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; color: var(--clay-700); }
.path:not(:has(.path-img)) .path-body { border-top: 3px solid var(--navy); }
@media (min-width: 760px) { .paths { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .paths.cols-3 { grid-template-columns: repeat(3, 1fr); } .paths.cols-4 { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .path-img img, .path { transition: none; } }
svg.i { display: inline-block; vertical-align: -0.2em; }

.kicker, .eyebrow { overflow-wrap: anywhere; }
/* Keep toasts from covering bottom-sheet dialog buttons on phones */
body:has(.dialog-backdrop) .toasts { top: calc(12px + env(safe-area-inset-top)); bottom: auto; }

/* Keep CTA grid content inside the smallest supported phone width. */
.cta-copy { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band .actions { min-width: 0; }
  .cta-band .btn { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
}
.site-footer-logo { height: 52px; width: auto; margin-bottom: 16px; }
.footer-note-block { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); }
@media (min-width: 1100px) { .info-grid.has-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) and (max-width: 1099px) { .info-grid.has-4 { grid-template-columns: repeat(2, 1fr); } .info-grid.has-4 .info-item:nth-child(2) { border-right: 0; } .info-grid.has-4 .info-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); } }
.info-times { list-style: none; margin: 0; padding: 0; }
.hero + .info-strip .info-grid { margin-top: -40px; }
.hero-full + .info-strip .info-grid { margin-top: -64px; }
.hero-split .hero-split-inner { padding-bottom: clamp(64px, 8vw, 104px); }
.paths { align-items: start; }
.ps.bg-navy .rich p, .ps.bg-navy .rich li, .ps.bg-navy .intro, .ps.bg-navy p { color: rgba(255,255,255,.88); }
.ps.bg-navy a:not(.btn) { color: #fff; }
.ps.bg-navy .event-row > a, .ps.bg-navy .feature-card, .ps.bg-navy .ministry-tile { color: var(--ink); }
.ps.bg-navy .feature-card p, .ps.bg-navy .ministry-tile p { color: var(--ink-2); }
.ps.bg-navy .feature-card h3, .ps.bg-navy .ministry-tile h3, .ps.bg-navy .event-title { color: var(--navy); }
