/* ==========================================================================
   CHOLD Initiative — Design System
   Center for Holistic Livestock Development Initiative
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Self-hosted webfonts (no external CDN dependency)
   -------------------------------------------------------------------------- */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/plus-jakarta-sans-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand greens — sampled from the CHOLD identity mark */
  --green-900: #08240E;
  --green-800: #0D3A15;
  --green-700: #13501B;  /* primary */
  --green-600: #1B6828;
  --green-500: #2A8437;
  --green-300: #7FBE8B;
  --green-100: #DDEBE0;
  --green-050: #F1F7F2;

  /* Warm accent — savanna ochre */
  --gold-600: #A9761B;
  --gold-500: #C9922B;
  --gold-400: #E0A82E;
  --gold-100: #FBF1DC;

  /* Neutrals */
  --ink:      #12201A;
  --ink-soft: #3D4C43;
  --muted:    #66766C;
  --line:     #E4E2D8;
  --line-soft:#F0EEE7;
  --sand:     #FAF8F2;
  --sand-2:   #F4F1E8;
  --white:    #FFFFFF;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Fluid type scale */
  --fs-hero:  clamp(2.5rem, 1.4rem + 4.6vw, 5rem);
  --fs-h1:    clamp(2.1rem, 1.4rem + 2.9vw, 3.6rem);
  --fs-h2:    clamp(1.7rem, 1.25rem + 1.9vw, 2.7rem);
  --fs-h3:    clamp(1.25rem, 1.08rem + 0.7vw, 1.6rem);
  --fs-h4:    clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-lead:  clamp(1.05rem, 0.98rem + 0.42vw, 1.3rem);
  --fs-body:  1.0125rem;
  --fs-sm:    0.9125rem;
  --fs-xs:    0.8rem;

  /* Space */
  --sp-section: clamp(4rem, 2.2rem + 6.4vw, 8rem);
  --gutter:     clamp(1.15rem, 0.6rem + 2.2vw, 3rem);
  --maxw:       1240px;
  --maxw-text:  68ch;

  /* Effects */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(8,36,14,.05), 0 2px 8px rgba(8,36,14,.05);
  --shadow-md: 0 4px 10px rgba(8,36,14,.06), 0 14px 34px rgba(8,36,14,.08);
  --shadow-lg: 0 10px 24px rgba(8,36,14,.09), 0 30px 70px rgba(8,36,14,.13);
  --ease: cubic-bezier(.22,.68,.34,1);
  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

input, button, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  border: none;
  background: none;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.66;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 700; letter-spacing: -0.012em; }
p  { text-wrap: pretty; }

a { color: var(--green-600); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--green-500); }

ul, ol { padding-left: 1.15em; }
li { margin-bottom: .4em; }

strong { color: var(--ink); font-weight: 650; }

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

::selection { background: var(--green-700); color: #fff; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--green-700); color: #fff;
  padding: .7rem 1.15rem; border-radius: var(--r-sm);
  font-weight: 600; font-size: var(--fs-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 880px; }
.section { padding-block: var(--sp-section); }
.section-sm { padding-block: clamp(2.75rem, 1.8rem + 3.4vw, 4.75rem); }
.section-tint { background: var(--sand); }
.section-tint-2 { background: var(--sand-2); }
.section-dark { background: var(--green-800); color: rgba(255,255,255,.82); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.grid { display: grid; gap: clamp(1.15rem, .6rem + 1.5vw, 2rem); }
.grid > * { min-width: 0; }
.split > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-auto-260 { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.g-auto-300 { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.g-auto-340 { grid-template-columns: repeat(auto-fit, minmax(340px,1fr)); }

@media (max-width: 980px) { .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 860px) { .g-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 620px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .755rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 1.05rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--gold-500); border-radius: 2px;
}
.section-dark .eyebrow { color: var(--gold-400); }
.section-dark .eyebrow::before { background: var(--gold-400); }

.lead { font-size: var(--fs-lead); line-height: 1.62; color: var(--ink-soft); }
.section-dark .lead { color: rgba(255,255,255,.84); }
.measure { max-width: var(--maxw-text); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .measure { margin-inline: auto; }

.section-head { margin-bottom: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); }
.section-head p { margin-top: 1rem; }

.text-gold { color: var(--gold-500); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 700; font-size: .945rem;
  letter-spacing: -0.008em;
  padding: .92rem 1.6rem;
  border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; text-align: center;
  transition: transform .2s var(--ease), background .22s var(--ease),
              border-color .22s var(--ease), color .22s var(--ease), box-shadow .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(19,80,27,.24); }
.btn-primary:hover { background: var(--green-600); color: #fff; box-shadow: 0 10px 26px rgba(19,80,27,.3); }

.btn-gold { background: var(--gold-500); color: var(--green-900); box-shadow: 0 6px 18px rgba(201,146,43,.28); }
.btn-gold:hover { background: var(--gold-400); color: var(--green-900); }

.btn-outline { border-color: rgba(19,80,27,.28); color: var(--green-700); background: transparent; }
.btn-outline:hover { border-color: var(--green-700); background: var(--green-050); color: var(--green-700); }

.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

.btn-sm { padding: .68rem 1.2rem; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-display); font-weight: 700; font-size: .93rem;
  color: var(--green-600);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.95);
  border-bottom-color: var(--line);
  box-shadow: 0 2px 18px rgba(8,36,14,.06);
}
/* Transparent-over-hero variant */
.site-header.is-over-hero:not(.is-scrolled) {
  background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
}
.site-header.is-over-hero:not(.is-scrolled) .brand-name { color: #fff; }
.site-header.is-over-hero:not(.is-scrolled) .brand-sub { color: rgba(255,255,255,.72); }
.site-header.is-over-hero:not(.is-scrolled) .nav-link { color: rgba(255,255,255,.9); }
.site-header.is-over-hero:not(.is-scrolled) .nav-link:hover { color: #fff; }
.site-header.is-over-hero:not(.is-scrolled) .nav-toggle span { background: #fff; }
.site-header.is-over-hero:not(.is-scrolled) .logo-dark { display: none; }
.site-header.is-over-hero:not(.is-scrolled) .logo-light { display: block; }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; width: 100%; }

.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand img { width: 42px; height: 44px; object-fit: contain; }
.logo-light { display: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.13rem;
  color: var(--green-700); letter-spacing: -.028em; transition: color .3s var(--ease);
}
.brand-sub {
  font-size: .625rem; letter-spacing: .085em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; transition: color .3s var(--ease);
}
@media (max-width: 420px) { .brand-sub { display: none; } }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav-link {
  position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: .915rem;
  color: var(--ink-soft); padding: .55rem .78rem; border-radius: var(--r-sm);
  transition: color .2s var(--ease);
}
.nav-link:hover { color: var(--green-700); }
.nav-link::after {
  content: ''; position: absolute; left: .78rem; right: .78rem; bottom: .22rem;
  height: 2px; background: var(--gold-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .26s var(--ease);
}
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--green-700); }
.site-header.is-over-hero:not(.is-scrolled) .nav-link.is-active { color: #fff; }

.header-cta { flex: none; }
/* The CTA inside the nav drawer is for small screens only —
   on desktop the standalone .header-cta is used instead. */
.nav > .btn { display: none; }
@media (max-width: 1160px) { .header-cta { display: none; } .nav > .btn { display: inline-flex; } }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: transparent; border: 0; cursor: pointer; border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--ink);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease), background .3s var(--ease);
}
.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); }

