/* The ICU Project — site stylesheet
   Palette: abyss (deep teal), tide (text-safe teal), signal (logo teal #34C6F4),
   mist (pale teal ground), dawn (sunrise gold, donate action only). */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-opsz.woff2") format("woff2-variations"),
       url("/assets/fonts/newsreader-opsz.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lexend";
  src: url("/assets/fonts/lexend-wght.woff2") format("woff2-variations"),
       url("/assets/fonts/lexend-wght.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --abyss: #062A33;
  --deep: #0B3C47;
  --tide: #086478;
  --signal: #34C6F4;
  --mist: #EAF5F7;
  --dawn: #FFC65C;
  --muted: #4A6770;
  --on-dark: #CFE7EC;
  --on-dark-quiet: #A7CDD5;
  --line: rgba(6, 42, 51, 0.14);
  --line-dark: rgba(207, 231, 236, 0.18);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --measure: 66ch;
  --header-h: 84px;

  --step-1: 0.875rem;
  --step0: 1.0625rem;
  --step1: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  --step2: clamp(1.45rem, 1.25rem + 0.8vw, 1.85rem);
  --step3: clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
  --step4: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);
  --step5: clamp(2.9rem, 1.5rem + 6vw, 6.4rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step0);
  line-height: 1.68;
  color: var(--abyss);
  font-weight: 330;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--tide); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h3 { line-height: 1.2; letter-spacing: -0.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--tide); outline-offset: 3px; border-radius: 3px; }
.on-dark :focus-visible { outline-color: var(--signal); }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: #fff; color: var(--abyss); padding: 0.7em 1.1em; border-radius: 8px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 50px; padding: 0.7em 1.45em;
  border-radius: 999px; border: 2px solid transparent;
  font: 500 1rem/1.2 var(--sans); letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-dawn { background: var(--dawn); color: var(--abyss); }
