/* =========================================================
   IMPUHWE ETOILE — stylesheet
   Lake Kivu blue + star gold, with an imigongo-inspired
   zigzag as the one signature motif.
   ========================================================= */

:root {
  --lake: #0f3d5e;
  --lake-deep: #0a2c45;
  --lake-soft: #d9e6ef;
  --star: #f5b700;
  --star-soft: #fff1c2;
  --hill: #2e6b45;
  --mist: #eef3f6;
  --white: #ffffff;
  --ink: #0b1f2e;
  --body: #3e5263;
  --line: #d3dee6;

  --display: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
  --text: 'Atkinson Hyperlegible', 'Segoe UI', Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --space: clamp(72px, 9vw, 128px);
  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;

  --zigzag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='18' viewBox='0 0 32 18'%3E%3Cpath d='M0 13 L8 5 L16 13 L24 5 L32 13' fill='none' stroke='%23f5b700' stroke-width='3'/%3E%3C/svg%3E");
  --diamonds: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 4 L52 28 L28 52 L4 28 Z' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='2'/%3E%3Cpath d='M28 16 L40 28 L28 40 L16 28 Z' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: inherit; margin: 0 0 .5em; line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.4rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--body); max-width: 38em; }
:focus-visible { outline: 3px solid var(--star); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--star); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 100; background: var(--star); color: var(--ink); padding: 10px 18px; border-radius: 99px; font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--space); }
.section-tight { padding-block: calc(var(--space) * .7); }
.bg-mist { background: var(--mist); }
.bg-lake { background: var(--lake); color: var(--white); }
.bg-lake .lead, .bg-lake p { color: #cfe0ec; }
.kicker { display: inline-block; font-weight: 700; color: var(--hill); margin-bottom: 14px; font-size: 1rem; }
.bg-lake .kicker { color: var(--star); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 99px;
  font-family: var(--text); font-weight: 700; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s;
}
.btn-star { background: var(--star); color: var(--ink); }
.btn-star:hover { background: #ffc61f; }
.btn-lake { background: var(--lake); color: var(--white); }
.btn-lake:hover { background: var(--lake-deep); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.bg-mist .btn-outline:hover, .section:not(.bg-lake) .btn-outline:hover { background: var(--mist); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { font-weight: 700; color: var(--lake); text-decoration: underline; text-decoration-color: var(--star); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.link-arrow:hover { text-decoration-color: var(--lake); }
.bg-lake .link-arrow { color: var(--white); }

/* ---------- Signature motif ---------- */
.imigongo-band { height: 18px; background: var(--zigzag) repeat-x center / 32px 18px, var(--lake); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--lake); }
.brand-sub { font-size: .8rem; color: var(--body); margin-top: 3px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a { text-decoration: none; padding: 10px 14px; border-radius: 99px; font-weight: 700; font-size: .95rem; color: var(--body); }
.main-nav a:hover { color: var(--lake); background: var(--mist); }
.main-nav a[aria-current="page"] { color: var(--lake); background: var(--star-soft); }
.header-cta { min-height: 44px; padding: 10px 20px; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--mist); cursor: pointer; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--lake); margin: auto; position: relative; transition: transform .2s; }
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ''; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -6px; } .menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line); background: var(--white); }
.mobile-menu a:not(.btn) { display: block; padding: 14px 4px; font-weight: 700; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--mist); }
.mobile-menu a[aria-current="page"] { color: var(--lake); }
.mobile-menu .btn { margin-top: 18px; width: 100%; }

