:root {
  --navy-950: #071b2d;
  --navy-900: #0b2942;
  --navy-800: #123b5d;
  --teal-600: #2d788e;
  --teal-500: #56a7b9;
  --teal-100: #dff2f4;
  --sky-50: #f3fafb;
  --sand-100: #f3efe7;
  --sand-50: #fbf8f2;
  --ink: #162532;
  --muted: #607080;
  --line: #d8e1e6;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 41, 66, 0.11);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 11px;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #f7fbfd;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  background: transparent;
  color: var(--ink);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  z-index: -2;
  /* The full-viewport layer must be texture only. The hero banner cannot be
     reused here: it is a 3:1 composition, so at viewport proportions the seal
     and wordmark get sliced by the window edge. This is the pale wispy band
     from the middle of the same artwork — same visual family, nothing to crop. */
  background: url("assets/page-texture.jpg") center / cover no-repeat;
  filter: brightness(1.24) saturate(0.76);
  opacity: 0.28;
}

body::after {
  z-index: -1;
  background: rgba(255, 255, 255, 0.20);
}

a { color: inherit; }

img { max-width: 100%; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy-900);
}

.skip-link:focus { left: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(216, 225, 230, 0.9);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }

.brand img { width: 212px; height: auto; display: block; }

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 700;
}

.primary-nav a {
  color: var(--navy-900);
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] { color: var(--teal-600); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--teal-600);
  transition: transform 160ms ease, border-color 160ms ease;
}

.social-link:hover { transform: translateY(-2px); border-color: var(--teal-600); }

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--teal-600);
  color: var(--white);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(57, 139, 162, 0.24); }
.button.secondary { border-color: var(--navy-800); background: transparent; color: var(--navy-900); }
.button.ghost { border-color: var(--line); background: var(--white); color: var(--navy-900); }
.button.donate { background: #915b18; color: var(--white); }
.button.donate:hover { background: #744711; box-shadow: 0 9px 22px rgba(145, 91, 24, 0.28); }
.button:disabled { transform: none; box-shadow: none; cursor: not-allowed; opacity: 0.64; }
.button.small { min-height: 38px; padding-inline: 15px; }

.hero {
  position: relative;
  overflow: hidden;
  background: rgba(7, 27, 45, 0.96);
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(7, 27, 45, 0.70), rgba(7, 27, 45, 0.70)),
    url("assets/nz-hero-banner.jpg") 50% 38% / cover no-repeat;
  filter: brightness(1.07) saturate(0.78);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 610px;
  display: flex;
  align-items: center;
  padding-block: 94px;
}

.hero-copy { max-width: 700px; }

.eyebrow,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal-100);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before,
.page-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal-500);
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 650px;
  margin: 28px 0 0;
  color: #dce7ee;
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .button.secondary { border-color: rgba(255,255,255,0.52); color: var(--white); }

.trust-strip {
  background: rgba(243, 239, 231, 0.72);
  border-bottom: 1px solid #e5ddcf;
  backdrop-filter: blur(4px);
}

.trust-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 22px;
}

.trust-item { display: flex; align-items: center; gap: 12px; color: var(--navy-900); font-weight: 800; }
.trust-icon {
  position: relative;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border-radius: 5px;
  background: rgba(86,167,185,0.18);
}
.trust-icon::before,
.trust-icon::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: var(--teal-600);
}
.trust-icon::before { width: 11px; height: 3px; left: 4px; top: 8px; }
.trust-icon::after { width: 3px; height: 11px; left: 8px; top: 4px; }

.section { padding-block: 105px; background: rgba(255, 255, 255, 0.58); }
.section.compact { padding-block: 76px; }
.section.soft { background: rgba(243, 250, 251, 0.65); }
.section.sand { background: rgba(251, 248, 242, 0.68); }
.section.dark { background: rgba(7, 27, 45, 0.94); color: var(--white); }

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 480px);
  gap: 56px;
  align-items: end;
  margin-bottom: 50px;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section.dark .section-heading h2 { color: var(--white); }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.section.dark .section-heading p { color: #bfcdd7; }

.pillars,
.news-grid,
.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 28px rgba(11, 41, 66, 0.05);
}

.card-number { color: var(--teal-600); font-weight: 900; letter-spacing: 0.12em; }
.card h3 { margin: 70px 0 12px; color: var(--navy-900); font-size: 1.55rem; line-height: 1.18; }
.card p { margin: 0; color: var(--muted); }
.section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.impact-stat {
  display: grid;
  align-content: start;
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 28px rgba(11, 41, 66, 0.05);
}

