/* =========================================================
   The Bravery Foundation — site styles
   Edit the colors and fonts in :root to re-theme the site.
   ========================================================= */
:root {
  --ink: #0e0c0a;        /* page background */
  --char: #201c15;       /* alternate section background */
  --char-2: #2c271e;     /* cards */
  --line: #423b2f;       /* borders */
  --bone: #f5f1ea;       /* main text */
  --muted: #c3bbad;      /* secondary text */
  --olive: #6b7150;      /* accent - field green */
  --brass: #c9a35b;      /* accent - primary buttons, highlights */
  --red: #b5352a;        /* donate buttons */
  --red-hover: #cc4436;

  --font-display: "Black Ops One", "Oswald", Impact, sans-serif;
  --font-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --wrap: 1200px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; font-weight: 400; }
h2 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: .01em; }
h3 { font-family: var(--font-label); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .06em; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.kicker {
  font-family: var(--font-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .9rem;
  color: var(--brass);
  margin-bottom: .75rem;
  display: flex; align-items: center; gap: .75rem;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }

section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 780px; margin-bottom: 48px; }
.lead { font-size: 1.15rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-label); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #dbb873; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-hover); }
.btn-ghost { border-color: rgba(245,241,234,.5); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); background: rgba(245,241,234,.08); }
.btn-sm { padding: 9px 20px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(14,12,10,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand span { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .14em; font-size: .95rem; text-decoration: none; opacity: .85;
}
.nav a:not(.btn):hover { opacity: 1; color: var(--brass); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--bone); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; padding: 120px 0 64px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback { z-index: 0; }
video.hero-bg { z-index: 1; opacity: 0; transition: opacity 1.2s ease; }
video.hero-bg.on { opacity: 1; z-index: 2; }
.hero-shade { z-index: 3; }
.hero-content, .hero-location { z-index: 4; }
@media (prefers-reduced-motion: reduce) { video.hero-bg { display: none; } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14,12,10,.55) 0%, rgba(14,12,10,.15) 35%, rgba(14,12,10,.55) 70%, var(--ink) 100%);
}
.hero-content { position: relative; }
.eyebrow {
  font-family: var(--font-label); font-weight: 600; text-transform: uppercase;
  letter-spacing: .28em; font-size: clamp(.85rem, 1.6vw, 1rem); margin-bottom: .5rem;
}
.wordmark {
  font-family: var(--font-display);
  font-size: clamp(4rem, 19vw, 15.5rem);
  line-height: .82; letter-spacing: -.02em; margin: 0 0 32px;
  text-shadow: 0 6px 40px rgba(0,0,0,.35);
}
.wordmark span { color: var(--red); }
.hero-card {
  max-width: 560px; padding: 24px 28px;
  background: rgba(14,12,10,.55); backdrop-filter: blur(12px);
  border: 1px solid rgba(245,241,234,.15); border-radius: var(--radius);
}
.hero-lede { font-size: 1.15rem; margin-bottom: 20px; }
.hero-location {
  position: absolute; right: 24px; bottom: 28px; margin: 0;
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: .25em;
  font-size: .8rem; color: var(--muted); writing-mode: vertical-rl;
}

/* ---------- Statement ---------- */
.statement { text-align: left; }
.statement-text {
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 2.7rem); line-height: 1.3; margin: 0;
}
.statement-text em { font-style: normal; color: var(--brass); }

