﻿/* Earthmover — main.css */
/* Light theme — climate tech */

:root {
  --bg: #f8faf8;
  --surface: #ffffff;
  --text: #1a2e1a;
  --text-muted: #4a6040;
  --accent: #16a34a;
  --border: rgba(0,0,0,0.08);
  --radius: 12px;
  --gap: 3em;
  --sidebar-w: 0px;
  --funding-bar-h: 0px;
  --nav-height: 4.5em;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.9;
  margin: 0;
  padding: 0;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }
.img-wrap { overflow: hidden; width: 100%; }
.img-wrap img { width: 100%; object-fit: cover; }

h1 { font-size: 3.6rem; font-weight: 700; line-height: 1.1; margin: 0 0 0.6em; color: var(--text); }
h2 { font-size: 2.5rem; font-weight: 700; line-height: 1.3; margin: 0 0 0.6em; color: var(--text); }
h3 { font-size: 1.6rem; font-weight: 600; line-height: 1.4; margin: 0 0 0.5em; color: var(--text); }
h4 { font-size: 1.1rem; font-weight: 600; line-height: 1.5; margin: 0 0 0.4em; color: var(--text); }
p, li { font-size: 1.1rem; line-height: 1.9; }
p { margin: 0 0 1.2em; }

.label, .tag, .meta { font-size: 0.9rem; }

/* ===== FUNDING BAR ===== */
#funding-bar { color: #fff !important; }

/* ===== NAV ===== */
#navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5em;
  position: fixed;
  top: var(--funding-bar-h, 0px);
  left: 0; right: 0;
  width: 100%;
  min-height: 4.5em;
  z-index: 9999;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border);
  box-sizing: border-box;
  transition: top 0.3s ease;
}

.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.nav-menu li a {
  display: flex;
  align-items: center;
  height: 4.5em;
  padding: 0 1.2em;
  color: var(--text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-menu li a:hover,
.nav-menu li.active a { color: var(--accent); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5em;
}
.nav-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
}

/* ===== PAGE WRAPPER ===== */
#page-wrapper {
  padding-top: calc(var(--funding-bar-h, 0px) + 4.5em);
}

/* ===== HERO ===== */
.hero-section {
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--bg);
  padding: 6em 4em 5em;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
  z-index: 0;
  pointer-events: none;
}
.hero-section > * { position: relative; z-index: 1; }

.hero-section .hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-main.jpg') center/cover no-repeat;
  z-index: 0;
}
.hero-section .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
  z-index: 1;
}
.hero-section > .hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5em;
  align-items: center;
}

.hero-label {
  color: var(--accent);
  font-size: 0.75em;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.2em;
  display: block;
}

.hero-section h1 { color: #ffffff; margin-bottom: 0.8em; }

.hero-tagline {
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 500px;
}

.hero-right p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2em;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: flex-start;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 0.9em 2.2em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #15803d; text-decoration: none; transform: translateY(-1px); }

.btn-secondary {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  padding: 0.9em 2.2em;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(22,163,74,0.08); text-decoration: none; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--accent);
  color: #fff;
  padding: 2.5em 4em;
}
.stats-bar .stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2em;
  text-align: center;
}
.stat-item h3 { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 0.2em; }
.stat-item p { font-size: 0.9rem; color: rgba(0,0,0,0.60); margin: 0; }

/* ===== SECTIONS ===== */
.section-pad {
  padding: 6em 4em;
}
.section-pad.alt { background: var(--surface); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5em;
}
.section-header p { color: var(--text-muted); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2em; }

/* ===== GRID ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3em; align-items: center; }

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2em;
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 32px rgba(22,163,74,0.10); transform: translateY(-3px); }

.feature-card .icon-wrap {
  width: 52px; height: 52px;
  background: rgba(22,163,74,0.10);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2em;
}
.feature-card .icon-wrap svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 2; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5em; }
.feature-card p { font-size: 1rem; color: var(--text-muted); margin: 0; }

/* ===== ABOUT STORY ===== */
.spotlight-section { padding: 6em 4em; background: var(--surface); }
.spotlight-inner {
  display: flex;
  gap: 4em;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.story-img { flex-shrink: 0; width: 45%; }
.story-img img { width: 100%; border-radius: var(--radius); object-fit: cover; display: block; }
.story-text { flex: 1; }

/* ===== MISSION SECTION ===== */
.mission-section {
  padding: 6em 4em;
  background: var(--bg);
}
.mission-inner { max-width: 1100px; margin: 0 auto; }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  margin-top: 3em;
}

.mission-block h3 {
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 0.6em;
}
.mission-block p { color: var(--text-muted); }

/* ===== INVESTORS SECTION ===== */
.investors-section { padding: 5em 4em; background: var(--surface); text-align: center; }
.investors-inner { max-width: 900px; margin: 0 auto; }
.vc-badge {
  display: inline-block;
  background: rgba(22,163,74,0.08);
  border: 1.5px solid rgba(22,163,74,0.25);
  border-radius: 8px;
  padding: 1.2em 2.5em;
  margin: 1.5em auto 0;
}
.vc-badge p { font-size: 1rem; color: var(--text-muted); margin: 0.3em 0 0; }
.vc-badge strong { color: var(--text); font-size: 1.1rem; }

