/* ============================================================
   Rollins Volunteer Fire Department
   Donation-first site - design system + layout
   ============================================================ */

:root {
  /* Brand palette - warm brick + pine over cream */
  --red:        #B0432F;  /* warm barn brick, not fire-engine */
  --red-deep:   #8C3322;
  --red-dark:   #6E2A1C;
  --ink:        #2C2318;  /* warm dark brown, not near-black */
  --ink-soft:   #574A38;
  --cream:      #FBF6EC;  /* warm paper */
  --sand:       #F2E8D6;
  --sand-deep:  #E7D8BF;
  --gold:       #D9A441;  /* warm wheat gold */
  --gold-deep:  #AE7C26;
  --sky:        #3B6079;
  --forest:     #3E5B44;  /* friendly pine */
  --pine-deep:  #26372B;  /* warm dark section bg */
  --line:       rgba(44,35,24,.13);
  --line-soft:  rgba(44,35,24,.07);

  /* Type - warm serif display + humanist sans body */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Rhythm */
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(23,19,15,.06);
  --shadow: 0 14px 40px -18px rgba(23,19,15,.35);
  --shadow-lg: 0 30px 80px -30px rgba(23,19,15,.5);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.04; margin: 0; letter-spacing: .01em; }

/* ---------- utilities ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; font-size: .78rem; color: var(--red);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); display: inline-block; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase;
  margin-top: 14px; color: var(--ink);
}
.section-head p { font-size: 1.12rem; color: var(--ink-soft); margin: 18px 0 0; }
.lede { font-size: 1.18rem; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  background: var(--bg); color: var(--fg);
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1rem;
  padding: 15px 30px; border: 0; border-radius: 100px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  box-shadow: 0 10px 24px -12px rgba(192,39,45,.75);
  position: relative;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -14px rgba(192,39,45,.85); background: var(--red-deep); }
.btn:active { transform: translateY(-1px); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); box-shadow: 0 10px 24px -12px rgba(224,165,38,.8); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border: 2px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--ink); --fg: #fff; border-color: var(--ink); box-shadow: none; }
.btn--ghost-light { --bg: transparent; --fg: #fff; border: 2px solid rgba(255,255,255,.55); box-shadow: none; }
.btn--ghost-light:hover { background: #fff; --fg: var(--ink); border-color: #fff; }
.btn--lg { padding: 18px 38px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ============================================================
   Emergency strip
   ============================================================ */
.emergency-bar {
  background: var(--ink); color: #fff; font-size: .84rem;
  display: flex; justify-content: center; gap: 26px; flex-wrap: wrap;
  padding: 8px 16px; text-align: center; letter-spacing: .01em;
}
.emergency-bar strong { color: #FF6B5E; letter-spacing: .04em; }
.emergency-bar a { border-bottom: 1px solid rgba(255,255,255,.3); }
.emergency-bar a:hover { border-color: #fff; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,247,241,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line-soft); background: rgba(250,247,241,.94); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand__text { font-family: var(--display); font-weight: 600; line-height: 1; text-transform: uppercase; }
.brand__text b { display: block; font-size: 1.02rem; letter-spacing: .02em; }
.brand__text span { display: block; font-size: .64rem; letter-spacing: .28em; color: var(--red); margin-top: 3px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; color: var(--ink-soft); position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--red); transition: width .25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s var(--ease); }

/* ============================================================
   Hero
   ============================================================ */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: kenburns 26s ease-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16); } }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,8,6,.92) 0%, rgba(10,8,6,.45) 45%, rgba(10,8,6,.25) 100%),
    linear-gradient(to right, rgba(10,8,6,.55), rgba(10,8,6,0) 60%);
}
.hero__inner { position: relative; z-index: 1; padding-bottom: clamp(52px, 8vw, 96px); padding-top: 120px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px); padding: 8px 16px 8px 12px; border-radius: 100px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem;
}
.hero__badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #46C46B; box-shadow: 0 0 0 4px rgba(70,196,107,.28); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem); text-transform: uppercase;
  max-width: 16ch; text-shadow: 0 2px 30px rgba(0,0,0,.4);
}
.hero h1 .accent { color: var(--gold); }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 54ch; margin: 22px 0 34px; color: rgba(255,255,255,.9); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--display); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero__scroll .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,.6); border-radius: 12px; position: relative; }
.hero__scroll .mouse::after { content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; background: #fff; border-radius: 2px; animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* ============================================================
   Stats bar
   ============================================================ */
.stats { background: var(--ink); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(30px, 4vw, 46px) 26px; text-align: center; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--gold); }
.stat__label { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; color: rgba(255,255,255,.7); margin-top: 10px; }

