:root {
  --navy: #1a3a6c;
  --navy-dark: #0f2447;
  --navy-light: #2a5088;
  --gold: #c5a059;
  --gold-light: #d4b76a;
  --gold-pale: #f5ecd8;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #eef1f6;
  --gray-200: #dde3ed;
  --gray-600: #5a6478;
  --gray-800: #2d3340;
  --shadow: 0 4px 24px rgba(26, 58, 108, 0.1);
  --shadow-lg: 0 12px 48px rgba(26, 58, 108, 0.16);
  --radius: 12px;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  /* Unified image heights */
  --img-card: 200px;
  --img-gallery: 220px;
  --img-banner: 340px;
  --img-featured: 360px;
  --img-split: 360px;
  --img-contact: 240px;
  --img-leader-h: 280px;
  --img-leader-w: 220px;
  --img-sidebar: 160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  line-height: 1.65;
  background: var(--white);
}

img { max-width: 100%; display: block; }

/* Logos keep natural aspect ratio */
.nav-logo,
.footer-logo,
.hero-logo,
.seal-image {
  height: auto;
  object-fit: contain;
}

.nav-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; }

a { color: var(--navy-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

.container { width: min(1120px, 92vw); margin-inline: auto; }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.6rem 1.2rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; outline: 2px solid var(--navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: var(--shadow); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-brand:hover { color: var(--navy); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.15rem;
}

.nav-links a {
  color: var(--gray-800);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover,
.nav-links a.active { color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 36, 71, 0.92) 0%, rgba(26, 58, 108, 0.88) 50%, rgba(42, 80, 136, 0.85) 100%),
    url("assets/images/public-service.jpg") center / cover no-repeat;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(197, 160, 89, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(197, 160, 89, 0.1) 0%, transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3rem;
}

.hero-logo-wrap { display: flex; justify-content: center; }

.hero-logo {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(197, 160, 89, 0.35);
  object-fit: contain;
}

.hero-text { color: var(--white); }

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 0.6rem;
}

.hero-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.hero-desc {
  font-size: 0.975rem;
  opacity: 0.92;
  max-width: 540px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(197, 160, 89, 0.25);
  border-top: 1px solid rgba(197, 160, 89, 0.3);
}

.hero-bar-item {
  background: rgba(15, 36, 71, 0.85);
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.hero-bar-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

.hero-bar-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover { transform: translateY(-1px); }

.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);
  color: var(--navy-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-full { width: 100%; }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--gray-50); }

.section-navy {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.section-header { text-align: center; margin-bottom: 3rem; max-width: 640px; margin-inline: auto; }

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-label-light { color: var(--gold-light); }

.section-header h2,
.mission-text h2,
.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.section-navy .section-header h2,
.section-navy .mission-text h2 { color: var(--white); }

.section-intro {
  font-size: 0.975rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-navy .section-intro,
.section-navy .mission-text p { color: rgba(255, 255, 255, 0.82); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.section-alt .about-card { border-color: var(--white); }

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.about-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-pale);
  color: var(--gold);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.about-card p { font-size: 0.9rem; color: var(--gray-600); }
.about-card strong { color: var(--navy); }

/* Mission */
.mission-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.mission-text p { margin: 0.75rem 0 1.5rem; max-width: 560px; }

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.values-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
}

.values-list strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.values-list span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.mission-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius);
  padding: 1.4rem 2rem;
  text-align: center;
  min-width: 170px;
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--white);
}

.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.2rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  flex: 1;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold-pale);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

/* Affiliates */
.affiliate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.affiliate-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  color: inherit;
  height: 100%;
}

.affiliate-card p {
  flex: 1;
}

.affiliate-link {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
}

.affiliate-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

article.affiliate-card {
  cursor: default;
}

article.affiliate-card:hover {
  color: inherit;
}