@media (max-width: 940px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 1rem var(--gutter) 1.6rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-14px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-link { padding: .95rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; color: var(--ink) !important; }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--green-700) !important; }
  .nav .btn { margin-top: 1.1rem; }
  .site-header.is-over-hero:not(.is-scrolled) .nav { background: #fff; }
}

/* --------------------------------------------------------------------------
   7. Hero (Redesigned 62% / 38% Two-Column Grid)
   -------------------------------------------------------------------------- */
.hero-redesign {
  display: grid;
  grid-template-columns: 62% 38%;
  min-height: 88vh;
  width: 100%;
  position: relative;
  background-color: #1c3a22;
  overflow: hidden;
}

.hero-left {
  background-color: #1c3a22;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--header-h, 80px) + 2rem) 6vw 4rem 6vw;
  box-sizing: border-box;
  z-index: 2;
}

.hero-left-content {
  max-width: 640px;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-eyebrow-rule {
  width: 32px;
  height: 1px;
  background-color: #c9a23f;
  flex-shrink: 0;
  display: inline-block;
}

.hero-eyebrow-text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c9a23f;
  text-transform: uppercase;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.08;
  color: #f6f5f0;
  margin: 0 0 24px 0;
  letter-spacing: -0.025em;
}

.hero-subtext {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.6;
  color: rgba(246, 245, 240, 0.82);
  max-width: 50ch;
  margin: 0 0 40px 0;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background-color: #c9a23f;
  color: #1c3a22;
  border: 1.5px solid #c9a23f;
  border-radius: 100px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-hero-primary:hover {
  background-color: #b89335;
  border-color: #b89335;
  color: #1c3a22;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  background-color: transparent;
  color: #f6f5f0;
  border: 1px solid #f6f5f0;
  border-radius: 100px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn-hero-secondary:hover {
  background-color: #f6f5f0;
  color: #1c3a22;
  border-color: #f6f5f0;
  transform: translateY(-2px);
}

.hero-right {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-left: 1px solid #c9a23f;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(28, 58, 34, 0.35);
  pointer-events: none;
}

@media (max-width: 960px) {
  .hero-redesign {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .hero-left {
    padding: calc(var(--header-h, 80px) + 2rem) 6vw 3.5rem 6vw;
  }

  .hero-headline {
    font-size: 38px;
  }

  .hero-right {
    height: 40vh;
    min-height: 40vh;
    border-left: none;
    border-top: 1px solid #c9a23f;
  }
}

.hero {
  position: relative; isolation: isolate;
  min-height: min(94vh, 880px);
  display: flex; align-items: flex-end;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(3rem, 1.5rem + 5vw, 6rem);
  background: var(--green-900);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8,36,14,.86) 0%, rgba(8,36,14,.5) 34%, rgba(8,36,14,.78) 76%, rgba(8,36,14,.95) 100%),
    linear-gradient(100deg, rgba(13,58,21,.9) 0%, rgba(13,58,21,.25) 62%);
}
.hero-inner { width: 100%; }
.hero h1 {
  font-size: var(--fs-hero); color: #fff; letter-spacing: -0.035em;
  max-width: 17ch; margin-bottom: 1.4rem;
}
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero-lead { color: rgba(255,255,255,.88); font-size: var(--fs-lead); max-width: 56ch; margin-bottom: 2.1rem; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: #fff; padding: .45rem 1rem .45rem .55rem; border-radius: 100px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  backdrop-filter: blur(6px); margin-bottom: 1.7rem;
}
.hero-tag b {
  background: var(--gold-500); color: var(--green-900);
  padding: .17rem .6rem; border-radius: 100px; font-size: .715rem;
  text-transform: uppercase; letter-spacing: .09em; font-weight: 800;
  white-space: nowrap; flex: none;
}
@media (max-width: 480px) { .hero-tag { font-size: .74rem; align-items: flex-start; } }

/* Hero stat rail */
.hero-stats {
  margin-top: clamp(2.6rem, 1.5rem + 3.4vw, 4.4rem);
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-md); overflow: hidden;
}
.hero-stat { background: rgba(8,36,14,.42); padding: 1.35rem 1.3rem; backdrop-filter: blur(4px); }
.hero-stat .num {
  font-family: var(--font-display); font-weight: 800; color: #fff;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.15rem); letter-spacing: -.03em; line-height: 1.05;
}
.hero-stat .lbl { font-size: .805rem; color: rgba(255,255,255,.75); margin-top: .35rem; line-height: 1.4; }
@media (max-width: 860px) { .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Page hero (interior pages) */
.page-hero {
  position: relative; isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(3.2rem, 2rem + 4.5vw, 6rem));
  padding-bottom: clamp(3.2rem, 2rem + 4.5vw, 5.5rem);
  background: var(--green-800); color: rgba(255,255,255,.85);
  overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; z-index: -1;
  right: -210px; top: -110px; width: 660px; height: 680px;
  background: url('../img/logo-mark-white.png') center/contain no-repeat;
  opacity: .05; pointer-events: none;
}
@media (max-width: 900px) { .page-hero::after { display: none; } }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: rgba(255,255,255,.8); max-width: 62ch; margin-top: 1.15rem; }
.page-hero .eyebrow { color: var(--gold-400); }
.page-hero .eyebrow::before { background: var(--gold-400); }

.breadcrumb { font-size: var(--fs-xs); color: rgba(255,255,255,.6); margin-bottom: 1.4rem; letter-spacing: .03em; }
.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { margin-inline: .45rem; opacity: .5; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 1.1rem + .8vw, 2rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-100); }
.card h3, .card h4 { margin-bottom: .6rem; }
.card p { font-size: var(--fs-sm); color: var(--ink-soft); }
.card-flat:hover { transform: none; box-shadow: none; }

