:root {
  --navy: #07315f;
  --navy-deep: #031f3d;
  --blue: #164f7e;
  --yellow: #ffd51f;
  --yellow-soft: #fff4b8;
  --orange: #ee6b35;
  --red: #df454b;
  --cream: #fffaf0;
  --paper: #ffffff;
  --ink: #17324a;
  --muted: #5d6f7d;
  --line: rgba(7, 49, 95, 0.14);
  --shadow: 0 24px 70px rgba(7, 49, 95, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --max: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(circle at 8% 4%, rgba(255, 213, 31, 0.17), transparent 31rem),
    radial-gradient(circle at 96% 50%, rgba(22, 79, 126, 0.08), transparent 28rem);
  content: "";
  pointer-events: none;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--navy-deep);
  color: white;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 36px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(7, 49, 95, 0.1);
  background: rgba(255, 250, 240, 0.91);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-size: 21px;
  box-shadow: inset 0 -4px 0 rgba(238, 107, 53, 0.16);
}

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

.menu-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: var(--navy);
  cursor: pointer;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.menu-button span {
  margin-block: 4px;
}

.site-nav {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: none;
  padding: 12px 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 20px 30px rgba(7, 49, 95, 0.08);
}

.site-nav.is-open {
  display: grid;
  gap: 4px;
}

.site-nav a {
  padding: 11px 8px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover {
  background: var(--yellow-soft);
}

.language-picker {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
}

.language-picker button {
  min-width: 38px;
  min-height: 36px;
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.language-picker button.is-active {
  background: var(--navy);
  color: white;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.7), rgba(255, 244, 184, 0.66)),
    var(--cream);
}

.hero::before,
.hero::after {
  position: absolute;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -150px;
  right: -210px;
  width: 510px;
  height: 510px;
  border: 90px solid rgba(255, 213, 31, 0.27);
}

.hero::after {
  bottom: -110px;
  left: -160px;
  width: 350px;
  height: 350px;
  border: 56px solid rgba(22, 79, 126, 0.07);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - 72px);
  align-items: center;
  gap: 14px;
  padding-block: 48px 64px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 4px;
  border-radius: 99px;
  background: var(--yellow);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 9vw, 5.7rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 4vw, 2rem);
  letter-spacing: -0.025em;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 30px;
  color: #40596b;
  font-size: clamp(1.08rem, 3vw, 1.35rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(7, 49, 95, 0.18);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: rgba(7, 49, 95, 0.24);
  background: rgba(255, 255, 255, 0.55);
  color: var(--navy);
}

.button-secondary:hover {
  background: white;
}

.button-yellow {
  background: var(--yellow);
  color: var(--navy-deep);
}

.button-yellow:hover {
  background: #ffe15b;
}

.hero-art {
  position: relative;
  width: min(78vw, 480px);
  margin-inline: auto;
}

.hero-art::before {
  position: absolute;
  inset: 18% 7% 4%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 213, 31, 0.24);
  filter: blur(20px);
  content: "";
}

.hero-art img {
  width: 100%;
  filter: drop-shadow(0 28px 22px rgba(7, 49, 95, 0.13));
}

.hero-stamp {
  position: absolute;
  right: -4px;
  bottom: 15%;
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: 27px;
  font-weight: 900;
  transform: rotate(8deg);
  box-shadow: 0 12px 25px rgba(223, 69, 75, 0.24);
}

.story-path {
  display: none;
}

.section {
  padding-block: 86px;
}

.section-white {
  background: var(--paper);
}

.section-blue {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  color: #dbe8f1;
}

.section-blue h2,
.section-blue h3,
.section-blue .eyebrow {
  color: white;
}

.section-blue .eyebrow::before {
  background: var(--yellow);
}

.two-column {
  display: grid;
  gap: 40px;
}

.story-photo-wrap {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.story-photo {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.9);
  transform-origin: center bottom;
}

.story-photo-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 31, 61, 0.08), transparent 52%);
  content: "";
  pointer-events: none;
}

