/* ==========================================================================
   Kayode Hamzat — Ogbomoso South 2027
   Design tokens → base → components → sections → responsive
   ========================================================================== */

:root {
  /* Brand palette: deep Ogbomoso green, harvest gold, cream paper */
  --ink:        #072A1E;
  --ink-2:      #0C3A29;
  --ink-3:      #114A35;
  --green:      #14734F;
  --green-soft: #E6F0EA;

  --gold:       #D9A528;
  --gold-2:     #F2CB62;
  --gold-soft:  #FBF0D4;

  --clay:       #B3522C;

  --cream:      #FCF8EF;
  --paper:      #FFFFFF;
  --line:       #E4DDCD;

  --text:       #14201A;
  --muted:      #55665C;
  --muted-light:#B9CFC2;

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1180px;
  --gutter: 20px;
  --radius: 18px;
  --radius-sm: 12px;

  --shadow-sm: 0 1px 2px rgba(7, 42, 30, .06), 0 4px 14px rgba(7, 42, 30, .06);
  --shadow-md: 0 10px 30px rgba(7, 42, 30, .10);
  --shadow-lg: 0 24px 60px rgba(7, 42, 30, .18);

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

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
picture { display: contents; }
/* with display:contents the <source> would otherwise become a grid/flex item */
picture > source { display: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }

ul, ol { margin: 0; padding: 0; list-style: none; }

code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .85em;
  background: rgba(255,255,255,.14);
  padding: .1em .35em;
  border-radius: 4px;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .8rem 1.2rem;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .92rem 1.6rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: .97rem;
  letter-spacing: .005em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #241B00; }
.btn--ghost {
  background: transparent;
  color: var(--gold-2);
  border-color: rgba(242, 203, 98, .5);
}
.btn--ghost:hover { background: rgba(242, 203, 98, .12); color: var(--gold-2); }
.btn--sm { padding: .58rem 1.1rem; font-size: .88rem; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn__i { width: 20px; height: 20px; flex: none; }

/* ---------- Eyebrows / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 1rem;
}
.eyebrow--gold { color: var(--gold-2); }

.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 rgba(242, 203, 98, .7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(242, 203, 98, .6); }
  70%  { box-shadow: 0 0 0 10px rgba(242, 203, 98, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 203, 98, 0); }
}

.section { padding: clamp(68px, 9vw, 120px) 0; }

.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }

.section__title { font-size: clamp(1.9rem, 4.1vw, 3rem); }
.section__title em { font-style: italic; color: var(--gold); }

.section__lede {
  margin-top: 1.1rem;
  font-size: clamp(1.03rem, 1.5vw, 1.19rem);
  color: var(--muted);
  line-height: 1.66;
}

.section__kicker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
  color: var(--gold-2);
  text-align: center;
  margin: 2.2rem 0 0;
  text-transform: uppercase;
}
.section__kicker--dark { color: var(--green); margin-bottom: 2.4rem; }

/* ---------- Tone variants ---------- */
.section--cream { background: #F7F1E3; }
.section--paper { background: var(--paper); }

.section--dark {
  background:
    radial-gradient(1200px 500px at 15% -10%, rgba(20, 115, 79, .5), transparent 60%),
    radial-gradient(900px 450px at 95% 110%, rgba(217, 165, 40, .16), transparent 60%),
    var(--ink);
  color: #EAF3ED;
  position: relative;
}
.section--dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M24 2 46 24 24 46 2 24z' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.section--dark .wrap { position: relative; }
.section--dark .section__lede { color: var(--muted-light); }
.section--dark .section__title { color: #fff; }
.section--dark a { color: var(--gold-2); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 248, 239, .88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.nav.is-stuck { box-shadow: 0 6px 24px rgba(7, 42, 30, .08); }

.nav__progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: .75rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; }
.brand__logo { height: 40px; width: auto; flex: none; }
.brand__tag {
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: .85rem;
  border-left: 1px solid var(--line);
  line-height: 1.35;
  max-width: 9em;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--ink-3), var(--ink));
  color: var(--gold-2);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .02em;
  box-shadow: inset 0 0 0 1.5px rgba(242, 203, 98, .35);
}
.brand__mark--lg { width: 56px; height: 56px; font-size: 1.2rem; border-radius: 14px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-family: var(--font-display); font-size: 1.04rem; }
.brand__text small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: .3rem; }
.nav__links > a {
  padding: .5rem .72rem;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background .2s, color .2s;
}
.nav__links > a:not(.btn):hover { background: var(--green-soft); color: var(--ink); }
.nav__links > a.is-active:not(.btn) { background: var(--green-soft); color: var(--ink); font-weight: 600; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  place-items: center;
  align-content: center;
}
.nav__toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 2.5px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  color: #EAF3ED;
  padding: clamp(58px, 8vw, 104px) 0 clamp(72px, 9vw, 116px);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 520px at 8% 0%, rgba(20, 115, 79, .62), transparent 62%),
    radial-gradient(760px 500px at 100% 92%, rgba(217, 165, 40, .22), transparent 60%),
    linear-gradient(170deg, #0A3325 0%, var(--ink) 58%, #052117 100%);
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23F2CB62' stroke-opacity='.07'%3E%3Cpath d='M30 4 56 30 30 56 4 30z'/%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.7rem, 7.4vw, 5.1rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}
.hero__title em {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(100deg, var(--gold-2), #F7E2A8 55%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.45vw, 1.14rem);
  color: #D5E6DB;
}
.hero__lede strong { color: #fff; }
.hero__lede--sub {
  padding-left: 1.1rem;
  border-left: 3px solid rgba(242, 203, 98, .55);
  color: var(--muted-light);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero__slogan {
  margin-top: 1.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.06rem;
  color: var(--gold-2);
}

/* Portrait */
.hero__portrait { margin: 0; position: relative; }
.portrait {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #10452F, #082318);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(242, 203, 98, .3);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait__fallback {
  position: absolute; inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  text-align: center;
  padding: 1.5rem;
}
.portrait--empty .portrait__fallback { display: flex; }
.portrait__initials {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 8vw, 5.4rem);
  letter-spacing: .04em;
  color: rgba(242, 203, 98, .9);
  line-height: 1;
}
.portrait__hint {
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(185, 207, 194, .75);
}

.portrait__badge {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  width: min(92%, 400px);
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1.1rem;
  background: var(--paper);
  color: var(--text);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  font-size: .8rem;
  line-height: 1.45;
}
.portrait__badge-logo {
  flex: none;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  background: var(--ink-2);
  border-top: 1px solid rgba(242, 203, 98, .18);
  padding: clamp(42px, 5vw, 58px) 0 clamp(34px, 4vw, 46px);
  color: #EAF3ED;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(9px, 1.5vw, 17px));
  top: 12%;
  height: 76%;
  width: 1px;
  background: rgba(255,255,255,.12);
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1;
  color: var(--gold-2);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: .6rem;
  font-size: .85rem;
  color: var(--muted-light);
  line-height: 1.45;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, .82fr);
  gap: clamp(18px, 2.4vw, 26px);
  align-items: start;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card__step {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .95rem;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: .7rem;
}
.card__title { font-size: 1.28rem; margin-bottom: .85rem; }
.card p { color: var(--muted); }
.card strong { color: var(--text); }

.card__note {
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  padding: .85rem 1rem;
  border-radius: 0 10px 10px 0;
  color: var(--text) !important;
  font-size: .96rem;
}

.factfile {
  background: linear-gradient(165deg, var(--ink-3), var(--ink));
  color: #EAF3ED;
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}
.factfile__title {
  font-size: 1.1rem;
  color: var(--gold-2);
  margin-bottom: 1.1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(242, 203, 98, .22);
}
.factfile dl { margin: 0; display: grid; gap: .85rem; }
.factfile dt {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(242, 203, 98, .75);
  margin-bottom: .15rem;
}
.factfile dd { margin: 0; font-size: .93rem; line-height: 1.5; }
.factfile dd span { color: var(--muted-light); font-style: italic; }

/* ==========================================================================
   LETTER
   ========================================================================== */
.letter {
  max-width: 740px;
  margin-inline: auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4.6vw, 64px);
  box-shadow: var(--shadow-sm);
  position: relative;
  font-size: 1.05rem;
}
.letter::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--green), var(--gold), var(--clay));
}
.letter p { color: #2B3B32; }
.letter strong { color: var(--text); }

.letter__salute {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink) !important;
  margin-bottom: 1.2rem;
}

