/* GoodWill Mozambique, site styles.
   Theme (October 2026 first look, round 2 photo-led and lighter): warm white paper, bold blue, green, coral and yellow,
   rounded display lettering (Fredoka), readable body text (Nunito), handwritten notes (Caveat),
   hand-drawn hearts and stars, notebook details, organic shapes and curved dividers. */

:root {
  --cream: #FFFDF9;
  --cream-2: #F6EEE3;
  --blush: #FCF4EC;
  --sky: #EEF5FE;
  --paper: #FFFFFF;
  --rule: rgba(31, 95, 209, 0.14);
  --margin-line: rgba(240, 105, 74, 0.5);

  --ink: #1D2A48;
  --ink-soft: #44506B;

  --blue: #1F5FD1;
  --blue-deep: #17459E;
  --blue-soft: #DCE7FB;
  --green: #14A876;
  --green-deep: #0A7F57;
  --green-soft: #D3F0E1;
  --green-night: #076446;
  --mint: #A9E5BD;
  --coral: #F0694A;
  --coral-deep: #C8472A;
  --coral-soft: #FDDDD3;
  --yellow: #F7C531;
  --yellow-soft: #FDF0C2;
  --pink: #F4A3BD;
  --lilac: #B9B4EA;

  --font-display: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Comic Sans MS', cursive;

  --r-sm: 14px;
  --r: 24px;
  --r-lg: 36px;
  --wobble: 18px 26px 16px 28px / 26px 16px 28px 18px;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);

  --shadow: 0 2px 0 rgba(29, 42, 72, 0.05), 0 22px 44px -26px rgba(29, 42, 72, 0.32);
  --shadow-pop: 0 5px 0 rgba(29, 42, 72, 0.16);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; font-family: var(--font-display); font-weight: 600; line-height: 1.1; letter-spacing: -0.005em; color: var(--blue); text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .help :focus-visible, .site-footer :focus-visible { outline-color: var(--yellow); }

