/* ================================================================
   MilitaryHistoryUnveiled — Main Stylesheet
   ================================================================
   1.  Variables & Google Fonts
   2.  Reset & Base
   3.  Typography
   4.  Layout Utilities
   5.  Navigation
   6.  Buttons
   7.  Hero — Full Height (Home)
   8.  Hero — Page (Inner Pages)
   9.  Stats Bar
   10. Mission Section
   11. Featured Veteran Spotlight
   12. Campaign Preview (Home)
   13. Support / Donation CTA
   14. Veterans Archive — Filters, Grid, Cards
   15. About Page
   16. Campaign Page (dedicated)
   17. Contact Page
   18. Footer
   19. Scroll Animations
   20. Responsive
   ================================================================ */

/* ── 1. Variables & Google Fonts ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand */
  --navy:         #1a2744;
  --navy-light:   #243358;
  --navy-dark:    #0f1828;
  --gold:         #c9973a;
  --gold-light:   #ddb060;
  --gold-dark:    #a57a28;
  --off-white:    #f5f0e8;
  --cream:        #ede8dc;
  --white:        #ffffff;

  /* Text */
  --text-dark:    #1c1c2e;
  --text-medium:  #4a4a6a;
  --text-light:   #6e6e8e;

  /* UI */
  --border:       #d4ccc0;
  --border-light: #ede8dc;
  --error:        #c0392b;
  --success:      #27ae60;

  /* Branch badge colours */
  --b-army:        #3d5a27;
  --b-navy:        #1a3a6b;
  --b-usmc:        #8b0000;
  --b-aaf:         #1a5b8a;
  --b-coast-guard: #b85a10;
  --b-air-force:   #003b80;
  --b-ata:         #5a3a8b;
  --b-british:     #1a6b3a;
  --b-other:       #555;

  /* Typography */
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-py:   5rem;
  --max-w:        1200px;
  --px:           clamp(1.25rem, 4vw, 2.5rem);

  /* Shadows */
  --shadow-sm:    0 2px  8px rgba(0,0,0,.08);
  --shadow-md:    0 8px 24px rgba(0,0,0,.12);
  --shadow-lg:    0 16px 48px rgba(0,0,0,.18);
  --shadow-gold:  0 4px 20px rgba(201,151,58,.3);

  /* Misc */
  --transition:   .3s ease;
  --radius:       6px;
  --radius-lg:    14px;
}

/* ── 2. Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── 3. Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

p  { font-size: 1.05rem; color: var(--text-medium); max-width: 70ch; }

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-medium);
  line-height: 1.8;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title.light { color: var(--white); }

/* ── 4. Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section { padding: var(--section-py) 0; }
.section-sm { padding: 3rem 0; }

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-white  { color: var(--white); }

.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.items-center { align-items: center; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 1.25rem 0 1.75rem;
}
.divider.center { margin-inline: auto; }

/* ── 5. Navigation ───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,151,58,.15);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-star {
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.logo-text {
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .02em;
}

.logo-accent { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  letter-spacing: .02em;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── 5a. Logo image in navbar ────────────────────────────────── */
.nav-logo-img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}
.footer-logo-img {
  height: 48px;
  width: 48px;
}

/* ── 5b. 9News Banner ────────────────────────────────────────── */
.news-banner {
  position: sticky;
  top: 68px;           /* sits flush below the fixed navbar */
  z-index: 999;
  background: #DB2A2A;
  color: #fff;
  width: 100%;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(0,0,0,.15);
}

.news-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  flex-wrap: wrap;
}

/* PLACEHOLDER logo box — replace with <img> when you have the real logo */
.news-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  background: #fff;
  color: #DB2A2A;
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
  letter-spacing: -.02em;
}

.news-logo-img {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}

.news-banner-divider {
  display: block;
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,.35);
  flex-shrink: 0;
}

.news-banner-text {
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}

.news-banner-text strong {
  font-weight: 700;
}

.news-banner-cta {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 3px;
  padding: .25rem .65rem;
  text-decoration: none;
  transition: background var(--transition);
  white-space: nowrap;
}

.news-banner-cta:hover {
  background: rgba(255,255,255,.28);
}

/* ── 5c. 9News Outreach CTA Section ─────────────────────────── */
.outreach-section {
  background: var(--off-white);
  border-top: 4px solid #DB2A2A;
  border-bottom: 1px solid var(--border);
  padding: 3.75rem 0;
  text-align: center;
}

.outreach-inner {
  max-width: 640px;
  margin: 0 auto;
}

