:root {
  --green: #1E7A43;
  --green-dark: #14532D;
  --green-deep: #0F3D22;
  --orange: #E4711E;
  --orange-dark: #C25B10;
  --sand: #F6F1E7;
  --ink: #1C2B21;
  --muted-ink: #55635a;

  --bg: #FFFFFF;
  --text: var(--ink);
  --surface: #F7F4EE;
  --surface-2: #EFEADE;
  --border: #E2DCCC;
  --danger: #C0392B;
  --shadow: 0 6px 20px rgba(20, 83, 45, 0.08);
  --glow-green: 0 0 16px rgba(30, 122, 67, 0.45), 0 0 38px rgba(30, 122, 67, 0.2);
  --glow-green-soft: 0 0 10px rgba(30, 122, 67, 0.3);
}

[data-theme="dark"] {
  --bg: #12160F;
  --text: #EFEADE;
  --surface: #1B2117;
  --surface-2: #232C1E;
  --border: #333D2C;
  --sand: #1B2117;
  --muted-ink: #a9b3a5;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  transition: background 0.2s ease, color 0.2s ease;
}

h1, h2, h3, h4, p, a, li, span { overflow-wrap: break-word; }

img { max-width: 100%; height: auto; }

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

h1, h2, h3, h4 { line-height: 1.2; color: var(--text); }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.5rem, 1.5vw, 1rem);
  padding: clamp(0.55rem, 1.4vw + 0.35rem, 1rem) clamp(0.85rem, 3vw, 2.5rem);
  background: var(--bg);
  border-bottom: 3px solid var(--green);
  box-shadow: 0 2px 20px rgba(30, 122, 67, 0.35);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-left { display: flex; align-items: center; gap: 0.7rem; min-width: 0; flex: 1 1 auto; }
.hamburger-btn {
  flex: none;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  font-size: 1.1rem; padding: 0.3rem 0.6rem; cursor: pointer; color: var(--text);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: inherit; min-width: 0; }
.brand img { height: clamp(32px, 3.5vw + 16px, 46px); width: auto; flex: none; }
.brand-name { font-weight: 800; font-size: clamp(0.9rem, 0.6vw + 0.78rem, 1.15rem); letter-spacing: 0.02em; min-width: 0; display: flex; flex-direction: column; }
.brand-name .brand-tagline {
  color: var(--green); font-weight: 600; font-size: 0.72em; letter-spacing: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.nav-actions { display: flex; align-items: center; gap: clamp(0.35rem, 1vw, 0.85rem); flex: none; }

/* The hamburger drawer is the only nav at every width — keep the top bar to
   one tidy row by trimming the wordmark tagline on narrower screens. */
@media (max-width: 1023px) {
  .brand-name .brand-tagline { display: none; }
}
@media (max-width: 600px) {
  .nav-actions { gap: 0.3rem; }
  .lang-current, .theme-label { display: none; }
  .lang-btn, .theme-toggle { padding: 0.4rem 0.5rem; }
  .lang-menu { right: 0; }
  .nav-actions .btn-donate { padding: 0.45rem 0.8rem; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 0.85rem; }
  .nav-actions .btn-donate { display: none; }
  .tile-summary { gap: 0.6rem; }
  .tile-icon { width: 38px; height: 38px; font-size: 1.1rem; }
  .tile-summary { font-size: 0.95rem; }
}

.theme-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: none; border: 1px solid var(--border); border-radius: 20px;
  padding: 0.4rem 0.8rem; cursor: pointer; color: var(--text); white-space: nowrap;
}

