:root {
  --green: #0e4d33;
  --green-dark: #093524;
  --green-deep: #12301f;
  --green-soft: #2f7a56;
  --ink: #33443b;
  --body-ink: #4a5b52;
  --muted: #6a7a71;
  --muted-2: #7c8b82;
  --muted-3: #8d9a92;
  --orange: #e88a26;
  --orange-dark: #d0761a;
  --sand: #f7b96b;
  --cream: #fffdf9;
  --cream-2: #fffaf1;
  --tint-green: #eaf3ee;
  --tint-orange: #fdf0dd;
  --panel: #f6f8f6;
  --panel-sand: #fdf6ec;
  --logo-bg: #f4f2ec;
  --line: rgba(14, 77, 51, 0.1);
  --line-2: rgba(14, 77, 51, 0.14);
  --serif: "Bitter", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --shell: 1200px;
  --gut: 28px;
}

* { box-sizing: border-box; }

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

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

body {
  margin: 0;
  background: var(--cream);
  color: #1c2b23;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--orange); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: #ffe0bd; }

h1, h2, h3 { font-family: var(--serif); margin: 0; text-wrap: pretty; }
p { margin: 0; text-wrap: pretty; }

.shell { max-width: var(--shell); margin: 0 auto; padding: 0 var(--gut); }

/* auto-fit grids: min(x, 100%) keeps the track from overflowing narrow phones */
.autogrid { display: grid; gap: 20px; }
.autogrid--280 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.autogrid--240 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.autogrid--180 { grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); }
.autogrid--150 { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  padding: 16px 30px;
  border: 1.5px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(14, 77, 51, 0.22); }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 8px 18px rgba(232, 138, 38, 0.28); }
.btn--orange:hover { background: var(--orange-dark); color: #fff; }
.btn--outline { border-color: rgba(14, 77, 51, 0.22); color: var(--green); background: #fff; }
.btn--outline:hover { border-color: var(--orange); color: var(--orange); }
.btn--outline-inv { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--outline-inv:hover { border-color: var(--sand); color: var(--sand); }
.btn--sm { padding: 13px 26px; font-size: 14.5px; }
.btn--xs { padding: 12px 24px; font-size: 14px; }

.textlink { font-size: 14.5px; font-weight: 700; color: var(--green); }
.textlink:hover { color: var(--orange); }

/* ---------- eyebrows ---------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
}
.label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- top bar ---------- */
.topbar { background: var(--green); color: #d8e8df; }
.topbar .shell {
  padding-top: 9px;
  padding-bottom: 9px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 500;
}
.topbar__right { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.topbar a { color: var(--sand); }
.topbar a:hover { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(14, 77, 51, 0.12);
}
.site-header .shell {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand:hover { color: inherit; }
.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--sand);
  flex: 0 0 auto;
}
.brand__name {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  color: var(--green-deep);
  line-height: 1.2;
}
.brand__sub {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.2;
}
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14.5px;
  font-weight: 600;
  flex-wrap: wrap;
}
/* :not(.btn) so the CTA keeps its own colours — .nav a would otherwise outrank .btn */
.nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn):hover { color: var(--orange); }
.lang { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted-2); }
.lang [aria-current="true"] { color: var(--green); font-weight: 800; }
.nav .lang a:not(.btn) { color: var(--muted-2); }
.nav .lang a:not(.btn):hover { color: var(--orange); }

/* ---------- images ---------- */
.frame { overflow: hidden; position: relative; }
.frame img, img.fill {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  border-bottom: 1px solid rgba(14, 77, 51, 0.08);
}
.hero .shell {
  padding-top: 72px;
  padding-bottom: 76px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}
.hero > .shell > div { min-width: 0; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--tint-green);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 999px;
}
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: 0 0 auto; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 22px 0 0;
  color: var(--green-deep);
}
.hero h1 span { color: var(--orange); }
.hero__lede { font-size: 17px; line-height: 1.75; color: var(--body-ink); margin-top: 22px; max-width: 50ch; }
.hero__actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero__by { display: flex; align-items: center; gap: 14px; margin-top: 34px; font-size: 14px; color: var(--body-ink); }
.hero__by strong { color: var(--green-deep); }
.avatars { display: flex; flex: 0 0 auto; }
.avatars img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--cream);
  object-fit: cover;
}
.avatars img + img { margin-left: -14px; }

