/* ==========================================================================
   My Canada Church brand stylesheet
   Pine / honey / cream  ·  Plus Jakarta Sans + Inter  ·  modern, warm, mobile-first
   ========================================================================== */

:root {
  --cream: #faf6ef;
  --cream-deep: #f3ecdf;
  --sage: #e7eae0;
  --pine: #1e4d45;
  --pine-deep: #163a34;
  --honey: #e0a24e;
  --honey-soft: #f2d2a0;
  --clay: #bc6c4c;
  --ink: #2c2a26;
  --ink-soft: #5b574e;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --maxw: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--pine-deep);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

a { color: var(--pine); text-decoration: none; }
a:hover { text-decoration: underline; }

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

:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; }

::selection { background: var(--honey-soft); color: var(--pine-deep); }

.mc-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.mc-narrow { max-width: 720px; }
.mc-mid { max-width: 960px; }

.mc-main { min-height: 50vh; }

/* ---------- Buttons ---------- */
.mc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .12s var(--ease), border-color .15s ease, box-shadow .15s ease;
  text-decoration: none; white-space: nowrap;
}
.mc-btn:hover { text-decoration: none; transform: translateY(-1px); }
.mc-btn:active { transform: scale(.97); }
.mc-btn-pine { background: var(--pine); color: var(--cream); }
.mc-btn-pine:hover { background: var(--pine-deep); color: var(--cream); box-shadow: 0 8px 20px rgba(30, 77, 69, .18); }
.mc-btn-honey { background: var(--honey); color: var(--pine-deep); }
.mc-btn-honey:hover { background: var(--honey-soft); color: var(--pine-deep); box-shadow: 0 8px 20px rgba(224, 162, 78, .25); }
.mc-btn-ghost { background: transparent; color: var(--pine); border-color: var(--pine); }
.mc-btn-ghost:hover { background: rgba(30, 77, 69, .06); color: var(--pine); }
.mc-btn-block { width: 100%; }

/* ---------- Header ---------- */
.mc-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250, 246, 239, .85); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(231, 234, 224, .8);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.mc-header.is-scrolled { box-shadow: 0 6px 24px rgba(30, 77, 69, .07); background: rgba(250, 246, 239, .95); }
.mc-header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.mc-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--pine); }
.mc-logo:hover { text-decoration: none; }
.mc-logo svg { transition: transform .2s var(--ease); }
.mc-logo:hover svg { transform: translateY(-1px) rotate(-2deg); }
.mc-logo__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--pine); line-height: 1; letter-spacing: -0.01em; }
.mc-nav { display: flex; align-items: center; gap: 6px; }
.mc-nav__link { padding: 8px 12px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.mc-nav__link:hover { color: var(--pine); text-decoration: none; }
.mc-nav__link--hide { display: none; }
@media (min-width: 640px) { .mc-nav__link--hide { display: inline-flex; } }

/* Header quick search */
.mc-hsearch { display: flex; align-items: center; }
.mc-hsearch__btn { width: 40px; height: 40px; border-radius: 999px; border: none; background: transparent; color: var(--ink-soft); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background-color .15s ease, color .15s ease; }
.mc-hsearch__btn:hover { background: rgba(30, 77, 69, .08); color: var(--pine); }
.mc-hsearch__form { width: 0; overflow: hidden; transition: width .25s var(--ease); }
.mc-hsearch__form input { width: 100%; border: 1px solid var(--sage); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: .92rem; background: #fff; color: var(--ink); }
.mc-hsearch__form input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(30, 77, 69, .1); }
.mc-hsearch.is-open .mc-hsearch__form { width: 230px; margin-right: 6px; }
@media (max-width: 560px) {
  .mc-hsearch.is-open .mc-hsearch__form { width: 56vw; }
  .mc-header.is-searching .mc-logo__name { display: none; }
}

/* ---------- Hero / next-step ---------- */
.mc-hero { text-align: center; padding: 64px 0 36px; }
.mc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(242, 210, 160, .4); border: 1px solid rgba(224, 162, 78, .5);
  color: var(--clay); font-weight: 600; font-size: 15px;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
}
.mc-eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--honey); }
.mc-hero h1 { font-size: clamp(2.35rem, 6vw, 3.4rem); }
.mc-hero p { max-width: 600px; margin: 22px auto 0; font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- What brings you here (guided nav) ---------- */
.mc-whatbrings { margin-top: 30px; }
.mc-whatbrings__label { font-size: .95rem; color: var(--ink-soft); margin: 0 0 12px; }
.mc-chiprow { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.mc-pick {
  border: 1.5px solid var(--sage); background: #fff; color: var(--pine-deep);
  font-family: var(--font-sans); font-weight: 600; font-size: .92rem;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  transition: border-color .15s ease, transform .12s var(--ease), box-shadow .15s ease;
}
.mc-pick:hover { border-color: var(--pine); transform: translateY(-2px); box-shadow: 0 8px 18px rgba(30, 77, 69, .08); }
.mc-pick:active { transform: scale(.97); }

/* ---------- Direction cards ---------- */
.mc-directions { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mc-directions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mc-directions { grid-template-columns: repeat(3, 1fr); } }

.mc-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--sage); border-radius: var(--radius-xl); padding: 28px;
  transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease;
}
.mc-card:hover { transform: translateY(-6px); border-color: rgba(30, 77, 69, .3); box-shadow: 0 18px 40px rgba(30, 77, 69, .1); text-decoration: none; }
.mc-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 16px; background: var(--sage); color: var(--pine); transition: transform .2s var(--ease); }
.mc-card:hover .mc-card__icon { transform: scale(1.08) rotate(-3deg); }
.mc-card h2 { font-size: 1.5rem; margin-top: 20px; }
.mc-card p { margin: 8px 0 0; color: var(--ink-soft); flex: 1; }
.mc-card__go { margin-top: 20px; font-weight: 600; color: var(--pine); display: inline-flex; gap: 6px; }
.mc-card__go span { transition: transform .2s var(--ease); }
.mc-card:hover .mc-card__go span { transform: translateX(4px); }
.mc-card--feature { background: var(--pine); border-color: var(--pine); }
.mc-card--feature h2 { color: var(--cream); }
.mc-card--feature p { color: rgba(250, 246, 239, .8); }
.mc-card--feature:hover { background: var(--pine-deep); }
.mc-card--feature .mc-card__icon { background: rgba(224, 162, 78, .2); color: var(--honey); }
.mc-card--feature .mc-card__go { color: var(--honey-soft); }
@media (min-width: 640px) { .mc-card--wide { grid-column: span 2; } }
@media (min-width: 1024px) { .mc-card--wide { grid-column: span 1; } }