.btn-dawn:hover { background: #FFD586; }
.btn-signal { background: var(--signal); color: var(--abyss); }
.btn-signal:hover { background: #6AD6F7; }
.btn-tide { background: var(--tide); color: #fff; }
.btn-tide:hover { background: var(--abyss); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline { border-color: var(--tide); color: var(--tide); }
.btn-outline:hover { background: var(--tide); color: #fff; }
.btn-small { min-height: 42px; padding: 0.5em 1.15em; font-size: 0.95rem; }

.text-link {
  font-weight: 600; color: var(--tide); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 0.3em;
}
.on-dark .text-link { color: var(--signal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--abyss); color: #fff;
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-dark), 0 10px 30px rgba(2, 20, 25, 0.25); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.brand { display: block; flex: none; border-radius: 6px; }
.brand img { height: 66px; width: auto; }

.site-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 34px); list-style: none; }
.nav-link, .nav-programs > summary {
  position: relative; display: inline-flex; align-items: center; gap: 0.35em;
  padding: 0.5em 0; color: #fff; text-decoration: none; font-size: 1.0625rem; cursor: pointer;
}
.nav-link::after, .nav-programs > summary::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.1em; height: 2px;
  background: var(--signal); transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after,
.nav-programs > summary:hover::after, .nav-programs.is-current > summary::after { transform: scaleX(1); }
.nav-give { margin-left: clamp(4px, 1vw, 12px); }

.nav-programs { position: relative; }
.nav-programs > summary { list-style: none; }
.nav-programs > summary::-webkit-details-marker { display: none; }
.chev { width: 12px; height: 12px; transition: transform 0.2s ease; }
.nav-programs[open] .chev { transform: rotate(180deg); }
.programs-menu {
  position: absolute; top: calc(100% + 12px); left: -18px; width: 340px;
  background: #fff; color: var(--abyss); border-radius: 16px; padding: 8px;
  box-shadow: 0 24px 48px rgba(2, 20, 25, 0.32);
  list-style: none;
}
.programs-menu a {
  display: block; padding: 14px 16px; border-radius: 12px; color: var(--abyss); text-decoration: none;
}
.programs-menu a:hover, .programs-menu a[aria-current="page"] { background: var(--mist); }
.programs-menu strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.25; }
.programs-menu span { display: block; margin-top: 2px; font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 46px; padding: 0 16px; border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.5); background: transparent; color: #fff;
  font: 500 1rem var(--sans); cursor: pointer;
}
.menu-toggle .bars { position: relative; width: 18px; height: 12px; }
.menu-toggle .bars::before, .menu-toggle .bars::after, .menu-toggle .bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars span { top: 5px; }
.menu-toggle .bars::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .brand img { height: 54px; }
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav {
    display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 59;
    background: var(--abyss); overflow-y: auto;
    padding: 12px var(--gutter) 40px; border-top: 1px solid var(--line-dark);
  }
  .js .site-nav.is-open { display: block; }
  .site-nav { flex-wrap: wrap; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .js .nav-list > li { border-bottom: 1px solid var(--line-dark); }
  .nav-link, .nav-programs > summary { width: 100%; padding: 18px 0; font-family: var(--serif); font-size: 1.75rem; }
  .nav-link::after, .nav-programs > summary::after { display: none; }
  .nav-programs > summary { justify-content: space-between; }
  .chev { width: 16px; height: 16px; }
  .programs-menu { position: static; width: auto; background: transparent; box-shadow: none; padding: 0 0 14px; }
  .programs-menu a { color: #fff; padding: 12px 0; }
  .programs-menu a:hover, .programs-menu a[aria-current="page"] { background: transparent; }
  .programs-menu strong { font-size: 1.3rem; }
  .programs-menu span { color: var(--on-dark-quiet); }
  .js .nav-list > li.nav-give { border-bottom: 0; padding-top: 28px; margin-left: 0; }
  .nav-give .btn { width: 100%; min-height: 56px; font-size: 1.1rem; }
  body.nav-open { overflow: hidden; }
}
html:not(.js) .site-header { position: relative; }
html:not(.js) .nav-list { flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { background: var(--abyss); color: #fff; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center; gap: clamp(32px, 5vw, 88px);
  padding-block: clamp(40px, 6vw, 88px) clamp(72px, 9vw, 128px);
}
.hero h1 {
  font-size: var(--step5); font-weight: 420; line-height: 0.97; letter-spacing: -0.028em;
  max-width: 10.5ch;
}
.hero .lead { margin-top: 1.6rem; font-size: var(--step1); line-height: 1.55; color: var(--on-dark); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2.2rem; }
.hero-where { margin-top: 2.4rem; font-size: var(--step-1); color: var(--on-dark-quiet); }

/* Hero photo: her team, revealed like an exposure opening */
.hero-photo { margin: 0; justify-self: end; width: min(100%, 560px); }
.hero-frame {
  position: relative; overflow: hidden; border-radius: 28px;
  aspect-ratio: 1120 / 1181; background: var(--deep);
  box-shadow: 0 30px 60px rgba(1, 14, 18, 0.45);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-photo figcaption { margin-top: 14px; font-size: var(--step-1); color: var(--on-dark-quiet); }
@media (prefers-reduced-motion: no-preference) {
  .hero-frame { animation: iris 1.5s cubic-bezier(0.22, 0.8, 0.16, 1) 0.1s both; }
  .hero-frame img { animation: settle 2.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
  .hero-photo figcaption { animation: fadein 0.8s ease-out 1.2s both; }
}
@keyframes iris { from { clip-path: circle(0% at 50% 42%); } to { clip-path: circle(75% at 50% 42%); } }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 28px; gap: 28px; }
  .hero-photo { order: -1; width: 100%; justify-self: stretch; }
  .hero-frame { aspect-ratio: 16 / 10; border-radius: 22px; }
  .hero-frame img { object-position: 50% 38%; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(72px, 9vw, 136px); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--abyss); color: #fff; }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section-head { max-width: 48rem; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head h2 { font-size: var(--step3); }
.section-head p { margin-top: 1.1rem; font-size: var(--step1); line-height: 1.55; color: var(--muted); }
.section--dark .section-head p { color: var(--on-dark); }
.status { display: inline-block; margin-bottom: 1rem; font-weight: 600; font-size: var(--step-1); color: var(--tide); }
.section--dark .status, .on-dark .status { color: var(--signal); }

/* Approach: statement left, three commitments right */
.approach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 112px); align-items: start; }
.approach h2 { font-size: var(--step3); position: sticky; top: calc(var(--header-h) + 32px); }
.commitments { list-style: none; }
.commitments li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 28px; padding-block: 30px; border-top: 1px solid var(--line); }
.commitments h3 { margin-bottom: 0.4rem; }
.commitments li:last-child { border-bottom: 1px solid var(--line); }
.commitments h3 { font-size: var(--step2); }
.commitments p { color: var(--muted); margin: 0; }
.commitments .glyph { width: 56px; height: 56px; }

/* Feature: Operation Morgan Rd. */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.stat-num {
  display: block; font-family: var(--serif); font-weight: 300; line-height: 0.78; letter-spacing: -0.05em;
  font-size: clamp(9rem, 5rem + 14vw, 17.5rem); color: var(--tide);
}
.stat-label { display: block; margin-top: 1.4rem; max-width: 18em; font-size: var(--step1); line-height: 1.45; }
.feature h2 { font-size: var(--step3); margin-bottom: 1.2rem; }
.feature-body > p { font-size: var(--step0); max-width: 36em; }
.help-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; }
.feature-more { margin-top: 1.6rem; }

