/* ============================================
   GREEN LITHIUM - MAIN STYLESHEET
   Brand: Branding Guidelines V2 2022
   ============================================ */

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

/* ---- BRAND TOKENS ---- */
:root {
  --charcoal:      #18332F;
  --teal:          #007377;
  --orange:        #F1B434;
  --apple:         #97D700;
  --turquoise:     #00B2A9;
  --neon:          #67F394;

  --turquoise-30:  #B3E8E5;
  --apple-30:      #E0F3B3;
  --teal-30:       #B3D5D6;
  --neon-30:       #D1FBDF;
  --orange-30:     #FBE9C2;

  --turquoise-10:  #E6F7F6;
  --apple-10:      #F5FBE6;
  --teal-10:       #E6F1F1;
  --neon-10:       #F0FEF4;
  --orange-10:     #FEF8EB;

  --grey:          #D8D8D8;
  --grey-light:    #EBEBEB;
  --white:         #FFFFFF;
  --off-white:     #F8FAF9;

  --font-head:     'Jost', 'Futura PT', sans-serif;
  --font-body:     'Nunito Sans', sans-serif;

  --nav-h:         76px;
  --max-w:         1200px;
  --section-v:     100px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: 0.06em; }
p  { font-weight: 300; font-size: 1rem; line-height: 1.8; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }
section { padding: var(--section-v) 0; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary  { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: transparent; color: var(--teal); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-turq     { background: var(--turquoise); color: var(--charcoal); border-color: var(--turquoise); }
.btn-turq:hover { background: transparent; color: var(--turquoise); }

/* ============================================
   NAVIGATION
============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 200;
  transition: background 0.35s, box-shadow 0.35s;
}
.nav.scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--turquoise);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--turquoise) !important;
  color: var(--charcoal) !important;
  padding: 10px 24px;
  font-weight: 600 !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--apple) !important; color: var(--charcoal) !important; }
.nav-cta::after { display: none !important; }

.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--charcoal); padding: 16px 20px 28px;
  }
  .nav-links.open a { padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ============================================
   HERO
============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
  background: var(--charcoal);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(24,51,47,0.2) 0%,
    rgba(24,51,47,0.75) 55%,
    rgba(24,51,47,0.97) 100%
  );
  z-index: 1;
}
.hero-content { z-index: 2; }
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 48px; width: 100%;
}
.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--turquoise);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  display: block; width: 28px; height: 2px;
  background: var(--turquoise);
}
.hero-content h1 { color: var(--white); max-width: 700px; margin-bottom: 28px; }
.hero-lead {
  color: rgba(255,255,255,0.72);
  font-size: 1.1rem; max-width: 520px;
  margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================
   STAT STRIP
============================================ */
.stat-strip { background: var(--charcoal); }
.stat-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-cell {
  padding: 52px 40px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-cell:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.4rem,4vw,3.5rem);
  font-weight: 700; color: var(--white);
  line-height: 1; letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.stat-number em { color: var(--turquoise); font-style: normal; }
.stat-tag {
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--turquoise); margin-bottom: 12px;
}
.stat-cell p { font-size: 0.83rem; color: rgba(255,255,255,0.48); line-height: 1.65; }

@media (max-width: 768px) {
  .stat-inner { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ============================================
   SECTION HEADER
============================================ */
.section-header { margin-bottom: 60px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  display: block; width: 24px; height: 2px;
  background: var(--turquoise); flex-shrink: 0;
}
.section-header h2 { color: var(--charcoal); }
.section-header p  { margin-top: 18px; max-width: 540px; color: #4a6a66; }
.section-header.light h2,
.section-header.light p    { color: var(--white); }
.section-header.light .eyebrow { color: var(--turquoise); }
.section-header.centered   { text-align: center; }
.section-header.centered .eyebrow::before { display: none; }
.section-header.centered p { margin: 18px auto 0; }

/* ============================================
   PILLAR / FEATURE GRID
============================================ */
.pillar-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 2px; background: var(--grey-light);
}
.pillar-card {
  background: var(--white); padding: 56px 48px;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.pillar-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 3px; height: 0;
  background: var(--turquoise);
  transition: height 0.4s ease;
}
.pillar-card:hover::before { height: 100%; }
.pillar-card:hover { background: var(--turquoise-10); }
.pillar-num {
  font-family: var(--font-head);
  font-size: 3.2rem; font-weight: 700;
  color: var(--apple-30); line-height: 1;
  margin-bottom: 20px; letter-spacing: -0.02em;
}
.pillar-card h3 { color: var(--charcoal); margin-bottom: 8px; }
.pillar-sub {
  font-family: var(--font-head);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.pillar-card p { font-size: 0.92rem; color: #4a6a66; }

@media (max-width: 768px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar-card { padding: 36px 24px; }
}

/* ============================================
   SUPPLY CHAIN
============================================ */
.chain-row {
  display: flex; align-items: center;
  gap: 0; overflow-x: auto; padding-bottom: 4px;
}
.chain-node {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  flex: 1; min-width: 110px;
}
.chain-icon {
  width: 60px; height: 60px;
  border: 2px solid var(--grey);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  margin-bottom: 14px;
  transition: border-color 0.3s, background 0.3s;
}
.chain-node.hl .chain-icon {
  border-color: var(--teal);
  background: var(--teal);
}
.chain-node.hl .chain-icon svg { stroke: var(--white); fill: none; }
.chain-node svg { stroke: var(--charcoal); fill: none; stroke-width: 1.5; }
.chain-name {
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--charcoal); margin-bottom: 4px;
}
.chain-node.hl .chain-name { color: var(--teal); }
.chain-sub-label {
  font-size: 0.72rem; color: #7a9a96;
}
.chain-node.hl .chain-sub-label { color: var(--teal); font-weight: 600; }
.chain-arr {
  color: var(--grey); flex-shrink: 0;
  font-size: 1.2rem; padding: 0 6px;
  margin-bottom: 32px;
}

/* ============================================
   TEAM
============================================ */
.team-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: var(--grey-light);
}
.team-card { background: var(--white); overflow: hidden; }
.team-card:hover { background: var(--turquoise-10); }
.team-photo {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; object-position: top center;
  filter: grayscale(100%);
  transition: filter 0.4s;
}
.team-card:hover .team-photo { filter: grayscale(30%); }
.team-info { padding: 24px 28px 32px; }
.team-info h3 { font-size: 1rem; margin-bottom: 2px; }
.team-quals {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.1em; color: var(--grey); text-transform: uppercase; margin-bottom: 6px;
}
.team-role {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.team-bio { font-size: 0.85rem; color: #4a6a66; line-height: 1.65; }

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

/* ============================================
   NEWS
============================================ */
.news-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 36px;
}
.news-card { border-top: 3px solid var(--grey-light); padding-top: 28px; transition: border-color 0.25s; }
.news-card:hover { border-color: var(--turquoise); }
.news-date {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.news-card h3 { font-size: 0.95rem; line-height: 1.4; margin-bottom: 12px; letter-spacing: 0.04em; }
.news-card p  { font-size: 0.85rem; color: #4a6a66; margin-bottom: 18px; }
.news-link {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal);
  display: flex; align-items: center; gap: 6px; transition: gap 0.2s;
}
.news-card:hover .news-link { gap: 10px; }

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

/* ============================================
   CTA BAND
============================================ */
.cta-band {
  background: var(--charcoal); padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute;
  right: -80px; top: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: var(--teal); opacity: 0.14;
}
.cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-inner h2 { color: var(--white); max-width: 480px; }
.cta-actions  { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================
   FOOTER
============================================ */
footer { background: #0f2420; color: rgba(255,255,255,0.55); padding: 68px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}
.footer-brand img { height: 30px; margin-bottom: 18px; }
.footer-brand p   { font-size: 0.85rem; max-width: 270px; line-height: 1.75; }
.footer-tagline {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--turquoise); margin-top: 14px;
}
.footer-col h4 {
  font-family: var(--font-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--white); margin-bottom: 18px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a  { font-size: 0.85rem; color: rgba(255,255,255,0.48); transition: color 0.2s; }
.footer-col a:hover { color: var(--turquoise); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.78rem; }

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

/* ============================================
   ANIMATIONS
============================================ */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   UTILITIES
============================================ */
.bg-charcoal { background: var(--charcoal); }
.bg-apple10  { background: var(--apple-10); }
.bg-turq10   { background: var(--turquoise-10); }
.text-white  { color: var(--white) !important; }
.divider     { width: 40px; height: 3px; background: var(--turquoise); margin: 18px 0; }
.mt-8  { margin-top: 8px;  }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
