/*
Theme Name:   Nuru Theme
Theme URI:    https://nuru.cd
Description:  Nuru child theme — clean-coded homepage for nuru.cd
Author:       Claudette Soki
Template:     twentytwentyfive
Version:      1.0.0
Text Domain:  nuru-theme
*/

/* ============================================================
   FONTS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&family=Fira+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&family=EB+Garamond:ital@1&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {

  /* Brand */
  --nuru-green-deep:  #026938;
  --nuru-green:       #039447;
  --nuru-lime:        #8dc640;
  --nuru-lime-light:  #a9d64c;
  --nuru-blue-deep:   #0e405f;
  --nuru-gray:        #858986;

  /* Green scale */
  --green-950: oklch(0.24 0.07 158);
  --green-900: #024d2a;
  --green-800: #026938;
  --green-700: #03803d;
  --green-600: #039447;
  --green-500: #1aa657;
  --green-400: #5cbf52;
  --green-300: #8dc640;
  --green-200: #a9d64c;
  --green-100: oklch(0.93 0.09 124);
  --green-50:  oklch(0.97 0.04 124);

  /* Neutral scale */
  --neutral-900: #1c1f1e;
  --neutral-800: #2f3433;
  --neutral-700: #474c4a;
  --neutral-600: #5f6562;
  --neutral-500: #858986;
  --neutral-400: #a7aba8;
  --neutral-300: #c8ccc9;
  --neutral-200: #e3e6e3;
  --neutral-100: #f0f2f0;
  --neutral-50:  #f7f9f7;

  /* Surfaces */
  --surface-page:       #f7f9f7;
  --surface-card:       #ffffff;
  --surface-sunken:     #f0f2f0;
  --surface-inverse:    #024d2a;
  --surface-brand:      #026938;
  --surface-brand-soft: #eef5eb;

  /* Text */
  --text-strong:   #1c1f1e;
  --text-body:     #2f3433;
  --text-muted:    #5f6562;
  --text-subtle:   #858986;
  --text-on-brand: #ffffff;
  --text-brand:    #026938;
  --text-link:     #03803d;

  /* Borders */
  --border-subtle:  #e3e6e3;
  --border-default: #c8ccc9;
  --border-strong:  #a7aba8;
  --border-brand:   #039447;

  /* Gradients */
  --gradient-energy:   linear-gradient(135deg, #026938 0%, #039447 100%);
  --gradient-hero:     linear-gradient(95deg, rgba(2,77,42,.92) 0%, rgba(2,105,56,.74) 42%, rgba(3,148,71,.28) 100%);
  --gradient-showcase: linear-gradient(90deg, rgba(2,77,42,.9) 0%, rgba(2,77,42,.5) 52%, rgba(2,77,42,.12) 100%);

  /* Typography */
  --font-display: 'Raleway', sans-serif;
  --font-body:    'Fira Sans', sans-serif;
  --font-ui:      'Fira Sans', sans-serif;
  --font-serif:   'EB Garamond', serif;

  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;

  --text-xs:   0.75rem;    /* 12px */
  --text-sm:   0.875rem;   /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg:   1.125rem;   /* 18px */
  --text-xl:   1.25rem;    /* 20px */
  --text-2xl:  1.5rem;     /* 24px */
  --text-3xl:  1.875rem;   /* 30px */
  --text-4xl:  2.25rem;    /* 36px */
  --text-5xl:  3rem;       /* 48px */

  --leading-tight:   1.1;
  --leading-snug:    1.25;
  --leading-normal:  1.5;
  --leading-relaxed: 1.65;

  --tracking-caps: 0.08em;
  --tracking-wide: 0.05em;

  /* Spacing (base 4px) */
  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.25rem;   /* 20px */
  --space-6:  1.5rem;    /* 24px */
  --space-8:  2rem;      /* 32px */
  --space-10: 2.5rem;    /* 40px */
  --space-12: 3rem;      /* 48px */
  --space-16: 4rem;      /* 64px */
  --space-20: 5rem;      /* 80px */
  --space-24: 6rem;      /* 96px */

  /* Layout */
  --container-xl:      1280px;
  --container-padding: 2rem;

  /* Radii */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.12);
  --shadow-xl: 0 24px 48px rgba(0,0,0,.18);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--fw-regular);
  line-height: var(--leading-normal);
  color: var(--text-body);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--text-link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--nuru-green);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   LANGUAGE TOGGLE
   Every translatable string is rendered twice (once per language)
   inside .i18n--en / .i18n--fr spans. Only one is shown at a time,
   switched by toggling a "lang-fr" class on <html> (assets/js/main.js).
   ============================================================ */

