/*
 * ═══════════════════════════════════════════════════════════════════════════
 *  ELEUSIS — Shared Stylesheet
 *  Extracted from index.html and refined for typography, spacing, palette,
 *  animations, and component polish.
 *  All page-specific overrides live in a <style> block on each page.
 * ═══════════════════════════════════════════════════════════════════════════
 */

/* ═══════════════════════════════════
   TOKENS
═══════════════════════════════════ */
:root {
  /* Backgrounds */
  --bg:          #f8f6f2;
  --bg-2:        #f0ede8;
  --bg-3:        #e9e5de;
  --bg-dark:     #0f1510;

  /* Borders */
  --border:      rgba(0,0,0,0.08);
  --border-med:  rgba(0,0,0,0.15);

  /* Brand greens */
  --green:       #008B3A;
  --green-light: #00a844;
  --green-dim:   #005525;
  --green-glow:  rgba(0,139,58,0.07);
  --green-rule:  rgba(0,139,58,0.35);

  /* Brand blue */
  --blue:        #82CFFD;
  --blue-dim:    rgba(130,207,253,0.2);

  /* Text */
  --text:        #1a1f1c;
  --text-muted:  #5a6b60;
  --text-faint:  #9aaa9e;
  --white:       #ffffff;

  /* Dark-section semantic palette — used in .timeline-section and any bg-dark band */
  --dark-text:   #f0ece4;
  --dark-muted:  #d8e4dc;
  --dark-faint:  #6e8878;
  --dark-green:  #6db882;
  --dark-border: rgba(255,255,255,0.07);

  /* Typography stacks */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body:    "Barlow", system-ui, sans-serif;

  /* Easing curves */
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}


/* ═══════════════════════════════════
   RESET & BASE
═══════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.72;          /* was 1.65 — slightly more breath */
  overflow-x: hidden;
}


/* ═══════════════════════════════════
   NAVIGATION
═══════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 56px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248,246,242,0.0);
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(248,246,242,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(0,0,0,0.07);
}
.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
  text-decoration: none;
  position: relative;
  transition: color 0.2s, text-shadow 0.35s;
}
/* Animated underline — grows from left on hover */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-spring);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

/* Once scrolled, switch to dark text — no shadow needed */
nav.scrolled .nav-links a {
  color: var(--text);
  text-shadow: none;
}
nav.scrolled .nav-links a:hover { color: var(--text); }

/* CTA button — suppress underline animation */
.nav-cta {
  color: var(--white) !important;
  background: var(--green) !important;
  padding: 10px 24px !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--green-light) !important;
  box-shadow: 0 3px 14px rgba(0,139,58,0.28) !important;
}


/* ═══════════════════════════════════
   HERO — light version
═══════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 80px 100px;
  overflow: hidden;
  background: var(--white);
}

/* ─── HERO MEDIA: video + photo background ───────────────────────────────
   Video:  place hero-bg-video.mp4 (+ .webm) in assets/video/
   Photo:  place hero-bg.jpg (+ hero-bg@2x.jpg) in assets/images/
   Both:   video plays on top of photo — photo is the fallback
──────────────────────────────────────────────────────────────────────── */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}
.hero-photo {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
/* Placeholder — shown when no photo/video */
.hero-photo-placeholder {
  position: absolute; inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 30%, rgba(0,139,58,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 10% 90%, rgba(130,207,253,0.08) 0%, transparent 55%),
    linear-gradient(175deg, #ffffff 0%, #f5f3ee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
}
/* Scrim — lightens a dark photo/video so light-mode text reads cleanly */
.hero-scrim {
  position: absolute; inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.72) 0%,
    rgba(248,246,242,0.55) 40%,
    rgba(248,246,242,0.25) 100%
  );
}
.hero-video ~ *,
.hero-photo ~ * { z-index: 2; position: relative; }
.hero-scrim ~ * { z-index: 2; position: relative; }

/* CSS gradient — default when no photo/video is present */
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 75% 30%, rgba(0,139,58,0.06) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 10% 90%, rgba(130,207,253,0.08) 0%, transparent 55%),
    linear-gradient(175deg, #ffffff 0%, #f5f3ee 100%);
}

/* Engineering grid — very subtle */
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,139,58,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,139,58,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* Green left accent rule */
.hero-rule {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent 0%, var(--green) 25%, var(--green) 75%, transparent 100%);
  opacity: 0.5;
}

