/* Chiugobest Care and Relief Foundation — brand styles */
:root {
  --blue: #0072BC;
  --blue-deep: #005a96;
  --gold: #daa428;
  --gold-dark: #b8871c;
  --teal: #069494;
  --teal-deep: #047878;
  --light: #F8F9FA;
  --dark: #1A1A1A;
  --muted: #5a5f66;
  --white: #ffffff;
  --ink-soft: rgba(26, 26, 26, 0.72);
  --shadow: 0 18px 50px rgba(0, 114, 188, 0.12);
  --radius: 2px;
  --max: 1120px;
  --nav-h: 78px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --ink: #0a0a0a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

html.nav-open,
html.nav-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header / Nav — CRY-style clear charity nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(26, 26, 26, 0.1);
  border-bottom-color: transparent;
}

/* Projects: photo runs behind the nav — no white header bar */
.page-projects .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.page-projects .site-header.is-scrolled,
.page-projects .site-header.is-menu-open {
  position: fixed;
  background: var(--blue);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.page-projects .site-header .brand-name,
.page-projects .site-header .nav-links a:not(.nav-cta) {
  color: var(--white);
}

.page-projects .site-header .brand-tag {
  color: rgba(255, 255, 255, 0.82);
}

.page-projects .site-header .nav-links a:hover,
.page-projects .site-header .nav-links a[aria-current="page"] {
  color: var(--gold);
}

.page-projects .site-header .nav-toggle span {
  background: var(--white);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--dark);
  flex-shrink: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--blue);
}

.brand-tag {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

a, button {
  -webkit-tap-highlight-color: rgba(0, 114, 188, 0.18);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue);
  transition: 0.25s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--dark) !important;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 16px rgba(218, 164, 40, 0.5);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  color: var(--dark) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 24px rgba(218, 164, 40, 0.7);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.45rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none !important;
  border: 2px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 16px rgba(0, 114, 188, 0.28),
    0 8px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 26px rgba(0, 114, 188, 0.42),
    0 10px 26px rgba(0, 0, 0, 0.22);
}

.btn-primary {
  background: var(--gold);
  color: var(--dark) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 18px rgba(218, 164, 40, 0.55),
    0 0 36px rgba(218, 164, 40, 0.28);
}

.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--dark) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.5),
    0 0 26px rgba(218, 164, 40, 0.7),
    0 0 44px rgba(218, 164, 40, 0.4);
}

.btn-blue {
  background: var(--blue);
  color: var(--white) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 18px rgba(0, 114, 188, 0.55),
    0 0 36px rgba(0, 114, 188, 0.28);
}

.btn-blue:hover {
  background: var(--blue-deep);
  color: var(--white) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 26px rgba(0, 114, 188, 0.7),
    0 0 44px rgba(0, 114, 188, 0.38);
}

.btn-teal {
  background: var(--teal);
  color: var(--white) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 18px rgba(6, 148, 148, 0.55),
    0 0 36px rgba(6, 148, 148, 0.28);
}

.btn-teal:hover {
  background: var(--teal-deep);
  color: var(--white) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.45),
    0 0 26px rgba(6, 148, 148, 0.7),
    0 0 44px rgba(6, 148, 148, 0.38);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 18px rgba(255, 255, 255, 0.22);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 0 26px rgba(255, 255, 255, 0.32);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue) !important;
  box-shadow:
    0 0 0 1px rgba(0, 114, 188, 0.2),
    0 0 16px rgba(0, 114, 188, 0.28);
}

.btn-outline-dark:hover {
  background: var(--blue);
  color: var(--white) !important;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35),
    0 0 24px rgba(0, 114, 188, 0.5);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero — full bleed photo, brand-first cover (PPT slide 1) */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(
      115deg,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(0, 60, 100, 0.62) 48%,
      rgba(0, 114, 188, 0.45) 100%
    ),
    url("../assets/hero-hands.jpg") center 28% / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.hero-cover-label {
  position: absolute;
  top: 1.25rem;
  right: clamp(1.25rem, 4vw, 2.5rem);
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.accent-bar {
  width: 56px;
  height: 4px;
  background: var(--gold);
  margin-bottom: 1.25rem;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
  max-width: 42rem;
}

.hero-logo {
  width: min(118px, 28vw);
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.25));
  animation: rise 0.9s ease both;
}

.hero-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.75rem;
  animation: rise 0.9s ease 0.04s both;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.35rem);
  font-weight: 650;
  margin: 0 0 0.85rem;
  animation: rise 0.9s ease 0.08s both;
}