.sr-only {
  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-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px;
  font-weight: 700; text-decoration: none; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.center { text-align: center; }
.section { position: relative; padding-block: var(--section-y); }
.section-blush { background: var(--blush); }
.section-sky { background: var(--sky); }
.section-cream2 { background: var(--cream-2); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-head.left { margin-left: 0; }
.section-title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.section-lead, .lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-soft); }
.section-head .section-lead { margin-bottom: 0; }
.h-display { font-size: clamp(2.5rem, 6.2vw, 4.9rem); line-height: 1.02; letter-spacing: -0.015em; }
.h-sub { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.on-dark { color: #fff; }

.hand-note {
  font-family: var(--font-hand); font-weight: 700; font-size: 1.6rem; line-height: 1.2;
  color: var(--coral-deep); transform: rotate(-2deg); display: inline-block; margin-bottom: 0.4em;
}
.hand-note.big { font-size: clamp(1.8rem, 3vw, 2.3rem); }

.text-link {
  font-weight: 800; color: var(--blue); text-decoration: underline;
  text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--yellow);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
.text-link:hover { text-decoration-color: var(--coral); }
.text-link.on-dark { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 52px; padding: 0.8em 1.55em;
  border: 0; border-radius: var(--wobble);
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; line-height: 1.15;
  letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer; box-shadow: var(--shadow-pop);
  transition: transform 0.28s var(--ease-pop), box-shadow 0.28s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-3px) rotate(-1.5deg); box-shadow: 0 8px 0 rgba(29, 42, 72, 0.16); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(29, 42, 72, 0.16); }
.btn-icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-green { background: var(--green-deep); color: #fff; }
.btn-green:hover { background: #086A48; }
.btn-coral { background: var(--coral-deep); color: #fff; }
.btn-coral:hover { background: #B23C21; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #FFD457; }
.btn-outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 3px currentColor; }
.btn-outline:hover { background: var(--blue-soft); box-shadow: inset 0 0 0 3px currentColor; }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 3px #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 0 0 3px #fff; }
.btn-small { min-height: 46px; padding: 0.6em 1.2em; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Paper, notebook, tape, blobs ---------- */
.paper { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.ruled {
  background-image:
    linear-gradient(90deg, transparent 0 46px, var(--margin-line) 46px 48px, transparent 48px),
    repeating-linear-gradient(180deg, transparent 0 33px, var(--rule) 33px 34px);
  background-position: 0 0, 0 18px;
}
.notebook {
  position: relative;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(180deg, transparent 0 39px, var(--rule) 39px 40px);
}
.notebook::before {
  content: ""; position: absolute; left: clamp(10px, 2.4vw, 30px); top: 0; bottom: 0; width: 18px;
  background: radial-gradient(circle, var(--cream-2) 0 8px, rgba(29, 42, 72, 0.12) 8.5px 9.5px, transparent 10px) 0 40px / 18px 150px repeat-y;
  pointer-events: none;
}
.ph { position: relative; border-radius: var(--r); overflow: visible; }
.ph img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.blob, .blob img { border-radius: 58% 42% 52% 48% / 46% 56% 44% 54%; }
[class*="tape-"]::after {
  content: ""; position: absolute; top: -12px; left: 50%; width: 96px; height: 28px;
  transform: translateX(-50%) rotate(-4deg); border-radius: 3px; opacity: 0.85; z-index: 2;
  box-shadow: 0 1px 2px rgba(29, 42, 72, 0.12);
}
.tape-yellow::after { background: var(--yellow); }
.tape-pink::after { background: var(--pink); }
.tape-green::after { background: var(--mint); }
.tape-blue::after { background: #9DBDF2; }

/* ---------- Doodles (decorative, gently moving) ---------- */
.doodle { position: absolute; pointer-events: none; z-index: 1; width: 44px; height: 44px; animation: bob 7s ease-in-out infinite; }
.doodle:nth-of-type(2n) { animation-duration: 8.5s; animation-delay: -2s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(6deg); }
}
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.15) rotate(18deg); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 2px solid transparent; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled { border-color: rgba(31, 95, 209, 0.12); box-shadow: 0 10px 30px -24px rgba(29, 42, 72, 0.5); }
.site-header .wrap { max-width: 1400px; }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 80px; }
.brand { flex: none; display: block; padding: 6px 0; border-radius: 10px; }
.brand img { height: 58px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block; padding: 8px 8px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; white-space: nowrap;
  color: var(--ink); text-decoration: none; transition: background-color 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { background: var(--blue-soft); color: var(--blue-deep); }
.main-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.btn-donate { min-height: 48px; padding: 0.7em 1.2em; }
.menu-toggle {
  display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px;
  border: 0; border-radius: 14px; background: var(--blue-soft); color: var(--blue-deep);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; cursor: pointer;
}
.burger { display: grid; gap: 4px; width: 20px; }
.burger span { display: block; height: 3px; border-radius: 2px; background: currentColor; transition: transform 0.25s ease, opacity 0.2s ease; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1300px) {
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; padding: 8px var(--gutter) 22px;
    background: var(--cream); border-bottom: 2px solid rgba(31, 95, 209, 0.12); box-shadow: 0 24px 40px -30px rgba(29, 42, 72, 0.5); }
  .js .main-nav { display: none; }
  .js .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; max-width: var(--wrap); margin-inline: auto; }
  .main-nav a { padding: 12px 14px; font-size: 1.1rem; }
}
@media (max-width: 560px) {
  .header-inner { gap: 10px; min-height: 68px; }
  .brand img { height: 44px; }
  .btn-donate { padding: 0.6em 0.9em; font-size: 0.9rem; min-height: 46px; }
  .menu-toggle { padding: 0 12px; min-height: 46px; }
}
@media (max-width: 390px) {
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Home: hero ---------- */
.hero { position: relative; padding-top: clamp(16px, 2.5vw, 28px); padding-bottom: clamp(48px, 7vw, 90px); }
.hero-card {
  position: relative; z-index: 2; width: min(760px, 100%); margin: clamp(-200px, -14vw, -40px) 0 0 clamp(0px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 56px) clamp(28px, 4vw, 48px) clamp(64px, 6vw, 84px);
}
.hero-card .d-heart-coral { right: -16px; top: -20px; width: 58px; height: 54px; fill: var(--coral); }
.hero-card .d-star-yellow { right: 46px; bottom: -22px; width: 46px; height: 46px; fill: var(--yellow); }
.rainbow { display: inline-block; margin-right: 0.18em; }
.rainbow span { display: inline-block; transition: transform 0.3s var(--ease-pop); }
.rainbow span:nth-child(odd) { transform: translateY(-0.03em) rotate(-3deg); }
.rainbow span:nth-child(even) { transform: translateY(0.03em) rotate(3deg); }
.h-display-rest { color: var(--blue); }

/* ---------- Home: the story of us ---------- */
.story-of-us { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 6vw, 70px); }
.sou-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.storybook { position: relative; width: 100%; max-width: 420px; justify-self: center; transform: rotate(-3deg); transition: transform 0.5s var(--ease-pop); }
.storybook:hover { transform: rotate(-1deg) translateY(-4px); }
.storybook-art { width: 100%; height: auto; filter: drop-shadow(0 22px 26px rgba(23, 69, 158, 0.25)); }
.storybook-title {
  position: absolute; left: 14%; right: 6%; top: 30%;
  font-family: var(--font-display); font-weight: 600; color: #FFF6E4; text-align: center;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; margin: 0;
}
.storybook-by {
  position: absolute; left: 14%; right: 6%; top: 66%; margin: 0; text-align: center;
  font-family: var(--font-hand); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: #FFF6E4;
}
.sou-text { max-width: 560px; }
.sou-text p { font-size: 1.12rem; }
.sou-text .h-sub { color: var(--coral-deep); }

/* ---------- Ribbon ---------- */
.ribbon { position: relative; height: clamp(150px, 16vw, 230px); margin-top: -10px; overflow: hidden; background: linear-gradient(180deg, var(--paper) 0 55%, var(--blush) 55%); }
.ribbon > svg:first-child { width: 100%; height: 100%; }
.ribbon-text { font-family: var(--font-display); font-weight: 600; font-size: 25px; letter-spacing: 0.14em; fill: #FFF6E4; }
.ribbon .ribbon-heart { left: 7%; bottom: 4%; width: 40px; height: 38px; fill: var(--coral); }
.ribbon .ribbon-star { right: 7%; top: 4%; width: 40px; height: 40px; fill: var(--yellow); }

/* ---------- Home: what we do ---------- */
.what-we-do { padding-top: clamp(24px, 4vw, 48px); }
.wwd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(36px, 5vw, 56px); text-align: center; }
.wwd-icon { width: 58px; height: 58px; margin: 0 auto 16px; color: var(--blue); }
.wwd h3 { font-size: 1.12rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue-deep); max-width: 260px; margin-inline: auto; }
.wwd p { color: var(--ink-soft); max-width: 340px; margin-inline: auto; }
.wave { display: block; width: 100%; height: clamp(36px, 5vw, 80px); }
.wave-blush-cream { background: var(--cream); fill: var(--blush); }

/* ---------- Home: life at goodwill ---------- */
.life-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.tour-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 30px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font-weight: 700; font-size: 0.98rem; line-height: 1.25; }
.chip svg { width: 24px; height: 24px; flex: none; }
.chip-blue { background: var(--blue-soft); color: var(--blue-deep); }
.chip-coral { background: var(--coral-soft); color: #9E3519; }
.chip-green { background: var(--green-soft); color: #075C3F; }
.chip-yellow { background: var(--yellow-soft); color: #6E5200; }
.chip-blue svg, .chip-coral svg, .chip-green svg, .chip-yellow svg { fill: none; }
.chip svg use[href="#d-house"] { fill: currentColor; }
.life-mosaic { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.life-mosaic .ph-a { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; transform: rotate(-2deg); }
.life-mosaic .ph-b { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: 3 / 4.4; align-self: center; }
.life-mosaic .ph-c { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3; transform: rotate(1.5deg); width: 88%; justify-self: end; }
.life-mosaic .ph img { box-shadow: var(--shadow); }
.life-mosaic .life-flower { right: -10px; bottom: -14px; width: 54px; height: 54px; fill: var(--pink); }

/* ---------- Home: meet our children ---------- */
.meet { overflow: hidden; }
.meet .meet-sparkle { left: 7%; top: 48px; width: 48px; height: 48px; fill: var(--yellow); animation-name: twinkle; }
.avatar-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2.4vw, 26px); max-width: 1080px; margin: 0 auto clamp(36px, 5vw, 56px); }
.avatar-grid li { width: clamp(86px, 10vw, 118px); }
.avatar { display: grid; justify-items: center; gap: 8px; text-decoration: none; color: var(--ink); border-radius: 18px; }
.avatar img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%;
  border: 5px solid #fff; box-shadow: 0 0 0 4px var(--ring, var(--blue)), var(--shadow);
  transition: transform 0.35s var(--ease-pop);
}
.avatar:hover img { transform: translateY(-4px) rotate(-4deg) scale(1.04); }
.avatar-name { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; line-height: 1.2; text-align: center; }
.ring-0 { --ring: var(--blue); }
.ring-1 { --ring: var(--coral); }
.ring-2 { --ring: var(--green); }
.ring-3 { --ring: var(--yellow); }

/* ---------- Home: ways to help (green) ---------- */
.wave-to-green { background: var(--sky); fill: var(--green-night); margin-bottom: -1px; }
.wave-from-green { background: var(--cream); fill: var(--green-night); margin-top: -1px; }
.help { position: relative; background: var(--green-night); color: #fff; padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 100px); overflow: hidden; }
.help::before {
  content: ""; position: absolute; left: -8%; top: 12%; width: 70%; height: 78%;
  background: var(--green-deep); border-radius: 46% 54% 60% 40% / 52% 40% 60% 48%;
}
.help-letters {
  position: absolute; right: -2%; top: 2%; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(7rem, 15vw, 15rem); line-height: 0.82; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.08);
  text-align: right; pointer-events: none; user-select: none;
}
.help-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 70px); align-items: center; }
.help-main p { font-size: 1.15rem; max-width: 560px; }
.help-main .h-sub { max-width: 560px; }
.help-more { margin-top: 18px; }
.help-cards { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); margin-top: clamp(44px, 6vw, 72px); }
.help-card { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); }
.help-card h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.help-card p { color: var(--ink-soft); }
.help-card-icon { width: 54px; height: 54px; color: var(--coral); margin-bottom: 12px; }
.help-card:nth-child(2) .help-card-icon { color: var(--yellow); }

