/* ============================================================
   WHOLESOME CHARACTER — Design System
   Palette: Ink Forest #0B1F17 · White · Sage Mist #EEF3EE
            Emerald #1DB073 (actions) · Gold #E3B500 (AI Forum only)
   Type: Geist (Google Fonts)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --ink: #0B1F17;
  --ink-2: #14312A;
  --ink-3: #1E4A3F;
  --white: #FFFFFF;
  --sage: #EEF3EE;
  --sage-2: #E1EAE1;
  --emerald: #1DB073;
  --emerald-2: #17925F;
  --gold: #E3B500;
  --gold-2: #C99F00;
  --muted: #5B6B64;
  --line: rgba(11,31,23,0.10);
  --line-dark: rgba(255,255,255,0.14);

  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;

  --shadow-soft: 0 4px 24px rgba(11,31,23,0.06);
  --shadow-lift: 0 20px 50px rgba(11,31,23,0.12);

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-weight: 400; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section--sage { background: var(--sage); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink h1,.section--ink h2,.section--ink h3 { color: var(--white); }

.section-head { max-width: 780px; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--emerald); margin-bottom: 1rem; position: relative; padding-left: 2.25rem; }
.section-head .eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 1.75rem; height: 2px; background: var(--emerald); transform: translateY(-50%); }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
.section-head p { margin-top: 1.25rem; font-size: 1.0625rem; color: var(--muted); max-width: 62ch; }
.section--ink .section-head p { color: rgba(255,255,255,0.75); }
.section--ink .section-head .eyebrow { color: var(--gold); }
.section--ink .section-head .eyebrow::before { background: var(--gold); }

/* ---------- Buttons (no wrap, ever) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem 1.65rem; border-radius: 999px; font-weight: 500; font-size: 0.9375rem; white-space: nowrap; transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); border: 1.5px solid transparent; letter-spacing: 0.005em; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--emerald); color: var(--white); border-color: var(--emerald); }
.btn--primary:hover { background: var(--emerald-2); border-color: var(--emerald-2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn--sm { padding: 0.65rem 1.2rem; font-size: 0.875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Header ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(11,31,23,0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-dark); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 76px; }
.header__logo img { height: 40px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 0.25rem; }
.header__nav a { color: rgba(255,255,255,0.82); padding: 0.6rem 0.9rem; font-size: 0.9375rem; font-weight: 400; border-radius: 8px; transition: color .2s var(--ease), background .2s var(--ease); }
.header__nav a:hover, .header__nav a.active { color: var(--white); background: rgba(255,255,255,0.06); }
.header__cta { margin-left: 0.5rem; }
.header__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--white); }
.header__burger svg { width: 26px; height: 26px; }

@media (max-width: 1024px) {
  .header__nav, .header__cta { display: none; }
  .header__burger { display: inline-flex; }
  .header__nav.open, .header__cta.open { display: flex; }
  .header__nav.open { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--ink); padding: 1rem var(--gutter); gap: 0.25rem; border-bottom: 1px solid var(--line-dark); }
  .header__nav.open a { padding: 0.85rem 0.75rem; font-size: 1rem; }
  .header__cta.open { position: absolute; top: calc(76px + var(--nav-h,340px)); left: 0; right: 0; padding: 0 var(--gutter) 1.25rem; background: var(--ink); }
  .header__cta.open .btn { width: 100%; }
}

/* ---------- Hero (full height, no overlap) ---------- */
.hero { position: relative; min-height: 100svh; padding: 140px 0 90px; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); background-size: cover; background-position: center; }
.hero__slide.active { opacity: 1; }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,31,23,0.88) 0%, rgba(11,31,23,0.72) 45%, rgba(11,31,23,0.55) 100%); }
/* overlay variants to distinguish repeated images */
.hero__slide.ov-1::after { background: linear-gradient(120deg, rgba(11,31,23,0.88) 0%, rgba(11,31,23,0.72) 45%, rgba(11,31,23,0.55) 100%); }
.hero__slide.ov-2::after { background: linear-gradient(210deg, rgba(11,31,23,0.90) 0%, rgba(20,49,42,0.78) 55%, rgba(29,176,115,0.30) 100%); }
.hero__slide.ov-3::after { background: linear-gradient(180deg, rgba(11,31,23,0.55) 0%, rgba(11,31,23,0.85) 90%); }
.hero__slide.ov-4::after { background: linear-gradient(60deg, rgba(11,31,23,0.92) 0%, rgba(30,74,63,0.75) 50%, rgba(11,31,23,0.55) 100%); }
.hero__slide.ov-5::after { background: linear-gradient(160deg, rgba(11,31,23,0.80) 0%, rgba(20,49,42,0.70) 40%, rgba(227,181,0,0.20) 100%); }

