:root {
  --navy: #1d2556;
  --navy-deep: #121839;
  --teal: #2f7f97;
  --teal-light: #e3f1f5;
  --sand: #f7f4ee;
  --ink: #1f2330;
  --muted: #5d6475;
  --line: #e2ded5;
  --white: #ffffff;
  --gold: #d9a43b;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(18, 24, 57, .10);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: "Source Serif 4", Georgia, serif; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.alt { background: var(--sand); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin-bottom: .6em; display: block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand strong { font-family: "Source Serif 4", Georgia, serif; font-size: 1.08rem; line-height: 1.15; display: block; }
.brand small { color: var(--muted); font-size: .74rem; letter-spacing: .06em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); background: var(--teal-light); }
.nav a.btn { color: var(--white); margin-left: 6px; }
.nav a.btn:hover { background: #b9861f; color: var(--white); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: var(--white); font-weight: 600; text-decoration: none; padding: 12px 24px; border-radius: 999px; border: 0; cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, background .15s; }
.btn:hover { background: #b9861f; transform: translateY(-1px); }
.btn.secondary { background: transparent; border: 2px solid currentColor; color: var(--white); }
.btn.secondary:hover { background: rgba(255,255,255,.12); }
.btn.navy { background: var(--navy); }
.btn.navy:hover { background: var(--navy-deep); }

/* Hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: var(--white); background: var(--navy-deep) center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,24,57,.25) 0%, rgba(18,24,57,.85) 100%); }
.hero .wrap { position: relative; padding-bottom: 80px; padding-top: 120px; }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero p { font-size: 1.2rem; max-width: 52ch; opacity: .92; }
.hero .verse { font-family: "Source Serif 4", Georgia, serif; font-style: italic; color: #f1d595; font-size: 1.1rem; margin-bottom: 1em; display: block; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.page-hero { min-height: 46vh; }
.page-hero .wrap { padding-bottom: 56px; }

/* Home video banner */
.video-banner { position: relative; background: var(--navy-deep); overflow: hidden; }
.video-banner .loop { display: block; width: 100%; aspect-ratio: 16/9; max-height: calc(100vh - 76px); object-fit: cover; background: var(--navy-deep); }
.video-banner .watch { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; background: rgba(18,24,57,.72); color: var(--white); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 10px 18px 10px 12px; font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; backdrop-filter: blur(6px); }
.video-banner .watch:hover { background: rgba(18,24,57,.9); }
.video-banner .watch .icon { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); position: relative; flex: none; }
.video-banner .watch .icon::after { content: ""; position: absolute; left: 11px; top: 8px; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.video-modal { border: 0; padding: 0; background: transparent; width: min(1100px, 94vw); max-width: none; overflow: visible; }
.video-modal::backdrop { background: rgba(10,12,30,.92); }
.video-modal video { display: block; width: 100%; margin: 0; border-radius: 10px; background: #000; }
.video-modal .close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.6rem; cursor: pointer; }
.intro { background: var(--navy); color: var(--white); padding: 64px 0 96px; }
.intro h1 { color: var(--white); max-width: 18ch; }
.intro p { font-size: 1.15rem; max-width: 56ch; opacity: .9; }
.intro .verse { font-family: "Source Serif 4", Georgia, serif; font-style: italic; color: #f1d595; font-size: 1.1rem; margin-bottom: .8em; display: block; }
.intro .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--navy); color: var(--white); border-radius: var(--radius); overflow: hidden; margin-top: -48px; position: relative; box-shadow: var(--shadow); }
.stats div { padding: 26px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stats div:last-child { border-right: 0; }
.stats b { display: block; font-family: "Source Serif 4", Georgia, serif; font-size: 2.2rem; color: #f1d595; }
.stats span { font-size: .9rem; opacity: .85; }

/* Grids & cards */
.grid { display: grid; gap: 24px; }
.grid.two { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card .meta { font-size: .82rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin-bottom: .4em; }
.card .body > :last-child { margin-bottom: 0; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; }
.tag { display: inline-block; background: var(--teal-light); color: var(--teal); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: .04em; }
.tag.gold { background: #fbefd5; color: #8a6113; }

.rounded-img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.photo-stack { position: relative; }
.photo-stack img + img { position: absolute; width: 48%; right: -20px; bottom: -36px; border: 6px solid var(--white); }

.pillars .card { padding: 28px; }
.pillars .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--teal-light); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.pillars .icon svg { width: 26px; height: 26px; }

/* Missions */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.filters button { border: 1px solid var(--line); background: var(--white); padding: 8px 16px; border-radius: 999px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.trip { margin-bottom: 56px; }
.trip header { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.trip header h3 { margin: 0; font-size: 1.5rem; }
.trip header span { color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.05); }

.lightbox { position: fixed; inset: 0; background: rgba(10, 12, 30, .92); display: none; align-items: center; justify-content: center; z-index: 100; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 100%; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lightbox .close { top: 20px; right: 20px; }
.lightbox .prev { left: 20px; top: 50%; }
.lightbox .next { right: 20px; top: 50%; }

/* Team */
.team .card img { aspect-ratio: 1; object-position: top; }
.team .card img.logo { object-fit: contain; background: var(--white); padding: 16px; }
.team .card h3 { margin-bottom: .1em; }
.team .card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Forms */
form.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-family: "Source Serif 4", Georgia, serif; color: var(--navy); font-size: 1.25rem; font-weight: 600; margin-bottom: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.fields .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; padding: 11px 14px; border: 1px solid #cfcabf; border-radius: 10px; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47,127,151,.25); border-color: var(--teal); }
textarea { min-height: 140px; resize: vertical; }
.choice { display: flex; gap: 18px; flex-wrap: wrap; }
.choice label { display: flex; align-items: center; gap: 6px; font-weight: 400; margin: 0; }
.choice input { width: auto; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: #e6f4ea; color: #1e5b2e; }
.form-status.err { display: block; background: #fdecea; color: #8a1f17; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 60px 0 30px; font-size: .95rem; }
.site-footer h4 { color: var(--white); font-family: "Source Serif 4", Georgia, serif; font-size: 1.1rem; margin: 0 0 14px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #f1d595; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px; }

/* World map */
.map-section { background: var(--sand); }
.map-wrap { margin-top: 28px; background: #dfeaf0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.world-map { display: block; width: 100%; height: auto; }
.world-map .country { fill: #f4f1ea; stroke: #c9c3b6; stroke-width: .5; }
.world-map .country.served { fill: #7fb3c4; cursor: pointer; transition: fill .15s; }
.world-map .country.served:hover, .world-map .country.selected { fill: var(--teal); }
.world-map .pin { cursor: pointer; outline: none; }
.world-map .pin .hit { fill: transparent; }
.world-map .pin .halo { fill: rgba(217,164,59,.28); }
.world-map .pin .dot { fill: var(--gold); stroke: #fff; stroke-width: 2; transition: r .15s; }
.world-map .pin:hover .dot, .world-map .pin:focus-visible .dot, .world-map .pin.selected .dot { fill: var(--navy); r: 8; }
.world-map .pin:focus-visible .halo { stroke: var(--navy); stroke-width: 2; }
.map-panel { margin-top: 24px; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.map-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.map-panel-head h3 { margin: 0; font-size: 1.6rem; }
.map-panel .btn.secondary { color: var(--navy); }
.map-trips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.map-trips a { display: inline-block; text-decoration: none; background: var(--teal-light); color: var(--navy); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.map-trips a:hover { background: #cfe6ee; }
.map-trips b { margin-right: 4px; }
.trip-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 14px; }
.trip-videos video { margin: 0; max-height: 420px; }
@media (max-width: 600px) {
  .world-map .pin .dot { r: 8; }
  .world-map .pin .halo { r: 14; }
  .map-panel { padding: 18px; }
}

/* Stories & posts */
.post-card { text-decoration: none; color: inherit; transition: transform .2s; }
.post-card:hover { transform: translateY(-3px); }
.post-card .cover { position: relative; }
.post-card .meta .tag { margin-left: 6px; vertical-align: 1px; }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(18,24,57,.75); }
.play::after { content: ""; position: absolute; left: 26px; top: 20px; border-left: 18px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.story-filters { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 32px; }
.story-filters select { width: auto; min-width: 170px; }
.trip header .counts { margin-left: auto; font-size: .9rem; }
.filters button small { opacity: .6; margin-left: 2px; }
.post-page { max-width: 820px; }
.post-page .eyebrow a { color: inherit; text-decoration: none; }
.byline { color: var(--muted); margin-top: -.3em; }
.post-cover { border-radius: var(--radius); width: 100%; margin: 12px 0 28px; box-shadow: var(--shadow); }
.post-body { font-size: 1.1rem; }
.video { position: relative; aspect-ratio: 16/9; margin: 12px 0 28px; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
video { width: 100%; border-radius: var(--radius); margin: 12px 0 28px; background: #000; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Responsive */
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a.btn { margin: 8px 0 0; text-align: center; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .grid.four { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-stack img + img { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(2) { border-right: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .wrap { padding: 0 16px; }
  .fields { grid-template-columns: 1fr; }
  .grid.four { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  form.panel { padding: 22px; }
  .brand small { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .video-banner .watch { position: static; display: flex; margin: 12px auto 0; padding: 7px 14px 7px 8px; font-size: .9rem; }
  .video-banner { padding-bottom: 4px; }
  .video-banner .watch .icon { width: 24px; height: 24px; }
  .video-banner .watch .icon::after { left: 9px; top: 6px; }
  .intro { padding: 44px 0 80px; }
  .intro .actions .btn { flex: 1 1 auto; text-align: center; }
  .video-modal { width: 100vw; }
  .video-modal video { border-radius: 0; }
  .video-modal .close { right: 12px; }
}