.affiliate-badge {
  display: inline-block;
  width: fit-content;
  padding: 0.3rem 0.75rem;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.affiliate-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.affiliate-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  flex: 1;
  margin-bottom: 1.25rem;
}

.affiliate-card:hover .affiliate-link { color: var(--navy); }

/* Leadership */
.leader-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 720px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.leader-avatar {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  border: 3px solid var(--gold-pale);
}

.leader-info h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.leader-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.leader-info p { font-size: 0.925rem; color: var(--gray-600); }

/* Compliance */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.compliance-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.compliance-card-wide { grid-column: 1 / -1; }

.compliance-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold-pale);
}

.compliance-list { display: flex; flex-direction: column; gap: 0.85rem; }

.compliance-list div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.compliance-list dt {
  font-weight: 600;
  color: var(--navy);
}

.compliance-list dd { color: var(--gray-600); }

.compliance-note {
  margin-top: 1.25rem;
  font-size: 0.825rem;
  color: var(--gray-600);
  padding: 0.85rem 1rem;
  background: var(--gray-50);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.notice-box {
  padding: 1.25rem 1.5rem;
  background: var(--gold-pale);
  border-radius: 8px;
  border: 1px solid rgba(197, 160, 89, 0.4);
}

.notice-box p {
  font-size: 0.875rem;
  color: var(--gray-800);
  margin-bottom: 0.85rem;
}

.notice-box p:last-child { margin-bottom: 0; }
.notice-box strong { color: var(--navy); }
.notice-box a { font-weight: 600; }

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info p { color: var(--gray-600); margin: 0.75rem 0 1.5rem; }

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-details li { display: flex; flex-direction: column; gap: 0.3rem; }

.contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-details a { font-weight: 600; font-size: 1rem; word-break: break-all; }
.contact-details address { font-style: normal; color: var(--gray-600); font-size: 0.925rem; line-height: 1.7; }
.contact-details span { color: var(--gray-600); font-size: 0.925rem; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-title {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  font-family: var(--font-sans);
  font-size: 0.925rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--gray-50);
  color: var(--gray-800);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.2);
  background: var(--white);
}

.form-note {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-align: center;
}

.form-success {
  font-size: 0.875rem;
  color: var(--navy);
  background: var(--gold-pale);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(197, 160, 89, 0.4);
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-logo { width: 64px; border-radius: 50%; opacity: 0.92; }

.footer-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  max-width: 220px;
  line-height: 1.5;
}

.footer-motto {
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.06em;
}

.footer-nav h4,
.footer-contact h4,
.footer-legal h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { color: rgba(255, 255, 255, 0.72); font-size: 0.85rem; }
.footer-nav a:hover { color: var(--white); }

.footer-contact address {
  font-style: normal;
  font-size: 0.825rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.footer-contact a { color: var(--gold-light); font-size: 0.825rem; font-weight: 500; }
.footer-contact a:hover { color: var(--white); }

.footer-legal p { font-size: 0.825rem; line-height: 1.8; }

.footer-disclaimer {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  opacity: 0.65;
  line-height: 1.6;
}

.footer-bottom {
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .compliance-card-wide { grid-column: auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 2rem;
  }

  .hero-logo { width: 200px; margin-inline: auto; }
  .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  .hero-bar { grid-template-columns: 1fr; }

  .mission-layout { grid-template-columns: 1fr; }
  .mission-stats { flex-direction: row; flex-wrap: wrap; }
  .stat { flex: 1; min-width: 110px; }

  .leader-card { flex-direction: column; align-items: center; text-align: center; }
  .contact-layout { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-name { max-width: none; }

  .compliance-list div { grid-template-columns: 1fr; gap: 0.15rem; }

  .page-hero { padding: 3rem 0 2.5rem; }
  .two-col-layout { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

/* Inner page hero */
.page-hero {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.page-hero-desc {
  font-size: 1rem;
  opacity: 0.88;
  max-width: 640px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.78rem;
  margin-bottom: 1.25rem;
  opacity: 0.75;
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-hidden="true"] { opacity: 0.5; }

.page-content { padding: 4rem 0; }
.page-content-narrow { max-width: 780px; margin-inline: auto; }

/* Two column layout */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}

.sidebar-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--gold-pale);
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
}

.sidebar-links a:hover { color: var(--navy); }

/* Prose */
.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2rem 0 0.85rem;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 1.5rem 0 0.65rem;
}

.prose p {
  font-size: 0.975rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.prose ul, .prose ol {
  margin: 0 0 1.25rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.975rem;
  line-height: 1.75;
}

.prose li { margin-bottom: 0.4rem; }
.prose a { font-weight: 500; }
.prose strong { color: var(--navy); }

/* Mission pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.pillar-card {
  background: var(--white);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pillar-card p {
  flex: 1;
}

.pillar-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.pillar-card p { font-size: 0.9rem; color: var(--gray-600); line-height: 1.7; }

/* Timeline */
.timeline { margin: 2rem 0; }

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--gold-pale);
  margin-left: 50px;
  padding-left: 2rem;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold-pale);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
  margin-left: -150px;
}