/* highlight pulse when guided here */
.mc-pulse { animation: mc-pulse 1.2s var(--ease) 2; }
@keyframes mc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(224, 162, 78, .55); }
  100% { box-shadow: 0 0 0 18px rgba(224, 162, 78, 0); }
}

/* ---------- Quiet options ---------- */
.mc-quiet { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 640px) { .mc-quiet { grid-template-columns: 1fr 1fr; } }
.mc-quiet__item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--cream-deep); border: 1px solid var(--sage); border-radius: var(--radius-lg);
  padding: 18px 22px; transition: transform .18s var(--ease), border-color .18s ease, box-shadow .18s ease;
}
.mc-quiet__item:hover { border-color: rgba(30, 77, 69, .3); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 77, 69, .06); text-decoration: none; }
.mc-quiet__item strong { color: var(--pine-deep); font-weight: 600; display: block; }
.mc-quiet__item span.sub { color: var(--ink-soft); font-size: .92rem; }
.mc-quiet__arrow { color: var(--pine); transition: transform .2s var(--ease); }
.mc-quiet__item:hover .mc-quiet__arrow { transform: translateX(4px); }

/* ---------- Reassurance ---------- */
.mc-reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 44px; color: var(--ink-soft); font-size: .95rem; text-align: center; }
.mc-reassure .sep { color: var(--sage); }

/* ---------- Page heading (inner) ---------- */
.mc-pagehead { padding: 48px 0 0; }
.mc-pagehead h1 { font-size: clamp(2rem, 5vw, 3rem); }
.mc-pagehead p { font-size: 1.12rem; color: var(--ink-soft); margin-top: 16px; }
.mc-back { display: inline-flex; gap: 6px; font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
.mc-back:hover { color: var(--pine); text-decoration: none; }

/* ---------- Directory ---------- */
.mc-controls { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
@media (min-width: 640px) { .mc-controls { flex-direction: row; align-items: center; } }
.mc-search { position: relative; flex: 1; }
.mc-search input { width: 100%; padding: 13px 16px 13px 44px; border: 1px solid var(--sage); border-radius: 999px; background: #fff; font: inherit; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.mc-search input:focus { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(30, 77, 69, .1); outline: none; }
.mc-search input::placeholder { color: rgba(91, 87, 78, .7); }
.mc-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.mc-select { border: 1px solid var(--sage); border-radius: 999px; background: #fff; padding: 13px 16px; font: inherit; color: var(--ink); }
.mc-status { margin-top: 16px; color: var(--ink-soft); font-size: .95rem; }
.mc-status .warn { color: var(--clay); }

.mc-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 24px; }
@media (min-width: 640px) { .mc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .mc-grid { grid-template-columns: repeat(3, 1fr); } }

.mc-church {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--sage); border-radius: var(--radius-lg); padding: 24px;
  transition: transform .18s var(--ease), box-shadow .18s ease, border-color .18s ease;
}
.mc-church:hover { transform: translateY(-4px); border-color: rgba(30, 77, 69, .3); box-shadow: 0 16px 34px rgba(30, 77, 69, .09); text-decoration: none; }
.mc-church__top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.mc-church h3 { font-size: 1.25rem; }
.mc-church__meta { color: var(--ink-soft); font-size: .9rem; margin-top: 4px; }
.mc-church__dist { flex-shrink: 0; background: rgba(242, 210, 160, .5); color: var(--clay); font-weight: 600; font-size: .72rem; padding: 4px 10px; border-radius: 999px; }
.mc-church__next { margin-top: 16px; font-size: .92rem; color: var(--ink-soft); }
.mc-sectionhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 24px; flex-wrap: wrap; }
.mc-sectionhead h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); }
.mc-sectionhead p { color: var(--ink-soft); margin: 8px 0 0; max-width: 42rem; }
.mc-sectionhead__cta { flex-shrink: 0; }
@media (max-width: 560px) { .mc-sectionhead__cta { width: 100%; } }
.mc-church__next b { color: var(--ink); font-weight: 600; }
.mc-church__go { margin-top: 18px; font-weight: 600; font-size: .92rem; color: var(--pine); display: inline-flex; gap: 6px; }
.mc-church__go span { transition: transform .2s var(--ease); }
.mc-church:hover .mc-church__go span { transform: translateX(4px); }

/* chips / tags */
.mc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.mc-chip { background: var(--sage); color: var(--pine); font-size: .72rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; }
.mc-tag { background: var(--cream-deep); color: var(--ink-soft); font-size: .72rem; padding: 3px 8px; border-radius: 6px; }

/* empty state */
.mc-empty { margin-top: 40px; border: 1px dashed var(--sage); background: var(--cream-deep); border-radius: var(--radius-lg); padding: 40px; text-align: center; }
.mc-empty h3 { font-size: 1.25rem; }
.mc-empty p { color: var(--ink-soft); margin: 8px 0 0; }

/* ---------- Church profile ---------- */
.mc-badge { display: inline-block; background: rgba(242, 210, 160, .5); color: var(--clay); font-weight: 600; font-size: .72rem; padding: 4px 12px; border-radius: 999px; }
.mc-profile-grid { display: grid; gap: 32px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .mc-profile-grid { grid-template-columns: 1fr 320px; } }
.mc-stack { display: flex; flex-direction: column; gap: 28px; }
.mc-lead { font-size: 1.12rem; color: var(--ink); }

