/* ==========================================================================
   Humanity Defenders — global stylesheet (the only CSS file on the site)
   --------------------------------------------------------------------------
   Naming: BEM-style. `.block`, `.block__element`, `.block--modifier`.
   Utility/state classes are prefixed `is-` (state) or `u-` (utility).
   Sections of this file, in order:
     1. Design tokens (colors, type, spacing)   -> change brand values here
     2. Base / reset
     3. Layout helpers (.container, .section, .grid)
     4. Buttons
     5. Site header + navigation
     6. Hero (home) and page banners
     7. Content components (cards, pillars, roles, timeline, shield explorer)
     8. Newsletter + donation bands
     9. Site footer
    10. Responsive rules
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */
:root {
  /* Brand palette — from the HD brand sheet (Pantone refs in comments) */
  --color-deep-navy:     #07192E;   /* Pantone 282 C */
  --color-defender-blue: #268EFF;   /* Pantone 285 C */
  --color-guardian-gold: #D8A03A;   /* Pantone 1245 C */
  --color-white:         #FFFFFF;
  --color-light-gray:    #E6E6E6;   /* Pantone Cool Gray 1 C */

  /* Derived tints/shades used for surfaces and text */
  --color-navy-900:      #040F1D;   /* darker than deep navy, for footer/overlays */
  --color-navy-700:      #0E2A4A;   /* mid navy, card surfaces on dark sections */
  --color-blue-700:      #1B6FD1;   /* hover/active blue */
  --color-blue-050:      #EAF3FF;   /* pale blue section tint */
  --color-gold-700:      #B8842A;   /* hover gold */
  --color-gold-050:      #FBF4E6;   /* pale gold tint */
  --color-gray-050:      #F6F7F9;   /* page alt background */
  --color-gray-300:      #CDD3DA;   /* borders */
  --color-gray-600:      #5B6673;   /* muted text */
  --color-text:          #142033;   /* body text on light */
  --color-text-on-dark:  #F4F7FB;

  /* Typography — headings serif (Merriweather), body sans (Inter) */
  --font-heading: "Merriweather", "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --text-xs:   0.8125rem;
  --text-sm:   0.9375rem;
  --text-base: 1.0625rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.625rem;
  --text-4xl:  3.5rem;

  --leading-tight: 1.15;
  --leading-body:  1.6;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Shape & effects */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-card: 0 2px 6px rgba(7, 25, 46, 0.06), 0 10px 24px rgba(7, 25, 46, 0.08);
  --shadow-card-hover: 0 4px 10px rgba(7, 25, 46, 0.10), 0 18px 36px rgba(7, 25, 46, 0.14);
  --transition-fast: 160ms ease;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --header-height: 84px;
}

/* 2. BASE ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-white);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--color-deep-navy);
  margin: 0 0 var(--space-4);
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
li { margin-bottom: var(--space-2); }
strong { font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--color-light-gray); margin: var(--space-6) 0; }
:focus-visible { outline: 3px solid var(--color-guardian-gold); outline-offset: 2px; }

.u-visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.u-muted { color: var(--color-gray-600); }
.u-center { text-align: center; }
.u-gold { color: var(--color-guardian-gold); }
.u-blue { color: var(--color-defender-blue); }

/* Skip link for keyboard users */
.skip-link {
  position: absolute; left: var(--space-4); top: -100px;
  background: var(--color-guardian-gold); color: var(--color-deep-navy);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-sm); z-index: 1000;
}
.skip-link:focus { top: var(--space-4); }

/* 3. LAYOUT -------------------------------------------------------------- */
.container {
  width: 100%; max-width: var(--container-max);
  margin: 0 auto; padding: 0 var(--space-5);
}
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 820px; }

.section { padding: var(--space-8) 0; }
.section--tight { padding: var(--space-7) 0; }
.section--alt { background: var(--color-gray-050); }
.section--tint { background: var(--color-blue-050); }
.section--navy { background: var(--color-deep-navy); color: var(--color-text-on-dark); }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--color-white); }
.section--navy a { color: var(--color-white); }
.section--gold-tint { background: var(--color-gold-050); }