/* Cards that are themselves links must not inherit link colouring */
a.card { color: var(--ink-soft); display: block; }
a.card:hover { color: var(--ink-soft); }
a.card h3, a.card h4 { transition: color .22s var(--ease); }
a.card:hover h3, a.card:hover h4 { color: var(--green-700); }

.card-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 1.15rem;
  background: var(--green-050); color: var(--green-700);
  border: 1px solid var(--green-100);
}
.card-icon svg { width: 25px; height: 25px; }

.card-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.05rem; color: var(--green-700);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.1rem;
  background: var(--green-050); border: 1px solid var(--green-100);
}

/* Dark cards */
.card-dark {
  background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.78);
}
.card-dark:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.075); box-shadow: none; }
.card-dark .card-icon { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); color: var(--gold-400); }
.card-dark .card-num { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); color: var(--gold-400); }

/* Bento Challenges Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.bento-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.75rem 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 160, 23, 0.35);
  background: rgba(255, 255, 255, 0.07);
}
.bento-card-span-3 { grid-column: span 3; }
.bento-card-span-2 { grid-column: span 2; }
.bento-card-span-4 { grid-column: span 4; }

.bento-label {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
  opacity: 0.85;
}
.bento-card h4 {
  font-size: var(--fs-h4);
  color: #fff;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.bento-stat {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 2rem + 1.1vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold-400);
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
}
.bento-card p {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-span-3,
  .bento-card-span-2,
  .bento-card-span-4 {
    grid-column: span 1;
  }
}

/* Value cards with top accent */
.card-accent { position: relative; overflow: hidden; }
.card-accent::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--gold-500));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card-accent:hover::before { transform: scaleX(1); }

/* Media card */
.media-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--green-900); isolation: isolate; min-height: 260px;
  display: flex; align-items: flex-end;
}
.media-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .6s var(--ease);
}
.media-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,36,14,.05) 12%, rgba(8,36,14,.58) 58%, rgba(8,36,14,.95) 100%);
}
.media-card:hover img { transform: scale(1.06); }
.media-card-body { padding: 1.4rem 1.35rem; color: #fff; }
.media-card-body h4 { color: #fff; margin-bottom: .3rem; }
.media-card-body p { font-size: var(--fs-xs); color: rgba(255,255,255,.75); }

/* --------------------------------------------------------------------------
   9. Stats / counters
   -------------------------------------------------------------------------- */
.stat {
  border-left: 3px solid var(--gold-500);
  padding: .25rem 0 .25rem 1.15rem;
}
.stat .num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.1vw, 3rem);
  color: var(--green-700); letter-spacing: -.035em; line-height: 1.02;
}
.stat .lbl { font-size: var(--fs-sm); margin-top: .5rem; }
.section-dark .stat .num { color: #fff; }
.section-dark .stat .lbl { color: rgba(255,255,255,.72); }

.stat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.75rem; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.stat-card .num {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.035em;
  font-size: clamp(1.85rem, 1.35rem + 1.7vw, 2.6rem); color: var(--green-700); line-height: 1;
}
.stat-card .lbl { font-size: var(--fs-sm); margin-top: .75rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   10. Split feature blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 1rem + 3.4vw, 4.5rem); align-items: center;
}
.split-media { position: relative; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; display: block; }

/* --------------------------------------------------------------------------
   Shared article image wrapper — featured hero + grid cards (no more stretching)
   -------------------------------------------------------------------------- */
.article-image {
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--sand-2);
}
.article-image--4-3  { aspect-ratio: 4 / 3; }
.article-image--16-10 { aspect-ratio: 16 / 10; }
.article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-reverse .split-media { order: -1; } }

/* Asymmetric two-column layout that collapses cleanly on small screens */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 1.2rem + 3vw, 4rem);
  align-items: start;
}
.two-col-mid { align-items: center; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.stack-media { display: grid; gap: 1rem; }
.stack-media img { border-radius: var(--r-md); width: 100%; object-fit: cover; }

/* Framed image with offset accent */
.framed { position: relative; isolation: isolate; }
.framed::before {
  content: ''; position: absolute; inset: 34% -18px -18px 34%;
  border: 2px solid var(--gold-500);
  border-radius: var(--r-lg); z-index: -1;
}
@media (max-width: 620px) { .framed::before { display: none; } }

/* --------------------------------------------------------------------------
   11. Capability explorer (What We Do)
   -------------------------------------------------------------------------- */
.explorer { display: grid; grid-template-columns: 320px 1fr; gap: clamp(1.4rem,1rem+1.6vw,2.6rem); align-items: start; }
@media (max-width: 940px) { .explorer { grid-template-columns: 1fr; } }

.explorer-nav { display: flex; flex-direction: column; gap: .4rem; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 940px) {
  /* Stack every tab so all eight capabilities stay discoverable — a
     horizontally scrolling strip hides most of them on a phone. */
  .explorer-nav {
    position: static; display: grid; gap: .5rem;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-bottom: 1.4rem;
  }
  .explorer-tab {
    border-color: var(--line); background: #fff;
    font-size: .875rem; padding: .78rem .9rem; align-items: flex-start;
  }
  .explorer-tab .n { margin-top: 1px; }
}
.explorer-tab {
  display: flex; align-items: center; gap: .8rem; text-align: left;
  font-family: var(--font-display); font-weight: 650; font-size: .93rem;
  color: var(--ink-soft); background: transparent; border: 1px solid transparent;
  padding: .85rem 1rem; border-radius: var(--r-md); cursor: pointer;
  transition: all .24s var(--ease); line-height: 1.3;
}
.explorer-tab:hover { background: var(--green-050); color: var(--green-700); }
.explorer-tab .n {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; font-size: .76rem; font-weight: 800;
  background: var(--sand-2); color: var(--muted); transition: all .24s var(--ease);
}
.explorer-tab[aria-selected="true"] {
  background: var(--green-700); color: #fff; border-color: var(--green-700);
  box-shadow: 0 6px 18px rgba(19,80,27,.2);
}
.explorer-tab[aria-selected="true"] .n { background: var(--gold-500); color: var(--green-900); }

.explorer-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.explorer-panel[hidden] { display: none; }
.explorer-panel > h3 { margin-bottom: .35rem; }
.explorer-panel .kicker { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin-bottom: .9rem; }

.detail-block { margin-top: 1.6rem; }
.detail-block h4 {
  display: flex; align-items: center; gap: .55rem;
  font-size: .8rem; letter-spacing: .11em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: .7rem;
}
.detail-block h4::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.detail-block ul { margin: 0; padding-left: 1.1em; }
.detail-block li { font-size: var(--fs-sm); }
.detail-block li::marker { color: var(--gold-500); }

.impact-chips { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: .75rem; margin-top: .9rem; }
.impact-chip {
  background: var(--green-050); border: 1px solid var(--green-100);
  border-radius: var(--r-md); padding: .95rem 1rem;
  font-size: .85rem; color: var(--ink-soft); line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. People / Trustee Cards
   -------------------------------------------------------------------------- */
.person {
  background: var(--white);
  border: 1px solid rgba(13, 58, 21, 0.08);
  border-radius: 18px;
  padding: 0.85rem;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(8, 36, 14, 0.03);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.person:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(8, 36, 14, 0.08);
  border-color: rgba(13, 58, 21, 0.16);
}
.person-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 12px;
  background: var(--sand-2);
  position: relative;
}
.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}
.person:hover .person-photo img { transform: scale(1.04); }
.person-body {
  padding: 1.1rem 0.4rem 0.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.person-body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

/* --------------------------------------------------------------------------
   Rotating & Pulsing User Africa Silhouette SVG Illustration
   -------------------------------------------------------------------------- */
.africa-globe-orbit {
  transform-origin: 500px 550px;
  animation: globeSpin 36s linear infinite;
}
.africa-map-pulse {
  transform-origin: 500px 550px;
  animation: africaFloat 6s ease-in-out infinite alternate;
}
.africa-pulse-glow {
  transform-origin: 500px 550px;
  animation: africaPulse 4s ease-in-out infinite alternate;
}
.africa-node-ping {
  animation: nodePulse 2.4s ease-in-out infinite alternate;
}
@keyframes globeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes africaFloat {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-10px) scale(1.02); }
}
@keyframes africaPulse {
  0% { opacity: 0.04; transform: scale(0.96); }
  100% { opacity: 0.14; transform: scale(1.05); }
}
@keyframes nodePulse {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .africa-globe-orbit, .africa-map-pulse, .africa-pulse-glow, .africa-node-ping {
    animation: none !important;
  }
}
.person-role { font-size: 0.825rem; color: var(--gold-600); font-weight: 700; letter-spacing: 0.01em; }
.person-org { font-size: 0.8125rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.45; }