.hero__media { position: relative; }
.hero__photo {
  height: 480px;
  border-radius: 28px 28px 140px 28px;
  box-shadow: 0 26px 60px rgba(14, 77, 51, 0.16);
}
.badge-since {
  position: absolute;
  bottom: -22px;
  left: -26px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 0 18px 40px rgba(14, 77, 51, 0.16);
  display: flex;
  align-items: center;
  gap: 14px;
}
.badge-since__year {
  width: 52px;
  height: 46px;
  border-radius: 14px;
  background: var(--tint-orange);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 17px;
  flex: 0 0 auto;
}
.badge-since__title { font-size: 14.5px; font-weight: 700; color: var(--green-deep); }
.badge-since__sub { font-size: 12.5px; color: var(--muted-2); }
.badge-books {
  position: absolute;
  top: 26px;
  right: -22px;
  background: var(--green);
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 16px 34px rgba(14, 77, 51, 0.24);
}
.badge-books__num { font-family: var(--serif); font-weight: 800; font-size: 22px; color: var(--sand); }
.badge-books__cap {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9d1c4;
}

/* ---------- partner strip ---------- */
.partners { border-bottom: 1px solid var(--line); }
.partners .shell {
  padding-top: 26px;
  padding-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}
.partners__label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.partners__logos { display: flex; gap: 14px; flex-wrap: wrap; flex: 1; justify-content: center; }
.partners__logos div {
  flex: 1;
  min-width: 140px;
  height: 48px;
  border-radius: 10px;
  background: var(--logo-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-3);
}

/* ---------- pillar cards ---------- */
.pillars { padding-top: 54px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: 0 12px 28px rgba(14, 77, 51, 0.06);
}
.card__num {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 17px;
  background: var(--tint-green);
  color: var(--green);
}
.card__num--orange { background: var(--tint-orange); color: var(--orange); }
.card h3 { font-weight: 700; font-size: 20px; margin: 16px 0 8px; color: var(--green-deep); }
.card p { font-size: 14.5px; line-height: 1.68; color: var(--muted); }

/* ---------- stats ---------- */
.stats { margin-top: 40px; }
.stats__panel {
  background: var(--panel-sand);
  border: 1px solid rgba(232, 138, 38, 0.22);
  border-radius: 22px;
  padding: 30px 34px;
  gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat + .stat { border-left: 1px solid rgba(232, 138, 38, 0.25); padding-left: 24px; }
.stat__num { font-family: var(--serif); font-weight: 800; font-size: 34px; color: var(--green-deep); }
.stat__cap { font-size: 13px; font-weight: 600; color: var(--muted-2); }

/* ---------- sections ---------- */
.section { padding-top: 82px; padding-bottom: 82px; }
.section h2 {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.14;
  color: var(--green-deep);
}
.section--tint { background: var(--panel); border-top: 1px solid rgba(14, 77, 51, 0.08); border-bottom: 1px solid rgba(14, 77, 51, 0.08); }
.head-center { text-align: center; max-width: 620px; margin: 0 auto; }
.head-center h2 { margin: 12px 0; }
.head-center p { font-size: 15.5px; line-height: 1.7; color: var(--muted); }

/* ---------- about ---------- */
.about .shell {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(430px, 100%), 1fr));
  gap: 64px;
  align-items: center;
}
.about .shell > div { min-width: 0; }
.collage { position: relative; height: 460px; }
.collage__main {
  position: absolute;
  inset: 0 90px 60px 0;
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(14, 77, 51, 0.14);
}
.collage__side {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 230px;
  height: 200px;
  border-radius: 24px;
  border: 6px solid var(--cream);
  box-shadow: 0 18px 40px rgba(14, 77, 51, 0.16);
}
.collage__round {
  position: absolute;
  top: 30px;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid var(--cream);
  box-shadow: 0 14px 30px rgba(14, 77, 51, 0.14);
}
.about h2 { margin: 14px 0 0; }
.about__lede { font-size: 16px; line-height: 1.78; color: var(--body-ink); margin-top: 18px; max-width: 52ch; }
.about__body { font-size: 15.5px; line-height: 1.78; color: var(--muted); margin-top: 14px; max-width: 54ch; }
.about__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; align-items: center; }

/* ---------- programmes ---------- */
.programs { margin-top: 44px; }
.program-card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 12px 28px rgba(14, 77, 51, 0.07);
  display: flex;
  flex-direction: column;
}
.program-card .when { font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; color: var(--orange); }
.program-card h3 { font-weight: 700; font-size: 20px; margin: 12px 0 8px; color: var(--green-deep); }
.program-card p { font-size: 14px; line-height: 1.68; color: var(--muted); margin-bottom: 16px; }
.program-card a { margin-top: auto; font-size: 13.5px; font-weight: 700; color: var(--green); }
.program-card a:hover { color: var(--orange); }

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 16px;
  margin-top: 34px;
}
.gallery .frame { border-radius: 20px; box-shadow: 0 14px 32px rgba(14, 77, 51, 0.08); }
.gallery .frame--big { grid-column: span 2; grid-row: span 2; }
.gallery .frame--wide { grid-column: span 2; }

