/* ==========================================================================
   GRP FEATS LTD — Site stylesheet
   Palette: deep sage / moss / gold / cream
   ========================================================================== */

:root {
  --deep:   #2F4437;   /* primary — deep sage/forest */
  --deep-2: #253629;   /* darker shade for footers, overlays */
  --moss:   #5C7A5A;   /* secondary — muted olive */
  --moss-2: #47603F;
  --gold:   #D9A441;   /* accent — warm mustard */
  --gold-2: #C08F30;
  --cream:  #F5F3EC;   /* page background */
  --cream-2:#FBFAF5;   /* card surface on cream */
  --ink:    #22271F;   /* body copy */
  --ink-60: rgba(34, 39, 31, 0.68);
  --sage:   #E4E7DF;   /* soft neutral — borders, card backs */
  --sage-2: #D3D9CE;

  --ff-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --wrap-narrow: 820px;
  --gut: clamp(1.25rem, 5vw, 3rem);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(34, 39, 31, .06), 0 6px 18px rgba(34, 39, 31, .05);
  --shadow-md: 0 2px 6px rgba(34, 39, 31, .07), 0 18px 44px rgba(34, 39, 31, .10);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ff-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
/* width/height attributes reserve layout space; height:auto lets aspect-ratio drive the box */
img { height: auto; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; } /* UA default is 1em 40px — kills grid sizing */

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

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--gold); color: var(--ink); padding: .7rem 1.4rem;
  border-radius: 0 0 10px 10px; font-weight: 600; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- layout primitives ---------- */
.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { width: min(var(--wrap-narrow), 100%); }
.section { padding-block: clamp(3.75rem, 8vw, 7rem); }
[id] { scroll-margin-top: 96px; } /* clears the sticky header on in-page jumps */
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--moss); margin: 0 0 1rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px;
}
.on-dark .eyebrow, .eyebrow--light { color: var(--gold); }
.on-dark .eyebrow::before { background: var(--gold); }

h1, .h1 { font-size: clamp(2.35rem, 1.5rem + 3.7vw, 4.1rem); }
h2, .h2 { font-size: clamp(1.85rem, 1.25rem + 2.4vw, 3rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.05rem + .55vw, 1.5rem); }

.lede { font-size: clamp(1.075rem, 1rem + .45vw, 1.32rem); line-height: 1.6; color: var(--ink-60); }
.on-dark .lede { color: rgba(245, 243, 236, .82); }
.measure { max-width: 62ch; }

.divider { width: 64px; height: 3px; background: var(--gold); border: 0; border-radius: 3px; margin: 0 0 1.75rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.7rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px rgba(217, 164, 65, .28); }
.btn--gold:hover { background: var(--gold-2); box-shadow: 0 12px 28px rgba(217, 164, 65, .34); }
.btn--outline-light { border-color: rgba(245, 243, 236, .45); color: var(--cream); }
.btn--outline-light:hover { background: rgba(245, 243, 236, .12); border-color: var(--cream); }
.btn--deep { background: var(--deep); color: var(--cream); }
.btn--deep:hover { background: var(--moss-2); }
.btn--outline { border-color: var(--moss); color: var(--deep); }
.btn--outline:hover { background: var(--moss); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; text-decoration: none; color: var(--deep);
  border-bottom: 2px solid var(--gold); padding-bottom: 3px;
  transition: gap .2s var(--ease), color .2s;
}
.link-arrow:hover { gap: .85rem; color: var(--moss-2); }
.on-dark .link-arrow { color: var(--cream); }
.on-dark .link-arrow:hover { color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--deep);
  border-bottom: 1px solid rgba(245, 243, 236, .10);
  transition: box-shadow .25s, background-color .25s;
}
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(34, 39, 31, .18); }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--cream); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--ff-display); font-weight: 700; font-size: 1.18rem; letter-spacing: .01em; }
.brand__sub { font-size: .62rem; letter-spacing: .17em; text-transform: uppercase; color: var(--gold); margin-top: 3px; white-space: nowrap; }