/* Ghost letter behind headline */
.hero-ghost {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-52%);
  font-family: var(--display);
  font-size: 52vw;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0,139,58,0.04);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
}

.hero-eyebrow {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;         /* was 0.26em — fractionally tighter */
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}
.hero-eyebrow::before {
  content: "";
  width: 32px; height: 2px;
  background: var(--green);
  flex-shrink: 0;
}

h1.hero-headline {
  font-family: var(--display);
  font-size: clamp(3.2rem, 6.8vw, 7.4rem);
  font-weight: 800;
  line-height: 0.93;
  color: var(--text);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 820px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.35s forwards;
}
h1.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
  text-transform: none;
  display: block;
  font-size: 0.7em;
  letter-spacing: 0.01em;
  line-height: 1.15;
  margin-top: 10px;
}

.hero-sub {
  font-size: 1.0rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.85;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.65s forwards;
}

/* Buttons */
.btn-primary {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--green);
  border: 2px solid var(--green);
  padding: 15px 38px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.18s var(--ease-spring), box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 22px rgba(0,139,58,0.28);
}

.btn-ghost {
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-med);
  padding: 15px 38px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  display: inline-block;
  background: transparent;
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--green-rule);
  background: var(--green-glow);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px; right: 80px;
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.scroll-line {
  width: 44px; height: 1px;
  background: var(--text-faint);
  overflow: hidden; position: relative;
}
.scroll-line::after {
  content: "";
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--green);
  animation: scanline 2.2s 1.5s infinite;
}


/* ═══════════════════════════════════
   STATS BAR
═══════════════════════════════════ */
.stats-bar {
  background: var(--green);
  padding: 44px 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 0 40px;
  border-right: 1px solid rgba(255,255,255,0.2);
  text-align: center;
}
.stat-item:first-child { padding-left: 0; text-align: left; border-left: none; }
.stat-item:last-child  { border-right: none; }
.stat-number {
  font-family: var(--display);
  font-size: 3.6rem;            /* was 3.4rem — more presence */
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}
.stat-number span { color: rgba(255,255,255,0.55); }
.stat-label {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}


/* ═══════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════ */
section { padding: 110px 80px; }

.section-eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;       /* was 0.26em */
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--green);
  flex-shrink: 0;
}

h2.section-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  font-weight: 800;
  color: var(--text);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
h2.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
  text-transform: none;
  display: block;
  font-size: 0.78em;
  margin-top: 4px;
}

.section-body {
  font-size: 1.0rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 540px;
}


/* ═══════════════════════════════════
   INTRO
═══════════════════════════════════ */
.intro {
  background: var(--white);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.intro-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.intro-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 28px 24px;
  transition: border-color 0.3s var(--ease-out), background 0.3s var(--ease-out), transform 0.3s var(--ease-spring);
}
.intro-card:hover {
  border-color: var(--green-rule);
  background: var(--white);
  transform: translateY(-2px);
}
.intro-card-accent {
  width: 22px; height: 2px;
  background: var(--green);
  margin-bottom: 12px;
}
.intro-card-title {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 7px;
}
.intro-card-text {
  font-size: 0.83rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;            /* was 1.7 */
}


/* ═══════════════════════════════════
   FODDER SYSTEMS
═══════════════════════════════════ */
.systems-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 110px 80px;
  position: relative;
  overflow: hidden;
}
.systems-section::before {
  content: "CEA";
  position: absolute;
  bottom: -80px; right: -40px;
  font-family: var(--display);
  font-size: 36vw;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,139,58,0.045);
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.05em;
  user-select: none;
}
.systems-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.systems-subtitle {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 18px;
  line-height: 1.7;
}
.systems-subtitle strong {
  color: var(--green);
  font-style: normal;
  font-weight: 600;
}
.systems-intro-text {
  font-size: 1.0rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.9;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* System cards */
.system-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative; z-index: 1;
}
.system-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 44px 32px 40px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-spring);
}
/* Top bar — green-to-blue gradient, scales from left on hover */
.system-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.42s var(--ease-spring);
}
.system-card:hover {
  border-color: var(--green-rule);
  box-shadow: 0 10px 44px rgba(0,139,58,0.11); /* was 0.08 */
  transform: translateY(-4px);
}
.system-card:hover::after { transform: scaleX(1); }

