:root {
  --ink: #172033;
  --muted: #526073;
  --soft: #f6f8fb;
  --panel: #ffffff;
  --line: #dfe6ef;
  --blue: #0047AB;
  --blue-dark: #003A8C;
  --gold: #f2b84b;
  --green: #4c9a72;
  --red: #c84f4f;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(23, 32, 51, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--soft);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff;
  padding: 8px 12px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 245px; }
.brand-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; background: #fff; }
.brand-text { display: grid; line-height: 1.08; text-align: center; }
.brand-name { font-family: Merriweather, Georgia, serif; font-weight: 900; font-size: 1.22rem; color: var(--blue); }
.brand-sub { display: block; font-size: .68rem; color: var(--blue); letter-spacing: .075em; text-transform: uppercase; text-align: center; }
.nav-links { display: flex; align-items: center; gap: 18px; font-size: .95rem; font-weight: 700; color: var(--muted); }
.nav-links a { padding: 8px 4px; border-bottom: 3px solid transparent; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--blue); border-bottom-color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; background: transparent; border: 0; font-size: 1.8rem; color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; cursor: pointer; transition: .18s ease; text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-secondary { background: #fff; color: var(--blue-dark); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--blue); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #291d08; }
.btn-small { padding: 9px 14px; font-size: .9rem; }

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 55%, #fff7e8 100%);
  border-bottom: 1px solid var(--line);
}
.hero-grid { padding: 76px 0; display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; }
.kicker { color: var(--blue-dark); font-weight: 900; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
h1, h2, h3 { font-family: Merriweather, Georgia, serif; line-height: 1.18; margin: 0 0 16px; }
h1 { font-size: clamp(2.35rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.55rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--muted); max-width: 760px; }
.pillars-line { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0; }
.pillar-pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 900; color: var(--blue-dark); }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow); }
.hero-logo { width: min(260px, 80%); margin: 0 auto 24px; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 18px; }
.stat { background: var(--soft); border-radius: 16px; padding: 14px; text-align: center; }
.stat strong { display: block; font-size: 1.35rem; color: var(--blue-dark); }

.section { padding: 70px 0; }
.section-tight { padding: 42px 0; }
.section-white { background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 820px; margin-bottom: 34px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 24px rgba(23,32,51,.06); }
.card-accent { border-top: 5px solid var(--blue); }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.check-list { list-style: none; margin: 18px 0 0; padding: 0; }
.check-list li { position: relative; padding-left: 28px; margin: 10px 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tag { background: #eef5fb; color: var(--blue-dark); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: .9rem; }
.callout { background: var(--ink); color: #fff; border-radius: 28px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.callout h2, .callout p { color: #fff; }
.callout p { opacity: .88; margin: 0; }

.page-hero { background: #fff; border-bottom: 1px solid var(--line); padding: 58px 0; }
.breadcrumb { color: var(--muted); font-size: .9rem; font-weight: 700; margin-bottom: 18px; }
.content-narrow { max-width: 860px; }
.feature-list { display: grid; gap: 16px; }
.feature-item { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.feature-icon { width: 46px; height: 46px; border-radius: 14px; background: #eef5fb; color: var(--blue-dark); display: grid; place-items: center; font-weight: 900; }

.blog-card { display: grid; gap: 8px; }
.blog-date { color: var(--muted); font-weight: 800; font-size: .9rem; }
.social-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.social-link { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; font-weight: 800; color: var(--blue-dark); }
.embed-box { min-height: 420px; border: 2px dashed var(--line); border-radius: 18px; background: #fff; padding: 24px; display: grid; place-items: center; text-align: center; color: var(--muted); }
.thermometer-box { min-height: 120px; border: 2px dashed var(--line); border-radius: 18px; background: #fff; padding: 20px; display: grid; place-items: center; text-align: center; color: var(--muted); }

.footer { background: #111827; color: #d6deea; padding: 42px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 28px; }
.footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-title { color: #fff; font-family: Merriweather, Georgia, serif; font-weight: 900; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 18px; color: #b7c2d0; font-size: .9rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 82px; left: 0; right: 0; background: #fff; padding: 18px 20px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .nav-actions .btn-secondary { display: none; }
  .hero-grid, .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { padding: 48px 0; gap: 28px; }
  .callout { display: block; }
  .callout .btn { margin-top: 20px; }
  .social-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1120px); }
  .brand-name { font-size: 1rem; }
  .brand-sub { display: none; }
  .nav-actions .btn-primary { padding: 9px 12px; font-size: .86rem; }
  .section { padding: 48px 0; }
  .card, .hero-card, .callout { padding: 22px; }
}

/* Consistent active state for Contact and Donate buttons */
.nav-actions .btn[aria-current="page"] {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(0, 71, 171, 0.12);
}

/* Keep Contact / Donate active states as buttons, not underlined nav links */
.nav-actions a,
.nav-actions a:hover,
.nav-actions a[aria-current="page"] {
  border-bottom: none !important;
}

.nav-actions .btn-secondary[aria-current="page"] {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
}

.nav-actions .btn-primary[aria-current="page"] {
  background: var(--blue-dark);
  color: #ffffff;
  border-color: var(--blue-dark);
}

/* Global IKW heading styling */
.page-hero h1,
.section h2,
.card h3,
.footer-title {
  color: var(--blue);
}