.i18n--fr {
  display: none;
}

html.lang-fr .i18n--en {
  display: none;
}

html.lang-fr .i18n--fr {
  display: inline;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  color: var(--text-strong);
}

p {
  max-width: 65ch;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.site__wrap {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============================================================
   EYEBROWS
   ============================================================ */

.eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--nuru-green-deep);
  margin-bottom: var(--space-3);
}

.eyebrow--inverse {
  color: var(--nuru-lime-light);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
              box-shadow 0.18s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--nuru-green);
  outline-offset: 3px;
}

.btn--sm {
  padding: 10px 20px;
}

.btn--lg {
  padding: 14px 28px;
}

.btn--primary {
  background-color: var(--nuru-green);
  color: var(--text-on-brand);
  border-color: var(--nuru-green);
}

.btn--primary:hover {
  background-color: var(--green-800);
  border-color: var(--green-800);
  color: var(--text-on-brand);
}

.btn--lime {
  background-color: var(--nuru-lime);
  color: var(--neutral-900);
  border-color: var(--nuru-lime);
}

.btn--lime:hover {
  background-color: var(--nuru-lime-light);
  border-color: var(--nuru-lime-light);
  color: var(--neutral-900);
}

.btn--ghost {
  background-color: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn--ghost:hover {
  background-color: rgba(255,255,255,.1);
}

.btn--ghost-dark {
  background-color: transparent;
  color: var(--nuru-green);
  border-color: var(--nuru-green);
}

.btn--ghost-dark:hover {
  background-color: rgba(3,148,71,.06);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 72px;
  background-color: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  gap: var(--space-8);
}

.site-nav__logo {
  flex-shrink: 0;
}

.site-nav__logo img {
  height: 38px;
  width: auto;
  max-width: none;
  display: block;
}

.site-nav__menu {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

.site-nav__links a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-nav__links a:hover {
  color: var(--nuru-green-deep);
  text-decoration: none;
}

/* Scrolled state — deeper shadow added by main.js */
.site-nav.is-scrolled {
  box-shadow: var(--shadow-md);
}

/* Hamburger toggle */
.site-nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  margin-left: auto;
}

.site-nav__toggle:focus-visible {
  outline: 2px solid var(--nuru-green);
  outline-offset: 2px;
}

.site-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-body);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Language switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: var(--space-4);
  flex-shrink: 0;
}

.lang-switch__option {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-caps);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
}

.lang-switch__option:hover {
  color: var(--nuru-green-deep);
}

.lang-switch__option[aria-current="true"] {
  color: var(--nuru-green-deep);
  background-color: var(--surface-brand-soft);
}

.lang-switch--drawer {
  margin: var(--space-4) 0 0;
  justify-content: center;
}

/* Mobile drawer */
.site-nav__drawer {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background-color: var(--surface-card);
  padding: var(--space-6) var(--container-padding);
  border-top: 1px solid var(--border-subtle);
  z-index: 19;
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
}

.site-nav__drawer.is-open {
  display: flex;
}

.site-nav__drawer a {
  font-family: var(--font-ui);
  font-size: var(--text-base);
  font-weight: var(--fw-medium);
  color: var(--text-body);
  text-decoration: none;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.site-nav__drawer a:hover {
  color: var(--nuru-green-deep);
  text-decoration: none;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 600px;
  background-color: var(--surface-brand);
  padding: var(--space-24) 0 calc(var(--space-24) + var(--space-8));
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.hero__content {
  color: var(--text-on-brand);
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: var(--space-4);
}

.hero__h1 {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  line-height: 1.05;
  color: var(--text-on-brand);
  margin-bottom: var(--space-6);
}

.hero__lead {
  font-size: var(--text-lg);
  font-weight: var(--fw-light);
  line-height: var(--leading-relaxed);
  color: rgba(255,255,255,.92);
  margin-bottom: var(--space-8);
  max-width: 56ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero__symbol {
  display: none;
  justify-content: center;
  align-items: center;
}

.hero__symbol img {
  width: 100%;
  max-width: 300px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 40px rgba(0,0,0,.35));
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

/* ============================================================
   STATS STRIP
   ============================================================ */

.stats {
  background-color: var(--surface-card);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-6);
}

.stats__item {
  text-align: center;
}

.stats__value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--nuru-green-deep);
  line-height: var(--leading-tight);
}