.pull {
  margin: 2rem 0;
  padding: 1.4rem 1.6rem;
  background: var(--paper);
  border-left: 4px solid var(--gold);
  border-radius: 0 14px 14px 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.letter__shout {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  color: var(--green) !important;
  text-align: center;
  margin: 1.8rem 0;
  letter-spacing: -.01em;
}

.letter__close { margin-top: 2rem; margin-bottom: .3rem; }
.letter__sign {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--ink) !important;
  margin: 0;
  letter-spacing: -.01em;
}
.letter__sign-sub {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin-top: .35rem;
}

/* ==========================================================================
   VISION
   ========================================================================== */
.vision__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  margin-top: clamp(32px, 4vw, 48px);
}

.vcard {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 32px);
  backdrop-filter: blur(4px);
  transition: transform .35s var(--ease), border-color .3s, background .3s;
}
.vcard:hover {
  transform: translateY(-4px);
  border-color: rgba(242, 203, 98, .42);
  background: rgba(255, 255, 255, .085);
}
.vcard--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(190px, 21vw, 262px);
  gap: clamp(22px, 3.4vw, 44px);
  align-items: center;
}
.vcard__body { min-width: 0; }

.vcard__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: .6rem;
}
.vcard__title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: #fff; }
.vcard__tag {
  font-size: .84rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(242, 203, 98, .8);
  margin: .45rem 0 1rem;
}
.vcard p { color: var(--muted-light); }
.vcard strong { color: #fff; }
.vcard__note {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(242, 203, 98, .3);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-2) !important;
}