.hero p:not(.hero-kicker) {
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.6rem;
  animation: rise 0.9s ease 0.16s both;
}

.hero .btn-row {
  animation: rise 0.9s ease 0.24s both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page hero (inner pages) — PPT cover style */
.page-hero {
  background:
    linear-gradient(115deg, rgba(0, 114, 188, 0.95), rgba(6, 148, 148, 0.85)),
    linear-gradient(160deg, #024b7c, #036868);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero-photo {
  min-height: clamp(280px, 42vw, 380px);
  display: grid;
  align-items: end;
  background:
    linear-gradient(
      115deg,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(0, 60, 100, 0.62) 55%,
      rgba(0, 114, 188, 0.5) 100%
    ),
    url("../assets/bg-why.jpg") center 35% / cover no-repeat;
  padding: 0;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
  max-width: 40rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.4rem;
}

.page-hero p:not(.hero-kicker) {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.page-hero .hero-kicker {
  color: var(--gold);
}

.section-lead-on-dark {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 42rem;
}

.mission-split-reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.mission-split-reverse .mission-split-copy {
  margin-left: 0;
  margin-right: auto;
}

.about-benefit {
  max-width: 44rem;
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.about-benefit .section-title {
  max-width: 22ch;
}

.about-mission .section-title-on-dark {
  max-width: 18ch;
}

/* Projects — featured project + cascaded album + lightbox */
.page-hero-projects {
  background-image:
    linear-gradient(
      180deg,
      rgba(8, 10, 12, 0.5) 0%,
      rgba(8, 10, 12, 0.22) 28%,
      rgba(4, 22, 40, 0.45) 68%,
      rgba(4, 22, 40, 0.78) 100%
    ),
    url("../assets/projects-hero.jpg");
  background-size: cover;
  background-position: center 45%;
  min-height: clamp(360px, 52vw, 520px);
  margin-bottom: 1.15rem;
}

.page-projects .page-hero-projects .page-hero-inner {
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 2.25rem);
}

.page-projects main {
  background: var(--light);
}

.project-band {
  position: relative;
  isolation: isolate;
  background-color: #04243a;
  background-image: none;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: clamp(3.25rem, 7vw, 5.75rem) 0;
  margin: 0 0 1.15rem;
  border-top: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  overflow-x: hidden;
  overflow-x: clip;
}

#orphanage-care,
#healthcare-support {
  width: 92%;
  margin-left: 0;
  margin-right: auto;
}

#children-education {
  width: 92%;
  margin-left: auto;
  margin-right: 0;
}

.project-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--project-bg);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  opacity: 0.38;
  filter: saturate(0.65) brightness(0.85);
}

.project-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(4, 22, 40, 0.88) 0%,
    rgba(4, 22, 40, 0.78) 46%,
    rgba(4, 22, 40, 0.7) 100%
  );
}

#orphanage-care::before {
  background-image: url("../assets/orphanage-bg.jpg");
}

#children-education::before {
  background-image: url("../assets/education-76.jpg");
}

#healthcare-support::before {
  background-image: url("../assets/healthcare-01.jpg");
}

.project-band-alt::after {
  background: linear-gradient(
    255deg,
    rgba(4, 22, 40, 0.88) 0%,
    rgba(4, 22, 40, 0.78) 50%,
    rgba(4, 22, 40, 0.7) 100%
  );
}

.project-band-intro {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  margin-top: 0.5rem;
  background-image: none;
  background-color: var(--blue);
  border-top-color: var(--gold);
}

.project-band-intro::before,
.project-band-intro::after,
.project-band-mini::before,
.project-band-mini::after {
  content: none;
  display: none;
}

.other-ways {
  padding: clamp(2.4rem, 5vw, 3.75rem) 0 1.5rem;
  background: var(--light);
}

.other-ways-head {
  max-width: 40rem;
  margin-bottom: 0.5rem;
}

.other-ways-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 1.5rem;
  margin-top: 1.75rem;
  align-items: start;
  padding-bottom: 2.5rem;
}

.other-ways-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0.85rem;
  padding: 1.45rem 1.4rem 1.55rem;
  border-radius: 4px;
  color: var(--white);
  background: linear-gradient(165deg, #005a96 0%, #043a5c 100%);
  border-top: 4px solid var(--gold);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.22),
    0 0 22px rgba(0, 114, 188, 0.38),
    0 0 40px rgba(218, 164, 40, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.other-ways-card:nth-child(even) {
  margin-top: 2.6rem;
}

.other-ways-card:nth-child(3) {
  margin-top: -0.4rem;
}

.other-ways-card:nth-child(5) {
  margin-top: 1.1rem;
  margin-left: 12%;
  max-width: 94%;
}

.other-ways-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.26),
    0 0 28px rgba(0, 114, 188, 0.5),
    0 0 52px rgba(218, 164, 40, 0.28);
}