/* ---------- Honor cards ---------- */
.honor { background: var(--char); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
/* Activity cards: gold frame, accent bar on top, corner brackets */
.card {
  position: relative;
  background: linear-gradient(180deg, #2f2a20, #24201a);
  border: 2px solid rgba(201,163,91,.72); border-top: 5px solid var(--brass);
  border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 0 0 1px rgba(245,241,234,.04);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
@media (hover: hover) {
  .card:hover {
    border-color: var(--brass); transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0,0,0,.55), 0 0 0 1px rgba(201,163,91,.35), 0 0 32px rgba(201,163,91,.12);
  }
}
.card-img { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px solid rgba(201,163,91,.72); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
@media (hover: hover) { .card:hover .card-img img { transform: scale(1.05); } }
.card-body { padding: 28px 28px 44px; position: relative; flex: 1; }
/* corner brackets at the bottom of each card */
.card-body::before, .card-body::after {
  content: ""; position: absolute; bottom: 12px; width: 18px; height: 18px;
  border: 2px solid var(--brass); pointer-events: none;
}
.card-body::before { left: 12px; border-right: 0; border-top: 0; }
.card-body::after { right: 12px; border-left: 0; border-top: 0; }
/* "...and more" under the activity cards */
.and-more { text-align: center; margin-top: 48px; display: flex; flex-direction: column; align-items: center; }
.and-more-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1; color: var(--brass);
  display: flex; align-items: center; gap: 20px; margin-bottom: .35em;
}
.and-more-title::before, .and-more-title::after {
  content: ""; width: clamp(40px, 10vw, 120px); height: 2px;
  background: linear-gradient(90deg, transparent, var(--brass));
}
.and-more-title::after { background: linear-gradient(90deg, var(--brass), transparent); }
.and-more-text { color: var(--muted); max-width: 540px; margin: 0; }
.give-more { font-family: var(--font-label); font-weight: 600; font-size: 1.1rem; letter-spacing: .04em; color: var(--brass); margin: -12px 0 28px; }
.card-body p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ---------- Quote ---------- */
.quote {
  text-align: center;
  background:
    linear-gradient(rgba(14,12,10,.82), rgba(14,12,10,.82)),
    url("../images/camo.jpg") center / 600px repeat;
  border-block: 1px solid var(--line);
}
.quote-big { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.05; margin-bottom: .4em; }
.hl { color: var(--brass); }
.quote-small { font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--muted); margin: 0; }
.quote-small em { color: var(--bone); font-style: normal; font-weight: 600; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.why-item { padding: 36px 32px 8px 0; }
.why-item + .why-item { padding-left: 32px; border-left: 1px solid var(--line); }
.why-item h3 { color: var(--brass); }
.why-item p { color: var(--muted); }

/* ---------- Journey ---------- */
.journey { background: var(--char); }
.journey-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.journey-photo { margin: 0; position: relative; }
.journey-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.journey-photo figcaption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(14,12,10,.8); backdrop-filter: blur(8px);
  padding: 10px 18px; border-radius: 10px; border-left: 3px solid var(--red);
}
.journey-photo figcaption strong { display: block; font-family: var(--font-label); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .08em; }
.journey-photo figcaption span { color: var(--muted); font-size: .9rem; }
.journey-text p { color: var(--muted); }
.journey-text .btn { margin-top: 8px; }

/* ---------- Numbers ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { border-top: 2px solid var(--brass); padding-top: 20px; }
.stat .stat-num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; margin-bottom: 12px; }
.stat h3 { font-size: 1.15rem; }
.stat p { color: var(--muted); font-size: .98rem; }

/* ---------- Gallery ---------- */
.gallery { background: var(--char); }
/* Gallery slider: one swipeable row of photos */
.slider { position: relative; }
.gallery-grid {
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding: 4px 2px 8px;
}
.gallery-grid::-webkit-scrollbar { display: none; }
.gallery-grid a {
  flex: 0 0 calc((100% - 32px) / 3); aspect-ratio: 4 / 5; scroll-snap-align: start;
  display: block; border-radius: 12px; overflow: hidden; position: relative;
  background: var(--char-2); border: 1.5px solid rgba(201,163,91,.35);
  transition: border-color .3s;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
@media (hover: hover) {
  .gallery-grid a:hover { border-color: var(--brass); }
  .gallery-grid a:hover img { transform: scale(1.04); }
}
.gallery-grid a:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.slider-btn {
  position: absolute; top: calc(50% - 30px); z-index: 2; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,12,10,.8); backdrop-filter: blur(6px); color: var(--bone);
  border: 2px solid var(--brass); font-size: 1.9rem; line-height: 1;
  transition: opacity .2s, background .2s;
}
.slider-btn:hover { background: var(--brass); color: var(--ink); }
.slider-btn:focus-visible { outline: 3px solid var(--bone); outline-offset: 2px; }
.slider-btn[disabled] { opacity: 0; pointer-events: none; }
.slider-prev { left: -20px; }
.slider-next { right: -20px; }
.slider-foot { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.slider-bar { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.slider-bar span { display: block; height: 100%; width: 0; background: var(--brass); border-radius: 3px; transition: width .25s, margin-left .25s; }
.slider-count { font-family: var(--font-label); font-weight: 600; letter-spacing: .14em; font-size: .9rem; color: var(--muted); min-width: 64px; text-align: right; margin: 0; }
@media (max-width: 960px) {
  .gallery-grid a { flex-basis: calc((100% - 16px) / 2); }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
}

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,7,6,.95);
  display: flex; align-items: center; justify-content: center; padding: 56px 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 100%; max-width: min(1200px, 100%); object-fit: contain; border-radius: 6px; }
.lightbox button {
  position: absolute; background: rgba(245,241,234,.1); color: var(--bone); border: 0;
  width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: rgba(245,241,234,.2); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Donate band ---------- */
.donate-band { position: relative; text-align: center; overflow: hidden; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-shade { position: absolute; inset: 0; background: linear-gradient(rgba(14,12,10,.62), rgba(14,12,10,.86)); }
.donate-band .wrap { position: relative; }
.donate-band p { color: var(--muted); max-width: 620px; margin-inline: auto; margin-bottom: 28px; }
.badge { margin: 0 auto 24px; }
/* 501(c)(3) seal (images/nonprofit-badge.png) */
.seal { height: auto; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { width: 70px; flex: none; font-family: var(--font-label); text-transform: uppercase; letter-spacing: .14em; color: var(--brass); font-size: .9rem; padding-top: 2px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--brass); }

.contact-form {
  background: var(--char-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-family: var(--font-label); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.contact-form small { font-size: .85rem; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-family: var(--font-body); font-size: 1rem; text-transform: none; letter-spacing: 0; font-weight: 400;
  color: var(--bone); background: #3b3428; border: 1px solid #5a5140; border-radius: 8px; padding: 12px 14px; width: 100%;
  transition: background .2s, border-color .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--brass); border-color: transparent; background: #443c2e; }
.contact-form ::placeholder { color: #a39a88; opacity: 1; }
.contact-form select option { background: #2c271e; color: var(--bone); }
.contact-form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; }
.form-status:empty { display: none; }
.form-status { padding: 12px 16px; border-radius: 8px; font-size: 1rem; }
.form-status.ok { background: rgba(107,113,80,.25); border: 1px solid var(--olive); }
.form-status.err { background: rgba(181,53,42,.18); border: 1px solid var(--red); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { border-radius: 50%; flex: none; }
.footer-brand p { color: var(--muted); }
.footer-brand strong { color: var(--bone); }
.footer-nav, .footer-contact { display: grid; gap: 8px; align-content: start; }
.footer-nav a, .footer-contact a { text-decoration: none; color: var(--muted); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--brass); }
.footer-contact span { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Donate page ---------- */
[hidden] { display: none !important; }
.page-hero {
  position: relative; min-height: 56vh; padding: 140px 0 56px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.page-hero .hero-bg { z-index: 0; }
.page-hero .hero-shade { z-index: 1; }
.page-hero .hero-content { z-index: 2; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.05; max-width: 820px; margin-bottom: .4em; }
.page-hero-lede { font-size: 1.15rem; max-width: 620px; color: var(--bone); margin: 0; }

.give { padding-top: clamp(48px, 7vw, 88px); }
.give-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.give-card {
  background: var(--char-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px); position: sticky; top: 100px;
}
.give-title { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.freq {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  background: var(--ink); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 20px;
}
.freq button {
  font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .95rem;
  min-height: 46px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer;
}
.freq button[aria-checked="true"] { background: var(--brass); color: var(--ink); }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.amount {
  font-family: var(--font-display); font-size: 1.35rem; min-height: 60px; padding: 8px;
  background: var(--ink); color: var(--bone); border: 2px solid var(--line); border-radius: 10px; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.amount-other { font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; }
@media (hover: hover) { .amount:hover { border-color: var(--muted); } }
.amount[aria-checked="true"] { border-color: var(--brass); background: rgba(201,163,91,.12); color: var(--brass); }
.amount:focus-visible, .freq button:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.give-note { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.give-btn { width: 100%; font-size: 1.1rem; padding: 18px 28px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: .85rem; margin: 14px 0 0; text-align: center; }
.secure svg { flex: none; }
.give-unavailable p { color: var(--muted); }
.give-unavailable a { color: var(--brass); }

.give-why > p { color: var(--muted); }
.give-list { list-style: none; padding: 0; margin: 28px 0; border-top: 1px solid var(--line); }
.give-list li { padding: 18px 0 6px; border-bottom: 1px solid var(--line); }
.give-list h3 { color: var(--brass); font-size: 1.2rem; margin-bottom: .25em; }
.give-list p { color: var(--muted); font-size: 1rem; }
.tax { display: flex; gap: 16px; align-items: flex-start; }
.tax img { flex: none; }
.tax p { color: var(--muted); font-size: .95rem; margin: 0; }

.other-ways { background: var(--char); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--brass); font-family: var(--font-label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Thank-you page */
.thanks { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 64px 0; }
.thanks .hero-bg { z-index: 0; }
.thanks .hero-shade { z-index: 1; background: rgba(14,12,10,.78); }
.thanks-inner { position: relative; z-index: 2; }
.thanks-logo { border-radius: 50%; margin-bottom: 24px; }
.thanks h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; margin-bottom: .5em; }
.thanks p { color: var(--muted); font-size: 1.15rem; max-width: 620px; }
.thanks .btn-row { margin-top: 28px; }

@media (max-width: 960px) {
  .give-grid { grid-template-columns: 1fr; }
  .give-card { position: static; }
}
@media (max-width: 400px) {
  .amounts { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Section background variety ----------
   Each section gets its own subtle texture or glow. To tone any of
   these down, lower the "opacity" on that section's ::before line;
   to remove one, delete its lines.                                   */
.statement, .honor, .why, .journey, .numbers, .gallery, .contact,
.give, .other-ways, .site-footer { position: relative; isolation: isolate; }
.statement::before, .honor::before, .why::before, .journey::before, .numbers::before,
.gallery::before, .contact::before, .give::before, .other-ways::before, .site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
}

/* Mission: warm brass glow rising from the left */
.statement { background: radial-gradient(ellipse 70% 90% at 0% 0%, rgba(201,163,91,.24), transparent 60%), var(--ink); }
.statement::before { background: url("../images/grain.svg"); opacity: .08; }

/* What we do: faint camo + fade from the section above */
.honor { background: linear-gradient(180deg, var(--ink) 0%, var(--char) 160px); }
.honor::before { background: url("../images/camo.jpg") center / 520px repeat; opacity: .14; mix-blend-mode: luminosity;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); }

/* Why choose us: topographic map lines */
.why { background: #0b0a08; }
.why::before { background: url("../images/topo.svg") center / 800px repeat; opacity: .38;
  -webkit-mask-image: radial-gradient(ellipse 95% 90% at 65% 50%, #000 40%, transparent 85%);
          mask-image: radial-gradient(ellipse 95% 90% at 65% 50%, #000 40%, transparent 85%); }

/* Our journey: olive light behind the founder photo */
.journey { background: radial-gradient(ellipse 55% 75% at 15% 50%, rgba(107,113,80,.45), transparent 70%), var(--char); }
.journey::before { background: url("../images/grain.svg"); opacity: .06; }

/* Numbers: diagonal sweep with a fine grid */
.numbers { background: linear-gradient(135deg, #0a0907 0%, #15130f 50%, #24201a 100%); }
.numbers::before {
  background-image:
    linear-gradient(rgba(245,241,234,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,241,234,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent);
}

/* Gallery: soft vignette + grain */
.gallery { background: radial-gradient(ellipse 90% 60% at 50% 0%, #352e22, var(--char) 70%); }
.gallery::before { background: url("../images/grain.svg"); opacity: .1; }

/* Contact: low ember glow in the corner */
.contact { background:
    radial-gradient(ellipse 75% 85% at 100% 100%, rgba(181,53,42,.55), rgba(181,53,42,.18) 45%, transparent 75%),
    radial-gradient(ellipse 45% 55% at 0% 0%, rgba(201,163,91,.14), transparent 70%),
    var(--ink); }
.contact::before { background: url("../images/topo.svg") right bottom / 700px repeat; opacity: .3;
  -webkit-mask-image: radial-gradient(ellipse 75% 85% at 100% 100%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 75% 85% at 100% 100%, #000, transparent 75%); }

/* Donate page */
.give { background: radial-gradient(ellipse 60% 60% at 0% 20%, rgba(181,53,42,.20), transparent 65%), var(--ink); }
.give::before { background: url("../images/topo.svg") center / 800px repeat; opacity: .28;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
          mask-image: linear-gradient(90deg, transparent 30%, #000); }
.other-ways { background: linear-gradient(180deg, var(--ink) 0%, var(--char) 140px); }
.other-ways::before { background: url("../images/camo.jpg") center / 520px repeat; opacity: .12; mix-blend-mode: luminosity; }

/* Footer: deepest shade with a hairline brass glow on top */
.site-footer { background: linear-gradient(180deg, #0a0907, #070605); border-top-color: transparent; }
.site-footer::before { inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(201,163,91,.7), transparent); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gallery-grid { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .card:hover .card-img img, .gallery-grid a:hover img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .stats { grid-template-columns: 1fr 1fr; }
  .cards .card:last-child { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item { padding: 28px 0 4px; border-left: 0; border-bottom: 1px solid var(--line); }
  .journey-grid, .contact-grid { grid-template-columns: 1fr; }
  .journey-photo { max-width: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--ink);
    flex-direction: column; justify-content: center; gap: 28px;
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav a:not(.btn) { font-size: 1.6rem; }
  .nav-open .nav { opacity: 1; pointer-events: auto; }
  .nav-open { overflow: hidden; }
}
/* Phones & tablets: comfortable 44px tap targets */
@media (max-width: 960px), (pointer: coarse) {
  .contact-list li { align-items: center; padding: 6px 0; }
  .contact-list a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-nav, .footer-contact { gap: 0; }
  .footer-nav a, .footer-contact a { display: flex; align-items: center; min-height: 44px; }
  .footer-contact span { min-height: 44px; display: flex; align-items: center; }
  .lightbox button { width: 52px; height: 52px; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .cards, .stats, .field-row { grid-template-columns: 1fr; }
  .hero-location { display: none; }
  .hero-card { padding: 20px; }
  .btn-row .btn { flex: 1 1 auto; }
  .gallery-grid { gap: 12px; }
  .gallery-grid a { flex-basis: 78%; }
  .slider-btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
