/* ==========================================================================
   DPAK — Domestic Professionals Association of Kenya
   Design system: warm paper, ink, clay & olive. Fraunces / Inter / JetBrains Mono.
   ========================================================================== */

:root {
  --paper: #fbf8f2;
  --paper-2: #f3ecdf;
  --cream: #fffdf8;
  --ink: #17130f;
  --ink-2: #332c24;
  --muted: #6d6358;
  --line: #e3d9c9;
  --line-strong: #cbbca7;
  --clay: #a05b33;
  --clay-deep: #773d1f;
  --clay-soft: #efdcca;
  --olive: #2b4436;
  --olive-soft: #dde6da;
  --danger: #8e2f1e;
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  --wrap: 1220px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --shadow: 0 26px 60px -38px rgba(23, 19, 15, 0.55);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.018em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

::selection { background: var(--clay-soft); color: var(--ink); }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

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

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

/* --------------------------------------------------------------------------
   Type & shared bits
   -------------------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: 0 0 auto;
}
.eyebrow--plain::before { display: none; }

.section--ink .eyebrow,
.section--clay .eyebrow { color: var(--clay-soft); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.sec-head .eyebrow { margin-bottom: 18px; }
.sec-title {
  font-size: clamp(2rem, 3.7vw, 3.15rem);
  line-height: 1.02;
  max-width: 20ch;
}
.sec-title em { font-style: italic; color: var(--clay-deep); }
.sec-head__lead {
  justify-self: end;
  max-width: 44ch;
  font-size: 15px;
  color: var(--muted);
}
.sec-head__lead p + p { margin-top: 12px; }

.section--ink .sec-title em { color: var(--clay-soft); }
.section--ink .sec-head__lead { color: rgba(251, 248, 242, 0.66); }

.lede {
  font-size: clamp(17px, 1.5vw, 19.5px);
  line-height: 1.62;
  color: var(--ink-2);
}

.mono {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.source {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.2s, color 0.2s;
}
.arrow-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.arrow-link:hover { color: var(--clay-deep); border-color: var(--clay); }
.arrow-link:hover svg { transform: translateX(4px); }
.section--ink .arrow-link { color: var(--paper); border-color: rgba(251, 248, 242, 0.35); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s, border-color 0.22s, transform 0.22s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--clay-deep); }

.btn--clay { background: var(--clay); color: #fff; }
.btn--clay:hover { background: var(--clay-deep); }

.btn--outline { border-color: var(--line-strong); color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--clay-soft); }

.btn--ghostlight { color: var(--paper); border-color: rgba(251, 248, 242, 0.32); }
.btn--ghostlight:hover { background: rgba(251, 248, 242, 0.1); border-color: var(--paper); }

.btn--sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 15px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   Top bar + header
   -------------------------------------------------------------------------- */

.topbar {
  background: var(--ink);
  color: rgba(251, 248, 242, 0.78);
  font-size: 12px;
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}
.topbar__note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.55);
}
.topbar__links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar__links a {
  text-decoration: none;
  transition: color 0.2s;
}
.topbar__links a:hover { color: var(--paper); }
.topbar__sep { color: rgba(251, 248, 242, 0.28); }
.topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--clay-soft);
  font-weight: 600;
}
.topbar__cta svg { width: 12px; height: 12px; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, background 0.3s;
}
.site-head.is-stuck { box-shadow: 0 18px 40px -34px rgba(23, 19, 15, 0.6); }
.site-head__in {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 36px);
  min-height: 84px;
  transition: min-height 0.3s var(--ease);
}
.site-head.is-stuck .site-head__in { min-height: 70px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand__logo { height: 48px; width: auto; transition: height 0.3s var(--ease); }
.site-head.is-stuck .brand__logo { height: 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.brand__text span {
  margin-top: 5px;
  max-width: 158px;
  font-family: var(--mono);
  font-size: 7.6px;
  line-height: 1.45;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--clay-deep); }

.site-head__actions { display: flex; align-items: center; gap: 10px; }

.burger {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.burger__bars { position: relative; display: block; width: 17px; height: 9px; }
.burger__bars::before,
.burger__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.28s var(--ease), top 0.28s var(--ease);
}
.burger__bars::before { top: 0; }
.burger__bars::after { top: 7.4px; }
.burger[aria-expanded="true"] .burger__bars::before { top: 3.7px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { top: 3.7px; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav__in { padding: 12px 0 28px; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 2px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.mobile-nav a span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.mobile-nav__actions { display: grid; gap: 10px; margin-top: 22px; }
.mobile-nav__meta {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.mobile-nav__meta a { border: 0; padding: 0; font-family: var(--sans); font-size: 13px; display: inline; color: var(--ink); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: clamp(36px, 5vw, 70px) 0 0; overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding-bottom: clamp(36px, 5vw, 62px);
}
.hero__title {
  font-size: clamp(2.65rem, 5.4vw, 4.55rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
}
.hero__title em {
  font-style: italic;
  color: var(--clay-deep);
}
.hero__lead {
  margin-top: 24px;
  max-width: 46ch;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.62;
  color: var(--ink-2);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--clay);
}

.hero__media { position: relative; padding-bottom: 46px; }
.hero__frame {
  position: relative;
  aspect-ratio: 1 / 1.03;
  border-radius: 999px 999px 16px 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(23, 19, 15, 0.1);
  pointer-events: none;
}
.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
}
.hero__inset {
  position: absolute;
  left: clamp(-28px, -3vw, -8px);
  bottom: 0;
  width: 43%;
  aspect-ratio: 4 / 5;
  border: 7px solid var(--paper);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 26px 50px -28px rgba(23, 19, 15, 0.55);
  z-index: 2;
}
.hero__inset img { width: 100%; height: 100%; object-fit: cover; }
.hero__tag {
  position: absolute;
  top: 4%;
  right: clamp(-6px, -1vw, 0px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 14px 30px -24px rgba(23, 19, 15, 0.5);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.hero__tag svg { width: 16px; height: 16px; color: var(--clay-deep); }
.hero__caption {
  position: absolute;
  right: 0;
  bottom: 8px;
  max-width: 58%;
  text-align: right;
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Ticker */
.ticker {
  background: var(--ink);
  color: var(--paper);
  border-block: 1px solid #2e261e;
  overflow: hidden;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 15px 26px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(251, 248, 242, 0.78);
}
.ticker__item::after { content: "✳"; color: var(--clay); font-size: 11px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Generic sections
   -------------------------------------------------------------------------- */

.section { padding: clamp(60px, 8vw, 108px) 0; }
.section--tight { padding: clamp(40px, 5.5vw, 72px) 0; }
.section--sand { background: var(--paper-2); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--line { border-top: 1px solid var(--line); }

/* Intro / challenge */
.challenges { border-top: 1px solid var(--line-strong); }
.challenge {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.02fr) minmax(0, 1.35fr);
  gap: clamp(14px, 3vw, 40px);
  padding: clamp(22px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.challenge__num {
  padding-top: 7px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--clay-deep);
}
.challenge h3 {
  font-size: clamp(1.3rem, 2.1vw, 1.68rem);
  line-height: 1.14;
  max-width: 20ch;
}
.challenge p {
  font-size: 14.8px;
  color: var(--muted);
  max-width: 58ch;
}
.challenge p strong { color: var(--ink); font-weight: 600; }

.callout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 40px);
  margin-top: clamp(30px, 4vw, 46px);
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper-2);
  border-left: 3px solid var(--clay);
}
.callout__label { padding-top: 5px; }
.callout__label .mono { color: var(--clay-deep); }
.callout__body {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  line-height: 1.28;
  letter-spacing: -0.012em;
}
.callout__body em { font-style: italic; color: var(--clay-deep); }
.callout__foot { margin-top: 12px; }

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}
.pillar {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.pillar:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.pillar__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}
.pillar__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.pillar:hover .pillar__media img { transform: scale(1.045); }
.pillar__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 19, 15, 0.5), transparent 55%);
}
.pillar__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 3px;
  background: var(--clay);
  color: #fff;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pillar--sacco .pillar__label { background: var(--olive); }
.pillar__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
  padding: clamp(22px, 2.6vw, 30px);
}
.pillar__body h3 { font-size: clamp(1.55rem, 2.4vw, 2rem); }
.pillar__body p { font-size: 14.7px; color: var(--muted); }
.pillar__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.pillar__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.pillar__more svg { width: 17px; height: 17px; color: var(--clay-deep); transition: transform 0.3s var(--ease); }
.pillar:hover .pillar__more svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.stat {
  padding: 6px clamp(14px, 2.4vw, 30px);
  border-left: 1px solid rgba(251, 248, 242, 0.16);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.stat__num small { font-size: 0.48em; letter-spacing: -0.01em; }
.stat__label {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay-soft);
}
.stat__body {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(251, 248, 242, 0.58);
}
.stats__foot {
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 22px;
  border-top: 1px solid rgba(251, 248, 242, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: rgba(251, 248, 242, 0.45);
}

/* --------------------------------------------------------------------------
   Programmes list (home)
   -------------------------------------------------------------------------- */

.prog-list { border-top: 1px solid var(--line-strong); }
.prog {
  display: grid;
  grid-template-columns: 52px minmax(0, 1.05fr) minmax(0, 1.4fr) 46px;
  gap: clamp(14px, 2.6vw, 32px);
  align-items: center;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.25s, padding 0.25s var(--ease);
}
.prog:hover { background: var(--paper-2); padding-inline: 18px; }
.prog__num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--clay-deep);
}
.prog h3 { font-size: clamp(1.3rem, 2vw, 1.62rem); line-height: 1.12; }
.prog p { font-size: 14px; color: var(--muted); max-width: 56ch; }
.prog__arrow {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.prog__arrow svg { width: 16px; height: 16px; }
.prog:hover .prog__arrow { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------------------
   Story panel
   -------------------------------------------------------------------------- */

.story-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  overflow: hidden;
  border-radius: 20px;
  background: var(--paper-2);
}
.story-panel__media { position: relative; min-height: 360px; }
.story-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 19, 15, 0.55), transparent 60%);
}
.story-panel__cap {
  position: absolute;
  left: 24px; right: 24px; bottom: 22px;
  z-index: 2;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 8.5px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.story-panel__body { padding: clamp(26px, 4vw, 54px); }
.story-panel__body .eyebrow { margin-bottom: 20px; }
.quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-indent: -0.4em;
}
.quote em { font-style: italic; color: var(--clay-deep); }
.quote__cite {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote__cite::before { content: ""; width: 24px; height: 1px; background: var(--clay); }

.story-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 36px);
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}
.story-facts h4 {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-facts li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.story-facts li + li { margin-top: 6px; }
.story-facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 1px;
  background: var(--line-strong);
}
.story-facts .after li::before { background: var(--clay); }
.story-facts .after h4 { color: var(--clay-deep); }