.section__header { max-width: 760px; margin: 0 auto var(--space-7); text-align: center; }
.section__header--left { margin-left: 0; text-align: left; }
.section__eyebrow {
  display: inline-block; font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-defender-blue);
  margin-bottom: var(--space-3);
}
.section--navy .section__eyebrow { color: var(--color-guardian-gold); }
.section__title { margin-bottom: var(--space-4); }
.section__lead { font-size: var(--text-lg); color: var(--color-gray-600); margin: 0; }
.section--navy .section__lead { color: rgba(244, 247, 251, 0.82); }
.section__footer { text-align: center; margin-top: var(--space-6); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); align-items: center; }
.split--reverse > :first-child { order: 2; }

.prose { max-width: 760px; }
.prose p { font-size: var(--text-base); }
.prose--lg p { font-size: var(--text-lg); }
.prose h2 { margin-top: var(--space-7); }
.prose h3 { margin-top: var(--space-6); }

.arrow-link { font-weight: 600; color: var(--color-blue-700); }
.arrow-link::after { content: " \2192"; }
.section--navy .arrow-link { color: var(--color-guardian-gold); }

/* 4. BUTTONS ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 0.8rem 1.5rem; border-radius: var(--radius-md);
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-sm);
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), transform var(--transition-fast);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-defender-blue); color: var(--color-white); }
.btn--primary:hover { background: var(--color-guardian-gold); color: var(--color-deep-navy); }
.btn--gold { background: var(--color-guardian-gold); color: var(--color-deep-navy); }
.btn--gold:hover { background: var(--color-gold-700); color: var(--color-white); }
.btn--outline { background: transparent; color: var(--color-deep-navy); border-color: var(--color-deep-navy); }
.btn--outline:hover { background: var(--color-deep-navy); color: var(--color-white); }
.btn--outline-light { background: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn--outline-light:hover { background: var(--color-white); color: var(--color-deep-navy); }
.btn--lg { padding: 1rem 2rem; font-size: var(--text-base); }
.btn--sm { padding: 0.55rem 1rem; font-size: var(--text-xs); }
.btn--block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* 5. SITE HEADER + NAV --------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-deep-navy); color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); min-height: var(--header-height);
}
.brand { display: flex; align-items: center; gap: var(--space-3); color: var(--color-white); }
.brand:hover { text-decoration: none; }
.brand__shield { height: 60px; width: auto; }
.brand__wordmark { font-family: var(--font-heading); font-weight: 700; font-size: 1.35rem; line-height: 1.05; }
.brand__wordmark-line1 { display: block; color: var(--color-white); }
.brand__wordmark-line2 { display: block; color: var(--color-guardian-gold); }
.brand__tagline { display: block; font-size: 0.62rem; letter-spacing: 0.02em; color: rgba(255,255,255,0.78); margin-top: 3px; font-family: var(--font-body); }

.site-nav { display: flex; align-items: center; gap: var(--space-5); }
.site-nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: var(--space-1); }
.site-nav__item { margin: 0; }
.site-nav__link {
  display: block; padding: 0.6rem 0.75rem; color: var(--color-white);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 2px solid transparent; transition: border-color var(--transition-fast), color var(--transition-fast);
}
.site-nav__link:hover { text-decoration: none; color: var(--color-guardian-gold); }
.site-nav__link.is-active { color: var(--color-guardian-gold); border-bottom-color: var(--color-guardian-gold); }
.site-nav__actions { display: flex; gap: var(--space-2); }

.nav-toggle {
  display: none; background: none; border: 2px solid rgba(255,255,255,0.4); color: var(--color-white);
  border-radius: var(--radius-sm); padding: 0.45rem 0.6rem; cursor: pointer;
}
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; }

/* 6. HERO & PAGE BANNERS ------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; color: var(--color-text-on-dark);
  background: radial-gradient(ellipse 70% 55% at 50% 118%, rgba(38, 142, 255, 0.55), transparent 70%),
              linear-gradient(180deg, var(--color-navy-900) 0%, var(--color-deep-navy) 60%, #0B2244 100%);
  /* Shorter than the viewport on purpose, so the next section peeks above the fold */
  min-height: clamp(520px, 78vh, 760px); display: flex; align-items: center;
}
.hero__scroll-cue {
  position: absolute; left: 50%; bottom: var(--space-4); transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: rgba(244,247,251,0.75); font-size: var(--text-xs); letter-spacing: 0.16em; text-transform: uppercase;
}
.hero__scroll-cue:hover { color: var(--color-guardian-gold); text-decoration: none; }
.hero__scroll-chevron {
  width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); animation: hero-bounce 1.8s ease-in-out infinite;
}
@keyframes hero-bounce { 0%, 100% { transform: translateY(0) rotate(45deg); } 50% { transform: translateY(6px) rotate(45deg); } }