/* ===== TEAM ===== */
.team-section { padding: 6em 4em; }
.team-section-inner { max-width: 1100px; margin: 0 auto; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5em;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card { text-align: center; }
.team-card img {
  width: 150px; height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin-bottom: 1em;
  border: 3px solid rgba(22,163,74,0.2);
}
.team-card h3 { font-size: 1.2rem; margin-bottom: 0.2em; }
.team-card .title {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.8em;
}
.team-card p { font-size: 1rem; color: var(--text-muted); }

/* ===== CONTACT PAGE ===== */
.contact-section { padding: 6em 4em; }
.contact-inner { max-width: 1100px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  margin-top: 3em;
}

.contact-info h3 {
  font-size: 1.1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5em;
  margin-top: 2em;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { color: var(--text-muted); margin: 0; font-size: 1rem; }

.contact-message {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5em;
}
.contact-message h3 { font-size: 1.5rem; margin-bottom: 1em; }
.contact-message p { color: var(--text-muted); margin-bottom: 1.5em; }

/* ===== SOLUTIONS PAGE ===== */
.solutions-section { padding: 6em 4em; }
.solutions-inner { max-width: 1100px; margin: 0 auto; }

.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4em;
  align-items: center;
  margin-bottom: 5em;
  padding-bottom: 5em;
  border-bottom: 1px solid var(--border);
}
.solution-block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.solution-block.reverse { direction: rtl; }
.solution-block.reverse > * { direction: ltr; }

.solution-text h3 { font-size: 1.8rem; margin-bottom: 0.8em; }
.solution-text p { color: var(--text-muted); margin-bottom: 1.2em; }
.solution-text ul { padding-left: 1.5em; margin: 0; }
.solution-text ul li { color: var(--text-muted); font-size: 1rem; margin-bottom: 0.5em; }

.solution-visual {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
}
.solution-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
  z-index: 0;
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero {
  min-height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 5em 4em 4em;
}
.page-hero .page-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/about-hero.jpg') center/cover no-repeat;
  z-index: 0;
}
.page-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248,250,248,0.90);
  z-index: 1;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.page-hero h1 { font-size: 2.8rem; margin-bottom: 0.4em; }
.page-hero p { color: var(--text-muted); font-size: 1.15rem; max-width: 600px; margin: 0; }

/* ===== INSIGHTS LISTING ===== */
.insights-section { padding: 6em 4em; }
.insights-inner { max-width: 1100px; margin: 0 auto; }

.insights-empty {
  text-align: center;
  padding: 5em 2em;
  color: var(--text-muted);
}
.insights-empty p { font-size: 1.1rem; }

/* ===== FOOTER ===== */
#footer {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

#footer .inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  padding: 3em 4em;
  gap: 3em;
}

.footer-brand h3 { font-size: 1.3rem; margin-bottom: 0.5em; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.75; }

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.2em;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav li { margin-bottom: 0.6em; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: 0.9em; }
.footer-nav a:hover { color: var(--text); }

.footer-copy {
  text-align: center;
  padding: 1.5em 4em;
  border-top: 1px solid var(--border);
  font-size: 0.82em;
  color: var(--text-muted);
}

/* ===== COOKIE BANNER ===== */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10003;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.2em 2em;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}

.cookie-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2em;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; }
.cookie-text strong { font-size: 1rem; color: var(--text); }
.cookie-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.4em 0 0;
  line-height: 1.6;
}
.cookie-text a { color: var(--accent); }
.cookie-buttons {
  display: flex;
  gap: 0.8em;
  flex-shrink: 0;
}
#cookie-decline {
  padding: 0.6em 1.4em;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
}
#cookie-accept {
  padding: 0.6em 1.4em;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ===== ARTICLE TYPOGRAPHY ===== */
.article-body, .post-content, article .content {
  max-width: 720px;
  margin: 0 auto;
}
.article-body p, article p { margin-bottom: 1.4em; line-height: 1.9; }
.article-body h2, article h2 { margin-top: 2.2em; margin-bottom: 0.8em; font-size: 2.5rem; }
.article-body h3, article h3 { margin-top: 1.8em; margin-bottom: 0.6em; font-size: 1.6rem; }
.article-body ul, .article-body ol, article ul, article ol { margin-bottom: 1.4em; padding-left: 1.8em; }
.article-body li, article li { margin-bottom: 0.5em; line-height: 1.85; }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); z-index: 9998; }
  .nav-menu.open li a { height: auto; padding: 1em 2em; border-bottom: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .hero-section > .hero-inner { grid-template-columns: 1fr; gap: 2.5em; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-bar .stats-inner { grid-template-columns: 1fr 1fr; }
  .spotlight-inner { flex-direction: column; }
  .story-img { width: 100%; }
  .mission-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .solution-block { grid-template-columns: 1fr; }
  .solution-block.reverse { direction: ltr; }
  #footer .inner { grid-template-columns: 1fr; padding: 2em; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .page-hero h1 { font-size: 2rem; }
  body { font-size: 16px; }
  .section-pad, .mission-section, .spotlight-section, .team-section, .contact-section, .solutions-section, .insights-section { padding: 4em 1.5em; }
}


.hero-section h1, .hero-section h2,
.page-hero h1, .page-hero h2, .page-hero .page-title {
  color: #ffffff !important;
}
.hero-section p, .hero-section .hero-tagline,
.page-hero p, .page-hero .page-subtitle {
  color: rgba(0,0,0,0.60) !important;
}
.hero-right p { color: rgba(0,0,0,0.60) !important; }


/* page-hero text -- dark text on light overlay (earthcover light theme) */
.page-hero-inner h1, .page-hero-inner h2 {
  color: var(--text) !important;
  text-shadow: none;
}
.page-hero-inner p, .page-hero-inner .chip, .page-hero-inner span {
  color: var(--text-muted) !important;
  text-shadow: none;
}