.outreach-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #DB2A2A;
  background: rgba(219,42,42,.08);
  border: 1px solid rgba(219,42,42,.22);
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.outreach-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.outreach-sub {
  font-size: 1rem;
  color: var(--text-medium);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.btn-outreach {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #DB2A2A;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: .9rem 2.25rem;
  border-radius: var(--radius-sm);
  border: 2px solid #DB2A2A;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 18px rgba(219,42,42,.3);
}

.btn-outreach:hover {
  background: #b82020;
  border-color: #b82020;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(219,42,42,.38);
}

.outreach-note {
  margin-top: .9rem;
  font-size: .8rem;
  color: var(--text-light);
}

/* ── 6. Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-1px);
}

.btn-donate {
  background: var(--gold);
  color: var(--navy-dark) !important;
  border-color: var(--gold);
  padding: .5rem 1.25rem;
  font-size: .85rem;
}
.btn-donate:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
}

.btn-watch {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid var(--navy-light);
}
.btn-watch:hover { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.btn-watch.no-url {
  background: var(--cream);
  color: var(--text-light);
  border-color: var(--border);
  pointer-events: none;
  opacity: .7;
}

/* ── 7. Hero — Full Height ───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  /*
   * PLACEHOLDER BACKGROUND
   * Replace this gradient with your real WWII photo:
   *   background-image: url('../images/hero-bg.jpg');
   *   background-size: cover;
   *   background-position: center;
   * Then keep the ::before overlay for the dark tint.
   */
  background:
    linear-gradient(160deg, #0a0f1e 0%, #1a2744 45%, #0d1a30 75%, #0a0f1e 100%);
}

/* Dark overlay — keep even when you add a real photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 30, .55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 6rem var(--px) 4rem;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,151,58,.1);
  border: 1px solid rgba(201,151,58,.3);
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  animation: bounce 2s infinite;
}

.scroll-indicator::after {
  content: '↓';
  font-size: 1.1rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ── 8. Hero — Page (Inner Pages) ────────────────────────────── */
.page-hero {
  padding: 7rem var(--px) 3.5rem;
  background: var(--navy-dark);
  /*
   * PLACEHOLDER: Replace with a relevant WWII photo per page.
   * E.g.: background-image: url('../images/about-bg.jpg');
   */
  background: linear-gradient(135deg, #0f1828 0%, #1a2744 60%, #0f1828 100%);
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p  { color: rgba(255,255,255,.7); max-width: 600px; margin-inline: auto; }

/* ── 9. Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--navy-dark);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(201,151,58,.2);
  border-bottom: 1px solid rgba(201,151,58,.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
}

.stat-suffix {
  font-size: .55em;
  vertical-align: super;
  line-height: 0;
}

.stat-label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* ── 10. Mission Section ─────────────────────────────────────── */
.mission-section {
  background: var(--off-white);
  padding: var(--section-py) 0;
}

.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-quote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--navy);
  line-height: 1.5;
  font-style: italic;
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
}

/* ── 11. Featured Veteran Spotlight ─────────────────────────── */
.featured-section {
  background: var(--cream);
  padding: var(--section-py) 0;
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.featured-card-visual {
  background: var(--navy);
  /*
   * PLACEHOLDER: Replace with a veteran photo.
   * background-image: url('../images/kenneth-murphy.jpg');
   * background-size: cover; background-position: center top;
   */
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  position: relative;
  background: linear-gradient(160deg, #1a2744 0%, #0f1828 100%);
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  width: fit-content;
}

.featured-card-visual h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: .25rem;
}

.featured-card-visual p {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin: 0;
  max-width: 100%;
}

.featured-card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-card-body .eyebrow { color: var(--gold); }

.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.5rem;
}

.meta-tag {
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 50px;
  background: var(--cream);
  color: var(--text-medium);
  border: 1px solid var(--border);
}

.meta-tag.highlight {
  background: rgba(201,151,58,.12);
  color: var(--gold-dark);
  border-color: rgba(201,151,58,.3);
}

/* ── 12. Campaign Preview (Home) ─────────────────────────────── */
.campaign-preview {
  background: var(--navy);
  padding: var(--section-py) 0;
  text-align: center;
}

.progress-wrap {
  max-width: 700px;
  margin: 2.5rem auto 0;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .6rem;
}

.progress-labels strong { color: var(--white); }

.progress-track {
  background: rgba(255,255,255,.12);
  border-radius: 50px;
  height: 12px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;                /* animated in by JS */
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 50px;
  transition: width 1.6s cubic-bezier(.25,.8,.25,1);
}

.progress-note {
  margin-top: .75rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  letter-spacing: .05em;
}

/* ── 13. Support / Donation CTA ──────────────────────────────── */
.support-cta {
  background: var(--navy-dark);
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
}

.support-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9973a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.support-cta .container { position: relative; z-index: 1; }
.support-cta p { color: rgba(255,255,255,.7); margin-inline: auto; }
.support-cta .divider { background: var(--gold); margin-inline: auto; }
.support-cta .nonprofit-note {
  margin-top: 1.25rem;
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  font-style: italic;
}

/* ── 14. Veterans Archive — Filters, Grid, Cards ─────────────── */
.archive-controls {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 1.5rem 0;
  position: sticky;
  top: 68px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.controls-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.search-box {
  flex: 1;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: .65rem 1rem .65rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  background: var(--off-white);
  color: var(--text-dark);
  transition: border-color var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold);
}

.search-icon {
  position: absolute;
  left: .8rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.result-count {
  font-size: .85rem;
  color: var(--text-light);
  white-space: nowrap;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.filter-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.filter-btn {
  padding: .3rem .75rem;
  font-size: .78rem;
  font-weight: 600;
  border-radius: 50px;
  background: var(--cream);
  color: var(--text-medium);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.filter-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.filter-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  flex-shrink: 0;
}

/* Veterans Grid */
.veterans-section { padding: 3rem 0 5rem; }

.veterans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Veteran Card */
.vet-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.vet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.vet-card.deceased {
  opacity: .88;
}

.card-top {
  background: var(--navy);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
}

.card-flag {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.card-name-wrap { flex: 1; }

.card-name {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: .15rem;
}

.card-conflict {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

.card-star {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Branch badge */
.branch-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .22rem .65rem;
  border-radius: 3px;
  color: var(--white);
  margin-bottom: .5rem;
}

.branch-Army        { background: var(--b-army); }
.branch-Navy        { background: var(--b-navy); }
.branch-USMC        { background: var(--b-usmc); }
.branch-AAF         { background: var(--b-aaf); }
.branch-Coast-Guard { background: var(--b-coast-guard); }
.branch-Air-Force   { background: var(--b-air-force); }
.branch-ATA         { background: var(--b-ata); }
.branch-British     { background: var(--b-british); }
.branch-other       { background: var(--b-other); }

.card-body {
  padding: 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.card-row {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  font-size: .82rem;
}

.card-row-label {
  font-weight: 700;
  color: var(--text-light);
  min-width: 54px;
  flex-shrink: 0;
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .05em;
}

.card-row-val {
  color: var(--text-medium);
  line-height: 1.4;
}

.card-battles {
  font-size: .8rem;
  color: var(--text-medium);
  line-height: 1.4;
  font-style: italic;
  border-top: 1px solid var(--border-light);
  padding-top: .45rem;
  margin-top: .2rem;
}

.card-foot {
  padding: .9rem 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}

.card-age {
  font-size: .75rem;
  color: var(--text-light);
}

.in-memoriam-badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,151,58,.1);
  border: 1px solid rgba(201,151,58,.25);
  padding: .15rem .5rem;
  border-radius: 3px;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-light);
}

.no-results p { margin-inline: auto; }

/* ── 15. About Page ──────────────────────────────────────────── */
.about-story {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.sidebar-stat {
  text-align: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-stat:last-child { border-bottom: none; }

.sidebar-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.sidebar-lbl {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Timeline */
.timeline { position: relative; padding-left: 2.5rem; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,151,58,.1));
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: .35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--off-white);
  box-shadow: 0 0 0 2px var(--gold);
  transform: translateX(-5px);
}

.timeline-year {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .3rem;
}

.timeline-item h4 {
  color: var(--navy);
  margin-bottom: .35rem;
}

.timeline-item p {
  font-size: .9rem;
  max-width: 100%;
  line-height: 1.6;
}

/* Why Now section */
.why-now {
  background: var(--navy);
  padding: var(--section-py) 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.why-number {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: .5rem;
}

.why-card p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  max-width: 100%;
  margin: 0;
}

.philosophy-steps {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.philosophy-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--navy);
}

.philosophy-step .step-num {
  background: var(--navy);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* ── 16. Campaign Page ───────────────────────────────────────── */
.campaign-big-hero {
  background: var(--navy-dark);
  /* PLACEHOLDER: Add dramatic campaign photo here */
  background: linear-gradient(160deg, #06090f 0%, #1a2744 50%, #0a0f1e 100%);
  padding: 8rem var(--px) 5rem;
  text-align: center;
}

.campaign-counter-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .75rem;
  margin: 2rem 0;
}

.counter-big {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.counter-slash { font-size: 3rem; color: rgba(255,255,255,.3); }

.counter-goal {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 400;
  color: rgba(255,255,255,.5);
}

.counter-label {
  display: block;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: .25rem;
}

/* Referral Form */
.referral-section {
  background: var(--cream);
  padding: var(--section-py) 0;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 700px;
  margin-inline: auto;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: .02em;
}

.form-label .required { color: var(--error); margin-left: .2rem; }

.form-input,
.form-textarea,
.form-select {
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,151,58,.15);
}

.form-textarea { min-height: 110px; resize: vertical; }

.form-submit { margin-top: .5rem; width: 100%; justify-content: center; padding: .9rem; }

.form-success {
  display: none;
  background: rgba(39,174,96,.1);
  border: 1px solid rgba(39,174,96,.3);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  color: #1a7a43;
  font-size: .9rem;
  margin-top: 1rem;
}

/* Press section */
.press-section {
  background: var(--off-white);
  padding: var(--section-py) 0;
}

.press-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* ── 17. Contact Page ────────────────────────────────────────── */
.contact-tracks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: var(--section-py) 0;
}

.track-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.track-icon {
  font-size: 2rem;
  margin-bottom: .25rem;
}

.track-card h3 { font-size: 1.2rem; color: var(--navy); }
.track-card p  { font-size: .9rem; max-width: 100%; }

.donation-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.donation-box p {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  max-width: 100%;
  margin-bottom: 1rem;
}

/* PLACEHOLDER: Replace this with Stripe or PayPal embed */
.donation-placeholder {
  display: inline-block;
  padding: .75rem 1.75rem;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.donation-placeholder:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.donation-note {
  margin-top: .75rem;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  font-style: italic;
}

/* ── 18. Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(201,151,58,.15);
  color: rgba(255,255,255,.65);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 0 2.5rem;
}

.footer-brand p {
  color: rgba(255,255,255,.5);
  font-size: .88rem;
  max-width: 320px;
  margin: .75rem 0 1.25rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  padding: .4rem .8rem;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.social-link:hover         { color: var(--gold); border-color: var(--gold); }
.social-youtube:hover      { color: #ff0000; border-color: #ff0000; }
.social-facebook:hover     { color: #1877f2; border-color: #1877f2; }
.social-instagram:hover    { color: #e1306c; border-color: #e1306c; }
.footer-social             { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }

.footer-col a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}

.footer-bottom p, .footer-bottom span {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  max-width: 100%;
  margin: 0;
}

.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: underline; }

/* ── 19. Scroll Animations ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: .15s; }
.fade-up.delay-2 { transition-delay: .30s; }
.fade-up.delay-3 { transition-delay: .45s; }
.fade-up.delay-4 { transition-delay: .60s; }

/* ── 20. Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .mission-inner    { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-sidebar    { position: static; }
  .contact-tracks   { grid-template-columns: 1fr; }
  .footer-main      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 3.5rem; }

  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 1.25rem var(--px);
    gap: 1rem;
    border-bottom: 1px solid rgba(201,151,58,.15);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; }
  .btn-donate { display: none; }
  .nav-toggle { display: flex; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  /* Featured card */
  .featured-card { grid-template-columns: 1fr; }
  .featured-card-visual { min-height: 220px; }

  /* Why grid */
  .why-grid { grid-template-columns: 1fr 1fr; }

  /* Archive */
  .archive-controls { position: static; }
  .veterans-grid    { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

  /* Form */
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 1.75rem; }

  /* Campaign counter */
  .counter-big { font-size: clamp(3rem, 15vw, 5rem); }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas   { flex-direction: column; align-items: center; }
  .btn         { width: 100%; justify-content: center; }
  .why-grid    { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .filter-row  { gap: .4rem; }
  .filter-btn  { font-size: .72rem; padding: .25rem .6rem; }

  /* 9News banner — stack on very small screens */
  .news-banner-divider { display: none; }
  .news-banner-inner   { gap: .6rem; }
  .news-banner-text    { font-size: .72rem; text-align: center; white-space: normal; }
  .news-banner-cta     { font-size: .7rem; }

  /* Outreach button full width on mobile */
  .btn-outreach        { width: 100%; justify-content: center; }
}
