/* CCA-SL — shared site styles */

:root {
  --bg: #F6F4EE;
  --surface: #FFFFFF;
  --surface-alt: #FBFAF7;
  --border: #E2DED3;
  --border-soft: #ECE9E1;
  --border-strong: #D8D3C6;
  --input-border: #CFCABD;

  --ink: #1A1F1C;
  --ink-2: #2E3631;
  --ink-3: #3A443E;
  --muted: #4A544E;

  --forest: #0F3D26;
  --forest-deep: #0A2B1B;
  --forest-mid: #1A5236;
  --forest-line: #2E5E44;
  --green: #1E7A46;
  --mint: #9FD3AE;
  --mint-tint: #DCEBDD;
  --on-dark: #E4ECE6;
  --on-dark-muted: #C9D8CE;

  --blue: #1D4F8A;
  --blue-tint: #DCE6F2;

  --font-body: Inter, system-ui, sans-serif;
  --font-display: 'Bricolage Grotesque', sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }

a { color: var(--green); }
a:hover { color: var(--forest); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--forest); margin: 0; }
p { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band--top-only { border-bottom: 0; }

.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 244, 238, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  padding-top: 18px; padding-bottom: 18px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; color: var(--forest); }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.01em; }
.brand__tag { font-size: 12px; color: var(--muted); }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; padding: 10px 0; }
.site-nav a:hover { color: var(--forest); }
.site-nav a:not(.btn) { border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.site-nav a[aria-current="true"] { color: var(--forest); border-bottom-color: var(--green); }
section[tabindex="-1"]:focus { outline: none; }
.site-nav a[aria-current="page"] { color: var(--forest); font-weight: 600; border-bottom: 2px solid var(--green); }
.site-nav .btn { font-size: 15px; padding: 12px 22px; }

/* ---------- Buttons, pills, labels ---------- */
.btn {
  display: inline-block; text-decoration: none; font: inherit; font-weight: 600;
  padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer;
}
.btn--primary, .site-nav .btn--primary { background: var(--green); color: #FFFFFF; }
.btn--primary:hover, .site-nav .btn--primary:hover { background: var(--forest); color: #FFFFFF; }
.btn--outline { color: var(--forest); border: 1.5px solid var(--forest); padding: 14px 27px; }
.btn--outline:hover { background: var(--forest); color: #FFFFFF; }
.btn--light { background: var(--bg); color: var(--forest); }
.btn--light:hover { background: #FFFFFF; color: var(--forest); }

.badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--forest); background: var(--mint-tint);
  padding: 4px 12px; border-radius: 999px;
}
.badge--lg { font-size: 14px; padding: 6px 14px; }
.badge--blue { color: var(--blue); background: var(--blue-tint); }

.chip {
  padding: 7px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--forest);
}
.chip--lg { padding: 10px 18px; font-size: 17px; }

.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }

.section-title {
  font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em;
}
.section-head { display: flex; flex-direction: column; gap: 14px; }

.text-link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 10px 0; }