/* Tick lists */
.ticks { display: grid; gap: .72rem; margin: 1.1rem 0 0; }
.ticks li {
  position: relative;
  padding-left: 1.85rem;
  font-size: .97rem;
  line-height: 1.55;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .34em;
  width: 1.1rem; height: 1.1rem;
  border-radius: 50%;
  background: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072A1E' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 72%;
  background-position: center;
  background-repeat: no-repeat;
}
.ticks--cols { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem 1.6rem; }

/* I.W.A */
.iwa {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(242, 203, 98, .14), rgba(242, 203, 98, .04));
  border: 1px solid rgba(242, 203, 98, .3);
}
.iwa__label {
  text-align: center;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.6rem;
  font-weight: 700;
}
.iwa__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); }
.iwa__item { text-align: center; }
.iwa__item span {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto .8rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.5rem;
}
.iwa__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.14rem;
  color: #fff;
  margin-bottom: .25rem;
}
.iwa__item p { color: var(--muted-light); font-size: .92rem; }

/* ==========================================================================
   MISSION
   ========================================================================== */
.mission__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
}
.mcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.8vw, 34px);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.mcard::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.mcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.mcard:hover::after { transform: scaleX(1); }

.mcard__num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.mcard__title { font-size: 1.22rem; margin-bottom: .8rem; }
.mcard p { color: var(--muted); }
.mcard strong { color: var(--text); }

.promise {
  margin-top: clamp(40px, 5vw, 62px);
  text-align: center;
  padding: clamp(32px, 4.4vw, 56px) clamp(22px, 3vw, 44px);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--ink-3), var(--ink));
  color: #EAF3ED;
  box-shadow: var(--shadow-md);
}
.promise__label {
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
  margin-bottom: 1rem;
}
.promise__big {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.2;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.promise__big em { font-style: italic; color: var(--gold-2); }
.promise__sub { max-width: 58ch; margin-inline: auto; color: var(--muted-light); }
.promise__tag {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-2);
}