.mc-panel { background: #fff; border: 1px solid var(--sage); border-radius: var(--radius-xl); padding: 28px; }
.mc-panel h2 { font-size: 1.5rem; }
.mc-panel--visit { background: var(--cream-deep); border-color: rgba(224, 162, 78, .4); }
.mc-visit-grid { display: grid; gap: 20px; margin-top: 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .mc-visit-grid { grid-template-columns: 1fr 1fr; } }
.mc-visit dt { font-weight: 600; font-size: .9rem; color: var(--pine); }
.mc-visit dd { margin: 4px 0 0; color: var(--ink-soft); }

.mc-side { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 1024px) { .mc-side { position: sticky; top: 88px; align-self: flex-start; } }
.mc-side__card { background: #fff; border: 1px solid var(--sage); border-radius: var(--radius-xl); padding: 24px; }
.mc-side__card h2 { font-size: 1.12rem; }
.mc-side__card hr { border: none; border-top: 1px solid var(--sage); margin: 20px 0; }
.mc-side__card ul { margin: 12px 0 0; padding: 0; list-style: none; }
.mc-side__card li { margin-bottom: 6px; }
.mc-handoff { background: var(--pine); color: var(--cream); border-radius: var(--radius-xl); padding: 24px; }
.mc-handoff h2 { color: var(--cream); font-size: 1.12rem; }
.mc-handoff p { color: rgba(250, 246, 239, .8); font-size: .92rem; margin: 8px 0 0; }
.mc-handoff .mc-btn { margin-top: 16px; }
.mc-handoff .mc-btn-outline { border-color: rgba(250, 246, 239, .3); color: var(--cream); background: transparent; }
.mc-handoff .mc-btn-outline:hover { background: rgba(250, 246, 239, .1); }

/* ---------- Visit popup (Let them know I'm coming) ---------- */
.mc-modal { position: fixed; inset: 0; z-index: 1200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.mc-modal__scrim { position: absolute; inset: 0; background: rgba(22, 58, 52, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: mc-fade .2s ease both; }
.mc-modal__card { position: relative; width: 100%; max-width: 460px; max-height: 90vh; overflow-y: auto; background: var(--cream); border-radius: var(--radius-xl); padding: 30px 28px; box-shadow: 0 30px 80px rgba(22, 58, 52, .35); animation: mc-pop-in .26s var(--ease) both; }
.mc-modal__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: none; background: transparent; font-size: 1.7rem; line-height: 1; color: var(--ink-soft); cursor: pointer; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.mc-modal__close:hover { background: var(--sage); color: var(--ink); }
.mc-modal__card h2 { font-family: var(--font-display); font-size: 1.32rem; color: var(--pine-deep); padding-right: 26px; line-height: 1.2; }
.mc-modal__sub { color: var(--ink-soft); font-size: .92rem; margin-top: 8px; line-height: 1.55; }
@keyframes mc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mc-pop-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mc-modal__scrim, .mc-modal__card { animation: none; } }

/* Step-by-step wizard inside a popup (visit / prayer) */
.mc-wizard { margin-top: 18px; }
.mc-wizard__bar { height: 6px; background: var(--sage); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.mc-wizard__fill { height: 100%; width: 50%; background: var(--honey); border-radius: 999px; transition: width .3s var(--ease); }
.mc-wizard__count { font-size: .82rem; color: var(--ink-soft); margin-bottom: 14px; font-weight: 600; }
.mc-wizard__step { border: none; padding: 0; margin: 0; min-inline-size: 0; display: none; flex-direction: column; gap: 14px; }
.mc-wizard__step.is-active { display: flex; animation: mc-fade .25s var(--ease); }
.mc-wizard__nav { display: flex; gap: 12px; margin-top: 18px; }
.mc-wizard__nav .mc-btn { flex: 1; }

/* ---------- Forms / generic pages ---------- */
.mc-form { background: #fff; border: 1px solid var(--sage); border-radius: var(--radius-xl); padding: 28px; margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.mc-field label { font-weight: 600; font-size: .92rem; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mc-field label .opt { font-weight: 400; color: var(--ink-soft); }
.mc-field input, .mc-field textarea { width: 100%; margin-top: 8px; padding: 12px 14px; border: 1px solid var(--sage); border-radius: var(--radius); background: var(--cream); font: inherit; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.mc-field input:focus, .mc-field textarea:focus { border-color: var(--pine); box-shadow: 0 0 0 3px rgba(30, 77, 69, .1); outline: none; background: #fff; }
.mc-field input::placeholder, .mc-field textarea::placeholder { color: rgba(91, 87, 78, .7); }
.mc-form .row2 { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .mc-form .row2 { grid-template-columns: 1fr 1fr; } }
.mc-check { display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-soft); }
.mc-note { font-size: .8rem; color: var(--ink-soft); text-align: center; }
.mc-callout { background: var(--cream-deep); border: 1px solid rgba(224, 162, 78, .4); border-radius: var(--radius-lg); padding: 16px; font-size: .95rem; color: var(--ink-soft); margin-top: 24px; }
.mc-callout b { color: var(--ink); }

.mc-steps { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mc-steps li { display: flex; gap: 16px; background: #fff; border: 1px solid var(--sage); border-radius: var(--radius-xl); padding: 24px; transition: transform .18s var(--ease), box-shadow .18s ease; }
.mc-steps li:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(30, 77, 69, .07); }
.mc-steps .num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 999px; background: var(--pine); color: var(--cream); font-family: var(--font-display); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.mc-steps h2 { font-size: 1.25rem; }
.mc-steps p { color: var(--ink-soft); margin: 4px 0 0; }

/* ---------- Footer ---------- */
.mc-footer { margin-top: 80px; border-top: 1px solid var(--sage); background: rgba(231, 234, 224, .4); }
.mc-footer__grid { display: grid; gap: 36px; padding-top: 52px; padding-bottom: 52px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .mc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .mc-footer__grid { grid-template-columns: 1.7fr 1fr 1.5fr; gap: 44px; } }
.mc-footer h4 { font-family: var(--font-sans); font-size: .95rem; font-weight: 600; color: var(--ink); margin: 0 0 14px; }
.mc-footer__logo { display: inline-flex; align-items: center; gap: 10px; color: var(--pine); }
.mc-footer__logo:hover { text-decoration: none; }
.mc-footer__logo span { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--pine); letter-spacing: -0.01em; }
.mc-footer__brand p { color: var(--ink-soft); font-size: .92rem; max-width: 24rem; margin: 14px 0 0; }
.mc-footer__note { font-weight: 500; color: var(--pine) !important; }
.mc-footer__col--cta p { color: var(--ink-soft); font-size: .92rem; margin: 0 0 14px; }
.mc-footer__col--cta .mc-btn { font-size: 14px; padding: 10px 18px; }
.mc-footer__verse blockquote { margin: 0; font-family: var(--font-display); font-size: 1.06rem; line-height: 1.5; color: var(--pine-deep); }
.mc-footer__verse cite { display: block; margin-top: 10px; font-style: normal; font-size: .85rem; font-weight: 600; color: var(--clay); }
.mc-footer ul { list-style: none; margin: 0; padding: 0; }
.mc-footer li { margin-bottom: 8px; }
.mc-footer a { color: var(--ink-soft); font-size: .95rem; }
.mc-footer a:hover { color: var(--pine); }
.mc-crisis { background: var(--cream); border: 1px solid rgba(224, 162, 78, .4); border-radius: var(--radius-lg); padding: 16px; }
.mc-crisis strong { color: var(--pine); display: block; font-size: .95rem; }
.mc-crisis p { color: var(--ink-soft); font-size: .9rem; margin: 8px 0 0; }
.mc-crisis b { color: var(--ink); }
.mc-footer__bar { border-top: 1px solid var(--sage); padding: 18px 0; text-align: center; font-size: .78rem; color: var(--ink-soft); }

/* ---------- Scroll reveal & motion ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ---------- Hero with animated graphic ---------- */
.mc-hero__inner { display: grid; gap: 28px; align-items: center; }
.mc-hero__art { display: flex; justify-content: center; }
.mc-hero__art svg { width: 100%; max-width: 440px; height: auto; }
@media (min-width: 920px) {
  .mc-hero { text-align: left; }
  .mc-hero__inner { grid-template-columns: 1.05fr .95fr; gap: 40px; }
  .mc-hero p { margin-left: 0; margin-right: 0; }
  .mc-hero .mc-eyebrow { margin-left: 0; }
  .mc-hero .mc-chiprow { justify-content: flex-start; }
}

.ha-float { animation: ha-float 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ha-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.ha-route { stroke-dasharray: 7 9; animation: ha-draw 2.8s linear infinite; }
@keyframes ha-draw { to { stroke-dashoffset: -160; } }
.ha-pin { opacity: 0; transform-box: fill-box; transform-origin: center bottom; animation: ha-drop .7s var(--ease) forwards; }
.ha-pin--1 { animation-delay: .9s; }
.ha-pin--2 { animation-delay: 1.3s; }
@keyframes ha-drop {
  0% { opacity: 0; transform: translateY(-20px) scale(.6); }
  70% { opacity: 1; transform: translateY(2px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.ha-ring { transform-box: fill-box; transform-origin: center; animation: ha-ring 2.6s ease-out infinite; }
@keyframes ha-ring { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(2.4); opacity: 0; } }
.ha-glow { transform-box: fill-box; transform-origin: center; animation: ha-glow 2.6s ease-in-out infinite; }
@keyframes ha-glow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }

/* ---------- Map ---------- */
.mc-map { height: 400px; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--sage); margin-top: 24px; background: var(--sage); z-index: 0; }
.mc-map .leaflet-container { font-family: var(--font-sans); background: var(--sage); }
.mc-map-pin { display: block; width: 18px; height: 18px; background: var(--honey); border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.mc-user-pin { display: block; width: 16px; height: 16px; background: var(--pine); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.leaflet-popup-content { margin: 12px 14px; font-size: .92rem; }
.leaflet-popup-content strong { color: var(--pine-deep); }
.leaflet-popup-content a { color: var(--pine); font-weight: 600; }
.mc-church-map { height: 200px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--sage); margin: 12px 0; background: var(--sage); }

/* ==========================================================================
   UX enhancements: journey, visual rhythm, scroll & navigation motion
   ========================================================================== */

/* Scroll progress bar */
.mc-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--honey); z-index: 60; transition: width .08s linear; }

/* Smart header (shrink + hide on scroll down) */
.mc-header { transition: transform .3s var(--ease), box-shadow .2s ease, background-color .2s ease; }
.mc-header.is-hidden { transform: translateY(-100%); }
.mc-header__inner { transition: height .25s var(--ease); }
.mc-header.is-shrunk .mc-header__inner { height: 54px; }

/* Animated link underline */
.mc-link { position: relative; color: var(--pine); font-weight: 600; }
.mc-link::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%; background: var(--honey); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.mc-link:hover { text-decoration: none; }
.mc-link:hover::after { transform: scaleX(1); }

/* Scroll cue */
.mc-scrollcue { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink-soft); font-size: .8rem; animation: mc-bob 2s ease-in-out infinite; }
@keyframes mc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* Section bands / rhythm */
.mc-band { padding: 64px 0; }
.mc-band--sage { background: var(--sage); }
.mc-band--cream { background: var(--cream-deep); }
.mc-band--pine { background: var(--pine); color: var(--cream); }
.mc-band--pine h2 { color: var(--cream); }
.mc-band__head { text-align: center; max-width: 620px; margin: 0 auto 8px; }
.mc-band__head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.mc-band__head p { color: var(--ink-soft); margin-top: 12px; font-size: 1.05rem; }
.mc-band--pine .mc-band__head p { color: rgba(250, 246, 239, .82); }

/* Stats (count up) */
.mc-stats { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 720px) { .mc-stats { grid-template-columns: repeat(4, 1fr); } }
.mc-stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 5vw, 2.9rem); color: var(--honey); line-height: 1; }
.mc-stat__label { margin-top: 8px; color: rgba(250, 246, 239, .85); font-size: .95rem; }

/* Journey timeline */
.mc-journey { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 760px) { .mc-journey { grid-template-columns: repeat(4, 1fr); } }
.mc-journey__step { background: #fff; border: 1px solid var(--sage); border-radius: var(--radius-xl); padding: 24px; }
.mc-journey__n { width: 34px; height: 34px; border-radius: 999px; background: var(--honey); color: var(--pine-deep); font-family: var(--font-display); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.mc-journey__step h3 { font-size: 1.15rem; margin-top: 14px; }
.mc-journey__step p { color: var(--ink-soft); margin-top: 6px; font-size: .95rem; }

/* Testimonials */
.mc-quotes { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 760px) { .mc-quotes { grid-template-columns: repeat(3, 1fr); } }
.mc-quote { background: #fff; border: 1px solid var(--sage); border-radius: var(--radius-xl); padding: 26px; height: 100%; display: flex; flex-direction: column; position: relative; }
.mc-quote__icon { width: 42px; height: 42px; border-radius: 999px; background: var(--honey-soft); color: var(--clay); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; flex-shrink: 0; }
.mc-quote p { font-size: 1.02rem; color: var(--ink); line-height: 1.6; margin: 0; flex: 1; }
.mc-quote__who { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--sage); }
.mc-quote__avatar { width: 42px; height: 42px; border-radius: 999px; background: var(--pine); color: var(--cream); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; flex-shrink: 0; }
.mc-quote__name { font-weight: 600; color: var(--ink); font-size: .92rem; display: block; }
.mc-quote__loc { color: var(--ink-soft); font-size: .82rem; display: block; }

/* CTA band buttons */
.mc-band--pine .mc-btn-ghost { border-color: rgba(250, 246, 239, .5); color: var(--cream); }
.mc-band--pine .mc-btn-ghost:hover { background: rgba(250, 246, 239, .1); }

/* Church card thumbnail (branded placeholder or real image) */
.mc-church__thumb { height: 124px; border-radius: var(--radius); background: var(--sage); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; overflow: hidden; }
.mc-church__thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Profile hero banner */
.mc-prohero { height: 200px; border-radius: var(--radius-xl); background: var(--sage); display: flex; align-items: center; justify-content: center; overflow: hidden; margin: 18px 0 4px; }
.mc-prohero img { width: 100%; height: 100%; object-fit: cover; }

/* Breadcrumb */
.mc-crumbs { font-size: .9rem; color: var(--ink-soft); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mc-crumbs a { color: var(--ink-soft); }
.mc-crumbs a:hover { color: var(--pine); }
.mc-crumbs .sep { color: var(--sage); }

/* Related churches */
.mc-related { margin-top: 56px; }
.mc-related h2 { font-size: 1.6rem; }

/* Map skeleton */
.mc-map.is-loading::after { content: "Loading map"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); background: var(--sage); z-index: 1; }
.mc-map { position: relative; }

/* Map: highlighted pin when hovering its card */
.mc-map-pin.is-hot { background: var(--pine); transform: rotate(-45deg) scale(1.35); transition: transform .15s var(--ease); }

/* Mobile bottom navigation */
.mc-bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; display: none; justify-content: space-around; padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); background: rgba(250, 246, 239, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--sage); }
.mc-bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .68rem; color: var(--ink-soft); font-weight: 600; }
.mc-bottomnav a:hover, .mc-bottomnav a.is-active { color: var(--pine); text-decoration: none; }
.mc-bottomnav svg { width: 22px; height: 22px; }
@media (max-width: 1023px) { .mc-bottomnav { display: flex; } body { padding-bottom: 68px; } }

/* Floating help (desktop) */
.mc-help { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: inline-flex; align-items: center; gap: 8px; background: var(--pine); color: var(--cream); font-weight: 600; padding: 12px 18px; border-radius: 999px; box-shadow: 0 10px 30px rgba(30, 77, 69, .25); transition: transform .15s var(--ease), background-color .15s ease; }
.mc-help:hover { background: var(--pine-deep); transform: translateY(-2px); text-decoration: none; }
.mc-help__x { margin-left: 2px; opacity: .7; font-weight: 400; }
.mc-help.is-hidden { display: none; }
@media (max-width: 1023px) { .mc-help { display: none; } }

/* Welcome back toast */
.mc-toast { position: fixed; left: 50%; bottom: 90px; z-index: 50; transform: translateX(-50%) translateY(16px); background: var(--pine-deep); color: var(--cream); padding: 12px 20px; border-radius: 999px; font-size: .92rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); opacity: 0; transition: opacity .4s ease, transform .4s var(--ease); pointer-events: none; }
.mc-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Form success microstate */
.mc-success { display: none; text-align: center; padding: 12px 0; }
.mc-form.is-sent .mc-success { display: block; }
.mc-form.is-sent .mc-formfields { display: none; }
.mc-success__icon { width: 56px; height: 56px; border-radius: 999px; background: var(--honey-soft); color: var(--pine-deep); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.mc-success h3 { font-size: 1.3rem; }
.mc-success p { color: var(--ink-soft); margin-top: 8px; }

/* Directional reveals */
.reveal.from-left { transform: translateX(-26px); }
.reveal.from-right { transform: translateX(26px); }
.reveal.is-visible.from-left, .reveal.is-visible.from-right { transform: none; }

/* App-like page transitions (ignored where unsupported) */
@view-transition { navigation: auto; }

/* ==========================================================================
   Super-modern layout: bento grid, testimonial carousel, marquee, accents
   ========================================================================== */

/* Bolder hero with soft accent shapes */
.mc-hero { position: relative; overflow: hidden; padding-top: 56px; }
.mc-hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -150px; background: radial-gradient(circle, rgba(224, 162, 78, .20), rgba(224, 162, 78, 0) 70%); border-radius: 50%; pointer-events: none; z-index: 0; }
.mc-hero::after { content: ""; position: absolute; width: 340px; height: 340px; left: -160px; bottom: -180px; background: radial-gradient(circle, rgba(30, 77, 69, .10), rgba(30, 77, 69, 0) 70%); border-radius: 50%; pointer-events: none; z-index: 0; }
.mc-hero__inner, .mc-hero .mc-container { position: relative; z-index: 1; }
.mc-hero h1 { font-size: clamp(2.6rem, 6.5vw, 4rem); letter-spacing: -0.03em; }

/* Marquee */
.mc-marquee { margin-top: 8px; border-top: 1px solid var(--sage); border-bottom: 1px solid var(--sage); background: var(--cream-deep); overflow: hidden; padding: 14px 0; }
.mc-marquee__track { display: flex; align-items: center; gap: 44px; width: max-content; white-space: nowrap; animation: mc-marq 34s linear infinite; }
.mc-marquee__item { color: var(--ink-soft); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 44px; }
.mc-marquee__item::after { content: "\2022"; color: var(--honey); }
.mc-marquee:hover .mc-marquee__track { animation-play-state: paused; }
@keyframes mc-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Home action grid — four distinct columns + full-width learn-more strip */
.mc-actions { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .mc-actions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .mc-actions { grid-template-columns: repeat(3, 1fr); } }

.mc-tile { display: flex; flex-direction: column; justify-content: space-between; background: #fff; border: 1px solid var(--sage); border-radius: var(--radius-xl); padding: 26px 24px; min-height: 212px; position: relative; overflow: hidden; transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease; }
.mc-tile:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(30, 77, 69, .12); border-color: rgba(30, 77, 69, .3); text-decoration: none; }
.mc-tile h2 { font-size: 1.22rem; line-height: 1.16; }
.mc-tile p { color: var(--ink-soft); margin-top: 8px; font-size: .95rem; }
.mc-tile__icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(30, 77, 69, .08); color: var(--pine); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: transform .2s var(--ease); }
.mc-tile:hover .mc-tile__icon { transform: scale(1.08) rotate(-3deg); }
.mc-tile__go { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--pine); display: inline-flex; gap: 6px; font-size: .95rem; }
.mc-tile__go span { transition: transform .2s var(--ease); }
.mc-tile:hover .mc-tile__go span { transform: translateX(4px); }