/* ---------- Hero ---------- */
.hero { padding-top: 72px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__copy { flex: 1 1 480px; min-width: 0; gap: 24px; }
.hero__title {
  font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.02; letter-spacing: -0.025em;
}
.hero__lede { font-size: 20px; line-height: 1.5; color: var(--ink-3); max-width: 34rem; }
.hero__actions { gap: 12px; margin-top: 8px; }
.hero__mosaic {
  flex: 1 1 460px; min-width: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: 220px 200px; gap: 14px;
}
.hero__mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.hero__mosaic .span-main { grid-column: span 3; grid-row: span 2; }
.hero__mosaic .span-2 { grid-column: span 2; }
.stat-tile {
  grid-column: span 2; background: var(--forest); color: var(--bg); border-radius: 24px; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.stat-tile__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; }
.stat-tile__label { font-size: 14px; line-height: 1.4; color: var(--on-dark-muted); }

/* ---------- News ---------- */
.news { padding-bottom: 88px; }
.news__card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 14px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch;
}
.news__logo {
  flex: 1 1 300px; min-width: 0; background: var(--surface); border: 1px solid var(--border-soft); border-radius: 20px;
  padding: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.news__logo img { width: 100%; max-width: 300px; height: auto; }
.news__logo span { font-size: 13px; color: var(--muted); text-align: center; }
.news__body { flex: 2 1 520px; min-width: 0; padding: 28px 28px 28px 20px; gap: 16px; }
.news__title { font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.15; letter-spacing: -0.015em; }
.news__body > p { color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* ---------- About ---------- */
.about { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 48px 72px; }
.about__head { flex: 1 1 320px; min-width: 0; }
.about__body { flex: 2 1 560px; min-width: 0; gap: 20px; color: var(--ink-2); }
.about__lead { font-size: 19px; line-height: 1.6; color: var(--ink); }
.facts { gap: 12px; margin: 8px 0 0; }
.fact {
  flex: 1 1 200px; border: 1px solid var(--border); border-radius: 16px; padding: 16px 20px;
  display: flex; flex-direction: column; gap: 2px;
}
.fact dt { font-size: 13px; color: var(--muted); }
.fact dd { margin: 0; font-weight: 600; color: var(--forest); }

/* ---------- Quote ---------- */
.quote {
  max-width: 1000px; margin: 0 auto; padding: 96px 24px;
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.quote blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.2; letter-spacing: -0.015em; color: var(--forest);
}
.quote__cite { font-size: 15px; color: var(--muted); }
.quote__note { max-width: 40rem; color: var(--ink-3); }

/* ---------- Purpose ---------- */
.purpose { padding-bottom: 96px; gap: 36px; }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.purpose-card {
  flex: 1 1 320px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 24px;
  padding: 32px; display: flex; flex-direction: column; gap: 16px;
}
.purpose-card__head { display: flex; align-items: center; gap: 14px; }
.purpose-card h3 { font-weight: 700; font-size: 24px; }
.purpose-card p { font-size: 18px; line-height: 1.55; color: var(--ink); }
.icon-tile {
  flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--mint-tint);
  display: flex; align-items: center; justify-content: center; color: var(--forest);
}
.icon-tile--blue { background: var(--blue-tint); color: var(--blue); }
.purpose-card--dark { background: var(--forest); border-color: var(--forest); }
.purpose-card--dark h3 { color: #FFFFFF; }
.purpose-card--dark p { color: var(--on-dark); }
.purpose-card--dark .icon-tile { background: var(--forest-mid); color: var(--mint); }

/* ---------- Objectives ---------- */
.objectives { padding-top: 96px; padding-bottom: 96px; gap: 44px; }
.objectives__head { display: flex; flex-wrap: wrap; gap: 16px 72px; align-items: flex-end; }
.objectives__head > .section-head { flex: 1 1 400px; }
.objectives__head > p { flex: 1 1 360px; color: var(--ink-3); }
.objective {
  flex: 1 1 500px; min-width: 0; background: var(--bg); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.objective__head { display: flex; align-items: center; gap: 12px; color: var(--green); }
.objective h3 { font-weight: 700; font-size: 22px; }
.objective ul { margin: 0; padding: 0 0 0 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); font-size: 16px; }

/* ---------- Beliefs ---------- */
.beliefs { background: var(--forest); color: var(--bg); }
.beliefs__inner { padding-top: 96px; padding-bottom: 96px; gap: 48px; }
.beliefs .section-head { max-width: 40rem; }
.beliefs .eyebrow { color: var(--mint); }
.beliefs .section-title { color: #FFFFFF; }
.beliefs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0 48px; }
.beliefs li { flex: 1 1 440px; display: flex; gap: 20px; padding: 24px 0; border-top: 1px solid var(--forest-line); color: var(--on-dark); }
.beliefs__num { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--mint); min-width: 28px; }

/* ---------- Gallery ---------- */
.gallery { padding-top: 96px; padding-bottom: 96px; gap: 36px; }
.gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.gallery__grid { display: flex; flex-wrap: wrap; gap: 16px; }
.gallery figure { margin: 0; flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.gallery img { width: 100%; height: 280px; object-fit: cover; border-radius: 20px; }
.gallery figcaption { font-size: 14px; color: var(--muted); }

/* ---------- Full gallery page ---------- */
.gallery-page { padding-bottom: 96px; }
.gallery-page__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px 24px;
}
.gallery-page figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery-page img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; background: var(--border); }
.gallery-page figcaption { font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.gallery-page__year { display: block; font-size: 13px; font-weight: 600; color: var(--green); margin-bottom: 2px; }

/* ---------- Values ---------- */
.values { padding-top: 80px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 32px 72px; align-items: flex-start; }
.values .section-head { flex: 1 1 280px; }
.values .chips { flex: 2 1 560px; gap: 10px; }

/* ---------- Contact ---------- */
.contact { padding-top: 96px; padding-bottom: 96px; gap: 40px; }
.contact .section-head { max-width: 40rem; }
.contact .section-head p { color: var(--ink-3); }
.contact__grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.coordinator {
  flex: 1 1 340px; min-width: 0; background: var(--forest); color: var(--bg); border-radius: 28px; padding: 36px;
  display: flex; flex-direction: column; gap: 24px;
}
.coordinator__who { display: flex; align-items: center; gap: 20px; }
.coordinator__who img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; border: 3px solid var(--mint); }
.coordinator__name { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: #FFFFFF; }
.coordinator__role { color: var(--on-dark-muted); }
.coordinator__links { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--forest-line); padding-top: 24px; }
.coordinator__links a { display: flex; align-items: center; gap: 14px; color: #FFFFFF; text-decoration: none; min-height: 44px; }
.coordinator__links a:hover { color: var(--mint); }
.coordinator__icon {
  flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--forest-mid); color: var(--mint);
  display: flex; align-items: center; justify-content: center;
}