/* Option 2 hero: photo on the right (assets/hero-family-earth.png), text over the dark left side.
   PLACEHOLDER: the current file is cut from the design mockup at low resolution. Replace it with a
   final image at ~1600x1000 or larger showing the same scene, and the CSS needs no change. */
.hero--photo {
  background:
    linear-gradient(90deg, var(--color-deep-navy) 0%, var(--color-deep-navy) 22%, rgba(7,25,46,0.85) 38%, rgba(7,25,46,0) 58%),
    url("../assets/hero-family-earth.png") right center / auto 100% no-repeat,
    var(--color-deep-navy);
  min-height: clamp(560px, 82vh, 820px);
}
.hero__inner--single { grid-template-columns: 1fr; }
.hero__content { max-width: 640px; }
.hero--photo .hero__title { text-shadow: 0 2px 24px rgba(4, 13, 27, 0.8); }
.hero--photo .hero__lead { text-shadow: 0 1px 12px rgba(4, 13, 27, 0.9); }
.hero--photo .hero__note { display: flex; align-items: center; gap: var(--space-2); }
.hero--photo .hero__note .icon { color: var(--color-guardian-gold); }
.hero__network {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-7); align-items: center; padding: var(--space-8) var(--space-5); }
.hero__title { font-size: var(--text-4xl); color: var(--color-white); margin-bottom: var(--space-5); }
.hero__title-accent { color: var(--color-guardian-gold); }
.hero__lead { font-size: var(--text-lg); max-width: 560px; color: rgba(244,247,251,0.9); margin-bottom: var(--space-6); }
.hero__actions { margin-bottom: var(--space-5); }
.hero__note { font-size: var(--text-sm); color: rgba(244,247,251,0.7); }
.hero__figure { display: flex; justify-content: center; align-items: center; }
.hero__shield { width: min(380px, 70%); height: auto; filter: drop-shadow(0 0 40px rgba(38,142,255,0.35)); }

.page-banner {
  position: relative; background: linear-gradient(180deg, var(--color-navy-900), var(--color-deep-navy));
  color: var(--color-text-on-dark); padding: var(--space-8) 0 var(--space-7); overflow: hidden;
}
.page-banner__network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.16; pointer-events: none; }
.page-banner__inner { position: relative; max-width: 820px; }
.page-banner__eyebrow { color: var(--color-guardian-gold); font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--space-3); display: block; }
.page-banner__title { color: var(--color-white); font-size: var(--text-3xl); }
.page-banner__lead { font-size: var(--text-lg); color: rgba(244,247,251,0.85); margin: 0; }
.page-banner--gold .page-banner__eyebrow { color: var(--color-defender-blue); }

/* Breadcrumb used on issue sub-pages */
.breadcrumb { font-size: var(--text-sm); color: rgba(244,247,251,0.7); margin-bottom: var(--space-4); }
.breadcrumb a { color: rgba(244,247,251,0.85); }

/* 7. CONTENT COMPONENTS -------------------------------------------------- */
/* Icon */
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 2.25rem; height: 2.25rem; }
.icon--xl { width: 3rem; height: 3rem; }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%; background: var(--color-deep-navy); color: var(--color-white);
  margin-bottom: var(--space-4);
}
.icon-badge--blue { background: var(--color-defender-blue); }
.icon-badge--gold { background: var(--color-guardian-gold); color: var(--color-deep-navy); }
.icon-badge--outline { background: transparent; border: 2px solid var(--color-deep-navy); color: var(--color-deep-navy); }

