/* ==========================================================================
   FEEED Trust — design system
   Palette fixed by the client blueprint, slide 10:
   Deep Green, Earth Cream, Hope Gold, Dark Teal, Clean White.
   Everything renders without JavaScript. Motion is an enhancement only.
   ========================================================================== */

:root {
  /* Mandated palette */
  --green:        #14452F;
  --green-deep:   #0E2E1F;
  --teal:         #0E3B3E;
  --cream:        #F2ECDD;
  --cream-soft:   #F8F4EA;
  --cream-deep:   #E7DFCB;
  --gold:         #B8860B;
  --gold-bright:  #D9A227;
  --white:        #FFFFFF;

  /* Derived ink */
  --ink:          #10231A;
  --ink-mid:      rgba(16,35,26,.72);
  --ink-soft:     rgba(16,35,26,.56);
  --rule:         rgba(20,69,47,.16);
  --rule-strong:  rgba(20,69,47,.30);
  --on-dark:      #F2ECDD;
  --on-dark-mid:  rgba(242,236,221,.74);
  --on-dark-soft: rgba(242,236,221,.52);
  --on-dark-rule: rgba(242,236,221,.20);

  /* Type */
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --body:    'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Measure */
  --page:    1360px;
  --gut:     clamp(20px, 4vw, 60px);
  --whatsapp:#25D366;
}

/* --- 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: 400 17px/1.62 var(--body);
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
input, select, textarea { min-width: 0; max-width: 100%; }
/* Grid and flex items default to min-width:auto, which lets wide children
   push a track past its share. These are the containers that hold form
   controls and long unbroken strings. */
.field, .grid > *, .card { min-width: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green); color: var(--on-dark);
  padding: 12px 20px; font: 600 14px var(--body);
}
.skip:focus { left: 0; }

/* --- type scale ----------------------------------------------------------- */
.display-xl, .display-l, .display-m, .display-s {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: 'SOFT' 20, 'WONK' 1;
  letter-spacing: -0.018em;
  line-height: 1.06;
  text-wrap: balance;
}
.display-xl { font-size: clamp(42px, 6.2vw, 84px); }
.display-l  { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; }
.display-m  { font-size: clamp(27px, 2.8vw, 39px); line-height: 1.14; }
.display-s  { font-size: clamp(21px, 1.7vw, 26px); line-height: 1.22; letter-spacing: -0.012em; }

.lede { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.58; color: var(--ink-mid); text-wrap: pretty; }
.body-s { font-size: 15.5px; line-height: 1.6; color: var(--ink-mid); }

/* The utility face carries records: labels, districts, dates, document types.
   It is the visual signal for "this is a filed fact", used nowhere else. */
.label {
  font: 500 11px/1 var(--mono);
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gold);
}
.label--quiet { color: var(--ink-soft); }
.label--ondark { color: var(--gold-bright); }

/* --- layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tight { padding-block: clamp(38px, 4.5vw, 62px); }
.section--green { background: var(--green); color: var(--on-dark); }
.section--teal  { background: var(--teal);  color: var(--on-dark); }
.section--soft  { background: var(--cream-soft); }
.section--white { background: var(--white); }
.section--green .lede, .section--teal .lede { color: var(--on-dark-mid); }
.section--green .body-s, .section--teal .body-s { color: var(--on-dark-mid); }

.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 46px); }
.head__text { max-width: 60ch; }
.head .label { display: block; margin-bottom: 14px; }
.head p { margin-top: 14px; }

.grid { display: grid; gap: clamp(20px, 2.2vw, 34px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px;
  font: 600 15px/1 var(--body); letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; border-radius: 2px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn--gold   { background: var(--gold); color: #1B1405; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn--green  { background: var(--green); color: var(--on-dark); border-color: var(--green); }
.btn--green:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--line   { background: transparent; color: var(--green); border-color: var(--rule-strong); }
.btn--line:hover { border-color: var(--green); background: rgba(20,69,47,.05); }
.btn--ondark { background: transparent; color: var(--on-dark); border-color: var(--on-dark-rule); }
.btn--ondark:hover { border-color: var(--on-dark); background: rgba(242,236,221,.08); }
.btn--sm { padding: 10px 18px; font-size: 13.5px; }

.textlink {
  font: 600 14.5px/1 var(--body); text-decoration: none; color: var(--green);
  border-bottom: 1.5px solid var(--gold); padding-bottom: 3px;
  transition: color .18s ease, border-color .18s ease;
}
.textlink:hover { color: var(--gold); }
.section--green .textlink, .section--teal .textlink { color: var(--on-dark); border-color: var(--gold-bright); }
.section--green .textlink:hover, .section--teal .textlink:hover { color: var(--gold-bright); }

/* --- utility bar + header ------------------------------------------------- */
.utility {
  background: var(--green-deep); color: var(--on-dark-mid);
  font: 500 12px/1 var(--body);
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; padding-block: 10px; }
.utility__left, .utility__right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.utility a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: var(--gold-bright); }
.utility__sep { opacity: .3; }