/* Photo slot */
.system-card-photo {
  margin: -44px -32px 28px;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--bg-3);
  border-bottom: 1px solid var(--border);
}
.system-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  transition: transform 0.6s var(--ease-out); /* was 0.5s ease */
}
.system-card:hover .system-card-photo img { transform: scale(1.04); }
.system-card-photo-placeholder {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%),
    repeating-linear-gradient(45deg, rgba(0,139,58,0.03) 0, rgba(0,139,58,0.03) 1px, transparent 1px, transparent 32px);
}
.system-card-photo-placeholder span {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* System letter */
.system-letter-link { text-decoration: none; display: block; }
.system-letter {
  font-family: var(--display);
  font-size: 9rem;              /* was 8rem — more dramatic */
  font-weight: 800;
  color: rgba(0,139,58,0.4);
  -webkit-text-stroke: 1.5px rgba(0,139,58,0.5);
  line-height: 0.9;
  margin-bottom: 4px;
  letter-spacing: -0.04em;
  transition: color 0.3s var(--ease-out), -webkit-text-stroke-color 0.3s var(--ease-out);
}
.system-card:hover .system-letter { color: rgba(0,139,58,0.6); -webkit-text-stroke-color: rgba(0,168,68,0.7); }

.system-tag {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.system-name {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.05;
  margin-bottom: 14px;
}
.system-desc {
  font-size: 0.87rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 22px;
}
.system-specs {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 24px;
}
.system-specs li {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 9px;
}
.system-specs li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--green);
  flex-shrink: 0;
}
.system-link {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.28s var(--ease-spring);
}
.system-link:hover { gap: 14px; }
.system-link::after { content: "→"; }