/* Generic card */
.card {
  background: var(--color-white); border: 1px solid var(--color-light-gray); border-radius: var(--radius-lg);
  padding: var(--space-6); box-shadow: var(--shadow-card);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
a.card { color: inherit; }
a.card:hover { text-decoration: none; }
.card--static:hover { transform: none; box-shadow: var(--shadow-card); }
.card__title { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.card__text { color: var(--color-gray-600); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.card__list { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.card__list li { padding-left: 1.1rem; position: relative; font-size: var(--text-sm); }
.card__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-guardian-gold); }
.card--dark { background: var(--color-navy-700); border-color: rgba(255,255,255,0.08); color: var(--color-text-on-dark); }
.card--dark .card__title { color: var(--color-white); }
.card--dark .card__text { color: rgba(244,247,251,0.78); }

/* Issue tiles (home "six challenges" strip and issues index) */
.issue-tile {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3);
  background: var(--color-deep-navy); color: var(--color-white); border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-3); min-height: 150px; justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
}
.issue-tile:hover { background: var(--color-navy-700); text-decoration: none; transform: translateY(-3px); }
.issue-tile__icon { width: 2.25rem; height: 2.25rem; color: var(--color-white); }
.issue-tile__label { font-size: var(--text-sm); font-weight: 600; line-height: 1.25; }

/* Issue cards (issues index, fuller) */
.issue-card { display: flex; flex-direction: column; }
.issue-card__icon { color: var(--color-defender-blue); margin-bottom: var(--space-4); }
.issue-card__title { margin-bottom: var(--space-3); }
.issue-card__text { color: var(--color-gray-600); flex: 1; }

/* Feature columns (What we do / Get involved / Latest news on home) */
.feature-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.feature-column { display: flex; gap: var(--space-4); padding: var(--space-6) var(--space-5); }
.feature-column + .feature-column { border-left: 1px solid var(--color-light-gray); }
.feature-columns--2 { grid-template-columns: repeat(2, 1fr); }
.feature-column__icon { flex: 0 0 64px; }
.feature-column__title { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: var(--space-3); }
.feature-column__list { list-style: none; padding: 0; margin: 0 0 var(--space-4); }
.feature-column__list li { position: relative; padding-left: 1rem; font-size: var(--text-sm); }
.feature-column__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-guardian-gold); }

/* Pillars (what we do / solutions) */
.pillar { text-align: center; padding: var(--space-5); }
.pillar__title { font-family: var(--font-body); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: var(--text-base); margin-bottom: var(--space-3); }
.pillar__text { color: var(--color-gray-600); font-size: var(--text-sm); }
.section--navy .pillar__text { color: rgba(244,247,251,0.8); }
.pillar__list { list-style: none; padding: 0; margin: 0; font-size: var(--text-sm); color: var(--color-gray-600); }

/* Numbered solution steps */
.solution { display: grid; grid-template-columns: 72px 1fr; gap: var(--space-5); padding: var(--space-6) 0; border-top: 1px solid var(--color-light-gray); }
.solution:last-child { border-bottom: 1px solid var(--color-light-gray); }
.solution__number { font-family: var(--font-heading); font-size: var(--text-3xl); color: var(--color-guardian-gold); line-height: 1; }
.solution__title { margin-bottom: var(--space-2); }
.solution__text { margin-bottom: var(--space-3); }
.solution__ask { font-size: var(--text-sm); color: var(--color-gray-600); }
.solution__ask strong { color: var(--color-deep-navy); }

/* Role cards (get involved) */
.role-card { display: flex; flex-direction: column; }
.role-card__icon { color: var(--color-defender-blue); margin-bottom: var(--space-3); }
.role-card__level { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-guardian-gold); margin-bottom: var(--space-2); }
.role-card__text { flex: 1; color: var(--color-gray-600); font-size: var(--text-sm); }

/* Action buttons grid (home get involved) */
.action-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.action-grid--4 { grid-template-columns: repeat(4, 1fr); }
.action-button {
  display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5);
  background: var(--color-white); border: 2px solid var(--color-light-gray); border-radius: var(--radius-md);
  color: var(--color-deep-navy); font-weight: 600; transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.action-button:hover { border-color: var(--color-defender-blue); text-decoration: none; transform: translateY(-2px); }
.action-button__icon { color: var(--color-defender-blue); flex: 0 0 auto; }
.action-button__label { font-size: var(--text-base); }
.action-button__hint { display: block; font-weight: 400; font-size: var(--text-xs); color: var(--color-gray-600); }

/* Stats / facts */
.fact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-4); }
.fact-list li { padding: var(--space-4) var(--space-5); border-left: 4px solid var(--color-guardian-gold); background: var(--color-gray-050); border-radius: 0 var(--radius-md) var(--radius-md) 0; }