.contact-form {
  flex: 2 1 480px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  padding: 36px; display: flex; flex-direction: column; gap: 20px;
}
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input,
.field textarea {
  font: inherit; font-size: 16px; padding: 13px 16px; border: 1.5px solid var(--input-border); border-radius: 12px;
  background: var(--surface-alt); color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus,
.field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--mint-tint); }
.contact-form .btn { align-self: flex-start; padding: 15px 32px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Thank-you page ---------- */
.thanks { padding-top: 120px; padding-bottom: 140px; gap: 20px; align-items: flex-start; max-width: 720px; }
.thanks h1 { font-weight: 800; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; }
.thanks p { font-size: 19px; color: var(--ink-3); }
.thanks .btn { margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--on-dark-muted); }
.site-footer__inner {
  padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 16px; font-size: 14px;
}
.social {
  width: 44px; height: 44px; border-radius: 50%; background: var(--forest-mid); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
}
.social:hover { background: var(--green); color: #FFFFFF; }

/* ---------- Team page ---------- */
.team-intro { padding-top: 72px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 24px 72px; align-items: flex-end; }
.team-intro__head { flex: 1 1 480px; min-width: 0; gap: 18px; }
.team-intro__head .text-link { font-size: 15px; }
.team-intro h1 { font-weight: 800; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.025em; }
.team-intro > p { flex: 1 1 380px; min-width: 0; font-size: 19px; line-height: 1.55; color: var(--ink-3); }

.team-group { padding-top: 64px; padding-bottom: 80px; gap: 28px; }
.team-group--first { padding-top: 24px; padding-bottom: 64px; }
.team-group__head { display: flex; align-items: baseline; gap: 16px; }
.team-group--first .team-group__head { border-top: 1px solid var(--border-strong); padding-top: 24px; }
.team-group__head h2 { font-weight: 700; font-size: 28px; letter-spacing: -0.015em; }
.team-group__head span { font-size: 15px; color: var(--muted); }

.person-card {
  flex: 1 1 400px; min-width: 0; max-width: 588px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; padding: 14px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center;
}
.person-card img { flex: 0 0 200px; width: 200px; height: 240px; object-fit: cover; border-radius: 20px; }
.person-card__body { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; padding: 8px 8px 8px 0; }
.person-card h3 { margin-top: 4px; font-weight: 700; font-size: 26px; line-height: 1.15; }
.person-card p { color: var(--muted); }

.trustee { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.trustee img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.trustee h3 { font-weight: 700; font-size: 22px; }
.trustee p { font-size: 16px; color: var(--muted); }
.trustee__body { display: flex; flex-direction: column; gap: 2px; }

.join { padding-bottom: 96px; }
.join__card {
  background: var(--forest); color: var(--bg); border-radius: 28px; padding: 48px;
  display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between;
}
.join__copy { flex: 1 1 420px; min-width: 0; gap: 10px; }
.join__copy h2 { font-weight: 700; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.15; letter-spacing: -0.015em; color: #FFFFFF; }
.join__copy p { color: var(--on-dark-muted); }

@media (max-width: 640px) {
  .hero__mosaic { grid-template-rows: 180px 160px; gap: 10px; }
  .news__body { padding: 16px 8px; }
  .person-card img { flex-basis: 100%; width: 100%; height: 280px; }
  .person-card__body { padding: 0 8px 8px; }
  .join__card, .coordinator, .contact-form { padding: 28px; }
}