/* --------------------------------------------------------------------------
   Certification
   -------------------------------------------------------------------------- */

.cert {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.cert__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px);
  min-height: 380px;
  border-radius: 20px;
  background: var(--paper-2);
  overflow: hidden;
}
.cert__visual::before {
  content: "";
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  top: -40%;
  right: -40%;
}
.seal { width: min(230px, 66%); aspect-ratio: 1; }
.seal__ring { transform-origin: 50% 50%; animation: spin 44s linear infinite; }
.seal__ring text {
  font-family: var(--mono);
  font-size: 7.6px;
  letter-spacing: 0.34em;
  fill: var(--ink);
}
.seal__core {
  font-family: var(--serif);
  font-size: 40px;
  fill: var(--ink);
}
.seal__sub {
  font-family: var(--mono);
  font-size: 5.6px;
  letter-spacing: 0.26em;
  fill: var(--muted);
}
@keyframes spin { to { transform: rotate(360deg); } }
.cert__visual p {
  position: relative;
  max-width: 30ch;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

.levels { border-top: 1px solid var(--line-strong); margin-top: 22px; }
.level {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.level__n {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--clay-deep);
}
.level h3 { font-size: 1.32rem; line-height: 1.2; }
.level p { margin-top: 4px; font-size: 14px; color: var(--muted); }

.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 26px;
  margin-top: 24px;
}
.checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink-2);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--clay-deep);
  border-bottom: 1.5px solid var(--clay-deep);
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Gallery + lightbox
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
}
.shot {
  position: relative;
  grid-column: span 4;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper-2);
  cursor: zoom-in;
}
.shot img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.shot--wide { grid-column: span 8; }
.shot--half { grid-column: span 6; }
.shot--tall img { aspect-ratio: 3 / 4; }
.shot--square img { aspect-ratio: 1 / 1; }
.shot:hover img { transform: scale(1.05); }
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 19, 15, 0.6), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s;
}
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot__cap {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  z-index: 2;
  text-align: left;
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s var(--ease);
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }

