/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark: #003087;
  --blue-mid: #0052a5;
  --blue-light: #0087DC;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --grey-light: #e8ecf0;
  --grey-mid: #6b7280;
  --grey-dark: #1f2937;
  --text: #1a1a2e;
  --font: 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.4; }
h4 { font-size: 1.1rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}
.btn-primary:hover { background: var(--blue-mid); border-color: var(--blue-mid); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--blue-dark); }
.btn-outline-blue {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-outline-blue:hover { background: var(--blue-dark); color: var(--white); }

/* ===== NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav-logo-text strong { font-size: 1.05rem; color: var(--blue-dark); }
.nav-logo-text span { font-size: 0.7rem; color: var(--grey-mid); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--grey-dark);
  border-radius: 4px;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-dark); background: rgba(0,48,135,0.07); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-socials { display: flex; gap: 0.5rem; align-items: center; }
.nav-socials a {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--grey-mid);
  border-radius: 50%;
  transition: color 0.15s;
  font-size: 0.95rem;
}
.nav-socials a:hover { color: var(--blue-dark); }

.nav-join { font-size: 0.85rem; padding: 0.5rem 1.25rem; }

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grey-dark);
  transition: all 0.3s;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 74px;
  left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--grey-light);
  padding: 1rem 1.5rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 99;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--grey-dark);
  border-bottom: 1px solid var(--grey-light);
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { color: var(--blue-dark); }
.mobile-nav .mobile-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-light);
}
.mobile-nav .mobile-socials a {
  border: none;
  padding: 0;
  color: var(--grey-mid);
  font-size: 1.1rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 30%, rgba(0,135,220,0.55) 0%, rgba(0,48,135,0) 45%),
    linear-gradient(120deg, #001d54 0%, #003087 55%, #00266b 100%);
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(0,10,45,0.85) 0%, rgba(0,10,45,0.6) 35%, rgba(0,10,45,0.25) 65%, rgba(0,10,45,0.1) 100%),
    linear-gradient(0deg, rgba(0,10,45,0.5) 0%, rgba(0,10,45,0) 35%);
}
.hero-content h1,
.hero-eyebrow,
.hero-subhead,
.hero-content p.hero-lede {
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  color: var(--white);
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1rem;
}
.hero-content h1 { margin-bottom: 0.5rem; max-width: 700px; }
.hero-subhead { font-size: 1.2rem; font-weight: 600; color: var(--blue-light); margin-bottom: 1.25rem; }
.hero-content p.hero-lede { font-size: 1.1rem; max-width: 600px; margin-bottom: 2rem; opacity: 0.9; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero without image (inner pages) */
.page-hero {
  background: var(--blue-dark);
  padding: 4rem 1.5rem;
  color: var(--white);
  text-align: center;
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { opacity: 0.85; font-size: 1.1rem; max-width: 640px; margin: 0 auto; }

/* ===== SECTIONS ===== */
.section { padding: 5rem 1.5rem; }
.section-sm { padding: 3rem 1.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 800px; margin: 0 auto; }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.1rem; color: var(--grey-mid); max-width: 640px; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

.bg-off-white { background: var(--off-white); }
.bg-blue { background: var(--blue-dark); color: var(--white); }
.bg-blue .section-label { color: rgba(255,255,255,0.6); }
.bg-blue .section-subtitle { color: rgba(255,255,255,0.75); }

/* ===== STATS BAND ===== */
.stats-band {
  background: var(--off-white);
  border-top: 1px solid var(--grey-light);
  border-bottom: 1px solid var(--grey-light);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
}
.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--blue-dark); line-height: 1.1; }
.stat-label { font-size: 0.85rem; color: var(--grey-mid); font-weight: 600; margin-top: 0.35rem; }

/* ===== ABOUT / MISSION SECTION ===== */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.mission-text p { color: var(--grey-mid); line-height: 1.8; }