/* ---------- collaboration ---------- */
.collab .shell {
  padding-top: 82px;
  padding-bottom: 82px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 56px;
  align-items: center;
}
.collab .shell > div { min-width: 0; }
.collab h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.16; margin: 12px 0 0; }
.collab p { font-size: 15.5px; line-height: 1.76; color: var(--body-ink); margin-top: 18px; max-width: 50ch; }
.collab .btn { margin-top: 26px; }
.logo-cards { gap: 16px; }
.logo-cards div {
  background: #fff;
  border-radius: 16px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-3);
  box-shadow: 0 10px 24px rgba(14, 77, 51, 0.06);
}

/* ---------- support ---------- */
.ways { margin-top: 40px; gap: 24px; }
.way {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: 0 14px 32px rgba(14, 77, 51, 0.07);
}
.way__num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 18px;
  background: var(--tint-orange);
  color: var(--orange);
}
.way__num--green { background: var(--tint-green); color: var(--green); }
.way h3 { font-weight: 700; font-size: 21px; margin: 16px 0 8px; color: var(--green-deep); }
.way p { font-size: 14.5px; line-height: 1.7; color: var(--muted); }

.cta {
  margin-top: 28px;
  border-radius: 26px;
  overflow: hidden;
  background: var(--green);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
}
.cta__body { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.cta__body h3 { font-weight: 800; font-size: clamp(24px, 3.2vw, 30px); line-height: 1.18; color: #fff; }
.cta__body p { font-size: 15.5px; line-height: 1.7; color: #c4d8cc; margin-top: 12px; max-width: 40ch; }
.cta__actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.cta__media { position: relative; min-height: 320px; min-width: 0; }

/* ---------- visit ---------- */
.visit { border-top: 1px solid rgba(14, 77, 51, 0.08); background: var(--panel-sand); }
.visit .shell {
  padding-top: 76px;
  padding-bottom: 76px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 56px;
  align-items: start;
}
.visit .shell > div { min-width: 0; }
.visit h2 { font-size: clamp(26px, 3.6vw, 36px); margin: 12px 0 24px; }
.facts { display: grid; gap: 20px; }
.facts__value { font-size: 15.5px; line-height: 1.62; color: var(--ink); margin-top: 5px; }
.facts__value a { color: var(--ink); }
.facts__value a:hover { color: var(--orange); }
.facts .btn { justify-self: start; }
.map {
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: #e7ece7;
  aspect-ratio: 16 / 10;
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__cap {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(14, 77, 51, 0.1);
  text-align: center;
}

/* ---------- footer ---------- */
.site-footer { background: var(--green); color: #bfd4c8; }
.site-footer .shell {
  padding-top: 58px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 44px;
}
.site-footer__brand { display: flex; align-items: center; gap: 11px; }
.site-footer__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 13px;
  color: var(--sand);
  flex: 0 0 auto;
}
.site-footer__name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: #fff; }
.site-footer p { font-size: 14px; line-height: 1.7; margin-top: 16px; max-width: 34ch; }
.fcol { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.fcol .label { color: #7fa693; }
.fcol a { color: #bfd4c8; }
.fcol a:hover { color: var(--sand); }
.fcol span + span { margin-top: 6px; }
.colophon { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.colophon .shell {
  padding-top: 18px;
  padding-bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #8fb3a1;
}
.colophon a { color: #8fb3a1; }
.colophon a:hover { color: var(--sand); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .site-header .shell { gap: 14px; }
  .nav { margin-left: 0; gap: 18px; }
  html { scroll-padding-top: 150px; }
}

@media (max-width: 760px) {
  :root { --gut: 20px; }
  .section, .about .shell, .collab .shell, .visit .shell, .hero .shell { padding-top: 56px; padding-bottom: 56px; }
  .hero__photo { height: 340px; }
  .badge-since, .badge-books { position: static; margin-top: 14px; }
  .badge-books { display: inline-block; }
  .collage { height: 360px; }
  .collage__main { inset: 0 70px 46px 0; }
  .collage__side { width: 160px; height: 140px; }
  .collage__round { width: 88px; height: 88px; top: 16px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .gallery .frame--big, .gallery .frame--wide { grid-column: span 2; }
  .gallery .frame--big { grid-row: span 2; }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .cta__body { padding: 34px 26px; }
  .stats__panel { padding: 26px 22px; }
}