/* ============================================================
   Mission / split
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-tag {
  position: absolute; bottom: 20px; left: 20px; background: var(--cream); color: var(--ink);
  padding: 14px 20px; border-radius: 12px; box-shadow: var(--shadow); max-width: 62%;
}
.media-tag b { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; display: block; font-size: 1.5rem; color: var(--red); line-height: 1; }
.media-tag span { font-size: .82rem; color: var(--ink-soft); }
.prose p { margin: 0 0 18px; color: var(--ink-soft); }
.prose p:first-of-type { font-size: 1.15rem; color: var(--ink); }

/* ============================================================
   Impact cards - where donations go
   ============================================================ */
.impact { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--cream); border-radius: var(--radius-lg); padding: 34px 30px;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(192,39,45,.1); display: grid; place-items: center; margin-bottom: 20px; }
.card__icon svg { width: 30px; height: 30px; stroke: var(--red); }
.card h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ============================================================
   Fire Hall campaign - parallax
   ============================================================ */
.campaign { position: relative; color: #fff; overflow: hidden; }
.campaign__bg { position: absolute; inset: 0; z-index: 0; }
.campaign__bg img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.campaign__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(107,20,24,.95) 0%, rgba(23,19,15,.82) 55%, rgba(23,19,15,.6) 100%); }
.campaign__inner { position: relative; z-index: 1; padding: clamp(70px, 10vw, 130px) 0; }
.campaign__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.campaign h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; margin: 14px 0 20px; }
.campaign p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0 0 18px; }
.campaign .eyebrow { color: var(--gold); }
.campaign .eyebrow::before { background: var(--gold); }
.checklist { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,.9); }
.checklist svg { flex: none; width: 22px; height: 22px; stroke: var(--gold); margin-top: 3px; }
.campaign__card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-lg); padding: 34px; backdrop-filter: blur(8px); }
.campaign__card h3 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 8px; }
.campaign__card .big { font-family: var(--display); font-size: 2.6rem; color: var(--gold); line-height: 1; margin: 10px 0; }
.campaign__card p { font-size: .95rem; }

/* ============================================================
   DONATE - the centerpiece
   ============================================================ */
.donate { background: var(--cream); position: relative; }
.donate__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.donate__pitch h2 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; }
.give-box {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: clamp(24px, 3vw, 38px); position: sticky; top: 96px;
}
.give-box__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.give-box__head h3 { font-size: 1.4rem; text-transform: uppercase; }

/* frequency toggle */
.freq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--sand); padding: 6px; border-radius: 100px; margin: 18px 0 22px; }
.freq button { border: 0; background: transparent; padding: 11px 8px; border-radius: 100px; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; color: var(--ink-soft); transition: .25s var(--ease); position: relative; }
.freq button .tag { display: block; font-family: var(--body); font-size: .62rem; letter-spacing: .04em; opacity: .7; text-transform: none; margin-top: 1px; }
.freq button.active { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }

/* amounts */
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.amounts button {
  border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: 16px 8px;
  font-family: var(--display); font-size: 1.35rem; color: var(--ink); transition: .2s var(--ease);
}
.amounts button:hover { border-color: var(--red); }
.amounts button.active { border-color: var(--red); background: rgba(192,39,45,.06); color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.amount-custom { position: relative; margin-bottom: 20px; }
.amount-custom span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 1.2rem; color: var(--ink-soft); }
.amount-custom input {
  width: 100%; padding: 15px 16px 15px 34px; border: 2px solid var(--line); border-radius: 12px;
  font-family: var(--display); font-size: 1.25rem; color: var(--ink); background: var(--cream);
}
.amount-custom input:focus { outline: none; border-color: var(--red); background: #fff; }

/* fund choice */
.fund { display: grid; gap: 10px; margin-bottom: 22px; }
.fund label {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line);
  border-radius: 12px; cursor: pointer; transition: .2s var(--ease);
}
.fund label:hover { border-color: var(--ink-soft); }
.fund input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; flex: none; }
.fund label.checked { border-color: var(--red); background: rgba(192,39,45,.04); }
.fund b { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1rem; }
.fund small { display: block; color: var(--ink-soft); font-size: .82rem; line-height: 1.45; margin-top: 2px; }
.fund .pill { font-family: var(--body); font-size: .66rem; background: rgba(47,74,46,.12); color: var(--forest); padding: 2px 8px; border-radius: 100px; letter-spacing: .04em; margin-left: 6px; vertical-align: middle; }