.timeline-body h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.timeline-body p { font-size: 0.9rem; color: var(--gray-600); }

/* Blog */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  flex-shrink: 0;
  width: 100%;
  height: var(--img-card);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
}

.blog-card-image img {
  width: 100%;
  height: var(--img-card);
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

/* Photo components */
.page-hero-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 36, 71, 0.9), rgba(26, 58, 108, 0.85)), var(--hero-img, url("assets/images/public-service.jpg")) center / cover no-repeat;
  z-index: 0;
}

.page-hero.has-image {
  position: relative;
  overflow: hidden;
}

.page-hero.has-image .container {
  position: relative;
  z-index: 1;
}

/* ── Unified image system ── */
.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.teaser-grid,
.services-grid,
.pillars-grid,
.affiliate-grid {
  align-items: stretch;
}

.teaser-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.teaser-card p {
  flex: 1;
}

.teaser-card .read-more {
  margin-top: auto;
}

.teaser-card .card-image,
.service-card .card-image,
.pillar-card .pillar-image,
.affiliate-card .affiliate-image,
.blog-card-image,
.gallery-cell,
.img-banner,
.split-media__frame,
.impact-section__frame,
.leader-photo,
.post-featured-image,
.contact-image,
.sidebar-thumb {
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
}

.teaser-card .card-image,
.service-card .card-image,
.pillar-card .pillar-image,
.affiliate-card .affiliate-image,
.blog-card-image {
  width: 100%;
  height: var(--img-card);
  flex-shrink: 0;
}

