/* =========================================================
   Smiling Faces Africa - main stylesheet
   Colours and fonts are set once here in :root.
   ========================================================= */

:root {
  --ink: #1c1c1a;          /* main text */
  --muted: #5d5b56;        /* secondary text */
  --line: #e7e3dc;         /* borders */
  --sand: #f7f4ef;         /* light section background */
  --white: #ffffff;
  --accent: #f0a01e;       /* warm gold: buttons and highlights */
  --accent-dark: #d4870a;  /* button hover */
  --footer: #1a1a18;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 80px;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; height: auto; }

[hidden] { display: none !important; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 700; }

p { margin: 0 0 1.1em; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap--narrow { max-width: 820px; }

.section { padding: var(--section) 0; }
.section--sand { background: var(--sand); }
.section--tight { padding: calc(var(--section) * 0.6) 0; }

.label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(1.15rem, 1.6vw, 1.3rem);
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-dark); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #3a3a37; }

.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--light { border-color: var(--white); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.text-link:hover { color: var(--accent-dark); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: 1360px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-name small {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--muted);
}

.main-nav ul {
  display: flex;
  gap: clamp(16px, 2vw, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn { min-height: 46px; padding: 0 24px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px var(--gutter);
    overflow-y: auto;
    display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 18px 0; font-size: 1.25rem; border: 0; }
  .nav-open { overflow: hidden; }
}

@media (max-width: 420px) {
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 1rem; }
  .header-actions .btn { padding: 0 16px; }
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  min-height: min(88vh, 860px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: #222 center / cover no-repeat;
  overflow: hidden;
}
.hero-media,
.hero-media video,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: clamp(56px, 9vw, 110px);
}
.hero h1 { max-width: 15ch; margin-bottom: 20px; }
.hero p {
  max-width: 34rem;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  margin-bottom: 32px;
}
.hero .label { color: var(--accent); }

/* Shorter photo banner used at the top of inner pages */
.page-hero {
  position: relative;
  min-height: clamp(340px, 52vh, 520px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: #222;
  overflow: hidden;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  padding-bottom: clamp(44px, 6vw, 72px);
}
.page-hero h1 { margin-bottom: 12px; max-width: 18ch; }
.page-hero p { max-width: 38rem; font-size: 1.2rem; margin: 0; }
.page-hero .label { color: var(--accent); }

/* ---------- Intro statement ---------- */

.intro {
  text-align: center;
  padding: var(--section) 0;
}
.intro p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 30ch;
  margin: 0 auto;
}

/* ---------- Image + text split ---------- */

.split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.split + .split { margin-top: var(--section); }
.split--reverse { grid-template-columns: 1fr 1.15fr; }
.split--reverse .split-media { order: 2; }

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-media--tall img { aspect-ratio: 4 / 5; }

.split-text h2 { margin-bottom: 18px; }
.split-text p { color: var(--muted); max-width: 32rem; }
.split-text .btn { margin-top: 12px; }

@media (max-width: 860px) {
  .split,
  .split--reverse { grid-template-columns: 1fr; gap: 28px; }
  .split--reverse .split-media { order: 0; }
}

/* ---------- Faith / scripture ---------- */

.scripture {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.scripture blockquote {
  margin: 0 0 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.scripture cite {
  display: block;
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 28px;
}
.scripture p { color: var(--muted); max-width: 40rem; margin-left: auto; margin-right: auto; }

/* ---------- Full-width photo band ---------- */

.band {
  position: relative;
  color: var(--white);
  text-align: center;
  background: #222;
  overflow: hidden;
}
.band > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.band .wrap {
  position: relative;
  z-index: 1;
  padding-top: clamp(96px, 14vw, 170px);
  padding-bottom: clamp(96px, 14vw, 170px);
}
.band h2 { max-width: 18ch; margin: 0 auto 18px; }
.band p { max-width: 36rem; margin: 0 auto 34px; font-size: 1.2rem; }
.band .btn-row { justify-content: center; }

/* ---------- Cards / grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); }

.value h3 { margin-bottom: 8px; }
.value p { color: var(--muted); margin: 0; }
.value { border-top: 3px solid var(--accent); padding-top: 22px; }

/* Field videos (Our Work page) */
.field-video { margin: 0; }
.field-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink);
}
.field-video figcaption { padding-top: 14px; }
.field-video h3 { margin-bottom: 6px; }
.field-video p { color: var(--muted); margin: 0; }

/* Founder (About page) */
.founder {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: center;
  max-width: 820px;
}
.founder img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent);
}
.founder h2 { margin-bottom: 10px; }
.founder p { color: var(--muted); margin: 0; }
@media (max-width: 640px) {
  .founder { grid-template-columns: 1fr; gap: 20px; text-align: center; justify-items: center; }
}

/* Photo gallery (Our Work page) */
.photo-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.photo-grid a { display: block; overflow: hidden; }
.photo-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s ease;
}
.photo-grid a:hover img,
.photo-grid a:focus-visible img { transform: scale(1.04); }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .photo-grid { grid-template-columns: 1fr 1fr; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .photo-grid img { transition: none; } }