.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; }
.nav__link {
  display: block; padding: .55rem .7rem; border-radius: 8px; white-space: nowrap;
  font-size: .9rem; font-weight: 500; text-decoration: none;
  color: rgba(245, 243, 236, .82);
  transition: color .18s, background-color .18s;
}
.nav__link:hover { color: var(--cream); background: rgba(245, 243, 236, .08); }
.nav__link[aria-current="page"] { color: var(--gold); font-weight: 600; }
.nav__cta { margin-left: .6rem; padding: .62rem 1.2rem; font-size: .88rem; white-space: nowrap; }

.nav__toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid rgba(245, 243, 236, .28);
  border-radius: 10px; cursor: pointer;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--cream); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .18s;
}
.nav__toggle span { margin: 0 auto; position: relative; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--deep-2);
    border-bottom: 1px solid rgba(245, 243, 236, .12);
    max-height: 0; overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .nav__menu.is-open { max-height: 520px; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .75rem var(--gut) 1.5rem; }
  .nav__link { padding: .85rem .25rem; border-bottom: 1px solid rgba(245, 243, 236, .08); font-size: 1rem; }
  .nav__cta { margin: 1rem .25rem 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--deep);
  color: var(--cream);
  padding-block: clamp(4rem, 10vw, 8.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 78% 8%, rgba(92, 122, 90, .55), transparent 62%),
    radial-gradient(700px 520px at 8% 96%, rgba(217, 164, 65, .16), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    repeating-linear-gradient(115deg, rgba(245,243,236,.05) 0 1px, transparent 1px 34px);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 85%);
}
.hero > * { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__title { margin-bottom: 1.15rem; }
.hero__title .accent { color: var(--gold); }
.hero__text { max-width: 40ch; }
.hero .btn-row { margin-top: 2rem; }
.hero__crops {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.75rem;
  padding-top: 1.75rem; border-top: 1px solid rgba(245, 243, 236, .16);
}
.chip {
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
  padding: .38rem .85rem; border-radius: 999px;
  border: 1px solid rgba(245, 243, 236, .26); color: rgba(245, 243, 236, .85);
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 380px; }
}

/* hero photograph */
.hero__art { width: 100%; position: relative; }
.hero__art svg { width: 100%; height: auto; }

.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(20, 30, 22, .35);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  border: 1px solid rgba(245, 243, 236, .28);
  background: linear-gradient(200deg, rgba(217, 164, 65, .10), transparent 45%, rgba(47, 68, 55, .35));
}
.hero__art .photo-frame { aspect-ratio: 1 / 1; }
.hero__art .photo-frame img { object-position: center 22%; }

/* small floating stat card over the hero photo */
.photo-badge {
  position: absolute; left: -14px; bottom: -22px;
  background: var(--gold); color: var(--ink);
  border-radius: 16px; padding: .9rem 1.15rem;
  box-shadow: 0 14px 32px rgba(20, 30, 22, .32);
  max-width: 245px;
}
.photo-badge strong {
  display: block; font-family: var(--ff-display); font-size: 1.7rem; line-height: 1;
  margin-bottom: .25rem;
}
.photo-badge span { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .02em; line-height: 1.35; }
@media (max-width: 900px) { .photo-badge { left: 12px; bottom: -18px; } }