/* a distinct accent for each of the four columns */
.b-find { background: rgba(30, 77, 69, .05); border-color: #dbe1d4; }
.b-find .mc-tile__icon { background: rgba(30, 77, 69, .12); color: var(--pine); }
.b-talk { background: rgba(188, 108, 76, .06); border-color: rgba(188, 108, 76, .2); }
.b-talk .mc-tile__icon { background: rgba(188, 108, 76, .14); color: var(--clay); }
.b-pray { background: rgba(224, 162, 78, .09); border-color: rgba(224, 162, 78, .32); }
.b-pray .mc-tile__icon { background: rgba(224, 162, 78, .22); color: #a4701d; }
.b-follow { background: var(--pine); border-color: var(--pine); color: var(--cream); }
.b-follow h2 { color: var(--cream); }
.b-follow p { color: rgba(250, 246, 239, .82); }
.b-follow .mc-tile__icon { background: rgba(224, 162, 78, .22); color: var(--honey); }
.b-follow .mc-tile__go { color: var(--honey-soft); }

/* seekers strip: full-width, distinct from the "ready to follow" column */
.b-first { grid-column: 1 / -1; background: var(--honey-soft); border-color: rgba(224, 162, 78, .55); min-height: auto; }
.b-first h2 { color: var(--pine-deep); font-size: 1.3rem; }
.b-first__icon { background: rgba(30, 77, 69, .1); color: var(--pine); }
.mc-eyebrow { display: inline-block; background: rgba(30, 77, 69, .1); color: var(--pine-deep); font-size: .8rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; margin-bottom: 10px; }

/* Onboarding password lock */
.mc-lock { max-width: 440px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--sage); border-radius: var(--radius-xl); padding: 42px 32px; }
.mc-lock__mark { display: inline-flex; margin-bottom: 14px; }
.mc-lock h1 { font-size: 1.6rem; }
.mc-lock p { color: var(--ink-soft); margin: 10px 0 0; }
.mc-lock__err { color: var(--clay); font-weight: 600; }
.mc-lock__form { display: flex; gap: 10px; margin: 24px 0 0; }
.mc-lock__form input { flex: 1; border: 1px solid var(--sage); border-radius: 999px; padding: 12px 16px; font: inherit; background: var(--cream); color: var(--ink); }
.mc-lock__form input:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(30, 77, 69, .1); }
.mc-lock__hint { font-size: .88rem; margin-top: 16px; }
@media (max-width: 480px) { .mc-lock__form { flex-direction: column; } }