/* FAQ (details/summary) */
.faq { border-top: 1px solid var(--color-light-gray); }
.faq__item { border-bottom: 1px solid var(--color-light-gray); }
.faq__question { cursor: pointer; padding: var(--space-4) 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: "+"; color: var(--color-defender-blue); font-size: var(--text-xl); line-height: 1; }
.faq__item[open] .faq__question::after { content: "\2212"; }
.faq__answer { padding: 0 0 var(--space-4); color: var(--color-gray-600); }

/* Timeline (solutions / about) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 2px; background: var(--color-light-gray); }
.timeline__item { position: relative; padding-left: var(--space-7); padding-bottom: var(--space-6); }
.timeline__item::before { content: ""; position: absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--color-guardian-gold); border: 3px solid var(--color-white); box-shadow: 0 0 0 2px var(--color-guardian-gold); }
.timeline__label { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-defender-blue); }
.timeline__title { margin: var(--space-1) 0 var(--space-2); }
.timeline__text { color: var(--color-gray-600); margin: 0; }

/* Logo / shield explorer (about page) */
.shield-explorer { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-7); align-items: start; }
.shield-explorer__figure { position: sticky; top: calc(var(--header-height) + var(--space-5)); }
.shield-explorer__image { width: 100%; max-width: 420px; margin: 0 auto; border-radius: var(--radius-lg); }
.shield-explorer__tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.shield-explorer__tab {
  background: var(--color-white); border: 2px solid var(--color-light-gray); border-radius: 999px;
  padding: 0.45rem 1rem; font-weight: 600; font-size: var(--text-sm); color: var(--color-deep-navy); cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.shield-explorer__tab:hover { border-color: var(--color-defender-blue); }
.shield-explorer__tab.is-active { background: var(--color-deep-navy); border-color: var(--color-deep-navy); color: var(--color-white); }
.shield-explorer__panel { display: none; }
.shield-explorer__panel.is-active { display: block; }
.shield-explorer__panel h3 { margin-bottom: var(--space-3); }

/* Simple forms (contact / join) — styling only; no backend yet */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form__field { display: grid; gap: var(--space-1); }
.form__label { font-size: var(--text-sm); font-weight: 600; }
.form__input, .form__select, .form__textarea {
  font: inherit; padding: 0.7rem 0.9rem; border: 1px solid var(--color-gray-300); border-radius: var(--radius-md); background: var(--color-white); width: 100%;
}
.form__input:focus, .form__select:focus, .form__textarea:focus { border-color: var(--color-defender-blue); outline: none; box-shadow: 0 0 0 3px rgba(38,142,255,0.2); }
.form__textarea { min-height: 140px; resize: vertical; }
.form__help { font-size: var(--text-xs); color: var(--color-gray-600); }
.form__choice { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--text-sm); }

/* Donation amount chooser (static; the real widget replaces this) */
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); margin-bottom: var(--space-4); }
.amount-option { display: block; text-align: center; padding: var(--space-4); border: 2px solid var(--color-light-gray); border-radius: var(--radius-md); font-weight: 700; font-size: var(--text-lg); color: var(--color-deep-navy); background: var(--color-white); cursor: pointer; }
.amount-option:hover { border-color: var(--color-defender-blue); }
.amount-option.is-selected { border-color: var(--color-guardian-gold); background: var(--color-gold-050); }
.amount-option__hint { display: block; font-size: var(--text-xs); font-weight: 400; color: var(--color-gray-600); }
.toggle { display: inline-flex; border: 2px solid var(--color-deep-navy); border-radius: 999px; overflow: hidden; margin-bottom: var(--space-5); }
.toggle__option { padding: 0.5rem 1.2rem; font-weight: 600; font-size: var(--text-sm); background: var(--color-white); color: var(--color-deep-navy); border: 0; cursor: pointer; }
.toggle__option.is-active { background: var(--color-deep-navy); color: var(--color-white); }

/* News list */
.news-item { padding: var(--space-5) 0; border-bottom: 1px solid var(--color-light-gray); }
.news-item__meta { font-size: var(--text-xs); color: var(--color-gray-600); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--space-2); }
.news-item__title { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.news-item__title a { color: var(--color-deep-navy); }
.news-item__summary { color: var(--color-gray-600); margin: 0; font-size: var(--text-sm); }
.news-item--compact { padding: var(--space-3) 0; }
.news-item--compact .news-item__title { font-size: var(--text-sm); margin-bottom: 2px; }
.tag { display: inline-block; font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--color-blue-050); color: var(--color-blue-700); }
.tag--gold { background: var(--color-gold-050); color: var(--color-gold-700); }
.tag--placeholder { background: var(--color-light-gray); color: var(--color-gray-600); }