/* ═══════════════════════════════════
   WHY HYDROPONIC
═══════════════════════════════════ */
.why-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  margin-top: 60px;
}
.why-list { display: flex; flex-direction: column; }
.why-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}
.why-item:first-child { border-top: 1px solid var(--border); }
.why-num {
  font-family: var(--display);
  font-size: 2.4rem;            /* was 2.2rem */
  font-weight: 800;
  color: var(--bg-3);
  line-height: 1;
  padding-top: 2px;
}
.why-item-title {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}
.why-item-text {
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.75;
}
.why-visual {
  background: var(--bg-2);
  border: 1px solid var(--border);
  min-height: 440px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.why-visual-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(150deg, rgba(0,139,58,0.1) 0%, rgba(248,246,242,0.6) 100%),
    repeating-linear-gradient(45deg, rgba(0,139,58,0.025) 0px, rgba(0,139,58,0.025) 1px, transparent 1px, transparent 44px);
}
/* ─── WHY SECTION PHOTO ──────────────────────────────────────────────────
   Recommended filename: why-fodder.jpg (960×640 or larger)
──────────────────────────────────────────────────────────────────────── */
.why-visual-photo {
  position: absolute; inset: 0;
  z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.why-visual-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.why-img-placeholder {
  position: absolute; inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    linear-gradient(150deg, rgba(0,139,58,0.07) 0%, rgba(248,246,242,0.5) 100%),
    repeating-linear-gradient(45deg, rgba(0,139,58,0.025) 0px, rgba(0,139,58,0.025) 1px, transparent 1px, transparent 44px);
}
.why-img-placeholder svg { opacity: 0.18; }
.why-img-placeholder-label {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.why-visual-badge {
  position: relative; z-index: 2;
  padding: 24px 28px;
  width: 100%;
  background: linear-gradient(0deg, rgba(248,246,242,0.95) 0%, transparent 100%);
  border-top: 1px solid var(--border);
}
.why-visual-eyebrow {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 5px;
}
.why-visual-quote {
  font-family: var(--display);
  font-size: 1.3rem;            /* was 1.25rem */
  font-weight: 300;
  font-style: italic;
  color: var(--text);
}


/* ═══════════════════════════════════
   TIMELINE — dark band
═══════════════════════════════════ */
.timeline-section {
  background: var(--bg-dark);
  color: var(--dark-muted);
}
.timeline-section .section-title { color: var(--dark-text); }
.timeline-section .section-title em { color: var(--dark-green); }
.timeline-section .section-eyebrow { color: var(--dark-green); }
.timeline-section .section-eyebrow::before { background: var(--dark-green); }
.timeline-section .section-body { color: var(--dark-muted); }
.t-border { border-color: var(--dark-border) !important; }

.timeline-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.timeline-wrap { position: relative; }
.timeline-spine {
  position: absolute;
  left: 54px; top: 0; bottom: 0;
  width: 1px;
  /* Extended green zone for more visual weight at top */
  background: linear-gradient(180deg, var(--green) 0%, rgba(0,139,58,0.25) 45%, var(--dark-border) 100%);
}
.t-entry {
  display: grid;
  grid-template-columns: 108px 1fr;
  margin-bottom: 3px;
}
.t-year-col {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-right: 24px;
  padding-top: 18px;
  position: relative;
}
.t-year-col::after {
  content: "";
  position: absolute;
  right: -5px; top: 24px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.t-entry:hover .t-year-col::after {
  background: var(--green);
  border-color: var(--green);
}
.t-year {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
  transition: color 0.25s var(--ease-out);
}
.t-entry:hover .t-year { color: var(--dark-green); }
.t-body {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--dark-border);
  padding: 16px 22px;
  margin-left: 24px;
  transition: border-color 0.25s var(--ease-out);
}
.t-entry:hover .t-body { border-color: rgba(0,139,58,0.5); } /* was 0.4 */
.t-place {
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-green);
  margin-bottom: 3px;
}
.t-project {
  font-family: var(--display);
  font-size: 1.0rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark-text);
  margin-bottom: 2px;
}
.t-detail {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--dark-faint);
}
.timeline-cta {
  margin-top: 36px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.timeline-cta-text {
  font-family: var(--display);
  font-size: 1.6rem;            /* was 1.5rem */
  font-weight: 700;
  text-transform: uppercase;
  color: var(--dark-text);
  line-height: 1.15;
}
.timeline-cta-text span { color: var(--dark-green); }


/* ═══════════════════════════════════
   DECADE ACCORDION (timeline replacement)
═══════════════════════════════════ */
.da-wrap { display: flex; flex-direction: column; gap: 3px; }
.da-row { border: 1px solid rgba(255,255,255,0.07); background: rgba(255,255,255,0.02); overflow: hidden; transition: border-color 0.3s, background 0.3s; }
.da-row:hover { border-color: rgba(0,139,58,0.4); background: rgba(0,139,58,0.05); }
.da-bar { display: grid; grid-template-columns: 140px 1fr auto; align-items: center; gap: 32px; padding: 20px 28px; cursor: pointer; position: relative; user-select: none; }
.da-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: transparent; transition: background 0.3s; }
.da-row:hover .da-bar::before, .da-row.open .da-bar::before { background: var(--green); }
.da-bar-decade { font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--dark-green); line-height: 1; letter-spacing: -0.01em; }
.da-row.open .da-bar-decade { color: #a8edbe; }
.da-bar-meta { display: flex; flex-direction: column; gap: 3px; }
.da-bar-count { font-family: var(--display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.da-bar-note { font-size: 0.78rem; font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.4; }
.da-bar-note strong { color: var(--dark-green); font-weight: 500; }
.da-chevron { font-family: var(--display); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(0,139,58,0.4); white-space: nowrap; transition: color 0.2s; }
.da-row:hover .da-chevron { color: var(--dark-green); }
.da-row.open .da-chevron { color: rgba(255,255,255,0.2); }
.da-panel { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.da-row.open .da-panel { max-height: 400px; }
.da-panel-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 0 28px 20px; }
.da-item { background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); padding: 12px 14px; }
.da-item-yr { font-family: var(--display); font-size: 1.0rem; font-weight: 800; color: var(--dark-green); line-height: 1; margin-bottom: 4px; }
.da-item-name { font-size: 0.7rem; font-weight: 400; color: rgba(255,255,255,0.5); line-height: 1.35; }
.da-item-prod { font-family: var(--display); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(0,139,58,0.55); margin-top: 5px; }
.da-item.hl { border-color: rgba(0,139,58,0.3); background: rgba(0,139,58,0.06); }
.da-item.hl .da-item-yr { color: #a8edbe; }


/* ═══════════════════════════════════
   PROOF
═══════════════════════════════════ */
.proof-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}
.proof-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 32px 28px;
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease-out);
}
.proof-card:hover {
  border-color: var(--green-rule);
  transform: translateY(-3px);          /* added lift */
  box-shadow: 0 6px 28px rgba(0,0,0,0.06);
}
.proof-q {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.proof-a-title {
  font-family: var(--display);
  font-size: 1.25rem;           /* was 1.2rem */
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.15;
}
.proof-a-text {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}


/* ═══════════════════════════════════
   PARTNERS BAR
═══════════════════════════════════ */
.partners-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 80px;
}
.partners-label {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-faint);
  text-align: center;
  margin-bottom: 36px;
}
.partners-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.partner {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 12px 28px;
  border-right: 1px solid var(--border);
  transition: color 0.2s;
  white-space: nowrap;
}
.partner:first-child { border-left: 1px solid var(--border); }
.partner:hover { color: var(--green); }