/* --------------------------------------------------------------------------
   Core Values Section — Bento Box Grid Redesign
   -------------------------------------------------------------------------- */
.values-section {
  background: #F7F4EC;
  padding-block: clamp(4.5rem, 3.5rem + 4vw, 7rem);
}

.values-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.value-card-wide {
  grid-column: span 2;
}

.value-card-standard {
  grid-column: span 1;
}

@media (max-width: 900px) {
  .values-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .value-card-wide {
    grid-column: span 2;
  }
  .value-card-standard {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .values-bento-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .value-card-wide,
  .value-card-standard {
    grid-column: span 1;
  }
}

/* Ambient Floating Animation for Sailing Ships Metaphor */
@keyframes bentoFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(0.35deg);
  }
}

.value-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  border: 1px solid rgba(26, 58, 26, 0.06);
  box-shadow: 0 4px 12px rgba(26, 58, 26, 0.04), 0 14px 32px rgba(26, 58, 26, 0.07);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: bentoFloat 5s ease-in-out infinite;
}

/* Stagger floating delays so cards bob gently like ships sailing */
.values-bento-grid article:nth-child(1) { animation-delay: 0s; }
.values-bento-grid article:nth-child(2) { animation-delay: 0.8s; }
.values-bento-grid article:nth-child(3) { animation-delay: 1.6s; }
.values-bento-grid article:nth-child(4) { animation-delay: 0.4s; }
.values-bento-grid article:nth-child(5) { animation-delay: 1.2s; }
.values-bento-grid article:nth-child(6) { animation-delay: 2.0s; }

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #D4A537;
  transition: background 0.25s var(--ease);
}

.value-card:hover {
  animation-play-state: paused;
  transform: translateY(-12px) scale(1.015);
  box-shadow: 0 8px 16px rgba(26, 58, 26, 0.06), 0 24px 48px rgba(26, 58, 26, 0.12);
  border-color: rgba(26, 58, 26, 0.15);
}

.value-card:hover::before {
  background: #1A3A1A;
}

@media (prefers-reduced-motion: reduce) {
  .value-card {
    animation: none !important;
  }
}

.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #1A2E1A;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.value-card h4::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  background: #D4A537;
  margin-top: 6px;
  transition: width 0.25s var(--ease);
}

.value-card:hover h4::after {
  width: 100%;
}

.value-card p {
  color: #4A584E;
  font-size: 0.935rem;
  line-height: 1.65;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Floating 3-Image Showcase (Replaces Marquee Strip)
   -------------------------------------------------------------------------- */
.floating-image-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  padding-block: 3.5rem;
}

@media (max-width: 768px) {
  .floating-image-showcase {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.floating-image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(19, 80, 27, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  animation: bentoFloat 5s ease-in-out infinite;
}

.floating-image-card:nth-child(1) { animation-delay: 0s; }
.floating-image-card:nth-child(2) { animation-delay: 1.2s; }
.floating-image-card:nth-child(3) { animation-delay: 2.4s; }

.floating-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.floating-image-card:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 18px 42px rgba(19, 80, 27, 0.22);
}

.floating-image-card:hover img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .floating-image-card {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   Profiles & Bios Section Spacing Overhaul
   -------------------------------------------------------------------------- */
.bio {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  border-top: 1px solid rgba(212, 165, 55, 0.25);
  align-items: start;
}

.bio:first-of-type {
  border-top: 0;
  padding-top: 1rem;
}

.bio-photo {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand-2);
  position: sticky;
  top: calc(var(--header-h) + 32px);
  box-shadow: 0 12px 32px rgba(26, 58, 26, 0.08);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.bio:hover .bio-photo {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26, 58, 26, 0.14);
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.bio h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.2rem + 1vw, 1.75rem);
  font-weight: 800;
  color: #1A2E1A;
  margin-bottom: 0.4rem;
}

.bio .role {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-bottom: 1.5rem;
  letter-spacing: 0.015em;
}

.bio p {
  font-size: 1rem;
  line-height: 1.75;
  color: #4A584E;
  margin-bottom: 1.35rem;
}

.bio p:last-child {
  margin-bottom: 0;
}