#hardship-relief.other-ways-card {
  background: linear-gradient(165deg, #0072BC 0%, #024b7c 100%);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(218, 164, 40, 0.42);
}

#skills-employability.other-ways-card {
  background: linear-gradient(165deg, #069494 0%, #035c5c 100%);
  border-top-color: var(--teal);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.22),
    0 0 24px rgba(6, 148, 148, 0.45);
}

#clean-water.other-ways-card {
  background: linear-gradient(165deg, #0072BC 0%, #043a5c 100%);
}

#emergency-relief.other-ways-card {
  background: linear-gradient(165deg, #1a1a1a 0%, #0a2233 100%);
  border-top-color: var(--gold);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(218, 164, 40, 0.35);
}

#community-development.other-ways-card {
  background: linear-gradient(165deg, #005a96 0%, #023352 100%);
}

.other-ways-card .focus-num {
  color: var(--gold);
}

.other-ways-card .project-label {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.other-ways-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.project-band-mini {
  padding: clamp(1.6rem, 3.5vw, 2.4rem) 0;
  margin-bottom: 0.85rem;
  border-top-width: 4px;
  background-image: none;
  background-color: var(--blue-deep);
}

.project-band-copy {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.project-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.2fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.project-band-inner-flip {
  grid-template-columns: minmax(280px, 1.2fr) minmax(0, 0.9fr);
}

.project-band-inner-flip .project-band-copy {
  order: 2;
}

.project-band-inner-flip .album-cascade-side {
  order: 1;
}

.project-band .section-eyebrow {
  color: var(--gold);
}

.project-band-lead,
.project-band p,
.project-band .project-bullets {
  color: rgba(255, 255, 255, 0.92);
  max-width: 62ch;
}

.project-band-lead {
  font-size: 1.12rem;
  margin-bottom: 1.15rem;
}

.project-subhead {
  font-size: 1.15rem;
  color: var(--gold);
  margin: 1.5rem 0 0.5rem;
}

.project-bullets {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
}

.project-bullets li {
  margin-bottom: 0.5rem;
}

.project-bullets strong {
  color: var(--white);
}

.project-more {
  display: none;
  margin-bottom: 1.15rem;
}

.project-more.is-open {
  display: block;
}

.project-expand {
  display: inline-flex;
  align-items: center;
  margin-top: 0.25rem;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.02em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 0 18px rgba(218, 164, 40, 0.6),
    0 0 34px rgba(218, 164, 40, 0.32);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.project-expand:hover,
.project-expand:focus-visible {
  background: var(--gold-dark);
  outline: none;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.55),
    0 0 26px rgba(218, 164, 40, 0.8),
    0 0 48px rgba(218, 164, 40, 0.45);
}

.info-panel-on-photo {
  background: rgba(248, 249, 250, 0.94);
  color: var(--dark);
}

.info-panel-on-photo p {
  color: var(--dark);
}

.album-cascade-side {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.5rem 1.75rem 1.5rem 2.25rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: transform 0.2s ease;
}

.album-hint {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 8;
  transform: translate(-50%, -50%);
  padding: 0.55rem 1.15rem;
  border-radius: 2px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

@media (hover: hover) {
  .album-cascade-side:hover .album-hint,
  .album-cascade-side:focus-visible .album-hint {
    opacity: 1;
    visibility: visible;
  }
}

.album-cascade-side:hover {
  transform: translateY(-4px);
}

.album-cascade-side:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 8px;
}

.album-stack {
  position: relative;
  display: block;
  width: min(630px, 92vw);
  height: min(690px, 100vw);
  margin: 0 auto;
}

.album-stack-card {
  position: absolute;
  inset: 0;
  width: min(444px, 58vw);
  height: min(588px, 76vw);
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  border: 3px solid var(--white);
}

.album-stack-card:nth-child(1) {
  transform: translate(-108px, 66px) rotate(-12deg);
  z-index: 1;
}

.album-stack-card:nth-child(2) {
  transform: translate(-36px, 30px) rotate(-5deg);
  z-index: 2;
}

.album-stack-card:nth-child(3) {
  transform: translate(42px, 18px) rotate(3deg);
  z-index: 3;
}

.album-stack-card:nth-child(4) {
  transform: translate(102px, 42px) rotate(10deg);
  z-index: 4;
}

.album-stack-front {
  transform: translate(30px, 0) rotate(1deg) !important;
  z-index: 5 !important;
  width: min(468px, 62vw);
  height: min(624px, 82vw);
}

.project-mini-inner {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.project-band-mini .focus-num {
  color: var(--gold);
}

.project-band-mini .project-label {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.project-band-mini p {
  margin: 0;
  max-width: 62ch;
}

.project-band-actions {
  background: var(--light);
  padding: 1.75rem 0 2.25rem;
}

/* Lightbox */
html.lightbox-open,
body.lightbox-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  height: 100vh;
  height: 100dvh;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.88);
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 920px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.75rem 0.5rem;
  align-items: center;
}

.lightbox-figure {
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  background: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-image {
  width: 100%;
  max-height: min(72vh, 780px);
  max-height: min(62dvh, 780px);
  object-fit: contain;
  background: #000;
  display: block;
}

.lightbox-caption {
  display: none;
}

.lightbox-nav {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--dark);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  grid-row: 1;
}

.lightbox-prev {
  grid-column: 1;
}

.lightbox-next {
  grid-column: 3;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: var(--gold-dark);
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-counter {
  grid-column: 1 / -1;
  grid-row: 2;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-light {
  background: var(--light);
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}

.section-teal {
  background: var(--teal);
  color: var(--white);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-blue .section-eyebrow,
.section-teal .section-eyebrow {
  color: var(--gold);
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  max-width: 18ch;
}

.section-title-wide {
  max-width: none;
  white-space: nowrap;
}

.section-title-on-dark {
  max-width: 22ch;
  color: var(--white);
}

.section-head {
  margin-bottom: 0.5rem;
}

.section-lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.section-blue .section-lead,
.section-teal .section-lead {
  color: rgba(255, 255, 255, 0.88);
}

/* Split cards — Care / Relief / Foundation (PPT slide 2) */
.section-split-why {
  background: var(--white);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 1.35rem 1.6rem;
  width: min(100% - 2rem, 1240px);
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
  align-items: start;
}

.home-main {
  min-width: 0;
}

.home-main .container {
  width: 100%;
  max-width: none;
}

.news-rail {
  position: sticky;
  top: calc(var(--nav-h) + 0.85rem);
  padding: 1.2rem 1.15rem 1.35rem;
  background: var(--white);
  border-top: 6px solid var(--gold);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.1),
    0 0 22px rgba(0, 114, 188, 0.12);
}

.news-rail-title {
  font-size: 1.45rem;
  color: var(--blue);
  margin: 0.35rem 0 1rem;
}

.news-scroller {
  display: block;
}

.news-feature {
  display: block;
  text-decoration: none !important;
  color: inherit;
  margin-bottom: 1rem;
}

.news-feature img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 0.7rem;
}

.news-feature h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin: 0.4rem 0 0.35rem;
}

.news-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-tag-teal {
  background: var(--teal);
  color: var(--white);
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.news-list li {
  margin: 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.news-list a {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  text-decoration: none !important;
  color: inherit;
  align-items: start;
}

.news-list img {
  width: 72px;
  height: 72px;
  object-fit: cover;
}

.news-list strong {
  display: block;
  margin: 0.25rem 0 0.2rem;
  color: var(--dark);
  font-size: 0.95rem;
  line-height: 1.3;
}

.news-list em {
  display: block;
  font-style: normal;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.news-rail-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--blue);
}

.news-feature:hover h3,
.news-list a:hover strong,
.news-rail-link:hover {
  color: var(--teal);
}

.split-stack {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.split-card {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) 1fr;
  min-height: 220px;
  background: var(--ink);
  overflow: hidden;
}

.split-card-reverse {
  grid-template-columns: 1fr minmax(140px, 0.42fr);
}

.split-card-reverse .split-card-media {
  order: 2;
}

.split-card-reverse .split-card-body {
  order: 1;
}

.split-card-media {
  background-size: cover;
  background-position: center;
  min-height: 200px;
}

.split-card-body {
  padding: clamp(1.4rem, 3vw, 2.1rem);
  color: var(--white);
  border-left: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-card-reverse .split-card-body {
  border-left: 0;
  border-right: 4px solid var(--gold);
}

.split-card-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.45rem;
}

.split-card-body h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--white);
  margin: 0 0 0.55rem;
}

.split-card-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 38rem;
}

