/* ==========================================================================
   Marked For Life Ministries — Design System
   One cohesive system for every page. Tune the site from the :root block.
   ========================================================================== */

:root {
  /* Brand palette (sampled from the logo) */
  --navy: #173f71;
  --navy-deep: #0d2748;
  --navy-ink: #14213a;
  --red: #ed1b48;
  --red-deep: #c4123a;
  --blue: #2f6fd1;

  /* Surfaces */
  --paper: #f5f7fb;
  --paper-2: #eaeef6;
  --white: #ffffff;
  --line: #dbe1ec;
  --line-strong: #c5cddc;

  /* Text */
  --ink: var(--navy-ink);
  --muted: #4f5b70;
  --on-dark: #eef2f9;
  --on-dark-muted: #b9c4d8;

  /* Type */
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --wdth-display: 112;

  /* Spacing scale (8px base) */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 1240px;
  --container-narrow: 820px;

  /* Shape & depth */
  --radius: 6px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(20,33,58,.06), 0 2px 8px rgba(20,33,58,.06);
  --shadow-md: 0 6px 20px rgba(20,33,58,.10), 0 2px 6px rgba(20,33,58,.06);
  --shadow-lg: 0 24px 60px rgba(13,39,72,.22), 0 6px 16px rgba(13,39,72,.10);
  --shadow-sign: 0 22px 50px rgba(13,39,72,.28), 0 4px 10px rgba(13,39,72,.12);

  /* Motion */
  --ease-out: cubic-bezier(.2,.7,.2,1);
  --t-fast: 160ms;
  --t-base: 240ms;
  --t-slow: 420ms;

  /* Header */
  --header-h: 84px;
  --header-h-compact: 64px;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t-fast) var(--ease-out); }
a:hover { color: var(--navy); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.25em; padding-left: 1.25em; }
li { margin-bottom: .4em; }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }
[id] { scroll-margin-top: calc(var(--header-h-compact) + 1.5rem); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-variation-settings: "wdth" var(--wdth-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 3.4vw, 4.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.75rem, 1.35rem + 2vw, 3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.6rem); line-height: 1.15; }
h4 { font-size: 1.05rem; line-height: 1.25; }
.hl { color: var(--red); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }

.eyebrow {
  font-family: var(--font-display);
  font-variation-settings: "wdth" 100;
  font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin: 0 0 .9rem; display: block;
}
.on-dark .eyebrow { color: #ff5d7e; }

.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.5; color: var(--muted); max-width: 62ch; }
.on-dark .lede, .on-dark p { color: var(--on-dark-muted); }
.on-dark .lede { color: var(--on-dark); }
.prose { max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin-top: 1.6em; }
.center { text-align: center; }
.center .eyebrow { text-align: center; }
.center .lede { margin-inline: auto; }

.label {
  font-family: var(--font-display); font-variation-settings: "wdth" 100;
  font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), var(--container-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-deep); color: var(--on-dark); }