@media (max-width: 850px) {
  .bio {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding-block: 3rem;
  }
  .bio-photo {
    position: static;
    max-width: 240px;
    aspect-ratio: 1 / 1;
  }
}

/* --------------------------------------------------------------------------
   13. Pillars / Five Core Pillars Layout
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   13. Pillars / Five Core Pillars Bento Box Layout (3:2 Frame)
   -------------------------------------------------------------------------- */
.pillars-section {
  position: relative;
  overflow: hidden;
  background-color: #F2EFE6;
  padding-top: clamp(3.5rem, 2.5rem + 3vw, 6rem);
  padding-bottom: clamp(3.5rem, 2.5rem + 3vw, 6rem);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(1.1rem, 0.8rem + 0.6vw, 1.6rem);
  aspect-ratio: 3 / 2;
  width: 100%;
}

/* Individual Bento Tile Container */
.pillar-node {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(13, 58, 21, 0.08);
  border-radius: 16px;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  box-shadow: 0 4px 20px rgba(8, 36, 14, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.pillar-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(8, 36, 14, 0.07);
  border-color: rgba(13, 58, 21, 0.16);
}

/* Specific Card Placements in 3:2 Frame */
.pillar-card-1 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.pillar-card-2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.pillar-card-3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

.pillar-card-4 {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.pillar-card-5 {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

/* Card Content Structure */
.pillar-ghost-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.8rem + 1vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--green-600);
  opacity: 0.45;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}

.pillar-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-content h4 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.05rem + 0.35vw, 1.35rem);
  font-weight: 800;
  color: #1A2E1A;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.pillar-content p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* Responsive Grid Adaptation */
@media (max-width: 992px) {
  .pillars-grid {
    aspect-ratio: auto;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .pillar-card-1 {
    grid-column: 1 / 3;
    grid-row: auto;
  }

  .pillar-card-2,
  .pillar-card-3,
  .pillar-card-4,
  .pillar-card-5 {
    grid-column: span 1;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .pillar-card-1,
  .pillar-card-2,
  .pillar-card-3,
  .pillar-card-4,
  .pillar-card-5 {
    grid-column: span 1;
    grid-row: auto;
  }
}

/* --------------------------------------------------------------------------
   14. News
   -------------------------------------------------------------------------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--sand-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; font-size: var(--fs-xs); color: var(--muted); margin-bottom: .75rem; }
.tag {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: .26rem .62rem; border-radius: 100px;
  background: var(--green-050); color: var(--green-700); border: 1px solid var(--green-100);
}
.tag-gold { background: var(--gold-100); color: var(--gold-600); border-color: rgba(201,146,43,.3); }
.post-body h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--green-600); }
.post-body p { font-size: var(--fs-sm); margin-bottom: 1.1rem; }
.post-body .link-arrow { margin-top: auto; }

.article-body { max-width: 72ch; }
.article-body h2 { font-size: clamp(1.4rem,1.1rem+1.1vw,1.9rem); margin-top: 2.5rem; margin-bottom: .9rem; }
.article-body h3 { margin-top: 2rem; margin-bottom: .7rem; }
.article-body p { margin-bottom: 1.15rem; }
.article-body ul { margin-bottom: 1.3rem; }
.article-body li { font-size: var(--fs-body); }
.article-body blockquote {
  border-left: 3px solid var(--gold-500); padding: .3rem 0 .3rem 1.5rem;
  margin: 2rem 0; font-family: var(--font-display); font-size: 1.2rem;
  line-height: 1.5; color: var(--ink); font-weight: 600; font-style: normal;
}
.article-body figure { margin: 2rem 0; }
.article-body figure img { border-radius: var(--r-md); width: 100%; }
.article-body figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: .65rem; }

/* --------------------------------------------------------------------------
   15. Accordion (careers / FAQ)
   -------------------------------------------------------------------------- */
.acc-wrap { max-width: 720px; }
.acc { border: 1px solid #e3e1da; border-radius: 12px !important; overflow: hidden; background: #ffffff; transition: box-shadow 200ms ease, border-left-color 200ms ease, border-left-width 200ms ease; }
.acc + .acc { margin-top: 12px; }
.acc:hover { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
.acc.is-open, .acc:has([aria-expanded="true"]) { border-left: 3px solid #1e3a23 !important; }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  background: transparent; border: 0; cursor: pointer; text-align: left;
  padding: 24px 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink);
  transition: none;
}
.acc-head:hover { background: transparent; }
.acc-head .acc-meta { display: block; font-size: 14px; font-weight: 400; color: #6b6f66; margin-top: 6px; letter-spacing: normal; }
.acc-icon {
  position: relative;
  flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: #1e3a23; border: none; display: grid; place-items: center;
  transition: transform 200ms ease;
}
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute; background: #ffffff; border-radius: 1px;
  transition: none;
}
.acc-icon::before { width: 14px; height: 2px; }
.acc-icon::after  { width: 2px; height: 14px; }
.acc-head[aria-expanded="true"] .acc-icon { background: #1e3a23; transform: rotate(45deg); }
.acc-head[aria-expanded="true"] .acc-icon::before,
.acc-head[aria-expanded="true"] .acc-icon::after { background: #ffffff; opacity: 1; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 200ms ease; }
.acc-panel.is-open { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-inner { padding: 0 28px 28px 28px; }
.acc-inner p, .acc-inner li { font-size: 16px; line-height: 1.6; }
.acc-inner ul { padding-left: 1.25rem; margin: 0.5rem 0 1rem; }
.acc-inner h5 { font-family: var(--font-display); font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; color: #1e3a23; margin: 1.2rem 0 0.5rem; }

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block; font-family: var(--font-display); font-weight: 650;
  font-size: .85rem; color: var(--ink); margin-bottom: .45rem;
}
.field label .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: .82rem 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366766C' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 17px; padding-right: 2.8rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(42,132,55,.14);
}
.field input::placeholder, .field textarea::placeholder { color: #A6B0A8; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); margin-top: .4rem; }
.field-error { color: #B3261E; font-size: var(--fs-xs); margin-top: .35rem; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #D9534F; }
.field.has-error .field-error { display: block; }

.form-note { font-size: var(--fs-xs); color: var(--muted); margin-top: 1.1rem; }
.form-status { display: none; margin-top: 1.2rem; padding: 1rem 1.2rem; border-radius: var(--r-md); font-size: var(--fs-sm); }
.form-status.is-visible { display: block; }
.form-status.ok { background: var(--green-050); border: 1px solid var(--green-100); color: var(--green-700); }
.form-status.err { background: #FDF1F0; border: 1px solid #F3D3D1; color: #B3261E; }

.checkbox-row { display: flex; align-items: flex-start; gap: .7rem; }
.checkbox-row input { width: auto; margin-top: .28rem; accent-color: var(--green-700); flex: none; }
.checkbox-row label { font-weight: 500; font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; font-family: var(--font-body); }

/* Contact info panel */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .95rem; padding-block: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.14); margin: 0; }
.info-list li:last-child { border-bottom: 0; }
.info-ico { flex: none; width: 38px; height: 38px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--gold-400); }
.info-ico svg { width: 18px; height: 18px; }
.info-list li > span:last-child { min-width: 0; }
.info-list .k { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: .2rem; }
.info-list .v { display: block; color: #fff; font-weight: 600; font-size: .96rem; overflow-wrap: anywhere; }
.info-list .v a { color: #fff; }
.info-list .v a:hover { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   17. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--green-800); color: rgba(255,255,255,.88);
  padding-top: clamp(3.5rem, 2.5rem + 3.5vw, 5.5rem);
  padding-bottom: clamp(4.5rem, 3.5rem + 4vw, 6.5rem);
}
.cta-band::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(720px 440px at 88% 14%, rgba(201,146,43,.18), transparent 62%),
              radial-gradient(620px 420px at 6% 82%, rgba(42,132,55,.26), transparent 62%);
}
.cta-band::after {
  content: ''; position: absolute; z-index: -1;
  right: -190px; top: 50%; transform: translateY(-50%);
  width: 560px; height: 580px;
  background: url('../img/logo-mark-white.png') center/contain no-repeat; opacity: .06;
}
@media (max-width: 780px) { .cta-band::after { display: none; } }
.cta-band .eyebrow { color: var(--gold-400); }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { max-width: 62ch; text-wrap: pretty; margin-top: 1rem; color: rgba(255,255,255,.88); line-height: 1.6; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2.4rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   18. Marquee slideshow strip
   -------------------------------------------------------------------------- */
.strip-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  border-radius: var(--r-md);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}
.strip {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: stripSlide 30s linear infinite;
}
.strip-wrapper:hover .strip {
  animation-play-state: paused;
}
.strip-item {
  flex: 0 0 160px;
  height: 160px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-1, #f6f5f0);
  border: 1px solid rgba(28, 58, 34, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.strip-item:hover {
  border-color: rgba(201, 162, 63, 0.4);
  box-shadow: var(--shadow-md);
}
.strip-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.strip-item img:hover {
  transform: scale(1.08);
}

@keyframes stripSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.625rem)); }
}

@media (max-width: 600px) {
  .strip-item { flex: 0 0 130px; height: 130px; padding: 1rem; }
  .strip { gap: .85rem; animation-duration: 20s; }
  @keyframes stripSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.425rem)); }
  }
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #051809;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.88);
  padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
  font-size: var(--fs-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
  gap: clamp(2rem, 1.2rem + 2.4vw, 3.5rem);
  padding-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-grid > div:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2.25rem;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.footer-brand img {
  width: 46px;
  height: 48px;
  object-fit: contain;
}

.footer-brand .n {
  font-family: var(--font-display);
  font-weight: 800;
  color: #ffffff;
  font-size: 1.18rem;
  letter-spacing: -0.028em;
  line-height: 1.2;
}

.footer-brand .s {
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  font-size: 0.925rem;
}

.site-footer h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-400);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.925rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--gold-400);
  text-decoration: underline;
}