.teaser-card .card-image {
  margin: -2rem -2rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

.service-card .card-image {
  margin: -2rem -1.75rem 1.25rem;
}

.pillar-card .pillar-image {
  margin: -2rem -2rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

.affiliate-card .affiliate-image {
  margin: -2rem -2rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
}

.teaser-card .card-image img,
.service-card .card-image img,
.pillar-card .pillar-image img,
.affiliate-card .affiliate-image img,
.blog-card-image img {
  width: 100%;
  height: var(--img-card);
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.teaser-card:hover .card-image img,
.service-card:hover .card-image img,
.pillar-card:hover .pillar-image img,
.affiliate-card:hover .affiliate-image img,
.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.img-banner {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin: 2rem 0;
  height: var(--img-banner);
}

.img-banner--flush {
  margin-top: 0;
  margin-bottom: 2.5rem;
}

.img-banner img {
  width: 100%;
  height: var(--img-banner);
  object-fit: cover;
  object-position: center;
}

.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media__frame {
  height: var(--img-split);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.split-media__frame img {
  width: 100%;
  height: var(--img-split);
  object-fit: cover;
  object-position: center;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}

.gallery-cell {
  height: var(--img-gallery);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-cell:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.gallery-cell img {
  width: 100%;
  height: var(--img-gallery);
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.gallery-cell:hover img {
  transform: scale(1.04);
}

.impact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 3rem 0;
}

.impact-section__frame {
  height: var(--img-split);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.impact-section__frame img {
  width: 100%;
  height: var(--img-split);
  object-fit: cover;
  object-position: center;
}

.leader-photo {
  flex-shrink: 0;
  width: var(--img-leader-w);
  height: var(--img-leader-h);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--gold-pale);
}

.leader-photo img {
  width: 100%;
  height: var(--img-leader-h);
  object-fit: cover;
  object-position: center top;
}

.post-featured-image {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: var(--img-featured);
}

.post-featured-image img {
  width: 100%;
  height: var(--img-featured);
  object-fit: cover;
  object-position: center;
}

.contact-image {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-bottom: 1.5rem;
  height: var(--img-contact);
}

.contact-image img {
  width: 100%;
  height: var(--img-contact);
  object-fit: cover;
  object-position: center;
}

.sidebar-thumb {
  height: var(--img-sidebar);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.sidebar-thumb img {
  width: 100%;
  height: var(--img-sidebar);
  object-fit: cover;
  object-position: center;
}

.seal-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: contain;
}

.img-caption {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .split-media,
  .impact-section,
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-cell,
  .gallery-cell img { height: 200px; }

  .split-media__frame,
  .split-media__frame img,
  .impact-section__frame,
  .impact-section__frame img,
  .img-banner,
  .img-banner img,
  .post-featured-image,
  .post-featured-image img {
    height: 260px;
  }

  .teaser-card .card-image,
  .teaser-card .card-image img,
  .service-card .card-image,
  .service-card .card-image img,
  .pillar-card .pillar-image,
  .pillar-card .pillar-image img,
  .affiliate-card .affiliate-image,
  .affiliate-card .affiliate-image img,
  .blog-card-image,
  .blog-card-image img {
    height: 180px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card h2,
  .blog-card p {
    min-height: auto;
  }

  .leader-photo {
    width: 100%;
    max-width: var(--img-leader-w);
    margin-inline: auto;
  }
}

.blog-grid--list {
  grid-template-columns: 1fr;
  max-width: 760px;
}

@media (max-width: 1024px) {
  .blog-grid:not(.blog-grid--list) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem;
  min-height: 1.25rem;
}

.blog-card h2 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
  line-height: 1.4;
  min-height: 4.2em;
}

.blog-card h2 a { color: inherit; }
.blog-card h2 a:hover { color: var(--gold); }

.blog-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.65;
  min-height: 4.5em;
}

.read-more {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--navy-light);
  margin-top: auto;
}

.read-more:hover { color: var(--gold); }

.blog-sidebar { position: sticky; top: 90px; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.tag-list a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-600);
}

.tag-list a:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--navy);
}

/* Blog post */
.post-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-100);
}

.post-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  color: var(--navy);
  line-height: 1.25;
  margin: 0.75rem 0;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: var(--gray-600);
}

.post-meta strong { color: var(--navy); }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
}

.post-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  max-width: 45%;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  opacity: 0.88;
  max-width: 520px;
  margin: 0 auto 1.75rem;
  font-size: 0.975rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  font-size: 0.975rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.faq-item p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* Trust badges */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--gray-100);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
}

.trust-item {
  background: var(--white);
  padding: 1.5rem;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.78rem;
  color: var(--gray-600);
}

/* Home teaser sections */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.teaser-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.teaser-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.teaser-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  flex: 1;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .timeline-item {
    grid-template-columns: 1fr;
    margin-left: 1rem;
    padding-left: 1.5rem;
  }

  .timeline-year {
    text-align: left;
    margin-left: 0;
  }

  .post-nav { flex-direction: column; }
  .post-nav a { max-width: 100%; }
}