/* page hero (interior pages) */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--deep); color: var(--cream);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 85% 0%, rgba(92, 122, 90, .5), transparent 60%),
    radial-gradient(520px 380px at 0% 100%, rgba(217, 164, 65, .13), transparent 62%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero .lede { max-width: 58ch; }

/* photographic page hero — the image sits under a heavy sage wash so type stays legible */
.page-hero--photo { padding-block: clamp(4.5rem, 10vw, 8rem); }
.page-hero--photo .page-hero__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero--photo::before {
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(37, 54, 41, .96) 0%, rgba(47, 68, 55, .90) 45%, rgba(47, 68, 55, .76) 100%),
    radial-gradient(600px 400px at 90% 100%, rgba(217, 164, 65, .18), transparent 65%);
}
.page-hero--photo > .wrap { z-index: 2; }
.breadcrumb { font-size: .82rem; color: rgba(245, 243, 236, .6); margin-bottom: 1.5rem; }
.breadcrumb a { text-decoration: none; color: rgba(245, 243, 236, .8); }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- stat strip ---------- */
.stat-strip { background: var(--deep-2); color: var(--cream); }
.stat-strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid rgba(245, 243, 236, .12);
}
.stat {
  padding: clamp(1.75rem, 3.5vw, 2.6rem) clamp(1rem, 2.4vw, 2rem);
  border-right: 1px solid rgba(245, 243, 236, .12);
}
.stat__num {
  font-family: var(--ff-display); font-weight: 700;
  font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.25rem);
  line-height: 1; color: var(--gold);
  display: flex; align-items: baseline; gap: .1em;
}
.stat__label { margin-top: .7rem; font-size: .92rem; color: rgba(245, 243, 236, .78); line-height: 1.45; }
@media (max-width: 780px) { .stat-strip__grid { grid-template-columns: repeat(2, 1fr); } }

/* light variant used on About page */
.stat-strip--light { background: var(--sage); color: var(--ink); }
.stat-strip--light .stat-strip__grid { border-color: var(--sage-2); }
.stat-strip--light .stat { border-color: var(--sage-2); }
.stat-strip--light .stat__num { color: var(--deep); }
.stat-strip--light .stat__label { color: var(--ink-60); }

/* ---------- generic sections ---------- */
.section-head { max-width: 58ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

.panel-dark { background: var(--deep); color: var(--cream); }
.panel-sage { background: var(--sage); }

/* ---------- media blocks ---------- */
.media {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--sage-2);
  box-shadow: var(--shadow-sm);
  background: var(--sage);
}
.media img { width: 100%; display: block; object-fit: cover; }
.media--tall img { aspect-ratio: 4 / 5; }
.media--wide img { aspect-ratio: 16 / 9; }
.media--square img { aspect-ratio: 1 / 1; }
.on-dark .media, .panel-dark .media { border-color: rgba(245, 243, 236, .18); background: rgba(245, 243, 236, .06); }

.media-stack { display: grid; gap: 1rem; }
.media-stack--offset { grid-template-columns: repeat(2, 1fr); align-items: start; }
.media-stack--offset > :nth-child(2) { margin-top: clamp(1.5rem, 4vw, 3rem); }
@media (max-width: 560px) { .media-stack--offset { grid-template-columns: 1fr; } .media-stack--offset > :nth-child(2) { margin-top: 0; } }

.photo-caption { font-size: .82rem; color: var(--ink-60); margin-top: .7rem; font-style: italic; }
.on-dark .photo-caption { color: rgba(245, 243, 236, .6); }

/* ---------- field work gallery ---------- */
.gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.7rem, 1.5vw, 1.1rem);
}
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery__item {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--sage-2);
  background: var(--sage);
  aspect-ratio: 1 / 1;
}
/* first tile spans 2x2 on wider screens so the grid isn't a flat strip */
@media (min-width: 701px) { .gallery__item:first-child { grid-column: span 2; grid-row: span 2; } }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }
.panel-dark .gallery__item, .on-dark .gallery__item {
  border-color: rgba(245, 243, 236, .18); background: rgba(245, 243, 236, .06);
}

/* ---------- crop tiles ---------- */
.crop-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: .85rem; }
@media (max-width: 900px) { .crop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 460px) { .crop-grid { grid-template-columns: repeat(2, 1fr); } }
.crop {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--sage-2); background: var(--sage);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.crop:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.crop img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.crop figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 1.6rem .7rem .6rem;
  background: linear-gradient(to top, rgba(34, 39, 31, .88), transparent);
  color: var(--cream);
  font-size: .82rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  text-align: center;
}