.lightbox {
  width: min(1080px, 92vw);
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--paper);
}
.lightbox::backdrop { background: rgba(14, 11, 9, 0.92); backdrop-filter: blur(6px); }
.lightbox__img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 8px;
  background: #0d0b09;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
}
.lightbox__cap {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.7);
}
.lightbox__controls { display: flex; gap: 8px; }
.lb-btn {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid rgba(251, 248, 242, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lb-btn:hover { background: rgba(251, 248, 242, 0.12); border-color: var(--paper); }
.lb-btn svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Membership
   -------------------------------------------------------------------------- */

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.audience__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  text-decoration: none;
  background: var(--cream);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.audience__card span { display: block; }
.audience__card strong { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.audience__card small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.audience__card svg { width: 18px; height: 18px; flex: 0 0 auto; }
.audience__card:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.audience__card:hover small { color: rgba(251, 248, 242, 0.65); }

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}
.benefit { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.benefit__n {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: var(--clay-deep);
}
.benefit h3 { margin-top: 14px; font-size: 1.35rem; line-height: 1.18; }
.benefit p { margin-top: 8px; font-size: 14px; color: var(--muted); }

.sacco-panel {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(26px, 4vw, 56px);
  padding: clamp(26px, 4.5vw, 54px);
  border-radius: 20px;
  background: var(--olive);
  color: #f2f5ef;
  overflow: hidden;
}
.sacco-panel::after {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  right: -180px; bottom: -220px;
  border: 1px solid rgba(242, 245, 239, 0.18);
  border-radius: 50%;
}
.sacco-panel .eyebrow { color: var(--olive-soft); }
.sacco-panel h2 { font-size: clamp(1.8rem, 3.1vw, 2.6rem); color: #f2f5ef; }
.sacco-panel h2 em { font-style: italic; color: var(--olive-soft); }
.sacco-panel p { margin-top: 16px; font-size: 14.5px; color: rgba(242, 245, 239, 0.72); max-width: 40ch; }
.sacco-panel .btn { margin-top: 24px; }
.sacco-features { position: relative; z-index: 2; border-top: 1px solid rgba(242, 245, 239, 0.22); }
.sacco-features li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(242, 245, 239, 0.16);
}
.sacco-features .mono { padding-top: 3px; font-size: 9px; color: var(--olive-soft); }
.sacco-features strong { display: block; font-weight: 600; font-size: 14.5px; }
.sacco-features span { display: block; margin-top: 2px; font-size: 12.8px; line-height: 1.55; color: rgba(242, 245, 239, 0.68); }
.sacco-note {
  margin-top: 28px;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(242, 245, 239, 0.5);
  max-width: 62ch;
}

/* Wizard */
.wizard {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(26px, 4vw, 54px);
  padding: clamp(22px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-2);
}
.wizard__intro h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.08; }
.wizard__intro > p { margin-top: 12px; font-size: 13.5px; color: var(--muted); max-width: 34ch; }
.wizard__progress { display: flex; gap: 5px; margin-top: 26px; }
.wizard__progress span {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--line-strong);
  transition: background 0.3s;
}
.wizard__progress span.is-done { background: var(--clay); }
.wizard__step-label { margin-top: 12px; }
.wizard__step-label .mono { font-size: 9px; color: var(--muted); }

.wizard__panel {
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
}
.wizard__q { font-size: clamp(1.35rem, 2.4vw, 1.85rem); line-height: 1.15; }
.wizard__hint { margin-top: 8px; font-size: 13px; color: var(--muted); }
.wizard__body { margin-top: 22px; flex: 1; }
.wizard__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.wizard__field { display: grid; gap: 7px; margin-top: 18px; }
.wizard__field label, .field label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.wizard input[type="text"],
.wizard input[type="email"],
.wizard input[type="tel"] {
  width: 100%;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: #fff;
  font-family: var(--serif);
  font-size: 21px;
  outline: none;
}
.wizard input:focus { border-color: var(--clay); }
.wizard__error { color: var(--danger); font-size: 12px; min-height: 16px; }
.wizard__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.wizard__back {
  border: 0;
  background: none;
  padding: 8px 0;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wizard__back:hover { color: var(--ink); }
.wizard__summary { display: grid; gap: 0; margin-top: 4px; }
.wizard__summary div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.wizard__summary dt { color: var(--muted); }
.wizard__summary dd { margin: 0; font-weight: 500; }
.wizard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.wizard__done h3 { font-size: 1.7rem; }
.wizard__done p { margin-top: 10px; font-size: 13.5px; color: var(--muted); max-width: 44ch; }
.wizard__legal { margin-top: 14px; font-size: 11px; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 400;
  color: var(--clay-deep);
  transition: transform 0.2s;
}
.faq details[open] summary::after { content: "–"; }
.faq__body { padding: 0 40px 22px 0; max-width: 72ch; font-size: 14.5px; color: var(--muted); }
.faq__body p + p { margin-top: 10px; }

/* --------------------------------------------------------------------------
   Interior page hero
   -------------------------------------------------------------------------- */

.page-hero {
  padding: clamp(34px, 5vw, 72px) 0 clamp(32px, 5vw, 60px);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--clay-deep); }
.crumbs span { color: var(--line-strong); }
.page-hero h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.1rem);
  line-height: 0.99;
  letter-spacing: -0.026em;
  max-width: 18ch;
}
.page-hero h1 em { font-style: italic; color: var(--clay-deep); }
.page-hero__aside {
  padding-bottom: 4px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 42ch;
}
.page-hero__aside .mono { display: block; margin-top: 18px; color: var(--muted); font-size: 9px; }

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}
.form-card {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}
.form-card__head { margin-bottom: 22px; }
.form-card__head h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.form-card__head p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(160, 91, 51, 0.14);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field__err { min-height: 14px; font-size: 11.5px; color: var(--danger); }
.form__note { margin-top: 12px; font-size: 11.5px; line-height: 1.6; color: var(--muted); }
.form__status {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--olive-soft);
  color: var(--olive);
  font-size: 13px;
  line-height: 1.55;
}
.form__status.is-visible { display: block; }
.form__status.is-error { background: #f7e3db; color: var(--danger); }
.form__status a { font-weight: 600; }

.contact-list { border-top: 1px solid var(--line-strong); }
.contact-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item svg { width: 17px; height: 17px; margin-top: 4px; color: var(--clay-deep); }
.contact-item .mono { display: block; margin-bottom: 4px; font-size: 9px; color: var(--muted); }
.contact-item a, .contact-item p { font-size: 15.5px; text-decoration: none; overflow-wrap: anywhere; }
.contact-item a:hover { color: var(--clay-deep); }
.contact-item small { display: block; margin-top: 3px; font-size: 12px; color: var(--muted); }

.aside-note {
  margin-top: 24px;
  padding: 20px;
  border-radius: 10px;
  background: var(--paper-2);
  font-size: 13px;
  color: var(--muted);
}
.aside-note strong { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }

.partner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
}
.partner__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 14px;
  background: var(--clay-soft);
}
.partner__stat { padding-inline: clamp(8px, 1.6vw, 18px); border-left: 1px solid rgba(119, 61, 31, 0.22); }
.partner__stat:first-child { border-left: 0; padding-left: 0; }
.partner__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
  color: var(--clay-deep);
}
.partner__stat span { display: block; margin-top: 8px; font-size: 11px; line-height: 1.45; color: var(--clay-deep); }

