/* ===== Tokens (brand: shield navy + gold) ===== */
:root {
  --navy-950: #070d24;
  --navy-900: #0c1640;
  --navy-800: #15245f;
  --navy-600: #2b3c94;
  --gold: #e3a92b;
  --gold-soft: #f3c662;
  --paper: #f6f3ec;
  --ink: #17203d;
  --muted: #5d6479;
  --line: #e3ddd0;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Montserrat', system-ui, sans-serif;
  --radius: 14px;
  /* lower-section colours, matched to the original site */
  --lw-blue: #4a90d0;
  --lw-green: #61ce70;
  --lw-grey: #54595f;
  --lw-footer: #1e1e1e;
  --lw-sky: #6ec1e4;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 14px; }
.eyebrow--dark { color: #b07d10; }

.btn { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--sans); letter-spacing: .02em; text-decoration: none; border-radius: 999px; padding: 13px 22px; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--gold { background: var(--gold); color: var(--navy-950); box-shadow: 0 6px 20px -8px rgba(227,169,43,.7); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.35); cursor: pointer; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }

/* ===== Nav ===== */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background .25s, box-shadow .25s; }
.nav.is-solid { background: rgba(7,13,36,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.nav-links a:hover { color: var(--gold-soft); }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; background: var(--navy-950); overflow: hidden; padding: 150px 0 0; }
.hero-bg { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(7,13,36,.96) 0%, rgba(7,13,36,.82) 42%, rgba(12,22,64,.45) 100%),
  linear-gradient(0deg, var(--navy-950) 0%, transparent 40%),
  url(/img/IMG_1649-scaled-1.webp) center 40% / cover no-repeat; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; padding-bottom: 72px; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(46px, 7vw, 92px); line-height: .98; letter-spacing: -.01em; margin: 0 0 24px; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.lede { font-size: 17px; color: rgba(255,255,255,.8); max-width: 540px; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.next-up { justify-self: end; display: grid; gap: 6px; width: min(340px, 100%); padding: 26px 28px; text-decoration: none; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px); transition: border-color .2s; }
.next-up:hover { border-color: var(--gold); }
.next-label { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.next-city { font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; display: flex; gap: 10px; align-items: baseline; }
.next-dates { font-size: 15px; font-weight: 500; }
.next-host { font-size: 13px; color: rgba(255,255,255,.6); }

.hero-stats { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.12); }
.hero-stats > div { padding: 22px 0; display: flex; align-items: baseline; gap: 10px; }
.hero-stats > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.hero-stats strong { font-family: var(--serif); font-size: 40px; font-weight: 600; color: var(--gold-soft); line-height: 1; }
.hero-stats span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.65); }