.divider {
  height: 3px;
  width: 48px;
  background: var(--gold);
  margin: 1.25rem 0 0;
  border: 0;
}

/* Impact dark panels (PPT slides 6+8) */
.impact-dark {
  background:
    linear-gradient(115deg, rgba(10, 10, 10, 0.92) 0%, rgba(0, 70, 120, 0.85) 100%),
    url("../assets/bg-choose.jpg") center / cover no-repeat;
  color: var(--white);
}

.impact-dark .section-eyebrow {
  color: var(--gold);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.impact-panel {
  background: rgba(255, 255, 255, 0.06);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.35rem 1.6rem;
  backdrop-filter: blur(4px);
}

.impact-num {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.impact-panel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
  color: var(--white);
}

.impact-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

/* Mission split (PPT slide 9) */
.mission-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: clamp(420px, 58vw, 560px);
  background: var(--light);
}

.mission-split-copy {
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 36rem;
  margin-left: auto;
  width: 100%;
}

.mission-split-media {
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.mission-split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

/* Numbered focus rows — projects */
.section-projects-focus {
  background: var(--white);
}

.focus-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.focus-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.25rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.12);
  align-items: start;
}

.focus-num {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  padding-top: 0.2rem;
}

.focus-body .project-label {
  margin-bottom: 0.35rem;
}