/* Partner logo grid */
.partners {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.logo-slot {
  display: grid;
  place-items: center;
  min-height: 128px;
  padding: 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.logo-slot img {
  width: auto;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  opacity: 0.85;
}
.logo-slot span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.45;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: end;
  overflow: hidden;
  padding: clamp(30px, 5vw, 62px);
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
}
.cta::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  top: -300px; right: -180px;
  border: 1px solid rgba(251, 248, 242, 0.13);
  border-radius: 50%;
  pointer-events: none;
}
.cta .eyebrow { color: var(--clay-soft); }
.cta h2 {
  font-size: clamp(1.9rem, 4vw, 3.05rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 19ch;
}
.cta h2 em { font-style: italic; color: var(--clay-soft); }
.cta__body p { margin-top: 14px; max-width: 44ch; font-size: 14.5px; line-height: 1.65; color: rgba(251, 248, 242, 0.62); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-self: end; position: relative; z-index: 1; }

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

.site-foot {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(44px, 6vw, 76px);
  background: var(--ink);
  color: var(--paper);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr 1fr;
  gap: clamp(26px, 4vw, 48px);
  padding-bottom: clamp(34px, 4vw, 52px);
  border-bottom: 1px solid rgba(251, 248, 242, 0.15);
}
.foot-brand img { height: 62px; width: auto; margin-bottom: 18px; }
.foot-brand p {
  max-width: 33ch;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(251, 248, 242, 0.6);
}
.foot-brand .mono { display: block; margin-top: 18px; font-size: 8px; color: rgba(251, 248, 242, 0.38); }
.foot h3 { margin-bottom: 16px; font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--clay-soft); }
.foot li + li { margin-top: 9px; }
.foot a { font-size: 13.5px; text-decoration: none; color: rgba(251, 248, 242, 0.72); transition: color 0.2s; }
.foot a:hover { color: var(--paper); }
.foot address { font-style: normal; font-size: 13.5px; line-height: 1.7; color: rgba(251, 248, 242, 0.72); }
.foot__pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 9px 14px;
  border: 1px solid rgba(251, 248, 242, 0.25);
  border-radius: 999px;
  font-size: 11.5px !important;
}
.foot__pdf svg { width: 13px; height: 13px; }
.foot__pdf:hover { border-color: var(--paper); }
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding: 22px 0 30px;
  font-size: 11.5px;
  color: rgba(251, 248, 242, 0.4);
}
.foot-bottom a { font-size: 11.5px; }