/* ---------- Home: community ---------- */
.comm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.comm-photos { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 18px; }
.comm-a { grid-column: 1 / span 2; aspect-ratio: 16 / 10; }
.comm-b { aspect-ratio: 3 / 4; transform: rotate(-2.5deg); }
.comm-c { aspect-ratio: 3 / 4; margin-top: 30px; }
.comm-photos .ph img { box-shadow: var(--shadow); }
.comm-text .hand-note { display: block; width: fit-content; }

/* ---------- Home: partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.partner-card { position: relative; background: var(--paper); border-radius: var(--r); padding: 28px 24px 26px; box-shadow: var(--shadow); border-top: 10px solid var(--accent, var(--blue)); }
.partner-card h3 { font-size: 1.2rem; line-height: 1.25; color: var(--ink); }
.partner-card p { color: var(--ink-soft); font-size: 1rem; }
.pc-blue { --accent: var(--blue); }
.pc-green { --accent: var(--green); }
.pc-coral { --accent: var(--coral); }
.pc-yellow { --accent: var(--yellow); }

/* ---------- Home: stay connected + forms ---------- */
.stay-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-left: clamp(24px, 4vw, 40px); }
.social-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.social-pills a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-deep); font-weight: 800; text-decoration: none; transition: transform 0.25s var(--ease-pop), background-color 0.2s ease;
}
.social-pills a:hover { transform: translateY(-3px) rotate(-2deg); background: #CADBFA; }
.social-pills svg { width: 22px; height: 22px; }

.form-card { padding: clamp(24px, 4vw, 44px); position: relative; }
.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field .label { font-weight: 800; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 2px solid #C9D2E3; border-radius: 16px;
  background: #fff; color: var(--ink); font: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 95, 209, 0.2); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--coral-deep); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-status { margin: 16px 0 0; padding: 12px 16px; border-radius: 14px; font-weight: 700; }
.form-ok { background: var(--green-soft); color: #075C3F; }
.form-error { background: var(--coral-soft); color: #8F2E16; }
.form-note { font-size: 0.95rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Interior page hero ---------- */
.page-hero { position: relative; padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); overflow: hidden; }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; }
.page-hero .lead { color: var(--ink); }

/* ---------- Prose and two column blocks ---------- */
.prose { max-width: 760px; }
.prose p { font-size: 1.1rem; }
.prose.center { margin-inline: auto; }
.prose .emphasis { font-family: var(--font-hand); font-size: 1.75rem; line-height: 1.3; color: var(--blue-deep); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .ph img { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.note-card { position: relative; padding: clamp(26px, 4vw, 48px) clamp(22px, 4vw, 48px) clamp(26px, 4vw, 44px) clamp(62px, 6vw, 80px); }
.note-card h2, .note-card h3 { color: var(--blue); }
.quote-line { font-family: var(--font-hand); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.25; color: var(--coral-deep); }

/* ---------- Cards grid (programmes, tour, clubs) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 30px); }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative; background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow); transition: transform 0.35s var(--ease-pop);
}
.card:hover { transform: translateY(-4px) rotate(-0.6deg); }
.card h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
.card p:last-child { margin-bottom: 0; }
.card-icon { width: 64px; height: 64px; padding: 12px; border-radius: 22px 26px 20px 28px; margin-bottom: 16px; }
.c-blue .card-icon { background: var(--blue-soft); color: var(--blue); }
.c-coral .card-icon { background: var(--coral-soft); color: var(--coral-deep); }
.c-green .card-icon { background: var(--green-soft); color: var(--green-deep); }
.c-yellow .card-icon { background: var(--yellow-soft); color: #9A7200; }
.c-blue h3 { color: var(--blue); }
.c-coral h3 { color: var(--coral-deep); }
.c-green h3 { color: var(--green-deep); }
.c-yellow h3 { color: #8A6400; }
.club-card { border-radius: var(--wobble); color: var(--ink); }
.club-card.c-blue { background: var(--blue-soft); }
.club-card.c-coral { background: var(--coral-soft); }
.club-card.c-green { background: var(--green-soft); }
.club-card.c-yellow { background: var(--yellow-soft); }
.club-card .card-icon { background: rgba(255, 255, 255, 0.7); }
.club-card.c-coral h3 { color: #9E3519; }
.club-card.c-green h3 { color: #075C3F; }

/* ---------- Story blocks (community, life) ---------- */
.story-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 70px); align-items: start; padding-block: clamp(40px, 6vw, 70px); }
.story-block + .story-block { border-top: 3px dashed rgba(31, 95, 209, 0.18); }
.story-block.flip .story-copy { order: 2; }
.story-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.15em; }
.story-copy .hand-note { margin-bottom: 0.8em; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.photo-grid button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 18px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.photo-grid button img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.photo-grid button:hover img { transform: scale(1.06); }
.photo-grid button:nth-child(3n+1) { transform: rotate(-1.2deg); }
.photo-grid button:nth-child(3n+3) { transform: rotate(1.2deg); }

/* ---------- Gallery page ---------- */
.gallery-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.gallery-jump a { text-decoration: none; }
.gallery-group { padding-block: clamp(36px, 5vw, 60px); }
.gallery-group + .gallery-group { border-top: 3px dashed rgba(31, 95, 209, 0.18); }
.gallery-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.gallery-group-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 0; }
.gallery-group-head .hand-note { margin: 0; }
.gallery-grid { column-count: 3; column-gap: 16px; }
.gallery-grid button { display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); break-inside: avoid; }
.gallery-grid button img { width: 100%; height: auto; transition: transform 0.5s ease; }
.gallery-grid button:hover img { transform: scale(1.05); }

/* ---------- Guardian page ---------- */
.monthly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.child-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px); }
.child-card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); padding: 18px 18px 24px; box-shadow: var(--shadow); transition: transform 0.35s var(--ease-pop); }
.child-card:hover { transform: translateY(-5px) rotate(0deg) !important; }
.child-card.tilt-l { transform: rotate(-1deg); }
.child-card.tilt-r { transform: rotate(1deg); }
.child-photo { position: relative; aspect-ratio: 1; border-radius: 22px; }
.child-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px; }
.child-body { display: flex; flex-direction: column; flex: 1; padding: 18px 6px 0; }
.child-name { font-size: 1.8rem; margin-bottom: 0.1em; }
.child-meta { font-family: var(--font-hand); font-weight: 700; font-size: 1.45rem; line-height: 1.2; color: var(--coral-deep); }
.child-body > p:not(.child-meta) { color: var(--ink-soft); }
.child-body .btn { margin-top: auto; align-self: flex-start; }