.masthead { background: var(--cream); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.masthead .wrap { display: flex; align-items: center; gap: 22px; min-height: 84px; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--green); flex: none; }
.brand img { height: 54px; width: auto; }
.brand__name { font: 800 22px/1 var(--body); letter-spacing: .14em; }
.brand__sub { display: block; margin-top: 4px; font: 500 8.5px/1 var(--mono); letter-spacing: .2em; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 13px; text-decoration: none;
  font: 500 14.5px/1 var(--body); color: var(--green); white-space: nowrap;
  border-radius: 2px;
}
.nav__link:hover { background: rgba(20,69,47,.07); }
.nav__link[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold); }
.nav__caret { width: 8px; height: 8px; opacity: .5; }

.nav__panel {
  position: absolute; top: calc(100% + 2px); left: 0; min-width: 250px;
  background: var(--white); border: 1px solid var(--rule);
  box-shadow: 0 20px 44px rgba(20,69,47,.15);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__panel a { display: block; padding: 10px 20px; text-decoration: none; font-size: 14.5px; color: var(--green); }
.nav__panel a:hover { background: var(--cream); color: var(--gold); }

.masthead__cta { display: flex; align-items: center; gap: 10px; flex: none; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 1px solid var(--rule-strong); border-radius: 2px; cursor: pointer; }
.burger span { display: block; width: 19px; height: 1.5px; background: var(--green); position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 19px; height: 1.5px; background: var(--green); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

.mobile-nav { display: none; background: var(--white); border-bottom: 1px solid var(--rule); }
.mobile-nav[data-open] { display: block; }
.mobile-nav a { display: block; padding: 14px var(--gut); text-decoration: none; color: var(--green); font-weight: 500; border-bottom: 1px solid var(--rule); }
.mobile-nav a:last-child { border-bottom: 0; }

/* --- hero ----------------------------------------------------------------- */
.hero { position: relative; background: var(--green-deep); color: var(--on-dark); overflow: hidden; }
.hero__stage { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero__slide:first-child { opacity: 1; }
.hero__slide[data-active] { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(11,36,24,.96) 0%, rgba(11,36,24,.90) 34%, rgba(11,36,24,.52) 62%, rgba(11,36,24,.34) 100%),
    linear-gradient(0deg, rgba(11,36,24,.62) 0%, rgba(11,36,24,0) 42%);
}
.hero__inner { position: relative; padding-block: clamp(64px, 8vw, 118px); min-height: clamp(500px, 58vw, 660px); display: flex; flex-direction: column; justify-content: center; }
.hero__body { max-width: min(660px, 56%); }
.hero h1 { margin: 16px 0 0; color: var(--on-dark); }
.hero h1 em { font-style: italic; color: var(--gold-bright); font-variation-settings: 'SOFT' 40, 'WONK' 1; }
.hero__lede { margin-top: 24px; max-width: 46ch; font-size: clamp(17px, 1.25vw, 19.5px); line-height: 1.56; color: var(--on-dark-mid); }
.hero__actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__proof { margin-top: 34px; display: flex; align-items: center; gap: 11px; font: 400 14.5px/1.5 var(--display); font-style: italic; color: var(--on-dark-mid); max-width: 52ch; }
.hero__proof::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-bright); flex: none; }

.hero__dots { position: absolute; left: var(--gut); bottom: 26px; display: flex; gap: 8px; z-index: 3; }
.hero__dot { width: 26px; height: 3px; border: 0; padding: 0; background: rgba(242,236,221,.32); cursor: pointer; transition: background .2s ease; }
.hero__dot[aria-current="true"] { background: var(--gold-bright); }
.hero__credit { position: absolute; right: var(--gut); bottom: 24px; font: 400 10px/1 var(--mono); letter-spacing: .13em; color: var(--on-dark-soft); text-transform: uppercase; z-index: 3; }