/* ---------- pillar cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); list-style: none; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--cream-2);
  border: 1px solid var(--sage-2);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--moss); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--deep); color: var(--gold);
  margin-bottom: 1.15rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card__num {
  position: absolute; top: 1.5rem; right: 1.6rem;
  font-family: var(--ff-display); font-size: 1.6rem; font-weight: 700;
  color: var(--sage-2);
}
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--ink-60); font-size: .97rem; }

/* card with a photograph across the top */
.card--photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--photo > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.card--photo .card__body { padding: clamp(1.25rem, 2.2vw, 1.6rem); }
.card--photo .card__num { top: auto; bottom: auto; }
.card--photo .card__step {
  display: inline-block; font-family: var(--ff-display); font-weight: 700;
  color: var(--moss); font-size: .95rem; letter-spacing: .1em; margin-bottom: .35rem;
}

.panel-dark .card { background: rgba(245, 243, 236, .05); border-color: rgba(245, 243, 236, .14); }
.panel-dark .card:hover { border-color: var(--gold); background: rgba(245, 243, 236, .08); }
.panel-dark .card p { color: rgba(245, 243, 236, .74); }
.panel-dark .card__icon { background: var(--gold); color: var(--deep); }
.panel-dark .card__num { color: rgba(245, 243, 236, .22); }

/* ---------- detailed pillar list (What We Do) ---------- */
.pillars { list-style: none; display: grid; gap: clamp(1rem, 2vw, 1.4rem); }
.pillar {
  display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
  background: var(--cream-2);
  border: 1px solid var(--sage-2);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.pillar:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.pillar__icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center;
  background: var(--deep); color: var(--gold);
}
.pillar__icon svg { width: 30px; height: 30px; }
.pillar__index {
  font-family: var(--ff-display); font-size: .95rem; font-weight: 700; color: var(--moss);
  letter-spacing: .12em; display: block; margin-bottom: .3rem;
}
.pillar h3 { margin-bottom: .55rem; }
.pillar p { color: var(--ink-60); max-width: 68ch; }
@media (max-width: 640px) {
  .pillar { grid-template-columns: 1fr; }
  .pillar__icon { width: 54px; height: 54px; }
}

/* ---------- numbered reason grid (Partner) ---------- */
.reasons { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 980px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .reasons { grid-template-columns: 1fr; } }
.reason {
  background: var(--cream-2); border: 1px solid var(--sage-2);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.5vw, 2.1rem);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.reason:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--moss); }
.reason__badge {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--gold); color: var(--ink);
  font-family: var(--ff-display); font-weight: 700; font-size: 1.15rem;
  margin-bottom: 1.1rem;
}
.reason p { color: var(--ink-60); font-size: .97rem; }

/* ---------- youth split bar ---------- */
.youth-panel {
  background: var(--deep); color: var(--cream);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(245, 243, 236, .14);
}
.youth-panel--media { padding: 0; overflow: hidden; }
.youth-panel--media > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.youth-panel__body { padding: clamp(1.75rem, 4vw, 2.5rem); }

.youth-bar {
  display: flex; height: 34px; border-radius: 999px; overflow: hidden;
  background: rgba(245, 243, 236, .1); margin: 1.5rem 0 1.1rem;
}
.youth-bar__seg { width: 0; transition: width 1.4s var(--ease); }
.youth-bar__seg--youth { background: var(--gold); }
.youth-bar__seg--other { background: var(--moss); }
.youth-legend { display: flex; flex-wrap: wrap; gap: 1.5rem; list-style: none; font-size: .95rem; }
.youth-legend li { display: flex; align-items: center; gap: .6rem; }
.swatch { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.swatch--gold { background: var(--gold); }
.swatch--moss { background: var(--moss); }
.youth-legend strong { font-family: var(--ff-display); font-size: 1.1rem; }
.note { font-size: .84rem; color: rgba(245, 243, 236, .6); margin-top: 1.25rem; font-style: italic; }
.panel-sage .note, .section .note--dark { color: var(--ink-60); }

/* ---------- map ---------- */
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .map-layout { grid-template-columns: 1fr; } }