.stats__unit {
  font-size: var(--text-xl);
  color: var(--nuru-green);
}

.stats__label {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-2);
}

/* ============================================================
   FEATURES
   ============================================================ */

.features {
  background-color: var(--surface-brand-soft);
  padding: var(--space-24) 0;
}

.features__head {
  text-align: center;
  max-width: 38em;
  margin: 0 auto var(--space-12);
}

.features__head .eyebrow {
  display: block;
}

.features__h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.features__subtext {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  max-width: 55ch;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.feature-card {
  background-color: var(--surface-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-6);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-brand-soft);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  color: var(--nuru-green);
}

.feature-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  margin-bottom: var(--space-3);
}

.feature-card__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  max-width: none;
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery {
  background-color: var(--surface-card);
  padding: var(--space-12) 0 var(--space-4);
}

.gallery__head {
  margin-bottom: var(--space-8);
}

.gallery__h2 {
  font-size: var(--text-4xl);
  margin-top: var(--space-2);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4) var(--space-5);
  background: linear-gradient(to top, rgba(2,77,42,.85) 0%, transparent 100%);
  color: var(--text-on-brand);
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
}

/* ============================================================
   SHOWCASE
   ============================================================ */

.showcase {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-showcase);
  z-index: 1;
}

.showcase__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--space-24) var(--container-padding);
}

.showcase__eyebrow {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--nuru-lime-light);
  margin-bottom: var(--space-6);
}

.showcase__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-3xl);
  line-height: 1.35;
  color: var(--text-on-brand);
  max-width: 640px;
}

/* ============================================================
   PULL QUOTE (plain, no background image)
   ============================================================ */

.pull-quote {
  padding: var(--space-20) 0;
  background-color: var(--surface-card);
  text-align: center;
}

.pull-quote__inner {
  max-width: 720px;
  margin: 0 auto;
}

.pull-quote__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-3xl);
  line-height: 1.35;
  color: var(--text-strong);
}

.pull-quote__text::before {
  content: '\201C';
  display: block;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--nuru-lime);
  margin-bottom: var(--space-2);
}

/* ============================================================
   COVERAGE
   ============================================================ */

.coverage {
  background-color: var(--surface-inverse);
  padding: var(--space-24) 0;
}

.coverage--light {
  background-color: var(--surface-page);
}

.coverage--light .coverage__content {
  color: var(--text-body);
}

.coverage--light .coverage__h2 {
  color: var(--text-strong);
}

.coverage--light .coverage__body {
  color: var(--text-muted);
}

.coverage__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

.coverage__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-xl);
}

.coverage__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coverage__content {
  color: var(--text-on-brand);
}

.coverage__h2 {
  font-size: var(--text-4xl);
  color: var(--text-on-brand);
  margin-bottom: var(--space-5);
}

.coverage__body {
  font-size: var(--text-base);
  font-weight: var(--fw-light);
  line-height: var(--leading-relaxed);
  color: rgba(255,255,255,.8);
  margin-bottom: var(--space-8);
  max-width: 52ch;
}

.coverage__facts {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  max-width: 52ch;
}

.coverage__facts li {
  position: relative;
  padding-left: var(--space-5);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.coverage__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--nuru-green);
}

.coverage--light .coverage__facts li::before {
  background-color: var(--nuru-lime);
}

.badge {
  display: inline-block;
  background-color: var(--nuru-lime);
  color: var(--neutral-900);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-family: var(--font-ui);
  font-size: 0.8125rem;
  font-weight: var(--fw-medium);
  line-height: 1.4;
}

/* ============================================================
   OUR INVESTORS
   ============================================================ */

.investors {
  padding: var(--space-16) 0;
  background-color: var(--surface-card);
}

.investors__head {
  text-align: center;
  margin-bottom: var(--space-8);
}

.investors__head .eyebrow {
  display: block;
}

.investors__image img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius-md);
}

/* ============================================================
   OUR PARTNERS AND AWARDS
   ============================================================ */

.partners-awards {
  padding: var(--space-20) 0;
  background-color: var(--surface-brand-soft);
}

.partners-awards__head {
  text-align: center;
  margin-bottom: var(--space-10);
}

.partners-awards__head .eyebrow {
  display: block;
}

.partners-awards__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}

/* ============================================================
   PAGE BANNER
   ============================================================ */