/* --- impact strip --------------------------------------------------------- */
.impact { background: var(--cream-soft); border-block: 1px solid var(--rule); }
.impact__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.impact__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) { .impact__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .impact__grid--4 { grid-template-columns: 1fr; } }
.impact__cell { padding: clamp(26px, 3vw, 40px) clamp(14px, 1.6vw, 24px); border-right: 1px solid var(--rule); }
.impact__cell:last-child { border-right: 0; }
.impact__num { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 3.4vw, 50px); line-height: 1; color: var(--green); font-variation-settings: 'SOFT' 0, 'WONK' 0; }
.impact__num sup { font-size: .42em; vertical-align: super; color: var(--gold); margin-left: 1px; }
.impact__cap { margin-top: 12px; font: 500 10.5px/1.45 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft); }
.impact__note { padding: 16px 0 20px; font: 400 12.5px/1.5 var(--body); color: var(--ink-soft); border-top: 1px solid var(--rule); }

/* --- focus areas: circular, pictorial, click through ---------------------- */
.focus { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(14px, 1.8vw, 28px); }
.focus__item { text-align: center; text-decoration: none; color: inherit; display: block; }
.focus__ring {
  display: block;
  position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 3px solid var(--cream-deep);
  transition: border-color .22s ease, transform .22s ease;
}
.focus__ring img { width: 100%; height: 100%; object-fit: cover; }
.focus__item:hover .focus__ring { border-color: var(--gold); transform: translateY(-4px); }
/* The name box is a fixed two lines so the captions below stay on one
   baseline whether a programme is called "Education" or "Women and Child
   Safety". */
.focus__name {
  display: flex; align-items: flex-start; justify-content: center;
  min-height: 2.5em; margin-top: 16px;
  font-family: var(--display); font-weight: 500;
  font-size: clamp(15px, 1.15vw, 18px); line-height: 1.24; color: var(--green);
}
.focus__meta { display: block; margin-top: 4px; font: 400 11.5px/1.45 var(--body); color: var(--ink-soft); }

/* --- SIGNATURE: the proof rail ------------------------------------------- */
/* Every frame is stamped like a filed record: partner, district, date. This is
   the component a CSR due-diligence officer scans, so it is the one place the
   design is allowed to be loud. */
.rail { position: relative; }
.rail__track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 20px; scrollbar-width: thin;
  scrollbar-color: var(--rule-strong) transparent;
}
.rail__track::-webkit-scrollbar { height: 5px; }
.rail__track::-webkit-scrollbar-thumb { background: var(--rule-strong); }
.rail__card {
  flex: 0 0 clamp(268px, 26vw, 372px); scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--rule);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.rail__card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(20,69,47,.10); }
.rail__shot { aspect-ratio: 3/2; overflow: hidden; background: var(--cream-deep); }
.rail__shot img { width: 100%; height: 100%; object-fit: cover; }
.rail__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.rail__title { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.2; color: var(--green); }
/* the stamp */
.stamp {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  font: 500 10px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 12px; border-top: 1px dashed var(--rule-strong); margin-top: auto;
}
.stamp span { display: inline-flex; align-items: center; gap: 6px; }
.stamp span + span::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); }
.stamp--ondark { color: var(--on-dark-soft); border-color: var(--on-dark-rule); }

/* --- cards ---------------------------------------------------------------- */
.card { background: var(--white); border: 1px solid var(--rule); padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; gap: 13px; }
.card--flat { background: transparent; border: 0; border-top: 2px solid var(--green); padding: 22px 0 0; }
.card--ondark { background: rgba(242,236,221,.05); border-color: var(--on-dark-rule); }
.card__title { font-family: var(--display); font-weight: 500; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.2; color: var(--green); }
.card--ondark .card__title { color: var(--on-dark); }
.card__text { font-size: 15.5px; line-height: 1.58; color: var(--ink-mid); }
.card--ondark .card__text { color: var(--on-dark-mid); }
.card a.card__title { text-decoration: none; }

/* Numbered steps, used where the order genuinely matters (what happens after
   you pay, how a CSR engagement proceeds). Not used as decoration. */
