/* ==========================================================================
   Youth in Motion · Molokaʻi — brand stylesheet (v4)
   One type family (Plus Jakarta Sans), one palette, one set of components.
   Edit the tokens in :root to re-theme the whole site.
   ========================================================================== */

:root {
  /* Brand */
  --teal: #0E5E66;
  --teal-deep: #0A3F45;
  --teal-night: #082C31;
  --teal-ink: #0B4E55;
  --teal-50: #EAF3F1;
  --teal-100: #D5E8E5;
  --teal-300: #8FC3BD;
  --coral: #F0643C;          /* donate — always with ink text */
  --coral-hover: #F37B57;
  --coral-50: #FDEDE6;
  --coral-ink: #B54220;
  --sun: #F4BE4F;

  /* Neutrals */
  --ink: #0F1719;
  --ink-2: #33423F;
  --muted: #60706F;
  --line: #E7E2D9;
  --line-2: #D8D1C4;
  --paper: #FBF9F5;
  --sand: #F3EFE7;
  --white: #FFFFFF;

  /* Type */
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --r-xl: 28px;
  --r-lg: 22px;
  --r: 16px;
  --r-btn: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 25, .05), 0 8px 20px -12px rgba(15, 23, 25, .18);
  --shadow: 0 1px 2px rgba(15, 23, 25, .05), 0 24px 48px -24px rgba(15, 23, 25, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bar-h: 40px;
  --header-h: 74px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 400 16.5px/1.65 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-family: var(--font); text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -.015em; }
