/* ============================================================
   Hope Town Ohio — Staging site
   Brand: warm orange (logo) + teal-green secondary + warm grays
   ============================================================ */

:root {
  /* Brand — teal-green primary, warm amber secondary, orange kept for logo accent */
  --teal:          #2E8B96;
  --teal-dark:     #1F6581;
  --teal-deep:     #16506a;
  --teal-light:    #82C0C7;
  --teal-wash:     #EAF4F5;
  --amber:         #E8A045;   /* warm golden secondary accent */
  --amber-dark:    #C97E22;   /* AA text-on-cream / hover */
  --amber-soft:    #FBEAD0;
  --orange:        #F2941F;   /* logo accent only */
  --orange-dark:   #C56A00;

  /* Neutrals — warm */
  --ink:           #1C1C1A;   /* very dark warm gray (not pure black) */
  --body:          #3F3E3A;   /* warm body text */
  --muted:         #6B6A63;
  --line:          #E7E3DC;
  --bg:            #FFFFFF;
  --bg-soft:       #FAF8F5;   /* warm cream — default warm background */
  --bg-cream:      #FAF8F5;
  --bg-dark:       #1C1C1A;   /* footer / dark sections */

  /* Type */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --radius: 16px;
  --radius-card: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(28, 28, 26, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 28, 26, 0.14);
  --shadow-warm: 0 14px 36px rgba(201, 126, 34, 0.18);
  --header-h: 84px;
  --header-h-shrink: 64px;
  --section-y: clamp(3rem, 6.5vw, 5.5rem);   /* 48px mobile → 88px desktop */
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--bg-cream);          /* warm cream default */
  line-height: 1.75;                    /* text breathes */
  font-size: 1.125rem;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--amber-dark); }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; font-weight: 700; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 600; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1.2rem; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 2000;
  background: var(--teal-dark); color: #fff; padding: .7rem 1.1rem; border-radius: 6px;
  transition: top .2s ease;
}
.skip-link:focus { top: 8px; color:#fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: var(--section-y); background: #fff; }
.section--cream, .section--soft { background: var(--bg-cream); }
.section--white { background: #fff; }
.section--teal { background: var(--teal-wash); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--sans); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  font-size: .8rem; color: var(--amber-dark); margin: 0 0 .9rem;
}
.lead { font-size: 1.3rem; line-height: 1.6; color: var(--muted); }

/* Oversized pull-quote / mission statement */
.pullquote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.35; color: var(--teal-dark);
  max-width: 22ch; margin-inline: auto; text-wrap: balance;
}
.pullquote--wide { max-width: 30ch; }
.pullquote cite { display: block; font-style: normal; font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--muted); margin-top: 1.4rem; }