/* Hero content sits inside .container, so its left edge matches the header logo exactly. 
   Inner text block is capped in width but flush left, never centered.
   width:100% + flex-shrink:0 is critical: .hero is display:flex, so without this the
   .hero__content flex item would shrink to fit its 780px inner content and get
   centered by margin:0 auto — pulling the copy into the middle of the viewport. */
.hero__content { position: relative; z-index: 2; width: 100%; flex-shrink: 0; }
.hero__content > * { max-width: 780px; margin-left: 0; margin-right: auto; }
.hero__content .hero__ctas { max-width: none; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero__eyebrow::before { content: ""; display: block; width: 2rem; height: 2px; background: var(--gold); }
.hero__title { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.05; margin-bottom: 1.5rem; font-weight: 500; letter-spacing: -0.025em; }
.hero__sub { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: rgba(255,255,255,0.85); max-width: 62ch; margin-bottom: 2.25rem; line-height: 1.6; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__dots { position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.6rem; z-index: 3; }
.hero__dots button { width: 32px; height: 3px; background: rgba(255,255,255,0.25); border-radius: 2px; transition: background .3s var(--ease), width .3s var(--ease); }
.hero__dots button.active { background: var(--gold); width: 48px; }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero { position: relative; padding: 160px 0 90px; background: var(--ink); color: var(--white); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,31,23,0.65) 0%, rgba(11,31,23,0.95) 100%); }
/* Page hero content flush left with header logo — no auto-center */
.page-hero__inner { position: relative; z-index: 2; }
.page-hero__inner > * { max-width: 820px; margin-left: 0; margin-right: auto; }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.25rem; }
.page-hero .eyebrow::before { content: ""; display: block; width: 2rem; height: 2px; background: var(--gold); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.1; font-weight: 500; margin-bottom: 1.25rem; letter-spacing: -0.025em; }
.page-hero p { font-size: 1.125rem; color: rgba(255,255,255,0.82); max-width: 62ch; line-height: 1.65; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats--dark { border-color: var(--line-dark); }
.stat { padding: 2.5rem 1.5rem; text-align: left; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.75rem; }
.stats--dark .stat { border-right-color: var(--line-dark); }
.stat:last-child { border-right: none; }
.stat__number { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 500; line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.stats--dark .stat__number { color: var(--white); }
.stat__label { font-size: 0.9375rem; color: var(--muted); line-height: 1.5; max-width: 34ch; }
.stats--dark .stat__label { color: rgba(255,255,255,0.72); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr; } .stat { border-right: none; border-bottom: 1px solid var(--line); } .stats--dark .stat { border-bottom-color: var(--line-dark); } .stat:last-child { border-bottom: none; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius-m); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.75rem; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { border-color: var(--emerald); transform: translateY(-4px); box-shadow: 0 12px 28px -14px rgba(11,31,23,0.25); }
.card h3 { font-size: 1.1875rem; font-weight: 600; }
.card p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
.card__num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; color: var(--emerald); text-transform: uppercase; }
.card--sage { background: var(--sage); border-color: transparent; }
.card--sage:hover { border-color: var(--emerald); }
.card--dark { background: var(--ink-2); border-color: var(--line-dark); color: var(--white); }
.card--dark h3 { color: var(--white); }
.card--dark p { color: rgba(255,255,255,0.72); }

/* --- Card image containers — proper aspect ratio, never distorted --- */
.card-img { border-radius: var(--radius-m); overflow: hidden; background: var(--sage); aspect-ratio: 4 / 3; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s var(--ease); display: block; }

.card--with-img { padding: 0; overflow: hidden; }
.card--with-img .card__body { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; gap: 0.65rem; }
.card--with-img:hover img { transform: scale(1.04); }

/* The image inside .card--with-img fills the card's top region at a natural aspect ratio.
   Using aspect-ratio (not fixed height) means the image scales proportionally at any card width. */
.card--with-img > img { 
  width: 100%; 
  aspect-ratio: 4 / 3; 
  height: auto; 
  object-fit: cover; 
  object-position: center; 
  display: block;
  transition: transform .5s var(--ease);
}

/* ---------- Pillar cards (large) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar { padding: 2.5rem 2rem; background: var(--sage); border-radius: var(--radius-l); display: flex; flex-direction: column; gap: 1.25rem; position: relative; overflow: hidden; }
.pillar__num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; color: var(--emerald); text-transform: uppercase; }
.pillar h3 { font-size: 1.4375rem; font-weight: 600; line-height: 1.2; }
.pillar p { color: var(--muted); flex: 1; }
.pillar a { color: var(--ink); font-weight: 500; font-size: 0.9375rem; border-bottom: 1.5px solid var(--emerald); padding-bottom: 2px; align-self: flex-start; transition: color .2s var(--ease); }
.pillar a:hover { color: var(--emerald); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) { .split, .split--reverse { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: var(--radius-l); }
.split__body h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); margin-bottom: 1.25rem; }
.split__body p { color: var(--muted); font-size: 1.0625rem; }
.split__body p + p { margin-top: 1rem; }

/* ---------- Testimonials (proper width, never break) ---------- */
.testimonial { max-width: 780px; margin: 0 auto; padding: 2.5rem; background: var(--white); border-radius: var(--radius-l); border: 1px solid var(--line); position: relative; }
.testimonial__quote { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.5; color: var(--ink); font-weight: 400; letter-spacing: -0.005em; margin-bottom: 1.5rem; }
.testimonial__quote::before { content: '"'; font-size: 4rem; color: var(--emerald); line-height: 0; position: absolute; top: 2.75rem; left: 1.25rem; opacity: 0.35; font-family: Georgia, serif; }
.testimonial__attr { display: flex; align-items: center; gap: 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.testimonial__name { font-weight: 600; font-size: 0.9375rem; }
.testimonial__loc { color: var(--muted); font-size: 0.875rem; }
.testimonial__loc::before { content: "·"; margin: 0 0.5rem; }

.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonials-grid .testimonial { padding: 2rem; }
.testimonials-grid .testimonial__quote { font-size: 1.0625rem; }

/* ---------- Steps (numbered process) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { display: flex; flex-direction: column; gap: 1rem; padding: 2rem 0; border-top: 2px solid var(--ink); }
.step__num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; color: var(--emerald); text-transform: uppercase; }
.step h3 { font-size: 1.25rem; font-weight: 600; }
.step p { color: var(--muted); font-size: 0.9375rem; line-height: 1.6; }
.section--ink .step { border-top-color: var(--gold); }
.section--ink .step__num { color: var(--gold); }
.section--ink .step p { color: rgba(255,255,255,0.75); }

/* ---------- Partner logos ---------- */
.partners { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem 3rem; align-items: center; justify-items: center; padding: 1rem 0; }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .partners { grid-template-columns: repeat(2, 1fr); } }
.partners img { max-height: 60px; max-width: 140px; width: auto; opacity: 0.7; filter: grayscale(1); transition: opacity .3s var(--ease), filter .3s var(--ease); }
.partners img:hover { opacity: 1; filter: none; }

/* ---------- Big banner (dark CTA) ---------- */
.banner { background: var(--ink); color: var(--white); padding: clamp(4rem, 7vw, 6rem) 0; }
.banner__inner { max-width: 900px; margin: 0 auto; text-align: center; padding: 0 var(--gutter); }
.banner h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.15; margin-bottom: 1.25rem; font-weight: 500; letter-spacing: -0.025em; }
.banner p { color: rgba(255,255,255,0.78); font-size: 1.0625rem; margin-bottom: 2rem; max-width: 60ch; margin-left: auto; margin-right: auto; }
.banner .btn-row { justify-content: center; }