/* First-steps closing call to action */
.mc-firststeps-cta { margin-top: 34px; text-align: center; background: var(--cream-deep); border: 1px solid var(--sage); border-radius: var(--radius-xl); padding: 36px 26px; }
.mc-firststeps-cta h2 { font-size: 1.4rem; }
.mc-firststeps-cta p { color: var(--ink-soft); margin: 10px auto 0; max-width: 34rem; }
.mc-firststeps-cta__btns { margin-top: 22px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (min-width: 600px) {
  .b-first { flex-direction: row; align-items: center; gap: 22px; }
  .b-first__icon { margin-bottom: 0; flex: 0 0 auto; }
  .b-first > div { flex: 1; }
  .b-first .mc-tile__go { margin-top: 0; padding-top: 0; flex: 0 0 auto; white-space: nowrap; }
}

/* Testimonial carousel */
.mc-carousel { position: relative; margin-top: 40px; }
.mc-carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.mc-carousel__track::-webkit-scrollbar { display: none; }
.mc-slide { scroll-snap-align: center; flex: 0 0 86%; }
@media (min-width: 760px) { .mc-slide { flex: 0 0 46%; } }
@media (min-width: 1100px) { .mc-slide { flex: 0 0 31.5%; } }
.mc-slide .mc-quote { height: 100%; }
.mc-carousel__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.mc-cbtn { width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid var(--sage); background: #fff; color: var(--pine); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform .15s var(--ease), border-color .15s ease; }
.mc-cbtn:hover { border-color: var(--pine); transform: translateY(-2px); }
.mc-dots { display: flex; gap: 8px; align-items: center; }
.mc-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--sage); border: none; padding: 0; cursor: pointer; transition: width .2s var(--ease), background-color .2s ease; }
.mc-dot.is-active { background: var(--honey); width: 24px; }