.give-note { font-size: .8rem; color: var(--ink-soft); text-align: center; margin: 14px 0 0; }
.give-alt { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.give-alt p { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--ink-soft); text-align: center; margin: 0 0 14px; }
.give-alt__row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px; font-size: .88rem; font-weight: 500; transition: .2s var(--ease); background: #fff; }
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip svg { width: 16px; height: 16px; }

/* guardian recurring appeal */
.guardian { margin-top: 40px; background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.guardian::after { content: ""; position: absolute; right: -40px; top: -40px; width: 220px; height: 220px; background: radial-gradient(circle, rgba(224,165,38,.35), transparent 70%); }
.guardian .eyebrow { color: var(--gold); }
.guardian .eyebrow::before { background: var(--gold); }
.guardian h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; margin: 12px 0 12px; position: relative; }
.guardian p { color: rgba(255,255,255,.82); margin: 0 0 22px; position: relative; max-width: 60ch; }

/* ============================================================
   Free gift / email opt-in
   ============================================================ */
.gift { background: var(--sand); }
.gift__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: center; }
.gift__media { position: relative; }
.gift__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transform: rotate(-2deg); border: 8px solid #fff; }
.gift__ribbon { position: absolute; top: -16px; right: 24px; background: var(--gold); color: var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; padding: 10px 18px; border-radius: 8px; box-shadow: var(--shadow); transform: rotate(3deg); font-size: .9rem; }
.gift h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); text-transform: uppercase; }
.optin { margin-top: 26px; }
.optin__row { display: flex; gap: 10px; flex-wrap: wrap; }
.optin input[type=email] {
  flex: 1; min-width: 220px; padding: 16px 18px; border: 2px solid var(--line); border-radius: 100px;
  font-size: 1rem; background: #fff;
}
.optin input:focus { outline: none; border-color: var(--red); }
.optin__note { font-size: .82rem; color: var(--ink-soft); margin-top: 12px; }
.optin__success { display: none; background: rgba(47,74,46,.1); border: 1px solid rgba(47,74,46,.3); color: var(--forest); padding: 18px 20px; border-radius: 12px; font-weight: 500; }
.optin.done .optin__row, .optin.done .optin__note { display: none; }
.optin.done .optin__success { display: block; }

/* ============================================================
   Volunteer CTA
   ============================================================ */
.volunteer { position: relative; color: #fff; text-align: center; overflow: hidden; }
.volunteer__bg { position: absolute; inset: 0; z-index: 0; }
.volunteer__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.volunteer__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(23,19,15,.7), rgba(23,19,15,.82)); }
.volunteer__inner { position: relative; z-index: 1; padding: clamp(70px, 10vw, 120px) 0; }
.volunteer h2 { font-size: clamp(2rem, 5vw, 3.4rem); text-transform: uppercase; max-width: 20ch; margin: 14px auto 18px; }
.volunteer p { max-width: 56ch; margin: 0 auto 30px; color: rgba(255,255,255,.86); font-size: 1.1rem; }

/* ============================================================
   News
   ============================================================ */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: block; background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: .3s var(--ease); }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .src { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--red); }