.focus-body p {
  margin: 0;
  color: var(--muted);
}

/* Legacy project list (inner pages) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.why-item {
  padding: 0;
  border: 0;
  background: transparent;
}

.why-item h3 {
  font-size: 1.45rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.why-item h3 span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
}

.why-item p {
  color: var(--muted);
  margin: 0;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.25rem;
}

.choose-item {
  position: relative;
  padding-left: 1.1rem;
  border-left: 3px solid var(--gold);
}

.choose-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.choose-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.mission-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.mission-band .media-panel {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}

.mission-band .media-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.mission-band .media-panel figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Full-bleed photo band */
.photo-band {
  position: relative;
  min-height: clamp(280px, 42vw, 420px);
  display: grid;
  align-items: end;
  color: var(--white);
  background: #1a1a1a center / cover no-repeat;
}

.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.78) 100%);
}

.photo-band-inner {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  max-width: 36rem;
}

.photo-band h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 0.5rem;
}

.photo-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
}

.page-visual {
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: 4px;
}

.page-visual img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

/* Projects */
.project-list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
}

.project-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(26, 26, 26, 0.1);
  align-items: start;
}

.project-row:last-child {
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.project-label {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--blue);
  font-weight: 650;
}

.project-row p {
  margin: 0;
  color: var(--muted);
}

/* CTA banner / join (PPT slide 10) */
.cta-banner {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  max-width: none;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.9);
}

.cta-banner .btn-row {
  justify-content: center;
  margin-top: 1.5rem;
}

.cta-join {
  background:
    linear-gradient(115deg, rgba(4, 80, 80, 0.9) 0%, rgba(0, 90, 140, 0.88) 100%),
    url("../assets/bg-cta.jpg") center / cover no-repeat;
  color: var(--white);
}

.cta-join .section-eyebrow {
  color: var(--gold);
}

.cta-join .cta-banner p {
  color: rgba(255, 255, 255, 0.92);
}

/* Name meaning */
.meaning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.5rem 0 0;
}

.meaning img {
  width: 72px;
}

.meaning p {
  margin: 0;
  color: var(--muted);
}

.meaning strong {
  color: var(--blue);
}

/* Forms */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  font-size: 16px;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(26, 26, 26, 0.18);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  width: 100%;
  max-width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Content pages */
.prose {
  max-width: 44rem;
}

.prose h2 {
  font-size: 1.55rem;
  color: var(--blue);
  margin-top: 2rem;
}

.prose ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.prose li {
  margin-bottom: 0.45rem;
}

.info-panel {
  background: var(--light);
  border-left: 4px solid var(--teal);
  padding: 1.25rem 1.4rem;
  margin: 1.5rem 0;
}

.info-panel strong {
  color: var(--blue);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
  border-top: 4px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.footer-logo-link {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.footer-logo-link:hover img,
.footer-logo-link:focus-visible img {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.footer-brand img {
  width: 56px;
  background: transparent;
  padding: 0;
}

.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer h4 {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.4rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal p {
  margin: 0 0 0.5rem;
}

/* Sliding relief gallery */
.slider-section {
  overflow: hidden;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--light);
}

.slider-section .container {
  margin-bottom: 1.5rem;
}

.slider-frame {
  position: relative;
  padding: 0.5rem 0 0;
  border-top: 4px solid var(--gold);
}

.slider-wrap {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.slider-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: slide-left 45s linear infinite;
  will-change: transform;
  padding: 1.25rem 0 0.5rem;
}

.slider-wrap:hover .slider-track,
.slider-wrap:focus-within .slider-track {
  animation-play-state: paused;
}

.slider-slide {
  margin: 0;
  flex: 0 0 auto;
  width: min(260px, 62vw);
  height: min(360px, 72vw);
  overflow: hidden;
  border-radius: var(--radius);
  background: #111;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes slide-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .slider-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    max-width: var(--max);
    margin-inline: auto;
    padding: 0 1.25rem;
  }
}

.team-slider-section {
  background: var(--light);
  padding: 0 0 0.5rem;
  border-top: 8px solid var(--gold);
}

.team-slider {
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}

.team-slider-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  -webkit-user-select: none;
}

.team-slider.is-dragging .team-slider-viewport {
  cursor: grabbing;
}

.team-slider-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  padding: 1.25rem 0.75rem;
  will-change: transform;
}