/* Journey path: mobile = vertical timeline, desktop = winding trail */
.mc-path { position: relative; margin-top: 44px; }
.mc-path__line { display: none; }
.mc-path::before { content: ""; position: absolute; left: 31px; top: 18px; bottom: 26px; width: 2px; background: repeating-linear-gradient(180deg, var(--honey) 0 8px, transparent 8px 16px); opacity: .6; }
.mc-path__step { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; text-align: left; position: relative; z-index: 1; margin-bottom: 22px; }
.mc-path__step:last-child { margin-bottom: 0; }
.mc-path__icon { position: relative; width: 62px; height: 62px; border-radius: 999px; background: #fff; border: 2px solid var(--sage); color: var(--pine); display: inline-flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.6); transition: transform .5s var(--ease), opacity .5s ease, border-color .25s ease; }
.mc-path.is-visible .mc-path__icon { opacity: 1; transform: scale(1); }
.mc-path.is-visible .mc-path__step:nth-of-type(1) .mc-path__icon { transition-delay: .1s; }
.mc-path.is-visible .mc-path__step:nth-of-type(2) .mc-path__icon { transition-delay: .25s; }
.mc-path.is-visible .mc-path__step:nth-of-type(3) .mc-path__icon { transition-delay: .4s; }
.mc-path.is-visible .mc-path__step:nth-of-type(4) .mc-path__icon { transition-delay: .55s; }
.mc-path__step:hover .mc-path__icon { border-color: var(--honey); transform: scale(1.05); transition-delay: 0s; }
.mc-path__num { position: absolute; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 999px; background: var(--honey); color: var(--pine-deep); font-family: var(--font-display); font-weight: 700; font-size: .78rem; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--cream); }
.mc-path__body h3 { font-size: 1.15rem; margin: 6px 0 0; }
.mc-path__step p { color: var(--ink-soft); margin: 4px 0 0; font-size: .95rem; }
@media (min-width: 760px) {
  .mc-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; padding-bottom: 8px; }
  .mc-path::before { display: none; }
  .mc-path__line { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 170px; pointer-events: none; z-index: 0; overflow: visible; }
  .mc-path__step { display: block; text-align: center; margin-bottom: 0; }
  .mc-path__icon { width: 78px; height: 78px; }
  .mc-path__step:nth-of-type(even) { margin-top: 80px; }
  .mc-path.is-visible .mc-path__step:nth-of-type(1) .mc-path__icon { transition-delay: .5s; }
  .mc-path.is-visible .mc-path__step:nth-of-type(2) .mc-path__icon { transition-delay: .8s; }
  .mc-path.is-visible .mc-path__step:nth-of-type(3) .mc-path__icon { transition-delay: 1.1s; }
  .mc-path.is-visible .mc-path__step:nth-of-type(4) .mc-path__icon { transition-delay: 1.4s; }
  .mc-path__num { width: 26px; height: 26px; font-size: .8rem; }
  .mc-path__body h3 { font-size: 1.2rem; margin-top: 16px; }
  .mc-path__step p { max-width: 240px; margin-left: auto; margin-right: auto; }
}