/* ---------- Buttons (all AA contrast) ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-weight: 700; font-size: 1.02rem;
  padding: .9rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease; text-align: center;
}
/* Primary = teal (white on #1F6581 ≈ 6.5:1) */
.btn--primary, .btn--teal { background: var(--teal-dark); color: #fff; }
.btn--primary:hover, .btn--teal:hover { background: var(--teal-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
/* Secondary = amber (dark text on #E8A045 ≈ 7:1) */
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: #d8912f; color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-warm); }
/* Outlined variants */
.btn--ghost { background: transparent; color: var(--teal-dark); border-color: var(--teal-dark); }
.btn--ghost:hover { background: var(--teal-dark); color: #fff; }
.btn--outline-amber { background: transparent; color: #fff; border-color: var(--amber); }
.btn--outline-amber:hover { background: var(--amber); color: var(--ink); transform: translateY(-2px); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--outline-light:hover { background: #fff; color: var(--teal-dark); }
.btn--light { background: #fff; color: var(--teal-dark); }
.btn--light:hover { background: var(--amber); color: var(--ink); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-bar {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--header-h); transition: height .25s ease;
}
.site-header.scrolled .header-bar { height: var(--header-h-shrink); }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; transition: height .25s ease; }
.site-header.scrolled .brand img { height: 40px; }

.primary-nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a, .nav-list > li > button {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--sans); font-weight: 600; font-size: .96rem; color: var(--ink);
  padding: .6rem .7rem; border-radius: 8px; background: none; border: none; cursor: pointer;
}
.nav-list > li > a:hover, .nav-list > li.has-dropdown:hover > a,
.nav-list > li > button:hover { color: var(--orange-dark); }
.nav-list > li[aria-current] > a, .nav-list > li > a[aria-current="page"] { color: var(--orange-dark); }
.nav-list .caret { width: .6em; height: .6em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }

/* Dropdowns */
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .18s ease; z-index: 1200;
}
.dropdown--wide { min-width: 520px; column-count: 2; column-gap: .5rem; }
.nav-list > li.has-dropdown:hover > .dropdown,
.nav-list > li.has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { break-inside: avoid; }
.dropdown a { display: block; padding: .55rem .7rem; border-radius: 6px; color: var(--ink); font-size: .92rem; font-weight: 500; }
.dropdown a:hover { background: var(--teal-wash); color: var(--teal-dark); }
.dropdown .group-label {
  font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  font-size: .72rem; color: var(--orange-dark); padding: .6rem .7rem .25rem; margin-top: .2rem;
}
.dropdown .group-label.first { margin-top: 0; }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .9rem; flex: 0 0 auto; }
.header-phone {
  display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--teal-dark);
  font-size: .95rem; white-space: nowrap;
}
.header-phone svg { width: 18px; height: 18px; fill: var(--orange); }
.header-phone:hover { color: var(--orange-dark); }
.header-donate { white-space: nowrap; padding: .6rem 1.2rem; }

/* Hamburger */
.nav-toggle {
  display: none; width: 46px; height: 46px; border: none; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 5px; padding: 0; margin-left: .25rem;
}
.nav-toggle span { display: block; height: 3px; width: 26px; background: var(--ink); border-radius: 3px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile-cta { display: none; }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(31,42,46,.45); opacity: 0; visibility: hidden;
  transition: opacity .25s; z-index: 900;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  margin: 0; padding: .8rem 0; font-size: .85rem; color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: .4rem; }
.breadcrumb li:not(:last-child)::after { content: "›"; color: var(--line); }
.breadcrumb a { color: var(--teal-dark); font-weight: 600; }
.breadcrumb [aria-current="page"] { color: var(--muted); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: #fff; display: grid; align-items: center; isolation: isolate; }
.hero--page { min-height: 400px; }                         /* interior page hero */
.hero--home { min-height: 100svh; }                         /* full viewport */
.hero img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero::after {                                              /* 45% dark overlay */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(28, 28, 26, 0.45);
}
.hero--home::after { background: linear-gradient(180deg, rgba(28,28,26,.40) 0%, rgba(28,28,26,.48) 100%); }
.hero .container { padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.hero p { color: rgba(255,255,255,.95); max-width: 52ch; font-size: 1.25rem; line-height: 1.6; }
.hero .btn-row { margin-top: 2rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero--gradient::after { background: linear-gradient(120deg, var(--teal-dark), var(--teal)); opacity:.97; }
.hero .eyebrow { color: #FFD8A8; }

/* Interior-page breadcrumb sits inside the hero, in white */
.hero .breadcrumb-inline { margin-top: 1rem; font-size: .9rem; color: rgba(255,255,255,.85); }
.hero .breadcrumb-inline ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; padding: 0; margin: 0; }
.hero .breadcrumb-inline li { display: flex; gap: .45rem; align-items: center; }
.hero .breadcrumb-inline li:not(:last-child)::after { content: "›"; color: rgba(255,255,255,.55); }
.hero .breadcrumb-inline a { color: #fff; font-weight: 600; }
.hero .breadcrumb-inline a:hover { color: var(--amber); }
.hero .breadcrumb-inline [aria-current] { color: rgba(255,255,255,.8); }
.hero--page .container { text-align: center; }
.hero--page h1 { margin-inline: auto; max-width: 22ch; }

/* Scroll indicator */
.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  width: 34px; height: 34px; z-index: 1; color: #fff; opacity: .85;
}
.scroll-cue svg { width: 100%; height: 100%; }

/* ============================================================
   PROGRAMS GRID (cards) — 4 / 2 / 1 columns
   ============================================================ */
.card-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }
.prog-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-warm); }
.prog-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--teal-wash); position: relative; }
.prog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.prog-card:hover .thumb img { transform: scale(1.05); }
.prog-card .card-icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-dark);
  display: grid; place-items: center; margin: 1.4rem 1.4rem 0; flex: 0 0 auto;
}
.prog-card .card-icon svg { width: 28px; height: 28px; }
.prog-card .body { padding: 1.1rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.prog-card .tag {
  align-self: flex-start; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .6rem;
}
.tag--housing { background: var(--amber-soft); color: var(--amber-dark); }
.tag--transport { background: var(--teal-wash); color: var(--teal-dark); }
.tag--other { background: #EFEDE7; color: var(--muted); }
.prog-card h3 { font-size: 1.22rem; margin-bottom: .45rem; }
.prog-card p { font-size: .96rem; color: var(--muted); margin-bottom: 1.1rem; line-height: 1.6; }
.prog-card .more { margin-top: auto; font-weight: 700; color: var(--teal-dark); font-size: .92rem; }
.prog-card:hover .more { color: var(--amber-dark); }

/* ---------- Impact stats (bold teal band, icons above numbers) ---------- */
.stats { display: grid; gap: 2rem; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .stats { grid-template-columns: 1fr; } }
.stat { text-align: center; padding: .5rem; }
.stat .stat-icon { width: 52px; height: 52px; margin: 0 auto .9rem; color: var(--amber); opacity: .95; }
.stat .stat-icon svg { width: 100%; height: 100%; }
.stat .num { font-family: var(--serif); font-size: clamp(2.6rem, 5.5vw, 3.6rem); font-weight: 700; line-height: 1; }
.stat .label { font-weight: 700; margin-top: .6rem; display: block; font-size: 1.05rem; }
.stat .sub { font-size: .9rem; opacity: .8; }
.section--impact { background: var(--teal-dark); color: #fff; }
.section--impact h2, .section--impact .num, .section--impact .label { color: #fff; }
.section--impact .eyebrow { color: var(--amber); }

/* ---------- Split / edge-to-edge feature ---------- */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr 1fr; }
.split--reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split-media { order: 0; } }

/* Full-bleed alternating feature: photo edge-to-edge on its side */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 480px; }
.feature-media { position: relative; overflow: hidden; min-height: 320px; }
.feature-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; justify-content: center; }
.feature-body .eyebrow { color: var(--amber-dark); }
.feature--reverse .feature-media { order: 2; }
.feature--cream { background: var(--bg-cream); }
.feature-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.feature-gallery img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--reverse .feature-media { order: 0; }
  .feature-media { min-height: 300px; }
}