.social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  transition: background 0.24s var(--ease), color 0.24s var(--ease), transform 0.24s var(--ease);
}

.social a:hover {
  background: var(--gold-500);
  color: var(--green-900);
  transform: translateY(-3px);
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.75);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom a:hover {
  color: var(--gold-400);
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Purpose Section (Layered Editorial Vision & Mission)
   -------------------------------------------------------------------------- */
.purpose-section {
  position: relative;
  overflow: hidden;
}

.purpose-container {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 1.8rem + 3.5vw, 5.5rem);
  align-items: center;
}

/* Left Column - Layered Media & Responsive Blobs */
.purpose-media {
  position: relative;
  isolation: isolate;
  padding: 2.2rem 1.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Organic background shapes - responsive positioning */
.purpose-blob {
  position: absolute;
  z-index: -1;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.purpose-media.is-in .purpose-blob,
.purpose-blob.is-in {
  opacity: 1;
  transform: scale(1);
}

.purpose-blob-green {
  top: -8%;
  left: -6%;
  width: 58%;
  aspect-ratio: 1;
  background: var(--green-900);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  opacity: 0.92;
  transition-delay: 0s;
}

.purpose-blob-gold {
  bottom: -8%;
  right: -6%;
  width: 62%;
  aspect-ratio: 1;
  background: #f2e8d3;
  border-radius: 40% 60% 45% 55% / 55% 45% 60% 40%;
  transition-delay: 0.05s;
}

/* Photo Frame & Soft Duotone Treatment */
.purpose-photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4/3;
  z-index: 1;
}

.purpose-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.75) sepia(0.18);
  transition: filter 0.5s var(--ease), transform 0.5s var(--ease);
}

.purpose-photo-frame:hover img {
  filter: contrast(1.08) saturate(0.95) sepia(0.08);
  transform: scale(1.04);
}

/* Horizontal slide reveal for photo on desktop */
.reveal-photo-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: 0.12s;
}

.reveal-photo-left.is-in {
  opacity: 1;
  transform: translateX(0);
}

/* Right Column - Text Blocks */
.purpose-content {
  display: flex;
  flex-direction: column;
}

.purpose-block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.purpose-kicker {
  font-family: var(--font-display);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-600);
  text-transform: uppercase;
}

.purpose-text {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.025rem + 0.45vw, 1.325rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

.purpose-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, rgba(212,160,23,0.3) 50%, var(--line) 100%);
  margin: 1.8rem 0;
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .purpose-container {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .purpose-media {
    padding: 1.2rem 0.5rem;
  }

  .purpose-blob-green {
    top: -5%;
    left: -2%;
    width: 52%;
  }

  .purpose-blob-gold {
    bottom: -5%;
    right: -2%;
    width: 56%;
  }

  .reveal-photo-left {
    transform: translateY(22px);
  }

  .reveal-photo-left.is-in {
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Timeline Spine Layout (Value Chain Capabilities)
   -------------------------------------------------------------------------- */
.capabilities-section {
  position: relative;
  overflow: hidden;
}

.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  padding-block: 1rem;
}

/* Central vertical spine line */
.timeline-spine {
  position: absolute;
  top: 1.5rem;
  bottom: 1.5rem;
  left: 50%;
  width: 2px;
  background: var(--green-700);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  transition: transform 1.2s cubic-bezier(0.22, 0.68, 0.34, 1);
  z-index: 1;
}

.timeline-wrapper.is-in .timeline-spine,
.timeline-spine.is-in {
  transform: translateX(-50%) scaleY(1);
}

/* Nodes container */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
}