/* Camp band */
.camp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.camp h2 { font-size: var(--step3); margin-bottom: 1.2rem; }
.camp-copy > p { color: var(--on-dark); max-width: 34em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 2rem 0 0; }
.facts div { padding-block: 16px; border-top: 1px solid var(--line-dark); }
.facts dt { font-size: var(--step-1); color: var(--on-dark-quiet); }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.camp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 2.2rem; }

/* Eight Saturdays: circles that widen week by week */
.widening { container-type: inline-size; display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; padding-bottom: 46px; position: relative; }
.widening::after { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 1px; background: var(--line-dark); }
.widening span {
  position: relative; flex: none; border-radius: 50%; border: 2px solid var(--signal);
  width: calc(3.4cqi + var(--i) * 1.7cqi); height: calc(3.4cqi + var(--i) * 1.7cqi);
}
.widening span:last-child { background: var(--dawn); border-color: var(--dawn); }
.widening span::after {
  content: attr(data-short); position: absolute; left: 50%; top: calc(100% + 22px); transform: translateX(-50%);
  font-size: 0.8125rem; color: var(--on-dark-quiet); white-space: nowrap;
}
.w1 { --i: 0; } .w2 { --i: 1; } .w3 { --i: 2; } .w4 { --i: 3; } .w5 { --i: 4; } .w6 { --i: 5; } .w7 { --i: 6; } .w8 { --i: 7; }
.widening-caption { margin-top: 18px; font-size: var(--step-1); color: var(--on-dark-quiet); max-width: 28em; }

/* Gaps we're working to close */
.gaps { list-style: none; max-width: 62rem; }
.gaps li {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; align-items: baseline;
  padding-block: clamp(22px, 2.6vw, 34px); border-top: 1px solid var(--line);
  font-family: var(--serif); font-size: var(--step2); line-height: 1.28; letter-spacing: -0.01em;
}
.gaps li:last-child { border-bottom: 1px solid var(--line); }
.gaps li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--tide);
  transform: translateY(2px);
}
.gaps-note { margin-top: 1.8rem; color: var(--muted); max-width: 40em; }

/* Ways in */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.way { padding: 8px clamp(20px, 3vw, 44px) 8px 0; display: flex; flex-direction: column; align-items: flex-start; }
.way + .way { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--line); }
.way h3 { font-size: var(--step2); margin-bottom: 0.7rem; }
.way p { color: var(--muted); flex: 1; }
.way .btn { margin-top: 1.4rem; }

