/* ==========================================================================
   OPDE Rwanda — Design A "Warm Documentary"
   Editorial, photo-led, human. Cream paper, deep forest green,
   serif display type. Brand yellow used sparingly as an accent.
   ========================================================================== */

/* --- Design tokens ------------------------------------------------------- */
:root {
  --forest:      #143D27;
  --forest-deep: #0D2A1B;
  --green:       #5C9E4F;
  --green-soft:  #E8F0E3;
  --moss:        #2F6B3F;
  --yellow:      #F2EE8B;
  --gold:        #C8952A;

  --ink:         #1A1714;
  --ink-70:      #4A443D;
  --ink-45:      #7C746A;
  --rule:        #E2DACB;

  --cream:       #FBF7EE;
  --cream-deep:  #F4EDDF;
  --paper:       #FFFFFF;

  --serif: "Fraunces", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 4vw, 3rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(26, 23, 20, .05), 0 4px 12px rgba(26, 23, 20, .04);
  --shadow-md: 0 2px 6px rgba(26, 23, 20, .06), 0 18px 40px rgba(26, 23, 20, .08);
  --shadow-lg: 0 30px 70px rgba(13, 42, 27, .16);

  --ease: cubic-bezier(.22, .68, 0, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.018em;
  margin: 0;
  color: var(--forest-deep);
  text-wrap: balance;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 3px;
  border-radius: 3px;
}

/* --- Layout helpers ----------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: 760px; }
.wrap--wide { max-width: 1400px; }

.section { padding-block: clamp(3.75rem, 9vw, 7.5rem); }
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section--cream { background: var(--cream-deep); }
.section--paper { background: var(--paper); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--forest); color: #fff; padding: .8rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0; text-decoration: none; font-weight: 600;
}
.skip:focus { left: 0; }

/* --- Type utilities ----------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--gold);
  flex: none;
}
.eyebrow--center { justify-content: center; }

.display  { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.h2       { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
.h3       { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.lead {
  font-size: clamp(1.075rem, 1.7vw, 1.3rem);
  line-height: 1.62;
  color: var(--ink-70);
}
.muted { color: var(--ink-45); }
.serif-quote { font-family: var(--serif); font-style: italic; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--forest); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--forest-deep); box-shadow: var(--shadow-md); }

.btn--ghost { border-color: var(--rule); color: var(--forest-deep); background: transparent; }
.btn--ghost:hover { border-color: var(--forest); background: var(--paper); }

.btn--light { background: var(--paper); color: var(--forest-deep); }
.btn--onDark { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--onDark:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-more {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .95rem; color: var(--moss);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, gap .25s var(--ease);
}
.link-more:hover { border-color: var(--moss); gap: .75rem; }

/* --- Header ------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 247, 238, .88);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled {
  border-bottom-color: var(--rule);
  box-shadow: 0 4px 24px rgba(26, 23, 20, .05);
}
.header__inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 88px;
}
.brand {
  display: flex; align-items: center;
  text-decoration: none; flex: none; margin-right: auto;
}
/* Logo is a landscape mark (1094×792) — size it by height, never by width. */
.brand img { height: 62px; width: auto; }

.nav ul {
  display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  text-decoration: none; font-size: .935rem; font-weight: 500;
  color: var(--ink-70); padding: .4rem 0; position: relative;
  transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--gold); transition: right .3s var(--ease);
}
.nav a:hover { color: var(--forest-deep); }
.nav a:hover::after { right: 0; }
.nav a[aria-current="page"] { color: var(--forest-deep); font-weight: 600; }
.nav a[aria-current="page"]::after { right: 0; }

.lang {
  display: flex; align-items: center; gap: 2px;
  border: 1px solid var(--rule); border-radius: 999px;
  padding: 3px; background: var(--paper); flex: none;
}
.lang button {
  border: 0; background: transparent; border-radius: 999px;
  padding: .34rem .7rem; font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; color: var(--ink-45); transition: background-color .2s, color .2s;
}
.lang button.is-active { background: var(--forest); color: #fff; }

.nav-toggle {
  display: none; flex: none;
  width: 44px; height: 44px; border: 1px solid var(--rule);
  border-radius: 50%; background: var(--paper);
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; position: relative; width: 17px; height: 1.5px;
  background: var(--forest-deep); transition: background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px;
  background: var(--forest-deep); transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-5.5px) rotate(-45deg); }