.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  cursor: pointer;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 16px; height: 16px; }
.to-top:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   Reveal / motion
   -------------------------------------------------------------------------- */

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

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  .site-head__actions .btn--ghost { display: none; }
  .brand__text span { max-width: 132px; }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .burger { display: grid; }
  .site-head__actions { margin-left: auto; }
  .mobile-nav.is-open { display: block; }
  .site-head:has(.mobile-nav.is-open) { background: var(--paper); }

  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__title { max-width: 16ch; }
  .hero__media { width: min(560px, 100%); margin-inline: auto; }
  .hero__frame { aspect-ratio: 1 / 0.98; }
  .hero__caption { max-width: 54%; }

  .sec-head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
  .sec-head__lead { justify-self: start; }

  .story-panel { grid-template-columns: 1fr; }
  .story-panel__media { min-height: 300px; }

  .cert { grid-template-columns: 1fr; }
  .cert__visual { min-height: 320px; }

  .sacco-panel { grid-template-columns: 1fr; }
  .wizard { grid-template-columns: 1fr; }
  .wizard__panel { min-height: 0; }

  .page-hero__grid { grid-template-columns: 1fr; align-items: start; gap: 22px; }
  .page-hero h1 { max-width: 22ch; }

  .contact-grid, .partner { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta { grid-template-columns: 1fr; align-items: start; }
  .cta__actions { justify-self: start; }
  .foot-grid { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }

  .hero { padding-top: 26px; }
  .hero__title { font-size: clamp(2.35rem, 9.5vw, 3.2rem); }
  .hero__lead { margin-top: 18px; }
  .hero__proof { gap: 6px 16px; }
  .brand__text span { display: none; }
  .brand__logo { height: 42px; }

  .callout { grid-template-columns: 1fr; gap: 12px; }
  .challenge { grid-template-columns: 34px minmax(0, 1fr); }
  .challenge p { grid-column: 2; }
  .challenge__num { padding-top: 4px; }

  .pillars, .audience { grid-template-columns: 1fr; }
  .pillar__media { aspect-ratio: 16 / 9; }

  .stats { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .stat { padding-left: 18px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stats__foot { display: block; }
  .stats__foot span { display: block; margin-top: 6px; }

  .prog { grid-template-columns: 34px minmax(0, 1fr) 36px; gap: 12px; padding: 22px 0; }
  .prog h3 { grid-column: 2; }
  .prog p { grid-column: 2; }
  .prog__arrow { grid-column: 3; grid-row: 1 / span 2; width: 34px; height: 34px; }

  .story-facts { grid-template-columns: 1fr; gap: 20px; }
  .benefits { grid-template-columns: 1fr; gap: 18px; }
  .checklist { grid-template-columns: 1fr; }

  .gallery { gap: 8px; }
  .shot, .shot--half { grid-column: span 6; }
  .shot--wide { grid-column: span 12; }

  .wizard { padding: 18px; }
  .wizard__panel { padding: 20px 16px; }
  .wizard__summary div { grid-template-columns: 90px minmax(0, 1fr); }

  .contact-grid { gap: 28px; }
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-slot { min-height: 104px; padding: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { display: block; }
  .foot-bottom span { display: block; margin-top: 6px; }

  .cta { border-radius: 14px; padding: 28px 22px; }
  .page-hero { padding-top: 28px; }
}

@media (max-width: 560px) {
  .topbar { display: none; }
  .hero__inset { width: 44%; border-width: 5px; left: -6px; }
  .hero__caption { display: none; }
  .hero__tag { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__actions .btn--outline { flex-basis: 100%; }

  .shortlist { grid-template-columns: 1fr; }
  .gallery .shot, .gallery .shot--half, .gallery .shot--wide { grid-column: span 12; }
  .shot img { aspect-ratio: 4 / 3; }
  .shot--tall img { aspect-ratio: 4 / 3; }

  .sacco-panel { padding: 24px 20px; }
  .partner__stats { grid-template-columns: 1fr; gap: 18px; }
  .partner__stat { border-left: 0; padding-left: 0; }

  .lightbox__bar { flex-direction: column; align-items: flex-start; }
  .to-top { width: 40px; height: 40px; }
}

html.no-js .mobile-nav { display: none; }

/* --------------------------------------------------------------------------
   About page components
   -------------------------------------------------------------------------- */

.mini-list { display: grid; gap: 8px; margin-top: 14px; }
.mini-list li {
  position: relative;
  padding-left: 17px;
  font-size: 13.5px;
  line-height: 1.58;
  color: var(--muted);
}
.mini-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 1px;
  background: var(--clay);
}

.founder {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}
.founder__copy .sec-title { max-width: 18ch; }
.founder__copy > p { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 58ch; }

.milestones { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.milestones li {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.milestones .mono { padding-top: 3px; font-size: 9px; color: var(--clay-deep); }
.milestones strong { display: block; font-size: 14px; font-weight: 600; }
.milestones span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.55; color: var(--muted); }

.profile-card {
  position: sticky;
  top: 112px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}
.profile-card img { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; }
.profile-card h3 { font-size: 1.55rem; }
.profile-card .role {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.profile-card blockquote {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.16rem;
  line-height: 1.36;
  letter-spacing: -0.01em;
}
.profile-card .mini-list li { font-size: 12.5px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 3.4vw, 48px);
}
.value { padding-top: 22px; border-top: 1px solid rgba(251, 248, 242, 0.22); }
.value .mono { font-size: 9px; color: var(--clay-soft); }
.value h3 { margin-top: 16px; font-size: clamp(1.8rem, 2.8vw, 2.3rem); color: var(--paper); }
.value p { margin-top: 10px; font-size: 14px; line-height: 1.65; color: rgba(251, 248, 242, 0.6); max-width: 34ch; }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}
.tl {
  position: relative;
  padding: 28px clamp(14px, 2vw, 26px) 4px 0;
  border-right: 1px solid var(--line);
}
.tl:last-child { border-right: 0; padding-right: 0; }
.tl::before {
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clay);
}
.tl__year { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--clay-deep); text-transform: uppercase; }
.tl h3 { margin-top: 12px; font-size: clamp(1.25rem, 1.8vw, 1.45rem); line-height: 1.15; }
.tl p { margin-top: 7px; font-size: 13.4px; line-height: 1.6; color: var(--muted); }

@media (max-width: 920px) {
  .founder { grid-template-columns: 1fr; }
  .profile-card { position: static; max-width: 460px; }
  .timeline { grid-template-columns: 1fr 1fr; gap: 0 0; }
  .tl { padding-bottom: 22px; }
  .tl:nth-child(2) { border-right: 0; }
  .tl:nth-child(3), .tl:nth-child(4) { border-top: 1px solid var(--line); padding-top: 26px; }
}

@media (max-width: 760px) {
  .values-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .tl { border-right: 0; border-top: 1px solid var(--line); padding: 24px 0 18px; }
  .tl:first-child { border-top: 0; padding-top: 24px; }
  .tl::before { display: none; }
  .milestones li { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
}

/* --------------------------------------------------------------------------
   Programmes page components
   -------------------------------------------------------------------------- */

.programme { border-bottom: 1px solid var(--line); }
.programme:first-of-type { border-top: 1px solid var(--line-strong); }
.programme summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 34px;
  gap: clamp(12px, 2.4vw, 26px);
  align-items: center;
  padding: 24px 2px;
  list-style: none;
  cursor: pointer;
  transition: background 0.2s, padding 0.2s var(--ease);
}
.programme summary::-webkit-details-marker { display: none; }
.programme summary:hover { background: var(--paper-2); padding-inline: 14px; }
.programme[open] summary { background: var(--paper-2); padding-inline: 14px; }
.programme__num { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--clay-deep); }
.programme__title { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.85rem); line-height: 1.1; letter-spacing: -0.015em; }
.programme__meta { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); }
.programme__icon {
  position: relative;
  display: block;
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.programme__icon::before,
.programme__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease);
}
.programme__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.programme[open] .programme__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.programme__body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 3.4vw, 44px);
  padding: 6px 2px 34px;
}
.programme__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.programme__copy > p { font-size: 14.8px; color: var(--muted); }
.programme__copy > p + p { margin-top: 10px; }
.programme__copy .checklist { margin-top: 18px; }
.programme__copy .arrow-link { margin-top: 22px; }