/* ---------- Prose (content pages) ---------- */
.prose { max-width: 820px; }
.prose.wide { max-width: 100%; }
.prose h2 { margin-top: 2.2rem; color: var(--teal-dark); }
.prose h3 { margin-top: 1.6rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose img { border-radius: var(--radius); box-shadow: var(--shadow); margin: 1.5rem 0; }
.prose blockquote {
  border-left: 4px solid var(--orange); background: var(--bg-soft); margin: 1.5rem 0;
  padding: 1rem 1.4rem; font-style: italic; color: var(--ink); border-radius: 0 8px 8px 0;
}
.content-figure { margin: 1.5rem 0; }
.content-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .4rem; text-align: center; }

/* image gallery */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); margin: 0; }

/* ---------- Partner / logo grid ---------- */
.logo-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-items: center; }
.logo-grid img { max-height: 90px; width: auto; margin: auto; filter: grayscale(1); opacity: .8; transition: all .2s; }
.logo-grid img:hover { filter: none; opacity: 1; }

/* ---------- Team / people ---------- */
.people-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.person { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); }
.person img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.person .body { padding: 1rem 1.2rem 1.3rem; }
.person h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.person .role { color: var(--orange-dark); font-weight: 600; font-size: .88rem; }

/* ---------- Blog cards ---------- */
.post-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.post-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); display:flex; flex-direction:column; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.post-card .thumb { aspect-ratio: 16/9; overflow:hidden; background: var(--teal-wash); }
.post-card .thumb img { width:100%; height:100%; object-fit: cover; }
.post-card .body { padding: 1.2rem 1.3rem 1.4rem; display:flex; flex-direction:column; flex:1; }
.post-card .date { font-size: .78rem; color: var(--orange-dark); font-weight: 700; text-transform: uppercase; letter-spacing:.06em; }
.post-card h3 { font-size: 1.12rem; margin: .4rem 0 .5rem; }
.post-card p { font-size: .9rem; color: var(--muted); }
.post-card .more { margin-top:auto; font-weight:700; color: var(--orange-dark); font-size:.88rem; }