/* Narrow phones: shrink the mark so it clears the language switch and menu button. */
@media (max-width: 560px) {
  .header__inner { gap: .7rem; }
  .brand img { height: 46px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 88px 0 auto;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: 1rem var(--gut) 2rem;
    transform: translateY(-120%);
    transition: transform .4s var(--ease);
    box-shadow: var(--shadow-md);
  }
  body.nav-open .nav { transform: translateY(0); }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li + li { border-top: 1px solid var(--rule); }
  .nav a { display: block; padding: .95rem 0; font-size: 1.05rem; }
  .nav a::after { display: none; }
}

/* --- Hero --------------------------------------------------------------- */
.hero { position: relative; background: var(--forest-deep); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.6s ease;
  background-size: cover; background-position: center 32%;
  transform: scale(1.04);
}
.hero__slide.is-active { opacity: 1; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(13,42,27,.94) 0%, rgba(13,42,27,.72) 46%, rgba(13,42,27,.30) 100%),
    linear-gradient(to top, rgba(13,42,27,.5), transparent 55%);
}
.hero__inner {
  position: relative;
  padding-block: clamp(5rem, 15vh, 9.5rem);
  max-width: 47rem;
}
.hero .eyebrow { color: var(--yellow); }
.hero .eyebrow::before { background: var(--yellow); }
.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 em {
  font-style: italic;
  color: var(--yellow);
}
.hero__lead {
  color: rgba(255,255,255,.86);
  font-size: clamp(1.075rem, 1.7vw, 1.3rem);
  line-height: 1.62;
  max-width: 34rem;
  margin-bottom: 2.25rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.hero__motto {
  position: absolute; right: calc(var(--gut) - .35rem); top: 50%;
  transform: translateY(-50%) rotate(180deg);
  margin: 0; display: none;
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
  color: rgba(255,255,255,.55);
  writing-mode: vertical-rl;
  letter-spacing: .06em;
}
@media (min-width: 1100px) { .hero__motto { display: block; } }

/* Page banner (interior pages) */
.pagehead {
  position: relative; background: var(--forest-deep); overflow: hidden;
}
.pagehead__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 35%;
  opacity: .42;
}
.pagehead__inner { position: relative; padding-block: clamp(3.25rem, 9vw, 6rem); max-width: 46rem; }
.pagehead .eyebrow { color: var(--yellow); }
.pagehead .eyebrow::before { background: var(--yellow); }
.pagehead h1 { color: #fff; margin-bottom: .9rem; }
.pagehead p { color: rgba(255,255,255,.82); max-width: 36rem; font-size: 1.075rem; margin: 0; }

.crumbs {
  font-size: .8rem; color: rgba(255,255,255,.6); margin: 0 0 1.1rem;
  display: flex; gap: .5rem; align-items: center;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* --- Stats ribbon ------------------------------------------------------- */
.stats {
  background: var(--paper);
  border-block: 1px solid var(--rule);
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 2.5vw, 2rem); text-align: center; }
.stat + .stat { border-left: 1px solid var(--rule); }
.stat__num {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1; color: var(--forest);
  display: flex; align-items: baseline; justify-content: center; gap: .06em;
}
.stat__num sup { font-size: .42em; color: var(--gold); top: -.9em; }
.stat__label {
  margin-top: .7rem; font-size: .86rem; line-height: 1.45;
  color: var(--ink-70);
}
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* --- Editorial split ---------------------------------------------------- */
.split {
  display: grid; gap: clamp(2.25rem, 6vw, 5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.03fr 1fr; }
  .split--flip .split__media { order: 2; }
}
.split__media { position: relative; }
.split__media img {
  width: 100%; border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3; object-fit: cover;
}
.split__media::after {
  content: ""; position: absolute; inset: 0;
  border-radius: var(--r-lg);
  box-shadow: inset 0 0 0 1px rgba(26,23,20,.07);
  pointer-events: none;
}
.split__badge {
  position: absolute; bottom: -1.35rem; left: -1.35rem;
  background: var(--yellow); color: var(--forest-deep);
  border-radius: var(--r-md); padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md); max-width: 12rem;
}
.split__badge strong {
  display: block; font-family: var(--serif); font-size: 1.7rem; line-height: 1;
}
.split__badge span { font-size: .78rem; line-height: 1.35; display: block; margin-top: .3rem; }
@media (max-width: 620px) { .split__badge { left: 1rem; bottom: -1rem; } }