.timeline-node {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

/* Marker Dot on Spine */
.timeline-dot {
  position: absolute;
  top: 0.6rem;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-900);
  border: 3px solid var(--cream);
  outline: 2px solid var(--green-700);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s var(--ease);
  z-index: 2;
}

.is-in .timeline-dot,
.timeline-node.is-in .timeline-dot {
  transform: translate(-50%, -50%) scale(1);
}

/* Content Links (No card boxes/borders) */
.timeline-content {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease);
}

.timeline-content:hover {
  transform: translateY(-2px);
}

.timeline-node-left .timeline-content {
  grid-column: 1;
  text-align: right;
  padding-right: 3.2rem;
}

.timeline-node-right .timeline-content {
  grid-column: 2;
  text-align: left;
  padding-left: 3.2rem;
}

/* Ghosted/Prominent Numbering */
.timeline-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.8rem + 1vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--green-700);
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
  opacity: 0.9;
  transition: color 0.3s var(--ease);
}

.timeline-content:hover .timeline-num {
  color: var(--gold-600);
}

/* Title & Description */
.timeline-content h4 {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  transition: color 0.25s var(--ease);
}

.timeline-content:hover h4 {
  color: var(--green-900);
}

.timeline-content p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 42ch;
}

.timeline-node-left .timeline-content p {
  margin-left: auto;
}

/* Slide Reveals for Odd vs Even Nodes */
.reveal-slide-right {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal-slide-right.is-in,
.reveal-slide-left.is-in {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .timeline-wrapper {
    padding-left: 1.5rem;
  }

  .timeline-spine {
    left: 20px;
    transform: scaleY(0);
  }

  .timeline-wrapper.is-in .timeline-spine,
  .timeline-spine.is-in {
    transform: scaleY(1);
  }

  .timeline-list {
    gap: 2.5rem;
  }

  .timeline-node {
    display: block;
    padding-left: 2.2rem;
  }

  .timeline-dot {
    left: 20px;
    top: 1.2rem;
  }

  .timeline-node-left .timeline-content,
  .timeline-node-right .timeline-content {
    grid-column: auto;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
  }

  .timeline-node-left .timeline-content p {
    margin-left: 0;
  }

  .reveal-slide-right,
  .reveal-slide-left {
    transform: translateY(22px);
  }

  .reveal-slide-right.is-in,
  .reveal-slide-left.is-in {
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   20. Motion (Line-by-Line Mask Reveal & Block Fade-Up)
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .4s; }

/* Line Mask Reveal for Headings */
.mask-heading {
  display: block;
}

.mask-line {
  display: block;
  overflow: hidden;
  line-height: 1.25;
}

.mask-line > span,
.mask-line-text {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.is-in .mask-line > span,
.is-in.mask-line-text,
.is-in .mask-line-text {
  transform: translateY(0);
}

/* Paragraph & Block Fade-Up */
.fade-up-block {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.is-in .fade-up-block,
.fade-up-block.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Pillar Node Sequence (Ghost Num -> Masked Heading -> Body & Meta) */
.pillar-node .pillar-ghost-num {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.pillar-node.is-in .pillar-ghost-num {
  opacity: 0.22;
  transform: scale(1);
}

/* Internal Pillar element sequence delays */
.pillar-node .mask-line > span { transition-delay: 0.08s; }
.pillar-node .fade-up-block { transition-delay: 0.18s; }
.pillar-node .pillar-caps-meta { transition-delay: 0.26s; }

/* Column Stagger (120ms intervals left to right) */
.pillar-node.reveal-d1 .pillar-ghost-num { transition-delay: 0.12s; }
.pillar-node.reveal-d1 .mask-line > span { transition-delay: 0.20s; }
.pillar-node.reveal-d1 p { transition-delay: 0.30s; }
.pillar-node.reveal-d1 .pillar-caps-meta { transition-delay: 0.38s; }

.pillar-node.reveal-d2 .pillar-ghost-num { transition-delay: 0.24s; }
.pillar-node.reveal-d2 .mask-line > span { transition-delay: 0.32s; }
.pillar-node.reveal-d2 p { transition-delay: 0.42s; }
.pillar-node.reveal-d2 .pillar-caps-meta { transition-delay: 0.50s; }

.pillar-node.reveal-d3 .pillar-ghost-num { transition-delay: 0.36s; }
.pillar-node.reveal-d3 .mask-line > span { transition-delay: 0.44s; }
.pillar-node.reveal-d3 p { transition-delay: 0.54s; }
.pillar-node.reveal-d3 .pillar-caps-meta { transition-delay: 0.62s; }

.pillar-node.reveal-d4 .pillar-ghost-num { transition-delay: 0.48s; }
.pillar-node.reveal-d4 .mask-line > span { transition-delay: 0.56s; }
.pillar-node.reveal-d4 p { transition-delay: 0.66s; }
.pillar-node.reveal-d4 .pillar-caps-meta { transition-delay: 0.74s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal, .mask-line > span, .mask-line-text, .fade-up-block, .pillar-ghost-num, .pillar-caps-meta {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   21. Utilities
   -------------------------------------------------------------------------- */
.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;
}
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; } .mt-4 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 1.2rem; } .mb-3 { margin-bottom: 2rem; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2.2rem,1.6rem+2vw,3.4rem); }

/* --------------------------------------------------------------------------
   Floating Badges ("Where the work concentrates")
   -------------------------------------------------------------------------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-block: 1.25rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 650;
  padding: 0.75rem 1.4rem;
  color: #1A3A1A;
  background: var(--white);
  border: 1.5px solid rgba(26, 58, 26, 0.12);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(26, 58, 26, 0.06), 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background-color 0.35s var(--ease);
  animation: shapeFloat 4.8s ease-in-out infinite;
  cursor: default;
  user-select: none;
}

.badge:nth-child(6n+1) { animation-delay: 0s; animation-duration: 4.4s; }
.badge:nth-child(6n+2) { animation-delay: 0.8s; animation-duration: 5.2s; }
.badge:nth-child(6n+3) { animation-delay: 1.6s; animation-duration: 4.6s; }
.badge:nth-child(6n+4) { animation-delay: 0.4s; animation-duration: 5.0s; }
.badge:nth-child(6n+5) { animation-delay: 1.2s; animation-duration: 4.2s; }
.badge:nth-child(6n+6) { animation-delay: 2.0s; animation-duration: 4.9s; }

/* Floating animation */
@keyframes shapeFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-9px);
  }
}