.impact-stat strong { color: var(--navy-900); font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.045em; }
.impact-stat span { margin-top: 22px; color: var(--navy-800); font-size: 1.05rem; font-weight: 800; }
.impact-stat small { margin-top: auto; padding-top: 28px; color: var(--muted); }

.priority-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
  margin-top: 20px;
  padding: 34px;
  border-radius: var(--radius-md);
  background: rgba(7, 27, 45, 0.94);
  color: var(--white);
}

.priority-panel h3 { margin: 0 0 10px; font-size: 1.7rem; }
.priority-panel p { margin: 0; color: #c4d3dd; }
.priority-list { display: grid; justify-content: end; gap: 12px; }
.priority-list span { position: relative; padding-left: 24px; color: #e5eef3; font-weight: 800; }
.priority-list span::before { content: ""; position: absolute; top: 0.48em; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 5px rgba(86,167,185,0.15); }

.pulse-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 54px;
  align-items: center;
  padding: 54px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(86, 167, 185, 0.24), transparent 38%),
    #0d2438;
  box-shadow: 0 30px 80px rgba(0,0,0,0.24);
}

.pulse-copy h2 { margin: 0 0 18px; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -0.045em; }
.pulse-copy p { color: #c4d1da; }
.pulse-copy .button { margin-top: 18px; }

.pulse-stack { display: grid; gap: 12px; }
.pulse-item {
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.055);
}
.pulse-item-media { display: block; margin: -20px -20px 16px; }
.pulse-item-media img { display: block; width: 100%; height: 126px; object-fit: cover; }
.pulse-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 9px; }
.tag { display: inline-flex; align-items: center; min-height: 24px; padding-inline: 9px; border-radius: 999px; background: rgba(86,167,185,0.2); color: #bce8ef; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.tag.trust { background: rgba(255,255,255,0.11); color: #e7eef2; }
.pulse-item h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.pulse-item a { color: var(--white); text-decoration: none; }
.pulse-item a:hover { color: var(--teal-100); }

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.feature-box { padding: 42px; border-radius: var(--radius-lg); background: var(--teal-100); }
.feature-box .page-kicker, .donate-copy .page-kicker { color: var(--teal-600); }
.feature-box h2 { margin: 0 0 16px; color: var(--navy-900); font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -0.04em; }
.feature-box p { color: #455e6b; }
.feature-box .button { margin-top: 14px; }

.event-card { padding: 32px; border-left: 4px solid var(--teal-500); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow); }
.event-label { color: var(--teal-600); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.event-card h3 { margin: 12px 0 8px; color: var(--navy-900); font-size: 1.7rem; }
.event-card p { color: var(--muted); }

.news-card { display: flex; flex-direction: column; min-height: 300px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.94); }
.news-card .meta { color: var(--teal-600); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.news-card h3 { margin: 50px 0 12px; color: var(--navy-900); font-size: 1.35rem; line-height: 1.25; }
.news-card p { color: var(--muted); }
.news-card a { margin-top: auto; color: var(--teal-600); font-weight: 900; text-decoration: none; }
.visual-news-card { overflow: hidden; min-height: 480px; padding: 0; }
.article-card-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; margin: 0 !important; background: var(--navy-900); }
.article-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 220ms ease; }
.letter-card-media { background: #f7fafb; }
.letter-card-media img { object-fit: contain; object-position: center top; }
.visual-news-card:hover .article-card-media img { transform: scale(1.025); }
.article-card-content { display: flex; flex: 1; flex-direction: column; padding: 25px 27px 28px; }
.visual-news-card .article-card-content h3 { margin: 23px 0 11px; }
.visual-news-card .article-card-content p { margin-top: 0; }
.visual-news-card .article-card-content > a { margin-top: auto; }

.network-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.network-chip { padding: 11px 17px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.94); color: var(--navy-800); font-weight: 800; text-decoration: none; }
.network-chip:hover { border-color: var(--teal-600); color: var(--teal-600); }