h1 em, h2 em { font-style: normal; color: var(--teal); }
strong, b { font-weight: 700; }
strong { color: var(--ink); }
::selection { background: var(--teal-100); color: var(--ink); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Labels & type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 13px 6px 11px; border-radius: 999px; background: var(--teal-50); color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .01em; line-height: 1.2; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.65; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .8em 1.4em; border-radius: var(--r-btn); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; white-space: nowrap;
  font-weight: 700; font-size: .95rem; line-height: 1.1; letter-spacing: -.005em;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(15, 23, 25, .5); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn--coral { --bg: var(--coral); --fg: var(--ink); }
.btn--coral:hover { --bg: var(--coral-hover); }
.btn--teal:hover { --bg: var(--teal-deep); }
.btn--outline { --bg: #fff; --fg: var(--ink); --bd: var(--line-2); }
.btn--outline:hover { --bd: var(--ink); }
.btn--white { --bg: #fff; --fg: var(--ink); }
.btn--ghost-light { --bg: rgba(255, 255, 255, .08); --fg: #fff; --bd: rgba(255, 255, 255, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.btn--sm { min-height: 42px; padding: .55em 1.05em; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: .95em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--teal-ink); text-decoration: none; }
.link .icon { transition: transform .25s var(--ease); }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Header (transparent over photo, solid on scroll) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 28, 31, .5), rgba(8, 28, 31, 0)); transition: opacity .3s; }
.announce { height: var(--bar-h); display: flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; background: var(--teal-night); color: rgba(255, 255, 255, .85); font-size: .84rem; font-weight: 500; transition: height .3s var(--ease), opacity .3s; }
.announce a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.announce .pill { padding: 3px 9px; border-radius: 999px; background: var(--coral); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(15, 23, 25, .6); }
.site-header.is-scrolled::before { opacity: 0; }
.site-header.is-scrolled .announce { height: 0; opacity: 0; }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; flex: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { display: block; font-size: 1.12rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.brand-name em { font-style: normal; font-weight: 500; color: var(--teal-300); }
.site-header.is-scrolled .brand-name em, .footer-light .brand-name em { color: var(--teal); }
.brand-sub { display: block; margin-top: 5px; font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.brand .brand-logo { width: auto; height: 52px; transition: filter .3s; }
.site-header.is-scrolled .brand-logo, .nav-open .site-header .brand-logo { filter: brightness(0); }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a { display: block; padding: 9px 13px; border-radius: 10px; font-size: .93rem; font-weight: 600; text-decoration: none; color: inherit; opacity: .92; transition: background .2s, opacity .2s; }
.main-nav a:hover { background: rgba(255, 255, 255, .14); opacity: 1; }
.site-header.is-scrolled .main-nav a:hover { background: var(--sand); }
.main-nav a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--coral); border-radius: 0; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); position: relative; color: inherit; }
.site-header.is-scrolled .menu-toggle { border-color: var(--line); background: #fff; }
.menu-toggle span:not(.sr-only) { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.nav-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
.nav-open .site-header { background: #fff; color: var(--ink); }
.nav-open .site-header .brand-name em { color: var(--teal); }
.nav-open .site-header .announce { height: 0; opacity: 0; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: #fff; padding: 12px var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 22px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.nav-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.mobile-menu li a[aria-current="page"] { color: var(--teal); }
.mobile-menu .small a { color: var(--teal-ink); font-weight: 700; }
body.nav-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 9vw, 128px) 0; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.section--sand { background: var(--sand); }
.section--white { background: #fff; }
.section--teal { background: var(--teal-deep); color: rgba(255, 255, 255, .8); }
.section--teal h2, .section--teal h3, .section--teal strong { color: #fff; }
.section--teal h2 em { color: var(--sun); }
.section--teal .eyebrow { background: rgba(255, 255, 255, .1); color: #fff; }
.section--teal .lead, .section--teal .muted { color: rgba(255, 255, 255, .72); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.head > div { max-width: 700px; }
.head h2 { margin-bottom: .3em; }
.head .lead { margin: 0; }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head--center .lead { margin-inline: auto; }

/* ---------- Home hero (full-bleed) ---------- */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 940px); display: flex; align-items: center; color: #fff; padding: calc(var(--bar-h) + var(--header-h) + 56px) 0 170px; background: var(--teal-night); overflow: hidden; }
.hero-frame { position: absolute; inset: 0; z-index: -2; }
.hero-frame picture, .hero-frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-frame img { object-fit: cover; object-position: 70% center; opacity: 0; transform: scale(1.05); transition: opacity 1.4s ease, transform 8s ease; }
.hero-frame img.is-active { opacity: 1; transform: scale(1); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 28, 31, .86) 0%, rgba(8, 28, 31, .6) 38%, rgba(8, 28, 31, .12) 72%), linear-gradient(0deg, rgba(8, 28, 31, .55) 0%, rgba(8, 28, 31, 0) 40%); }
.hero h1 { color: #fff; max-width: 12.5ch; margin-bottom: .3em; }
.hero h1 em { color: var(--sun); }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 50ch; margin-bottom: 32px; }
.hero .eyebrow { background: rgba(255, 255, 255, .12); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero-dots { position: absolute; right: var(--gutter); bottom: 130px; display: flex; gap: 6px; z-index: 2; }
.hero-dots button { width: 26px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .45); transition: background .3s, width .3s; }
.hero-dots button[aria-current="true"] { background: #fff; width: 42px; }
.hero-dots button { position: relative; }
.hero-dots button::before { content: ""; position: absolute; inset: -14px -3px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: .86rem; color: rgba(255, 255, 255, .78); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--sun); }

/* Overlapping stat card */
.stat-card { position: relative; z-index: 5; margin-top: -92px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 30px 12px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow); }
.stat-card .stat { padding: 4px 26px; border-left: 1px solid var(--line); }
.stat-card .stat:first-child { border-left: 0; }
.stat-card b { display: block; font-size: clamp(2rem, 3.2vw, 2.7rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-card span { display: block; margin-top: 10px; font-size: .88rem; line-height: 1.45; color: var(--muted); }

/* ---------- Supporters strip ---------- */
.supporters { padding: 56px 0 8px; }
.supporters-inner { display: flex; align-items: center; gap: 32px; }
.supporters-label { flex: none; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); max-width: 140px; line-height: 1.4; }
.supporters-list { display: flex; flex-wrap: wrap; gap: 12px 34px; font-size: 1rem; font-weight: 700; letter-spacing: -.01em; color: #7A8785; }

/* ---------- Bento (image tiles) ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 270px; gap: 18px; }
.b-lg { grid-column: span 7; grid-row: span 2; }
.b-md { grid-column: span 5; }
.b-third { grid-column: span 4; }
.tile-img { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border-radius: var(--r-xl); color: #fff; text-decoration: none; background: var(--teal-deep); }
.tile-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.tile-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 28, 31, 0) 22%, rgba(8, 28, 31, .45) 55%, rgba(8, 28, 31, .9) 100%); }
.tile-img:hover > img { transform: scale(1.05); }
.tile-img .kicker { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sun); margin-bottom: 8px; }
.tile-img h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 6px; }
.tile-img p { margin: 0; max-width: 44ch; color: rgba(255, 255, 255, .86); font-size: .95rem; }
.tile-img .go { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transition: transform .3s var(--ease), background .3s; }
.tile-img:hover .go { transform: rotate(-45deg); background: var(--coral); }
.tile-color { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border-radius: var(--r-xl); background: var(--teal); color: #fff; }
.tile-color b { font-size: clamp(2.6rem, 4.4vw, 3.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.tile-color p { margin: 0; color: rgba(255, 255, 255, .85); }
.tile-color img { position: absolute; right: -40px; top: -40px; width: 180px; opacity: .12; }

/* ---------- Values row (mission) ---------- */
.values5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.v5 { padding: 26px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.v5:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.v5 .n { display: block; font-size: .78rem; font-weight: 800; color: var(--coral-ink); margin-bottom: 18px; }
.v5 h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 6px; }
.v5 p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.grid.grid--one { grid-template-columns: minmax(0, 1fr) !important; }
.card { display: flex; flex-direction: column; gap: 8px; padding: 28px 26px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.section--sand .card { border-color: transparent; }
.card .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); margin-bottom: 10px; flex: none; }
.card .ico .icon { width: 22px; height: 22px; }
.card .ico--coral { background: var(--coral-50); color: var(--coral-ink); }
.card h3 { margin: 0; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; flex: 1; }
.card .link { margin-top: 12px; }
.card .meta { font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--coral-ink); }
.ticks { list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li .icon { color: var(--teal); margin-top: 4px; }
.section--teal .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .82); }
.section--teal .card p { color: rgba(255, 255, 255, .72); }
.section--teal .card .ico { background: rgba(255, 255, 255, .1); color: var(--sun); }
.section--teal .card .meta { color: var(--sun); }
.section--teal .card .link { color: #fff; }

/* Image cards */
.img-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.img-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.img-card .media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.img-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.img-card:hover .media img { transform: scale(1.04); }
.img-card .body { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 24px; }
.img-card h3 { margin: 0; font-size: 1.2rem; }
.img-card p { margin: 0; color: var(--muted); font-size: .93rem; flex: 1; }
.img-card .link { margin-top: 10px; }
.tag { position: absolute; left: 14px; top: 14px; padding: 6px 11px; border-radius: 8px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.tile { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #fff; overflow: hidden; }
.tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile b { position: relative; font-size: 2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tile small { position: relative; margin-top: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.tile--coral { background: linear-gradient(150deg, #F58A63, #D8532B); }
.tile--teal { background: linear-gradient(150deg, #1B7C84, var(--teal-deep)); }
.tile--sand { background: linear-gradient(150deg, #E8DFCF, #D6C8B0); color: var(--ink); }

/* ---------- Stats row ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 6px 0; }
.stats .stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stats .stat b { display: block; font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats .stat span { display: block; margin-top: 12px; font-size: .9rem; color: var(--muted); line-height: 1.45; }
.section--teal .stats, .section--teal .stats .stat + .stat { border-color: rgba(255, 255, 255, .15); }
.section--teal .stats .stat b { color: #fff; }
.section--teal .stats .stat span { color: rgba(255, 255, 255, .7); }

/* ---------- Split + photos ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.photo { margin: 0; overflow: hidden; border-radius: var(--r-xl); background: var(--sand); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo-pair { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: end; }
.photo-pair .photo:first-child { aspect-ratio: 4 / 5; }
.photo-pair .photo:last-child { aspect-ratio: 4 / 4.4; }

/* ---------- Donate widget ---------- */
.give { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.give h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: 4px; }
.funds { display: grid; gap: 10px; margin: 20px 0 22px; padding: 0; border: 0; }
.fund { position: relative; display: block; cursor: pointer; }
.fund input { position: absolute; opacity: 0; pointer-events: none; }
.fund .fund-box { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--line); transition: border-color .2s, background .2s; }
.fund .radio { position: relative; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--line-2); transition: border-color .2s; }
.fund .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--teal); transform: scale(0); transition: transform .2s var(--ease); }
.fund b { display: block; color: var(--ink); }
.fund .desc { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.fund input:checked + .fund-box { border-color: var(--teal); background: var(--teal-50); }
.fund input:checked + .fund-box .radio { border-color: var(--teal); }
.fund input:checked + .fund-box .radio::after { transform: scale(1); }
.fund input:focus-visible + .fund-box { outline: 3px solid var(--coral); outline-offset: 2px; }
.give-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.give-note .icon { color: var(--teal); margin-top: 2px; }
.give .btn--block { white-space: normal; text-align: center; line-height: 1.3; }

/* ---------- Event cards ---------- */
.ev-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ev-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.ev-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ev-card .media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); }
.ev-card .media img { width: 100%; height: 100%; object-fit: cover; }
.date-badge { position: absolute; left: 18px; top: 18px; min-width: 76px; padding: 10px 12px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); text-align: center; line-height: 1; }
.date-badge .m { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-ink); }
.date-badge .d { display: block; margin-top: 5px; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.date-badge .y { display: block; margin-top: 4px; font-size: .7rem; font-weight: 600; color: var(--muted); }
.ev-card .flag { position: absolute; right: 18px; top: 18px; padding: 6px 11px; border-radius: 8px; background: var(--coral); color: var(--ink); font-size: .72rem; font-weight: 800; }
.ev-card .body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 28px; }
.ev-card h3 { margin: 0; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; color: var(--muted); }
.ev-meta span { display: inline-flex; align-items: center; gap: 6px; }
.ev-meta .icon { color: var(--teal); }
.ev-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.countdown { display: flex; gap: 10px; margin: 6px 0 8px; }
.countdown div { flex: 1; padding: 10px 6px; border-radius: 12px; background: var(--sand); text-align: center; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.countdown b { display: block; margin-bottom: 3px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.ev-card .btn-row { margin-top: auto; padding-top: 8px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { padding: 7px 12px; border-radius: 8px; background: var(--sand); font-size: .82rem; font-weight: 600; color: var(--ink-2); }

/* ---------- Quote band ---------- */
.quote-band { position: relative; isolation: isolate; overflow: hidden; min-height: 500px; display: flex; align-items: flex-end; margin: 0; border-radius: var(--r-xl); color: #fff; }
.quote-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.quote-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 28, 31, .05) 20%, rgba(8, 28, 31, .85) 100%); }
.quote-band blockquote { margin: 0; padding: clamp(28px, 5vw, 60px); max-width: 920px; }
.quote-band p { margin-bottom: 18px; font-size: clamp(1.5rem, 2.7vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -.03em; color: #fff; }
.quote-band cite { font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

/* ---------- Inner page banner ---------- */
.banner { position: relative; isolation: isolate; overflow: hidden; min-height: 480px; display: flex; align-items: flex-end; color: #fff; padding: calc(var(--bar-h) + var(--header-h) + 64px) 0 64px; background: var(--teal-night); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 28, 31, .86) 0%, rgba(8, 28, 31, .55) 50%, rgba(8, 28, 31, .2) 100%), linear-gradient(0deg, rgba(8, 28, 31, .45), rgba(8, 28, 31, 0) 55%); }
.banner h1 { color: #fff; max-width: 15ch; font-size: clamp(2.4rem, 5vw, 4.2rem); }
.banner h1 em { color: var(--sun); }
.banner .lead { color: rgba(255, 255, 255, .85); margin: 0; }
.banner .eyebrow { background: rgba(255, 255, 255, .12); color: #fff; }
.crumbs { margin-bottom: 20px; font-size: .84rem; font-weight: 500; color: rgba(255, 255, 255, .7); }
.crumbs a { color: #fff; font-weight: 700; text-decoration: none; }
.banner--short { min-height: 400px; }

/* Sticky subnav */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 4px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; padding: 8px 14px; border-radius: 10px; white-space: nowrap; text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--muted); transition: background .2s, color .2s; }
.subnav a:hover { color: var(--ink); background: var(--sand); }
.subnav a.is-current { color: #fff; background: var(--teal); }

/* ---------- Steps, chips, notes ---------- */
.steps { list-style: none; counter-reset: s; display: grid; gap: 18px; margin: 28px 0; }
.steps li { counter-increment: s; position: relative; padding-left: 56px; color: var(--muted); line-height: 1.5; }
.steps li strong { display: block; margin-bottom: 2px; font-size: 1.02rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 800; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.section--teal .chips li { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .15); color: #fff; }
.section--sand .chips li { border-color: transparent; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--teal-50); font-size: .92rem; line-height: 1.55; color: var(--ink-2); }
.note .icon { color: var(--teal); margin-top: 3px; }
.section--teal .note { background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .85); }
.section--teal .note .icon { color: var(--sun); }
.section--teal .note a { color: #fff; }

/* ---------- Program days ---------- */
.days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.day { padding: clamp(24px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.day .meta { font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--coral-ink); }
.day h3 { margin: 8px 0 4px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.day .where { margin-bottom: 14px; font-size: .88rem; color: var(--muted); }
.day-list { list-style: none; }
.day-list li { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.day-list .dist { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; color: var(--teal); }
.day-list b { display: block; color: var(--ink); }
.day-list span { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.45; color: var(--muted); }

/* ---------- Calendar ---------- */
.cal { list-style: none; display: grid; gap: 10px; }
.cal li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 18px 22px 18px 18px; border-radius: var(--r); background: #fff; }
.cal .when { padding: 12px 8px; border-radius: 12px; background: var(--teal-deep); color: #fff; text-align: center; font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.cal .when small { display: block; margin-top: 4px; font-size: .7rem; font-weight: 600; letter-spacing: .04em; color: var(--teal-300); }
.cal h3 { margin: 0 0 3px; font-size: 1.08rem; }
.cal p { margin: 0; font-size: .9rem; color: var(--muted); }
.badge { padding: 6px 11px; border-radius: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; background: var(--teal-50); color: var(--teal); }
.badge--partner { background: var(--sand); color: var(--ink-2); }
.badge--idea { background: #FCF1D8; color: #7A5300; }
.badge--coral { background: var(--coral-50); color: var(--coral-ink); }

/* ---------- Map ---------- */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; }
.map-canvas { position: relative; overflow: hidden; border-radius: var(--r-xl); background: #D8EAE7; border: 1px solid var(--line); }
.map-canvas svg { width: 100%; height: auto; }
.map-canvas .island { fill: #FBF9F5; stroke: #9DBDB8; stroke-width: 1.2; }
.map-canvas .island--context { fill: #EFEBE3; }
.map-canvas .map-label { fill: var(--ink-2); font: 800 19px var(--font); letter-spacing: .18em; }
.map-canvas .map-label--sm { font: 600 11.5px var(--font); letter-spacing: .02em; fill: var(--muted); }
.map-canvas .map-label--water { font: italic 600 13px var(--font); letter-spacing: .04em; fill: #4F7C77; }
.map-canvas .town { fill: var(--muted); }
.route { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 8; opacity: .5; transition: opacity .3s, stroke-width .3s; }
.route--channel { stroke: var(--coral); }
.route--downwinder { stroke: var(--teal); }
.route.is-active { opacity: 1; stroke-width: 4.5; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -20; } }
.pin { cursor: pointer; outline: none; }
.pin .ring { fill: rgba(14, 94, 102, .18); transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.pin .dot { fill: var(--teal); stroke: #fff; stroke-width: 3; transition: fill .2s; }
.pin text { fill: #fff; font: 800 12px var(--font); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.pin:hover .dot, .pin.is-active .dot { fill: var(--coral); }
.pin:focus-visible .dot { stroke: var(--coral); stroke-width: 4; }
@keyframes pulse { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.map-legend { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.map-legend button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.map-legend button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.map-legend i { width: 16px; height: 3px; border-radius: 2px; background: var(--coral); }
.map-legend .dw i { background: var(--teal); }
.map-credit { position: absolute; right: 12px; bottom: 8px; font-size: .64rem; color: var(--muted); }
.map-panel { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.map-panel figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.map-panel figure img { width: 100%; height: 100%; object-fit: cover; }
.map-panel .mp-body { padding: 22px 24px 26px; }
.map-panel .mp-kicker { font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--coral-ink); }
.map-panel h3 { margin: 6px 0 8px; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.map-panel p { font-size: .93rem; color: var(--muted); }
.map-panel ul { list-style: none; display: grid; gap: 8px; }
.map-panel li { display: flex; gap: 10px; font-size: .9rem; line-height: 1.45; }
.map-panel li .icon { color: var(--teal); margin-top: 3px; }
.map-panel.is-swapping .mp-body, .map-panel.is-swapping figure { animation: fade-up .45s var(--ease) both; }

/* ---------- Chart ---------- */
.chart-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.chart-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.chart-top h3 { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.chart-top p { margin: 0; font-size: .86rem; color: var(--muted); }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid-line { stroke: #ECE7DE; stroke-width: 1; }
.chart .axis-label { fill: var(--muted); font: 600 12px var(--font); }
.chart .bar { fill: #00809B; transition: opacity .2s; }
.chart .bar-hit { fill: transparent; cursor: pointer; }
.chart .bar.is-dim { opacity: .35; }
.chart .value-label { fill: var(--ink); font: 800 12.5px var(--font); text-anchor: middle; }
.chart-tip { position: absolute; z-index: 5; pointer-events: none; min-width: 172px; padding: 12px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .82rem; line-height: 1.5; box-shadow: var(--shadow); opacity: 0; transform: translate(-50%, calc(-100% - 12px)); transition: opacity .15s; }
.chart-tip.is-on { opacity: 1; }
.chart-tip b { display: block; margin-bottom: 4px; font-size: 1rem; font-weight: 800; }
.chart-tip span { display: flex; justify-content: space-between; gap: 14px; color: rgba(255, 255, 255, .78); }
.chart-tip span em { font-style: normal; font-weight: 700; color: #fff; }
.split-bar { display: flex; gap: 2px; height: 18px; margin: 12px 0 14px; overflow: hidden; border-radius: 10px; background: #fff; }
.split-bar i { display: block; height: 100%; }
.split-bar i:first-child { border-radius: 10px 0 0 10px; }
.split-bar i:last-child { border-radius: 0 10px 10px 0; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; }
details.table-view { margin-top: 16px; font-size: .86rem; }
details.table-view summary { cursor: pointer; font-weight: 700; color: var(--teal-ink); }
.data-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { padding: 8px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table th { font-weight: 700; color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery { columns: 4 240px; column-gap: 14px; }
.g-item { position: relative; margin: 0 0 14px; overflow: hidden; break-inside: avoid; border-radius: var(--r); background: var(--sand); }
.g-item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item img { width: 100%; transition: transform .8s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.lightbox { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(8, 20, 22, .92); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 60px 76px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 10px; }
.lightbox-cap { padding-top: 12px; font-size: .92rem; text-align: center; color: rgba(255, 255, 255, .8); }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Milestones ---------- */
.milestones { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: m; }
.ms { position: relative; padding: 26px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.ms .yr { display: inline-block; margin-bottom: 14px; padding: 5px 10px; border-radius: 8px; background: var(--teal); color: #fff; font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }
.ms h3 { margin: 0 0 6px; font-size: 1.1rem; }
.ms p { margin: 0; font-size: .9rem; color: var(--muted); }
.section--sand .ms { border-color: transparent; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.person { padding: 26px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.section--sand .person { border-color: transparent; }
.avatar { width: 60px; height: 60px; margin-bottom: 16px; border-radius: 16px; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.person:nth-child(2) .avatar { background: var(--coral); color: var(--ink); }
.person:nth-child(3) .avatar { background: var(--teal-deep); }
.person:nth-child(4) .avatar { background: var(--sun); color: var(--ink); }
.person h3 { margin: 0; font-size: 1.1rem; }
.person .role { display: block; margin: 4px 0 10px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--coral-ink); }
.person p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Names wall ---------- */
.names { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.names li { padding: 9px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.section--sand .names li { border-color: transparent; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: .85rem; font-weight: 700; color: var(--ink); }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-50); }
.field select { appearance: none; padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1719' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.form-success { display: none; gap: 12px; align-items: flex-start; margin-bottom: 20px; padding: 16px 18px; border-radius: 14px; background: var(--teal-50); }
.form-success.is-shown { display: flex; }
.form-success .icon { width: 22px; height: 22px; color: var(--teal); }
.newsletter { display: flex; gap: 10px; max-width: 480px; }
.newsletter input { flex: 1; min-width: 0; padding: 13px 16px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; font-size: .98rem; }
.newsletter input::placeholder { color: rgba(255, 255, 255, .6); }
.newsletter input:focus { outline: none; border-color: #fff; }
.contact-list { display: grid; gap: 12px; }
.contact-item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: box-shadow .3s, transform .3s var(--ease); }
a.contact-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-item .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal); }
.contact-item small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-item b { display: block; color: var(--ink); word-break: break-word; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.section--sand .faq details { border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--sand); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--teal-100); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center; padding: clamp(40px, 6vw, 72px); border-radius: var(--r-xl); background: var(--teal); color: rgba(255, 255, 255, .85); }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta h2 em { color: var(--sun); }
.cta p { margin: 0; max-width: 54ch; }
.cta .mark-bg { position: absolute; right: -50px; bottom: -30px; width: 540px; height: auto; opacity: .1; transform: rotate(-6deg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-night); color: rgba(255, 255, 255, .7); padding: clamp(64px, 8vw, 96px) 0 30px; font-size: .93rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand .brand-logo { height: 72px; }
.footer-brand p { max-width: 36ch; }
.site-footer h4 { margin-bottom: 18px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); color: #fff; }
.social a:hover { background: #fff; color: var(--teal-night); text-decoration: none; }
.footer-news p { margin-bottom: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 26px; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.footer-bottom p { margin: 0; max-width: 680px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .main-nav, .header-donate { display: none; }
  .menu-toggle { display: block; }
  .values5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .milestones, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid { --cols: 2 !important; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; --bar-h: 36px; }
  .announce { font-size: .78rem; }
  .announce .hide-sm { display: none; }
  .split, .split--wide-left, .map-wrap, .cta, .days, .ev-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-card { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .stat-card .stat:nth-child(3) { border-left: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 10px; }
  .section--teal .stats .stat:nth-child(n+3) { border-color: rgba(255, 255, 255, .15); }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .b-lg { grid-column: span 2; grid-row: span 1; }
  .b-md, .b-third { grid-column: span 1; }
  .head { flex-direction: column; align-items: flex-start; }
  .supporters-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .supporters-label { max-width: none; }
  .cal li { grid-template-columns: 100px minmax(0, 1fr); }
  .cal li .badge { grid-column: 2; justify-self: start; }
  .hero-dots { bottom: 118px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-name { font-size: 1.02rem; }
  .brand img { width: 36px; height: 36px; }
  .brand .brand-logo { height: 42px; }
  .footer-brand .brand-logo { height: 60px; }
  .hero { min-height: 100svh; align-items: flex-end; padding-bottom: 140px; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 28, 31, .35) 0%, rgba(8, 28, 31, .15) 30%, rgba(8, 28, 31, .75) 62%, rgba(8, 28, 31, .92) 100%); }
  .hero-frame img { object-position: center; }
  .hero-dots { left: var(--gutter); right: auto; top: calc(var(--bar-h) + var(--header-h) + 14px); bottom: auto; }
  .stat-card { margin-top: -84px; padding: 22px 6px; }
  .stat-card .stat { padding: 2px 14px; }
  .grid, .people, .form-grid, .footer-top, .values5, .milestones { grid-template-columns: minmax(0, 1fr); }
  .grid { --cols: 1 !important; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 260px; }
  .b-lg, .b-md, .b-third { grid-column: span 1; }
  .btn-row .btn { flex: 1 1 auto; }
  .photo-pair { grid-template-columns: 1fr; }
  .photo-pair .photo:last-child { display: none; }
  .banner { min-height: 440px; padding-bottom: 44px; }
  .banner::before { background: linear-gradient(180deg, rgba(8, 28, 31, .45), rgba(8, 28, 31, .88)); }
  .day-list li { grid-template-columns: 74px 1fr; }
  .cal li { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cal .when { justify-self: start; padding: 8px 12px; }
  .cal li .badge { grid-column: 1; }
  .newsletter { flex-direction: column; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .lightbox-inner { padding: 60px 12px 80px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 58px); }
  .lb-next { right: calc(50% - 58px); }
  .map-legend { position: static; padding: 12px; background: #fff; border-top: 1px solid var(--line); }
  .map-credit { position: static; display: block; padding: 0 12px 10px; background: #fff; }
  .stats .stat { padding-right: 12px; }
  .stats .stat + .stat { padding-left: 14px; }
  .ev-card .body { padding: 22px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* White cards placed on dark sections keep dark headings */
.section--teal .ev-card h3, .section--teal .ev-card strong, .section--teal .give h3, .section--teal .give b { color: var(--ink); }

/* Phone hero: photo on top, fading into the text panel */
@media (max-width: 640px) {
  .hero { display: block; min-height: 0; padding: 0 0 128px; }
  .hero-frame { position: relative; inset: auto; height: 60svh; min-height: 420px; }
  .hero-frame img { object-position: center 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(8, 28, 31, .5) 0, rgba(8, 28, 31, 0) 120px, rgba(8, 28, 31, 0) 34svh, rgba(8, 28, 31, .92) calc(60svh - 30px), #082C31 60svh); }
  .hero > .container { position: relative; margin-top: -120px; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
}

/* Three-column milestone grid */
.milestones.milestones--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1140px) { .milestones.milestones--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .milestones.milestones--3 { grid-template-columns: minmax(0, 1fr); } }