/* ==========================================================================
   TRACK RECORD
   ========================================================================== */
.record__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(16px, 2.2vw, 24px);
  counter-reset: rec;
}
.rcard {
  counter-increment: rec;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 2.6vw, 32px);
  padding-top: clamp(28px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.rcard::before {
  content: counter(rec, decimal-leading-zero);
  position: absolute;
  top: clamp(18px, 2.2vw, 24px);
  right: clamp(20px, 2.4vw, 28px);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(7, 42, 30, .07);
  letter-spacing: -.04em;
}
.rcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.rcard__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 1.1rem;
}
.rcard__icon svg { width: 25px; height: 25px; }

.rcard__title { font-size: 1.16rem; margin-bottom: .75rem; max-width: 24ch; }
.rcard p { color: var(--muted); font-size: .98rem; }
.rcard strong { color: var(--text); }

.rcard--accent { background: linear-gradient(160deg, var(--gold-soft), #FFFDF7); border-color: rgba(217, 165, 40, .4); }
.rcard--accent .rcard__icon { background: rgba(217, 165, 40, .22); color: #8A6400; }
.rcard--accent em { color: var(--ink); font-weight: 500; }

.motto {
  margin-top: clamp(34px, 4vw, 52px);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--ink);
  letter-spacing: -.02em;
}
.motto--light { color: var(--gold-2); }

/* ==========================================================================
   ACCORDION — legislative contract
   ========================================================================== */
.accordion {
  max-width: 920px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}
.acc {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.acc[open] { border-color: rgba(242, 203, 98, .42); background: rgba(255,255,255,.085); }
.acc:hover { border-color: rgba(242, 203, 98, .3); }

.acc__sum {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.2vw, 26px);
  cursor: pointer;
  list-style: none;
}
.acc__sum::-webkit-details-marker { display: none; }

.acc__num {
  flex: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--ink);
  background: var(--gold);
  width: 38px; height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
}
.acc__label {
  flex: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #fff;
  line-height: 1.25;
}
.acc__chev {
  flex: none;
  width: 24px; height: 24px;
  position: relative;
  transition: transform .3s var(--ease);
}
.acc__chev::before, .acc__chev::after {
  content: "";
  position: absolute;
  background: var(--gold-2);
  border-radius: 2px;
  left: 50%; top: 50%;
}
.acc__chev::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.acc__chev::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); transition: transform .3s var(--ease), opacity .3s; }
.acc[open] .acc__chev::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.acc__body {
  padding: 0 clamp(18px, 2.2vw, 26px) clamp(22px, 2.6vw, 30px);
  border-top: 1px dashed rgba(242, 203, 98, .22);
  margin-top: -2px;
  padding-top: clamp(16px, 2vw, 22px);
  color: var(--muted-light);
}
.acc[open] .acc__body { animation: accIn .4s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.acc__what {
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
  margin-bottom: .2rem;
}
.acc__body strong { color: #fff; }
.acc__why {
  margin-top: 1.3rem;
  padding: .95rem 1.15rem;
  background: rgba(242, 203, 98, .1);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  font-size: .96rem;
}
.acc__why strong { color: var(--gold-2); }

/* Health bills */
.bills { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.bill {
  background: rgba(0, 0, 0, .18);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: clamp(18px, 2.2vw, 24px);
}
.bill__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-2);
  padding: .22rem .55rem;
  border-radius: 6px;
  margin-bottom: .8rem;
}
.bill__title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: .65rem;
  line-height: 1.25;
}
.bill p { font-size: .94rem; }

/* ==========================================================================
   CTA + FOOTER
   ========================================================================== */
.section--cta {
  position: relative;
  color: #EAF3ED;
  text-align: center;
  /* layers paint front to back: tint, glow, then the rally photograph */
  background:
    linear-gradient(170deg, rgba(10, 51, 37, .9) 0%, rgba(7, 42, 30, .94) 60%, rgba(5, 33, 23, .97) 100%),
    radial-gradient(800px 420px at 50% 0%, rgba(217, 165, 40, .22), transparent 62%),
    url("../img/13.jpg") center 42% / cover no-repeat,
    var(--ink);
}
.section--cta .wrap { position: relative; }
.cta { max-width: 760px; }
.cta .eyebrow { justify-content: center; }
.cta__title {
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  color: #fff;
  letter-spacing: -.025em;
}
.cta__title em { font-style: italic; color: var(--gold-2); }
.cta__lede { margin-top: 1.2rem; color: var(--muted-light); font-size: 1.07rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.2rem; }