.section--navy.grain::before { /* soft grain for depth on dark panels */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-bottom: .35em; }
.section-head p { margin: 0; color: var(--muted); }
.on-dark .section-head p { color: var(--on-dark-muted); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 641px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1025px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split--center { align-items: center; }
@media (min-width: 1025px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr .85fr; }
  .split.reverse > :first-child { order: 2; }
}
.split figure { margin: 0; }
.frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall img { aspect-ratio: 4/5; }
.frame--wide img { aspect-ratio: 16/10; }
.frame--square img { aspect-ratio: 1; }
.frame--sq-sm { max-width: 340px; }
.frame--natural img { aspect-ratio: auto; height: auto; }
.stack { display: grid; gap: var(--s-5); }
figcaption { font-family: var(--font-display); font-variation-settings: "wdth" 100; font-size: .85rem; color: var(--muted); padding-top: .6rem; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--navy); --btn-fg: #fff; --btn-bg-h: var(--navy-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem;
  font-family: var(--font-display); font-variation-settings: "wdth" 105; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bg);
  border-radius: var(--radius); text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: background-color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.btn:hover { background: var(--btn-bg-h); border-color: var(--btn-bg-h); color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn--red { --btn-bg: var(--red); --btn-bg-h: var(--red-deep); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy); --btn-bg-h: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn--outline:hover { color: #fff; }
.on-dark .btn--outline { --btn-fg: #fff; border-color: rgba(255,255,255,.7); --btn-bg-h: #fff; }
.on-dark .btn--outline:hover { color: var(--navy-deep); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); border-color: transparent; box-shadow: none; padding-inline: .5rem; --btn-bg-h: transparent; }
.btn--ghost:hover { transform: none; box-shadow: none; color: var(--red); }
.btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: 1.05rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.link-arrow {
  font-family: var(--font-display); font-variation-settings: "wdth" 100; font-weight: 700; font-size: .95rem;
  text-decoration: none; color: var(--navy); display: inline-flex; align-items: center; gap: .4rem;
}
.link-arrow::after { content: "→"; transition: transform var(--t-fast) var(--ease-out); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(13,39,72,.08); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  height: var(--header-h); transition: height var(--t-base) var(--ease-out);
}
.site-header.is-scrolled .site-header__inner { height: var(--header-h-compact); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; transition: height var(--t-base) var(--ease-out); }
.site-header.is-scrolled .brand img { height: 42px; }

.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .1rem; }
.nav li { margin: 0; position: relative; }
.nav a, .nav button {
  font-family: var(--font-display); font-variation-settings: "wdth" 100; font-weight: 700; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; padding: .7rem .85rem; display: inline-flex; align-items: center; gap: .3rem;
  background: none; border: 0; cursor: pointer; border-radius: var(--radius); transition: color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
}
.nav a:hover, .nav button:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav button svg { width: 12px; height: 12px; transition: transform var(--t-fast) var(--ease-out); }
.nav li.open > button svg { transform: rotate(180deg); }
.nav .sub {
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: .5rem; display: none; flex-direction: column; gap: 0;
}
.nav li.open > .sub { display: flex; }
.nav .sub a { display: block; text-transform: none; letter-spacing: 0; font-size: .95rem; padding: .6rem .8rem; border-radius: var(--radius); }
.nav .sub a:hover { background: var(--paper); }
.header-cta { display: none; }
@media (min-width: 1025px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav a, .nav button { padding: .7rem .6rem; font-size: .78rem; }
}

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  background: none; border: 2px solid var(--line-strong); border-radius: var(--radius); color: var(--navy); cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; }
@media (min-width: 1025px) { .menu-toggle { display: none; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 300; display: none; }
.drawer[aria-hidden="false"] { display: block; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(13,39,72,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity var(--t-base) var(--ease-out); }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(88vw, 400px);
  background: #fff; box-shadow: var(--shadow-lg); padding: var(--s-4) var(--s-5) var(--s-6);
  display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform var(--t-slow) var(--ease-out);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__top { display: flex; justify-content: space-between; align-items: center; height: var(--header-h-compact); margin-bottom: var(--s-4); }
.drawer__top img { height: 40px; }
.drawer nav ul { list-style: none; margin: 0; padding: 0; }
.drawer nav li { margin: 0; border-bottom: 1px solid var(--line); }
.drawer nav a, .drawer nav button {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-variation-settings: "wdth" 105; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--navy); text-decoration: none; padding: .95rem 0; background: none; border: 0; cursor: pointer; min-height: 48px;
}
.drawer nav a[aria-current="page"] { color: var(--red); }
.drawer nav button svg { width: 16px; height: 16px; transition: transform var(--t-fast) var(--ease-out); }
.drawer nav li.open > button svg { transform: rotate(180deg); }
.drawer nav .sub { display: none; padding: 0 0 .6rem .9rem; }
.drawer nav li.open > .sub { display: block; }
.drawer nav .sub li { border: 0; }
.drawer nav .sub a { font-size: .95rem; font-weight: 700; text-transform: none; letter-spacing: 0; padding: .6rem 0; min-height: 44px; color: var(--ink); }
.drawer__cta { margin-top: auto; padding-top: var(--s-5); display: grid; gap: .6rem; }

/* Mobile sticky call bar */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(13,39,72,.12);
}
.call-bar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; text-decoration: none; letter-spacing: .02em;
  background: #fff; color: var(--navy);
}
.call-bar a svg { width: 18px; height: 18px; }
.call-bar a.call-bar__call { background: var(--red); color: #fff; }
@media (min-width: 1025px) { .call-bar { display: none; } }
@media (max-width: 1024px) { body { padding-bottom: 57px; } }

/* Scroll progress (long pages) */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red); z-index: 210; transition: width 80ms linear; }