/* ---------- Language selector ---------- */
.lang-select { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: none; border: 1px solid var(--border); border-radius: 20px;
  padding: 0.4rem 0.7rem; cursor: pointer; color: var(--text); white-space: nowrap;
  font: inherit; font-weight: 600; font-size: 0.85rem;
}
.lang-btn:hover { border-color: var(--green); color: var(--green); }
.lang-globe { font-size: 1rem; line-height: 1; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 0.4rem); min-width: 150px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow); padding: 0.3rem; z-index: 80; display: none;
}
.lang-select.open .lang-menu { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left; background: none; border: none;
  padding: 0.5rem 0.7rem; border-radius: 6px; cursor: pointer; color: var(--text);
  font: inherit; font-size: 0.9rem;
}
.lang-menu button:hover { background: var(--surface-2); }
.lang-menu button.active { color: var(--green); font-weight: 700; }

/* Hide Google Translate's own UI — the engine still runs, driven by our menu.
   The widget host is moved off-screen rather than display:none'd, because
   display:none makes Google re-inject a visible fallback combo. */
#google_translate_element {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.goog-te-banner-frame, .goog-te-banner-frame.skiptranslate,
iframe.skiptranslate, .goog-te-gadget-icon, .goog-te-balloon-frame,
#goog-gt-tt, .goog-tooltip, .goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
}
.goog-text-highlight { background: none !important; box-shadow: none !important; }
body { top: 0 !important; position: static !important; }
#google_translate_element .skiptranslate,
#google_translate_element .goog-te-gadget { font-size: 0 !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.12s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--glow-green-soft); }
.btn-primary:hover { box-shadow: var(--glow-green); }
.btn-accent, .btn-donate { background: var(--orange); color: #fff; }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-outline { background: transparent; border: 1px solid var(--green); color: var(--green); }
.btn-outline:hover { box-shadow: var(--glow-green-soft); }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.82rem; }
.btn-block { display: block; width: 100%; }

/* ---------- Layout ---------- */
main.page { min-height: 60vh; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 3.5rem 0; }
.section.tight { padding: 2.25rem 0; }
.section-alt { background: var(--surface); }

.section-head { max-width: 720px; margin: 0 auto 2.25rem; text-align: center; }
.section-head h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 0 0 0.6rem; }
.section-head p { color: var(--muted-ink); margin: 0; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.72rem; font-weight: 800; color: var(--orange); margin-bottom: 0.5rem;
}

.prose { max-width: 760px; }
.prose p { margin: 0 0 1rem; white-space: pre-line; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  padding: clamp(3.5rem, 8vw, 6rem) 1.5rem;
  text-align: center;
  background: linear-gradient(rgba(15, 61, 34, 0.78), rgba(20, 83, 45, 0.82));
  background-size: cover;
  background-position: center;
}
.hero.has-image::after { content: ""; }
.hero-content { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 1rem; color: #fff; }
.hero-content p { font-size: clamp(1rem, 1.6vw, 1.2rem); opacity: 0.95; margin: 0 auto 1.75rem; max-width: 640px; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-sub {
  background: linear-gradient(rgba(15, 61, 34, 0.82), rgba(15, 61, 34, 0.82));
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}
.hero-sub h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.6rem;
}
.card-feature { border-top: 4px solid var(--green); box-shadow: var(--glow-green-soft); }
.card-accent { border-top: 4px solid var(--orange); }
.card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted-ink); }
.card .icon-badge {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 1.5rem; background: rgba(30, 122, 67, 0.12);
  color: var(--green); margin-bottom: 1rem; box-shadow: var(--glow-green-soft);
}