.cta__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 2rem;
  justify-content: center;
  margin-top: 2.6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .9rem;
  color: var(--muted-light);
}
.cta__facts strong { color: var(--gold-2); font-family: var(--font-display); font-size: 1.02rem; }

.foot {
  background: #04190F;
  color: #C6D9CD;
  padding: clamp(46px, 5.5vw, 70px) 0 1.6rem;
  font-size: .93rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: clamp(26px, 3.4vw, 44px);
}
.foot__brand p { color: #C6D9CD; }
.foot__brand strong { color: #fff; font-family: var(--font-display); font-size: 1.1rem; }
.foot__brand .brand__mark { margin-bottom: 1rem; }
.foot__tag {
  margin-top: .9rem;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-2) !important;
}

.foot__h {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
  font-weight: 700;
  margin-bottom: 1rem;
}
.foot__nav { display: flex; flex-direction: column; gap: .5rem; }
.foot__nav a, .foot__col a { color: #C6D9CD; text-decoration: none; transition: color .2s; }
.foot__nav a:hover, .foot__col a:hover { color: var(--gold-2); }
.foot__col p { margin-bottom: .5rem; }
.foot__col strong { color: var(--gold-2); }
.foot__small { color: #8FA99A; font-size: .84rem; line-height: 1.6; margin-top: .8rem; }

.foot__base {
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: #8FA99A;
  font-size: .85rem;
}
.foot__base p { margin: 0; }

/* ==========================================================================
   IMAGE COMPONENTS — triptych, letter photo, band, gallery, poster
   ========================================================================== */

/* About: three portraits */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  margin-bottom: clamp(26px, 3.4vw, 40px);
}
.tri { margin: 0; }
.tri img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius);
  background: var(--green-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tri:hover img { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tri figcaption { padding: .9rem .2rem 0; }
.tri figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: var(--ink);
}
.tri figcaption span {
  display: block;
  margin-top: .2rem;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Letter sign-off with photo */
.letter__signoff {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.2rem;
  padding-top: 1.8rem;
  border-top: 1px dashed var(--line);
}
.letter__photo {
  width: 104px;
  height: 104px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--gold);
}
.letter__signoff .letter__close { margin-top: 0; }

/* Full-width photo band */
.band {
  margin: clamp(30px, 4vw, 48px) 0 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.band img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 38%;
}
.band figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(28px, 4vw, 42px) clamp(18px, 2.4vw, 30px) clamp(16px, 2vw, 22px);
  background: linear-gradient(transparent, rgba(7, 42, 30, .88));
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(.98rem, 1.9vw, 1.25rem);
}

/* Poster variant: a portrait artwork sits beside the line instead of
   being cropped into a letterbox. */
.band--poster {
  display: grid;
  grid-template-columns: clamp(210px, 28%, 320px) minmax(0, 1fr);
  gap: clamp(22px, 3.6vw, 48px);
  align-items: center;
  padding: clamp(22px, 3vw, 44px);
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(217, 165, 40, .14), transparent 60%),
    linear-gradient(150deg, var(--ink-3), var(--ink));
}
.band--poster img {
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.band--poster figcaption {
  position: static;
  padding: 0;
  background: none;
  font-size: clamp(1.25rem, 2.9vw, 2rem);
  line-height: 1.3;
  color: #fff;
}
.band--poster figcaption::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 1.2rem;
  background: linear-gradient(90deg, var(--gold-2), var(--gold));
  border-radius: 2px;
}