/* --------------------------------------------------------------------------
   Hero — photo + "sign" panel (the signature device)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy-deep); color: var(--on-dark); isolation: isolate;
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
.hero__bg { position: absolute; inset: -6%; z-index: -2; pointer-events: none; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(30px) saturate(120%); opacity: .32; transform: scale(1.05); }
.hero::after { /* gradient over the blurred backdrop */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 20% 20%, rgba(47,111,209,.35), transparent 55%), linear-gradient(180deg, rgba(13,39,72,.35), rgba(13,39,72,.75));
}
.hero__inner { position: relative; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 1025px) { .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.hero__text { display: grid; gap: var(--s-5); }
.hero__photo {
  margin: 0; width: 100%; max-width: var(--w, 100%); justify-self: center;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--navy);
  border: 1px solid rgba(255,255,255,.14);
}
.hero__photo img { width: 100%; height: auto; display: block; }
@media (min-width: 1025px) { .hero__photo { justify-self: center; } }
@media (max-width: 1024px) { .hero__photo { order: -1; } }

.hero__copy { color: #fff; }
.hero__copy h1 { color: #fff; margin-bottom: .5em; }
.hero__copy .lede { color: var(--on-dark); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); margin-bottom: 1.6rem; max-width: 56ch; }
.hero__copy .btn-row { margin-top: .25rem; }
.hero__copy .btn--outline { --btn-fg: #fff; border-color: rgba(255,255,255,.7); --btn-bg-h: #fff; }
.hero__copy .btn--outline:hover { color: var(--navy-deep); }
.hero__copy .btn:not(.btn--red):not(.btn--outline) { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bg-h: var(--paper-2); }
.hero__copy .btn:not(.btn--red):not(.btn--outline):hover { color: var(--navy); }
.hero__aside { color: var(--on-dark); font-family: var(--font-display); font-variation-settings: "wdth" 100; padding-top: .5rem; border-top: 1px solid rgba(255,255,255,.16); }
.hero__aside .kicker { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.26); border-radius: 999px; padding: .45rem .9rem; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(6px); }
.hero__aside p { margin: .8rem 0 0; color: var(--on-dark); max-width: 40ch; }

/* Simpler page hero (no photo) */
.page-head { background: var(--navy-deep); color: var(--on-dark); position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem); }
.page-head::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(47,111,209,.35), transparent 65%); pointer-events: none; }
.page-head h1 { color: #fff; }
.page-head .lede { color: var(--on-dark); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--shadow-sm); position: relative;
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out);
  display: flex; flex-direction: column; gap: .6rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: .5rem; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover h3 { color: var(--red); }