/* ==========================================================================
   Chatbot assistant
   ========================================================================== */
.mc-chat { position: fixed; right: 22px; bottom: 22px; z-index: 50; }
@media (max-width: 1023px) { .mc-chat { right: 16px; bottom: 84px; } }
.mc-chat__launch { display: inline-flex; align-items: center; gap: 8px; background: var(--pine); color: var(--cream); font-family: var(--font-sans); font-weight: 600; font-size: 15px; padding: 12px 18px; border: none; border-radius: 999px; cursor: pointer; box-shadow: 0 10px 30px rgba(30, 77, 69, .28); transition: transform .15s var(--ease), background-color .15s ease; }
.mc-chat__launch:hover { background: var(--pine-deep); transform: translateY(-2px); }
.mc-chat.is-open .mc-chat__launch { display: none; }
.mc-chat__panel { position: absolute; right: 0; bottom: 0; width: 360px; max-width: calc(100vw - 32px); height: 520px; max-height: calc(100vh - 120px); background: var(--cream); border: 1px solid var(--sage); border-radius: var(--radius-xl); box-shadow: 0 24px 60px rgba(30, 77, 69, .22); display: none; flex-direction: column; overflow: hidden; animation: mc-chat-in .2s var(--ease); }
.mc-chat.is-open .mc-chat__panel { display: flex; }
@keyframes mc-chat-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.mc-chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--pine); color: var(--cream); }
.mc-chat__badge { width: 34px; height: 34px; border-radius: 999px; background: rgba(250, 246, 239, .14); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mc-chat__title { flex: 1; line-height: 1.2; }
.mc-chat__title strong { display: block; font-size: .95rem; }
.mc-chat__title span { font-size: .78rem; color: rgba(250, 246, 239, .8); }
.mc-chat__close { background: none; border: none; color: var(--cream); font-size: 1.5rem; line-height: 1; cursor: pointer; opacity: .8; padding: 0 4px; }
.mc-chat__close:hover { opacity: 1; }
.mc-chat__body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mc-msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; }
.mc-msg--bot { background: #fff; border: 1px solid var(--sage); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.mc-msg--user { background: var(--pine); color: var(--cream); align-self: flex-end; border-bottom-right-radius: 4px; }
.mc-msg__cta { display: inline-block; margin-top: 8px; background: var(--honey); color: var(--pine-deep); padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.mc-msg__cta:hover { background: var(--honey-soft); text-decoration: none; }
.mc-msg__churches { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.mc-msg__church { display: flex; flex-direction: column; gap: 1px; background: var(--cream); border: 1px solid var(--sage); border-radius: 12px; padding: 9px 12px; transition: border-color .15s ease, transform .12s var(--ease); }
.mc-msg__church:hover { border-color: var(--pine); transform: translateY(-1px); text-decoration: none; }
.mc-msg__church-name { font-weight: 700; color: var(--pine-deep); font-size: .88rem; line-height: 1.2; }
.mc-msg__church-city { color: var(--ink-soft); font-size: .78rem; }
.mc-chat__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; }
.mc-chat__quick button { background: #fff; border: 1.5px solid var(--sage); color: var(--pine-deep); font-family: var(--font-sans); font-weight: 600; font-size: .82rem; padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: border-color .15s ease, transform .12s var(--ease); }
.mc-chat__quick button:hover { border-color: var(--pine); transform: translateY(-1px); }
.mc-chat__form { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--sage); }
.mc-chat__form input { flex: 1; border: 1px solid var(--sage); border-radius: 999px; padding: 10px 14px; font: inherit; background: #fff; color: var(--ink); }
.mc-chat__form input:focus { outline: none; border-color: var(--pine); }
.mc-chat__form button { width: 42px; height: 42px; border-radius: 999px; border: none; background: var(--pine); color: var(--cream); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mc-chat__form button:hover { background: var(--pine-deep); }
.mc-cbf { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.mc-cbf input, .mc-cbf select, .mc-cbf textarea { border: 1px solid var(--sage); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: .88rem; background: var(--cream); color: var(--ink); width: 100%; }
.mc-cbf input:focus, .mc-cbf select:focus, .mc-cbf textarea:focus { outline: none; border-color: var(--pine); }
.mc-cbf button { background: var(--honey); color: var(--pine-deep); border: none; border-radius: 999px; padding: 9px 14px; font-weight: 700; cursor: pointer; font-family: var(--font-sans); }
.mc-cbf button:hover { background: var(--honey-soft); }
.mc-cbf button:disabled { opacity: .7; cursor: default; }

/* ==========================================================================
   Mobile polish
   ========================================================================== */
@media (max-width: 919px) {
  .mc-hero__art { display: none; }
  .mc-hero__inner { grid-template-columns: 1fr; }
  .mc-hero::before, .mc-hero::after { display: none; }
  .mc-hero { padding-top: 28px; }
  .mc-whatbrings { margin-top: 24px; }
  .mc-scrollcue { display: none; }
}
@media (max-width: 600px) {
  .mc-container { padding-left: 22px; padding-right: 22px; }
  .mc-band { padding: 46px 0; }
  .mc-marquee__item { gap: 32px; }
  .mc-hero { padding-top: 32px; padding-bottom: 20px; }
  .mc-hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .mc-pagehead { padding-top: 28px; }
  .mc-band__head h2 { font-size: clamp(1.6rem, 7vw, 2.05rem); }
  .mc-card, .mc-tile, .mc-panel, .mc-side__card, .mc-form, .mc-quote { padding: 22px; }
  .mc-profile-grid { gap: 24px; }
  .mc-footer { margin-top: 52px; }
  .mc-footer__grid { padding-top: 38px; padding-bottom: 38px; gap: 26px; }
  .mc-footer__bar { padding: 16px 0; }
  .mc-reassure { margin-top: 32px; }
}

/* ==========================================================================
   Onboarding survey
   ========================================================================== */
.mc-survey__bar { height: 6px; background: var(--sage); border-radius: 999px; overflow: hidden; margin-bottom: 10px; }
.mc-survey__fill { height: 100%; width: 25%; background: var(--honey); border-radius: 999px; transition: width .3s var(--ease); }
.mc-survey__count { font-size: .85rem; color: var(--ink-soft); margin-bottom: 18px; font-weight: 600; }
.mc-survey__step { border: none; padding: 0; margin: 0; min-inline-size: 0; display: none; }
.mc-survey__step.is-active { display: block; animation: mc-fade .25s var(--ease); }
@keyframes mc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mc-survey__h { font-size: 1.4rem; margin: 0 0 4px; }
.mc-survey__sub { color: var(--ink-soft); margin: 0 0 16px; font-size: .95rem; }
.mc-survey__nav { display: flex; gap: 12px; margin-top: 8px; }
.mc-survey__nav .mc-btn { flex: 1; }
.mc-upload { display: block; border: 2px dashed var(--sage); border-radius: var(--radius-lg); padding: 20px; text-align: center; cursor: pointer; color: var(--ink-soft); background: var(--cream); transition: border-color .15s ease, background-color .15s ease; margin-top: 8px; }
.mc-upload:hover { border-color: var(--pine); background: #fff; }
.mc-upload svg { color: var(--pine); margin-bottom: 4px; }
.mc-upload input { display: none; }
.mc-upload__hint { display: block; font-size: .88rem; }
.mc-upload__name { display: block; margin-top: 8px; font-size: .85rem; font-weight: 600; color: var(--pine); }
.mc-survey__field-err { border-color: var(--clay) !important; box-shadow: 0 0 0 3px rgba(188, 108, 76, .12) !important; }

/* The hidden attribute must always win, even over display rules */
[hidden] { display: none !important; }

/* Field guide tooltip, required marker, and validation message */
.mc-req { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--clay); background: rgba(188, 108, 76, .12); padding: 1px 7px; border-radius: 999px; }
.mc-tip { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 999px; background: var(--sage); color: var(--pine); font-size: .72rem; font-weight: 700; cursor: help; }
.mc-tip:hover::after, .mc-tip:focus::after { content: attr(data-tip); position: absolute; bottom: 135%; left: 50%; transform: translateX(-50%); background: var(--pine-deep); color: var(--cream); font-weight: 400; font-size: .78rem; line-height: 1.45; padding: 8px 11px; border-radius: 8px; width: max-content; max-width: 220px; z-index: 6; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); white-space: normal; }
.mc-tip:hover::before, .mc-tip:focus::before { content: ""; position: absolute; bottom: 135%; left: 50%; transform: translate(-50%, 55%); border: 5px solid transparent; border-top-color: var(--pine-deep); z-index: 6; }
.mc-field-msg { display: none; color: var(--clay); font-size: .8rem; margin-top: 6px; }
.mc-field.has-error .mc-field-msg { display: block; }
.mc-field.has-error input, .mc-field.has-error textarea, .mc-field.has-error select { border-color: var(--clay); box-shadow: 0 0 0 3px rgba(188, 108, 76, .12); }

/* On phones: map adjusted height, no welcome-back toast */
@media (max-width: 767px) {
  .mc-map { height: 300px; }
  .mc-toast { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mc-path__icon { opacity: 1 !important; transform: none !important; }
  .mc-chat__panel, .mc-survey__step.is-active, .mc-wizard__step.is-active { animation: none !important; }
  .mc-scrollcue, .mc-marquee__track, .ha-float, .ha-route, .ha-pin, .ha-ring, .ha-glow { animation: none !important; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