/* ═══════════════════════════════════
   FINAL CTA
═══════════════════════════════════ */
.cta-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 130px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(0,139,58,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.cta-label {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
h2.cta-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text);
  line-height: 0.93;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
h2.cta-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--green);
  text-transform: none;
  display: block;
  font-size: 0.65em;
  margin-top: 4px;
}
.cta-sub {
  font-size: 1.0rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 44px;
  line-height: 1.85;
}
.cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-footnote {
  margin-top: 24px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-faint);
}


/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding: 64px 80px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-logo img {
  height: 26px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.footer-tagline {
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 14px;
}
.footer-cea {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.footer-cea span { color: #5cb872; }    /* was #4e9c62 — slightly brighter */
.footer-rep {
  margin-top: 14px;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  max-width: 340px;
}
.footer-rep a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.25);
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.footer-rep a:hover { color: var(--white); }
.footer-social {
  display: flex;
  gap: 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  max-width: 280px;
}
.footer-social a {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s, transform 0.2s;
}
.footer-social a:hover { color: var(--white); transform: translateY(-2px); }
.footer-social svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-col-label {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a {
  font-size: 0.84rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }   /* was 0.85 — snap to full white */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.22);
}


/* ═══════════════════════════════════
   ANIMATIONS & KEYFRAMES
═══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scanline {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

/* Reveal system — content visible by default, animations progressive */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}
.js-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js-ready .reveal.visible { opacity: 1; transform: none; }

/* Stagger delays */
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.20s; }
.reveal-d3 { transition-delay: 0.30s; }
.reveal-d4 { transition-delay: 0.40s; }
.reveal-d5 { transition-delay: 0.50s; }


/* ═══════════════════════════════════
   RESPONSIVE — 1024px (tablet / small desktop)
═══════════════════════════════════ */
@media (max-width: 1024px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero { padding: 0 24px 80px; }
  .hero-scroll { display: none; }          /* remove overlap risk on tablet */
  section { padding: 72px 24px; }
  .stats-bar { grid-template-columns: 1fr 1fr; padding: 36px 24px; gap: 24px; }
  .stat-item { border: none !important; padding: 0 !important; text-align: left !important; }
  .intro { grid-template-columns: 1fr; gap: 40px; }
  .intro-cards { grid-template-columns: 1fr 1fr; }
  .systems-section { padding: 72px 24px; }
  .systems-header { grid-template-columns: 1fr; gap: 32px; }
  .system-cards { grid-template-columns: 1fr 1fr; } /* 2-col on tablet */
  .why-layout { grid-template-columns: 1fr; }
  .timeline-layout { grid-template-columns: 1fr; gap: 40px; }
  .proof-cards { grid-template-columns: 1fr 1fr; }  /* 2-col on tablet */
  .partners-bar { padding: 44px 24px; }
  .cta-section { padding: 80px 24px; }
  footer { padding: 48px 24px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .timeline-cta { flex-direction: column; align-items: flex-start; }
  .da-bar { grid-template-columns: 100px 1fr auto; gap: 16px; padding: 16px 20px; }
  .da-bar-decade { font-size: 1.6rem; }
  .da-panel-inner { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════
   RESPONSIVE — 480px (mobile phones)
═══════════════════════════════════ */
@media (max-width: 480px) {
  section { padding: 56px 20px; }
  .hero { padding: 0 20px 64px; }
  .stats-bar { grid-template-columns: 1fr; padding: 28px 20px; gap: 18px; }
  .intro-cards { grid-template-columns: 1fr; }
  .systems-section { padding: 56px 20px; }
  .system-cards { grid-template-columns: 1fr; }
  .system-card { padding: 32px 24px 28px; }
  .system-card-photo { margin: -32px -24px 24px; }
  .proof-cards { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 40px 20px 28px; }
  .partners-bar { padding: 36px 20px; }
  .cta-section { padding: 64px 20px; }
  .timeline-cta { padding: 24px 20px; }
  .stat-number { font-size: 2.8rem; }
}