.badge:hover {
  animation-play-state: paused;
  transform: translateY(-11px) scale(1.03);
  background: var(--white);
  border-color: var(--gold-600);
  box-shadow: 0 16px 36px rgba(19, 80, 27, 0.16), 0 4px 12px rgba(0, 0, 0, 0.04);
}

@media (prefers-reduced-motion: reduce) {
  .badge {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   Measurement Pipeline Architecture ("How We Measure")
   -------------------------------------------------------------------------- */
.measurement-pipeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 2.5rem;
}

@media (max-width: 900px) {
  .measurement-pipeline {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.measurement-card {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 6px rgba(26, 58, 26, 0.04), 0 14px 36px rgba(26, 58, 26, 0.08);
  border: 1px solid rgba(26, 58, 26, 0.1);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  animation: bentoFloat 5.2s ease-in-out infinite;
  display: flex;
  flex-direction: column;
}

.measurement-card:nth-child(1) { animation-delay: 0s; }
.measurement-card:nth-child(2) { animation-delay: 1.2s; }
.measurement-card:nth-child(3) { animation-delay: 2.4s; }

.measurement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #13501B, #D4A537);
}

.measurement-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.measurement-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 165, 55, 0.12);
  color: var(--gold-600);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  border: 1px solid rgba(212, 165, 55, 0.3);
}

.measurement-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(19, 80, 27, 0.08);
  color: var(--green-700);
  display: grid;
  place-items: center;
}

.measurement-icon svg {
  width: 22px;
  height: 22px;
}

.measurement-card h4 {
  font-size: 1.25rem;
  font-weight: 750;
  color: #1A2E1A;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.measurement-card p {
  font-size: 0.96rem;
  line-height: 1.68;
  color: #4A584E;
  margin: 0;
}

.measurement-card:hover {
  animation-play-state: paused;
  transform: translateY(-10px);
  border-color: var(--gold-500);
  box-shadow: 0 20px 48px rgba(19, 80, 27, 0.16);
}
.section-dark .badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.82); }

.quote-block {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.35rem, 1.05rem + 1.5vw, 2.15rem);
  line-height: 1.32; letter-spacing: -.025em; color: var(--ink);
}

/* --------------------------------------------------------------------------
   Quote Band
   -------------------------------------------------------------------------- */
.quote-band {
  background: var(--green-900);
  padding: 96px 0;
  text-align: center;
}

.quote-band .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quote-band .quote-block {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.3;
  color: #f6f5f0;
  max-width: 820px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .quote-band .quote-block {
    font-size: 36px;
  }
}

.quote-band .quote-mark {
  color: var(--gold-400);
}

.quote-band .quote-rule {
  width: 44px;
  height: 2px;
  background: var(--gold-400);
  margin: 28px auto 16px;
  border-radius: 1px;
}

.quote-band .quote-attribution {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(246, 245, 240, 0.7);
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Targets for 2030 Redesign
   -------------------------------------------------------------------------- */
.targets-section {
  background: linear-gradient(150deg, var(--green-900) 0%, #0d3816 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.targets-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(224, 168, 46, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.targets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .targets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .targets-grid {
    grid-template-columns: 1fr;
  }
}

.target-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 2rem 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.target-card:hover {
  transform: translateY(-5px);
  border-color: rgba(224, 168, 46, 0.45);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.target-tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.target-num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.8rem + 1vw, 2.75rem);
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.target-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.5rem;
}

.target-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.target-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-400) 100%);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Newsletter Signup Section ("Get the field reports first")
   -------------------------------------------------------------------------- */
.newsletter-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 1.6rem + 1.8vw, 2.75rem) clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  max-width: 720px;
  margin: 3rem auto 0;
  box-shadow: var(--shadow-sm);
}

.newsletter-card h4 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.6rem;
  line-height: 1.22;
  letter-spacing: -0.018em;
}

.newsletter-body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 1.25rem 0;
  max-width: 56ch;
}

.newsletter-form-container {
  min-height: 84px;
  transition: opacity 200ms ease;
  width: 100%;
}

.newsletter-form {
  width: 100%;
}

.newsletter-form-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  max-width: 100%;
}

.newsletter-field {
  flex: 1;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--sand);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}

.newsletter-field::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

.newsletter-field:hover {
  background: var(--white);
  border-color: #cfd1c8;
}

.newsletter-field:focus {
  outline: none;
  background: var(--white);
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(19, 80, 27, 0.12);
}

.newsletter-field.has-error {
  border-color: #C92A2A !important;
  background: #FEF2F2;
  box-shadow: 0 0 0 3px rgba(201, 42, 42, 0.1) !important;
}

.newsletter-submit-btn {
  min-height: 48px;
  padding: 0.65rem 1.4rem;
  background: #3d4a3e;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid #3d4a3e;
  border-radius: var(--r-md);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s var(--ease);
  line-height: 1;
}

.newsletter-submit-btn svg {
  display: inline-block;
  flex: none;
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.newsletter-submit-btn:hover:not(:disabled) {
  background: #2f3c30;
  border-color: #2f3c30;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(61, 74, 62, 0.25);
}

.newsletter-submit-btn:hover:not(:disabled) svg {
  transform: translateX(2px);
}

.newsletter-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.newsletter-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Helper / Error slot — default helper text is visible, error swaps it in JS */
.newsletter-helper-slot {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
  text-align: left;
  padding-left: 2px;
  min-height: 20px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.newsletter-helper-slot.is-error {
  color: #C92A2A;
  font-weight: 500;
}

/* Success block */
.newsletter-success-block {
  text-align: center;
  padding: 0.5rem 0;
}

.newsletter-success-block h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.newsletter-success-block p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Responsive: stack vertically on mobile */
@media (max-width: 600px) {
  .newsletter-form-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .newsletter-field,
  .newsletter-submit-btn {
    width: 100%;
  }

  .newsletter-submit-btn {
    justify-content: center;
  }

  .newsletter-helper-slot {
    text-align: left;
  }
}

/* Back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--green-700); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .24s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-600); }
.to-top svg { width: 19px; height: 19px; }

/* Print */
@media print {
  .site-header, .site-footer, .to-top, .cta-band, .nav-toggle { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