.story-card { text-decoration: none; display: block; }
.story-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 20px;
}
.story-card .meta {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.story-card h3 { margin-bottom: 10px; }
.story-card p { color: var(--muted); margin: 0; }
.story-card:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }

.way {
  display: flex;
  flex-direction: column;
}
.way img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 22px;
}
.way p { color: var(--muted); }
.way .text-link { align-self: flex-start; margin-top: auto; }

.stat-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}
.stat-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.stat-list span { color: var(--muted); }
@media (max-width: 640px) { .stat-list { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--accent-dark);
  border-bottom: 2px solid var(--accent-dark);
  transform: rotate(-45deg);
}

/* ---------- Forms ---------- */

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfcac1;
  border-radius: 3px;
  padding: 13px 14px;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.9rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 600; margin: 0; }
.form-status.is-error { color: #a12a1a; }
.form-status.is-success { color: #2c6b2f; }

/* ---------- Donate ---------- */

.donate-box {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
}
.toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--ink);
  border-radius: 3px;
  margin-bottom: 26px;
}
.toggle button,
.amounts button {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  min-height: 52px;
}
.toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.amounts button {
  border: 2px solid var(--line);
  border-radius: 3px;
  font-size: 1.3rem;
  min-height: 64px;
}
.amounts button[aria-pressed="true"] { border-color: var(--accent); background: #fff6e6; }
@media (max-width: 420px) { .amounts { grid-template-columns: 1fr 1fr; } }

.impact {
  min-height: 3.3em;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 18px 0 26px;
}
.donate-box .btn { width: 100%; min-height: 58px; font-size: 1.05rem; }
.donate-msg { margin: 14px 0 0; font-weight: 600; color: #a12a1a; }

.impact-table { width: 100%; border-collapse: collapse; }
.impact-table td { padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.impact-table td:first-child {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  width: 90px;
}
.impact-table td:last-child { color: var(--muted); }

/* ---------- Article (story pages, privacy) ---------- */

.article { padding: clamp(48px, 7vw, 88px) 0 var(--section); }
.article .meta {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.article h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.article figure { margin: 36px 0; }
.article figure img { width: 100%; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.6em; }
.article p,
.article li { color: #33322f; }
.back-link { display: inline-block; margin-top: 24px; }

/* ---------- Contact ---------- */

.contact-list { list-style: none; padding: 0; margin: 0 0 32px; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--footer);
  color: #c9c6bf;
  font-size: 0.98rem;
  padding: clamp(64px, 8vw, 96px) 0 32px;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand .brand { color: var(--white); margin-bottom: 18px; }
.footer-brand .brand-name small { color: #9b978f; }
.footer-brand p { max-width: 24rem; }

.social { display: flex; gap: 10px; margin-top: 22px; }
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #4a4843;
  border-radius: 50%;
  color: var(--white);
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.social svg { width: 18px; height: 18px; fill: currentColor; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #34332f;
  font-size: 0.88rem;
  color: #9b978f;
}
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom li { margin: 0; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Scroll fade-in (only when JS is running) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-media video { display: none; }
}

.mt-0 { margin-top: 0; }
.center { text-align: center; }

/* ---------- Current projects (school, borehole) ---------- */
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
}
.project-card h3 { font-size: 1.5rem; margin: 0.2em 0 0.5em; }
.project-card p { color: var(--muted); }
.project-card .check-list { margin-top: 0.4em; }
.project-card .btn { align-self: flex-start; margin-top: auto; }
.project-status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--sand);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.project-card > img {
  display: block;
  width: calc(100% + 2 * clamp(24px, 4vw, 40px));
  max-width: none;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin: calc(-1 * clamp(24px, 4vw, 40px)) calc(-1 * clamp(24px, 4vw, 40px)) 24px;
}

/* Upright phone videos (four in a row, two on phones) */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 28px); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
.field-video--tall video { aspect-ratio: 9 / 16; }
.field-videos-more { margin-top: clamp(48px, 7vw, 80px); }
.field-videos-more > h3 { font-size: 1.4rem; margin-bottom: 20px; }

/* ---------- Before and after (changed lives) ---------- */
.changes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
@media (max-width: 760px) { .changes { grid-template-columns: 1fr; } }
.change-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.change-pair figure { position: relative; margin: 0; }
.change-pair img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.change-tag {
  position: absolute; left: 10px; top: 10px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(28, 28, 26, 0.78); color: var(--white);
}
.change-tag--after { background: var(--accent); color: var(--ink); }
.change figcaption, .change-caption { padding-top: 14px; color: var(--muted); }
.change h3 { margin: 14px 0 6px; font-size: 1.3rem; }

.article blockquote { margin: 40px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--accent); font-family: var(--font-head); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.4; }
.article blockquote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-size: 0.95rem; font-style: normal; color: var(--muted); }

/* Impact numbers (home) */
.impact-row { margin-top: clamp(36px, 5vw, 56px); }
.stat-list--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .stat-list--4 { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
.impact-row .stat-list strong { color: var(--accent-dark); }
.impact-row .stat-list--4 li:first-child strong { color: var(--ink); }