.prose h2 { margin-bottom: 1.1rem; }
.prose h3 { margin: 2rem 0 .7rem; }
.prose > p { color: var(--ink-70); }
.prose > p:first-of-type { font-size: 1.1rem; color: var(--ink); }

/* --- Mission / vision cards -------------------------------------------- */
.mv { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 800px) { .mv { grid-template-columns: 1fr 1fr; } }
.mv__card {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3.5vw, 2.4rem);
  position: relative; overflow: hidden;
}
.mv__card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--green);
}
.mv__card--vision::before { background: var(--gold); }
.mv__card h3 { margin-bottom: .75rem; }
.mv__card p { color: var(--ink-70); margin: 0; }
.mv__icon {
  width: 42px; height: 42px; margin-bottom: 1rem;
  color: var(--moss);
}

/* --- Programme cards ---------------------------------------------------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__num {
  position: absolute; top: 1rem; left: 1rem;
  width: 2.15rem; height: 2.15rem; border-radius: 50%;
  background: var(--yellow); color: var(--forest-deep);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: .95rem;
}
.card__body { padding: 1.5rem 1.5rem 1.65rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.card__body p { font-size: .955rem; color: var(--ink-70); }
.card__body .link-more { margin-top: auto; padding-top: 1.1rem; align-self: flex-start; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.tag {
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  background: var(--green-soft); color: var(--moss);
  padding: .3rem .6rem; border-radius: 999px;
}

/* --- Objectives list ---------------------------------------------------- */
.objectives { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.objectives li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem;
  align-items: start;
  padding-bottom: 1rem; border-bottom: 1px solid var(--rule);
  color: var(--ink-70);
}
.objectives li:last-child { border-bottom: 0; padding-bottom: 0; }
.objectives .mark {
  width: 1.6rem; height: 1.6rem; border-radius: 50%;
  background: var(--forest); color: #fff;
  display: grid; place-items: center; font-size: .72rem; font-weight: 700;
  margin-top: .2rem; flex: none;
  font-family: var(--sans);
}

/* --- Quote band --------------------------------------------------------- */
.quote {
  background: var(--forest-deep); color: #fff;
  position: relative; overflow: hidden;
}
.quote::before {
  content: "”";
  position: absolute; top: -3rem; left: 50%; transform: translateX(-50%);
  font-family: var(--serif); font-size: 22rem; line-height: 1;
  color: rgba(242, 238, 139, .07);
  pointer-events: none;
}
.quote blockquote {
  margin: 0; position: relative;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.4rem, 3.1vw, 2.2rem);
  line-height: 1.35; text-align: center;
  color: #fff; text-wrap: balance;
}
.quote figcaption {
  margin-top: 1.6rem; text-align: center;
  font-size: .84rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); font-weight: 600;
}