/* Resource lists */
.resource-group__title { display: flex; align-items: center; gap: var(--space-3); }
.resource-list { list-style: none; padding: 0; margin: 0; }
.resource-list li { display: flex; justify-content: space-between; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--color-light-gray); font-size: var(--text-sm); }

/* Value grid (about) */
.value { padding: var(--space-5); border-top: 3px solid var(--color-guardian-gold); background: var(--color-white); border-radius: 0 0 var(--radius-md) var(--radius-md); box-shadow: var(--shadow-card); }
.value__title { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.value__text { color: var(--color-gray-600); font-size: var(--text-sm); margin: 0; }

/* Quote / callout */
.callout { border-left: 5px solid var(--color-guardian-gold); background: var(--color-gold-050); padding: var(--space-5) var(--space-6); border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: var(--space-6) 0; }
.callout--blue { border-left-color: var(--color-defender-blue); background: var(--color-blue-050); }
.callout__text { font-family: var(--font-heading); font-size: var(--text-lg); color: var(--color-deep-navy); margin: 0; }

/* Contact channels */
.contact-channel { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-4) 0; border-bottom: 1px solid var(--color-light-gray); }
.contact-channel__icon { color: var(--color-defender-blue); flex: 0 0 auto; }
.contact-channel__title { margin-bottom: var(--space-1); font-size: var(--text-base); }
.contact-channel__text { margin: 0; font-size: var(--text-sm); color: var(--color-gray-600); }

/* 8. NEWSLETTER + DONATION BANDS ---------------------------------------- */
.newsletter { background: var(--color-deep-navy); color: var(--color-white); padding: var(--space-6) 0; }
.newsletter__inner { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-6); align-items: center; }
.newsletter__icon { color: var(--color-guardian-gold); }
.newsletter__title { font-family: var(--font-body); font-weight: 700; font-size: var(--text-base); margin: 0; color: var(--color-white); }
.newsletter__text { margin: 0; font-size: var(--text-sm); color: rgba(244,247,251,0.8); }
.newsletter__form { display: flex; gap: 0; min-width: 380px; }
.newsletter__input { flex: 1; font: inherit; padding: 0.75rem 1rem; border: 0; border-radius: var(--radius-md) 0 0 var(--radius-md); }
.newsletter__submit { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
/* Option 2: navy band with an angled right edge, form on white (as in the mockup) */
.newsletter--angled {
  background: linear-gradient(100deg, var(--color-deep-navy) 0 62%, transparent 62.1%), var(--color-white);
  color: var(--color-white); border-top: 1px solid var(--color-light-gray); border-bottom: 1px solid var(--color-light-gray);
}
.newsletter--angled .newsletter__input { border: 1px solid var(--color-gray-300); }

/* Option 2: mission mini pillars and illustration panels */
.mini-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); margin-top: var(--space-6); }
.mini-pillar__icon { color: var(--color-deep-navy); margin-bottom: var(--space-2); }
.mini-pillar__title { font-family: var(--font-body); font-weight: 700; font-size: var(--text-base); margin-bottom: var(--space-1); }
.mini-pillar__text { font-size: var(--text-sm); color: var(--color-gray-600); margin: 0; }
.illustration { border-radius: var(--radius-lg); min-height: 360px; background-size: cover; background-position: center; box-shadow: var(--shadow-card); }
/* PLACEHOLDER images cut from the mockup; replace files with final photos of the same subject */
.illustration--sunset { background-image: url("../assets/mission-family-sunset.png"); }
.illustration--future { background-image: url("../assets/future-child-robot.png"); }