/* ---------- Expandable tiles (core values, programmes, themes) ---------- */
.tile-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.tile[open], .tile:hover { border-color: var(--green); box-shadow: var(--glow-green-soft); }
.tile-summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  gap: 0.9rem; padding: 1.3rem 1.5rem; font-weight: 700; font-size: 1.05rem;
}
.tile-summary::-webkit-details-marker { display: none; }
.tile-summary::marker { content: ""; }
.tile-icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; background: rgba(30, 122, 67, 0.12);
  color: var(--green); flex: none; box-shadow: var(--glow-green-soft);
}
.tile-heading { flex: 1 1 auto; min-width: 0; }
.tile-teaser { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted-ink); margin-top: 0.25rem; }
.tile-chevron { flex: none; font-size: 1.2rem; color: var(--green); transition: transform 0.2s ease; }
.tile[open] .tile-chevron { transform: rotate(90deg); }
.tile-body { padding: 0 1.5rem 1.4rem; color: var(--muted-ink); animation: tileReveal 0.2s ease; }
.tile-body p { margin: 0; }
.tile-image { width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; margin-bottom: 0.9rem; }
.tile-related { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.tile-related-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-ink); margin-right: 0.25rem; }
@keyframes tileReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 1.25rem; }
.stat {
  text-align: center; padding: 1.75rem 1rem; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border);
}
.stat .value { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--green); text-shadow: var(--glow-green-soft); }
.stat .label { color: var(--muted-ink); font-size: 0.9rem; margin-top: 0.25rem; }

/* ---------- Media / project cards ---------- */
.media-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.media-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.media-card .thumb { aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.media-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.media-card .body { padding: 1.25rem; }
.media-card .body h3 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.media-card .body p { margin: 0; color: var(--muted-ink); font-size: 0.9rem; }
.pill {
  display: inline-block; font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.2rem 0.6rem; border-radius: 999px;
  background: rgba(228, 113, 30, 0.15); color: var(--orange-dark); margin-bottom: 0.5rem;
}

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr)); gap: 0.9rem; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.testimonial {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--orange);
  border-radius: 12px; padding: 1.5rem;
}
.testimonial blockquote { margin: 0 0 1rem; font-style: italic; }
.testimonial .who { font-weight: 700; }
.testimonial .who span { display: block; color: var(--muted-ink); font-weight: 400; font-size: 0.85rem; }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { border-radius: 16px; }


/* ---------- Forms ---------- */
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: 0.35rem; font-weight: 600; font-size: 0.9rem; }
.form-input, input.form-input, select.form-input, textarea.form-input {
  width: 100%; padding: 0.65rem 0.8rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font-size: 0.95rem; font-family: inherit;
}
.form-input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30, 122, 67, 0.15); }
textarea.form-input { min-height: 90px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 0 1.25rem; }
.errorlist { color: var(--danger); list-style: none; padding: 0; margin: 0.3rem 0 0; font-size: 0.85rem; }
.helptext { display: block; color: var(--muted-ink); font-size: 0.8rem; margin-top: 0.25rem; }
.hp-field {
  position: absolute !important; width: 1px !important; height: 1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important;
}
.password-field { position: relative; }
.password-field .form-input { padding-right: 2.6rem; }
.password-toggle {
  position: absolute; top: 50%; right: 0.55rem; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; padding: 0; border: none; background: none;
  color: var(--muted-ink); cursor: pointer; border-radius: 6px;
}
.password-toggle:hover, .password-toggle:focus-visible { color: var(--text); outline: none; }
.password-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.password-toggle .icon-eye-off { display: none; }
.password-toggle[aria-pressed="true"] .icon-eye { display: none; }
.password-toggle[aria-pressed="true"] .icon-eye-off { display: block; }

/* ---------- Alerts ---------- */
.alert { padding: 0.85rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: 0.92rem; }
.alert-success { background: rgba(30, 122, 67, 0.12); color: var(--green-dark); border: 1px solid var(--green); }
.alert-error { background: rgba(192, 57, 43, 0.12); color: var(--danger); border: 1px solid var(--danger); }
[data-theme="dark"] .alert-success { color: #7fd8a4; }

/* ---------- Auth ---------- */
.auth-wrap { max-width: 420px; margin: 3.5rem auto; padding: 0 1.5rem; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 2.25rem; }
.auth-card h1 { color: var(--green); font-size: 1.4rem; margin: 0 0 1.5rem; }

/* ---------- Console ---------- */
.console { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .console { grid-template-columns: 240px 1fr; } }
.console-side {
  background: var(--surface); border-right: 1px solid var(--border); padding: 1.5rem 1rem;
}
.console-side h4 {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted-ink); margin: 1.25rem 0 0.5rem;
}
.console-side h4:first-child { margin-top: 0; }
.console-side a {
  display: block; padding: 0.45rem 0.6rem; border-radius: 8px; text-decoration: none;
  color: var(--text); font-size: 0.9rem;
}
.console-side a:hover, .console-side a.active { background: var(--surface-2); color: var(--green); }
.console-main { padding: 2rem 1.75rem; min-width: 0; }