.contact-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 54px;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
  color: var(--white);
}
.contact-cta h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.04em; }
.contact-cta p { margin: 13px 0 0; color: #c4d3dd; }
.contact-cta .button.secondary { border-color: var(--sand-100); background: var(--sand-100); color: var(--navy-900); }
.contact-cta .button.secondary:hover,
.contact-cta .button.secondary:focus-visible { border-color: var(--white); background: var(--white); color: var(--navy-900); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.page-hero { position: relative; overflow: hidden; padding-block: 90px 80px; background: rgba(7, 27, 45, 0.96); color: var(--white); }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Interior heroes range from ~2.8:1 to 5.0:1 depending on page and viewport.
     No single image survives that: pad it for the wide ones and the flag gets
     cropped off the tall ones. So the artwork is sliced — flag pinned left,
     seal pinned right, both full height — and only the empty middle stretches.
     The middle gradient runs between colours sampled at the two cut lines
     (#d4e2f5 and #ecf3fc), so both seams are invisible at any width. */
  background-image:
    linear-gradient(rgba(7, 27, 45, 0.70), rgba(7, 27, 45, 0.70)),
    url("assets/hero-seal.jpg"),
    url("assets/hero-flag.jpg"),
    linear-gradient(to right, #d4e2f5, #ecf3fc);
  background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
  background-position: center, right center, left center, center;
  background-size: auto, auto 100%, auto 100%, auto;
  filter: brightness(1.07) saturate(0.78);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .page-kicker { color: var(--teal-100); }
.page-hero p { max-width: 720px; margin: 24px 0 0; color: #c7d4dd; font-size: 1.14rem; }

.editorial-hero h1 { max-width: 920px; }
.statements-grid { grid-template-columns: repeat(3, 1fr); }
.statement-card { min-height: 350px; }
.statement-card-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.article-date { color: var(--muted); font-size: 0.78rem; font-weight: 800; }

.article-hero {
  position: relative;
  overflow: hidden;
  padding-block: 76px 82px;
  background: var(--navy-950);
  color: var(--white);
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(86, 167, 185, 0.24), transparent 34%),
    linear-gradient(112deg, rgba(7, 27, 45, 0.98) 24%, rgba(11, 41, 66, 0.88) 100%),
    url("assets/hero-flag.jpg") left center / auto 100% no-repeat,
    linear-gradient(to right, #d4e2f5, #ecf3fc);
}

.statement-hero::before { background: linear-gradient(112deg, rgba(7, 27, 45, 0.98) 24%, rgba(83, 34, 34, 0.86) 100%), url("assets/hero-flag.jpg") left center / auto 100% no-repeat, linear-gradient(to right, #d4e2f5, #ecf3fc); }
.advocacy-hero::before { background: linear-gradient(112deg, rgba(7, 27, 45, 0.98) 24%, rgba(24, 88, 97, 0.88) 100%), url("assets/hero-flag.jpg") left center / auto 100% no-repeat, linear-gradient(to right, #d4e2f5, #ecf3fc); }
.holiday-hero::before { background: linear-gradient(112deg, rgba(7, 27, 45, 0.98) 24%, rgba(121, 79, 22, 0.86) 100%), url("assets/hero-flag.jpg") left center / auto 100% no-repeat, linear-gradient(to right, #d4e2f5, #ecf3fc); }
.article-hero-inner { position: relative; z-index: 1; }
.article-back { display: inline-flex; margin-bottom: 50px; color: #c9d9e2; font-weight: 800; text-decoration: none; }
.article-back:hover { color: var(--white); }
.article-hero .page-kicker { color: var(--teal-100); }
.article-hero h1 { max-width: 1040px; margin: 14px 0 26px; font-size: clamp(3rem, 6.2vw, 6.4rem); line-height: 0.98; letter-spacing: -0.055em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.article-meta span { padding: 7px 11px; border: 1px solid rgba(255,255,255,0.17); border-radius: 999px; background: rgba(255,255,255,0.06); color: #d6e1e7; font-size: 0.76rem; font-weight: 800; }

.article-section { padding-top: 88px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 74px; align-items: start; }
.article-body { max-width: 780px; }
.article-featured { overflow: hidden; margin: 0 0 46px; border-radius: var(--radius-md); background: var(--navy-900); box-shadow: 0 18px 48px rgba(11, 41, 66, 0.12); }
.article-featured img { width: 100%; max-height: 560px; display: block; object-fit: cover; }
.article-featured.portrait img { max-height: 640px; object-position: center 42%; }
.article-featured.letter-preview { max-width: 650px; border: 1px solid var(--line); background: #f7fafb; }
.article-featured.letter-preview img { max-height: none; object-fit: contain; }
.article-featured figcaption { padding: 11px 15px; background: rgba(255,255,255,0.95); color: var(--muted); font-size: 0.76rem; }
.article-body p { margin: 0 0 24px; color: #344b59; font-size: 1.08rem; line-height: 1.82; }
.article-body h2 { margin: 54px 0 17px; color: var(--navy-900); font-size: clamp(1.65rem, 3.2vw, 2.45rem); line-height: 1.12; letter-spacing: -0.03em; }
.article-body .article-lede { margin-bottom: 42px; color: var(--navy-800); font-size: clamp(1.32rem, 2.4vw, 1.8rem); line-height: 1.55; }
.article-callout { margin-top: 52px; padding: 34px; border-left: 4px solid var(--teal-500); border-radius: var(--radius-md); background: rgba(223, 242, 244, 0.82); }
.article-callout h2 { margin-top: 0; }
.article-callout p { color: #395966; }
.article-callout .button { margin-top: 6px; }
.article-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }

.article-aside { position: sticky; top: 126px; display: grid; gap: 16px; }
.article-note { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,0.94); box-shadow: 0 12px 36px rgba(11, 41, 66, 0.07); }
.article-note .meta { color: var(--teal-600); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.09em; text-transform: uppercase; }
.article-note h2 { margin: 13px 0 10px; color: var(--navy-900); font-size: 1.25rem; line-height: 1.25; }
.article-note p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.article-note a { display: inline-block; margin-top: 17px; color: var(--teal-600); font-weight: 900; text-decoration: none; }
.support-note { border-color: #badde2; background: rgba(243, 250, 251, 0.96); }
.statement-note { border-color: #e5d2d2; background: #fff9f7; }
.statement-quote { margin: 42px 0; padding: 28px 30px; border-left: 4px solid #915b18; border-radius: var(--radius-sm); background: var(--sand-100); }
.statement-quote p { margin: 0; color: var(--navy-900); font-size: 1.35rem; font-weight: 800; line-height: 1.5; }
.statement-body .statement-signoff { margin-top: 46px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--navy-800); font-weight: 800; }

.observance-table-wrap { overflow-x: auto; margin: 26px 0 38px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,0.96); }
.observance-table { width: 100%; border-collapse: collapse; color: #344b59; }
.observance-table th,
.observance-table td { padding: 18px 20px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.observance-table tr:last-child th,
.observance-table tr:last-child td { border-bottom: 0; }
.observance-table th { width: 190px; background: rgba(223, 242, 244, 0.62); color: var(--navy-800); font-weight: 900; }

.contact-layout { display: grid; grid-template-columns: 0.84fr 1.16fr; gap: 54px; align-items: start; }
.contact-details { display: grid; gap: 16px; }
.detail-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.94); }
.detail-card h3 { margin: 0 0 8px; color: var(--navy-900); }
.detail-card p { margin: 0; color: var(--muted); }
.detail-card a { color: var(--teal-600); font-weight: 800; text-decoration: none; }

.contact-route-panel { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(243, 250, 251, 0.92); }
.contact-route-panel .page-kicker { color: var(--teal-600); }
.contact-route-panel h2 { margin: 8px 0 10px; color: var(--navy-900); font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.08; letter-spacing: -0.035em; }
.contact-route-panel > p:not(.page-kicker) { margin: 0; color: var(--muted); }
.contact-route-list { display: grid; gap: 10px; margin-top: 28px; }
.contact-route { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 17px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); color: var(--navy-900); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.contact-route:hover, .contact-route:focus-visible { transform: translateY(-2px); border-color: var(--teal-500); box-shadow: 0 10px 24px rgba(11,41,66,0.08); }
.contact-route strong, .contact-route small { display: block; }
.contact-route small { margin-top: 4px; color: var(--muted); font-size: 0.8rem; line-height: 1.35; }
.contact-route > span:last-child { color: var(--teal-600); font-size: 1.4rem; font-weight: 900; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--navy-900); font-size: 0.86rem; font-weight: 900; }
.field input,
.field select,
.field textarea { width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #bac9d2; border-radius: 9px; background: var(--white); color: var(--ink); font: inherit; }
.field textarea { min-height: 155px; resize: vertical; }
.form-actions { display: flex; align-items: center; gap: 15px; margin-top: 22px; }
.form-actions small { color: var(--muted); }

.support-banner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 34px; border: 1px solid #e3c8c8; border-radius: var(--radius-md); background: #fff7f7; }
.support-banner h2 { margin: 0 0 8px; color: #6f2626; }
.support-banner p { margin: 0; color: #744b4b; }

.pulse-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 46px; }
.pulse-intro-card { padding: 30px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); }
.pulse-intro-card h2 { margin: 0 0 12px; color: var(--navy-900); }
.pulse-intro-card p { margin: 0; color: var(--muted); }

.pulse-issue-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
  margin-bottom: 28px;
  padding: 26px 28px;
  border: 1px solid rgba(57, 139, 162, 0.26);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 14px 34px rgba(11, 41, 66, 0.08);
}
.pulse-issue-bar h2 { margin: 0 0 7px; color: var(--navy-900); font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.12; }
.pulse-issue-bar p { margin: 0; color: var(--muted); }
.pulse-status { display: inline-flex; align-items: center; justify-content: flex-end; gap: 8px; max-width: 330px; color: var(--navy-800); font-size: 0.78rem; font-weight: 900; line-height: 1.35; letter-spacing: 0.06em; text-align: right; text-transform: uppercase; }
.pulse-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #d99a31; box-shadow: 0 0 0 5px rgba(217, 154, 49, 0.14); }

.pulse-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pulse-news-card { display: flex; flex-direction: column; min-height: 410px; overflow: hidden; padding: 0 27px 27px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.95); border: 1px solid var(--line); box-shadow: 0 10px 28px rgba(11,41,66,0.06); }
.pulse-card-media { position: relative; margin: 0 -27px 22px; background: var(--navy-800); }
.pulse-card-image-link { display: block; }
.pulse-card-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pulse-image-credit { position: absolute; right: 10px; bottom: 8px; max-width: calc(100% - 20px); padding: 4px 7px; border-radius: 5px; background: rgba(7, 29, 48, 0.82); color: #fff; font-size: 0.67rem; line-height: 1.25; }
.pulse-news-card[dir="rtl"] { text-align: right; }
.pulse-news-card .tag { background: #e2f2f5; color: #205e6d; }
.pulse-news-card .tag.trust { background: #e9eef1; color: #324a58; }
.pulse-news-card h3 { margin: 16px 0 8px; color: var(--navy-900); font-size: 1.36rem; line-height: 1.27; }
.pulse-news-card p { margin: 0; color: var(--muted); }
.pulse-original { margin-bottom: 13px !important; color: var(--navy-800) !important; font-size: 0.94rem; font-weight: 800; }
.pulse-why { margin-top: 17px !important; padding-top: 16px; border-top: 1px solid var(--line); }
.pulse-caveat { margin-top: 12px !important; font-size: 0.91rem; }
.pulse-why strong, .pulse-caveat strong { color: var(--navy-900); }
.pulse-card-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-top: auto; padding-top: 24px; }
.pulse-news-card .source { color: var(--teal-600); font-weight: 900; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.055em; }
.pulse-card-links { display: flex; flex-wrap: wrap; gap: 12px; }
.pulse-read { color: var(--navy-900); font-size: 0.86rem; font-weight: 900; text-decoration: none; }
.pulse-read:hover { color: var(--teal-600); }
.pulse-empty { grid-column: 1 / -1; padding: 30px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.94); color: var(--muted); }

.source-card { padding: 26px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.94); border: 1px solid var(--line); }
.source-card h3 { margin: 0 0 10px; color: var(--navy-900); }
.source-card p { margin: 0; color: var(--muted); }

.donate-layout { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 60px; align-items: start; }
.donate-copy h2 { margin: 0 0 20px; color: var(--navy-900); font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; }
.donate-copy > p { color: var(--muted); }
.donate-copy a { color: var(--teal-600); font-weight: 900; text-decoration: none; }
.check-list { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; color: var(--navy-800); font-weight: 800; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 900; }
.donate-placeholder { padding: 38px; border: 1px solid rgba(183, 121, 36, 0.32); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow); }
.donate-placeholder h2 { margin: 15px 0 12px; color: var(--navy-900); font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.1; }
.donate-placeholder > p { color: var(--muted); }
.status-badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #f7ead5; color: #7a4e15; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 26px 0 22px; }
.amount-option { display: flex; min-height: 50px; align-items: center; justify-content: center; border: 1px solid #dbc8ac; border-radius: 10px; background: #fffaf2; color: #744a16; font-weight: 900; }
.donate-account { display: grid; gap: 4px; margin: 18px 0; padding: 16px 18px; border-radius: 12px; background: #fffaf2; border: 1px solid #e6d5bb; }
.donate-account span { color: #7a4e15; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.donate-account strong { color: var(--navy-900); font-size: 1.02rem; line-height: 1.35; overflow-wrap: anywhere; }
.donation-note { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.86rem; }
.donation-note a { color: var(--teal-600); font-weight: 900; text-decoration: none; }

.site-footer { background: rgba(7, 27, 45, 0.96); color: #d4e0e7; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 0.85fr 0.85fr 1fr; gap: 46px; padding-block: 70px; }
.footer-brand img { width: 220px; padding: 8px; border-radius: 8px; background: var(--white); }
.footer-grid h3 { margin: 0 0 15px; color: var(--white); font-size: 1rem; }
.footer-grid p { margin: 8px 0; color: #aebfca; }
.footer-grid a { display: block; margin: 8px 0; color: #d9e5ec; text-decoration: none; }
.footer-grid a:hover { color: var(--teal-100); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,0.12); color: #93a8b5; font-size: 0.82rem; }

@media (max-width: 1080px) {
  .header-inner { grid-template-columns: 210px 1fr; }
  .primary-nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 14px; scrollbar-width: none; }
  .primary-nav::-webkit-scrollbar { display: none; }
  .header-actions { justify-self: end; }
  .hero-inner { min-height: 560px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); padding-block: 24px; }
}

@media (max-width: 800px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand img { width: 180px; }
  .header-actions .button.ghost { display: none; }
  .primary-nav { gap: 18px; font-size: 0.86rem; }
  .hero-inner { min-height: 520px; padding-block: 72px; }
  .hero h1, .page-hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .section { padding-block: 76px; }
  .section-heading,
  .pulse-panel,
  .split-feature,
  .contact-layout,
  .contact-cta,
  .support-banner,
  .pulse-intro,
  .pulse-issue-bar,
  .donate-layout,
  .priority-panel,
  .article-layout { grid-template-columns: 1fr; }
  .pillars,
  .impact-grid,
  .news-grid,
  .source-grid,
  .pulse-news-grid { grid-template-columns: 1fr; }
  .pulse-panel { padding: 32px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-actions { justify-content: flex-start; }
  .priority-list { justify-content: flex-start; }
  .pulse-status { justify-content: flex-start; max-width: none; text-align: left; }
  .article-aside { position: static; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .header-inner { min-height: 72px; grid-template-columns: 1fr auto; gap: 12px; }
  .brand img { width: 158px; }
  .header-actions .button:not(.small), .header-actions .button.ghost { display: none; }
  .header-actions .join-button { display: none; }
  .social-link { width: 36px; height: 36px; }
  .primary-nav { margin-inline: -14px; padding-inline: 14px; }
  .trust-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 20px; }
  .feature-box, .contact-cta, .contact-route-panel { padding: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .article-hero { padding-block: 54px 62px; }
  .article-back { margin-bottom: 36px; }
  .article-hero h1 { font-size: clamp(2.65rem, 13vw, 4.5rem); }
  .article-aside { grid-template-columns: 1fr; }
  .article-callout, .statement-quote { padding: 24px; }
  .observance-table th,
  .observance-table td { display: block; width: 100%; padding: 15px 17px; }
  .observance-table th { border-bottom: 0; }
}

/* On narrow portrait viewports the hero box is taller than the artwork, so
   `contain` would letterbox it against the dark flag edge. Fall back to `cover`
   pinned left: the flag fills the frame and the headline sits over the darker
   half for contrast. The seal is sacrificed here, but it already appears in the
   header logo on every page. */
@media (max-width: 800px) {
  /* A 3.1:1 banner centred on a portrait phone shows only the empty middle, so
     anchor left: the flag fills the frame and the headline gets dark contrast. */
  .hero::before,
  .page-hero::before {
    background-position: left center;
  }
}

/* Pulse issue archive and earlier-issue note */
.pulse-archive-note { margin: 0 0 22px; padding: 12px 16px; border-radius: 10px; background: #f7ead5; color: #7a4e15; font-weight: 700; }
.pulse-archive-note a { color: var(--teal-600); text-decoration: none; }
.pulse-archive { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.pulse-archive h2 { margin: 0 0 14px; font-size: 1.3rem; color: var(--navy-900); }
.pulse-archive-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pulse-archive-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding: 12px 16px; border-radius: 10px; background: rgba(255,255,255,0.85); border: 1px solid var(--line); }
.pulse-archive-list a { color: var(--teal-600); font-weight: 800; text-decoration: none; }
.pulse-archive-current { color: var(--navy-900); font-weight: 800; }
.pulse-archive-count { color: var(--muted); font-size: 0.86rem; }