.disciplines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}
.disc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color 0.25s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.disc:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.disc__n { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--clay-deep); }
.disc h3 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); }
.disc p { font-size: 14px; color: var(--muted); }
.disc .mini-list { margin-top: 2px; }
.disc .arrow-link { align-self: flex-start; margin-top: auto; }

.path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.path__step {
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-top: 2px solid var(--clay);
  border-radius: 4px 4px 10px 10px;
  background: var(--cream);
}
.path__n { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--clay-deep); }
.path__step h3 { font-size: 1.28rem; }
.path__step p { margin-top: 6px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.path-note { margin-top: 18px; font-size: 12.5px; color: var(--muted); font-style: italic; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 36px);
}
.impact { padding-top: 18px; border-top: 1px solid var(--line-strong); }
.impact__n { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--clay-deep); }
.impact h3 { margin-top: 12px; font-size: clamp(1.2rem, 1.7vw, 1.4rem); line-height: 1.18; }
.impact p { margin-top: 7px; font-size: 13.4px; line-height: 1.6; color: var(--muted); }

.roadmap { border-top: 1px solid rgba(251, 248, 242, 0.18); }
.roadmap__row {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(18px, 3vw, 48px);
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid rgba(251, 248, 242, 0.14);
}
.roadmap__row h3 { font-size: 1.32rem; color: var(--paper); }
.roadmap__row p { margin-top: 4px; font-size: 12px; color: rgba(251, 248, 242, 0.5); }
.roadmap__bars { display: grid; gap: 9px; }
.bar { display: grid; grid-template-columns: 40px minmax(0, 1fr) 56px; gap: 12px; align-items: center; }
.bar__tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; color: rgba(251, 248, 242, 0.5); }
.bar__track { height: 8px; border-radius: 999px; background: rgba(251, 248, 242, 0.1); overflow: hidden; }
.bar__fill {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--clay);
  transform-origin: left center;
  animation: barGrow 1.3s var(--ease) both;
}
.bar--target .bar__fill { background: var(--clay-soft); }
.bar__num { font-family: var(--mono); font-size: 10px; color: rgba(251, 248, 242, 0.8); text-align: right; }
@keyframes barGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.roadmap__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.5);
}
.roadmap__legend span { display: inline-flex; align-items: center; gap: 8px; }
.roadmap__legend i { width: 18px; height: 4px; border-radius: 2px; background: var(--clay); }
.roadmap__legend span:last-child i { background: var(--clay-soft); }

@media (max-width: 920px) {
  .programme__body { grid-template-columns: 1fr; }
  .programme__media img { aspect-ratio: 16 / 9; }
  .impact-grid { grid-template-columns: 1fr 1fr; gap: 24px 20px; }
}

@media (max-width: 760px) {
  .programme summary { grid-template-columns: 30px minmax(0, 1fr) 32px; gap: 12px; padding: 20px 2px; }
  .programme__meta { display: none; }
  .programme__icon { width: 30px; height: 30px; }
  .disciplines { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .roadmap__row { grid-template-columns: 1fr; gap: 12px; }
  .impact-grid { grid-template-columns: 1fr; }
}