.page-banner {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-banner--bottom img {
  object-position: center bottom;
}

/* ============================================================
   INNER PAGES (placeholder templates)
   ============================================================ */

.inner-page {
  padding: var(--space-24) 0 var(--space-20);
  background-color: var(--surface-page);
}

.inner-page__content {
  max-width: 640px;
}

.inner-page__content--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.inner-page__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-5);
}

.inner-page__section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-10);
  margin-bottom: var(--space-5);
}

.inner-page__content > .inner-page__section-head:first-child {
  margin-top: 0;
}

.inner-page__section-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-brand-soft);
  border-radius: var(--radius-md);
  color: var(--nuru-green);
}

.inner-page__section-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.inner-page__section-title {
  font-size: var(--text-4xl);
  margin: 0;
}

.inner-page__body {
  font-size: var(--text-lg);
  font-weight: var(--fw-light);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.inner-page__note {
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--text-subtle);
  margin-top: var(--space-8);
}

.legal-draft-notice {
  font-size: var(--text-sm);
  color: #7a5a12;
  background-color: #fdf3da;
  border: 1px solid #f0d78c;
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-6);
}

.legal-h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-semibold);
  color: var(--text-strong);
  margin: var(--space-8) 0 var(--space-3);
}

.solution-block {
  max-width: 560px;
  margin-top: var(--space-10);
  margin-right: auto;
}

.solution-block--right {
  margin-right: 0;
  margin-left: auto;
}

.solution-block__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.solution-block__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-brand-soft);
  border-radius: var(--radius-full);
  color: var(--nuru-green);
}

.solution-block__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-block__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
}

.solution-block__desc {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.solution-block__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.inner-page__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-6);
  margin: var(--space-8) 0;
}

.inner-page__stat-value {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  color: var(--nuru-green-deep);
  line-height: var(--leading-tight);
}

.inner-page__stat-unit {
  font-size: var(--text-xl);
  color: var(--nuru-green);
}

.inner-page__stat-label {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: var(--space-2);
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 480px;
  margin: var(--space-8) auto;
  text-align: left;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact-detail__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-brand-soft);
  border-radius: var(--radius-full);
  color: var(--nuru-green);
}

.contact-detail__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail__label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--text-subtle);
  margin-bottom: var(--space-1);
}

.contact-detail__value {
  font-size: var(--text-base);
  color: var(--text-body);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.contact-detail__value a {
  color: var(--text-link);
}

.inner-page__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.inner-page__social a {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--nuru-green-deep);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  text-decoration: none;
}

.inner-page__social a:hover {
  background-color: var(--surface-brand-soft);
  border-color: var(--nuru-green);
  text-decoration: none;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.contact-form {
  max-width: 560px;
  margin: var(--space-10) auto 0;
  text-align: left;
}

.contact-form__notice {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

.contact-form__notice--success {
  background-color: var(--surface-brand-soft);
  color: var(--nuru-green-deep);
  border: 1px solid var(--border-brand);
}

.contact-form__notice--error {
  background-color: #fdecea;
  color: #7a2618;
  border: 1px solid #f3b7ac;
}

.contact-form__notice ul {
  margin: var(--space-2) 0 0;
  padding-left: var(--space-5);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__label {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-caps);
  color: var(--text-subtle);
  margin-bottom: var(--space-2);
}

.contact-form__input,
.contact-form__select,
.contact-form__textarea {
  width: 100%;
  font-family: var(--font-ui);
  font-size: var(--text-base);
  color: var(--text-body);
  background-color: var(--surface-card);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
}

.contact-form__input:focus,
.contact-form__select:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--nuru-green);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__submit {
  margin-top: var(--space-2);
  border: none;
  cursor: pointer;
}

/* ============================================================
   IMPACT PAGE — CONTEXT, BADGES, TESTIMONIALS, CALLOUT
   ============================================================ */

.impact-context {
  padding: var(--space-16) 0;
  background-color: var(--surface-card);
  text-align: center;
}

.impact-context__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  max-width: 480px;
  margin: var(--space-6) auto 0;
}

.who-we-power {
  padding: var(--space-16) 0;
  background-color: var(--surface-brand-soft);
  text-align: center;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

.testimonials {
  padding: var(--space-16) 0;
  background-color: var(--surface-card);
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 800px;
  margin: var(--space-6) auto 0;
}

.testimonial {
  background-color: var(--surface-sunken);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.testimonial__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--text-strong);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-3);
}