/* ---------- Forms ---------- */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--orange-dark); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; padding: .7rem .9rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px var(--teal-wash); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--teal-dark), var(--teal)); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 60ch; margin-inline: auto; font-size: 1.2rem; }
.cta-band .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.cta-band .eyebrow { color: var(--amber); }
/* CTA with a photo background + dark overlay */
.cta-photo { position: relative; isolation: isolate; color: #fff; text-align: center; }
.cta-photo img.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28,28,26,.62), rgba(28,28,26,.72)); }
.cta-photo h2 { color: #fff; }
.cta-photo p { color: rgba(255,255,255,.92); max-width: 60ch; margin-inline: auto; font-size: 1.2rem; }
.cta-photo .btn-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* feature list with checks */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem;
  background: var(--orange); color: #fff; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-dark); color: #C9C7C0; padding-block: clamp(3rem, 6vw, 4.5rem) 0; font-size: .96rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
.site-footer p { color: #C9C7C0; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer a { color: #C9C7C0; }
.site-footer a:hover { color: var(--teal-light); }
.footer-logo { height: 64px; width: auto; margin-bottom: 1rem; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--amber); flex: 0 0 auto; margin-top: 3px; }
.socials { display: flex; gap: .7rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: var(--teal); }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding: 1.4rem 0; font-size: .84rem; color: #8E8C84; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.footer-bottom a { color: #8E8C84; }
.footer-bottom a:hover { color: var(--teal-light); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   RESPONSIVE NAV
   ============================================================ */
@media (max-width: 1080px) {
  .header-phone span.label { display: none; }
}
@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 86vw);
    background: #fff; box-shadow: var(--shadow-lg); padding: calc(var(--header-h) + 1rem) 1.2rem 2rem;
    transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; z-index: 950; margin: 0;
  }
  .primary-nav.open { transform: translateX(0); }
  .nav-mobile-cta { display: flex; flex-direction: column; gap: .9rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
  .nav-mobile-cta .header-phone { font-size: 1.05rem; padding: 0; }
  .nav-mobile-cta .header-phone span.label { display: inline; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .nav-list > li > button { width: 100%; justify-content: space-between; padding: .9rem .4rem; font-size: 1.05rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
    min-width: 0; padding: 0 0 .6rem .8rem; display: none; column-count: 1;
  }
  .dropdown--wide { column-count: 1; }
  li.has-dropdown.open > .dropdown { display: block; }
  .nav-list .caret { transition: transform .2s; }
  li.has-dropdown.open > button .caret, li.has-dropdown.open > a .caret { transform: rotate(-135deg) translateY(0); }
  /* keep phone visible as an icon button on mobile (label hidden) */
  .header-phone { padding: .4rem; }
  .header-phone span.label { display: none; }
}
@media (max-width: 560px) {
  .header-donate { padding: .5rem .85rem; font-size: .88rem; }
  .brand img { height: 40px; }
  .header-actions { gap: .5rem; }
}
@media (max-width: 360px) {
  .header-phone { display: none; } /* extreme narrow only: phone still in footer + mobile menu */
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ============================================================
   === SCROLL ANIMATIONS ===
   Entrance animations driven by IntersectionObserver (animations.js).
   All hidden/initial states are gated behind BOTH:
     - html.js          → if JS is disabled, nothing is ever hidden
     - prefers-reduced-motion: no-preference
                        → users who request reduced motion see content
                          at rest immediately, with no animation.
   ============================================================ */

/* Hero fade-in on page load (every page) */
@keyframes htFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {

  /* Hero — animates once on load, not on scroll */
  html.js .hero .container { animation: htFadeUp .9s cubic-bezier(.22,.61,.36,1) both; }
  html.js .hero--home .container { animation-duration: 1.1s; }

  /* Fade up — headings, paragraphs, CTA buttons entering the viewport */
  html.js .fade-up {
    opacity: 0; transform: translateY(24px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
  }
  html.js .fade-up.in-view { opacity: 1; transform: none; }

  /* Card stagger — children cascade 100ms apart once the group is in view */
  html.js .stagger-group .stagger-child {
    opacity: 0; transform: translateY(24px);
    transition: opacity .55s ease, transform .55s cubic-bezier(.22,.61,.36,1);
    transition-delay: calc(var(--stagger, 0) * 100ms);
    will-change: opacity, transform;
  }
  html.js .stagger-group.in-view .stagger-child { opacity: 1; transform: none; }

  /* Image reveal — fade + slight scale 0.96 → 1.0 */
  html.js .img-reveal {
    opacity: 0; transform: scale(.96);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
    will-change: opacity, transform;
  }
  html.js .img-reveal.in-view { opacity: 1; transform: none; }
}

/* ============================================================
   === ANNOUNCEMENT BANNER ===
   Sits above the sticky header in normal flow (so the sticky
   header never overlaps content — it simply sticks below the
   banner and scrolls past it). Teal-green accent, white text.
   ============================================================ */
.announcement-banner {
  background: var(--teal-dark);          /* teal-green accent from theme vars (AA contrast w/ white) */
  color: #fff;
  max-height: 200px;
  overflow: hidden;
  /* smooth slide-up + fade when dismissed; header slides up to fill the space */
  transition: max-height .45s ease, opacity .35s ease;
}
.announcement-banner.dismissing { max-height: 0; opacity: 0; }
.announcement-banner.is-hidden { display: none; }   /* instant hide (already dismissed / after animation) */

.announcement-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-block: .65rem;
  padding-inline: clamp(2.75rem, 6vw, 3.5rem);       /* keep text clear of the corner X */
}
.announcement-text {
  margin: 0;
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.45;
}
.announcement-text a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.announcement-text a:hover { color: var(--orange); }

.announcement-close {
  position: absolute;
  right: clamp(.5rem, 2vw, 1rem);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease;
}
.announcement-close:hover { background: rgba(255, 255, 255, .16); color: #fff; }

@media (max-width: 600px) {
  .announcement-text { font-size: .85rem; }
  .announcement-inner { padding-block: .55rem; padding-inline: 2.75rem; }
  .announcement-close { width: 30px; height: 30px; right: .4rem; }
}

/* === GOHIGHLEVEL EMBED === */
/* GHL inline form iframes ship with height:100%; form_embed.js resizes them
   at runtime via inline height. min-height keeps the full form visible even
   before/if that script loads, and lets the JS-set inline height take over. */
.ghl-embed { width: 100%; }
.ghl-embed iframe { width: 100%; min-height: 1801px; border: none; border-radius: 3px; }
@media (max-width: 600px) { .ghl-embed iframe { min-height: 2200px; } }