.map-figure {
  position: relative;
  background: var(--cream-2);
  border: 1px solid var(--sage-2);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}
.panel-dark .map-figure, .map-figure--dark {
  background: rgba(245, 243, 236, .05); border-color: rgba(245, 243, 236, .16); box-shadow: none;
}
.map-svg { width: 100%; height: auto; }
.map-svg .ghana-outline { fill: var(--sage); stroke: var(--moss); stroke-width: 3; }
.map-figure--dark .map-svg .ghana-outline { fill: rgba(245, 243, 236, .08); stroke: rgba(228, 231, 223, .45); }
.map-svg .north-zone { fill: var(--moss); opacity: .18; }
.map-figure--dark .map-svg .north-zone { fill: var(--gold); opacity: .12; }
.map-svg .zone-line { stroke: var(--moss); stroke-width: 2; stroke-dasharray: 8 7; opacity: .55; }
.map-figure--dark .map-svg .zone-line { stroke: var(--gold); opacity: .5; }
.map-svg .zone-label { font-family: var(--ff-body); font-size: 17px; letter-spacing: .18em; fill: var(--moss); text-transform: uppercase; font-weight: 600; }
.map-figure--dark .map-svg .zone-label { fill: rgba(228, 231, 223, .7); }

.pin { cursor: pointer; }
.pin__halo { fill: var(--gold); opacity: 0; transform-origin: center; transition: opacity .2s; }
.pin__dot { fill: var(--gold); stroke: var(--deep); stroke-width: 2.5; transition: r .2s var(--ease); }
.map-figure--dark .pin__dot { stroke: var(--deep-2); }
.pin__label { font-family: var(--ff-body); font-size: 19px; font-weight: 600; fill: var(--deep); paint-order: stroke; stroke: var(--cream-2); stroke-width: 5px; stroke-linejoin: round; }
.map-figure--dark .pin__label { fill: var(--cream); stroke: var(--deep); stroke-width: 4px; }
.pin__leader { stroke: var(--moss); stroke-width: 1.6; opacity: .45; }
.map-figure--dark .pin__leader { stroke: rgba(228, 231, 223, .5); }
.pin:hover .pin__leader, .pin.is-active .pin__leader { opacity: 1; stroke: var(--gold-2); }
.map-figure--dark .pin:hover .pin__leader, .map-figure--dark .pin.is-active .pin__leader { stroke: var(--gold); }
.pin:hover .pin__dot, .pin.is-active .pin__dot { r: 12; }
.pin:hover .pin__halo, .pin.is-active .pin__halo { opacity: .28; }

.hq__ring { fill: none; stroke: var(--moss); stroke-width: 2.4; }
.hq__dot { fill: var(--moss); }
.map-figure--dark .hq__ring { stroke: rgba(228, 231, 223, .55); }
.map-figure--dark .hq__dot { fill: rgba(228, 231, 223, .55); }

/* On phones the SVG labels shrink below legibility — the community list carries the names instead. */
@media (max-width: 700px) {
  .pin__label, .pin__leader { display: none; }
  .map-svg .zone-label { font-size: 24px; }
}