.testimonial__cite {
  font-family: var(--font-ui);
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.callout {
  padding: var(--space-16) 0 var(--space-20);
  background-color: var(--surface-brand-soft);
  text-align: center;
}

.callout__box {
  max-width: 640px;
  margin: 0 auto;
}

.callout__text {
  font-size: var(--text-lg);
  color: var(--text-body);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-3);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-story {
  padding: var(--space-20) 0;
  background-color: var(--surface-page);
}

.about-story__lead {
  font-size: var(--text-lg);
  font-weight: var(--fw-light);
  line-height: var(--leading-relaxed);
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: var(--space-8);
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
}

.about-story__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}

.about-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-story__text .inner-page__body:last-child {
  margin-bottom: 0;
}

.milestones {
  padding: var(--space-16) 0;
  background-color: var(--surface-brand-soft);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.milestones__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

.milestones__item {
  text-align: center;
}

.milestones__year {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--fw-bold);
  color: var(--nuru-green-deep);
}

.milestones__desc {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--space-2);
  line-height: var(--leading-normal);
}

.showcase .inner-page__section-title {
  color: var(--text-on-brand);
}

.showcase--center .showcase__quote {
  margin: 0 auto;
  text-align: center;
}

.about-values {
  padding: var(--space-20) 0;
  background-color: var(--surface-page);
}

.about-values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-top: var(--space-8);
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.about-value__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-brand-soft);
  border-radius: var(--radius-full);
  color: var(--nuru-green);
}

.about-value__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-value__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  color: var(--text-strong);
  margin-bottom: var(--space-1);
}

.about-value__desc {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

.about-close {
  padding: var(--space-20) 0 var(--space-24);
  background-color: var(--surface-card);
  text-align: center;
}

.about-close__inner {
  max-width: 560px;
  margin: 0 auto;
}

.about-close__h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.about-close__subtext {
  font-size: var(--text-lg);
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

.about-close__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--neutral-900);
  padding: var(--space-16) 0 var(--space-8);
  color: rgba(255,255,255,.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: var(--space-6);
}

.footer__brand .logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-4);
}

.footer__tagline {
  font-size: var(--text-sm);
  font-weight: var(--fw-light);
  line-height: var(--leading-relaxed);
  color: rgba(255,255,255,.55);
  max-width: 32ch;
}

.footer__col-heading {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  font-weight: var(--fw-regular);
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__links a:hover {
  color: var(--nuru-lime);
  text-decoration: none;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
}

.footer__legal {
  display: flex;
  gap: var(--space-4);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer__legal a:hover {
  color: rgba(255,255,255,.7);
  text-decoration: none;
}

/* ============================================================
   COOKIE NOTICE
   ============================================================ */

.cookie-banner {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background-color: var(--surface-inverse);
  color: rgba(255,255,255,.9);
  box-shadow: var(--shadow-lg);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner__inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--space-4) var(--container-padding);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.cookie-banner__text {
  font-size: var(--text-sm);
  line-height: var(--leading-snug);
  margin: 0;
  max-width: 640px;
}

.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner__accept {
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: var(--fw-medium);
  color: var(--nuru-green-deep);
  background-color: var(--nuru-lime);
  border: none;
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  cursor: pointer;
}

/* ============================================================
   RESPONSIVE — TABLET 768px
   ============================================================ */

@media (min-width: 768px) {

  /* Contact form */
  .contact-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Page banner */
  .page-banner {
    height: 360px;
  }

  /* Nav */
  .site-nav__links {
    display: flex;
  }

  .site-nav__toggle {
    display: none;
  }

  .site-nav__drawer {
    display: none !important;
  }

  /* Hero */
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero__h1 {
    font-size: var(--text-5xl);
  }

  .hero__symbol {
    display: flex;
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Features */
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .gallery__item {
    aspect-ratio: unset;
    height: 280px;
  }

  /* Showcase */
  .showcase__quote {
    font-size: var(--text-4xl);
  }

  /* Coverage */
  .coverage__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .coverage__image {
    aspect-ratio: unset;
    height: 440px;
  }

  .coverage__grid--reverse {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .coverage__grid--reverse .coverage__image {
    order: 2;
  }

  .coverage__grid--reverse .coverage__content {
    order: 1;
  }

  /* Inner pages */
  .inner-page__list,
  .inner-page__stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About page */
  .about-story__grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .about-story__image {
    aspect-ratio: unset;
  }

  .milestones__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .milestones__item:not(:first-child) {
    border-left: 1px solid var(--border-subtle);
  }

  .about-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ============================================================
   RESPONSIVE — DESKTOP 1024px
   ============================================================ */

@media (min-width: 1024px) {

  /* Features */
  .features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

}