.team-slide {
  margin: 0;
  flex: 0 0 auto;
  width: min(280px, 70vw);
  height: min(400px, 78vw);
  overflow: hidden;
  background: #111;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.18),
    0 0 18px rgba(0, 114, 188, 0.16);
}

.team-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.team-slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.4),
    0 0 18px rgba(218, 164, 40, 0.55);
}

.team-slider-prev {
  left: 0.65rem;
}

.team-slider-next {
  right: 0.65rem;
}

.team-slider-btn:hover,
.team-slider-btn:focus-visible {
  background: var(--gold-dark);
  outline: none;
}

/* Where we work */
.where-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.18fr);
  min-height: min(78vh, 640px);
  background: var(--blue);
}

.where-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3.5rem);
  background: var(--blue);
  color: var(--white);
}

.where-hero-copy h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  max-width: 14ch;
}

.where-hero-copy p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
}

.where-hero-photo {
  min-height: 420px;
  background: url("../assets/projects-hero.jpg") center / cover no-repeat;
  filter: none;
  opacity: 1;
}

.where-places {
  background: var(--light);
}

.where-stack {
  display: grid;
  gap: 1.35rem;
  margin-top: 1.75rem;
}

.where-country-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.where-country-list li {
  margin: 0;
  padding: 0.95rem 1.1rem;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  border-top: 5px solid var(--gold);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.1),
    0 0 18px rgba(0, 114, 188, 0.14);
}

.where-country-list li span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.where-country-list li:nth-child(even) {
  margin-top: 1.15rem;
  border-top-color: var(--teal);
}

.where-country-list li:nth-child(odd) {
  margin-right: 0.4rem;
}

.where-card {
  position: relative;
  max-width: 86%;
  padding: clamp(1.5rem, 3.5vw, 2.15rem);
  background: var(--white);
  border-top: 6px solid var(--gold);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.14),
    0 0 24px rgba(0, 114, 188, 0.16);
}

.where-card:nth-child(even) {
  margin-left: 14%;
  max-width: 86%;
  border-top-color: var(--teal);
}

.where-card:nth-child(odd) {
  margin-right: 10%;
}

.where-card h3 {
  color: var(--blue);
  font-size: clamp(1.55rem, 3vw, 2rem);
  margin-bottom: 0.55rem;
}

.where-card p {
  margin: 0 0 0.75rem;
}

.where-card p:last-child {
  margin-bottom: 0;
}

.where-card-uk {
  background: var(--blue);
  color: var(--white);
}

.where-card-uk .section-eyebrow,
.where-card-uk h3,
.where-card-uk p {
  color: var(--white);
}

.where-card-photo {
  min-height: 320px;
  max-width: 92%;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: none;
  opacity: 1;
  display: flex;
  align-items: flex-end;
}