/* ---------- Featured AI Forum block ---------- */
.forum-feature { background: var(--ink); color: var(--white); border-radius: var(--radius-l); overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; }
@media (max-width: 900px) { .forum-feature { grid-template-columns: 1fr; } }
.forum-feature__body { padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; }
.forum-feature__tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); align-self: flex-start; }
.forum-feature__tag::before { content: "●"; }
.forum-feature h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.forum-feature p { color: rgba(255,255,255,0.78); }
.forum-feature__media { min-height: 320px; background-size: cover; background-position: center; position: relative; }
.forum-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,23,0.6) 0%, rgba(11,31,23,0) 40%); }

/* ---------- Lists (formatted content) ---------- */
.rich { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.rich h3 { color: var(--ink); font-size: 1.1875rem; margin: 2rem 0 0.75rem; }
.rich p + p { margin-top: 1rem; }
.rich ul { display: flex; flex-direction: column; gap: 0.6rem; margin: 1rem 0; }
.rich ul li { position: relative; padding-left: 1.5rem; }
.rich ul li::before { content: ""; position: absolute; left: 0; top: 0.65rem; width: 6px; height: 6px; background: var(--emerald); border-radius: 50%; }

.two-col-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 3rem; margin: 1.5rem 0; }
@media (max-width: 700px) { .two-col-list { grid-template-columns: 1fr; } }
.two-col-list li { position: relative; padding-left: 1.5rem; color: var(--muted); }
.two-col-list li::before { content: "→"; position: absolute; left: 0; color: var(--emerald); font-weight: 600; }