.story-card {
  align-self: center;
}

.story-card > p:not(.eyebrow) {
  max-width: 670px;
  color: var(--muted);
  font-size: 1.08rem;
}

.translation-notice {
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--yellow);
  border-radius: 0 12px 12px 0;
  background: #fff9d9;
  color: var(--ink);
  font-size: 0.93rem;
}

.priority-card {
  position: relative;
  margin-top: 34px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.priority-card::before {
  position: absolute;
  top: -12px;
  left: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  content: "♥";
  font-size: 18px;
}

.priority-card h3 {
  margin-top: 14px;
}

.priority-note {
  margin-bottom: 0;
  color: #acc1d2;
  font-size: 0.9rem;
}

.duck-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.duck-image-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow);
}

.duck-image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.duck-number {
  position: absolute;
  bottom: 18px;
  left: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pending-copy {
  padding: 18px 20px;
  border: 1px dashed rgba(7, 49, 95, 0.25);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-size: 0.94rem;
}

.updates-heading,
.map-heading,
.support-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.update-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow);
}

.update-art {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.35), transparent 35%),
    var(--yellow);
}

.update-art img {
  width: min(70%, 270px);
  filter: drop-shadow(0 18px 20px rgba(7, 49, 95, 0.16));
}

.update-card-body {
  padding: 28px;
}

.update-card-body p {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link::after {
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.map-shell {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 26% 42%, rgba(255, 213, 31, 0.11), transparent 3px),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    #082b50;
  background-size: auto, 36px 36px, 36px 36px, auto;
}

.world-map {
  position: absolute;
  inset: 25px;
  width: calc(100% - 50px);
  height: calc(100% - 50px);
  opacity: 0.5;
}

.world-map path {
  fill: #5d809d;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1.5;
}

.map-points {
  position: absolute;
  inset: 25px;
}

.map-point {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 4px solid var(--navy-deep);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255, 213, 31, 0.2);
}