/* --- Gallery ------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.25rem; }
.chip {
  border: 1px solid var(--rule); background: var(--paper);
  border-radius: 999px; padding: .55rem 1.15rem;
  font-size: .875rem; font-weight: 500; color: var(--ink-70);
  transition: all .22s;
}
.chip:hover { border-color: var(--moss); color: var(--forest-deep); }
.chip.is-active { background: var(--forest); border-color: var(--forest); color: #fff; }

.mosaic {
  columns: 3; column-gap: 1.1rem;
}
@media (max-width: 900px) { .mosaic { columns: 2; } }
@media (max-width: 560px) { .mosaic { columns: 1; } }

.mosaic figure {
  margin: 0 0 1.1rem; break-inside: avoid;
  position: relative; border-radius: var(--r-md); overflow: hidden;
  cursor: zoom-in; background: var(--cream-deep);
  box-shadow: var(--shadow-sm);
}
.mosaic img {
  width: 100%; transition: transform .8s var(--ease), filter .4s;
}
.mosaic figure:hover img { transform: scale(1.04); }
.mosaic figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem .95rem .85rem;
  background: linear-gradient(to top, rgba(13,42,27,.9), transparent);
  color: #fff; font-size: .84rem; line-height: 1.4;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s, transform .35s var(--ease);
}
.mosaic figure:hover figcaption,
.mosaic figure:focus-visible figcaption { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(9, 24, 16, .95);
  display: grid; place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%; max-height: 78vh;
  border-radius: var(--r-sm); box-shadow: var(--shadow-lg);
}
.lightbox__cap {
  color: rgba(255,255,255,.8); text-align: center;
  margin-top: 1.1rem; font-size: .9rem; max-width: 46rem;
}
.lightbox__btn {
  position: absolute; border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.08); color: #fff;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.15rem;
  transition: background-color .2s, border-color .2s;
  backdrop-filter: blur(4px);
}
.lightbox__btn:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.lightbox__close { top: 1.25rem; right: 1.25rem; }
.lightbox__prev { left: 1.25rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1.25rem; top: 50%; transform: translateY(-50%); }

/* --- Articles ----------------------------------------------------------- */
.notice {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #FFFAE6; border: 1px solid #EBDCA0;
  border-radius: var(--r-md); padding: 1rem 1.15rem;
  font-size: .9rem; color: #6B551A; margin-bottom: 2.5rem;
}
.notice svg { flex: none; margin-top: .1rem; }
.notice strong { color: #4C3C0C; }

.post {
  display: grid; gap: 1.5rem; grid-template-columns: 1fr;
  padding-bottom: 2.25rem; border-bottom: 1px solid var(--rule);
  margin-bottom: 2.25rem;
}
@media (min-width: 760px) { .post { grid-template-columns: 300px 1fr; gap: 2.25rem; } }
.post:last-of-type { border-bottom: 0; margin-bottom: 0; }
.post__media { border-radius: var(--r-md); overflow: hidden; }
.post__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .8s var(--ease); }
.post:hover .post__media img { transform: scale(1.05); }
.post__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem;
  font-size: .8rem; color: var(--ink-45); margin-bottom: .7rem;
}
.post__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-45); }
.post__cat { color: var(--moss); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.post h3 { font-size: clamp(1.3rem, 2.3vw, 1.7rem); margin-bottom: .65rem; }
.post h3 a { text-decoration: none; }
.post h3 a:hover { color: var(--moss); }
.post p { color: var(--ink-70); font-size: .98rem; }

.article-body { font-size: 1.09rem; line-height: 1.78; }
.article-body > p { color: var(--ink-70); }
.article-body > p.standfirst {
  font-size: 1.25rem; color: var(--ink); line-height: 1.55;
  font-family: var(--serif); margin-bottom: 1.6rem;
}
.article-body h2 { font-size: clamp(1.4rem, 2.5vw, 1.85rem); margin: 2.5rem 0 .9rem; }
.article-body figure { margin: 2.25rem 0; }
.article-body figure img { border-radius: var(--r-md); width: 100%; }
.article-body figcaption {
  font-size: .84rem; color: var(--ink-45); margin-top: .65rem;
  padding-left: .9rem; border-left: 2px solid var(--gold);
}
.article-body blockquote {
  margin: 2rem 0; padding: 0 0 0 1.5rem;
  border-left: 3px solid var(--green);
  font-family: var(--serif); font-style: italic; font-size: 1.2rem;
  color: var(--forest-deep);
}
.article-body ul { padding-left: 1.2rem; color: var(--ink-70); }
.article-body li { margin-bottom: .5rem; }

/* --- Team --------------------------------------------------------------- */
.team { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .team { grid-template-columns: repeat(3, 1fr); } }
.member { text-align: left; }
.member__photo {
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 1.1rem;
  background: var(--cream-deep); position: relative;
}
.member__photo img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; filter: saturate(.95); }
.member h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.member p { font-size: .88rem; color: var(--moss); font-weight: 600; margin: 0; }