ol.steps { counter-reset: step; display: flex; flex-direction: column; gap: 11px; }
ol.steps li { counter-increment: step; display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
ol.steps li::before {
  content: counter(step);
  font: 500 11px/1.5 var(--mono); color: var(--gold);
  border-top: 1.5px solid var(--gold); padding-top: 5px;
}

.media-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 14px; }
.media-card__shot { aspect-ratio: 3/2; overflow: hidden; background: var(--cream-deep); }
.media-card__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.22,.61,.36,1); }
.media-card:hover .media-card__shot img { transform: scale(1.04); }
.media-card__title { font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.22; color: var(--green); }

/* --- partner marquee ------------------------------------------------------ */
.marquee { overflow: hidden; position: relative; padding-block: 6px; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--cream-soft), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--cream-soft), transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: slide 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__logo {
  flex: none; width: 178px; height: 96px; background: var(--white);
  border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; padding: 16px;
}
.marquee__logo img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* --- document list -------------------------------------------------------- */
.docs { display: flex; flex-direction: column; }
.doc {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--on-dark-rule);
  text-decoration: none; color: inherit;
}
.doc:hover .doc__name { color: var(--gold-bright); }
.doc__name { font-weight: 600; font-size: 16px; }
.doc__meta { font: 500 10.5px/1 var(--mono); letter-spacing: .13em; text-transform: uppercase; color: var(--on-dark-soft); white-space: nowrap; }
.docs--light .doc { border-color: var(--rule); }
.docs--light .doc__meta { color: var(--ink-soft); }
.docs--light .doc:hover .doc__name { color: var(--gold); }

/* --- people --------------------------------------------------------------- */
.founder { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 76px); align-items: center; }
.founder__portrait { position: relative; }
.founder__portrait img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.founder__quote { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(21px, 2vw, 29px); line-height: 1.34; color: var(--green); text-wrap: pretty; }
.founder__rule { width: 78px; height: 10px; margin: 22px 0; color: var(--gold); }

.person { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--rule); background: var(--white); }
.person__shot { aspect-ratio: 1; overflow: hidden; background: var(--cream-deep); }
.person__shot img { width: 100%; height: 100%; object-fit: cover; }
.person__body { padding: 20px 22px 24px; }
.person__name { font: 700 15px/1.25 var(--body); letter-spacing: .01em; color: var(--green); text-transform: uppercase; }
.person__role { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--ink-mid); }

/* --- forms ---------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 600 13px/1 var(--body); color: var(--green); }
.field input, .field select, .field textarea {
  padding: 13px 15px; background: var(--white);
  border: 1px solid var(--rule-strong); border-radius: 2px; font-size: 15.5px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field__hint { font-size: 12.5px; color: var(--ink-soft); }

.amounts { display: flex; gap: 10px; flex-wrap: wrap; }
.amount {
  padding: 14px 22px; background: var(--white); border: 1.5px solid var(--rule-strong);
  border-radius: 2px; font: 600 16px/1 var(--body); color: var(--green); cursor: pointer;
}
.amount[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: var(--on-dark); }

.toggle { display: inline-flex; padding: 4px; background: var(--cream-deep); border-radius: 2px; }
.toggle button { padding: 10px 22px; border: 0; background: none; font: 600 14.5px/1 var(--body); color: var(--ink-mid); cursor: pointer; border-radius: 2px; }
.toggle button[aria-pressed="true"] { background: var(--white); color: var(--green); box-shadow: 0 1px 3px rgba(20,69,47,.14); }

/* --- notes and flags ------------------------------------------------------ */
.note {
  border-left: 3px solid var(--gold); background: rgba(184,134,11,.07);
  padding: 16px 20px; font-size: 14.5px; line-height: 1.55; color: var(--ink-mid);
}
.note strong { color: var(--green); }
/* --- footer --------------------------------------------------------------- */
.footer { background: var(--green-deep); color: var(--on-dark-mid); padding-block: clamp(46px, 5vw, 72px) 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(26px, 3vw, 50px); }
.footer h4 { font: 600 11px/1 var(--mono); letter-spacing: .17em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.footer p, .footer li { font-size: 14.5px; line-height: 1.68; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--gold-bright); }
.footer__brand { font: 800 20px/1 var(--body); letter-spacing: .13em; color: var(--on-dark); }
.footer__tag { margin-top: 10px; font-size: 13.5px; color: var(--on-dark-soft); max-width: 34ch; }
.footer__links li { margin-bottom: 9px; }
.footer__news { display: flex; margin-top: 6px; }
.footer__news input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--on-dark-rule); background: rgba(242,236,221,.06); color: var(--on-dark); border-radius: 2px 0 0 2px; }
.footer__news input::placeholder { color: var(--on-dark-soft); }
.footer__news button { padding: 12px 20px; border: 0; background: var(--gold); color: #1B1405; font: 600 14px/1 var(--body); cursor: pointer; border-radius: 0 2px 2px 0; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 38px; height: 38px; border: 1px solid var(--on-dark-rule); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.social a:hover { border-color: var(--gold-bright); background: rgba(242,236,221,.07); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.footer__base {
  margin-top: clamp(36px, 4vw, 58px); padding-block: 22px;
  border-top: 1px solid var(--on-dark-rule);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font: 400 12.5px/1 var(--body); color: var(--on-dark-soft);
}