.story-dialog {
  width: min(920px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0;
  border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
  overflow: auto; overscroll-behavior: contain;
}
.story-dialog:focus, .story-dialog:focus-visible { outline: none; }
.story-dialog::backdrop { background: rgba(29, 42, 72, 0.62); backdrop-filter: blur(3px); }
.story-dialog[open] { animation: pop-in 0.35s var(--ease-pop); }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.story-inner { position: relative; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.story-photo { position: relative; background: var(--blue); }
.story-photo img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.story-text { padding: clamp(28px, 4vw, 48px); }
.story-name { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 0.1em; }
.story-age { font-weight: 800; color: var(--ink-soft); margin-bottom: 0.2em; }
.story-dream { font-family: var(--font-hand); font-weight: 700; font-size: 1.7rem; line-height: 1.2; color: var(--coral-deep); }
.story-body { margin: 18px 0 26px; }
.dialog-close {
  position: absolute; right: 14px; top: 14px; z-index: 3; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: var(--shadow-pop);
}
.dialog-close:hover { background: var(--yellow); }

/* ---------- Volunteer page ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 46px); color: #fff; box-shadow: var(--shadow); }
.pkg-blue { background: var(--blue); }
.pkg-coral { background: var(--coral-deep); }
.pkg h3 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 0.1em; }
.pkg-price { display: inline-block; align-self: flex-start; background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; padding: 6px 18px; border-radius: 999px; transform: rotate(-3deg); margin-bottom: 20px; }
.pkg p { color: #fff; }
.pkg .pkg-price { color: var(--ink); }
.pkg-list { margin: 4px 0 26px; display: grid; gap: 8px; }
.pkg-list li { position: relative; padding-left: 32px; }
.pkg-list li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 20px; height: 18px; background: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 44'%3E%3Cpath d='M24.6 41.2C14.8 34.6 3.4 26.9 3.1 15.9 2.9 8.6 8 3.2 14.2 3.4c4.6.1 8 3 10 6.9 2.3-4.3 6.2-7.3 11.1-7.1 6.3.3 10.6 5.9 9.9 12.8-1 10.1-10.9 17.9-20.6 25.2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 44'%3E%3Cpath d='M24.6 41.2C14.8 34.6 3.4 26.9 3.1 15.9 2.9 8.6 8 3.2 14.2 3.4c4.6.1 8 3 10 6.9 2.3-4.3 6.2-7.3 11.1-7.1 6.3.3 10.6 5.9 9.9 12.8-1 10.1-10.9 17.9-20.6 25.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.pkg .btn { margin-top: auto; align-self: flex-start; }
.pkg .pkg-intro { font-weight: 800; }

.doc-card { display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform 0.3s var(--ease-pop); }
.doc-card:hover { transform: translateY(-4px) rotate(-0.8deg); }
.doc-card svg { width: 56px; height: 56px; flex: none; color: var(--coral-deep); }
.doc-card h3 { margin: 0 0 4px; font-size: 1.35rem; }
.doc-card p { margin: 0; color: var(--ink-soft); }

/* ---------- Donate page ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.tier {
  position: relative; display: flex; flex-direction: column; padding: 24px 22px; border-radius: var(--r);
  background: var(--paper); box-shadow: var(--shadow); text-decoration: none; color: var(--ink);
  transition: transform 0.3s var(--ease-pop), box-shadow 0.3s ease; border-bottom: 8px solid var(--accent, var(--blue));
}
.tier:hover { transform: translateY(-5px) rotate(-1deg); }
.tier:nth-child(4n+1) { --accent: var(--blue); }
.tier:nth-child(4n+2) { --accent: var(--coral); }
.tier:nth-child(4n+3) { --accent: var(--green); }
.tier:nth-child(4n+4) { --accent: var(--yellow); }
.tier-amount { font-family: var(--font-display); font-weight: 600; font-size: 2.3rem; line-height: 1; color: var(--blue); }
.tier-per { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--ink-soft); }
.tier-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 10px 0 6px; color: var(--ink); }
.tier p { font-size: 0.98rem; color: var(--ink-soft); }
.tier-cta { margin-top: auto; font-weight: 800; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.tier-cta svg { width: 18px; height: 18px; }
.gift-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.gift { padding: 24px 22px; border-radius: var(--wobble); background: var(--paper); box-shadow: var(--shadow); }
.gift-label { font-weight: 800; letter-spacing: 0.12em; font-size: 0.9rem; color: var(--coral-deep); margin-bottom: 4px; }
.gift-price { font-family: var(--font-display); font-weight: 600; font-size: 1.8rem; line-height: 1.1; color: var(--blue); margin-bottom: 10px; }
.gift p { font-size: 0.98rem; }
.gift-perks { margin-top: 28px; padding: 22px 26px; border-radius: var(--r); background: var(--yellow-soft); }
.gift-perks h3 { font-size: 1.1rem; letter-spacing: 0.08em; color: #6E5200; }
.gift-perks ul { display: grid; gap: 6px; }
.gift-perks li { padding-left: 26px; position: relative; font-weight: 700; }
.gift-perks li::before { content: "\2605"; position: absolute; left: 0; color: var(--coral-deep); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-card { padding: clamp(26px, 4vw, 40px); border-radius: var(--r-lg); background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.contact-card h2 { color: #fff; font-size: 1.8rem; }
.contact-card p { display: flex; gap: 12px; align-items: flex-start; }
.contact-card svg { width: 24px; height: 24px; flex: none; margin-top: 3px; }
.contact-card a { color: #fff; font-weight: 800; }
.contact-card a.btn-yellow { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; text-align: center; padding-block: clamp(56px, 8vw, 100px); background: var(--blue); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -6%; top: -30%; width: 46%; height: 140%; background: #2A6EE3; border-radius: 50% 44% 56% 46%; }
.cta-band .wrap { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 860px; margin-inline: auto; }
.cta-band p { font-size: 1.15rem; max-width: 700px; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }
.cta-band .doodle { fill: var(--yellow); left: 8%; top: 20%; width: 52px; height: 52px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; margin-top: calc(-1 * clamp(40px, 5vw, 90px)); color: rgba(255, 255, 255, 0.92); }
.footer-wave { display: block; width: 100%; height: clamp(40px, 5vw, 90px); fill: var(--blue-deep); margin-bottom: -1px; }
.footer-body { background: var(--blue-deep); padding: clamp(28px, 4vw, 48px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.footer-name { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; color: #fff; margin-bottom: 6px; }
.footer-about p { margin-bottom: 10px; }
.footer-line { display: flex; gap: 10px; align-items: flex-start; }
.footer-line .ico { width: 20px; height: 20px; flex: none; margin-top: 4px; color: var(--yellow); }
.site-footer a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.45); text-underline-offset: 4px; }
.site-footer a:hover { text-decoration-color: var(--yellow); }
.site-footer .text-link { color: #fff; }
.footer-h { font-family: var(--font-display); font-size: 1.15rem; color: var(--yellow); letter-spacing: 0.04em; margin-bottom: 12px; }
.footer-list li { margin-bottom: 8px; }
.footer-list a { text-decoration: none; display: inline-block; padding: 2px 0; }
.footer-list a:hover { text-decoration: underline; }
.social-list { display: grid; gap: 10px; }
.social-list a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 32px; }
.social-list .ico { width: 22px; height: 22px; }
.footer-vbl { margin-top: 18px; font-family: var(--font-hand); font-size: 1.45rem; line-height: 1.2; color: #fff; }
.footer-lang { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 30px; }
.footer-lang-label { font-weight: 800; }
.lang-switch { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.lang-switch button { min-width: 48px; min-height: 44px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-weight: 800; cursor: pointer; }
.lang-switch button:hover { background: rgba(255, 255, 255, 0.16); }
.lang-switch button.active { background: var(--yellow); color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }
.lumanaire-credit-wrap { display: flex; justify-content: center; margin-top: 26px; }
.lumanaire-credit {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.18s ease;
}
.lumanaire-credit:hover { border-color: rgba(255, 255, 255, 0.6); background: rgba(255, 255, 255, 0.12); transform: translateY(-1px); }
.lumanaire-credit .bolt { width: 16px; height: 16px; color: #E9C8F5; transition: transform 0.3s ease; }
.lumanaire-credit:hover .bolt { transform: rotate(20deg) scale(1.1); }
.lumanaire-credit .proudly { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.85); }
.lumanaire-credit .wordmark { font-size: 14px; font-weight: 800; color: #fff; }

/* ---------- Toast (donate-amount hint) ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(40px); z-index: 120;
  display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6); max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast .amt { background: var(--yellow); color: var(--ink); padding: 4px 12px; border-radius: 999px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(29, 42, 72, 0.94); display: none; align-items: center; justify-content: center; padding: clamp(16px, 4vw, 48px); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: var(--r); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.7); }
.lightbox-close, .lightbox-nav {
  position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, 0.14);
  border-radius: 50%; display: grid; place-items: center; transition: background 0.2s ease; line-height: 1;
}
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox-close { top: 18px; right: 20px; width: 48px; height: 48px; font-size: 28px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 26px; }
.lightbox-prev { left: clamp(10px, 2vw, 28px); }
.lightbox-next { right: clamp(10px, 2vw, 28px); }

/* ---------- Scroll reveal (content stays visible without JS or with reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tier-grid, .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .sou-grid, .life-grid, .help-grid, .comm-grid, .stay-grid, .split, .story-block, .monthly, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split.flip > :first-child, .story-block.flip .story-copy { order: 0; }
  .card-grid, .child-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wwd-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-inline: auto; }
  .story-inner { grid-template-columns: minmax(0, 1fr); }
  .story-photo img { max-height: 320px; }
  .storybook { max-width: 340px; }
  .stay-grid { padding-left: max(var(--gutter), 52px); }
  .cta-band .doodle { left: 14px; top: 10px; width: 36px; height: 36px; }
  .help-letters { display: none; }
  .gallery-grid { column-count: 2; }
}
@media (max-width: 640px) {
  body { font-size: 1.02rem; }
  .card-grid, .card-grid.two, .child-grid, .pkg-grid, .help-cards, .partner-grid, .tier-grid, .gift-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-card { margin-top: -36px; padding-left: 52px; }
  .ruled { background-image: linear-gradient(90deg, transparent 0 32px, var(--margin-line) 32px 34px, transparent 34px), repeating-linear-gradient(180deg, transparent 0 33px, var(--rule) 33px 34px); }
  .hero-card .d-heart-coral { right: -6px; top: -26px; width: 46px; height: 42px; }
  .meet .meet-sparkle, .ribbon .doodle { display: none; }
  .hero-card .d-heart-coral { right: 4px; }
  .life-mosaic { grid-template-columns: 1fr 1fr; }
  .life-mosaic .ph-b { grid-column: 2; grid-row: 1 / span 2; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { column-count: 2; column-gap: 10px; }
  .gallery-grid button { margin-bottom: 10px; border-radius: 16px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-lang { justify-content: flex-start; flex-wrap: wrap; }
  .notebook::before { display: none; }
  .stay-grid { padding-left: var(--gutter); }
  .note-card { padding-left: 52px; }
  .doc-card { flex-direction: column; align-items: flex-start; }
  .avatar-grid li { width: calc((100% - 3 * 14px) / 4); }
  .avatar-name { font-size: 0.86rem; }
  .avatar img { border-width: 3px; box-shadow: 0 0 0 3px var(--ring, var(--blue)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .ribbon, .doodle, .wave, .menu-toggle { display: none !important; }
  body { background: #fff; }
}

/* ---------- Page details ---------- */
.founder-photo { position: relative; max-width: 420px; justify-self: center; text-align: center; }
.founder-photo img { border-radius: var(--r-lg); transform: rotate(-2.5deg); box-shadow: var(--shadow); border: 10px solid #fff; }
.founder-photo figcaption { margin-top: 18px; font-size: 2rem; color: var(--blue-deep); }
.emphasis-hand { font-family: var(--font-hand); font-weight: 700; font-size: 1.75rem; line-height: 1.3; color: var(--blue-deep); }
.doc-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; color: var(--blue); margin-bottom: 4px; }
.doc-text { display: block; color: var(--ink-soft); margin-bottom: 10px; }
.doc-go { display: inline-block; font-weight: 800; color: var(--coral-deep); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.both-packages { margin-top: clamp(32px, 5vw, 56px); text-align: center; color: var(--ink); }
.tiers-after { margin-top: clamp(28px, 4vw, 44px); }
.tiers-after p { margin-top: 18px; }
.tour-grid { margin-bottom: clamp(36px, 5vw, 56px); }
.thanks-card { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; padding-left: clamp(62px, 6vw, 80px); }
.thanks-card .quote-line { color: var(--coral-deep); font-size: clamp(1.9rem, 3vw, 2.5rem); }
.thanks-card .thanks-heart { right: 26px; top: -18px; width: 54px; height: 50px; fill: var(--coral); }
.wide-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.club-photo { align-self: stretch; min-height: 240px; }
.club-photo img { box-shadow: var(--shadow); position: absolute; inset: 0; }
.clubs-star { right: 8%; top: 56px; width: 50px; height: 50px; fill: var(--yellow); animation-name: twinkle; }
.mh-heart { right: 24px; top: -20px; width: 54px; height: 50px; fill: var(--pink); }
.children-sparkle { left: 8%; top: 64px; width: 46px; height: 46px; fill: var(--coral); animation-name: twinkle; }
.guardian-close { margin-top: clamp(32px, 5vw, 48px); text-align: center; }
.enquiry-form { max-width: 880px; margin-inline: auto; }
.form-sun { right: -12px; top: -22px; width: 70px; height: 70px; color: var(--yellow); animation-name: twinkle; animation-duration: 12s; }
.social-pills.on-blue { margin-top: 22px; }
.social-pills.on-blue a { background: var(--blue-deep); color: #fff; }
.social-pills.on-blue a:hover { background: #12387F; }
.contact-card .btn { margin-top: 8px; }
.monthly .card p { font-size: 1.08rem; }
@media (max-width: 1100px) {
  .wide-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .thanks-card { grid-column: 1 / -1; }
  .founder-photo { max-width: 320px; }
}
@media (max-width: 640px) {
  .thanks-card { padding-left: 52px; }
  .wide-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .club-photo { min-height: 220px; }
  .children-sparkle, .clubs-star { display: none; }
}
.note-card.prose.center { text-align: left; }
.btn.no-caps { text-transform: none; letter-spacing: 0.01em; }
.split.wide-left { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.85fr); }
@media (max-width: 900px) { .split.wide-left { grid-template-columns: minmax(0, 1fr); } }
.gallery-page { padding-top: 8px; }

/* ---------- Round 2: photo-led and lighter (Mia, 19 Oct 2026) ----------
   A stage is one of her photos with an SVG drawn on top in the photo's own pixels (a soft scrim, a colour
   circle, the cut-out child, chalk doodles, petal flowers, a curved phrase). The stage is cropped like
   object-fit: cover inside its band, so the drawing stays pinned to the photo at every width. */
.photo-band, .hero-band { position: relative; overflow: hidden; container-type: size; background: #C9D3DC; }
.stage { --fx: var(--fxd, 0.5); --fy: var(--fyd, 0.5); position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
@supports (width: 1cqw) {
  .stage {
    --sw: max(100cqw, calc(100cqh * var(--ar)));
    --sh: calc(var(--sw) / var(--ar));
    width: var(--sw); height: var(--sh);
    left: calc((100cqw - var(--sw)) * var(--fx));
    top: calc((100cqh - var(--sh)) * var(--fy));
  }
}
.stage-img, .stage-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-img { object-fit: cover; }
.stage-art { overflow: hidden; pointer-events: none; }
.chalk { color: #fff; }
.petal { fill: #FFE14D; }
.arc-text { font-size: var(--afd); paint-order: stroke fill; stroke-linejoin: round; }
.arc-hand { font-family: var(--font-hand); font-weight: 700; fill: #FFE14D; stroke: rgba(13, 30, 66, 0.62); stroke-width: 6px; letter-spacing: 0.01em; }
.arc-round { font-family: var(--font-display); font-weight: 600; fill: #fff; stroke: rgba(13, 30, 66, 0.55); stroke-width: 6px; letter-spacing: 0.04em; }
.arc-board { font-family: var(--font-hand); font-weight: 700; fill: #FFE14D; letter-spacing: 0.01em; }
.arc-ink { font-family: var(--font-hand); font-weight: 700; fill: #1F55C4; stroke: rgba(255, 255, 255, 0.7); stroke-width: 5px; letter-spacing: 0.01em; }

/* Home hero: full-bleed photo, the notebook card tucked under its edge */
.hero { padding-top: 0; }
.hero-band { height: clamp(460px, 48vw, 690px); }
.hero-body { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.hero .hero-card { width: 100%; margin: clamp(-60px, -3.9vw, -30px) 0 0; padding-bottom: clamp(26px, 3.4vw, 44px); }
.hero-card .d-heart-coral { top: -26px; }
.hero-card .h-display { margin-bottom: 0; }
.h-display .rainbow { font-size: clamp(3.3rem, 5.6vw, 5.8rem); line-height: 0.95; white-space: nowrap; }
.hero-card .h-display-rest { display: block; margin-top: 0.14em; font-size: clamp(1.7rem, 3vw, 2.9rem); line-height: 1.08; }
.hero-text { padding-top: clamp(8px, 2vw, 24px); }
.hero-text .lead { color: var(--ink); margin-top: 0; }
.rainbow { text-transform: lowercase; }

/* Wordmark headings: multicolour rounded lowercase letters, drawn by site.js in an aria-hidden copy */
.rainbow span:nth-child(4n+1), .wm-title .wm-c0 { color: #2F6FE0; }
.rainbow span:nth-child(4n+2), .wm-title .wm-c1 { color: #E25B3C; }
.rainbow span:nth-child(4n+3), .wm-title .wm-c2 { color: #0E9468; }
.rainbow span:nth-child(4n+4), .wm-title .wm-c3 { color: #B98200; }
.wm-title, .page-hero h1.wm-title { margin: 0; font-size: clamp(2.9rem, 6.6vw, 5.5rem); line-height: 0.98; letter-spacing: -0.01em; text-transform: lowercase; color: #2F6FE0; }
.wm-title .wm-word { display: inline-block; white-space: nowrap; }
.wm-title .wm-word > span { display: inline-block; }
.wm-title .wm-word > span:nth-child(odd) { transform: translateY(-0.02em) rotate(-2.5deg); }
.wm-title .wm-word > span:nth-child(even) { transform: translateY(0.02em) rotate(2.5deg); }
.wm-title.is-split .wm-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Page heroes: an airy title and text, then one full-bleed photo band */
.page-hero { padding: clamp(36px, 5.5vw, 72px) 0 0; overflow: hidden; }
.page-hero-head { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(20px, 5vw, 72px); align-items: center; padding-bottom: clamp(32px, 4.5vw, 60px); }
.page-hero-head .hand-note { margin-bottom: 0.25em; }
.page-hero-head .h-sub { margin-bottom: 0.3em; }
.page-hero-head .lead { margin-bottom: 0; }
.page-hero-head .btn-row { margin-top: 22px; }
.page-hero-head.solo { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.page-hero-head.solo .lead { max-width: 760px; margin-inline: auto; }
.page-hero-head.solo .gallery-jump { justify-content: center; }
.photo-band { height: clamp(360px, 38vw, 560px); }

/* Ways to Help: a round photo on the chalkboard, the child's head breaking out of the top */
.help-pop { position: relative; width: 100%; max-width: 560px; margin-inline: auto; }
.pop-art { display: block; width: 100%; height: auto; overflow: visible; }

/* Donate: the donation site and the Stripe link side by side */
.give-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 3vw, 28px); max-width: 900px; margin: clamp(32px, 4vw, 48px) auto 0; }
.give-option { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(22px, 3vw, 32px); border-radius: var(--wobble); background: var(--paper); box-shadow: var(--shadow); }
.give-option h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.6rem); }
.give-option p { margin: 0; color: var(--ink-soft); }
.give-option .btn { margin-top: auto; }

@media (max-width: 900px) {
  .page-hero-head, .hero-body { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-text { padding-top: 0; }
}
@media (max-width: 640px) {
  .stage { --fx: var(--fxm, var(--fxd, 0.5)); --fy: var(--fym, var(--fyd, 0.5)); }
  .arc-text { font-size: var(--afm); }
  .hero-band { height: 470px; }
  .photo-band { height: 360px; }
  .hero .hero-card { margin-top: -30px; }
  .give-options { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .rainbow span, .wm-title .wm-word > span { transition: none; }
}