/* ---------- BRIGHT & WISE values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .values-grid { grid-template-columns: 1fr; } }
.value { padding: 1.75rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); }
.value__letter { font-size: 2rem; font-weight: 500; color: var(--emerald); line-height: 1; margin-bottom: 0.75rem; letter-spacing: -0.02em; }
.value h4 { font-size: 1.0625rem; margin-bottom: 0.5rem; font-weight: 600; }
.value p { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 1.25rem; max-width: 640px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.form__field label { font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.form__field input, .form__field select, .form__field textarea { padding: 0.85rem 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-s); font-size: 0.9375rem; transition: border-color .2s var(--ease); }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: var(--emerald); }
.form__field textarea { min-height: 140px; resize: vertical; }
.form__consent { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.875rem; color: var(--muted); }
.form__consent input { margin-top: 0.25rem; accent-color: var(--emerald); }

/* ---------- Contact block ---------- */
.contact-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 900px) { .contact-block { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-info__item h4 { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--emerald); margin-bottom: 0.5rem; }
.contact-info__item p, .contact-info__item a { color: var(--ink); font-size: 1.0625rem; line-height: 1.6; }
.contact-info__item a:hover { color: var(--emerald); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 4.5rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 44px; margin-bottom: 1.25rem; }
.footer__brand p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; line-height: 1.6; max-width: 32ch; margin-bottom: 1rem; }
.footer__strapline { font-size: 0.8125rem; color: var(--gold); letter-spacing: 0.05em; }
.footer h5 { color: var(--white); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer a { color: rgba(255,255,255,0.7); font-size: 0.9375rem; transition: color .2s var(--ease); }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.8125rem; color: rgba(255,255,255,0.55); }
.footer__bottom-links { display: flex; gap: 1.5rem; }