.community-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 520px) { .community-list { grid-template-columns: 1fr; } }
.community {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1rem; border-radius: 12px;
  background: var(--cream-2); border: 1px solid var(--sage-2);
  font-weight: 500; cursor: default;
  transition: background-color .2s, border-color .2s, transform .2s var(--ease);
}
.community::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none;
  box-shadow: 0 0 0 4px rgba(217, 164, 65, .18);
}
.community:hover, .community.is-active { border-color: var(--moss); transform: translateX(3px); }
.panel-dark .community { background: rgba(245, 243, 236, .05); border-color: rgba(245, 243, 236, .14); color: var(--cream); }
.panel-dark .community:hover, .panel-dark .community.is-active { border-color: var(--gold); background: rgba(245, 243, 236, .09); }

/* ---------- community pill list (home teaser) ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin-top: 1.5rem; }
.pill-list li {
  padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid rgba(245, 243, 236, .28); color: rgba(245, 243, 236, .9);
  font-size: .9rem;
}

/* ---------- feature list with ticks ---------- */
.ticks { list-style: none; display: grid; gap: .9rem; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: .85rem; align-items: start; }
.ticks li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: .28rem;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322271F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--deep); color: var(--cream);
  text-align: center;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(680px 340px at 50% 0%, rgba(92, 122, 90, .55), transparent 65%);
}
.cta-banner__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.cta-banner--photo::before {
  z-index: 1;
  background: linear-gradient(rgba(37, 54, 41, .93), rgba(47, 68, 55, .90));
}
/* NB: must not be `.cta-banner > *` — that would drag .cta-banner__bg out of its
   absolute positioning and into normal flow, dropping the image below the content. */
.cta-banner > .wrap { position: relative; z-index: 2; }
.cta-banner .btn-row { justify-content: center; margin-top: 2rem; }
.cta-banner .lede { margin-inline: auto; max-width: 62ch; }

/* next-page CTA strip */
.next-cta { display: flex; justify-content: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 880px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-list { list-style: none; display: grid; gap: 1rem; margin-top: 2rem; }
.contact-item {
  display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center;
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  background: var(--cream-2); border: 1px solid var(--sage-2);
  text-decoration: none; color: inherit;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
a.contact-item:hover { border-color: var(--moss); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-item__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--deep); color: var(--gold); }
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__label { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--moss); font-weight: 600; }
.contact-item__value { display: block; font-weight: 600; word-break: break-word; }

.form-card {
  background: var(--cream-2); border: 1px solid var(--sage-2);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.field .req { color: var(--gold-2); }
.field input, .field textarea {
  font: inherit; font-size: .98rem; color: var(--ink);
  padding: .8rem .95rem; border-radius: 10px;
  border: 1.5px solid var(--sage-2); background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--moss); background: #fff;
  box-shadow: 0 0 0 4px rgba(92, 122, 90, .14);
}
.field textarea { resize: vertical; min-height: 140px; }
.field .error-msg { font-size: .8rem; color: #A5442E; min-height: 1em; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A5442E; }
.form-card .btn { margin-top: 1.4rem; }
.form-note { font-size: .84rem; color: var(--ink-60); margin-top: 1rem; }
.form-status {
  margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: 12px;
  background: rgba(92, 122, 90, .12); border: 1px solid var(--moss);
  font-size: .95rem; display: none;
}
.form-status.is-visible { display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep-2); color: rgba(245, 243, 236, .78); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: var(--ff-body); font-size: .78rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem;
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-tagline { font-family: var(--ff-display); font-size: 1.15rem; color: var(--cream); margin-top: 1.25rem; }
.footer-links { list-style: none; display: grid; gap: .6rem; }
.footer-links a { text-decoration: none; font-size: .95rem; transition: color .18s; }
.footer-links a:hover { color: var(--gold); }
.footer-contact { list-style: none; display: grid; gap: .7rem; font-size: .95rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(245, 243, 236, .12);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .85rem; color: rgba(245, 243, 236, .55);
}

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

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

/* ---------- card grid variants (declared last so they win over the base rules) ---------- */
@media (min-width: 1051px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 621px) and (max-width: 1050px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 621px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }

/* utility */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-gold { color: var(--gold); }