.where-card-panel {
  width: min(100%, 34rem);
  margin: 1.15rem;
  padding: 1.25rem 1.35rem 1.4rem;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.where-card-panel .section-eyebrow,
.where-card-panel h3,
.where-card-panel p {
  color: var(--white);
}

.where-card-photo:nth-child(even) .where-card-panel {
  margin-left: auto;
  background: var(--teal);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  :root {
    --nav-h: 64px;
  }

  body {
    font-size: 1rem;
  }

  h1, h2, h3, p, li {
    overflow-wrap: anywhere;
  }

  .container {
    width: min(100% - 1.25rem, var(--max));
  }

  .nav-bar {
    gap: 0.5rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    max-width: 100%;
    padding: 2.1rem 0 2.35rem;
  }

  .hero-brand {
    font-size: clamp(1.55rem, 7.5vw, 2.35rem);
  }

  .hero p:not(.hero-kicker) {
    font-size: 1rem;
    max-width: 100%;
  }

  .page-hero {
    padding: 2.15rem 0 1.7rem;
  }

  .page-hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .section-title {
    max-width: 100%;
    font-size: clamp(1.4rem, 6.2vw, 2rem);
  }

  .section-lead {
    font-size: 1rem;
  }

  .home-shell,
  .news-rail,
  .split-card,
  .project-band,
  .footer-grid,
  .blog-grid,
  .blog-article {
    max-width: 100%;
  }

  .team-slider,
  .slider-frame {
    overflow: hidden;
  }

  .album-cascade-side {
    overflow: hidden;
    max-width: 100%;
    padding: 0.85rem 0.35rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero-img {
    height: 190px;
  }

  .hero-cover-label {
    top: 0.85rem;
    right: 1rem;
    font-size: 0.65rem;
  }

  .section-title-wide {
    white-space: normal;
  }

  .split-card,
  .split-card-reverse {
    grid-template-columns: 1fr;
  }

  .split-card-reverse .split-card-media,
  .split-card-reverse .split-card-body {
    order: initial;
  }

  .split-card-body,
  .split-card-reverse .split-card-body {
    border-left: 4px solid var(--gold);
    border-right: 0;
  }

  .split-card-media {
    min-height: 160px;
  }

  .home-shell {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    padding: 0.55rem 0.65rem 1.25rem;
    box-sizing: border-box;
  }

  .news-rail {
    position: static;
    max-height: none;
    overflow: visible;
    order: 2;
    padding: 0.9rem 0.65rem 1.05rem;
    max-width: 100%;
    overflow: hidden;
  }

  .news-rail-title {
    font-size: 1.2rem;
    margin: 0.2rem 0 0.85rem;
  }

  .news-scroller {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 0.1rem 0 0.65rem;
    margin: 0;
    max-width: 100%;
  }

  .news-list {
    display: flex;
    gap: 0.75rem;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .news-feature,
  .news-list li {
    flex: 0 0 min(74vw, 250px);
    scroll-snap-align: start;
    margin: 0;
    border: 0;
    background: var(--light);
    box-shadow: 0 8px 20px rgba(0, 114, 188, 0.1);
    padding: 0.7rem 0.7rem 0.85rem;
  }

  .news-feature {
    margin-bottom: 0;
  }

  .news-feature img,
  .news-list img {
    width: 100%;
    height: 132px;
    object-fit: cover;
  }

  .news-feature h3 {
    font-size: 1rem;
  }

  .news-feature p {
    font-size: 0.85rem;
    display: block;
  }

  .news-list a {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding: 0;
  }

  .news-list strong {
    font-size: 0.92rem;
  }

  .news-list em {
    display: block;
    font-size: 0.8rem;
  }

  .news-rail-link {
    margin-top: 0.7rem;
    font-size: 0.92rem;
  }

  .home-main .slider-frame {
    overflow: hidden;
  }

  .home-main .team-slide {
    width: min(176px, calc(100vw - 5.5rem));
    height: min(230px, 58vw);
  }

  .why-grid,
  .choose-grid,
  .footer-grid,
  .mission-band,
  .impact-grid,
  .mission-split {
    grid-template-columns: 1fr;
  }

  .mission-split-copy {
    margin-left: 0;
    max-width: none;
  }

  .mission-split-reverse {
    grid-template-columns: 1fr;
  }

  .mission-split-reverse .mission-split-media {
    order: -1;
  }

  .project-band-inner,
  .project-band-inner-flip {
    grid-template-columns: 1fr;
  }

  #orphanage-care,
  #children-education,
  #healthcare-support {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .where-hero {
    grid-template-columns: 1fr;
  }

  .where-hero-photo {
    min-height: 280px;
  }

  .where-card,
  .where-card:nth-child(even),
  .where-card:nth-child(odd),
  .where-card-photo {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .where-country-list {
    grid-template-columns: 1fr;
  }

  .where-country-list li:nth-child(even) {
    margin-top: 0;
    margin-left: 0;
  }

  .where-country-list li:nth-child(odd) {
    margin-right: 0;
  }

  .other-ways-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding-bottom: 1.5rem;
  }

  .other-ways-card:nth-child(even),
  .other-ways-card:nth-child(3) {
    margin-top: 0;
    margin-left: 0;
  }

  .other-ways-card:nth-child(odd) {
    margin-right: 0;
    margin-left: 0;
  }

  .other-ways-card:nth-child(5) {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
  }

  .project-band-inner-flip .project-band-copy,
  .project-band-inner-flip .album-cascade-side {
    order: initial;
  }

  .album-cascade-side {
    padding: 1.5rem 0.5rem 0.75rem;
  }

  .album-stack {
    width: min(300px, 86vw);
    height: min(340px, 88vw);
  }

  .album-stack-card {
    width: min(210px, 56vw);
    height: min(270px, 70vw);
  }

  .album-stack-front {
    width: min(224px, 60vw);
    height: min(288px, 74vw);
  }

  .album-stack-card:nth-child(1) {
    transform: translate(-48px, 28px) rotate(-12deg);
  }

  .album-stack-card:nth-child(2) {
    transform: translate(-16px, 14px) rotate(-5deg);
  }

  .album-stack-card:nth-child(3) {
    transform: translate(20px, 8px) rotate(3deg);
  }

  .album-stack-card:nth-child(4) {
    transform: translate(46px, 18px) rotate(10deg);
  }

  .album-stack-front {
    transform: translate(12px, 0) rotate(1deg) !important;
  }

  .project-mini-inner {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .lightbox-panel {
    grid-template-columns: 1fr;
    width: min(100% - 1.25rem, 920px);
  }

  .lightbox-figure {
    grid-column: 1;
  }

  .lightbox-nav {
    position: absolute;
    bottom: -3.5rem;
    z-index: 2;
  }

  .lightbox-prev {
    left: 20%;
  }

  .lightbox-next {
    right: 20%;
  }

  .lightbox-close {
    top: -2.75rem;
    right: 0.25rem;
  }

  .lightbox-counter {
    margin-top: 3.75rem;
  }

  .focus-row,
  .project-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .focus-num {
    padding-top: 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 auto 0;
    max-height: calc(100dvh - var(--nav-h) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    gap: 0;
    border-bottom: 1px solid rgba(0, 114, 188, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.28s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.2rem;
  }

  .nav-links .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
  }

  .page-projects .site-header .nav-links a:not(.nav-cta) {
    color: var(--dark);
  }

  .page-projects .site-header .nav-links a:hover,
  .page-projects .site-header .nav-links a[aria-current="page"] {
    color: var(--blue);
  }

  .brand-text {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 1.1rem, var(--max));
  }

  .home-shell {
    width: 100%;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .section {
    padding: clamp(2.25rem, 8vw, 3.25rem) 0;
  }

  .hero-inner,
  .page-hero-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .hero .btn-row,
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn,
  .nav-links .nav-cta {
    width: 100%;
    min-height: 48px;
  }

  .project-expand {
    min-height: 48px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .album-stack {
    width: min(240px, 78vw);
    height: min(270px, 80vw);
    overflow: hidden;
  }

  .album-stack-card {
    width: min(200px, 58vw);
    height: min(260px, 72vw);
  }

  .album-stack-front {
    width: min(214px, 62vw);
    height: min(278px, 76vw);
  }

  .album-stack-card:nth-child(1) {
    transform: translate(-28px, 18px) rotate(-10deg);
  }

  .album-stack-card:nth-child(2) {
    transform: translate(-10px, 10px) rotate(-4deg);
  }

  .album-stack-card:nth-child(3) {
    transform: translate(12px, 6px) rotate(3deg);
  }

  .album-stack-card:nth-child(4) {
    transform: translate(28px, 12px) rotate(8deg);
  }

  .album-stack-front {
    transform: translate(8px, 0) rotate(1deg) !important;
  }

  .album-cascade-side {
    overflow: hidden;
    max-width: 100%;
  }

  .team-slide {
    width: min(220px, 72vw);
    height: min(300px, 80vw);
  }

  .team-slider-btn {
    width: 44px;
    height: 44px;
  }

  .where-hero-copy,
  .where-card-panel {
    padding: 1.15rem 1rem 1.25rem;
  }

  .where-card-photo {
    min-height: 240px;
  }

  .news-feature,
  .news-list li {
    flex-basis: min(78vw, 240px);
  }

  .news-feature img,
  .news-list img {
    height: 118px;
  }

  .site-footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }
}

.news-tag-break {
  background: var(--blue);
  color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.blog-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  background: var(--white);
  border-top: 6px solid var(--gold);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  padding: 0 0 1.1rem;
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.blog-card .news-tag {
  margin-left: 1rem;
}

.blog-card-meta {
  margin: 0.45rem 1rem 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.blog-card h2 {
  font-size: 1.2rem;
  margin: 0 1rem 0.4rem;
  color: var(--blue);
}

.blog-card p:last-child {
  margin: 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-article {
  max-width: 760px;
}

.blog-hero-img {
  width: 100%;
  height: min(42vw, 320px);
  object-fit: cover;
  margin: 1rem 0 1.25rem;
}

.blog-source {
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

