:root {
  /* Action orange — AA-corrected (white-on / on-white both 4.52:1) */
  --orange: #d3460a;
  --orange-dark: #b03c08;     /* hover — 6.0:1 */
  --orange-bright: #f45b1a;   /* DECORATIVE ONLY: large shapes, accent bar (3.3:1) */
  --teal: #007986;            /* tag text on #e0f4f2 — 4.5:1 */
  --blue: #3f7286;            /* newsletter band, white text — 5.3:1 */
  --purple: #6a3fd0;          /* tag text on #efe9ff — 5.5:1 */
  --orange-wash: #fde7dd;     /* light tint behind help icon */
  --teal-wash: #e0f4f2;       /* light tint behind church icon */
  --purple-wash: #efe9ff;     /* light tint behind justice icon */
  --ink: #191919;
  --muted: #666;
  --line: #e8e8e8;            /* decorative hairlines only */
  --field-border: #767676;    /* interactive input borders — 4.5:1 (1.4.11) */
  --paper: #fff;
  --page-bg: #fff8ef;         /* warm cream page base; flips to --paper via .theme-white */
  --wash: #f7f4f0;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(0,0,0,.08);
  --z-overlay: 1000;          /* full-screen search / video overlays */
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
html.theme-white { --page-bg: var(--paper); }   /* demo toggle: white page base */
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1220px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position:absolute; left:-999px; top:8px; background:#fff; padding:8px; z-index:99; }
.skip-link:focus { left:8px; }

/* Visible keyboard focus (2.4.7). Ink ring meets 3:1 on white and on the orange button (3.9:1); white ring on dark surfaces. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible,
.newsletter :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

.site-header {
  height: 92px;
  padding: 0 max(44px, calc((100vw - 1220px) / 2));
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo img { width: 86px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 34px; flex: 1; font-weight: 700; font-size: 15px; }
.main-nav a:hover { color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: none; line-height: 1; cursor: pointer; }
.icon-button svg { width: 26px; height: 26px; }
.mobile-menu { display: none; }
.mobile-menu svg { width: 28px; height: 28px; transition: transform .4s ease; overflow: visible; }
.mobile-menu line { transition: transform .3s ease, opacity .2s ease; transform-box: fill-box; transform-origin: center; }
/* Tapped open: the whole icon spins while the two outer bars cross into an X and the middle bar fades out */
.mobile-menu[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-menu[aria-expanded="true"] line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu[aria-expanded="true"] line:nth-child(2) { opacity: 0; }
.mobile-menu[aria-expanded="true"] line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 18px rgba(211,70,10,.28); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { color: #fff; gap: 8px; }
.btn-ghost svg { width: 1em; height: 1em; }
.btn-dark { background: #171717; color: #fff; }

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16,16,16,1) 15%, rgba(16,16,16,1) 40%, rgba(16,16,16,.75) 50%, rgba(16,16,16,0) 70%);
}
.hero-copy {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 88px 0 72px;
  margin-left: max(44px, calc((100vw - 1220px) / 2));
  max-width: 500px;
}
.accent-line { display:block; width:56px; height:5px; background:var(--orange-bright); margin-bottom:26px; }
.hero h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: .98; letter-spacing: -0.06em; margin: 0 0 26px; }
.hero p { font-size: 20px; max-width: 420px; color: rgba(255,255,255,.88); }
.hero-ctas { display: flex; gap: 22px; align-items: center; margin-top: 34px; }
.hero-art { position: absolute; inset: 0; padding: 0; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; object-position: center right; }