.map-empty {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(3, 31, 61, 0.88);
  color: #dbe8f1;
  font-size: 0.92rem;
  text-align: center;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.share-card,
.fundraising-panel {
  min-width: 0;
  padding: 26px;
  border-radius: var(--radius-md);
}

.fundraising-panel h3,
.fundraising-panel p,
.payment-card {
  overflow-wrap: anywhere;
}

.share-card {
  background: var(--yellow);
}

.share-card p {
  color: #29475d;
}

.fundraising-panel {
  border: 1px solid var(--line);
  background: white;
}

.fundraising-status {
  padding: 22px;
  border-radius: 16px;
  background: #eef4f7;
}

.fundraising-status p {
  margin-bottom: 0;
  color: var(--muted);
}

.payment-grid {
  display: grid;
  gap: 12px;
}

.payment-card {
  display: grid;
  gap: 3px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.approval-note {
  display: flex;
  gap: 12px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.approval-note::before {
  flex: 0 0 auto;
  color: #27804c;
  content: "✓";
  font-weight: 900;
}

.page-hero {
  padding-block: 74px 54px;
  background: linear-gradient(145deg, #fffdf6, #fff2a7);
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(3rem, 9vw, 6rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  color: #40596b;
  font-size: 1.15rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 35px;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.back-link::before {
  content: "←";
}

.updates-list {
  display: grid;
  gap: 22px;
}

.updates-list .update-card {
  max-width: 900px;
}

.letter-layout {
  display: grid;
  gap: 34px;
}

.letter-aside {
  align-self: start;
}

.letter-aside-image {
  position: relative;
  height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.letter-aside-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scale(1.9);
  transform-origin: center bottom;
}

.letter-body {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2.7vw, 1.28rem);
  line-height: 1.78;
}

.letter-body p:first-child {
  color: var(--navy);
  font-size: 1.45em;
  font-weight: 700;
}

.letter-divider {
  width: 80px;
  height: 5px;
  margin: 42px 0;
  border: 0;
  border-radius: 99px;
  background: var(--yellow);
}

.letter-approval {
  margin-top: 34px;
  padding: 18px 20px;
  border-left: 5px solid #27804c;
  border-radius: 0 14px 14px 0;
  background: #edf7f0;
  color: #214b31;
  font-weight: 700;
}

.letter-share {
  margin-top: 32px;
}

.story-page-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.72), transparent 20rem),
    linear-gradient(145deg, #fffdf6, #ffe978);
}

.story-page-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.story-page-copy {
  min-width: 0;
}

.story-prose {
  color: var(--muted);
  font-size: 1.04rem;
}

.story-prose p {
  max-width: 720px;
}

.story-prose p:last-child {
  margin-bottom: 0;
}

.story-prose p:nth-child(3):not(:last-child) {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2em;
  font-weight: 700;
}

.story-page-art {
  align-self: stretch;
  min-height: 360px;
}

.story-page-art img {
  height: 100%;
}

.story-page-photo {
  min-height: 520px;
}

.story-chapters {
  display: grid;
  gap: 24px;
}

.story-chapter {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.story-chapter h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.story-chapter .story-prose {
  color: #c4d5e1;
}

.story-chapter .story-prose p:nth-child(3):not(:last-child) {
  color: white;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.story-support {
  max-width: 850px;
}

.story-support .story-prose {
  font-size: 1.08rem;
}

.story-closing {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 5px solid var(--yellow);
  border-radius: 0 16px 16px 0;
  background: var(--yellow-soft);
  color: var(--navy) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18em;
  font-weight: 700;
}

.story-actions {
  margin-top: 30px;
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 28px;
  text-align: center;
}

.not-found-inner {
  max-width: 650px;
}

.not-found img {
  width: min(62vw, 290px);
  margin: 0 auto 14px;
}

.site-footer {
  padding-block: 54px 30px;
  background: #031a32;
  color: #c6d5e0;
}

.footer-grid {
  display: grid;
  gap: 34px;
}

.footer-brand {
  color: white;
}

.footer-tagline {
  max-width: 390px;
  margin-top: 14px;
  color: #9fb4c4;
}

.footer-heading {
  margin-bottom: 12px;
  color: white;
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #c6d5e0;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 3px;
}

.site-footer .language-picker {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
}

.site-footer .language-picker button {
  color: #c6d5e0;
}

.site-footer .language-picker button.is-active {
  background: var(--yellow);
  color: var(--navy);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #829caf;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 700px) {
  .shell {
    width: min(calc(100% - 64px), var(--max));
  }

  .update-card {
    grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 0.8fr 1fr;
  }
}

@media (min-width: 920px) {
  .menu-button {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 14px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 30px;
  }

  .hero-art {
    width: min(36vw, 500px);
  }

  .story-path {
    position: absolute;
    bottom: 18px;
    left: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    transform: translateX(-50%);
  }

  .story-path::after {
    width: 1px;
    height: 34px;
    background: var(--navy);
    content: "";
    opacity: .25;
  }

  .two-column,
  .duck-grid,
  .support-grid,
  .letter-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
  }

  .story-page-grid-reverse .story-photo-wrap {
    order: 2;
  }

  .story-chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column {
    gap: 76px;
  }

  .duck-grid {
    gap: 70px;
  }

  .support-grid {
    gap: 24px;
  }

  .letter-layout {
    grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
    gap: 70px;
  }

  .letter-aside {
    position: sticky;
    top: 104px;
  }
}

@media (min-width: 1200px) {
  .site-nav a {
    padding-inline: 13px;
  }
}

@media (max-width: 420px) {
  .site-header .brand span:last-child {
    display: none;
  }

  .hero-inner {
    padding-top: 34px;
  }

  .button-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #314b5e;
    --line: rgba(7, 49, 95, 0.38);
  }
}

@media print {
  .site-header,
  .button,
  .site-footer,
  .story-path {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .section,
  .page-hero {
    padding-block: 20px;
  }
}