.news-card .date { float: right; font-size: .74rem; color: var(--ink-soft); letter-spacing: .04em; }
.news-card h3 { font-size: 1.22rem; margin: 14px 0 12px; text-transform: none; line-height: 1.2; font-weight: 500; }
.news-card .more { font-size: .86rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 6px; }
.news-card:hover .more { color: var(--red); }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--ink); color: #fff; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); }
.contact h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; }
.contact .eyebrow { color: var(--gold); }
.contact .eyebrow::before { background: var(--gold); }
.contact__block { margin-top: 28px; }
.contact__block h4 { text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--gold); margin-bottom: 8px; }
.contact__block p, .contact__block a { color: rgba(255,255,255,.85); margin: 0 0 4px; }
.contact__block a:hover { color: #fff; border-bottom: 1px solid var(--gold); }
.officers { display: grid; gap: 16px; margin-top: 8px; }
.officer { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.officer b { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.05rem; }
.officer span { display: block; font-size: .8rem; color: rgba(255,255,255,.6); }
.officer a { color: var(--gold); font-size: .9rem; white-space: nowrap; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #0E0B08; color: rgba(255,255,255,.7); padding: 56px 0 30px; font-size: .9rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__text b { color: #fff; }
.footer h5 { font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: #fff; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: .8rem; color: rgba(255,255,255,.45); }
.footer__ein { margin-top: 14px; font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ============================================================
   Sticky mobile donate bar
   ============================================================ */
.mobile-donate { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(250,247,241,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.mobile-donate .btn { width: 100%; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .split, .campaign__grid, .donate__grid, .gift__grid, .contact__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .cards, .news__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .give-box { position: static; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .nav__links, .nav__cta .btn { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 20px var(--gutter) 28px; gap: 18px; box-shadow: var(--shadow); border-top: 1px solid var(--line); }
  .nav.open .nav__links a { font-size: 1.1rem; }
  .mobile-donate { display: block; }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .cards, .amounts, .freq { }
  .amounts { grid-template-columns: repeat(3, 1fr); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* ============================================================
   Warm refresh - classier, friendlier, small-town fire dept
   (overrides the earlier tactical styling)
   ============================================================ */

/* Serif headings, natural case - drop the all-caps shouting */
h1, h2, h3, h4,
.hero h1, .section-head h2, .card h3, .campaign h2, .campaign__card h3,
.donate__pitch h2, .give-box__head h3, .guardian h3, .gift h2,
.volunteer h2, .contact h2, .media-tag b, .give-box h3 {
  font-family: var(--display);
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 500;
  line-height: 1.08;
}
.hero h1 { font-weight: 600; letter-spacing: -0.02em; }

/* Buttons, nav, chips → friendly sans, gentle case */
.btn, .nav__links a, .freq button, .fund b, .brand__text b,
.news-card .src, .amounts button, .amount-custom input, .amount-custom span {
  font-family: var(--body);
  text-transform: none;
  letter-spacing: 0;
}
.btn { font-weight: 600; letter-spacing: .01em; }
.amounts button, .amount-custom input { font-weight: 700; }
.fund b { font-weight: 700; letter-spacing: 0; }
.brand__text b { font-weight: 700; letter-spacing: 0; font-size: 1.06rem; }
.nav__links a { font-weight: 600; }

/* Keep small tracked labels uppercase - they read as classy captions */
.eyebrow, .stat__label, .contact__block h4, .footer h5,
.brand__text span, .give-alt p, .gift__ribbon, .hero__badge, .hero__scroll {
  text-transform: uppercase;
  font-family: var(--body);
  font-weight: 700;
}
.eyebrow { letter-spacing: .18em; font-size: .74rem; }
.hero__badge { font-weight: 600; letter-spacing: .1em; }

/* Softer, warmer surfaces */
:root {
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 12px rgba(44,35,24,.05);
  --shadow: 0 18px 46px -22px rgba(44,35,24,.28);
  --shadow-lg: 0 34px 80px -34px rgba(44,35,24,.4);
}
.btn { border-radius: 100px; }
.card, .give-box, .campaign__card, .guardian, .news-card, #mail,
.gift__media img, .amounts button, .amount-custom input, .fund label {
  border-radius: 18px;
}

/* Warm the dark sections: pine + brown instead of near-black */
.stats { background: var(--pine-deep); }
.stat { border-right-color: rgba(255,255,255,.09); }
.contact { background: var(--pine-deep); }
.footer { background: #20180F; }
.emergency-bar { background: var(--ink); }
.guardian { background: linear-gradient(135deg, var(--pine-deep) 0%, #33472F 100%); }

/* Warmer accents on the gold + green */
.stat__num { color: var(--gold); }
.card__icon { background: rgba(62,91,68,.12); }
.card__icon svg { stroke: var(--forest); }
.card::before { background: var(--forest); }

/* Gentle hover, less aggressive lift */
.card:hover { transform: translateY(-6px); }
.btn:hover { transform: translateY(-2px); }

/* Friendlier hero overlay - warmer, softer */
.hero__bg::after {
  background:
    linear-gradient(to top, rgba(38,26,15,.9) 0%, rgba(38,26,15,.4) 48%, rgba(38,26,15,.15) 100%),
    linear-gradient(to right, rgba(38,26,15,.5), rgba(38,26,15,0) 62%);
}

/* Hide the decorative scroll cue on mobile so it can't overlap the stacked hero buttons */
@media (max-width: 900px) {
  .hero__scroll { display: none; }
}

/* ============================================================
   sub-page helpers (about / apparatus / resources)
   ============================================================ */
.card__photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px 18px 0 0; margin: -34px -30px 20px; display: block; }
.feature-box { background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 40px); }
.table-wrap { overflow-x: auto; border-radius: 18px; border: 1px solid var(--line-soft); }
.simple-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .95rem; }
.simple-table th, .simple-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.simple-table th { font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; color: var(--ink-soft); background: var(--sand); }
.simple-table tr:last-child td { border-bottom: 0; }