/* ---------- Photo slots ---------- */
.photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--lake); aspect-ratio: 4 / 3; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-empty { background: var(--diamonds) center / 56px 56px, linear-gradient(160deg, #164a70, var(--lake-deep)); display: grid; place-items: center; padding: 20px; text-align: center; }
.slot-note { display: grid; gap: 6px; color: #e6eff5; max-width: 26ch; }
.slot-note strong { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--white); }
.slot-note small { font-size: .78rem; color: var(--star); word-break: break-all; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo.square { aspect-ratio: 1; }

/* ---------- Home hero ---------- */
.hero { background: var(--lake); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: var(--diamonds) right top / 56px 56px; mask-image: linear-gradient(100deg, transparent 35%, #000 80%); -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 80%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.hero h1 { margin-bottom: 24px; font-size: clamp(2.6rem, 5.4vw, 4.75rem); max-width: 12ch; }
.hero-meaning > div { min-width: 0; }
.hero-meaning dd { margin: 2px 0 0; }
.hero .lead { color: #d3e3ee; }
.hero-meaning { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); display: flex; gap: 32px; flex-wrap: wrap; font-size: .98rem; color: #cfe0ec; }
.hero-meaning b { display: block; font-family: var(--display); color: var(--white); font-size: 1.2rem; letter-spacing: -0.01em; }
.hero-mosaic { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.hero-mosaic .photo:nth-child(1) { grid-row: span 2; aspect-ratio: auto; min-height: 100%; border-radius: 160px 160px var(--r-lg) var(--r-lg); }
.hero-mosaic .photo:nth-child(2) { aspect-ratio: 1; }
.hero-mosaic .photo:nth-child(3) { aspect-ratio: 1; border-radius: var(--r-lg) var(--r-lg) 120px var(--r-lg); }
.hero-mosaic .photo.is-empty { background: var(--diamonds) center / 56px 56px, linear-gradient(160deg, #1d5a85, #0b3350); }
.hero-star { position: absolute; width: 92px; height: 92px; left: calc(52% - 46px); top: 50%; z-index: 2; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); }

@media (prefers-reduced-motion: no-preference) {
  .hero-mosaic .photo { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-mosaic .photo:nth-child(2) { animation-delay: .12s; }
  .hero-mosaic .photo:nth-child(3) { animation-delay: .24s; }
  .hero-star { animation: spin-in 1s .35s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @keyframes spin-in { from { opacity: 0; transform: rotate(-90deg) scale(.4); } to { opacity: 1; transform: none; } }
}

/* ---------- Generic split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-text p { color: var(--body); }
.bg-lake .split-text p { color: #cfe0ec; }
.name-card { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--lake); border-radius: var(--r-md); overflow: hidden; }
.name-card div { padding: 20px 22px; }
.name-card div + div { border-left: 2px solid var(--lake); background: var(--star-soft); }
.name-card dt { font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--lake); letter-spacing: -0.02em; }
.name-card dd { margin: 4px 0 0; color: var(--body); font-size: .98rem; }

/* ---------- Section heading ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin: 0; max-width: 16ch; }
.section-head p { margin: 0; max-width: 34ch; color: var(--body); }
.bg-lake .section-head p { color: #cfe0ec; }

/* ---------- Pillars (home) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.pillar .photo { margin-bottom: 22px; }
.pillar:nth-child(2) .photo { border-radius: 140px 140px var(--r-lg) var(--r-lg); }
.pillar h3 { color: var(--lake); }
.pillar p { color: var(--body); }

/* ---------- Sports band ---------- */
.sports-band { position: relative; overflow: hidden; }
.sports-band .photo { border-radius: var(--r-lg); }
.sport-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sport-list li { padding: 9px 18px; border-radius: 99px; border: 2px solid rgba(255,255,255,.25); font-weight: 700; color: var(--white); }
.sport-list li:first-child { background: var(--star); color: var(--ink); border-color: var(--star); }
.bg-mist .sport-list li, .section:not(.bg-lake) .sport-list li { color: var(--lake); border-color: var(--line); background: var(--white); }

/* ---------- Celebrations ---------- */
.celebrate { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.celebrate-item { position: relative; text-decoration: none; display: block; }
.celebrate-item .photo { height: 100%; }
.celebrate-item:first-child .photo { aspect-ratio: 4 / 3; }
.celebrate-item:last-child .photo { aspect-ratio: auto; height: 100%; min-height: 280px; }
.celebrate-cap { position: absolute; left: 16px; bottom: 16px; right: 16px; background: var(--white); border-radius: var(--r-md); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.celebrate-cap strong { font-family: var(--display); font-size: 1.2rem; color: var(--lake); letter-spacing: -0.01em; }
.celebrate-cap span { font-size: .92rem; color: var(--body); }
.celebrate-item:hover .celebrate-cap { background: var(--star-soft); }

/* ---------- Support band ---------- */
.support-band { background: var(--star); color: var(--ink); }
.support-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.support-band h2 { margin-bottom: 16px; }
.support-band p { color: #3a3000; }
.support-ways { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; background: var(--ink); border-radius: var(--r-md); overflow: hidden; border: 2px solid var(--ink); }
.support-ways li { background: var(--star); padding: 18px 22px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.support-ways li:hover { background: #ffc61f; }
.support-ways svg { grid-row: span 2; width: 28px; height: 28px; margin-top: 2px; color: var(--lake); }
.support-ways strong { font-family: var(--display); font-size: 1.15rem; }
.support-ways span { color: #3a3000; font-size: .97rem; }

/* ---------- CTA ---------- */
.cta-end { text-align: center; }
.cta-end h2 { max-width: 18ch; margin-inline: auto; }
.cta-end p { max-width: 44ch; margin-inline: auto; color: var(--body); }
.cta-end .btn-row { justify-content: center; }

/* ---------- Page intro (inner pages) ---------- */
.page-intro { background: var(--lake); color: var(--white); position: relative; overflow: hidden; }
.page-intro::before { content: ''; position: absolute; inset: 0; background: var(--diamonds) right center / 56px 56px; mask-image: linear-gradient(90deg, transparent 40%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); }
.page-intro .wrap { position: relative; padding-block: clamp(56px, 7vw, 96px); }
.page-intro h1 { max-width: 15ch; font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.page-intro .lead { color: #d3e3ee; }
.crumbs { font-size: .92rem; color: #a9c4d8; margin-bottom: 20px; }
.crumbs a { color: var(--star); text-decoration: none; font-weight: 700; }

/* ---------- About ---------- */
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--lake); }
.mvv > div { padding: 32px 28px 8px 0; }
.mvv > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.mvv h3 { color: var(--lake); }
.mvv p { color: var(--body); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value { background: var(--white); border-radius: var(--r-md); padding: 26px 24px; border: 1px solid var(--line); }
.value svg { width: 34px; height: 34px; color: var(--hill); margin-bottom: 16px; }
.value h3 { font-size: 1.2rem; color: var(--lake); }
.value p { color: var(--body); font-size: .98rem; margin: 0; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person .photo { aspect-ratio: 4 / 5; margin-bottom: 14px; border-radius: var(--r-md); }
.person h3 { font-size: 1.15rem; margin-bottom: 2px; }
.person p { color: var(--body); font-size: .95rem; margin: 0; }

/* ---------- Learning ---------- */
.levels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.level { border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 44px); background: var(--mist); }
.level.dark { background: var(--lake); color: var(--white); }
.level .tag { display: inline-block; font-weight: 700; padding: 6px 14px; border-radius: 99px; background: var(--star); color: var(--ink); margin-bottom: 18px; font-size: .92rem; }
.level h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.level p { color: var(--body); }
.level.dark p, .level.dark li { color: #d3e3ee; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; background: var(--star); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.subjects { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.subjects span { padding: 10px 18px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--lake); }
.day { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--star); }
.day li { padding: 0 0 26px 28px; position: relative; }
.day li::before { content: ''; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--lake); border: 3px solid var(--white); }
.day b { display: block; font-family: var(--display); color: var(--lake); font-size: 1.15rem; }
.day span { color: var(--body); }

/* ---------- Sports page ---------- */
.sports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sport { display: grid; gap: 14px; }
.sport .photo { border-radius: var(--r-md); }
.sport h3 { color: var(--lake); margin: 0; }
.sport p { margin: 0; color: var(--body); }
.honours { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.honours li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.honours b { font-family: var(--display); color: var(--star); font-size: 1.25rem; }
.honours span { color: #d3e3ee; }
.placeholder-note { font-size: .92rem; padding: 14px 18px; border-radius: var(--r-sm); background: var(--star-soft); color: #5a4600; margin-top: 22px; }
.bg-lake .placeholder-note { background: rgba(245,183,0,.14); color: var(--star-soft); }

/* ---------- Gallery ---------- */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.gallery-tabs button { font: inherit; font-weight: 700; padding: 11px 22px; border-radius: 99px; border: 2px solid var(--line); background: var(--white); color: var(--body); cursor: pointer; }
.gallery-tabs button:hover { border-color: var(--lake); color: var(--lake); }
.gallery-tabs button[aria-selected="true"] { background: var(--lake); border-color: var(--lake); color: var(--white); }
.gallery-tabs .count { opacity: .7; font-weight: 400; margin-left: 4px; }
.gallery-grid { columns: 3 260px; column-gap: 16px; }
.gallery-grid a { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.gallery-grid img { width: 100%; height: auto; transition: transform .4s; }
.gallery-grid a:hover img { transform: scale(1.03); }
.gallery-empty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-empty .photo { border-radius: var(--r-md); }
.gallery-empty-text { grid-column: 1 / -1; color: var(--body); margin: 0 0 4px; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(6,24,38,.94); display: grid; place-items: center; padding: 64px 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 84vh; width: auto; border-radius: var(--r-sm); }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--white); color: var(--lake); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Get involved ---------- */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.way { border: 2px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; }
.way:first-child { background: var(--lake); color: var(--white); border-color: var(--lake); }
.way:first-child p, .way:first-child li { color: #d3e3ee; }
.way h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.way p { color: var(--body); }
.way .btn { margin-top: auto; align-self: flex-start; }
.way .ticks { margin-bottom: 26px; }
.give-amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.give-amounts div { background: var(--white); border-radius: var(--r-md); padding: 24px; border: 1px solid var(--line); }
.give-amounts b { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--lake); letter-spacing: -0.02em; }
.give-amounts span { color: var(--body); }

/* ---------- Admissions ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { counter-increment: step; padding: 28px 24px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--star); font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: 18px; }
.steps h3 { font-size: 1.2rem; color: var(--lake); }
.steps p { color: var(--body); font-size: .98rem; margin: 0; }
.checklist { columns: 2; column-gap: 40px; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.form-card { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 44px); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field legend { font-weight: 700; font-size: .98rem; }
.field .opt { font-weight: 400; color: var(--body); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; width: 100%; padding: 13px 16px; border-radius: var(--r-sm); border: 2px solid var(--line); background: var(--white); color: var(--ink); min-height: 52px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lake); box-shadow: 0 0 0 4px rgba(245,183,0,.35); }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute !important; left: -9999px; }
.alert { border-radius: var(--r-sm); padding: 16px 18px; margin-bottom: 22px; font-weight: 700; }
.alert-ok { background: #e3f2e8; color: #1f5133; border: 2px solid #9cd0ae; }
.alert-err { background: #fdeaea; color: #8a1f1f; border: 2px solid #f0b4b4; }
.form-note { font-size: .92rem; color: var(--body); margin: 14px 0 0; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 14px; margin-top: 28px; }
.contact-card { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); background: var(--mist); text-decoration: none; }
.contact-card svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--lake); color: var(--star); }
.contact-card b { display: block; color: var(--lake); }
.contact-card span { color: var(--body); }
a.contact-card:hover { background: var(--star-soft); }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: var(--mist); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--lake-deep); color: #c3d6e4; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.1fr; gap: 40px; padding-block: 64px 48px; }
.brand-light .brand-name { color: var(--white); }
.brand-light .brand-sub { color: #a9c4d8; }
.footer-about p { margin-top: 18px; max-width: 32ch; }
.footer-title { font-family: var(--display); font-size: 1.1rem; color: var(--white); margin-bottom: 16px; letter-spacing: -0.01em; }
.footer-links, .footer-contact, .footer-social { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a, .footer-contact a, .footer-social a, .footer-bottom a { text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover, .footer-social a:hover, .footer-bottom a:hover { color: var(--star); }
.footer-social { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; font-weight: 700; }
.footer-give p { margin-bottom: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem; color: #8fb0c6; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .main-nav a { padding: 10px 10px; font-size: .9rem; }
  .header-row { gap: 16px; }
}
@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-grid, .split, .support-grid, .form-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .hero-star { display: none; }
  .pillars, .sports-grid { grid-template-columns: 1fr 1fr; }
  .values, .people, .steps { grid-template-columns: 1fr 1fr; }
  .mvv { grid-template-columns: 1fr; }
  .mvv > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-row { min-height: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.2rem; }
  .pillars, .sports-grid, .levels, .ways, .values, .people, .steps, .celebrate, .give-amounts, .gallery-empty, .form-row { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .hero-mosaic { grid-template-columns: 1fr 1fr; }
  .hero-mosaic .photo:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; border-radius: 120px 120px var(--r-lg) var(--r-lg); }
  .hero-meaning { gap: 20px; }
  .name-card { grid-template-columns: 1fr; }
  .name-card div + div { border-left: 0; border-top: 2px solid var(--lake); }
  .celebrate-item:last-child .photo { min-height: 0; aspect-ratio: 4 / 3; }
  .checklist { columns: 1; }
  .honours li { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* =========================================================
   v2: glass, photography and motion
   ========================================================= */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --hdr: 96px;
  --shadow-soft: 0 1px 2px rgba(10,44,69,.06), 0 12px 32px -12px rgba(10,44,69,.22);
}

/* Glass surfaces */
.glass {
  background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 24px 60px -20px rgba(4,20,34,.55);
  color: var(--white);
}
.glass-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 99px; font-size: .92rem; font-weight: 700;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--white);
  margin-bottom: 22px;
}
.btn-glass { color: var(--white); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.glass-panel { border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 44px); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); }
.glass-panel h3 { font-size: 1.6rem; }
.glass-panel .ticks { margin-bottom: 28px; }

/* Floating glass header */
.site-header { background: transparent; backdrop-filter: none; border: 0; padding-top: 14px; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header .header-row {
  min-height: 68px; padding: 8px 8px 8px 14px; border-radius: 99px; gap: 18px;
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 10px 40px -12px rgba(10,44,69,.35);
  transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.site-header.is-scrolled { border: 0; }
.site-header.is-scrolled .header-row { background: rgba(255,255,255,.9); }
.brand-mark { width: 42px; height: 42px; }
.main-nav a { padding: 9px 13px; }
.mobile-menu { width: min(var(--wrap), 100% - var(--gutter) * 2); margin: 10px auto 0; border-radius: 26px; border: 1px solid rgba(255,255,255,.7); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: 0 20px 50px -20px rgba(10,44,69,.4); padding: 8px 22px 22px; }
.hero, .page-intro { margin-top: calc(var(--hdr) * -1); }

/* Home hero: full-bleed photograph */
.hero { min-height: max(640px, 100svh); display: grid; grid-template-rows: 1fr auto; background: var(--lake-deep); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; mask-image: none; -webkit-mask-image: none;
  background: linear-gradient(180deg, rgba(6,28,46,.55) 0%, rgba(6,28,46,.1) 35%, rgba(6,28,46,.55) 70%, rgba(6,28,46,.92) 100%),
              linear-gradient(90deg, rgba(6,28,46,.7) 0%, rgba(6,28,46,0) 65%); }
.hero-bg, .intro-bg, .moment-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: end; padding-top: calc(var(--hdr) + 80px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero-copy h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); max-width: 13ch; margin-bottom: 22px; text-wrap: balance; }
.hero .lead { color: #e2edf4; max-width: 34em; }
.hero-card { border-radius: var(--r-lg); padding: 10px; display: grid; gap: 4px; }
.hero-card a { display: grid; gap: 2px; padding: 16px 18px; border-radius: 18px; text-decoration: none; transition: background-color .2s var(--ease-out); }
.hero-card a:hover { background: rgba(255,255,255,.14); }
.hero-card a + a { border-top: 1px solid rgba(255,255,255,.18); border-radius: 0 0 18px 18px; }
.hero-card a:nth-child(2) { border-radius: 0; }
.hero-card strong { font-family: var(--display); font-size: 1.2rem; letter-spacing: -0.01em; }
.hero-card span { color: #d5e4ee; font-size: .95rem; }
.hero .imigongo-band { position: relative; z-index: 2; }

/* Inner intros over photographs */
.page-intro .wrap { padding-top: calc(var(--hdr) + clamp(56px, 7vw, 96px)); z-index: 2; }
.page-intro.has-photo { min-height: 520px; display: grid; grid-template-rows: 1fr auto; align-items: end; }
.page-intro.has-photo::before { z-index: 1; mask-image: none; -webkit-mask-image: none; background: linear-gradient(90deg, rgba(6,28,46,.88) 0%, rgba(6,28,46,.55) 55%, rgba(6,28,46,.25) 100%), linear-gradient(0deg, rgba(6,28,46,.6), transparent 50%); }
.page-intro .imigongo-band { position: relative; z-index: 2; }
.crumbs.glass-chip { color: #d5e4ee; }
.crumbs span { opacity: .6; }

/* Bento (home programs) */
.bento { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; min-height: 620px; }
.bento-item { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; isolation: isolate; }
.bento-main { grid-row: span 2; }
.bento-item .photo { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; border-radius: 0; }
.bento-cap { position: absolute; left: 14px; right: 14px; bottom: 14px; border-radius: 20px; padding: 18px 20px; display: grid; gap: 4px; background: rgba(10,44,69,.34); transition: background-color .25s var(--ease-out); }
.bento-cap strong { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.015em; }
.bento-main .bento-cap strong { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.bento-cap span { color: #e2edf4; font-size: .97rem; }
.bento-item:hover .bento-cap { background: rgba(10,44,69,.5); }

/* Full-bleed moment with glass chips */
.moment { position: relative; overflow: hidden; color: var(--white); min-height: 640px; display: grid; align-items: end; }
.moment::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(6,28,46,.92) 0%, rgba(6,28,46,.45) 50%, rgba(6,28,46,.15) 100%); }
.moment-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: end; padding-block: clamp(72px, 9vw, 120px); }
.moment-copy h2 { max-width: 14ch; }
.moment-copy p { color: #dbe7ef; max-width: 36ch; margin-bottom: 26px; font-size: 1.1rem; }
.moment-chips { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.moment-chips li { border-radius: 20px; padding: 20px 18px; display: grid; gap: 6px; }
.moment-chips strong { font-family: var(--display); font-size: 1.3rem; letter-spacing: -0.015em; }
.moment-chips span { color: #d5e4ee; font-size: .93rem; }
.moment .btn-row { margin-top: 0; }

/* Levels with nursery */
.levels-3 { grid-template-columns: repeat(3, 1fr); }
.level-soft { background: var(--star-soft); }
.people { grid-template-columns: repeat(3, 1fr); }
.person .photo { aspect-ratio: 4 / 5; }
.ways > :first-child { grid-column: 1 / -1; }
.album-note { margin: -12px 0 24px; color: var(--body); }
.sport-list li:first-child { background: var(--star); }

/* Photos: calm hover zoom inside the frame */
.photo { box-shadow: var(--shadow-soft); }
.bento-item .photo { box-shadow: none; }
.photo img { transition: transform .7s var(--ease-out); }
@media (hover: hover) {
  a:hover .photo img, .sport:hover .photo img, .person:hover .photo img, [data-reveal]:hover .photo img { transform: scale(1.03); }
  .value, .way, .steps li, .level { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
  .value:hover, .way:hover, .steps li:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
  .link-arrow { transition: text-decoration-color .2s var(--ease-out); }
}
.btn { transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .12s var(--ease-out); }
.btn:active { transform: scale(.97); }

/* Motion: one hero entrance, photo reveals, staggered grids */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg, .intro-bg { animation: settle 1.8s var(--ease-out) both; }
  @keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
  .js [data-enter] > *, .js .hero-card[data-enter] { animation: enter .8s var(--ease-out) both; }
  .js [data-enter] > :nth-child(2) { animation-delay: .08s; }
  .js [data-enter] > :nth-child(3) { animation-delay: .16s; }
  .js [data-enter] > :nth-child(4) { animation-delay: .24s; }
  .js .hero-card[data-enter] { animation-delay: .35s; }
  @keyframes enter { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

  .js [data-reveal] .photo { clip-path: inset(14% 0 0 0 round var(--r-lg)); opacity: .001; transform: translateY(24px); transition: clip-path 1s var(--ease-out), opacity .6s var(--ease-out), transform 1s var(--ease-out); }
  .js [data-reveal].is-in .photo { clip-path: inset(0 0 0 0 round var(--r-lg)); opacity: 1; transform: none; }
  .js [data-stagger] > * { opacity: .001; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-stagger].is-in > * { opacity: 1; transform: none; }
  .js .moment-bg { transform: scale(1.06); transition: transform 2.4s var(--ease-out); }
  .js .moment.is-in .moment-bg { transform: none; }
}

/* Responsive v2 */
@media (max-width: 1180px) { .main-nav a { padding: 9px 9px; font-size: .9rem; } .brand-sub { display: none; } }
@media (max-width: 980px) {
  :root { --hdr: 88px; }
  .hero-inner, .moment-inner { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; min-height: 0; }
  .bento-main { grid-column: 1 / -1; grid-row: auto; min-height: 420px; }
  .bento-item:not(.bento-main) { min-height: 340px; }
  .levels-3 { grid-template-columns: 1fr; }
  .brand-sub { display: block; }
}
@media (max-width: 640px) {
  :root { --hdr: 82px; }
  .site-header .header-row { min-height: 60px; }
  .hero-inner { padding-top: calc(var(--hdr) + 48px); gap: 28px; }
  .bento { grid-template-columns: 1fr; }
  .bento-item:not(.bento-main) { min-height: 300px; }
  .moment { min-height: 0; }
  .moment-chips { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .people .person:last-child { grid-column: 1 / -1; max-width: 50%; }
  .page-intro.has-photo { min-height: 460px; }
}
.person .photo img { object-position: center 12%; }
.photo img[src*="celebrate-awards"], .photo img[src*="sports-trophy"] { object-fit: contain; background: #f4f6f8; }
/* Organisation logo */
.brand-mark { width: 52px; height: 52px; object-fit: contain; border-radius: 50%; background: #fff; padding: 2px; }
.site-footer .brand-mark { width: 64px; height: 64px; padding: 4px; }
@media (max-width: 640px) { .brand-mark { width: 46px; height: 46px; } }