/* ===== PORTRAIT PLACEHOLDER (monogram) ===== */
.portrait {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue-mid) 55%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.portrait .mono {
  position: relative;
  z-index: 1;
  font-size: 5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
}
.portrait .mono-note {
  position: absolute;
  z-index: 1;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.portrait img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portrait.small { aspect-ratio: 1/1; }
.portrait.small .mono { font-size: 2.75rem; }

/* ===== ABOUT GALLERY (campaigning / community photos) ===== */
.about-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.gallery-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-photo img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-photo .fallback-label {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

/* ===== CARDS: HIGHLIGHTS ===== */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.highlight-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.highlight-card:hover { box-shadow: 0 8px 24px rgba(0,48,135,0.1); transform: translateY(-2px); }
.highlight-icon {
  width: 48px; height: 48px;
  border-radius: 8px;
  background: rgba(0,48,135,0.08);
  color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.highlight-card h3 { color: var(--blue-dark); margin-bottom: 0.6rem; font-size: 1.05rem; }
.highlight-card p { color: var(--grey-mid); font-size: 0.95rem; margin-bottom: 0.75rem; }
.highlight-card a.more { font-size: 0.85rem; font-weight: 700; color: var(--blue-dark); }
.highlight-card a.more:hover { text-decoration: underline; }

/* ===== CASE STUDIES (My Record) ===== */
.case-list { display: flex; flex-direction: column; gap: 1.5rem; }
.case-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 10px;
  padding: 2.25rem;
}
.case-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 21/9;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.case-photo img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-photo .fallback-label {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}
.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: rgba(0,48,135,0.08);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.case-card h3 { color: var(--blue-dark); margin-bottom: 1.1rem; }
.case-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
}
.case-step h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.5rem;
}
.case-step p { font-size: 0.95rem; color: var(--text); margin: 0; }
.case-step.outcome h4 { color: var(--blue-light); }

/* ===== COMMUNITY / CHARITY LIST ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.community-card {
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  padding: 1.75rem;
  background: var(--off-white);
}
.community-card h4 { color: var(--blue-dark); margin-bottom: 0.5rem; }
.community-card p { color: var(--grey-mid); font-size: 0.92rem; margin: 0; }

/* ===== NEWSLETTER ===== */
.newsletter-wrap {
  background: var(--blue-dark);
  border-radius: 12px;
  padding: 3rem;
  color: var(--white);
  text-align: center;
}
.newsletter-wrap h2 { margin-bottom: 0.75rem; }
.newsletter-wrap p { opacity: 0.8; margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.75rem 1.1rem;
  border-radius: 4px;
  border: none;
  font-size: 0.95rem;
  font-family: var(--font);
}
.newsletter-form input:focus { outline: 2px solid var(--blue-light); }
.newsletter-privacy {
  font-size: 0.78rem;
  opacity: 0.6;
  margin-top: 0.75rem;
}

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.news-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.news-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}
.news-card-img img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card-img .fallback-label { position: relative; z-index: 1; }
.news-card-body { padding: 1.5rem; }
.news-date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
}
.news-card h3 { color: var(--blue-dark); margin-bottom: 0.6rem; font-size: 1.1rem; }
.news-card p { font-size: 0.92rem; color: var(--grey-mid); }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(0,48,135,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--blue-dark);
}
.contact-item h4 { margin-bottom: 0.25rem; color: var(--blue-dark); }
.contact-item p, .contact-item a { color: var(--grey-mid); font-size: 0.95rem; }
.contact-item a:hover { color: var(--blue-dark); }
.contact-socials { margin-top: 2.5rem; }
.contact-socials h4 { margin-bottom: 1rem; color: var(--blue-dark); }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 42px; height: 42px;
  background: var(--blue-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.9rem;
  transition: background 0.15s;
}
.social-link:hover { background: var(--blue-mid); }

.contact-form-wrap {
  background: var(--off-white);
  border-radius: 8px;
  padding: 2.5rem;
}
.contact-form-wrap h3 { margin-bottom: 1.5rem; color: var(--blue-dark); }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--grey-dark);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-light);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue-dark); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit { width: 100%; padding: 0.85rem; font-size: 1rem; }
.form-note { font-size: 0.78rem; color: var(--grey-mid); margin-top: 0.75rem; }

/* ===== QUOTE ===== */
.quote-block {
  border-left: 4px solid var(--blue-light);
  padding-left: 1.75rem;
  margin: 2.5rem 0;
}
.quote-block p { font-size: 1.25rem; font-weight: 600; color: var(--blue-dark); line-height: 1.5; }
.quote-block cite { font-size: 0.85rem; color: var(--grey-mid); font-style: normal; }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: var(--grey-light); max-width: 1200px; margin: 0 auto; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--grey-dark);
  color: rgba(255,255,255,0.75);
  padding: 4rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-emblem {
  width: 48px; height: 48px;
  background: var(--blue-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 800; font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.6rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  transition: color 0.15s;
}
.footer-socials a:hover { color: var(--white); }

/* ===== SVG ICONS ===== */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: middle; fill: currentColor; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .mission-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .case-steps { grid-template-columns: 1fr; gap: 1rem; }
  .about-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right .nav-socials { display: none; }
  .hamburger { display: flex; }
  .section { padding: 3.5rem 1rem; }
  .hero { min-height: 460px; }
  .newsletter-wrap { padding: 2rem 1.25rem; }
  .contact-form-wrap { padding: 1.75rem; }
  .case-card { padding: 1.5rem; }
}

@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-cta { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