.donate-band { background: linear-gradient(135deg, var(--color-deep-navy), #123A6B); color: var(--color-white); padding: var(--space-9) 0; position: relative; overflow: hidden; }
.donate-band__inner { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: var(--space-7); align-items: center; }
.donate-band__title { color: var(--color-white); font-size: var(--text-3xl); }
.donate-band__text { font-size: var(--text-lg); color: rgba(244,247,251,0.85); }
.donate-band__note { font-size: var(--text-sm); color: rgba(244,247,251,0.7); margin: var(--space-4) 0 0; }
.donate-band__shield { width: 240px; margin: 0 auto; filter: drop-shadow(0 0 30px rgba(216,160,58,0.35)); }

/* Trust strip under donate */
.trust-strip { display: flex; justify-content: center; gap: var(--space-7); flex-wrap: wrap; padding: var(--space-5) 0; }
.trust-strip__item { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-sm); font-weight: 600; color: var(--color-deep-navy); }
.trust-strip__item .icon { color: var(--color-defender-blue); }

/* 9. SITE FOOTER --------------------------------------------------------- */
.site-footer { background: var(--color-navy-900); color: rgba(244,247,251,0.82); padding: var(--space-8) 0 var(--space-5); font-size: var(--text-sm); }
.site-footer a { color: rgba(244,247,251,0.82); }
.site-footer a:hover { color: var(--color-guardian-gold); }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-7); margin-bottom: var(--space-7); }
.site-footer__brand .brand__wordmark { font-size: 1.15rem; }
.site-footer__mission { margin-top: var(--space-4); max-width: 360px; }
.site-footer__heading { font-family: var(--font-body); color: var(--color-white); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: var(--space-4); }
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li { margin-bottom: var(--space-2); }
.site-footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-3); }
.site-footer__social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-5); display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; font-size: var(--text-xs); color: rgba(244,247,251,0.6); }
.site-footer__legal { display: flex; gap: var(--space-4); list-style: none; padding: 0; margin: 0; }

/* 10. RESPONSIVE --------------------------------------------------------- */
@media (max-width: 1200px) {
  .site-nav__list { gap: 0; }
  .site-nav__link { padding: 0.6rem 0.5rem; font-size: 0.72rem; }
}

@media (max-width: 1100px) {
  .grid--6 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .action-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

/* Collapse the main nav into the hamburger menu below this width */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-height);
    background: var(--color-deep-navy); flex-direction: column; align-items: stretch;
    padding: var(--space-4) var(--space-5) var(--space-5); border-bottom: 1px solid rgba(255,255,255,0.1);
    gap: var(--space-4);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; }
  .site-nav__link { padding: 0.75rem 0; font-size: var(--text-sm); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .site-nav__actions { flex-direction: column; }
  .site-nav__actions .btn { width: 100%; }
}

@media (max-width: 900px) {
  :root { --header-height: 72px; --text-4xl: 2.6rem; --text-3xl: 2.1rem; }
  .brand__shield { height: 48px; }
  .brand__tagline { display: none; }

  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding: var(--space-7) var(--space-5) var(--space-8); }
  .hero--photo { background: url("../assets/hero-family-earth.png") center top / cover no-repeat, var(--color-deep-navy); }
  .hero--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,25,46,0.45), rgba(7,25,46,0.92) 70%); }
  .hero__content { position: relative; margin: 0 auto; }
  .hero--photo .hero__note { justify-content: center; }
  .mini-pillars { grid-template-columns: 1fr; }
  .illustration { min-height: 240px; }
  .newsletter--angled { background: var(--color-deep-navy); }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__figure { order: -1; }
  .hero__shield { width: 180px; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .grid--6 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .feature-columns { grid-template-columns: 1fr; }
  .feature-column + .feature-column { border-left: 0; border-top: 1px solid var(--color-light-gray); }
  .action-grid, .action-grid--4 { grid-template-columns: 1fr; }
  .shield-explorer { grid-template-columns: 1fr; }
  .shield-explorer__figure { position: static; }
  .newsletter__inner { grid-template-columns: 1fr; text-align: center; }
  .newsletter__icon { display: none; }
  .newsletter__form { min-width: 0; }
  .donate-band__inner { grid-template-columns: 1fr; text-align: center; }
  .donate-band__shield { width: 160px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .form__row { grid-template-columns: 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .solution { grid-template-columns: 1fr; gap: var(--space-2); }
  .section { padding: var(--space-7) 0; }
}

@media (max-width: 520px) {
  .grid--4, .grid--6 { grid-template-columns: 1fr 1fr; }
  .btn-group .btn { width: 100%; }
  .newsletter__form { flex-direction: column; }
  .newsletter__input, .newsletter__submit { border-radius: var(--radius-md); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn, .issue-tile, .action-button { transition: none; }
  .card:hover, .btn:hover, .issue-tile:hover, .action-button:hover { transform: none; }
}
