:root {
  --sea: #32466b;
  --coral: #dd8a54;
  --sand: #f1ede9;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
  overflow-x: clip;
}

/* The header wrapper must not box the sticky header in, or it scrolls away with the page. */
#site-header {
  display: contents;
}

body {
  overflow-x: clip;
}

.font-display {
  font-family: "League Gothic", Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  zoom: 1.2;
}

.btn-newsletter,
.btn-newsletter-light {
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  border-radius: 9999px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.btn-newsletter {
  border: 2px solid var(--sea);
  background: #fff;
  color: #32466b;
}

.btn-newsletter:hover {
  background: #eaf0f7;
}

.btn-newsletter-light {
  border: 2px solid #fff;
  background: #fff;
  color: #32466b;
}

.btn-newsletter-light:hover {
  background: var(--sand);
}

.btn-newsletter svg,
.btn-newsletter-light svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-newsletter:focus-visible,
.btn-newsletter-light:focus-visible {
  outline: 3px solid #8db0d6;
  outline-offset: 2px;
}

.btn-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: #b95f2c;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 9999px;
  padding: 0.45rem 0.8rem;
  box-shadow: 0 8px 20px rgba(185, 95, 44, 0.3);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-donate svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .btn-donate {
    padding: 0.55rem 1.15rem;
  }
}

.btn-donate:hover {
  background: #9a4d22;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(221, 138, 84, 0.4);
}

.header-cta-row .btn-newsletter,
.header-cta-row .btn-donate {
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  white-space: nowrap;
}

.btn-donate:focus-visible {
  outline: 3px solid #f3d0b6;
  outline-offset: 2px;
}

.nav-link {
  font-weight: 600;
  color: #32466b;
  padding: 0.4rem 0.65rem;
  border-radius: 0.4rem;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-link[aria-current="true"] {
  background: #eaf0f7;
}

.dropdown-panel {
  min-width: 16rem;
  box-shadow: 0 16px 40px rgba(50, 70, 107, 0.14);
}

.dropdown-panel a[aria-current="page"],
#mobile-nav a[aria-current="page"] {
  background: #eaf0f7;
  border-radius: 0.4rem;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(30, 43, 69, 0.45) 0%, rgba(30, 43, 69, 0.72) 100%);
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.fund-slice {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: conic-gradient(
    #32466b 0 42%,
    #3c699e 42% 68%,
    #dd8a54 68% 86%,
    #aa5d57 86% 100%
  );
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  background: #fff;
  color: var(--sea);
  padding: 0.5rem 1rem;
  border-radius: 0.35rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Phone country selector (intl-tel-input) fills the form column */
.iti { width: 100%; }
.iti input[type="tel"] { width: 100%; }