/* Gallery — true masonry via CSS columns, so nothing is cropped */
.gallery {
  column-count: 3;
  column-gap: clamp(14px, 2vw, 20px);
}
.g {
  margin: 0 0 clamp(14px, 2vw, 20px);
  break-inside: avoid;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.g:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.g img { width: 100%; height: auto; }
.g figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem .9rem .8rem;
  background: linear-gradient(transparent, rgba(7, 42, 30, .9));
  color: #fff;
  font-size: .86rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.g:hover figcaption,
.g:focus-within figcaption { opacity: 1; transform: none; }

/* Campaign poster in the closing call to action */
.poster {
  margin: 2.6rem auto 0;
  max-width: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.4deg);
  transition: transform .45s var(--ease);
}
.poster:hover { transform: rotate(0deg) scale(1.02); }
.poster img { width: 100%; height: auto; }

.poster--vision {
  margin: 0;
  max-width: none;
  transform: rotate(1.6deg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(242, 203, 98, .28);
}
.poster--vision:hover { transform: rotate(0deg) scale(1.03); }

/* Footer marks */
.foot__logo { height: 56px; width: auto; margin-bottom: 1.1rem; }
.foot__party { display: flex; align-items: center; gap: .9rem; margin-top: .9rem; }
.foot__party img {
  width: 56px; height: 56px;
  flex: none;
  object-fit: contain;
  mix-blend-mode: screen;   /* the logo's black backing drops into the dark footer */
}
.foot__party .foot__small { margin-top: 0; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1040px) {
  .about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factfile { grid-column: 1 / -1; position: static; }
  .mission__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: 1rem var(--gutter) 1.6rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .36s var(--ease);
    max-height: 72vh;
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links > a { padding: .8rem .9rem; border-radius: 10px; font-size: 1rem; }
  .nav__links > a.btn { justify-content: center; margin-top: .6rem; }
  .nav__toggle { display: grid; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; max-width: 420px; margin-inline: auto; }
  .portrait__badge { position: static; transform: none; width: 100%; margin-top: 1.6rem; }

  .gallery { column-count: 2; }
  .band img { aspect-ratio: 16 / 9; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .stat:nth-child(3)::before { display: none; }

  .vision__grid { grid-template-columns: 1fr; }
  .vcard--wide { grid-template-columns: 1fr; gap: 26px; }
  .poster--vision { max-width: 300px; margin-inline: auto; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .about__grid { grid-template-columns: 1fr; }
  .gallery { column-count: 1; }
  .g figcaption { opacity: 1; transform: none; }
  .triptych { grid-template-columns: 1fr; gap: 20px; }
  .tri img { aspect-ratio: 5 / 4; object-position: center 20%; }
  .band img { aspect-ratio: 4 / 3; }
  .band--poster { grid-template-columns: 1fr; text-align: center; }
  .band--poster img { max-width: 280px; margin-inline: auto; }
  .band--poster figcaption::after { margin-inline: auto; }
  .letter__signoff { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .iwa__grid { grid-template-columns: 1fr; gap: 24px; }
  .foot__grid { grid-template-columns: 1fr; }
  .acc__sum { gap: .75rem; padding: 16px; }
  .acc__num { width: 32px; height: 32px; font-size: .9rem; border-radius: 9px; }
  .letter { font-size: 1rem; }
  .brand__tag { display: none; }
}

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

/* ---------- Print ---------- */
@media print {
  .nav, .nav__progress, .hero__bg, .cta__actions, .hero__cta { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .section, .hero { padding: 18pt 0; }
  .section--dark, .section--cta, .foot, .stats { background: #fff !important; color: #000 !important; }
  .section--dark .section__title, .acc__label, .vcard__title, .cta__title, .promise__big { color: #000 !important; }
  .vcard, .acc, .card, .mcard, .rcard, .bill, .g, .tri { break-inside: avoid; border-color: #ccc; box-shadow: none; }
  .gallery { column-count: 2; }
  .g figcaption, .band figcaption { position: static; opacity: 1; transform: none; background: none; color: #000; padding: .4rem 0; }
  .section--cta::before { display: none; }
  .poster { transform: none; }
  .acc__body { display: block !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