.pathways {
  margin-top: -50px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.path-card {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.path-card__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.path-card__icon img { width: 40px; height: 40px; }
.path-card h2, .section h2, .social h2, .newsletter h2 { margin: 0 0 10px; }
.path-card p { color: var(--muted); margin-bottom: 22px; }
.path-card a, .text-link { color: var(--orange); font-weight: 800; }

.path-card--help    .path-card__icon { background: var(--orange-wash); }
.path-card--church  .path-card__icon { background: var(--teal-wash); }
.path-card--justice .path-card__icon { background: var(--purple-wash); }
.path-card--church  a { color: var(--teal); }
.path-card--justice a { color: var(--purple); }

/* Whole pathway card clickable via its existing link; overlay covers the card */
.path-card { position: relative; transition: border-color .15s ease, box-shadow .2s ease; }
.path-card a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.path-card:hover { border-color: var(--orange); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.path-card--church:hover { border-color: var(--teal); }
.path-card--justice:hover { border-color: var(--purple); }
.path-card:hover a { text-decoration: underline; }
/* Move the focus ring from the link onto the whole card */
.path-card a:focus-visible { outline: none; }
.path-card:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

.search-band {
  margin-top: 30px;
  background: var(--paper);   /* stays white to pop off the cream page base */
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 290px 1fr;
  align-items: center;
  padding: 22px 28px;
}
.search-band h2 { font-size: 28px; margin: 0; }
.search-form { display: flex; position: relative; }
/* Inline autocomplete dropdown — floats under the input row, over following content */
.search-form .search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 5;
  margin-top: 6px;
}
.search-form input, .newsletter input {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: 10px;
  min-height: 52px;
  padding: 0 18px;
  font-size: 16px;
}
.search-form button {
  width: 64px;
  margin-left: -12px;
  border: 0;
  background: var(--orange);
  color: white;
  border-radius: 0 10px 10px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.search-form button svg { width: 24px; height: 24px; }

.section { padding: 54px 0 0; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 22px;
}
.section-header a { font-weight: 800; }
/* Bordered card treatment for the Upcoming Events block (mirrors the Volunteer block); padding insets the slider so its overhanging nav buttons stay inside the border. */
.events {
  margin-top: 54px;
  padding: 40px 40px 44px;
  background: var(--page-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.event-slider { position: relative; }
.event-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;            /* hide native scrollbar (Firefox) */
  padding-bottom: 4px;
}
.event-track::-webkit-scrollbar { display: none; }
.event-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.event-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 3 * 22px) / 4);   /* 4 cards visible on desktop */
}
.slider-nav {
  position: absolute;
  top: 110px;                       /* ~1/3 down the 170px image area */
  z-index: 3;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--field-border);  /* 4.5:1 outline — defines the control on a white surface (1.4.11) */
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transition: background .15s ease, transform .15s ease;
}
.slider-nav:hover { background: var(--wash); }
.slider-prev { left: 0;  transform: translateX(-50%); }   /* 50% over the first card */
.slider-next { right: 0; transform: translateX(50%); }    /* 50% over the last card */
.slider-nav svg { width: 22px; height: 22px; }
.slider-nav[disabled] { opacity: 0; pointer-events: none; }  /* hide at track ends */
.event-image { position: relative; height: 170px; overflow: hidden; background: #ddd; }
.event-image img { width: 100%; height: 100%; object-fit: cover; }
.date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: white;
  padding: 10px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  line-height: 1.1;
}
.card-body { padding: 20px; }
.card-body h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.15; }
.card-body p { margin: 5px 0; color: #444; }
.tag { display: inline-block; margin-top: 12px; background: #efe9ff; color: var(--purple); padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 800; }
.tag.teal { background: #e0f4f2; color: var(--teal); }
.tag.orange { background: #ffe6d8; color: #bd3f09; }
.tag.purple { background: #efe9ff; color: var(--purple); }

/* Card link: one anchor per card, click region stretched over the whole card */
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.event-card { position: relative; transition: border-color .15s ease, box-shadow .2s ease; }
.event-card .event-image img { transition: transform .3s ease; }
.event-card:hover { border-color: var(--orange); box-shadow: 0 8px 20px rgba(0,0,0,.10); }
.event-card:hover .event-image img { transform: scale(1.05); }
.event-card:hover .card-link { color: var(--orange); }
/* Move the focus ring from the small title text onto the whole card.
   The outline follows each card's own border-radius, so we don't override it. */
.card-link:focus-visible { outline: none; }
.event-card:has(.card-link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }
.story-list article:has(.card-link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.volunteer {
  margin-top: 30px;
  background: var(--page-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.volunteer-hero {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: stretch;
}
.volunteer-copy {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.volunteer-copy h2 { font-size: 36px; margin: 0 0 10px; }
.volunteer-copy p { margin: 0 0 20px; }
.volunteer-media { position: relative; min-height: 340px; }
.volunteer-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.volunteer-ways {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.volunteer-feature { padding: 30px; border-left: 1px solid var(--line); }
.volunteer-feature:first-child { border-left: 0; }
.volunteer-feature h3 { margin: 0 0 10px; font-size: 17px; }
.feature-icon { width: 40px; height: 40px; margin-bottom: 12px; display: block; }
.feature-icon--teal { color: var(--teal); }
.feature-icon--purple { color: var(--purple); }
.feature-icon--orange { color: var(--orange); }

/* Shared two-column grid — still used by services.html (Coordinated Care). */
.two-column {
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Real Talk Blog — intro column beside a 3-col card grid (full-width, replaces the old two-column blog panel) */
.blog-feature {
  position: relative;
  margin-top: 54px;
  padding: 44px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  background: var(--page-bg);
  border: 1px solid var(--line);
  border-bottom: none;                /* open the bottom so the frame flows into the video block below */
  border-radius: var(--radius) var(--radius) 0 0;
  border-top-width: 2px;
  overflow: hidden;
}
.blog-feature__eyebrow, .video-feature__eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-feature__eyebrow { color: var(--orange-dark); }   /* on the cream page (#fff8ef), --orange is only 4.28:1; --orange-dark is 5.70:1 (1.4.3) */
.blog-feature__intro h2 { margin: 0; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; color: var(--ink); }
.blog-feature__accent { display: block; width: 220px; max-width: 100%; height: auto; margin: 10px 0 22px; }
.blog-feature__intro p { margin: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 1.5; }

/* Faint hand-drawn heart watermark in the bottom-left; content is lifted above it. */
.blog-feature > * { position: relative; z-index: 1; }
.blog-feature::after {
  content: "";
  position: absolute;
  left: 20px;
  bottom: 24px;
  width: 210px;
  height: 190px;
  background: url(../assets/images/blog/grey-colored-heart.png) no-repeat left bottom / contain;
  opacity: .08;
  pointer-events: none;
  z-index: 0;
}

.blog-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.blog-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.blog-card__body { position: relative; flex: 1; padding: 18px 46px 20px 20px; }
.blog-card__cat { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); }
.blog-card h3 { margin: 0; font-size: 18px; line-height: 1.25; color: var(--ink); }
.blog-card__arrow { position: absolute; right: 18px; bottom: 16px; color: var(--orange); font-weight: 800; font-size: 20px; line-height: 1; }
.blog-card:hover { border-color: var(--orange); box-shadow: 0 8px 20px rgba(0,0,0,.10); }
.blog-card:hover .card-link { color: var(--orange); }
.blog-card:has(.card-link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Featured Video — copy over the photo with the hero's left→right ink scrim (replaces the old video panel) */
.video-feature {
  position: relative;
  margin-top: 0;                     /* butt against the blog block above so the shared frame is continuous */
  min-height: 440px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);     /* continues the blog block's frame down the sides and across the bottom */
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  background: var(--ink);            /* solid ink panel behind the left copy column */
}
/* Full-bleed photo (hero idiom) so the left→right scrim overlays the image itself and reads as a gradient. */
.video-feature__bg { position: absolute; right:0; width: 75%; height: 100%; object-fit: cover; object-position: center 25%; z-index: 0; }
/* Hero's left→right ink scrim: dark under the copy, fading to reveal the photo on the right. Solid to 30% keeps white text ≥AA (1.4.3). */
.video-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(16,16,16,.95) 0%, rgba(16,16,16,.88) 30%, rgba(16,16,16,.5) 45%, rgba(16,16,16,0) 68%);
}
.video-feature__copy { position: relative; z-index: 2; color: #fff; padding: 56px; max-width: 480px; }
.video-feature__eyebrow { color: #fff; }
.video-feature__copy h2 { margin: 0 0 28px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; color: #fff; }
.video-feature__play {
  position: absolute;
  z-index: 2;
  left: 55%;              /* over the photo, clear of the copy */
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.video-feature__play svg { width: 32px; height: 32px; margin-left: 4px; }
.video-feature__play:hover { transform: translate(-50%, -50%) scale(1.08); }
.video-feature :focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Inline portrait video (9:16) — for YouTube Shorts the 16:9 modal can't present cleanly */
.video-portrait { position: relative; width: 100%; max-width: 340px; margin-inline: auto; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-portrait iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.impact {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) 1.1fr;  /* photo | content */
  background: var(--paper);                       /* white so #d3460a highlights clear AA */
  border-radius: var(--radius);
  overflow: hidden;                              /* clip photo to rounded corners */
  box-shadow: var(--shadow);                     /* subtle lift off the cream page */
}
.impact-media { position: relative; min-height: 320px; }
.impact-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.impact-body { padding: 56px 44px; }
.impact-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin: 0 0 12px; }
.impact-heading { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; color: var(--ink); margin: 0 0 28px; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 24px; margin-bottom: 28px; }
.impact-stat strong { display: block; font-size: clamp(26px, 2.6vw, 34px); line-height: 1; color: var(--orange); }
.impact-stat span { display: block; margin-top: 8px; color: var(--ink); font-size: 15px; line-height: 1.35; }

.testimonial {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fffaf5;
}
.testimonial-intro { padding: 30px; }
.testimonial-stack { display: grid; align-self: stretch; }
.testimonial-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1.5fr 280px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s ease, visibility 0s linear .4s;
}
.testimonial-slide.is-active { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s linear 0s; }
.testimonial-slide blockquote { padding: 30px; }
.mini-avatars { display: flex; gap: 12px; margin-top: 18px; }
.mini-avatars button {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 12px;
  cursor: pointer;
}
.mini-avatars img { width: 58px; border-radius: 12px; display: block; }
.mini-avatars button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.mini-avatars button.is-active { outline: 3px solid var(--orange); outline-offset: 2px; }
blockquote { font-size: 24px; font-weight: 800; margin: 0; }
cite { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 18px; }
.portrait { height: 100%; width: 100%; object-fit: cover; align-self: stretch; }

/* --- Full-screen overlays: search + video --- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(16,16,16,.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s linear .3s;
}
.overlay[hidden] { display: none; }
.overlay.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s linear 0s; }
.overlay :focus-visible { outline-color: #fff; }

.overlay-close {
  position: absolute;
  top: 20px;
  right: 20px;
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
}
.overlay-close:hover { background: rgba(255,255,255,.22); }
.overlay-close svg { width: 26px; height: 26px; }

.search-overlay__inner { width: min(720px, 100%); }
.overlay-search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--field-border);
  border-radius: var(--radius);
  padding: 0 20px;
}
.overlay-search-field svg { width: 26px; height: 26px; color: var(--muted); flex: none; }
.overlay-search-field input {
  flex: 1;
  border: 0;
  outline: none;
  background: none;
  min-height: 70px;
  font-size: clamp(20px, 3vw, 28px);
  font-family: inherit;
  color: var(--ink);
}

.search-suggestions {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  max-height: 50vh;
  overflow-y: auto;
}
.search-suggestions:not(:empty) {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
}
.search-suggestions [role="option"] {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
}
.search-suggestions .opt-name { font-size: 17px; font-weight: 700; color: var(--ink); }
.search-suggestions .opt-cat  { font-size: 13px; font-weight: 600; color: var(--muted); }
.search-suggestions [role="option"]:not(.is-disabled).is-active,
.search-suggestions [role="option"]:not(.is-disabled):hover { background: var(--orange-wash); }
/* Disabled result = the destination page isn't built yet. Dimmed and not selectable;
   the "Page coming soon" label carries the state so it isn't conveyed by color alone. */
.search-suggestions [role="option"].is-disabled { cursor: default; }
.search-suggestions [role="option"].is-disabled .opt-name { color: var(--muted); font-weight: 600; }
.search-suggestions .opt-tag {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
  border: 1px solid var(--field-border);
  border-radius: 999px;
  padding: 1px 8px;
}

.video-modal__frame {
  width: min(90vw, 1100px);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (prefers-reduced-motion: reduce) {
  .testimonial-slide { transition: none; }
  .overlay { transition: none; }
  .video-feature__play { transition: none; }
  .event-track { scroll-behavior: auto; }
  .slider-nav { transition: none; }
  .main-nav, .mobile-menu svg, .mobile-menu line { transition: none; }
}

.social { padding-top: 36px; }
.social-title { display: flex; align-items: center; gap: 22px; }
.social-icons { display:flex; gap:18px; }
.social-icons a { display:inline-flex; align-items:center; justify-content:center; min-width:44px; min-height:44px; color:var(--ink); }
.social-icons a:hover { color:var(--orange); }
.social-icons svg { width:24px; height:24px; }
.social-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.social-grid img { border-radius: 14px; aspect-ratio: 1.25 / 1; object-fit: cover; border: 1px solid var(--line); }

.newsletter {
  margin-top: 34px;
  margin-bottom: 64px;
  background: var(--blue);
  color: white;
  border-radius: var(--radius);
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}
.newsletter > div { display: grid; grid-template-columns: 70px 1fr; column-gap: 18px; align-items: center; }
.newsletter p { margin: 0; grid-column: 2; }
.mail-icon { grid-row: span 2; line-height: 1; }
.mail-icon svg { width: 48px; height: 48px; }
.newsletter form { display: grid; grid-template-columns: 1fr 132px; gap: 16px; }

.site-footer {
  background: #171717;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  padding: 56px max(44px, calc((100vw - 1220px) / 2));
}
.site-footer img { width: 82px; }
.site-footer p { color: rgba(255,255,255,.72); font-size: 14px; }
.site-footer h3 { font-size: 14px; text-transform: uppercase; }

.footer-top { display: flex; align-items: center; justify-content: center; gap: 28px; width: 100%; position: relative; }
.footer-logo { display: inline-flex; }
.footer-social { display: flex; align-items: center; gap: 6px; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.footer-social .icon-button { color: #fff; }
.footer-social .icon-button:hover { color: var(--orange-bright); }

.footer-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; max-width: 900px; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: 14px; font-weight: 700; }
.footer-nav a:hover { color: #fff; }

.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact p { margin: 0; }
.footer-contact a { color: rgba(255,255,255,.75); text-decoration: underline; }
.footer-contact a:hover { color: #fff; }
.footer-copyright { color: rgba(255,255,255,.55); }
.sr-only { position:absolute; width:1px; height:1px; clip:rect(0,0,0,0); overflow:hidden; white-space:nowrap; }

/* --- Church page (church.html) — page-specific styles, scoped to body.church-page / .church-* --- */

/* Hero: left-aligned copy + CTAs over the full-bleed church photo (homepage .hero / .vol-hero idiom).
   The left→right gradient keeps white text above AA (1.4.3) while the photo shows on the right. */
.church-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #101010 url("../assets/images/church/marvin-hero.jpg") center / cover no-repeat;
}
.church-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,16,16,.94) 15%, rgba(16,16,16,.88) 40%, rgba(16,16,16,.6) 58%, rgba(16,16,16,0) 80%);
}
.church-hero__copy {
  position: relative; z-index: 2; color: #fff;
  padding: 88px 0 72px;
  margin-left: max(44px, calc((100vw - 1220px) / 2));
  max-width: 520px;
}
.church-hero h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: .98; letter-spacing: -0.06em; margin: 0 0 26px; }
.church-hero p { font-size: 20px; max-width: 440px; color: rgba(255,255,255,.9); }
.church-hero__ctas { display: flex; gap: 22px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.church-hero__ghost { border: 2px solid #fff; }            /* visible outline on the dark photo (1.4.11) */
.church-hero :focus-visible { outline-color: #fff; }       /* white ring on the dark surface */

/* Church content sections inside the sidebar column */
.church-sec + .church-sec { margin-top: 56px; }
.church-eyebrow { display: block; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin: 0 0 8px; }
.church-sec__eyebrow-h { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin: 0 0 20px; }
.church-meta { color: var(--ink); font-weight: 700; margin: 0 0 14px; }
.church-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 8px 0 0; }
/* Prose block (mission/vision/values) — readable measure, muted body copy */
.church-prose { max-width: 68ch; margin: 0 auto; text-align: center;}
.church-prose p { color: var(--muted); margin: 0 0 16px; }
.church-prose p:last-child { margin-bottom: 0; margin-top: 4px; }
/* "New to GLIDE?" follow-on under the Plan Your Visit button */
.media-row__body .church-newvisitor { font-size: 15px; color: var(--muted); margin: 18px 0 0; }

/* Mission tiles — reuse .path-card but non-interactive (no false hover affordance) */
.church-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.church-grid-3 .path-card__body h3 { margin: 0 0 8px; font-size: 20px; }
.path-card--static { cursor: default; }
.path-card--static:hover { border-color: var(--line); box-shadow: var(--shadow); }

/* Four-up card grids (Ministries, Announcements, Events) */
.church-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Celebration — centered headings, sub-blocks, a video with a social-icon aside, caption + link */
.celebration { text-align: center; }
.celebration > h2 { font-size: 32px; margin: 0 0 8px; }
.celebration h3 { font-size: 22px; margin: 30px 0 10px; }
.celebration p { color: var(--muted); max-width: 760px; margin: 0 auto 10px; }
.celebration .btn { margin-top: 18px; }
.celebration-media { display: flex; align-items: flex-start; justify-content: center; gap: 18px; max-width: 900px; margin: 36px auto 0; }
.celebration-media .video-thumb { flex: 1; margin: 0; }
.celebration-media .video-thumb img { height: auto; aspect-ratio: 16 / 9; }
.celebration-media .social-icons { flex-direction: column; gap: 14px; }
.celebration-caption { color: var(--muted); max-width: 760px; margin: 24px auto 12px; }

/* Reusable image/text row (Mission, Vision, Values + Get Spiritual Support) */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.media-row__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.media-row__body h2 { font-size: 30px; margin: 0 0 14px; }
.media-row__body p { color: var(--muted); margin: 0 0 14px; }
.media-row__body .btn { margin-top: 8px; }

/* Our Community — 3-up cards (image top, body, CTA) */
.community { text-align: center; }
.community > h2 { font-size: 32px; margin: 0 0 26px; }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.community-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.community-card:hover { border-color: var(--orange); box-shadow: 0 8px 20px rgba(0,0,0,.10); }
.community-card__media { aspect-ratio: 3 / 2; overflow: hidden; background: #ddd; }
.community-card__media img { width: 100%; height: 100%; object-fit: cover; }
.community-card__media.pos-top img { object-position: top center; }
.community-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px; }
.community-card__body h3 { margin: 0; font-size: 20px; }
.community-card__body p { margin: 0; flex: 1; color: var(--muted); }
.community-card__body .btn { align-self: flex-start; margin-top: 4px; }

@media (max-width: 1024px) {
  .media-row { grid-template-columns: 1fr; gap: 26px; }
  .community-grid { grid-template-columns: repeat(2, 1fr); }
  .church-grid-4 { grid-template-columns: repeat(2, 1fr); }
  /* Hero: pull copy to the gutter and flatten the gradient once the photo loses room on the right */
  .church-hero { min-height: 440px; }
  .church-hero::before { background: linear-gradient(90deg, rgba(16,16,16,.9), rgba(16,16,16,.62)); }
  .church-hero__copy { margin-left: 0; padding: 64px 24px; max-width: 560px; }
}
@media (max-width: 640px) {
  .community-grid { grid-template-columns: 1fr; }
  .church-grid-4 { grid-template-columns: 1fr; }
  .church-grid-3 { grid-template-columns: 1fr; }
  .celebration-media { flex-direction: column; align-items: center; }
  .celebration-media .social-icons { flex-direction: row; }
  .church-hero__copy { padding: 48px 24px; }
  .church-hero h1 { font-size: 44px; }
  .church-hero__ctas { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  .community-card { transition: none; }
}

/* --- Volunteer page (volunteer.html) — page-specific styles, scoped to body.volunteer-page / .vol-* --- */

/* Hero: left-aligned copy + CTAs over the full-width volunteer photo (homepage .hero idiom).
   The left→right gradient keeps white text above AA (1.4.3) while the photo shows on the right. */
.vol-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #101010 url("../assets/images/volunteer/hero-volunteers.png") center / cover no-repeat;
}
.vol-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,16,16,.94) 15%, rgba(16,16,16,.88) 40%, rgba(16,16,16,.6) 58%, rgba(16,16,16,0) 80%);
}
.vol-hero__copy {
  position: relative; z-index: 2; color: #fff;
  padding: 88px 0 72px;
  margin-left: max(44px, calc((100vw - 1220px) / 2));
  max-width: 520px;
}
.vol-hero h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: .98; letter-spacing: -0.06em; margin: 0 0 26px; }
.vol-hero p { font-size: 20px; max-width: 440px; color: rgba(255,255,255,.9); }
.vol-hero__ctas { display: flex; gap: 22px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.vol-hero__ghost { border: 2px solid #fff; }            /* visible outline on the dark photo (1.4.11) */
.vol-hero :focus-visible { outline-color: #fff; }       /* white ring on the dark surface */

/* Full-bleed warm wash bands that alternate with white sections */
.vol-band { background: var(--page-bg); padding: 56px 0; }   /* matches the page base; flips with the toggle */
/* Give the white .section blocks symmetric padding so they don't crowd the wash bands */
.volunteer-page .section { padding: 56px 0; }

/* Shared section heading + decorative orange bar (--orange-bright is decorative-only) */
.volunteer-page .vol-heading { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 22px; }
.volunteer-page .vol-heading::after { content: ""; display: block; width: 90px; height: 5px; background: var(--orange-bright); border-radius: 999px; margin-top: 14px; }
.volunteer-page .vol-heading--center { text-align: center; }
.volunteer-page .vol-heading--center::after { margin-left: auto; margin-right: auto; }
/* Decorative heart appended inline to a heading — inherits text colour (white on --orange CTA, ink elsewhere); aria-hidden, so no contrast obligation (1.4.1) */
.volunteer-page .heading-heart { width: .9em; height: .9em; vertical-align: -0.08em; margin-left: .3em; }

/* Reusable circular icon badge — colour is paired with a tint and an adjacent text label (1.4.1) */
.vol-badge { flex: none; width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.vol-badge img, .vol-badge svg { width: 32px; height: 32px; }
.vol-badge--teal   { background: var(--teal-wash); color: var(--teal); }
.vol-badge--orange { background: var(--orange-wash); color: var(--orange); }
.vol-badge--purple { background: var(--purple-wash); color: var(--purple); }
.vol-badge--sm { width: 38px; height: 38px; }
.vol-badge--sm img, .vol-badge--sm svg { width: 20px; height: 20px; }

/* Your Time is Love in Action — centered intro + 5-up image cards */
.vol-paths__intro { max-width: 900px; margin: 0 auto 36px; text-align: center; }
.vol-paths__intro p { color: var(--muted); font-size: 18px; margin: 0; }
.vol-path-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.vol-path-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s ease, box-shadow .2s ease; }
.vol-path-card:hover { border-color: var(--orange); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.vol-path-card__media { position: relative; background: #ddd; }
.vol-path-card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vol-path-card__media .vol-badge { position: absolute; left: 16px; top: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.vol-path-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px; }
.vol-path-card__body h3 { margin: 0; font-size: 19px; }
.vol-path-card__body p { margin: 0; flex: 1; color: var(--muted); font-size: 15px; }
.vol-path-card .text-link { margin-top: 4px; }
/* Whole card clickable via its single link; overlay covers the card, ring moves onto the card */
.vol-path-card .text-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.vol-path-card:hover .text-link { text-decoration: underline; }
.vol-path-card .text-link:focus-visible { outline: none; }
.vol-path-card:has(.text-link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Your Time. Their Tomorrow. — centered stat cells */
.vol-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.vol-stat { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.vol-stat strong { font-size: 38px; line-height: 1; margin-top: 4px; }
.vol-stat p { margin: 0; color: var(--muted); font-size: 15px; max-width: 18ch; }

/* Featured Opportunities — compact card grid */
.vol-opp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vol-opp-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s ease, box-shadow .2s ease; }
.vol-opp-card:hover { border-color: var(--orange); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.vol-opp-card__media { background: #ddd; }
.vol-opp-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.vol-opp-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; flex: 1; padding: 16px; }
.vol-opp-card__body .tag { margin-top: 0; }
.vol-opp-card__body h3 { margin: 2px 0 0; font-size: 16px; line-height: 1.2; }
.vol-opp-card__body p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
/* "View all shifts" link sits on the --wash band, where --orange (4.1:1) misses AA — use --orange-dark (5.5:1, 1.4.3) */
.volunteer-page .section-header .text-link { color: var(--orange-dark); }
.vol-opp-card .text-link { font-size: 14px; }
.vol-opp-card .text-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.vol-opp-card:hover .text-link { text-decoration: underline; }
.vol-opp-card .text-link:focus-visible { outline: none; }
.vol-opp-card:has(.text-link:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Ready to serve — full-width orange CTA band (white text on --orange is the sanctioned AA pairing, ~5.8:1) */
.vol-cta { background: var(--orange); color: #fff; }
.vol-cta__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; padding: 48px 0; }
.vol-cta h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; }
.vol-cta__text p { margin: 0; font-size: 18px; max-width: 520px; }
.vol-cta__aside { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.vol-cta__contact { display: flex; flex-direction: column; gap: 4px; font-weight: 800; }
.vol-cta__contact a { color: #fff; }
.vol-cta__buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.vol-cta__ghost { border: 2px solid #fff; }             /* visible outline on the orange surface (1.4.11) */
.vol-cta :focus-visible { outline-color: #fff; }        /* white ring on the orange surface */

/* How Volunteering Works — 3 numbered step cards */
.vol-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vol-step { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 28px 28px; }
.vol-step__num { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; }
.vol-step h3 { margin: 4px 0 0; font-size: 19px; }
.vol-step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Explore Our Volunteer Programs — accordion + quote */
.vol-programs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.vol-accordion-card > h2 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 18px; }
.vol-accordion { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.vol-accordion__heading { margin: 0; font-size: inherit; font-weight: inherit; }
.vol-accordion__trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; background: #fff; border: 0; border-top: 1px solid var(--line); padding: 12px 18px; min-height: 56px; font: inherit; font-weight: 800; font-size: 16px; color: var(--ink); cursor: pointer; text-align: left; }
.vol-accordion__heading:first-child .vol-accordion__trigger { border-top: 0; }
.vol-accordion__trigger:hover { background: var(--wash); }
.vol-accordion__label { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }
.vol-accordion__chevron { width: 20px; height: 20px; flex: none; color: var(--orange); transition: transform .2s ease; }
.vol-accordion__trigger[aria-expanded="true"] .vol-accordion__chevron { transform: rotate(180deg); }
.vol-accordion__panel { padding: 2px 18px 18px 50px; }
.vol-accordion__panel p { margin: 0; color: var(--muted); }
.vol-accordion__panel[hidden] { display: none; }

.vol-quote { position: relative; margin: 0; min-height: 340px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; color: #fff; }
.vol-quote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.vol-quote::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(16,16,16,.92) 12%, rgba(16,16,16,.45) 55%, rgba(16,16,16,.12) 100%); }
.vol-quote blockquote { position: relative; z-index: 2; margin: 0; padding: 32px; }
.vol-quote blockquote p { font-size: 22px; font-weight: 700; margin: 0 0 12px; }
.vol-quote figcaption { color: #fff; font-weight: 800; }

/* Meet A Volunteer — two-column photo + copy spotlight (mirrors the .cta-band idiom) */
.vol-spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.vol-spotlight__media { border-radius: var(--radius); overflow: hidden; min-height: 300px; }
.vol-spotlight__media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.vol-spotlight__body p { color: var(--muted); font-size: 17px; margin: 0 0 24px; max-width: 48ch; }

/* Frequently Asked Questions — single readable column */
.vol-faq { max-width: 820px; margin: 0 auto; }
.vol-faq > h2 { margin-bottom: 22px; }

/* Newsletter — centered single-column variant (distinct from the shared blue .newsletter band) */
.vol-newsletter { max-width: 720px; margin: 64px auto; text-align: center; }
.vol-newsletter h2 { font-size: 28px; margin: 0 0 22px; }
.vol-newsletter form { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.vol-newsletter input {
  width: 100%;
  border: 1px solid var(--field-border);                 /* interactive border — 4.5:1 (1.4.11) */
  border-radius: 999px;
  min-height: 54px;
  padding: 0 22px;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .vol-path-grid { grid-template-columns: repeat(2, 1fr); }
  .vol-stats { grid-template-columns: repeat(2, 1fr); max-width: 620px; margin: 0 auto; }
  .vol-opp-grid { grid-template-columns: repeat(3, 1fr); }
  .vol-steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .vol-programs__grid { grid-template-columns: 1fr; }
  .vol-spotlight { grid-template-columns: 1fr; gap: 24px; }
  .vol-cta__inner { grid-template-columns: 1fr; gap: 24px; }
  /* Hero: pull copy to the gutter and flatten the gradient once the photo loses room on the right */
  .vol-hero { min-height: 440px; }
  .vol-hero::before { background: linear-gradient(90deg, rgba(16,16,16,.9), rgba(16,16,16,.62)); }
  .vol-hero__copy { margin-left: 0; padding: 64px 24px; max-width: 560px; }
}
@media (max-width: 640px) {
  .vol-path-grid { grid-template-columns: 1fr; }
  .vol-stats { grid-template-columns: 1fr; max-width: 320px; }
  .vol-opp-grid { grid-template-columns: 1fr; }
  .volunteer-page .section-header { flex-wrap: wrap; row-gap: 8px; }
  .vol-accordion__panel { padding-left: 18px; }
  .vol-hero__copy { padding: 48px 24px; }
  .vol-hero h1 { font-size: 44px; }
  .vol-hero__ctas { flex-direction: column; align-items: stretch; }
  .vol-cta__buttons { flex-direction: column; align-items: stretch; }
  .vol-cta__buttons .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .vol-path-card, .vol-opp-card, .vol-accordion__chevron, .vol-accordion__trigger { transition: none; }
}

@media (max-width: 1024px) {
  /* Collapsed dropdown panel — stays in the DOM so it can slide; max-height reveals it top-to-bottom */
  .main-nav {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 92px; left: 0; right: 0;
    background: #fff; z-index: 9; border-bottom: 1px solid var(--line);
    max-height: 0; opacity: 0; overflow: hidden; padding: 0 24px;
    transition: max-height .32s ease, opacity .25s ease, padding .32s ease;
  }
  .main-nav.is-open { max-height: 60vh; opacity: 1; padding: 20px 24px; }
  .mobile-menu { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 0; background: transparent; cursor: pointer; }
  .site-header { justify-content: space-between; padding: 0 24px; }
  /* Tablet + mobile hero: stack the image on top of the copy, drop the gradient overlay */
  .hero { flex-direction: column-reverse; min-height: 0; align-items: stretch; }
  .hero::before { display: none; }
  .hero-art { position: static; }
  .hero-art img { object-fit: contain; height: auto; object-position: center; }
  .hero-copy { margin: 0; padding: 28px; color: var(--ink); }
  .hero p { color: var(--muted); }
  .hero :focus-visible { outline-color: var(--ink); }
  .hero .btn-ghost { color: var(--ink); }
  .pathways, .social-grid { grid-template-columns: repeat(2, 1fr); }
  .impact { grid-template-columns: 1fr; }        /* stack photo above content */
  .impact-media { min-height: 260px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .event-card { flex-basis: calc((100% - 22px) / 2); }   /* 2 cards visible */
  .pathways { margin-top: 18px; }
  .volunteer-ways { grid-template-columns: 1fr 1fr; }
  .volunteer-feature:nth-child(3) { border-left: 0; }
  .two-column, .testimonial, .newsletter, .search-band { grid-template-columns: 1fr; }
  /* Blog: stack intro above the grid; cards drop to 2 columns */
  .blog-feature { grid-template-columns: 1fr; gap: 28px; }
  .blog-cards { grid-template-columns: repeat(2, 1fr); }
  .blog-feature::after { display: none; }   /* watermark is a desktop-only flourish; no empty lower-left space once stacked */
  /* Video: stack image above dark copy (mirrors the hero's mobile treatment) so text stays readable and the play button clears the copy */
  .video-feature { flex-direction: column; align-items: stretch; min-height: 0; background: var(--ink); }
  .video-feature__bg { position: relative; left: auto; right: auto; width: 100%; height: 260px; object-fit: cover; object-position: center 22%; }
  .video-feature::before { display: none; }
  .video-feature__copy { max-width: none; padding: 30px 24px 36px; }
  .video-feature__play { top: 130px; left: 50%; }
  .testimonial-slide { grid-template-columns: 1fr; }
  .testimonial .portrait { max-height: 260px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1220px); }
  /* Keep Donate visible by tightening the header so everything still fits at ~320px */
  .site-header { padding: 0 16px; gap: 12px; }
  .header-actions { gap: 8px; }
  .header-actions .btn { padding: 0 16px; }
  .pathways, .social-grid, .volunteer-ways { grid-template-columns: 1fr; }
  .impact-body { padding: 40px 22px; }
  .blog-cards { grid-template-columns: 1fr; }   /* single column of blog cards at ~320px */
  .events, .blog-feature { padding: 24px; }     /* tighten the bordered cards so content doesn't crowd at 320px */
  .video-feature__bg { height: 210px; }
  .video-feature__play { top: 105px; width: 68px; height: 68px; }
  .video-feature__play svg { width: 26px; height: 26px; }
  .volunteer-hero { grid-template-columns: 1fr; }
  .volunteer-media { order: -1; min-height: 200px; }
  .volunteer-feature { border-left: 0; border-top: 1px solid var(--line); }
  .volunteer-feature:first-child { border-top: 0; }
  .event-card { flex-basis: 85%; }                 /* 1 card + a peek of the next */
  .slider-prev { transform: translateX(-25%); }    /* clamp overhang so buttons stay on-screen */
  .slider-next { transform: translateX(25%); }
  .pathways { margin-top: 18px; }
  .hero h1 { font-size: 44px; }
  .hero-ctas { flex-direction: column; align-items: start; }
  .search-band { padding: 18px; }
  .newsletter form { grid-template-columns: 1fr; }
  .site-footer { padding: 40px 24px; }
  .footer-top { flex-direction: column; gap: 18px; }
  .footer-social { position: static; transform: none; }
}

/* --- Services page (services.html) — page-specific styles, scoped to body.services-page / .svc-* --- */

/* Centered hero over a dark community photo. The .66 black scrim keeps white text above AA (1.4.3). */
.svc-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #101010 url("../assets/images/events/volunteer-burger-resize.jpg") center / cover no-repeat;
}
.svc-hero::before { content: ""; position: absolute; inset: 0; background: rgba(16,16,16,.66); }
.svc-hero__copy { position: relative; z-index: 1; color: #fff; padding: 76px 24px; max-width: 760px; }
.svc-hero h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; margin: 0 0 18px; }
.svc-hero p { font-size: 19px; color: rgba(255,255,255,.9); margin: 0 auto; max-width: 620px; }
.svc-hero :focus-visible { outline-color: #fff; }   /* white ring on the dark surface */

/* Full-bleed warm wash band; symmetric .section padding (base .section is top-only) */
.svc-band { background: var(--page-bg); padding: 56px 0; }   /* cream band; flips with the toggle */
.services-page .section { padding: 56px 0; }

/* Sidebar category nav + content column */
.svc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.svc-sidebar { position: sticky; top: 108px; }       /* clears the 92px sticky header */

/* "Services Menu" accordion — dark header link + single-open category disclosures */
.svc-menu__header {
  display: block;
  background: var(--ink); color: #fff;
  font-weight: 700; font-size: 16px;
  padding: 14px 16px;
  border-radius: 10px 10px 0 0;
}
.svc-menu__header:hover { color: #fff; text-decoration: underline; }
.svc-menu__header:focus-visible { outline-color: #fff; }   /* white ring on the dark bar */

.svc-cat-list {
  list-style: none; margin: 0; padding: 0;
  background: var(--paper);   /* white left-nav card pops off the cream band */
  border: 1px solid var(--line); border-top: none;   /* decorative frame around the rows */
  border-radius: 0 0 10px 10px;
}
.svc-cat + .svc-cat { border-top: 1px solid var(--line); }   /* decorative hairline separators */

.svc-cat__row { display: flex; align-items: stretch; }
.svc-cat__link {
  flex: 1 1 auto; display: flex; align-items: center;
  min-height: 48px; padding: 10px 8px 10px 16px;
  font-weight: 700; font-size: 15px; color: var(--ink);
}
.svc-cat__link:hover { color: var(--orange); }

.svc-cat__toggle {
  flex: none; width: 44px; min-height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--orange);   /* plus/minus icon — #d3460a is ≥3:1 non-text on wash/white (1.4.11) */
}
.svc-cat__icon { width: 20px; height: 20px; }
.svc-cat__icon .svc-cat__v { transform-origin: center; transition: transform .25s ease; }
.svc-cat.is-open .svc-cat__icon .svc-cat__v { transform: scaleY(0); }   /* plus → minus */

/* Active category row: light-orange fill, ink text, orange icon (all AA on the tint) */
.svc-cat__link[aria-current="page"] { background: var(--orange-wash); color: var(--ink); }
.svc-cat__link[aria-current="page"]:hover { color: var(--ink); }   /* keep ink — orange text would fail on the tint */
.svc-cat:has(.svc-cat__link[aria-current="page"]) .svc-cat__toggle { background: var(--orange-wash); }

/* Sub-services panel — grid-rows slide; collapsed links stay out of the tab order + AT */
.svc-cat__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.svc-cat.is-open .svc-cat__panel { grid-template-rows: 1fr; }
.svc-cat__panel > ul {
  list-style: none; margin: 0; padding: 0; min-height: 0;
  overflow: hidden; visibility: hidden; transition: visibility .25s;
}
.svc-cat.is-open .svc-cat__panel > ul { visibility: visible; padding: 4px 0 10px; }
.svc-cat__panel a {
  display: flex; align-items: center; min-height: 44px;
  padding: 6px 16px 6px 28px; font-size: 14px; color: var(--ink);
}
.svc-cat__panel a:hover { color: var(--orange); }
/* Active sub-service (current page): light-orange fill + bold ink, matching the active category */
.svc-cat__panel a[aria-current="page"] { background: var(--orange-wash); color: var(--ink); font-weight: 700; }
.svc-cat__panel a[aria-current="page"]:hover { color: var(--ink); }

.svc-content > h2 { font-size: 30px; margin: 0 0 14px; }
.svc-content > h3 { font-size: 20px; margin: 28px 0 8px; }
.svc-content > p { color: var(--muted); margin: 0 0 24px; }
.svc-content__heading { margin-top: 56px; }
.svc-content ul { margin: 0 0 24px; padding-left: 22px; color: var(--muted); }   /* --muted on --wash is 4.8:1 (1.4.3) */
.svc-content ul li { margin: 0 0 8px; }
.svc-intro-media { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.svc-intro-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Single content image */
.svc-figure { margin: 0 0 24px; }
.svc-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.svc-figure figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }

.svc-care { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.svc-care__body p { color: var(--muted); margin: 0 0 16px; }
.svc-care__body h3 { font-size: 18px; margin: 22px 0 6px; }
.svc-care__media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }

/* Detail band — stack the shared media-rows with breathing room */
.svc-details { display: grid; gap: 48px; }

/* Newsletter — centered single-column variant (matches church/vol) */
.svc-newsletter { max-width: 720px; margin: 64px auto; text-align: center; }
.svc-newsletter h2 { font-size: 28px; margin: 0 0 22px; }
.svc-newsletter form { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.svc-newsletter input {
  width: 100%;
  border: 1px solid var(--field-border);   /* interactive border — 4.5:1 (1.4.11) */
  border-radius: 999px;
  min-height: 54px;
  padding: 0 22px;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .svc-layout { grid-template-columns: 1fr; gap: 28px; }
  .svc-sidebar { position: static; }   /* accordion stacks above the content when single-column */
  .svc-care { grid-template-columns: 1fr; }
  .svc-care__media { order: -1; }                  /* image above the sub-blocks when stacked */
  .svc-care__media img { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .svc-intro-media { grid-template-columns: 1fr; }
  .svc-hero__copy { padding: 56px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-cat__panel, .svc-cat__panel > ul, .svc-cat__icon .svc-cat__v { transition: none; }
}

/* --- Services overview (services.html) — category-landing layout --- */

/* Hero: index-style left copy over a full-bleed photo. The left gradient scrim keeps white text above AA (1.4.3). */
.media-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.media-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,16,16,.94) 12%, rgba(16,16,16,.86) 38%, rgba(16,16,16,.55) 60%, rgba(16,16,16,.1) 82%);
}
.media-hero__copy {
  position: relative; z-index: 2; color: #fff;
  padding: 80px 0 76px;
  margin-left: max(44px, calc((100vw - 1220px) / 2));
  max-width: 540px;
}
.media-hero h1 { font-size: clamp(44px, 5.5vw, 72px); line-height: 1; letter-spacing: -0.05em; margin: 0 0 20px; }
.media-hero p { font-size: 20px; max-width: 460px; color: rgba(255,255,255,.9); }
.media-hero :focus-visible { outline-color: #fff; }   /* white ring on the dark surface */

.svc-overview-hero {
  background: #101010 url("../assets/images/services/002f7907-253f-4e30-9966-bc0f9f11f2c5.png") center / cover no-repeat;
}

/* "How can we help you?" — search field + immediate-help shortcut */
.svc-search { padding: 56px 0 0; }
.svc-search h2 { font-size: 30px; margin: 0 0 18px; }
.svc-search__row { display: flex; gap: 16px; align-items: stretch; flex-wrap: wrap; }
.svc-search__field { position: relative; flex: 1 1 360px; min-width: 0; display: flex; align-items: center; }
.svc-search__field svg { position: absolute; left: 16px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.svc-search__field input {
  width: 100%;
  border: 1px solid var(--field-border);   /* interactive border — 4.5:1 (1.4.11) */
  border-radius: 10px;
  min-height: 56px;
  padding: 0 18px 0 46px;
  font-size: 16px;
}
/* Inline autocomplete dropdown — floats under the input, over following content */
.svc-search__field .search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 5;
  margin-top: 6px;
}
/* Peach pill: #bd3f09 text/icon on --orange-wash clears AA (4.5:1); plain --orange would not. */
.svc-search__urgent {
  flex: 0 0 auto; gap: 10px;
  min-height: 56px;
  background: var(--orange-wash);
  border: 1px solid #bd3f09;
  color: #bd3f09;
}
.svc-search__urgent svg { width: 18px; height: 18px; }
.svc-search__urgent:hover { background: #fcdfd4; border-color: #9c340a; }

/* Find Help By Category — primary service grid */
.svc-cats { padding: 48px 0 0; }
.svc-cats h2, .svc-more h2 { font-size: 30px; margin: 0 0 22px; }
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cat-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .15s ease, box-shadow .2s ease;
}
.cat-card__icon { color: var(--orange); margin-bottom: 16px; }
.cat-card__icon svg { width: 36px; height: 36px; }
.cat-card__title { font-size: 17px; margin: 0 0 8px; }
.cat-card__title a { color: var(--ink); text-decoration: none; }
.cat-card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 18px; flex: 1; }
.cat-card__arrow { color: var(--muted); }
.cat-card__arrow svg { width: 20px; height: 20px; display: block; }
/* Whole card is the link target; ring moves onto the card */
.cat-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.cat-card:hover { border-color: var(--orange); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
.cat-card:hover .cat-card__title a { text-decoration: underline; }
.cat-card:hover .cat-card__arrow { color: var(--orange); }
.cat-card a:focus-visible { outline: none; }
.cat-card:has(a:focus-visible) { outline: 3px solid var(--ink); outline-offset: 3px; }

/* "Not sure where to start?" banner */
.help-banner {
  display: flex; align-items: center; gap: 22px;
  margin: 48px 0;
  padding: 26px 30px;
  background: var(--orange-wash);
  border-radius: var(--radius);
}
.help-banner__icon { color: #bd3f09; flex: none; }   /* 4.5:1 on --orange-wash */
.help-banner__icon svg { width: 64px; height: 64px; display: block; }
.help-banner__text { flex: 1; }
.help-banner__text h2 { font-size: 20px; margin: 0 0 4px; }
.help-banner__text p { color: var(--muted); margin: 0; }
.help-banner__btn { flex: none; background: #fff; border: 1px solid var(--orange); color: var(--orange); }
.help-banner__btn:hover { background: var(--orange); color: #fff; }

/* More Ways We Support Our Community — borderless icon columns */
.svc-more { padding: 24px 0 0; }
.support-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.support-card { display: flex; gap: 14px; align-items: flex-start; }
.support-card__icon { color: var(--orange); flex: none; }
.support-card__icon svg { width: 40px; height: 40px; display: block; }
.support-card__body { min-width: 0; }
.support-card h3 { font-size: 16px; margin: 0 0 8px; }
.support-card p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 12px; }

/* You Are Not Alone — dark CTA band */
.cta-band {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  margin: 56px 0 72px;
  background: var(--ink); color: #fff;
  border-radius: var(--radius); overflow: hidden;
}
.cta-band__media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.cta-band__body { padding: 48px; align-self: center; }
.cta-band__body h2 { font-size: 34px; margin: 0 0 14px; }
.cta-band__body p { color: rgba(255,255,255,.85); margin: 0 0 24px; max-width: 460px; }
.cta-band :focus-visible { outline-color: #fff; }

@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .support-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band__media img { min-height: 220px; }
  .cta-band__body { padding: 32px; }
}
@media (max-width: 640px) {
  .media-hero::before { background: rgba(16,16,16,.72); }   /* full scrim once copy spans the width */
  .media-hero__copy { margin-right: 20px; padding: 56px 0; }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  .help-banner { flex-direction: column; align-items: flex-start; }
  .svc-search__urgent { width: 100%; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cat-card { transition: none; }
}

/* Loving, hands-on support — centered lead-in above the coordinated-care model */
.svc-stability { max-width: 760px; text-align: center; }
.svc-stability p { color: var(--muted); }

/* Coordinated Care — text column + a stack of supporting graphics (reuses .two-column) */
.svc-coord__media { display: grid; gap: 24px; align-content: start; }
.svc-coord__media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* --- Donate page (donate.html) — page-specific styles, scoped to body.donate-page / .give-* --- */

/* Hero mirrors the homepage .hero structure (accent line, left copy offset to the
   content gutter, strong left-to-right gradient) but over the full-bleed van photo
   instead of a separate art layer. The gradient keeps white text above AA (1.4.3)
   on the left while the photo shows through on the right. */
.give-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #101010 url("../assets/images/hero/hero-glide-van.jpg") center / cover no-repeat;
}
.give-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,16,16,.94) 15%, rgba(16,16,16,.88) 40%, rgba(16,16,16,.6) 58%, rgba(16,16,16,0) 80%);
}
.give-hero__copy {
  position: relative; z-index: 2; color: #fff;
  padding: 88px 0 72px;
  margin-left: max(44px, calc((100vw - 1220px) / 2));
  max-width: 500px;
}
.give-hero h1 { font-size: clamp(48px, 5.5vw, 76px); line-height: .98; letter-spacing: -0.06em; margin: 0 0 26px; }
.give-hero p { font-size: 20px; max-width: 420px; color: rgba(255,255,255,.9); }
.give-hero__ctas { display: flex; gap: 22px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.give-hero__ghost { border: 2px solid #fff; }   /* visible outline on the dark photo (1.4.11) */
.give-hero :focus-visible { outline-color: #fff; }   /* white ring on the dark surface */

.give-band { background: var(--page-bg); padding: 56px 0; }   /* matches the page base; flips with the toggle */
.donate-page .section { padding: 56px 0; }

/* Gift form + Your Impact two-column */
.give-layout { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: start; }

/* Donation form card */
.give-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 18px;
}
.give-form fieldset { border: 0; margin: 0; padding: 0; }

/* Frequency tabs (One time / Monthly) — underlined active tab, state shown by colour + weight + underline (not colour alone) */
.give-frequency { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.give-frequency input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.give-frequency label {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; cursor: pointer;
  font-weight: 700; color: var(--muted);
  border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.give-frequency input:checked + label { color: var(--ink); border-bottom-color: var(--orange); }
.give-frequency input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: 4px; }

/* Amount chips — dark fill marks the selected amount */
.give-amounts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.give-amounts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.give-amounts label {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 8px;
  border: 1px solid var(--field-border); border-radius: 10px;
  font-weight: 700; cursor: pointer; text-align: center;
}
.give-amounts input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); }
.give-amounts input:focus-visible + label { outline: 3px solid var(--ink); outline-offset: 3px; }
.give-amounts input:checked:focus-visible + label { outline-color: var(--orange); }

/* Currency + custom amount, designation select */
.give-custom { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.give-form select,
.give-custom input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--field-border);   /* interactive border — 4.5:1 (1.4.11) */
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.give-custom__amount input { text-align: right; }
.give-direct-label { margin: 6px 0 -8px; font-weight: 700; }

.give-dedicate { display: flex; align-items: center; gap: 10px; }
.give-dedicate input { width: 22px; height: 22px; accent-color: var(--orange); flex: none; cursor: pointer; }
.give-dedicate label { font-weight: 600; cursor: pointer; }

.give-submit { width: 100%; }

.give-payments { list-style: none; display: flex; gap: 10px; justify-content: center; margin: 4px 0 0; padding: 0; }
.give-payments svg { width: 42px; height: 26px; display: block; }

/* Tribute Donation reveal panel — tinted to set the optional fields apart */
.give-tribute { background: var(--orange-wash); border-radius: var(--radius); padding: 18px; display: grid; gap: 12px; }
.give-tribute[hidden] { display: none; }   /* author display:grid would otherwise beat the UA [hidden] rule */
.give-tribute__field { margin: 0; }
.give-tribute__field label { display: block; font-weight: 700; font-size: 14px; margin: 0 0 6px; }
.give-tribute__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.give-tribute select,
.give-tribute input,
.give-tribute textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--field-border);   /* interactive border — 4.5:1 (1.4.11) */
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.give-tribute textarea { min-height: 84px; resize: vertical; line-height: 1.5; }

/* Shared section heading + decorative orange bar (--orange-bright is decorative-only) */
.give-heading { font-size: clamp(28px, 3.4vw, 36px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 26px; }
.give-heading::after { content: ""; display: block; width: 90px; height: 5px; background: var(--orange-bright); border-radius: 999px; margin-top: 14px; }
.give-heading--center { text-align: center; }
.give-heading--center::after { margin-left: auto; margin-right: auto; }

/* "Your gift is love in action." impact column */
.give-impact { position: relative; }
.give-impact .give-heading { font-size: clamp(34px, 4.6vw, 48px); margin: 0 0 18px; }
.give-impact__lead { color: var(--muted); margin: 0; max-width: 520px; }
.give-impact__heart { position: absolute; top: 4px; right: 0; width: 80px; height: 80px; color: var(--orange-bright); transform: rotate(-12deg); }
.give-impact-cards { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.give-impact-cards li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.give-impact-cards__icon { color: var(--orange); display: inline-flex; }
.give-impact-cards__icon svg { width: 40px; height: 40px; }
.give-impact-cards strong { display: block; font-size: 34px; line-height: 1; margin: 10px 0 8px; }
.give-impact-cards p { color: var(--muted); margin: 0; font-size: 15px; }

/* Trust band — Candid rating + 501(c)(3) */
.give-band--trust { padding: 32px 0; }
.give-trust { display: flex; align-items: center; gap: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 32px; }
.give-trust__badge {
  flex: none; width: 124px; margin: 0; padding: 14px 10px;
  display: grid; justify-items: center; gap: 1px; text-align: center;
  border: 3px solid var(--teal-wash); box-shadow: inset 0 0 0 2px var(--teal); border-radius: 8px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.3;
}
.give-trust__badge strong { font-size: 18px; }
.give-trust__text { margin: 0; font-size: 17px; }

/* Other Ways to Give — card grid (layout option A) */
.give-ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.give-way { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .2s, box-shadow .2s; }
.give-way:hover { border-color: var(--orange); box-shadow: 0 10px 24px rgba(0,0,0,.10); }
.give-way__icon { color: var(--orange); margin-bottom: 12px; }
.give-way__icon svg { width: 32px; height: 32px; }
.give-way h3 { font-size: 19px; line-height: 1.2; margin: 0 0 8px; }
.give-way p { color: var(--muted); font-size: 15px; margin: 0 0 16px; flex: 1; }
.give-way a { color: var(--orange); font-weight: 800; text-decoration: none; align-self: flex-start; }
.give-way a:hover { text-decoration: underline; }

/* Other Ways to Give — accordion (layout option B; reuses .vol-accordion; no badge, so panels use a flush left padding) */
.give-accordion { max-width: 860px; margin: 0 auto; }

/* leading category icon in the trigger (mirrors the card icons) */
.give-accordion .vol-accordion__icon { display: inline-flex; flex: none; color: var(--orange); }
.give-accordion .vol-accordion__icon svg { width: 24px; height: 24px; }

/* slide down/up: animate grid rows 0fr -> 1fr. The inner wrapper carries the vertical
   padding + overflow:hidden so the panel truly collapses to zero height. */
.give-accordion .vol-accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; padding: 0 18px 0 54px; } /* left pad = trigger pad (18) + icon (24) + gap (12), so content aligns under the title text */
.give-accordion .vol-accordion__panel[hidden] { display: none; } /* keep closed panels removed (beats display:grid; 4.1.2) */
.give-accordion .vol-accordion__panel.is-open { grid-template-rows: 1fr; }
.give-accordion .vol-accordion__panel-inner { min-height: 0; overflow: hidden; padding: 16px 0 24px; }
.give-accordion .vol-accordion__panel p { margin: 0 0 14px; }
.give-accordion .vol-accordion__panel p:last-child { margin-bottom: 0; }
.give-accordion .vol-accordion__panel a { color: var(--orange); font-weight: 700; }
.give-accordion .vol-accordion__panel .btn { color: #fff; margin: 4px 0 18px; }
.give-accordion .vol-accordion__panel address { font-style: normal; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.give-accordion .vol-accordion__panel ul { margin: 0; padding-left: 20px; color: var(--muted); }
.give-accordion .vol-accordion__panel li { margin: 4px 0; }
@media (prefers-reduced-motion: reduce) {
  .give-accordion .vol-accordion__panel { transition: none; }
}

/* Love in Action — icon-circle stat cards */
.give-stats__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.give-stat { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.give-stat__icon { grid-row: 1 / 3; width: 64px; height: 64px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; }
.give-stat__icon svg { width: 30px; height: 30px; }
.give-stat strong { font-size: 32px; line-height: 1; align-self: end; }
.give-stat p { margin: 4px 0 0; color: var(--muted); font-size: 14px; align-self: start; }

/* Newsletter — full-width orange band */
.give-signup { background: var(--orange); color: #fff; }
.give-signup__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 40px 0; }
.give-signup h2 { font-size: clamp(24px, 3.2vw, 34px); margin: 0; max-width: 420px; }
.give-signup form { display: flex; gap: 14px; flex: 1; max-width: 620px; }
.give-signup input {
  flex: 1;
  min-height: 54px;
  border: 1px solid var(--field-border);   /* white fill on orange marks the control boundary (1.4.11) */
  border-radius: 999px;
  padding: 0 22px;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}
.give-signup .btn { flex: none; }
.give-signup :focus-visible { outline-color: #fff; }   /* white ring on the orange surface */

@media (max-width: 1024px) {
  .give-layout { grid-template-columns: 1fr; gap: 28px; }
  .give-ways { grid-template-columns: repeat(2, 1fr); }
  .give-stats__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .give-trust { flex-direction: column; text-align: center; gap: 18px; }
  .give-signup__inner { flex-direction: column; align-items: flex-start; }
  .give-impact__heart { display: none; }
  /* Hero: pull copy to the page gutter and flatten the gradient so the full text
     column stays covered once the photo no longer has room to show on the right */
  .give-hero { min-height: 440px; }
  .give-hero::before { background: linear-gradient(90deg, rgba(16,16,16,.9), rgba(16,16,16,.62)); }
  .give-hero__copy { margin-left: 0; padding: 64px 24px; max-width: 560px; }
}
@media (max-width: 640px) {
  .give-amounts { grid-template-columns: 1fr 1fr; }
  .give-impact-cards { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .give-ways { grid-template-columns: 1fr; }
  .give-tribute__row { grid-template-columns: 1fr; }
  .give-form { padding: 22px; }
  .give-signup form { flex-direction: column; }
  .give-signup .btn { width: 100%; }
  .give-hero__copy { padding: 48px 24px; }
  .give-hero h1 { font-size: 44px; }
  .give-hero__ctas { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .give-way { transition: none; }
}

/* Demo-only floating control: flip the page base between cream and white */
.theme-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;   /* below --z-overlay (1000) */
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--field-border);   /* 4.5:1 non-text contrast (1.4.11) */
  border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer;
  box-shadow: var(--shadow);
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* --- Kitchen sink (kitchen-sink.html) — reference-page scaffolding only. These .ks-* rules
   are the meta-chrome that labels each block in the component gallery; they never appear on a
   real GLIDE page. All values reuse existing tokens and are corrected to WCAG 2.1 AA. --- */
.ks-intro {
  max-width: min(1220px, 100% - 48px);
  margin: 40px auto 8px;
}
.ks-intro h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 12px; }
.ks-intro p { color: var(--ink); max-width: 60ch; margin: 0 0 6px; }
.ks-intro .ks-note { color: var(--muted); }

/* Category divider — a big heading with a top hairline */
.ks-section {
  max-width: min(1220px, 100% - 48px);
  margin: 0 auto;
  padding-top: 40px;
  margin-top: 48px;
  border-top: 2px solid var(--line);   /* decorative hairline (1.4.11 n/a — non-interactive) */
}
.ks-section > h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.ks-section > .ks-note { color: var(--muted); margin: 0 0 8px; max-width: 70ch; }

/* Per-block meta label — monospace pill so it reads as reference chrome, not brand copy */
.ks-label {
  display: inline-block;
  margin: 32px 0 0;
  padding: 5px 12px;
  background: var(--wash);
  color: var(--ink);                    /* ~13:1 on --wash (1.4.3) */
  border: 1px solid var(--field-border);
  border-radius: 999px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
}
.ks-label .ks-src { color: var(--muted); font-weight: 400; }  /* 5.1:1 on --wash */

/* Container that isolates a demoed block so its own margins don't collapse into the label */
.ks-block { margin-top: 12px; }

/* Side-by-side swatch row for buttons / tags */
.ks-swatch-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
/* A dark tray so ghost/on-photo button variants (white text/border) are visible off a photo */
.ks-swatch-row--dark {
  background: var(--ink);
  padding: 18px;
  border-radius: var(--radius);
}
.ks-swatch-row--dark :focus-visible { outline-color: #fff; }  /* white ring on the dark tray (2.4.7) */
.theme-toggle svg { width: 18px; height: 18px; flex: none; }