.dashboard-header { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 1.75rem; }
.role-badge {
  display: inline-block; background: var(--green); color: #fff; padding: 0.2rem 0.7rem;
  border-radius: 999px; font-size: 0.75rem; font-weight: 700;
}
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 1rem; }
.tile {
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--green);
  border-radius: 10px; padding: 1.1rem 1.2rem; text-decoration: none; color: inherit; display: block;
}
.tile:hover { border-left-color: var(--orange); }
.tile h3 { margin: 0 0 0.3rem; font-size: 0.98rem; }
.tile p { margin: 0; font-size: 0.82rem; color: var(--muted-ink); }
.tile .count {
  display: inline-block; margin-top: 0.5rem; background: var(--orange); color: #fff;
  border-radius: 999px; padding: 0.05rem 0.55rem; font-size: 0.75rem; font-weight: 700;
}

.group-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-ink);
  margin: 1.75rem 0 0.75rem;
}
.group-label:first-of-type { margin-top: 0; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.data-table th { color: var(--green); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.data-table tr:hover td { background: var(--surface); }

.status-pill { padding: 0.15rem 0.6rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.status-yes, .status-available, .status-confirmed, .status-approved, .status-distributed { background: rgba(30,122,67,0.15); color: var(--green-dark); }
.status-no, .status-pending, .status-limited { background: rgba(228,113,30,0.15); color: var(--orange-dark); }
.status-rejected, .status-declined, .status-out_of_stock { background: rgba(192,57,43,0.15); color: var(--danger); }
[data-theme="dark"] .status-yes, [data-theme="dark"] .status-confirmed { color: #7fd8a4; }

.toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; }
.formset-row { border: 1px dashed var(--border); border-radius: 10px; padding: 1rem; margin-bottom: 0.85rem; }

/* ---------- Image lightbox ---------- */
img.js-lightbox { cursor: zoom-in; transition: opacity 0.15s ease; }
img.js-lightbox:hover { opacity: 0.88; }
.lightbox {
  position: fixed; inset: 0; background: rgba(10, 14, 8, 0.92); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; cursor: default; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.25rem; background: rgba(255,255,255,0.12);
  color: #fff; border: none; border-radius: 50%; width: 42px; height: 42px;
  font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: var(--orange); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0 auto 0 0; width: 280px; max-width: 84vw; background: var(--bg);
  border-right: 1px solid var(--border); transform: translateX(-100%); transition: transform 0.25s ease;
  z-index: 100; padding: 2rem 1.5rem; overflow-y: auto; }
.drawer.open { transform: translateX(0); }
.drawer nav { display: flex; flex-direction: column; gap: 0.85rem; }
.drawer nav a { color: var(--text); text-decoration: none; font-weight: 600; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border); transition: color 0.15s ease, text-shadow 0.15s ease; }
.drawer nav a:hover { color: var(--green); text-shadow: var(--glow-green-soft); }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 90; display: none; }
.drawer-overlay.open { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-deep); color: #dfe9df; margin-top: 3rem; padding: 3rem 1.5rem 1.5rem; }
.site-footer a { color: #dfe9df; text-decoration: none; opacity: 0.85; }
.site-footer a:hover { opacity: 1; color: #fff; }
.footer-grid { max-width: 1120px; margin: 0 auto 2rem; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.footer-col h4 { color: #fff; font-size: 0.9rem; margin: 0 0 0.85rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.86rem; margin: 0 0 0.5rem; }
.footer-brand img { height: 52px; margin-bottom: 0.75rem; }
.newsletter-form { display: flex; gap: 0.5rem; margin-top: 0.6rem; flex-wrap: wrap; }
.newsletter-form .form-input { flex: 1; min-width: 160px; background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: #fff; }
.newsletter-form .form-input::placeholder { color: rgba(255,255,255,0.6); }
.social-row { display: flex; gap: 0.7rem; margin-top: 0.75rem; }
.social-row a {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; background: rgba(255,255,255,0.1); color: inherit;
  transition: background 0.15s ease;
}
.social-row a svg { width: 17px; height: 17px; fill: currentColor; }
.social-row a:hover { background: var(--orange); }
.footer-bottom { max-width: 1120px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.25rem; text-align: center; font-size: 0.8rem; opacity: 0.75; }

/* ---------- Misc ---------- */
.lead { font-size: 1.1rem; color: var(--muted-ink); }
.bullet-list { padding-left: 1.1rem; }
.bullet-list li { margin-bottom: 0.4rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { padding: 0.3rem 0.85rem; border-radius: 999px; border: 1px solid var(--border); font-size: 0.82rem; background: var(--surface); text-decoration: none; color: var(--text); }
a.chip:hover { border-color: var(--green); color: var(--green); }
a.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.news-meta { color: var(--muted-ink); font-size: 0.8rem; }
.video-embed { position: relative; width: 100%; padding-top: 56.25%; border-radius: 12px; overflow: hidden; margin: 1rem 0; background: var(--surface-2); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-body { max-width: 760px; line-height: 1.75; }
.article-body p { margin: 0 0 1rem; }
hr.rule { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ---------- Mobile spacing & density ----------
   On phones the desktop rhythm (3.5rem sections, 1.6rem card padding, 1.5rem
   grid gaps) leaves the page feeling sparse and endless. Tighten everything
   and stop 2-column grids from leaving a lonely last item. */
@media (max-width: 720px) {
  .section { padding: 2.1rem 0; }
  .section.tight { padding: 1.4rem 0; }
  .section-head { margin-bottom: 1.4rem; }
  .section-head h2 { font-size: clamp(1.35rem, 6vw, 1.7rem); }

  .grid { gap: 1rem; }
  .split { gap: 1.25rem; }
  .tile-grid, .stat-grid { gap: 0.85rem; }
  .tile-summary { padding: 1.1rem 1.25rem; }
  .tile-body { padding: 0 1.25rem 1.1rem; }

  .card { padding: 1.15rem; border-radius: 12px; }
  .card .icon-badge { width: 42px; height: 42px; font-size: 1.2rem; margin-bottom: 0.55rem; }
  .card h3 { font-size: 1.05rem; }

  .testimonial { padding: 1.15rem; }
  .testimonial blockquote { margin-bottom: 0.75rem; }

  .media-card .body { padding: 1rem; }

  .hero { padding: clamp(2.6rem, 9vw, 3.75rem) 1.25rem; }
  .hero-content h1 { margin-bottom: 0.75rem; }
  .hero-actions { gap: 0.75rem; }

  .prose p { margin-bottom: 0.8rem; }

  /* Stats: 2-up, and a lone final card spans the full row instead of
     sitting orphaned beside empty space. */
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.15rem 0.75rem; }
  .stat .value { font-size: clamp(1.45rem, 8vw, 2rem); }
  .stat-grid > .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* Who-we-are thumbnails: keep them as a tidy 2-up strip */
  .gallery { grid-template-columns: 1fr 1fr; gap: 0.7rem; }
}

@media (max-width: 400px) {
  .section-head p, .lead { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