/* --- floating whatsapp ---------------------------------------------------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.24);
}
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { transform: scale(1.06); }

/* --- reveal (enhancement only) -------------------------------------------- */
/* Content is visible by default. The class is added by JS only after it has
   confirmed it can also remove it, so a JS failure can never hide content. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1); }


/* --- impact map ----------------------------------------------------------- */
.map { display: grid; grid-template-columns: minmax(300px, 1fr) 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.map__svg { width: 100%; height: auto; max-height: 620px; overflow: visible; }
.map__land { fill: var(--cream-deep); stroke: var(--rule-strong); stroke-width: 1.5; stroke-linejoin: round; }
.map__halo { fill: var(--gold); opacity: 0; transition: opacity .2s ease; }
.map__dot { fill: var(--green); stroke: var(--cream-soft); stroke-width: 2; transition: fill .2s ease; }
.map__label { font: 500 12px var(--mono); letter-spacing: .08em; fill: var(--ink-mid); text-transform: uppercase; }
.map__pin { cursor: default; }
.map__pin:hover .map__halo, .map__pin:focus .map__halo { opacity: .28; }
.map__pin:hover .map__dot, .map__pin:focus .map__dot { fill: var(--gold); }
.map__pin:focus { outline: none; }
.map__pin:focus-visible .map__dot { stroke: var(--gold); stroke-width: 3; }
.map__caveat { margin-top: 14px; line-height: 1.5; }
.map__list { display: flex; flex-direction: column; }
.map__row { display: grid; grid-template-columns: 46px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.map__row-n { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--green); }
.map__row strong { font-size: 16px; color: var(--green); }

/* --- project library filters --------------------------------------------- */
[data-project][hidden] { display: none; }
.filter-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1180px) { .filter-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.filter-tally { font-variant-numeric: tabular-nums; }

/* --- gated download ------------------------------------------------------- */
.gate { border-top: 1px solid var(--rule); margin-top: 4px; padding-top: 16px; }
.gate[hidden] { display: none; }
.gate__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gate__grid .field input { padding: 10px 12px; font-size: 14.5px; }
.gate__note { margin-top: 12px; font-size: 12.5px; color: var(--ink-soft); }

@media (max-width: 1080px) {
  .map { grid-template-columns: 1fr; }
  .map__svg { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .gate__grid { grid-template-columns: 1fr; }
}

/* --- responsive ----------------------------------------------------------- */
@media (max-width: 1180px) {
  .impact__grid { grid-template-columns: repeat(3, 1fr); }
  .impact__cell:nth-child(3n) { border-right: 0; }
  .impact__cell:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .focus { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: flex; margin-left: auto; }
  .masthead__cta .btn--line { display: none; }
  .founder { grid-template-columns: 1fr; }
  .founder__portrait { max-width: 380px; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .utility__left .utility__opt { display: none; }
  .hero__body { max-width: none; }
  .hero__inner { min-height: 460px; }
  .hero__scrim { background: linear-gradient(0deg, rgba(14,46,31,.95) 12%, rgba(14,46,31,.72) 55%, rgba(14,46,31,.55) 100%); }
}
@media (max-width: 620px) {
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .impact__cell { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
  .impact__cell:nth-child(2n) { border-right: 0; }
  .focus { grid-template-columns: repeat(2, 1fr); }
  .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__dots { bottom: 18px; }
  .hero__credit { display: none; }
}

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

@media print {
  .utility, .masthead, .wa-float, .hero__dots { display: none; }
  body { background: #fff; }
}