/* ---------- Popup (AI Forum) ---------- */
.popup { position: fixed; bottom: 1.5rem; right: 1.5rem; max-width: 380px; background: var(--ink); color: var(--white); border-radius: var(--radius-l); box-shadow: 0 24px 60px rgba(0,0,0,0.35); z-index: 200; overflow: hidden; transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .5s var(--ease), opacity .5s var(--ease); border: 1px solid rgba(227,181,0,0.25); }
.popup.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
@media (max-width: 500px) { .popup { left: 1rem; right: 1rem; max-width: none; bottom: 1rem; } }
.popup__close { position: absolute; top: 0.85rem; right: 0.85rem; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.08); color: var(--white); transition: background .2s var(--ease); }
.popup__close:hover { background: rgba(255,255,255,0.18); }
.popup__inner { padding: 1.75rem; }
.popup__tag { display: inline-block; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.popup h4 { font-size: 1.1875rem; font-weight: 600; margin-bottom: 0.5rem; line-height: 1.25; }
.popup p { font-size: 0.875rem; color: rgba(255,255,255,0.78); margin-bottom: 1rem; line-height: 1.55; }
.popup__meta { font-size: 0.8125rem; color: rgba(255,255,255,0.6); margin-bottom: 1.25rem; }

/* ---------- Insights cards ---------- */
.article-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; transition: border-color .2s var(--ease); }
.article-card:hover { border-color: var(--ink); }
.article-card__cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--emerald); margin-bottom: 0.75rem; }
.article-card__body { padding: 1.75rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.article-card h3 { font-size: 1.1875rem; line-height: 1.3; }
.article-card__excerpt { color: var(--muted); font-size: 0.9375rem; line-height: 1.55; margin-top: 0.5rem; flex: 1; }
.article-card__meta { font-size: 0.8125rem; color: var(--muted); margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ---------- Utilities ---------- */
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mt-8 { margin-top: 4rem; }
.text-center { text-align: center; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

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

/* ---------- Hero copy rotation (image + copy swap together) ---------- */
.hero__copies { position: relative; z-index: 2; }
.hero__copy { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .9s var(--ease); }
.hero__copy.active { position: relative; opacity: 1; pointer-events: auto; }
.hero__copy > * { max-width: 780px; margin-left: 0; margin-right: auto; }
.hero__copy .hero__ctas { max-width: none; }
.hero__stage { position: relative; min-height: 460px; }
@media (max-width: 720px) { .hero__stage { min-height: 520px; } }

/* Also enforce article-card hover (matches card hover state site-wide) */
.article-card { border-width: 2px; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.article-card:hover { border-color: var(--emerald); transform: translateY(-4px); box-shadow: 0 12px 28px -14px rgba(11,31,23,0.25); }

/* Article card image treatment matches other cards (aspect-ratio, no distortion) */
.article-card > img,
.article-card__img img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: center; display: block; transition: transform .5s var(--ease); }
.article-card:hover img { transform: scale(1.04); }

/* ---------- SDG contribution section (Impact page) ---------- */
.sdg { display: grid; gap: 3rem; }
.sdg__lead p { font-size: 1.0625rem; line-height: 1.75; color: var(--muted); max-width: 74ch; margin-bottom: 1.25rem; }
.sdg__lead p:last-child { margin-bottom: 0; }

.sdg-primary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 800px) { .sdg-primary { grid-template-columns: 1fr; } }
.sdg-tile { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem 1.75rem; border-radius: var(--radius-m); color: var(--white); position: relative; overflow: hidden; }
.sdg-tile__num { font-size: 2.5rem; font-weight: 700; line-height: 1; flex-shrink: 0; }
.sdg-tile__name { font-size: 0.875rem; font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; }
.sdg-tile__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; opacity: 0.85; margin-bottom: 0.35rem; }

.sdg-secondary { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
@media (max-width: 900px) { .sdg-secondary { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .sdg-secondary { grid-template-columns: repeat(2, 1fr); } }
.sdg-small { padding: 1.25rem 1rem; border-radius: var(--radius-s); color: var(--white); display: flex; flex-direction: column; gap: 0.4rem; }
.sdg-small__num { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.sdg-small__name { font-size: 0.7rem; font-weight: 600; line-height: 1.3; }

/* Official UN SDG colours */
.sdg-c-3  { background: #4C9F38; }
.sdg-c-4  { background: #C5192D; }
.sdg-c-5  { background: #FF3A21; }
.sdg-c-8  { background: #A21942; }
.sdg-c-10 { background: #DD1367; }
.sdg-c-16 { background: #00689D; }
.sdg-c-17 { background: #19486A; }

/* ---------- Gallery coverflow (Impact page) ---------- */
.gallery { position: relative; padding: 1rem 0 3rem; }
.gallery__stage { position: relative; perspective: 1400px; height: clamp(360px, 46vw, 560px); overflow: visible; }
.gallery__track { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; }
.gallery__item { position: absolute; width: clamp(280px, 42vw, 620px); height: 100%; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 22px 60px -20px rgba(11,31,23,0.35); transition: transform .6s var(--ease), opacity .6s var(--ease); cursor: pointer; background: var(--sage); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.gallery__item.is-active { box-shadow: 0 32px 80px -20px rgba(11,31,23,0.5); }

.gallery__nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1.75rem; }
.gallery__prev, .gallery__next { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.gallery__prev:hover, .gallery__next:hover { border-color: var(--emerald); background: var(--sage); }
.gallery__prev svg, .gallery__next svg { width: 20px; height: 20px; stroke: var(--ink); }
.gallery__dots { display: flex; gap: 0.4rem; }
.gallery__dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(11,31,23,0.2); border: none; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); padding: 0; }
.gallery__dots button.active { background: var(--emerald); transform: scale(1.4); }

/* ---------- Organizational testimonial variant ---------- */
.testimonial--org { border-left: 4px solid var(--emerald); }

/* ---------- Brand card (About page — logo presented in a considered frame) ---------- */
.brand-card { position: relative; background: var(--sage); border-radius: var(--radius-l); aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(2rem, 5vw, 3.5rem); overflow: hidden; min-height: 320px; }
.brand-card__halo { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at center, rgba(29,176,115,0.18) 0%, rgba(29,176,115,0.08) 40%, rgba(29,176,115,0) 72%); z-index: 0; }
.brand-card img { position: relative; z-index: 1; max-width: 72%; max-height: 55%; width: auto; height: auto; object-fit: contain; margin: 0; border-radius: 0; min-height: 0; }
.brand-card__tag { position: relative; z-index: 1; margin-top: 1.75rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--emerald); text-align: center; }

/* ---------- Form submission status ---------- */
.form__status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-s); font-size: 0.9375rem; line-height: 1.5; display: none; }
.form__status--ok { display: block; background: rgba(29,176,115,0.10); border: 1px solid rgba(29,176,115,0.35); color: #0a5c3a; }
.form__status--err { display: block; background: rgba(220,60,60,0.08); border: 1px solid rgba(220,60,60,0.30); color: #8a1f1f; }

/* ============================================================
   LIFE & MOTION PASS  (v2 — more assertive)
   ============================================================ */

/* Mobile horizontal overflow guard — kill any accidental horizontal drag */
html, body { overflow-x: hidden; max-width: 100vw; }
.gallery, .gallery__stage { overflow: hidden; }
.partners__strip { overflow: hidden; }

/* Bigger, thicker hamburger icon (bigger tap target, no animation) */
.header__burger {
  display: none;
  width: 48px; height: 48px;
  border: none; background: transparent;
  color: var(--white); cursor: pointer;
  padding: 10px;
  align-items: center; justify-content: center;
}
@media (max-width: 900px) { .header__burger { display: flex; } }
.header__burger svg { width: 28px; height: 28px; stroke-width: 2.5; }

/* ---------- Keyframes library ---------- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(48px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes kenBurns {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.12) translateY(-2%); }
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  33% { transform: translate(30px, -40px) scale(1.1); opacity: 0.7; }
  66% { transform: translate(-20px, 30px) scale(0.95); opacity: 0.4; }
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(227,181,0,0.55); }
  50% { box-shadow: 0 0 0 14px rgba(227,181,0,0); }
}
@keyframes scrollBob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.65; }
  50% { transform: translate(-50%, 10px); opacity: 1; }
}
@keyframes drawLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes softPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ---------- Hero first-load choreography ---------- */
.header { animation: slideDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero__slide.active { animation: kenBurns 26s ease-out both; }

.hero__copy.active .hero__eyebrow,
.hero__copy.active .hero__title,
.hero__copy.active .hero__sub,
.hero__copy.active .hero__ctas {
  opacity: 0;
  animation: fadeSlideUp 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero__copy.active .hero__eyebrow { animation-delay: 0.25s; }
.hero__copy.active .hero__title { animation-delay: 0.45s; }
.hero__copy.active .hero__sub { animation-delay: 0.70s; }
.hero__copy.active .hero__ctas { animation-delay: 0.95s; }

/* ---------- Ambient orbs floating in hero background ---------- */
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  border-radius: 50%; filter: blur(80px);
}
.hero::before {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(29,176,115,0.35) 0%, rgba(29,176,115,0) 70%);
  top: 10%; right: -8%;
  animation: orbFloat 18s ease-in-out infinite;
}
.hero::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(227,181,0,0.22) 0%, rgba(227,181,0,0) 70%);
  bottom: 5%; left: -5%;
  animation: orbFloat 22s ease-in-out infinite reverse;
}

/* ---------- Section heading underline draw ---------- */
.section-head .eyebrow { position: relative; padding-left: 3rem; display: inline-block; }
.section-head .eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%;
  width: 2rem; height: 2px; background: var(--emerald);
  transform-origin: left center; transform: scaleX(0);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}
.section-head.in .eyebrow::before { transform: scaleX(1); }

/* ---------- Scroll reveal (JS-gated to avoid flash) ---------- */
html.js-motion .reveal {
  opacity: 0; transform: translateY(56px) scale(0.96);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
html.js-motion .reveal.in { opacity: 1; transform: translateY(0) scale(1); }
html.js-motion .reveal-delay-1.in { transition-delay: 0.10s; }
html.js-motion .reveal-delay-2.in { transition-delay: 0.20s; }
html.js-motion .reveal-delay-3.in { transition-delay: 0.30s; }
html.js-motion .reveal-delay-4.in { transition-delay: 0.40s; }
html.js-motion .reveal-delay-5.in { transition-delay: 0.50s; }
html.js-motion .reveal-delay-6.in { transition-delay: 0.60s; }

/* ---------- Button micro-interactions (more assertive) ---------- */
.btn { transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); will-change: transform; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px -12px rgba(11,31,23,0.35); }
.btn:active { transform: translateY(-1px); transition-duration: 0.08s; }
.btn--primary:hover { box-shadow: 0 16px 36px -12px rgba(29,176,115,0.6); }
.btn--gold:hover { box-shadow: 0 16px 36px -12px rgba(227,181,0,0.6); }

/* Header CTA gets an ambient glow pulse (very subtle, every 5s) */
.header__cta .btn--gold { animation: ctaGlow 4s ease-in-out infinite; animation-delay: 3s; }

/* ---------- Card hover — much more visible ---------- */
.card, .article-card { transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s var(--ease), border-color 0.25s var(--ease); }
.card:hover, .article-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px -20px rgba(11,31,23,0.35); }
.card--with-img:hover img, .article-card:hover img { transform: scale(1.08); }
.card--with-img img, .article-card img { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }

/* ---------- Hero scroll indicator ---------- */
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,0.7); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  pointer-events: none;
  animation: scrollBob 2.4s ease-in-out infinite;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
}
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* ---------- Partners strip → live marquee (stronger) ---------- */
.partners__strip { position: relative; padding: 1rem 0; }
.partners__strip::before, .partners__strip::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.partners__strip::before { left: 0; background: linear-gradient(to right, var(--white), transparent); }
.partners__strip::after { right: 0; background: linear-gradient(to left, var(--white), transparent); }
.partners__marquee { display: flex; gap: 3.5rem; align-items: center; width: max-content; animation: marquee 40s linear infinite; }
.partners__marquee:hover { animation-play-state: paused; }
.partners__marquee img { flex-shrink: 0; height: 56px; width: auto; opacity: 0.72; filter: grayscale(30%); transition: opacity 0.3s var(--ease), filter 0.3s var(--ease), transform 0.3s var(--ease); }
.partners__marquee img:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.08); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Section background context for partners (in case it sits on tinted section) */
.section--sage .partners__strip::before { background: linear-gradient(to right, var(--sage), transparent); }
.section--sage .partners__strip::after { background: linear-gradient(to left, var(--sage), transparent); }

/* ---------- Softer hero slide transitions ---------- */
.hero__slide { transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1); }
.hero__copy { transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1); }

/* ---------- Gallery easing ---------- */
.gallery__item { transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1) !important; }
.gallery__item.is-active { animation: softPulse 3s ease-in-out infinite; }

/* ---------- Stat count-up pulse on land ---------- */
@keyframes statLand { 0% { transform: scale(1); } 50% { transform: scale(1.08); color: var(--emerald); } 100% { transform: scale(1); } }
.stat__number.landed { animation: statLand 0.7s cubic-bezier(0.4, 0, 0.2, 1); }

/* ---------- Nav link hover (subtle underline draw) ---------- */
.header__nav a { position: relative; transition: color 0.2s var(--ease); }
.header__nav a::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: -4px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.header__nav a:hover::after, .header__nav a.active::after { transform: scaleX(1); }

/* ---------- Reduced motion — respect user OS preference ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .hero__slide.active { animation: none !important; transform: none !important; }
  .partners__marquee { animation: none !important; }
  html.js-motion .reveal { opacity: 1 !important; transform: none !important; }
  .hero::before, .hero::after { animation: none !important; }
  .hero__scroll { display: none; }
}