/* ---------- Photo slots (frames waiting for Bri's photos) ---------- */
.slot {
  position: relative; margin: 0; display: grid; place-items: center; overflow: hidden;
  border-radius: 22px; border: 1.5px dashed rgba(8, 100, 120, 0.38);
  background: linear-gradient(150deg, #F2F9FA 0%, #DCEEF2 100%); color: var(--tide);
}
.section--mist .slot, .panel .slot { background: linear-gradient(150deg, #FFFFFF 0%, #E2F1F4 100%); }
.slot--wide { aspect-ratio: 16 / 9; }
.slot--landscape { aspect-ratio: 4 / 3; }
.slot--tall { aspect-ratio: 4 / 5; }
.slot--pano { aspect-ratio: 12 / 5; }
.slot-inner { padding: 24px; text-align: center; max-width: 24rem; }
.slot-icon { width: 38px; height: 38px; margin: 0 auto 12px; }
.slot-tag { margin: 0 0 4px; font-size: var(--step-1); font-weight: 600; color: var(--tide); }
.slot-label { margin: 0; font-family: var(--serif); font-size: var(--step1); line-height: 1.3; color: var(--abyss); text-wrap: balance; }
.photo { margin: 0; overflow: hidden; border-radius: 22px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--wide { aspect-ratio: 16 / 9; } .photo--landscape { aspect-ratio: 4 / 3; } .photo--tall { aspect-ratio: 4 / 5; } .photo--pano { aspect-ratio: 12 / 5; }
.prose .slot, .prose .photo { margin: 2rem 0 2.2rem; }
.gallery { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.gallery > :first-child { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 2.4rem 0 0.4rem; }
.pair .slot-label { font-size: var(--step0); }
.about-photo { margin-top: clamp(48px, 6vw, 88px); }
.contact-side { display: grid; gap: 32px; align-content: start; }
aside > .slot, aside > .photo { margin-bottom: 16px; }

/* ---------- Inner page band ---------- */
.band { position: relative; background: var(--abyss); color: #fff; overflow: hidden; }
.band .wrap { position: relative; padding-block: clamp(56px, 8vw, 116px) clamp(60px, 8vw, 104px); }
.band h1 { font-size: var(--step4); max-width: 15ch; letter-spacing: -0.022em; line-height: 1.02; }
.band .lead { margin-top: 1.3rem; font-size: var(--step1); line-height: 1.55; color: var(--on-dark); max-width: 36em; }
.band-copy { position: relative; z-index: 1; max-width: min(100%, 44rem); }

/* ---------- Content layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.split > aside { position: sticky; top: calc(var(--header-h) + 28px); }
.prose { max-width: var(--measure); }
.prose h2 { font-size: var(--step3); margin: 2.4em 0 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step2); margin: 1.8em 0 0.5em; }
.prose ul { list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 1.6em; margin-bottom: 0.6em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px;
  border-radius: 50%; border: 2px solid var(--tide);
}
.prose .lede { font-size: var(--step1); line-height: 1.55; }

.panel { background: var(--mist); border-radius: 20px; padding: clamp(24px, 3vw, 36px); }
.panel h2 { font-size: var(--step2); margin-bottom: 0.8rem; }
.panel p { color: var(--muted); }
.panel .btn { margin-top: 1rem; }
.panel + .panel { margin-top: 16px; }
.panel--dark { background: var(--abyss); color: #fff; }
.panel--dark p { color: var(--on-dark); }

.notice {
  display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start;
  background: var(--mist); border-radius: 16px; padding: 18px 22px; margin-bottom: 2.2rem;
}
.notice::before { content: ""; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%; background: var(--dawn); box-shadow: 0 0 0 4px rgba(255, 198, 92, 0.35); }
.notice p { margin: 0; }

.details-list { margin: 0; }
.details-list div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 24px; padding-block: 14px; border-top: 1px solid var(--line); }
.details-list div:last-child { border-bottom: 1px solid var(--line); }
.details-list dt { color: var(--muted); }
.details-list dd { margin: 0; font-weight: 600; }
.panel .details-list div { grid-template-columns: 1fr; gap: 2px; padding-block: 12px; }
.panel .details-list dt { font-size: var(--step-1); }

/* Weekly themes — a real sequence, so it is numbered */
.weeks { list-style: none; counter-reset: wk; position: relative; margin-top: 1.4rem; }
.weeks::before {
  content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px;
  background: linear-gradient(var(--signal), var(--tide) 70%, var(--dawn));
}
.weeks li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 22px; padding-bottom: 30px; }
.weeks li:last-child { padding-bottom: 0; }
.weeks .wk {
  position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 2px solid var(--tide); color: var(--tide); font-weight: 600; font-size: 1.05rem;
}
.weeks li:last-child .wk { background: var(--dawn); border-color: var(--dawn); color: var(--abyss); }
.weeks h3 { font-size: var(--step2); margin: 6px 0 0.35rem; }
.weeks p { color: var(--muted); margin: 0; }

.values { font-family: var(--serif); font-size: var(--step4); line-height: 1.02; letter-spacing: -0.022em; }

.quote-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 80px); }
.quote-pair h2 { font-size: var(--step-1); font-family: var(--sans); font-weight: 600; letter-spacing: 0; color: var(--tide); margin-bottom: 0.9rem; }
.quote-pair p { font-family: var(--serif); font-size: var(--step2); line-height: 1.35; letter-spacing: -0.01em; }

.timeline { list-style: none; }
.timeline li { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 8px 32px; padding-block: 26px; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline .when { color: var(--muted); }
.timeline h3 { font-size: var(--step2); margin-bottom: 0.4rem; }
.timeline p { color: var(--muted); margin: 0; }

/* Ways to give */
.give-list { list-style: none; }
.give-list > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; padding-block: 28px; border-top: 1px solid var(--line); }
.give-list > li:last-child { border-bottom: 1px solid var(--line); }
.give-list h3 { font-size: var(--step2); margin-bottom: 0.35rem; }
.give-list p { color: var(--muted); margin: 0; max-width: 36em; }
.give-list .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.handle { font-weight: 600; color: var(--abyss); }

.refs { list-style: none; font-size: var(--step-1); line-height: 1.55; color: var(--muted); }
.refs li { padding-left: 1.6em; text-indent: -1.6em; margin-bottom: 0.9em; }
.refs a { word-break: break-word; }

/* Embedded form */
.embed {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff;
}
.embed iframe { width: 100%; height: 1240px; border: 0; background: #fff; }
.embed-fallback { margin-top: 14px; font-size: var(--step-1); color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.contact-ways { list-style: none; }
.contact-ways > li { padding-block: 22px; border-top: 1px solid var(--line); }
.contact-ways > li:last-child { border-bottom: 1px solid var(--line); }
.contact-ways h2 { font-family: var(--sans); font-size: var(--step-1); font-weight: 600; letter-spacing: 0; color: var(--muted); margin-bottom: 0.3rem; }
.contact-ways .big { font-family: var(--serif); font-size: var(--step2); line-height: 1.25; color: var(--abyss); text-decoration: none; }
.contact-ways a.big:hover { color: var(--tide); text-decoration: underline; text-decoration-thickness: 2px; }
.contact-ways address { font-style: normal; }

.form { display: grid; gap: 20px; background: var(--mist); border-radius: 24px; padding: clamp(24px, 3.4vw, 44px); }
.form h2 { font-size: var(--step2); }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--abyss); background: #fff;
  border: 1.5px solid rgba(6, 42, 51, 0.28); border-radius: 12px; padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--tide); outline-offset: 1px; border-color: var(--tide); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field .error { color: #B3261E; font-size: var(--step-1); font-weight: 600; }
.field .error:empty { display: none; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-status { border-radius: 12px; padding: 14px 16px; background: #fff; border-left: 4px solid var(--tide); }
.form-status:empty { display: none; }
.form-status.is-warn { border-left-color: var(--dawn); }
.form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { background: var(--abyss); color: var(--on-dark); }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px;
  padding-block: clamp(56px, 7vw, 96px) 48px;
}
.footer-brand img { height: 92px; width: auto; }
.footer-brand p { margin-top: 1.2rem; max-width: 22em; }
.site-footer h2 { font-family: var(--sans); font-size: var(--step-1); font-weight: 600; letter-spacing: 0; color: #fff; margin-bottom: 0.8rem; }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; }
.footer-links { list-style: none; display: grid; gap: 6px; }
.social { list-style: none; display: flex; gap: 10px; margin-top: 4px; }
.social a {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line-dark); color: #fff; transition: background-color 0.15s ease, border-color 0.15s ease;
}
.social a:hover { background: rgba(52, 198, 244, 0.14); border-color: var(--signal); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px;
  padding-block: 24px 32px; border-top: 1px solid var(--line-dark); font-size: var(--step-1); color: var(--on-dark-quiet);
}
.footer-bottom p { margin: 0; }

/* ---------- 404 ---------- */
.lost { min-height: 52vh; display: grid; align-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .approach, .feature, .camp, .split, .contact-grid { grid-template-columns: 1fr; }
  .approach h2 { position: static; }
  .split > aside { position: static; }
  .ways { grid-template-columns: 1fr; }
  .way { padding: 28px 0; }
  .way + .way { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .quote-pair { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .commitments li { grid-template-columns: 1fr; }
  .commitments .glyph { width: 44px; height: 44px; }
  .facts { grid-template-columns: 1fr; }
  .details-list div, .timeline li { grid-template-columns: 1fr; }
  .give-list > li { grid-template-columns: 1fr; }
  .give-list .btns { justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .gallery, .pair { grid-template-columns: 1fr; }
  .gallery > :first-child { grid-row: auto; aspect-ratio: 4 / 5; }
  .slot-label { font-size: var(--step0); }
  .slot--pano, .photo--pano { aspect-ratio: 4 / 3; }
  .footer-top { grid-template-columns: 1fr; }
  .widening { gap: 2px; }
  
  .embed iframe { height: 1400px; }
  .gaps li { grid-template-columns: 26px minmax(0, 1fr); gap: 14px; }
  .gaps li::before { width: 14px; height: 14px; }
}

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

@media print {
  .site-header, .site-footer, .hero-actions, .slot { display: none !important; }
  .hero, .band, .section--dark { background: #fff; color: #000; }
  a { color: #000; }
}

/* Social icons on light grounds */
.social--light a { border-color: rgba(6, 42, 51, 0.22); color: var(--abyss); }
.social--light a:hover { background: var(--mist); border-color: var(--tide); color: var(--tide); }
.nowrap { white-space: nowrap; }

/* ---------- Phone refinements ---------- */
.volunteer-open { display: none; }
@media (max-width: 860px) and (min-width: 601px) {
  .hero-photo { width: min(100%, 620px); }
}
@media (max-width: 600px) {
  :root { --header-h: 66px; }
  .brand img { height: 46px; }
  .menu-toggle { min-height: 44px; padding: 0 14px; }
  .hero-grid { padding-top: 16px; gap: 22px; }
  .hero-photo figcaption { margin-top: 10px; }
  .hero .lead { margin-top: 1.2rem; }
  .hero-actions { margin-top: 1.6rem; }
  .volunteer-open { display: flex; margin-bottom: 18px; }
}
@media (max-width: 480px) {
  .hero-actions .btn, .help-row .btn, .camp-actions .btn, .give-list .btns .btn,
  .way .btn, .panel .btn, .form .btn, .volunteer-open { width: 100%; }
  .give-list .btns { width: 100%; }
}
.visually-hidden input { width: 1px; }