.card__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--paper); color: var(--navy); display: grid; place-items: center; margin-bottom: .25rem; }
.card__icon svg { width: 22px; height: 22px; }
.card--photo { padding: 0; overflow: hidden; }
.card--photo .card__body { padding: clamp(1.1rem, 2.2vw, 1.5rem); display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card--photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card--dark { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--on-dark-muted); }
.card--red { background: var(--red); border-color: var(--red); color: #fff; }
.card--red h3, .card--red p { color: #fff; }
.card--red .link-arrow { color: #fff; }

/* Quick links strip (homepage) */
.quick { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 641px) { .quick { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1025px) { .quick { grid-template-columns: repeat(4, 1fr); } }
.quick a { background: #fff; padding: 1.4rem 1.5rem; text-decoration: none; color: var(--ink); display: grid; gap: .3rem; transition: background-color var(--t-fast) var(--ease-out); min-height: 44px; }
.quick a:hover { background: var(--paper); }
.quick a:hover strong { color: var(--red); }
.quick strong { font-family: var(--font-display); font-variation-settings: "wdth" 105; font-weight: 800; font-size: 1.1rem; color: var(--navy); text-transform: uppercase; letter-spacing: .02em; transition: color var(--t-fast) var(--ease-out); }
.quick span { color: var(--muted); font-size: .95rem; }

/* Check list (services) */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 2rem; margin: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.25rem; height: 1.25rem;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='%23173f71'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.checklist--2 { grid-template-columns: 1fr; }
@media (min-width: 641px) { .checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.on-dark .checklist li::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='%23ed1b48'/><path d='M7 12.5l3 3 7-7' stroke='white' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }

/* Numbered steps — used only where order is real (phases, eligibility) */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li { counter-increment: step; margin: 0; display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; box-shadow: var(--shadow-sm); }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: 1.5rem; color: #fff;
  width: 56px; height: 56px; border-radius: 12px; background: var(--navy); display: grid; place-items: center;
}
.steps h3 { margin: .2rem 0 .3rem; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--muted); }
.steps--phases li { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); box-shadow: none; }
.steps--phases li::before { background: var(--red); }
.steps--phases h3 { color: #fff; }
.steps--phases p { color: var(--on-dark-muted); }

/* Hours / info panel */
.info-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.info-panel__head { background: var(--navy); color: #fff; padding: 1rem 1.4rem; font-family: var(--font-display); font-variation-settings: "wdth" 108; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; }
.info-panel__body { padding: 1.25rem 1.4rem; display: grid; gap: 1rem; }
.info-panel__body .btn { justify-self: start; }
.info-row { display: grid; grid-template-columns: 36px 1fr; gap: .75rem; align-items: start; }
.info-row svg { width: 22px; height: 22px; color: var(--red); margin-top: .1rem; }
.info-row strong { display: block; font-family: var(--font-display); font-variation-settings: "wdth" 100; font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.info-row span, .info-row a { font-size: 1.05rem; }
.info-row a { color: var(--navy); text-decoration: none; }
.info-row a:hover { color: var(--red); }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; margin: 0; padding: .35rem 0; border-bottom: 1px dashed var(--line); font-family: var(--font-display); font-variation-settings: "wdth" 100; font-size: .95rem; }
.hours li:last-child { border-bottom: 0; }
.hours li span:first-child { font-weight: 700; color: var(--navy); }

/* Big phone number */
.phone-big { font-family: var(--font-display); font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 3vw, 3.4rem); letter-spacing: -.01em; text-decoration: none; color: var(--navy); line-height: 1; display: inline-block; }
.phone-big:hover { color: var(--red); }
.on-dark .phone-big { color: #fff; }
.on-dark .phone-big:hover { color: #ff5d7e; }
.phone-big small { display: block; font-size: .45em; font-weight: 700; color: var(--muted); letter-spacing: .08em; margin-top: .35rem; }
.on-dark .phone-big small { color: var(--on-dark-muted); }

/* Quote */
.quote { border-left: 4px solid var(--red); padding: .25rem 0 .25rem 1.5rem; margin: 0; }
.quote p { font-size: clamp(1.15rem, 1.05rem + .6vw, 1.5rem); line-height: 1.45; font-style: italic; color: var(--navy); margin-bottom: .8rem; }
.quote cite { font-style: normal; font-family: var(--font-display); font-variation-settings: "wdth" 100; font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.on-dark .quote p { color: #fff; }
.on-dark .quote cite { color: var(--on-dark-muted); }
.scripture { text-align: center; max-width: 52ch; margin-inline: auto; }
.scripture p { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.35; color: #fff; font-style: italic; }
.scripture cite { font-style: normal; font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #ff5d7e; font-size: .9rem; }

/* Video (lazy YouTube) */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow-md); }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; display: block; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform var(--t-slow) var(--ease-out), opacity var(--t-base); }
.video__poster:hover img { transform: scale(1.03); opacity: 1; }
.video__poster::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; transform: translate(-50%,-50%);
  background: var(--red) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5v14l11-7z' fill='white'/></svg>") center/32px no-repeat;
  border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform var(--t-base) var(--ease-out);
}
.video__poster:hover::after { transform: translate(-50%,-50%) scale(1.06); }
.video__title { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; color: #fff; font-family: var(--font-display); font-variation-settings: "wdth" 105; font-weight: 800; font-size: 1.05rem; text-shadow: 0 2px 8px rgba(0,0,0,.5); pointer-events: none; }
.video--portrait { aspect-ratio: 720/846; width: 100%; max-width: 400px; margin-inline: auto; }
.video--portrait video { object-fit: cover; }
.media-pair { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); align-items: start; }
@media (min-width: 1025px) { .media-pair { grid-template-columns: 400px 1fr; align-items: center; } }
.video--placeholder { display: grid; place-items: center; text-align: center; color: var(--on-dark); padding: 1.5rem; border: 2px dashed rgba(255,255,255,.35); }
.video--placeholder p { margin: 0; font-family: var(--font-display); font-size: .95rem; }

/* Gallery */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 641px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1025px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform var(--t-slow) var(--ease-out); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .tall { grid-row: span 2; }
.gallery .tall img { aspect-ratio: auto; height: 100%; }

/* Stories */
.story { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out); }
.story:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.story .video { border-radius: 0; box-shadow: none; }
.story > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.story__body { padding: 0 1.4rem 1.4rem; display: grid; gap: .5rem; }
.story__body h3 { margin: 0; }
.story__body p { margin: 0; color: var(--muted); }
.story-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.story-list a { display: grid; grid-template-columns: 96px 1fr auto; gap: 1rem; align-items: center; background: #fff; padding: .9rem 1rem; text-decoration: none; color: var(--ink); transition: background-color var(--t-fast) var(--ease-out); }
.story-list a:hover { background: var(--paper); }
.story-list img { width: 96px; height: 68px; object-fit: cover; border-radius: var(--radius); }
.story-list strong { font-family: var(--font-display); font-variation-settings: "wdth" 105; font-weight: 800; font-size: 1.05rem; color: var(--navy); display: block; }
.story-list small { color: var(--muted); font-family: var(--font-display); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.story-list .go { color: var(--red); font-family: var(--font-display); font-weight: 800; }

/* Giving tiers */
.tiers { display: grid; gap: 1rem; }
@media (min-width: 641px) { .tiers { grid-template-columns: repeat(2, 1fr); } }
.tier { background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; display: grid; gap: .35rem; transition: border-color var(--t-fast) var(--ease-out), transform var(--t-base) var(--ease-out); }
.tier:hover { border-color: var(--navy); transform: translateY(-3px); }
.tier .amt { font-family: var(--font-display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: 2rem; color: var(--navy); line-height: 1; }
.tier .amt small { font-size: .5em; color: var(--muted); font-weight: 700; }
.tier p { margin: 0; color: var(--muted); font-size: .98rem; }
.tier--custom { border-style: dashed; }
.embed-slot { min-height: 420px; border: 2px dashed var(--line-strong); border-radius: var(--radius-lg); background: #fff; display: grid; place-items: center; text-align: center; padding: 2rem; color: var(--muted); }
.embed-slot strong { font-family: var(--font-display); color: var(--navy); display: block; margin-bottom: .4rem; }
.embed-slot code { font-size: .85rem; background: var(--paper); padding: .15rem .4rem; border-radius: 4px; }

/* Badge / trust */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.trust .badge { font-family: var(--font-display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: 1.05rem; color: var(--navy); text-transform: uppercase; letter-spacing: .04em; padding: .6rem 1rem; border: 2px solid var(--navy); border-radius: var(--radius); }
.trust p { margin: 0; color: var(--muted); }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--font-display); font-variation-settings: "wdth" 100; font-weight: 700; font-size: .9rem; color: var(--navy); }
.field label .req { color: var(--red); margin-left: .2rem; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 1rem; width: 100%; min-height: 48px; padding: .7rem .9rem; border: 2px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--ink);
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(23,63,113,.15); }
.field.is-error input, .field.is-error textarea { border-color: var(--red); }
.field.is-ok input, .field.is-ok textarea { border-color: #1a9c5b; }
.field__msg { font-family: var(--font-display); font-size: .85rem; min-height: 1.2em; color: var(--red); }
.field.is-ok .field__msg { color: #1a9c5b; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: .5rem; }
legend { font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--navy); padding: 0; margin-bottom: .3rem; }
.choice { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border: 2px solid var(--line-strong); border-radius: var(--radius); cursor: pointer; min-height: 48px; transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out); font-size: 1rem; }
.choice:hover { border-color: var(--navy); }
.choice input { accent-color: var(--red); width: 20px; height: 20px; margin: 0; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--paper); }
.form-note { font-size: .9rem; color: var(--muted); }
.form--card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2.25rem); box-shadow: var(--shadow-md); }

/* Person card */
.person { display: grid; gap: 1rem; justify-items: center; text-align: center; padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.person img { width: 148px; height: 148px; border-radius: 50%; object-fit: cover; object-position: top; border: 5px solid var(--paper); box-shadow: var(--shadow-md); }
.person strong { font-family: var(--font-display); font-variation-settings: "wdth" 108; font-weight: 800; font-size: 1.2rem; color: var(--navy); display: block; }
.person span { color: var(--muted); font-family: var(--font-display); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }

/* CTA band */
.cta-band { background: var(--red); color: #fff; padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta-band .container { display: grid; gap: 1.25rem; align-items: center; }
@media (min-width: 1025px) { .cta-band .container { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.9); margin: .4rem 0 0; }
.cta-band .btn { --btn-bg: #fff; --btn-fg: var(--red); --btn-bg-h: var(--navy-deep); }
.cta-band .btn:hover { color: #fff; }

/* Placeholder marker (for content the site owner must supply) */
.placeholder { display: inline-block; font-family: var(--font-display); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #8a5a00; background: #fff4d6; border: 1px dashed #d9a400; border-radius: 4px; padding: .2rem .5rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-muted); padding-block: var(--s-8) var(--s-6); position: relative; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #ff5d7e; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 641px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1025px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }
.footer-brand img { height: 46px; width: auto; background: #fff; padding: .45rem .7rem; border-radius: var(--radius); margin-bottom: 1rem; }
.footer-brand p { margin: 0 0 1rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; font-variation-settings: "wdth" 100; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer li { margin: 0; }
.social { display: flex; gap: .6rem; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
.social a:hover { background: var(--red); transform: translateY(-2px); color: #fff; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.footer-contact strong { color: #fff; font-family: var(--font-display); font-size: 1.15rem; }

/* --------------------------------------------------------------------------
   Modal & toast
   -------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; padding: var(--s-4); }
.modal[aria-hidden="false"] { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(13,39,72,.6); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--t-base) var(--ease-out); }
.modal__card { position: relative; background: #fff; width: min(100%, 520px); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 4vw, 2.25rem); opacity: 0; transform: translateY(14px) scale(.98); transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__close { position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; border: 0; background: var(--paper); border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--navy); transition: background-color var(--t-fast); }
.modal__close:hover { background: var(--paper-2); }
.modal__close svg { width: 18px; height: 18px; }
.modal__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; background: var(--paper); color: var(--navy); }
.modal__icon svg { width: 28px; height: 28px; }
.modal__icon--ok { background: #e6f7ee; color: #1a9c5b; }
.modal__icon--red { background: #fde8ec; color: var(--red); }
.modal__card h2 { font-size: 1.5rem; margin-bottom: .4rem; }
.modal__card p { color: var(--muted); }
.modal__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }

.toasts { position: fixed; z-index: 500; right: var(--s-4); bottom: var(--s-4); display: grid; gap: .6rem; width: min(100% - 2rem, 380px); pointer-events: none; }
@media (max-width: 1024px) { .toasts { bottom: 70px; } }
.toast { pointer-events: auto; display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--navy); border-radius: var(--radius); padding: .85rem 1rem; box-shadow: var(--shadow-lg); opacity: 0; transform: translateX(20px); transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out); font-family: var(--font-display); font-size: .95rem; color: var(--ink); }
.toast.is-in { opacity: 1; transform: none; }
.toast--success { border-left-color: #1a9c5b; }
.toast--error { border-left-color: var(--red); }
.toast--info { border-left-color: var(--blue); }
.toast svg { width: 20px; height: 20px; }
.toast--success svg { color: #1a9c5b; } .toast--error svg { color: var(--red); } .toast--info svg { color: var(--blue); }
.toast button { border: 0; background: none; cursor: pointer; color: var(--muted); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.toast button:hover { background: var(--paper); }

/* --------------------------------------------------------------------------
   Scroll reveals (Intersection Observer adds .is-visible)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-group > * { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal-group.is-visible > * { opacity: 1; transform: none; }
.reveal-group.is-visible > :nth-child(2) { transition-delay: 80ms; }
.reveal-group.is-visible > :nth-child(3) { transition-delay: 160ms; }
.reveal-group.is-visible > :nth-child(4) { transition-delay: 240ms; }
.reveal-group.is-visible > :nth-child(5) { transition-delay: 320ms; }
.reveal-group.is-visible > :nth-child(6) { transition-delay: 400ms; }
.reveal-group.is-visible > :nth-child(n+7) { transition-delay: 460ms; }
.parallax { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
  .parallax { transform: none !important; }
}
.no-js .reveal, .no-js .reveal-group > * { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-display); font-variation-settings: "wdth" 120; font-weight: 800; font-size: clamp(5rem, 20vw, 12rem); line-height: .9; color: var(--paper-2); -webkit-text-stroke: 2px var(--navy); }

/* Print */
@media print { .site-header, .call-bar, .drawer, .progress, .toasts, .modal { display: none !important; } body { padding: 0; background: #fff; } }