/* ===== Academies ===== */
.academies { padding: 96px 0 88px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head h2, .about h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; margin: 0; color: var(--navy-900); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 13px var(--sans); padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--navy-600); }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(23,32,61,.04), 0 18px 40px -28px rgba(23,32,61,.35); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(23,32,61,.04), 0 28px 50px -28px rgba(23,32,61,.45); }
.card[hidden] { display: none; }
.card-media { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media--empty { display: grid; place-items: center; }
.card-media .card-shield { width: 55%; height: auto; opacity: .9; object-fit: contain; }
.pill { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: #fff; color: var(--navy-900); }
.pill--open { background: #1f8a4c; color: #fff; }
.pill--soon, .pill--interest { background: var(--gold); color: var(--navy-950); }
.pill--soldout { background: #9b2c2c; color: #fff; }
.card-body { display: flex; flex-direction: column; padding: 24px 26px 26px; flex: 1; }
.card-place { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.flag { font-size: 1.15em; letter-spacing: 0; }
.card-city { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.05; margin: 4px 0 6px; color: var(--navy-900); }
.card-dates { margin: 0 0 14px; font-weight: 600; color: #b07d10; }
.card-blurb { margin: 0 0 18px; font-size: 14px; color: var(--muted); }
.card-meta { margin: 0 0 22px; display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.card-meta div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; font-size: 13px; }
.card-meta dt { color: var(--muted); }
.card-meta dd { margin: 0; font-weight: 500; }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.empty { padding: 48px; text-align: center; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); color: var(--muted); }
.academies-foot { margin: 40px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.academies-foot a { color: var(--navy-600); font-weight: 600; }

/* ===== About ===== */
.about { background: #fff; padding: 96px 0; border-top: 1px solid var(--line); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about h2 { margin-bottom: 32px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.features li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.feat-num { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--gold); line-height: 1.1; }
.features h3 { margin: 0 0 4px; font-size: 17px; color: var(--navy-900); }
.features p { margin: 0; color: var(--muted); font-size: 15px; }

/* ===== Lower section — same look as the original site ===== */

/* Newsletter: redesigned to match the new top of the page */
.newsletter { position: relative; overflow: hidden; color: #fff; padding: 104px 0; background: var(--navy-950); }
.newsletter-bg { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(7,13,36,.97) 0%, rgba(7,13,36,.88) 45%, rgba(12,22,64,.78) 100%),
  url(/img/academy-background-image-mobile-fallback-1024x576.webp) center / cover no-repeat; }
.newsletter-bg::after { content: ''; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(227,169,43,.22), transparent 65%); }
.newsletter-inner { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.newsletter h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 4.6vw, 58px); line-height: 1.02; margin: 0 0 20px; }
.newsletter h2 em { color: var(--gold-soft); }
.newsletter-copy > p { color: rgba(255,255,255,.78); font-size: 17px; margin: 0 0 26px; max-width: 480px; }
.newsletter-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.newsletter-perks li { position: relative; padding-left: 34px; color: rgba(255,255,255,.9); font-size: 15px; }
.newsletter-perks li::before { content: '✓'; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: var(--navy-950); background: var(--gold); }
.newsletter-pick { padding: 30px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(14px); }
.newsletter-label { margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); }
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nl { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; text-decoration: none; color: var(--ink);
  background: #fff; box-shadow: 0 10px 24px -16px rgba(0,0,0,.6); transition: transform .18s, box-shadow .18s; }
.nl:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgba(0,0,0,.7); }
.nl-icon { font-size: 28px; line-height: 1; }
.nl-text { display: grid; line-height: 1.25; min-width: 0; }
.nl-text strong { font-size: 15px; color: var(--navy-900); }
.nl-text span { font-size: 12px; color: var(--muted); }
.nl-go { margin-left: auto; font-weight: 700; color: var(--navy-600); transition: transform .18s; }
.nl:hover .nl-go { transform: translateX(3px); }
.nl--wide { grid-column: 1 / -1; }
.nl--mine { grid-column: 1 / -1; background: linear-gradient(135deg, #fff 0%, #fff6e0 100%); box-shadow: 0 0 0 2px var(--gold), 0 16px 34px -16px rgba(227,169,43,.6); padding: 20px 22px; }
.nl--mine .nl-icon { font-size: 34px; }
.nl--mine .nl-text strong { font-size: 18px; }
.nl-tag { white-space: nowrap; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--gold); color: var(--navy-950); }
.newsletter-note { margin: 18px 0 0; font-size: 12px; color: rgba(255,255,255,.55); }
@media (max-width: 900px) {
  .newsletter { padding: 72px 0; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .newsletter-pick { padding: 20px 16px; }
  .newsletter-grid { grid-template-columns: 1fr; }
}



/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 48px; }
  .next-up { justify-self: start; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-logo img { height: 38px; }
  .hero { padding-top: 112px; }
  .lede { font-size: 16px; }
  .hero-stats > div { flex-direction: column; gap: 4px; }
  .hero-stats > div + div { padding-left: 16px; }
  .hero-stats strong { font-size: 32px; }
  .hero-stats span { font-size: 10px; }
  .academies, .about { padding: 64px 0; }
  .grid { grid-template-columns: 1fr; }
  .card-city { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ===== Video buttons + lightbox ===== */
.btn--video { border: 1px solid var(--line); background: #fff; color: var(--navy-900); cursor: pointer; }
.btn--video:hover { border-color: var(--navy-600); }
.play { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 9px; border-color: transparent transparent transparent currentColor; }
.play--big { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border: 0; border-radius: 50%;
  background: rgba(7,13,36,.72); backdrop-filter: blur(4px); transition: background .2s, transform .2s; }
.play--big::after { content: ''; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.player { padding: 0; border: 0; background: #000; width: min(1100px, 100vw - 32px); border-radius: 12px; overflow: visible; }
.player::backdrop { background: rgba(4,8,22,.86); }
.player-frame { aspect-ratio: 16 / 9; }
.player-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 12px; display: block; }
.player-close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--navy-900); font-size: 22px; line-height: 1; cursor: pointer; }

/* ===== Recently held ===== */
.recent-wrap { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.recent-head { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.recent-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 20px; }
.recent { display: grid; grid-template-columns: 180px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.recent-media { background: var(--navy-900); }
.recent-media img { width: 100%; height: 100%; object-fit: cover; }
.recent-body { padding: 18px 20px; }
.recent h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 2px 0 2px; color: var(--navy-900); }
.recent-dates { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.recent-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.recent-actions .btn { padding: 10px 16px; font-size: 13px; }
.text-link { font-size: 13px; font-weight: 600; color: var(--navy-600); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ===== The task before us (globe) ===== */
.task { background: radial-gradient(ellipse at 70% 50%, #13235f 0%, var(--navy-950) 62%); color: #fff; padding: 96px 0 40px; overflow: hidden; }
.task-inner { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px; align-items: center; }
.task h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.04; margin: 0 0 20px; }
.task h2 em { color: #ffb36b; }
.task-copy > p { color: rgba(255,255,255,.75); margin: 0 0 28px; }
.task-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 28px; }
.task-stats div { border-left: 2px solid var(--gold); padding-left: 16px; }
.task-stats dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.task-stats dd { margin: 4px 0 0; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1.05; color: #fff; }
.task-stats div + div dd { color: #ffb36b; }
.task-verse { font-family: var(--serif); font-size: 19px; font-style: italic; color: rgba(255,255,255,.8) !important; }
.task-verse cite { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .1em; color: var(--gold-soft); margin-left: 6px; }
.legend { max-width: 340px; }
.legend-bar { height: 8px; border-radius: 4px; background: linear-gradient(90deg, rgb(255,77,61) 0%, rgb(255,138,61) 10%, rgb(255,200,87) 30%, rgb(143,184,255) 60%, rgb(91,127,214) 100%); }
.legend-labels { display: flex; justify-content: space-between; font-size: 11px; color: rgba(255,255,255,.6); margin-top: 6px; }
.globe-box { position: relative; }
.globe { width: 100%; aspect-ratio: 1; cursor: grab; opacity: 0; transition: opacity 1s; }
.globe:active { cursor: grabbing; }
.globe-box.is-ready .globe { opacity: 1; }
.globe-box::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #1a2d74, #0b1640); box-shadow: 0 0 80px rgba(127,176,255,.2); transition: opacity .8s; }
.globe-box.is-ready::before { opacity: 0; }
.globe-hint { text-align: center; font-size: 12px; letter-spacing: .08em; color: rgba(255,255,255,.45); margin: 4px 0 0; }
.task-source { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 32px; }
.gt { background: rgba(7,13,36,.94); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 10px 14px; font: 13px/1.5 var(--sans); color: #fff; display: grid; gap: 1px; min-width: 180px; }
.gt strong { font-size: 15px; margin-bottom: 2px; }
.gt i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.gt-non { color: #ffb36b; }

/* ===== Videos ===== */
.videos { padding: 96px 0; background: var(--paper); }
.videos h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; margin: 0 0 36px; color: var(--navy-900); }
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.video { all: unset; cursor: pointer; display: grid; gap: 6px; align-content: start; }
.video:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 8px; }
.video--featured { grid-column: 1 / -1; grid-template-columns: 1.6fr 1fr; gap: 6px 32px; align-items: center; }
.video--featured .video-thumb { grid-row: span 2; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--navy-900); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video:hover .video-thumb img { transform: scale(1.04); }
.video:hover .play--big { background: var(--gold); }
.video-title { font-weight: 600; font-size: 15px; color: var(--navy-900); line-height: 1.35; }
.video-agency { font-size: 13px; color: var(--muted); }
.video--featured .video-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; align-self: end; }
.video--featured .video-agency { align-self: start; font-size: 14px; }
.video--featured .play--big { width: 84px; height: 84px; }
.video--featured .play--big::after { left: 34px; top: 28px; border-width: 14px 0 14px 23px; }

@media (max-width: 900px) {
  .task-inner { grid-template-columns: 1fr; }
  .globe-box { max-width: 560px; width: 100%; margin: 0 auto; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .video--featured { grid-template-columns: 1fr; }
  .video--featured .video-thumb { grid-row: auto; }
}
@media (max-width: 640px) {
  .recent-grid { grid-template-columns: 1fr; }
  .recent { grid-template-columns: 110px 1fr; }
  .task, .videos { padding: 64px 0 32px; }
  .task-stats dd { font-size: 28px; }
  .video-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .video-title { font-size: 13px; }
}
/* globe.gl sizes its own wrapper; keep it inside the square box */
.task-inner > * { min-width: 0; }
.globe { position: relative; overflow: hidden; }
.globe > div { position: absolute !important; inset: 0; }

/* ===== Install button + alerts ===== */
.alerts { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 32px 36px;
  background: var(--navy-900); color: #fff; border-radius: var(--radius); box-shadow: 0 24px 50px -30px rgba(7,13,36,.7); }
.alerts h3 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); font-weight: 600; line-height: 1.1; margin: 0 0 10px; }
.alerts .eyebrow--dark { color: var(--gold-soft); }
.alerts-status { margin: 0; color: rgba(255,255,255,.75); font-size: 15px; }
.alerts[data-state="on"] .alerts-status { color: #9be3b4; }
.alerts[data-state="error"] .alerts-status, .alerts[data-state="blocked"] .alerts-status { color: #ffb3a6; }
.alerts[data-state="ios"] .alerts-status { color: var(--gold-soft); }
.alerts .chip { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.25); }
.alerts .chip[aria-pressed="true"] { background: rgba(227,169,43,.16); color: #fff; border-color: var(--gold); }
.alerts-actions { display: flex; gap: 10px; margin: 18px 0 12px; }
.alerts-actions .btn[hidden] { display: none; }
.alerts-actions .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.alerts-alt { margin: 0; font-size: 13px; color: rgba(255,255,255,.55); }
.alerts-alt a { color: var(--gold-soft); }

/* ===== Testimonials ===== */
.testimonials { padding: 96px 0; background: #fff; border-top: 1px solid var(--line); }
.testimonials h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; margin: 0 0 36px; color: var(--navy-900); }
.quotes { columns: 3 300px; column-gap: 22px; }
.quote { break-inside: avoid; margin: 0 0 22px; padding: 26px 26px 20px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 16px; font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--navy-900); }
.quote blockquote::before { content: '“'; display: block; font-size: 54px; line-height: .6; color: var(--gold); margin-bottom: 4px; }
.quote figcaption { display: grid; gap: 1px; font-size: 14px; }
.quote figcaption span { color: var(--muted); }
.quote figcaption a { margin-top: 6px; font-size: 12px; color: var(--muted); text-decoration: none; }
.quote figcaption a:hover { color: var(--navy-600); text-decoration: underline; }

@media (max-width: 900px) { .alerts { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; } }
@media (max-width: 640px) { .testimonials { padding: 64px 0; } }

/* ===== Add-to-home-screen help ===== */
.alerts-actions { flex-wrap: wrap; }
.howto { width: min(480px, 100vw - 32px); max-height: calc(100vh - 48px); padding: 32px 28px 24px; border: 0; border-radius: 18px; background: #fff; color: var(--ink); overflow: auto; }
.howto::backdrop { background: rgba(4,8,22,.7); }
.howto > img { width: 64px; height: 64px; border-radius: 14px; margin-bottom: 14px; }
.howto h2 { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.1; margin: 0 0 14px; color: var(--navy-900); }
.howto-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--paper); font-size: 22px; line-height: 1; cursor: pointer; color: var(--navy-900); }
.howto-for { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #b07d10; }
.howto ol { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 10px; font-size: 15px; }
.howto li::marker { font-weight: 700; color: var(--navy-600); }
.howto .i { display: inline-block; width: 16px; height: 19px; vertical-align: -3px; color: #0a7aff; }
.howto-note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.howto-steps .btn { margin-bottom: 8px; }
.howto-other { margin-top: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.howto-other summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--navy-600); }
.howto-all section { margin-top: 16px; }
.howto-all h3 { font-size: 14px; margin: 0 0 6px; color: var(--navy-900); }
.howto-all ol { font-size: 14px; gap: 6px; }

/* ===== Foundational messages ===== */
.messages { padding: 96px 0; background: var(--paper); }
.messages h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; margin: 0 0 36px; color: var(--navy-900); }
.msg { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 2px rgba(23,32,61,.04), 0 18px 40px -28px rgba(23,32,61,.35); }
.msg-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-900); }
.msg-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.msg-body { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 26px 26px; flex: 1; }
.msg-body > p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.msg-body > .btn { margin-top: auto; }
.msg-body > p.msg-label { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #b07d10; }
.msg h3 { font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.05; margin: 0 0 12px; color: var(--navy-900); }
.msg-body > p.msg-meta { margin: 12px 0 0; font-size: 13px; }
.msg--featured { display: grid; grid-template-columns: 1.05fr 1fr; margin-bottom: 28px; background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.msg--featured .msg-media { aspect-ratio: auto; min-height: 100%; position: relative; }
.msg--featured .msg-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--navy-900)); }
.msg--featured .msg-body { padding: 44px 44px 40px; justify-content: center; }
.msg--featured .msg-body > p.msg-label { color: var(--gold-soft); }
.msg--featured h3 { color: #fff; font-size: clamp(36px, 4vw, 52px); }
.msg--featured .msg-body > p { color: rgba(255,255,255,.78); font-size: 16px; }
.msg-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* audio player */
.audio { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px 12px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); margin: 0 0 14px; }
.msg--featured .audio { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.audio-play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--gold); display: grid; place-items: center; box-shadow: 0 6px 16px -6px rgba(227,169,43,.8); transition: transform .15s; }
.audio-play:hover { transform: scale(1.06); }
.audio-icon { width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--navy-950); margin-left: 3px; }
.audio[data-state="playing"] .audio-icon { width: 12px; height: 15px; border: 0; margin: 0; background: linear-gradient(90deg, var(--navy-950) 0 4px, transparent 4px 8px, var(--navy-950) 8px 12px); }
.audio[data-state="loading"] .audio-icon { width: 18px; height: 18px; border: 3px solid rgba(7,13,36,.25); border-top-color: var(--navy-950); border-radius: 50%; margin: 0; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.audio-main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.audio-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.msg--featured .audio-label { color: rgba(255,255,255,.65); }
.audio-bar { height: 6px; border-radius: 3px; background: rgba(23,32,61,.12); cursor: pointer; overflow: hidden; }
.msg--featured .audio-bar { background: rgba(255,255,255,.18); }
.audio-fill { display: block; height: 100%; width: 0; background: var(--gold); border-radius: 3px; transition: width .25s linear; }
.audio-time { flex: none; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--muted); min-width: 40px; text-align: right; }
.msg--featured .audio-time { color: rgba(255,255,255,.65); }
.audio-frame { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; border: 0; }
.audio.show-frame { flex-wrap: wrap; border-radius: 16px; }
.audio.show-frame .audio-frame { position: static; width: 100%; height: 120px; opacity: 1; pointer-events: auto; border-radius: 8px; }
.msg-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.msg-link { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--sans); padding: 10px 18px; border-radius: 999px; cursor: pointer; text-decoration: none;
  border: 1px solid var(--line); background: #fff; color: var(--navy-900); }
.msg-link:hover { border-color: var(--navy-600); }
.msg--featured .msg-link { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.msg--featured .msg-link:hover { border-color: var(--gold); }

/* reader */
.reader { width: min(640px, 100vw - 24px); height: min(760px, 100dvh - 32px); padding: 0; border: 0; border-radius: 20px; background: #fffdf8; color: var(--ink);
  display: none; flex-direction: column; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.reader[open] { display: flex; }
.reader::backdrop { background: rgba(4,8,22,.78); }
.reader-head { display: flex; align-items: center; gap: 10px; padding: 18px 20px 14px 28px; border-bottom: 1px solid var(--line); }
.reader-head > div { flex: 1; }
.reader-book { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #b07d10; }
.reader-count { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.reader-toc-btn, .reader-close { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--paper); color: var(--navy-900); font-size: 18px; cursor: pointer; }
.reader-close { font-size: 24px; line-height: 1; }
.reader-page { flex: 1; overflow-y: auto; padding: 28px 36px 24px; outline: none; }
.reader-page[hidden], .reader-toc[hidden] { display: none; }
.reader-page h2 { font-family: var(--serif); font-size: clamp(30px, 5vw, 40px); font-weight: 600; line-height: 1.08; margin: 0 0 18px; color: var(--navy-900); }
.reader-text p { font-family: Georgia, 'Cormorant Garamond', serif; font-size: 18px; line-height: 1.7; margin: 0 0 1em; color: #2a3048; }
.reader-text p:first-child::first-letter { float: left; font-family: var(--serif); font-size: 64px; line-height: .85; padding: 6px 8px 0 0; color: var(--gold); }
.turn-next { animation: turn-next .35s ease-out; }
.turn-prev { animation: turn-prev .35s ease-out; }
@keyframes turn-next { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes turn-prev { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.reader-toc { flex: 1; overflow-y: auto; padding: 24px 36px; }
.reader-toc h3 { font-family: var(--serif); font-size: 30px; margin: 0 0 12px; color: var(--navy-900); }
.reader-toc ol { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.reader-toc button { all: unset; cursor: pointer; display: block; padding: 8px 0; font-size: 16px; color: var(--navy-900); }
.reader-toc button:hover { color: #b07d10; }
.reader-foot { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); }
.reader-nav { width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; font-size: 20px; background: var(--navy-900); color: #fff; transition: opacity .2s, transform .15s; }
.reader-nav:hover:not(:disabled) { transform: scale(1.05); }
.reader-nav:disabled { opacity: .25; cursor: default; }
.reader-dots { flex: 1; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.reader-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s, transform .2s; }
.reader-dots span.on { background: var(--gold); transform: scale(1.3); }
.reader-credit { margin: 0; padding: 0 20px 14px; text-align: center; font-size: 11px; color: var(--muted); }
.reader-credit a { color: inherit; }

@media (max-width: 1000px) {
  .msg--featured { grid-template-columns: 1fr; }
  .msg--featured .msg-media { aspect-ratio: 16 / 9; }
  .msg--featured .msg-media::after { background: linear-gradient(180deg, transparent 60%, var(--navy-900)); }
  .msg-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .messages { padding: 64px 0; }
  .msg-row { grid-template-columns: 1fr; }
  .msg--featured .msg-body { padding: 26px 22px 28px; }
  .reader { width: 100vw; height: 100dvh; max-width: none; max-height: none; border-radius: 0; }
  .reader-page, .reader-toc { padding: 22px 22px 18px; }
  .reader-text p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .turn-next, .turn-prev { animation: none; } }
.reader-page h2:has(+ .reader-sub:not([hidden])) { margin-bottom: 6px; }
.reader-sub { margin: 0 0 20px; font-family: var(--serif); font-style: italic; font-size: 20px; color: #b07d10; }
.reader-sub[hidden] { display: none; }

/* ===== Living Waters around the world ===== */
.world { padding: 96px 0 88px; background: #fff; border-top: 1px solid var(--line); overflow-x: clip; }
.world-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: 28px; }
.world-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(36px, 4.6vw, 56px); line-height: 1.02; margin: 0; color: var(--navy-900); }
.world-head > p { margin: 0; color: var(--muted); font-size: 16px; }
.world-map { position: relative; aspect-ratio: 1000 / 372; margin: 0 0 28px; }
.world-dots { position: absolute; inset: 0; background: #c7d2ef;
  -webkit-mask: url(/img/dotmap.svg) center / 100% 100% no-repeat; mask: url(/img/dotmap.svg) center / 100% 100% no-repeat; }
.pin { position: absolute; transform: translate(-50%, -50%); }
.pin i { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--navy-600); box-shadow: 0 0 0 4px rgba(43,60,148,.18); transition: transform .2s, background .2s; }
.pin i::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--navy-600); opacity: 0; animation: ping 2.6s ease-out infinite; }
.pin b { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--navy-900);
  background: #fff; padding: 4px 9px; border-radius: 999px; box-shadow: 0 4px 12px -4px rgba(23,32,61,.35); opacity: 0; transition: opacity .2s; pointer-events: none; }
.pin--mine i, .pin.is-on i { background: var(--gold); box-shadow: 0 0 0 5px rgba(227,169,43,.25); transform: scale(1.25); }
.pin--mine i::after, .pin.is-on i::after { border-color: var(--gold); }
.pin--mine b, .pin.is-on b { opacity: 1; }
@keyframes ping { 0% { opacity: .7; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }
.world-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.ag { display: flex; gap: 14px; padding: 18px 18px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); transition: border-color .2s, transform .2s, box-shadow .2s; }
.ag:hover, .ag.is-on { border-color: var(--navy-600); transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(23,32,61,.5); }
.ag--mine { background: linear-gradient(135deg, #fff 0%, #fff6e0 100%); border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.ag-icon { font-size: 30px; line-height: 1; }
.ag-text { min-width: 0; }
.ag-text .nl-tag { display: inline-block; margin-bottom: 6px; }
.ag h3 { margin: 0; font-size: 16px; color: var(--navy-900); }
.ag p { margin: 2px 0 10px; font-size: 13px; color: var(--muted); }
.ag-links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.ag-links a { font-size: 13px; font-weight: 600; color: var(--navy-600); text-decoration: none; }
.ag-links a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.footer { background: var(--navy-950); color: #fff; }
.give { position: relative; overflow: hidden; padding: 72px 0; background: linear-gradient(120deg, #13235f 0%, var(--navy-900) 55%, var(--navy-950) 100%); }
.give::after { content: ''; position: absolute; right: -8%; top: -60%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(227,169,43,.2), transparent 65%); pointer-events: none; }
.give-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.give h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 3.8vw, 46px); line-height: 1.05; margin: 0 0 14px; }
.give h2 em { color: var(--gold-soft); }
.give-copy > p { margin: 0; color: rgba(255,255,255,.75); }
.give-main { display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 22px; border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none;
  box-shadow: 0 0 0 2px var(--gold), 0 24px 40px -24px rgba(0,0,0,.7); transition: transform .18s; }
.give-main:hover { transform: translateY(-2px); }
.give-flag { font-size: 36px; line-height: 1; }
.give-label { display: grid; flex: 1; min-width: 0; line-height: 1.2; }
.give-label small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #b07d10; }
.give-label strong { font-size: 18px; color: var(--navy-900); }
.give-btn { flex: none; padding: 12px 20px; border-radius: 999px; background: var(--gold); color: var(--navy-950); font-weight: 700; font-size: 14px; }
.give-or { margin: 18px 0 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.give-others { display: flex; flex-wrap: wrap; gap: 8px; }
.give-others a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #fff; text-decoration: none;
  border: 1px solid rgba(255,255,255,.22); transition: border-color .2s, background .2s; }
.give-others a:hover { border-color: var(--gold); background: rgba(227,169,43,.1); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer-brand img { width: 210px; margin-bottom: 16px; }
.footer-brand p { margin: 0; max-width: 360px; font-size: 14px; color: rgba(255,255,255,.65); }
.footer-main h3 { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.footer-nav { display: grid; align-content: start; gap: 8px; }
.footer-nav a { color: rgba(255,255,255,.8); text-decoration: none; font-size: 14px; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-logo { width: 140px; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .2s; }
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 17px; height: 17px; fill: #fff; }
.footer-social a:hover svg { fill: var(--navy-950); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 28px; }
.footer-legal p { margin: 0 0 4px; font-size: 12px; color: rgba(255,255,255,.45); }

@media (max-width: 900px) {
  .world-head, .give-inner { grid-template-columns: 1fr; gap: 16px; }
  .give-inner { gap: 28px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .world { padding: 64px 0; }
  .pin i { width: 9px; height: 9px; box-shadow: 0 0 0 3px rgba(43,60,148,.18); }
  .pin b { font-size: 10px; padding: 3px 7px; }
  .give { padding: 56px 0; }
  .give-main { flex-wrap: wrap; }
  .give-btn { width: 100%; text-align: center; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { .pin i::after { animation: none; } }

/* globe zoom buttons */
.globe-zoom { position: absolute; right: 4%; bottom: 14%; display: grid; gap: 6px; opacity: 0; transition: opacity .6s; z-index: 2; }
.globe-box.is-ready .globe-zoom { opacity: 1; }
.globe-zoom button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: rgba(7,13,36,.7); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.globe-zoom button:hover { background: rgba(227,169,43,.25); border-color: var(--gold); }
.globe-zoom .globe-reset { font-size: 17px; visibility: hidden; }
.globe-box.is-zoomed .globe-reset { visibility: visible; }
@media (hover: none) { .globe-zoom button { width: 42px; height: 42px; } }
/* Soft round edge, so a zoomed-in globe reads as a lens rather than a square crop */
.globe { -webkit-mask: radial-gradient(closest-side, #000 86%, transparent 100%); mask: radial-gradient(closest-side, #000 86%, transparent 100%); }
.globe { touch-action: none; } /* the globe handles its own drag and pinch */