/* --- Partners ----------------------------------------------------------- */
.partners {
  display: grid; gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg); overflow: hidden;
}
@media (min-width: 640px) { .partners { grid-template-columns: repeat(4, 1fr); } }
.partner {
  background: var(--paper); padding: 1.85rem 1rem;
  display: grid; place-items: center; text-align: center;
  font-weight: 600; font-size: .9rem; color: var(--ink-70);
  min-height: 6.5rem; transition: background-color .25s, color .25s;
}
.partner:hover { background: var(--green-soft); color: var(--forest-deep); }

/* --- Contact ------------------------------------------------------------ */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }

.info-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.35rem; }
.info-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.info-list .ico {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--green-soft); color: var(--moss);
  display: grid; place-items: center; flex: none;
}
.info-list dt {
  font-size: .74rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-45); font-weight: 700; margin-bottom: .2rem;
}
.info-list dd { margin: 0; font-size: 1rem; color: var(--forest-deep); font-weight: 500; }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }

.form {
  background: var(--paper); border: 1px solid var(--rule);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.5rem);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--ink-70); margin-bottom: .45rem;
}
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: .98rem;
  padding: .85rem 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; background: var(--paper);
  border-color: var(--moss);
  box-shadow: 0 0 0 3px rgba(47, 107, 63, .13);
}
.field textarea { resize: vertical; min-height: 8.5rem; }
.field-row { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }

.form-note {
  margin-top: 1.1rem; padding: .85rem 1rem;
  background: var(--green-soft); border-radius: var(--r-sm);
  font-size: .88rem; color: var(--moss); font-weight: 500;
}

.map-embed {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--rule);
  background: var(--cream-deep); aspect-ratio: 16 / 7;
  display: grid; place-items: center; text-align: center;
  color: var(--ink-45); font-size: .9rem; padding: 1.5rem;
}

/* --- CTA band ----------------------------------------------------------- */
.cta {
  background: var(--green-soft);
  border-top: 1px solid var(--rule);
  text-align: center;
}
.cta h2 { margin-bottom: .9rem; }
.cta p { color: var(--ink-70); max-width: 40rem; margin-inline: auto; margin-bottom: 1.9rem; }

/* --- Footer ------------------------------------------------------------- */
.footer {
  background: var(--forest-deep); color: rgba(255,255,255,.72);
  padding-block: clamp(3rem, 7vw, 4.5rem) 0;
  font-size: .93rem;
}
.footer__grid {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
  padding-bottom: 3rem;
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer h4 {
  font-family: var(--sans); font-size: .76rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 1.1rem;
}
.footer__brand { display: flex; align-items: center; margin-bottom: 1.25rem; }
.footer__brand img { height: 58px; width: auto; }
.footer p { max-width: 30rem; line-height: 1.65; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.13);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.5);
}
.footer__motto {
  font-family: var(--serif); font-style: italic; color: var(--yellow);
  font-size: 1rem;
}

/* --- Reveal animation --------------------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }

/* --- Design badge (prototype only) ------------------------------------- */
.proto-badge {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 150;
  background: var(--forest-deep); color: #fff;
  border-radius: 999px; padding: .55rem 1.1rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .04em;
  box-shadow: var(--shadow-md); text-decoration: none;
  display: flex; align-items: center; gap: .5rem;
}
.proto-badge span { color: var(--yellow); }
.proto-badge:hover { background: #000; }
@media print { .proto-badge { display: none; } }
