/* ============================================================
   EcoValley Silicones — site styles
   Brochure-matched: lime green primary, serif italic display,
   pill section headers, rounded cards, dot-grid backgrounds.
   ============================================================ */

:root {
  --green-50:  #f4fae8;
  --green-100: #e6f3cb;
  --green-200: #d2ea9f;
  --green-300: #b8dd6b;
  --green-400: #9ccf3d;
  --green-500: #7cb342;   /* primary */
  --green-600: #689f38;
  --green-700: #558b2f;
  --green-800: #3f6b22;
  --ink-900:   #1a1f1a;
  --ink-700:   #33402f;
  --ink-500:   #5a6659;
  --ink-300:   #a3ab9e;
  --line:      #e6ede0;
  --bg-tint:   #f9fbf3;
  --white:     #ffffff;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(26, 31, 26, 0.04);
  --shadow:    0 6px 18px rgba(60, 90, 40, 0.08);
  --shadow-lg: 0 20px 40px rgba(60, 90, 40, 0.12);

  /* Original serif set restored. display/accent alias to serif so every
     reference renders Playfair again. */
  --ff-serif:  'Playfair Display', 'Source Serif Pro', Georgia, serif;
  --ff-sans:   'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ff-display: var(--ff-serif);
  --ff-accent:  var(--ff-serif);

  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  /* Subtle grey dot texture so white space never reads dead */
  background-color: #ffffff;
  background-image: radial-gradient(circle, rgba(70, 80, 68, 0.07) 1px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}
/* Canvas (animated dots + glow) retired — clean alternating tone bands now
   separate sections. The page base is a soft tint; sections paint white/tint. */
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--green-700); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--green-500); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
/* Unified section rhythm — every section breathes on the same cadence.
   clamp keeps the spacing consistent and proportional across mobile → desktop. */
.section { padding: clamp(60px, 7.5vw, 96px) 0; position: relative; }
.section-tight { padding: clamp(60px, 7.5vw, 96px) 0; position: relative; }

/* ---------- Alternating tone bands with sharp edges + light sweep ----------
   Sections are opaque full-width bands. Crisp top border = the sharp edge.
   .band-tint = stronger green tint for clear separation; default = white. */
.section, .section-tight {
  background: transparent; /* let the body's dotted texture show in white space */
  overflow: hidden;
  border-top: 1px solid rgba(85, 139, 47, 0.28);
}
.band-tint { background: #e9f3d6 !important; }
/* Product teaser cards: equal height, CTA pinned to the bottom so both
   "View full specs" buttons sit on the same line regardless of copy length.
   align-self:flex-start keeps the tag + button from stretching full-width. */
.product-teaser .card { display: flex; flex-direction: column; align-items: stretch; }
.product-teaser .card .sub-pill,
.product-teaser .card .btn { align-self: flex-start; }
.product-teaser .card .btn { margin-top: auto; }
/* A soft green light sweeps slowly across every section, so none read dead. */
.section::after,
.section-tight::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 130%;
  height: 100%;
  background: linear-gradient(100deg,
    transparent 0%,
    rgba(156, 207, 61, 0.04) 14%,
    rgba(156, 207, 61, 0.12) 32%,
    rgba(156, 207, 61, 0.20) 50%,
    rgba(156, 207, 61, 0.12) 68%,
    rgba(156, 207, 61, 0.04) 86%,
    transparent 100%);
  transform: skewX(-14deg);
  pointer-events: none;
  z-index: 0;
  animation: sectionSweep 8s linear infinite;
}
.section > .container,
.section-tight > .container { position: relative; z-index: 1; }
@keyframes sectionSweep {
  from { left: -130%; }
  to   { left: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .section::after, .section-tight::after { animation: none; opacity: 0; }
}

/* Dots retired in favour of the soft gradient canvas (see body::before/::after).
   Kept as a no-op so existing .dot-bg markup needs no edits. */
.dot-bg { background-image: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: 700;
  color: var(--ink-900);
  margin: 0 0 .5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); font-style: italic; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-style: italic; }
h3 { font-size: 1.35rem; font-style: italic; }
/* Subtle depth on the big titles */
.section-head h2, .hero-photo-h1, .every-ton-h2 { text-shadow: 0 2px 6px rgba(30, 50, 20, 0.10); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.125rem; color: var(--ink-700); }
.muted { color: var(--ink-500); }
.accent {
  font-family: var(--ff-serif);
  font-style: italic;
  color: var(--green-600);
}

/* ---------- Pill section header (brochure signature) ---------- */
.pill-header {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-500);
  color: #fff;
  font-family: var(--ff-serif);
  font-style: italic;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.pill-header::before,
.pill-header::after {
  content: '';
  width: 18px;
  height: 1px;
  background: rgba(255,255,255,.55);
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .pill-header { margin-bottom: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green-500);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: var(--green-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--green-500); color: var(--green-700); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .28s ease, background .28s ease;
}
/* Scroll-aware header — condenses and lifts on scroll, like top manufacturer sites. */
.nav.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 6px 24px -12px rgba(15, 35, 10, 0.22);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  transition: padding .28s ease;
}
.nav.scrolled .nav-inner { padding-top: 9px; padding-bottom: 9px; }
.nav-logo img { transition: height .28s ease; }
.nav.scrolled .nav-logo img { height: 38px; }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.nav-logo img { height: 44px; width: auto; display: block; }
.nav-logo .sub {
  display: block;
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: .62rem;
  letter-spacing: .22em;
  color: var(--green-600);
  margin-top: 4px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  color: var(--ink-700);
  font-weight: 500;
  font-size: .95rem;
}
.nav-links a:hover { background: var(--green-50); color: var(--green-700); }
.nav-links a.active { background: var(--green-500); color: #fff; }

/* Persistent primary CTA in the header — the conversion pattern every top
   manufacturer keeps always-visible (Dow, Shin-Etsu, Elkem). */
.btn-quote {
  display: inline-flex;
  align-items: center;
  background: var(--green-500);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(104, 159, 56, 0.24);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-quote:hover {
  background: var(--green-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(104, 159, 56, 0.32);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  border-radius: 10px;
  transition: background .2s ease;
}
.nav-toggle:hover { background: var(--green-50); }
.nav-toggle:active { background: var(--green-100); }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--ink-900); overflow: visible; }
.nav-toggle svg line {
  /* Rotate each bar around the viewBox center (12, 12) so the three horizontal
     lines can morph into a clean X when the menu opens. */
  transform-box: view-box;
  transform-origin: 12px 12px;
  transition: transform .32s cubic-bezier(.4, 0, .2, 1),
              opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] svg line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] svg line:nth-child(2) {
  opacity: 0;
  transform: scaleX(.2);
}
.nav-toggle[aria-expanded="true"] svg line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(156, 207, 61, .08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(124, 179, 66, .10), transparent 45%),
    #fff;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #cfe0a8 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .35;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-700);
  font-size: .85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  letter-spacing: .04em;
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 520px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  max-width: 520px;
  margin-left: auto;
}
.hero-visual .hero-photo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(60, 90, 40, 0.22));
  animation: gentle-float 7s ease-in-out infinite;
}
@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-visual .hero-halo {
  position: absolute;
  inset: 10% 5% 15%;
  background: radial-gradient(circle, rgba(124,179,66,0.25), transparent 65%);
  filter: blur(30px);
  z-index: -1;
}
.hero-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #7db9d8, #2e6da6 55%, #1a3f6b 95%);
  box-shadow:
    inset -30px -40px 60px rgba(0,0,0,.25),
    0 30px 60px rgba(46, 109, 166, .25);
}
.hero-orb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 40% 20% at 25% 35%, rgba(124,179,66,.7), transparent 70%),
    radial-gradient(ellipse 30% 15% at 70% 55%, rgba(124,179,66,.6), transparent 70%),
    radial-gradient(ellipse 25% 18% at 45% 75%, rgba(124,179,66,.5), transparent 70%);
  mix-blend-mode: overlay;
}
.hero-sprout {
  position: absolute;
  left: 50%;
  top: -40px;
  transform: translateX(-50%);
  width: 90px;
  height: 110px;
}
.hero-butterfly {
  position: absolute;
  width: 60px;
  height: 60px;
  animation: float 6s ease-in-out infinite;
}
.hero-butterfly.b1 { top: 10%; left: -10%; animation-delay: 0s; }
.hero-butterfly.b2 { top: 30%; right: -8%; animation-delay: 2s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* ---------- Cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 28px rgba(60, 90, 40, 0.09);
  transition: all .25s ease;
}
.card:hover {
  border-color: var(--green-300);
  box-shadow: 0 20px 44px rgba(60, 90, 40, 0.16);
  transform: translateY(-3px);
}
/* Resting drop shadow on every card type, sitewide */
.step-photo,
.contact-card,
.handling-card,
.rrr-card,
.mv-card {
  box-shadow: 0 10px 28px rgba(60, 90, 40, 0.09);
}
.card-green {
  background: linear-gradient(180deg, var(--green-50) 0%, #fff 100%);
  border-color: var(--green-200);
}

/* ============================================================
   Unified lively card hover — one consistent lift + shadow + green
   ring across all content cards, plus a cursor-tracking spotlight
   (the glow follows the mouse, position fed by --mx/--my in JS).
   Image tiles (.industry-card, .every-ton-card) keep their own
   image-zoom hovers and are intentionally excluded.
   Placed after the base card rules so it overrides the older,
   inconsistent per-card hovers (−2/−3/−4px).
   ============================================================ */
.card,
.contact-card,
.handling-card,
.rrr-card,
.mv-card {
  position: relative;
  transition: transform .38s cubic-bezier(.16, .84, .44, 1), box-shadow .38s ease, border-color .38s ease;
}
.card:hover,
.contact-card:hover,
.handling-card:hover,
.rrr-card:hover,
.mv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(40, 80, 30, .18);
  border-color: var(--green-300);
}
.card::after,
.contact-card::after,
.handling-card::after,
.rrr-card::after,
.mv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 179, 66, .16), transparent 62%);
}
.card:hover::after,
.contact-card:hover::after,
.handling-card:hover::after,
.rrr-card:hover::after,
.mv-card:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .card, .contact-card, .handling-card, .rrr-card, .mv-card { transition: none; }
  .card:hover, .contact-card:hover, .handling-card:hover, .rrr-card:hover, .mv-card:hover { transform: none; }
}
@media (hover: none) {
  .card::after, .contact-card::after, .handling-card::after, .rrr-card::after, .mv-card::after { display: none; }
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--green-500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 6px 14px rgba(124, 179, 66, .25);
}
.card-icon svg { width: 26px; height: 26px; stroke: #fff; }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- About / split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-tight { gap: 40px; }

/* ---------- Process (numbered steps) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  /* 7 steps → last row is a single card; center it so there's no empty 8th slot */
  .process-grid > :nth-child(7):last-child {
    grid-column: 2 / span 1;
  }
}

/* ---------- Handling (Storage / Packing / Precaution) ---------- */
.handling-grid {
  gap: 32px;
  align-items: start;
}
.handling-card {
  text-align: center;
  padding: 28px 20px;
}
.handling-icon {
  display: block;
  width: 140px;
  /* Icons are ~267x200 (4:3). Reserve the height up front so they don't
     shift the card content downward as they lazy-load (CLS fix). */
  aspect-ratio: 4 / 3;
  height: auto;
  margin: 0 auto 18px;
  opacity: 0.92;
}
.handling-card h4 {
  color: var(--green-700);
  font-family: var(--ff-sans);
  font-weight: 700;
  margin-bottom: 6px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: all .2s ease;
}
.step:hover { border-color: var(--green-400); box-shadow: var(--shadow); }
.step-num {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--green-500);
  color: #fff;
  font-family: var(--ff-serif);
  
  font-weight: 700;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(124,179,66,.35);
}
.step h4 { margin-top: 12px; margin-bottom: 6px; font-family: var(--ff-serif);  }
.step p { font-size: .92rem; color: var(--ink-500); margin: 0; }

/* Image at the top of each home-page process card. Negative margins
   pull it out to the card edges (undoing the parent's 24px padding).
   Aspect ratio matches the 402x280 PNGs produced by _install-clean-steps.js
   so the container mirrors the image's intrinsic size — no CLS, no
   letterbox, no crop. */
.step-media {
  margin: -24px -24px 18px;
  aspect-ratio: 402 / 280;
  overflow: hidden;
  background: #fff;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  border-bottom: 1px solid var(--line);
}
.step-media img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  transition: transform .4s ease;
}
.step:hover .step-media img { transform: scale(1.05); }
/* When a step has media, pin the number badge inside the image area
   instead of floating it above the card top-edge. */
.step:has(.step-media) .step-num {
  top: 12px;
  left: 12px;
}

/* ---------- Photo process cards (used on What We Do) ---------- */
.step-photo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: all .2s ease;
}
.step-photo:hover { border-color: var(--green-400); box-shadow: var(--shadow); transform: translateY(-3px); }
.step-photo-media {
  /* Matches the canonical step-icon resolution (402 x 280, ~10:7) —
     the average dimensions across all 6 silicone_images sources. Each
     source PNG is stretched to fill this exact size, so every card is
     identical and edge-to-edge with no letterbox. */
  aspect-ratio: 402 / 280;
  overflow: hidden;
  display: block;
  padding: 0;
  background: #fff;
  position: relative;
}
.step-photo-media::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Very subtle bottom wash only — no longer needed to blend with white
     padding since the crop is edge-to-edge. Kept for depth only. */
  background: linear-gradient(180deg, rgba(246,248,244,0) 70%, rgba(238,242,234,0.18) 100%);
  pointer-events: none;
  z-index: 2;
}
.step-photo-media img {
  width: 100%;
  height: 100%;
  /* fill — sources are pre-stretched to 402x280 to match the container
     exactly, so cover/contain are equivalent. fill is the most explicit. */
  object-fit: fill;
  display: block;
  position: relative;
  z-index: 1;
  transform: scale(1);
  transform-origin: center center;
  transition: transform .4s ease;
}
.step-photo:hover img { transform: scale(1.08); }
.step-photo .step-num {
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
}
.step-photo-body { padding: 20px 22px; }
.step-photo-body h4 { margin: 0 0 4px; font-family: var(--ff-serif);  color: var(--ink-900); }
.step-photo-body p { margin: 0; font-size: .9rem; color: var(--ink-500); }

/* ---------- 3R image cards ---------- */
.rrr-card {
  text-align: center;
  padding: 32px 28px;
  background: linear-gradient(180deg, var(--green-50) 0%, #fff 100%);
  border: 1px solid var(--green-200);
  border-radius: var(--radius);
  transition: all .2s ease;
}
.rrr-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rrr-card img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 16px;
  display: block;
}

/* ---------- Product photo cards ---------- */
.product-photo {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Silhouette accents ---------- */
.silhouette-accent {
  position: absolute;
  opacity: 0.18;
  pointer-events: none;
}
.silhouette-accent.top-right { top: -30px; right: -30px; width: 200px; }
.silhouette-accent.bottom-left { bottom: -40px; left: -30px; width: 180px; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}
.stat {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .28s cubic-bezier(.22,1,.36,1),
              box-shadow .28s ease,
              border-color .28s ease;
}
.stat:hover {
  border-color: var(--green-300);
  box-shadow: 0 20px 44px rgba(60, 90, 40, 0.16);
}
/* Cursor-following spotlight glow */
.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(170px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 179, 66, 0.18), transparent 65%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.stat:hover::before { opacity: 1; }
.stat > * { position: relative; z-index: 1; }
.stat-num {
  font-family: var(--ff-serif);
  
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--green-600);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .88rem;
  color: var(--ink-500);
  letter-spacing: .04em;
}

/* ---------- Industries strip ---------- */
/* ---------- Industries marquee (rolling bar) ---------- */
.industries-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  /* Soft fade on the left/right edges so cards don't "pop" in and out. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  padding: 8px 0;
}
.industries-track {
  display: flex;
  gap: 18px;
  width: max-content;
  /* Track holds 2 copies of 7 cards. Animate from 0 to -50% for a seamless loop. */
  animation: industriesScroll 38s linear infinite;
}
.industries-marquee:hover .industries-track { animation-play-state: paused; }

/* Static, no-animation variant — collapses the rolling marquee into a centered
   wrapped grid of the 7 real cards (duplicate set hidden). */
.industries-marquee.no-marquee {
  -webkit-mask-image: none;
          mask-image: none;
  overflow: visible;
}
.industries-marquee.no-marquee .industries-track {
  animation: none;
  flex-wrap: wrap;
  justify-content: center;
  width: auto;
}
.industries-marquee.no-marquee .industry-card[aria-hidden="true"] { display: none; }

.industry-card {
  flex: 0 0 auto;
  position: relative;
  display: block;
  width: 280px;
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(22, 48, 22, 0.08);
  transition: transform .35s cubic-bezier(.22,.61,.36,1),
              box-shadow .35s cubic-bezier(.22,.61,.36,1);
  text-decoration: none;
}
.industry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Unified grade so mismatched stock reads as one deliberate, premium set.
     Color returns on hover as a reward. */
  filter: grayscale(0.62) contrast(1.06) brightness(0.82);
  transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .5s ease;
}
.industry-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px 20px;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 12, 0) 40%,
    rgba(10, 22, 12, 0.55) 72%,
    rgba(10, 22, 12, 0.9) 100%
  );
  transition: background .35s ease;
}
.industry-card-label {
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(22, 48, 22, 0.22);
}
.industry-card:hover img { transform: scale(1.06); filter: grayscale(0) contrast(1.02) brightness(0.96); }
.industry-card:hover .industry-card-overlay {
  background: linear-gradient(
    180deg,
    rgba(72, 117, 65, 0) 35%,
    rgba(72, 117, 65, 0.55) 70%,
    rgba(58, 92, 52, 0.95) 100%
  );
}

@keyframes industriesScroll {
  from { transform: translateX(0); }
  /* -50% = exactly one full set of 7 cards — the duplicate set seamlessly takes over. */
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .industries-track { animation: none; }
  .industries-marquee {
    -webkit-mask-image: none;
            mask-image: none;
    overflow-x: auto;
  }
}

@media (max-width: 640px) {
  .industry-card { width: 220px; height: 160px; border-radius: 14px; }
  .industry-card-overlay { padding: 14px 16px; }
  .industry-card-label { font-size: .92rem; }
  .industries-track { gap: 14px; animation-duration: 28s; }
}

/* ---------- Product spec tables ---------- */
.product-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-block-head {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 100%);
  color: #fff;
  padding: 18px 28px;
  font-family: var(--ff-serif);
  
  font-weight: 700;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-block-body { padding: 32px; }

.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: .95rem;
}
.info-row:last-child { border-bottom: 0; }
.info-row dt { color: var(--ink-500); font-weight: 500; }
.info-row dd { margin: 0; color: var(--ink-900); font-weight: 500; }

.sub-pill {
  display: inline-block;
  background: var(--green-50);
  color: var(--green-700);
  font-family: var(--ff-sans);
  font-weight: 700;
  letter-spacing: .06em;
  padding: 5px 13px;
  border-radius: 8px;
  font-size: .78rem;
  margin-bottom: 14px;
  border: 1px solid var(--green-200);
}

.ul-check { list-style: none; padding: 0; margin: 0; }
.ul-check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: .95rem;
  color: var(--ink-700);
}
.ul-check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px var(--green-500);
}

.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 20px;
  font-size: .92rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.spec-table thead th {
  background: var(--green-500);
  color: #fff;
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  font-size: .9rem;
}
.spec-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:nth-child(even) td { background: var(--bg-tint); }

/* Horizontal scroll wrapper so dense spec tables don't clip on mobile. */
.spec-scroll {
  margin-top: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  /* Fade hint on right edge so users know there's more to scroll */
  background:
    linear-gradient(to right, #fff 30%, rgba(255,255,255,0)) 0 0,
    linear-gradient(to right, rgba(255,255,255,0), #fff 70%) 100% 0,
    radial-gradient(farthest-side at 0 50%, rgba(0,0,0,.12), rgba(0,0,0,0)),
    radial-gradient(farthest-side at 100% 50%, rgba(0,0,0,.12), rgba(0,0,0,0)) 100% 0;
  background-repeat: no-repeat;
  background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%;
  background-attachment: local, local, scroll, scroll;
}
.spec-scroll .spec-table { margin-top: 0; min-width: 560px; }
@media (max-width: 600px) {
  .spec-table thead th, .spec-table tbody td { padding: 10px 12px; font-size: .85rem; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(ellipse at 12% 18%, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(ellipse at 88% 92%, rgba(0, 0, 0, 0.16), transparent 55%),
    linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.12) 1px, transparent 1px);
  background-size: 24px 24px;
}
.cta-band-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; max-width: 560px; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--green-700);
}
.cta-band .btn-primary:hover { background: var(--green-50); color: var(--green-800); }

/* ---------- Footer ---------- */
.footer {
  background: #111a10;
  color: #c7d3bc;
  padding: 64px 0 28px;
  margin-top: 0;
}
.footer a { color: #c7d3bc; }
.footer a:hover { color: var(--green-300); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h2, .footer h5 {
  font-family: var(--ff-serif);
  
  color: #fff;
  margin: 0 0 16px;
  font-size: 1.1rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; font-size: .92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  color: #7d8c72;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Contact page ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.contact-card {
  background: linear-gradient(180deg, var(--green-50) 0%, #fff 60%);
  border: 1px solid var(--green-200);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  gap: 16px;
}
.contact-card .card-icon { flex: 0 0 auto; margin-bottom: 0; }

.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-700);
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  /* 16px (1rem) is the floor that stops iOS Safari from auto-zooming the
     page on focus — critical on the lead-capture form. */
  font-size: 1rem;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(124, 179, 66, .15);
}
.form-row textarea { min-height: 140px; resize: vertical; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(circle at 85% 15%, rgba(124,179,66,.10), transparent 50%),
    var(--bg-tint);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3rem); }

.breadcrumbs {
  font-size: .88rem;
  color: var(--ink-500);
  margin-bottom: 20px;
}
.breadcrumbs a { color: var(--ink-500); }
.breadcrumbs span { color: var(--green-700); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { margin: 0 auto; max-width: 360px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-logo .sub { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .btn-quote { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  /* Mobile menu: always rendered so open/close can animate.
     Hidden state uses opacity + transform + visibility (with delayed
     visibility transition so it's still clickable during fade-out). */
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    align-items: stretch;
    box-shadow: 0 10px 24px -12px rgba(15, 35, 10, .12);

    /* Hidden by default on mobile */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scaleY(.98);
    transform-origin: top center;
    pointer-events: none;
    transition:
      opacity .28s ease,
      transform .32s cubic-bezier(.4, 0, .2, 1),
      visibility 0s linear .32s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scaleY(1);
    pointer-events: auto;
    transition:
      opacity .28s ease,
      transform .32s cubic-bezier(.4, 0, .2, 1),
      visibility 0s linear 0s;
  }
  /* Small stagger for the links themselves once the panel expands */
  .nav-links a {
    text-align: center;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .25s ease, transform .25s ease;
  }
  .nav-links.open a {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-links.open a:nth-child(1) { transition-delay: .06s; }
  .nav-links.open a:nth-child(2) { transition-delay: .10s; }
  .nav-links.open a:nth-child(3) { transition-delay: .14s; }
  .nav-links.open a:nth-child(4) { transition-delay: .18s; }
  .nav-links.open a:nth-child(5) { transition-delay: .22s; }
  .nav-toggle { display: block; }
  .cta-band { padding: 40px 24px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .info-row { grid-template-columns: 140px 1fr; }
  .product-block-body { padding: 24px 20px; }
  /* Footer links were ~18px tall and tightly stacked — pad them out to a
     ~44px touch target so they're not mis-tappable on phones. */
  .footer ul li { margin-bottom: 4px; }
  .footer ul li a,
  .footer-bottom a { display: inline-block; padding: 11px 0; }
}

/* ---------- Page hero split (text left, art right, fits one screen) ---------- */
.page-hero-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
}
.page-hero-split h1 { margin-top: 8px; }
.page-hero-art {
  margin-left: auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: none;
  width: 100%;
  position: relative;
}
.page-hero-art img {
  width: 125%;
  max-width: none;
  height: auto;
  display: block;
  transform: translateX(5%);
  /* fade the image bottom into the section background (existing gradient takes over) */
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 58%, rgba(0,0,0,0.55) 82%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 58%, rgba(0,0,0,0.55) 82%, rgba(0,0,0,0) 100%);
}
/* laptop-viewport fit: hero occupies one full screen, art bleeds to bottom */
@media (min-width: 900px) {
  .page-hero {
    padding-top: 48px;
    padding-bottom: 0;
    min-height: calc(100vh - 72px);
    max-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .page-hero > .container { width: 100%; }
  .page-hero-art {
    height: 100%;
    min-height: 620px;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    position: relative;
  }
  .page-hero-art img {
    width: 130%;
    max-width: none;
    max-height: none;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    transform: translateX(14%) translateY(4%);
  }
}
@media (max-width: 900px) {
  .page-hero-split { grid-template-columns: 1fr; text-align: left; gap: 28px; }
  .page-hero-art { max-width: 320px; margin: 0 auto; }
  .page-hero-art img { width: 100%; transform: none; }

  /* Editorial home hero: the 1fr/1.2fr override above has higher specificity
     than the generic .page-hero-split rule and was leaking into mobile,
     crushing the earth-hands image into a ~28px sliver on the side.
     On mobile we drop the floating art entirely and render the earth as a
     section-level background watermark instead. */
  .hero-editorial .page-hero-split { grid-template-columns: 1fr; }
  .hero-editorial .page-hero-art { display: none; }
  .hero-editorial.page-hero { position: relative; }
  .hero-editorial.page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -30px;
    height: 720px;
    background-image: url('img/hero-earth-hands.webp');
    background-repeat: no-repeat;
    /* Bigger composition: earth + hands render ~540px wide regardless of
       viewport — outermost hand-tips and butterfly wings clip symmetrically
       on narrow phones, which keeps the earth sphere visually prominent. */
    background-size: 540px auto;
    background-position: center bottom;
    opacity: 0.22;
    -webkit-mask-image: linear-gradient(to top, #000 0%, #000 55%, rgba(0,0,0,0.2) 85%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to top, #000 0%, #000 55%, rgba(0,0,0,0.2) 85%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 0;
  }
  .hero-editorial.page-hero > .container { position: relative; z-index: 1; }
}

/* ---------- Editorial hero (what-we-do-style) ---------- */
.hero-editorial .page-hero-split {
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
}
.hero-editorial .page-hero-copy { max-width: 600px; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-sans);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--green-800);
  background: rgba(124,179,66,0.10);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(124,179,66,0.28);
  margin-bottom: 24px;
}
.eyebrow-pill .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--green-600);
  box-shadow: 0 0 0 4px rgba(124,179,66,0.22);
}

.page-hero h1.hero-display {
  font-family: var(--ff-serif);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  margin-bottom: 0;
}
.hero-display em {
  
  font-weight: 700;
  color: var(--green-700);
  display: block;
}

.hero-editorial .lead {
  margin-top: 22px;
  max-width: 540px;
  font-size: 1.08rem;
  color: var(--ink-700);
}

.hero-stat-strip {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(51,64,47,0.14);
  max-width: 540px;
}
.hero-stat-strip > div { display: flex; flex-direction: column; }
.hero-stat-strip strong {
  font-family: var(--ff-serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--green-800);
  font-weight: 700;
}
.hero-stat-strip span {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-500);
  margin-top: 8px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

@media (min-width: 1200px) {
  .page-hero h1.hero-display { font-size: clamp(3.8rem, 6.6vw, 6.8rem); }
}

/* Home hero — shorter headline scale (less wrapping, more readable) */
.page-hero h1.hero-display.hero-display-home {
  font-size: clamp(2.2rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
@media (min-width: 1200px) {
  .page-hero h1.hero-display.hero-display-home {
    font-size: clamp(3rem, 4.6vw, 4.8rem);
  }
}

/* ---------- WhatsApp click-to-chat (floats above the EVA bubble) ---------- */
.wa-float {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 99997; /* below the EVA panel so an open chat covers it */
  transition: transform .3s cubic-bezier(0.16,1,0.3,1), box-shadow .3s ease;
  animation: waPulse 2.4s ease-out infinite;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 16px 36px rgba(20, 120, 60, 0.4);
  animation: none; /* steady on hover so the ring doesn't fight the lift */
}
.wa-float svg { width: 32px; height: 32px; }
/* Living pulse ring — green halo radiates out so the button reads as active */
@keyframes waPulse {
  0%   { box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 0 0 rgba(37,211,102,0); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { animation: none; }
}
@media (max-width: 600px) {
  .wa-float { bottom: 92px; right: 18px; }
}

/* ---------- Scroll reveal (fade + rise on entry) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s cubic-bezier(.22,.61,.36,1),
    transform .9s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; transform: none; opacity: 1; }
}

/* Faint lab/quality image behind the hero so it isn't flat white.
   Low opacity keeps the earth art and headline fully readable. */
.hero-editorial.page-hero { position: relative; }
/* Organic green light-wash — replaces the old lab photo. Reads as soft natural
   light, keeping the hero nature-forward to match the earth-in-hands art. */
.hero-editorial.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(156, 207, 61, 0.20), transparent 56%),
    radial-gradient(circle at 26% 82%, rgba(104, 159, 56, 0.14), transparent 52%);
  z-index: 0;
  pointer-events: none;
}
.hero-editorial .page-hero-split { position: relative; z-index: 1; }

/* Hero entrance — fires on load (above the fold).
   Expo-out easing settles smoothly; tight stagger keeps it snappy, not sluggish. */
.hero-editorial .page-hero-copy > * {
  opacity: 0;
  transform: translateY(26px);
  animation: heroRise 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-editorial .page-hero-copy > *:nth-child(1) { animation-delay: .08s; }
.hero-editorial .page-hero-copy > *:nth-child(2) { animation-delay: .20s; }
.hero-editorial .page-hero-copy > *:nth-child(3) { animation-delay: .32s; }
.hero-editorial .page-hero-copy > *:nth-child(4) { animation-delay: .44s; }
.hero-editorial .page-hero-copy > *:nth-child(5) { animation-delay: .56s; }
.hero-editorial .page-hero-art {
  opacity: 0;
  transform: translateX(28px) scale(.97);
  animation: heroFloatIn 1.6s cubic-bezier(0.22, 1, 0.36, 1) .35s both;
}
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFloatIn {
  to { opacity: 1; transform: translateX(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-editorial .page-hero-copy > *,
  .hero-editorial .page-hero-art {
    animation: none; opacity: 1; transform: none;
  }
}
@media (min-width: 900px) {
  .hero-editorial.page-hero { padding-top: 28px; }
}
@media (max-width: 900px) {
  .hero-display em { display: inline; }
  .hero-stat-strip { gap: 24px; }
  .hero-stat-strip strong { font-size: 1.5rem; }
}


/* ============================================================
   Process selector — expanding image panels (replaces carousel).
   Click/hover a panel to expand it; others recede. No empty gaps —
   panels always sum to 100% width.
   ============================================================ */
.process-selector {
  display: flex;
  gap: 10px;
  width: 100%;
  height: 460px;
  margin: 8px 0 0;
}
.proc-panel {
  position: relative;
  flex: 1 1 0;
  min-width: 54px;
  overflow: hidden;
  border: 0;
  padding: 0;
  border-radius: 18px;
  cursor: pointer;
  background-color: #14210f;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(15, 35, 10, .14);
  opacity: 0;
  transform: translateX(-50px);
  transition:
    flex-grow .7s cubic-bezier(.4, 0, .2, 1),
    height .55s cubic-bezier(.4, 0, .2, 1),
    box-shadow .5s ease,
    opacity .6s ease,
    transform .6s ease;
}
.proc-panel.in { opacity: 1; transform: none; }
.proc-panel.active {
  flex-grow: 7;
  box-shadow: 0 22px 60px rgba(15, 35, 10, .32);
}
.proc-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 18, 8, .85) 0%, rgba(8, 18, 8, .38) 30%, rgba(8, 18, 8, 0) 58%);
}
.proc-num {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--green-600);
  color: #fff;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .28);
}
.proc-panel.active .proc-num { background: var(--green-500); }
/* Vertical title shown while collapsed */
.proc-collapsed-title {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  writing-mode: vertical-rl;
  white-space: nowrap;
  color: #fff;
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
  opacity: .92;
  transition: opacity .4s ease;
  pointer-events: none;
}
.proc-panel.active .proc-collapsed-title { opacity: 0; }
/* Expanded label — fixed width so the text lays out at its final
   width immediately and just FADES in, instead of re-wrapping while
   the panel grows. Width stays ≤ the expanded panel's inner width. */
.proc-label {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 3;
  width: clamp(240px, 38vw, 440px);
  padding: 24px 26px;
  text-align: left;
  color: #fff;
}
.proc-title {
  display: block;
  font-family: var(--ff-serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease .26s, transform .5s ease .26s;
}
.proc-desc {
  display: block;
  margin-top: 8px;
  max-width: 100%;
  font-size: .96rem;
  line-height: 1.55;
  color: #d8e2d0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .55s ease .36s, transform .55s ease .36s;
}
.proc-panel.active .proc-title,
.proc-panel.active .proc-desc { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .process-selector { flex-direction: column; height: auto; gap: 12px; }
  .proc-panel { flex: none; height: 88px; transform: translateY(-30px); }
  .proc-panel.in { transform: none; }
  .proc-panel.active { height: 320px; }
  .proc-collapsed-title {
    writing-mode: horizontal-tb;
    top: 50%; left: 64px;
    transform: translateY(-50%);
  }
  .proc-label { width: auto; right: 0; }
  .proc-title { white-space: normal; }
}

/* ---------- Dark impact strip (context numbers) ---------- */
.impact-footnote {
  text-align: center;
  margin: 18px auto 0;
  max-width: 720px;
  font-size: .7rem;
  color: #8ea082;
  line-height: 1.5;
}
/* Desktop: single line so the dark block reads even — wraps on smaller screens */
@media (min-width: 1000px) {
  .impact-footnote { max-width: none; white-space: nowrap; font-size: .72rem; }
}
.impact-strip-dark {
  position: relative;
  background: #14210f;
  color: #fff;
  padding: 48px 0;
}
/* Official CPCB e-waste data as sourced prose (not a stat block) */
.impact-prose {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.impact-eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 16px;
}
.impact-prose p {
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
  line-height: 1.75;
  color: #e8efe2;
  margin: 0;
}
.impact-prose strong {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* Light "scale of the problem" section — distinct from the dark stat band */
.problem-band {
  background: var(--green-50, #f4fae8);
  padding: clamp(48px, 6vw, 76px) 0;
  border-bottom: 1px solid var(--line);
}
.problem-band .impact-eyebrow { color: var(--green-700); }
.problem-band .impact-prose p { color: var(--ink-700); }
.problem-band .impact-prose strong { color: var(--green-800); }
.problem-band .impact-footnote { color: var(--ink-500); }
.impact-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: center;
  position: relative;
}
.impact-strip-grid > div {
  text-align: center;
  position: relative;
  padding: 6px 12px;
}
.impact-strip-grid > div + div::before {
  content: '';
  position: absolute;
  left: -16px; top: 50%;
  width: 1px; height: 56px;
  background: rgba(255,255,255,0.08);
  transform: translateY(-50%);
}
.impact-num {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--green-400);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.impact-label {
  font-size: .8rem;
  color: #bcc4b9;
  margin-top: 12px;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
@media (max-width: 760px) {
  .impact-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .impact-strip-grid > div + div::before { display: none; }
}

/* ---------- Every Ton Counts (green impact feature) ---------- */
.every-ton {
  position: relative;
  padding: 110px 0 120px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(255,255,255,0.10), transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(0,0,0,0.18), transparent 55%),
    linear-gradient(135deg, var(--green-600) 0%, var(--green-700) 100%);
  color: #fff;
  overflow: hidden;
}
.every-ton::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .5;
  pointer-events: none;
}
.every-ton > .container { position: relative; z-index: 1; }
.every-ton-head { text-align: center; color: #fff; margin-bottom: 56px; }
.pill-eyebrow {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .26em;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
}
.every-ton-h2 {
  font-family: var(--ff-serif);
  
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  color: #fff;
  margin: 0;
  letter-spacing: -0.015em;
}
.every-ton-sub {
  max-width: 560px;
  margin: 18px auto 0;
  color: rgba(255,255,255,0.86);
  font-size: 1.05rem;
  line-height: 1.55;
}
.every-ton-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.every-ton-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px 32px;
  text-align: center;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.every-ton-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.22);
}
/* Override generic .reveal for every-ton cards — opacity-forward, tighter translate,
   micro-scale so they "settle in" instead of sliding up. Inline transition-delay on
   each card (set in HTML) still provides the stagger. */
.every-ton-card.reveal {
  opacity: 0;
  transform: translateY(10px) scale(.985);
  transition:
    opacity 1.1s cubic-bezier(.22,.61,.36,1),
    transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.every-ton-card.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.etc-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8f5e1 0%, #d3ecc4 100%);
  color: var(--green-700);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
.etc-icon svg { width: 30px; height: 30px; stroke: currentColor; }
.etc-num {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--green-700);
  letter-spacing: -0.02em;
}
.etc-unit {
  font-size: 0.48em;
  margin-left: 4px;
  color: var(--green-600);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.every-ton-footnote {
  text-align: center;
  margin: 36px auto 0;
  max-width: 640px;
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  
  letter-spacing: 0.01em;
}
.etc-label {
  margin-top: 16px;
  font-size: .92rem;
  color: var(--ink-700);
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 1080px) {
  .etc-num { font-size: 2.25rem; }
}
@media (max-width: 900px) {
  .every-ton { padding: 80px 0 88px; }
  .every-ton-grid { grid-template-columns: repeat(2, 1fr); }
  .every-ton-head { margin-bottom: 40px; }
  .etc-num { font-size: 2.4rem; }
}
@media (max-width: 480px) {
  .every-ton-grid { grid-template-columns: 1fr; }
}

/* ---------- Very small screens (≤ 380px, iPhone SE / 5 / older Androids) ---------- */
@media (max-width: 380px) {
  /* Reduce aggressive inline card padding so long unbreakable words
     (Polydimethylsiloxane, Dimethyl Cyclosiloxane, etc.) don't force horizontal overflow. */
  .card[style*="padding:36px"],
  .card[style*="padding: 36px"] { padding: 24px !important; }
  .card[style*="padding:40px"],
  .card[style*="padding: 40px"] { padding: 24px !important; }
  /* Allow hard breaks in scientific compound names on tiny screens */
  .card h3, .card h4, .pcard h3, .product-block h3 {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  /* Shrink the chemical-name H3s specifically so unbreakable compound words fit cleanly */
  .card.card-green h3 { font-size: 1.4rem; line-height: 1.25; }
  /* Tighten container gutters */
  .container { padding-left: 16px; padding-right: 16px; }
  /* Hero h1 still readable but doesn't clip */
  .hero-photo-h1 { font-size: clamp(1.85rem, 9vw, 2.4rem); }
  .hero h1, h1 { word-break: break-word; }
  /* Every-ton stats */
  .etc-num { font-size: 2.1rem; }
  .etc-unit { font-size: 0.5em; }
}

/* ---------- Full-bleed photo hero (what-we-do) ---------- */
.hero-photo {
  position: relative;
  /* Sized to fit inside one viewport below the 72px nav, bounded at the
     top so a 768px-tall laptop still fits heading + sub + CTAs without
     requiring a scroll. Using min-height (not fixed height) so overflow
     is still tolerated gracefully on very narrow viewports. */
  min-height: min(calc(100vh - 72px), 720px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 72px 0 64px;
}
.hero-photo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(18,23,18,0) 0%, rgba(18,23,18,0.55) 100%);
  pointer-events: none;
}
.hero-photo .container { position: relative; z-index: 2; }
.hero-photo-inner {
  max-width: 760px;
}
/* Staggered BlurFade entrance — each line rises + sharpens from a blur,
   in sequence, for a premium first read (vanilla port of the BlurFade
   motion component: opacity + translateY + blur, easeOut). */
@keyframes heroBlurFade {
  from { opacity: 0; transform: translateY(10px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
.hero-photo-eyebrow,
.hero-photo-h1,
.hero-photo-sub,
.hero-photo-ctas {
  opacity: 0;
  animation: heroBlurFade .6s ease-out both;
}
.hero-photo-eyebrow { animation-delay: .10s; }
.hero-photo-h1      { animation-delay: .25s; }
.hero-photo-sub     { animation-delay: .45s; }
.hero-photo-ctas    { animation-delay: .60s; }
.hero-photo-eyebrow {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .28em;
  color: rgba(255,255,255,0.78);
  margin-bottom: 22px;
}
.hero-photo-h1 {
  font-family: var(--ff-serif);
  font-weight: 700;
  /* Cap at 4.4rem (70.4px) so even the longest headline
     ("Industrial-grade silicone,") fits on one line inside the 760px
     .hero-photo-inner box — keeps the hero ~2 visual lines (headline +
     italic accent) and leaves room for sub + CTAs within one viewport. */
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 20px;
}
.hero-photo-h1 em {
  
  font-weight: 700;
  color: var(--green-400);
  display: block;
}
.hero-photo-sub {
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin: 0 0 28px;
}
.hero-photo-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Home hero (full-bleed photo + glass stat card) ---------- */
.hero-home { padding-bottom: 56px; }
.hero-home .container { display: flex; flex-direction: column; }
/* Serif italic headline — the editorial creative centrepiece over the photo */
.hero-photo-h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
}
.hero-photo-h1 em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  color: var(--green-400);
  display: block;
}
.hero-stat-card {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 820px;
  background: rgba(255, 255, 255, 0.09);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
          backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 22px 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  opacity: 0;
  animation: heroBlurFade .7s ease-out .8s both;
}
.hero-stat-card > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-stat-card > div:first-child { border-left: none; }
.hero-stat-card strong {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: #fff;
  line-height: 1;
}
.hero-stat-card span {
  font-size: .76rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: .01em;
}
@media (max-width: 720px) {
  .hero-stat-card {
    grid-template-columns: 1fr 1fr;
    gap: 20px 0;
    max-width: 100%;
    padding: 22px 10px;
  }
  .hero-stat-card > div:nth-child(3) { border-left: none; }
}

.btn-light {
  background: #fff;
  color: var(--ink-900);
  border-color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
.btn-light:hover {
  background: var(--green-50);
  color: var(--green-800);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.26);
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.42);
}
.btn-ghost-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

@media (max-width: 900px) {
  .hero-photo { min-height: 520px; padding: 64px 0 56px; }
  .hero-photo-eyebrow { letter-spacing: .22em; }
}
/* Subtle Ken Burns pan on the home hero — adds quiet life to the first view */
@media (prefers-reduced-motion: no-preference) {
  /* No delay + `both` fill so the first painted frame already sits at the
     animation's start position — otherwise the image snaps when the pan
     begins (the "shift on reload"). */
  .hero-home { animation: heroPan 40s ease-in-out infinite alternate both; }
}
@keyframes heroPan {
  from { background-position: center 48%; }
  to   { background-position: center 52%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo-inner,
  .hero-photo-eyebrow, .hero-photo-h1, .hero-photo-sub, .hero-photo-ctas,
  .hero-stat-card { animation: none; opacity: 1; transform: none; filter: none; }
}

/* Products variant: richer layered texture overlay */
.hero-photo-chem {
  background-attachment: scroll;
}
.hero-photo-chem::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0),
    linear-gradient(115deg, rgba(156,207,61,0.08) 0%, transparent 55%);
  background-size: 18px 18px, 100% 100%;
  pointer-events: none;
  z-index: 1;
}
.hero-photo-chem .container { position: relative; z-index: 2; }

/* ---------- About split: stop cards from stretching the text column ---------- */
#about .split {
  align-items: start;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
}
#about .split > div:first-child { padding-top: 6px; }
#about .split > div:first-child p {
  font-size: 1.08rem;
  line-height: 1.72;
}
#about .split > div:first-child p + p { margin-top: 16px; }
#about .split > div:first-child p.accent {
  font-size: 1.3rem !important;
  margin-top: 32px !important;
}
#about .split .grid { gap: 16px; }
#about .split .card {
  padding: 22px 24px;
}
#about .split .card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}
#about .split .card p { font-size: .93rem; line-height: 1.55; margin: 0; }
#about .split .card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 12px;
}
#about .split .card-icon svg { width: 20px; height: 20px; }
@media (max-width: 960px) {
  #about .split { grid-template-columns: 1fr; gap: 32px; }
}

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

/* Hero: typographic split, no photo. Left = copy, right = pull-quote. */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-hero-h1 {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.8vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 10px 0 22px;
  color: var(--ink-900);
}
.about-hero-h1 em {
  
  color: var(--green-700);
  display: block;
}
.about-hero-quote {
  position: relative;
  padding: 40px 36px 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 50px rgba(50,80,40,0.08);
}
.about-hero-quote-mark {
  position: absolute;
  top: -6px;
  left: 22px;
  font-family: var(--ff-serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--green-400);
  opacity: 0.35;
  pointer-events: none;
}
.about-hero-quote p {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0;
  position: relative;
  z-index: 1;
}
.about-hero-quote p em {
  
  color: var(--green-700);
  display: block;
}

/* Who-we-are prose: centered narrow column for readability. */
.about-prose {
  max-width: 780px;
  margin: 0 auto;
}
.about-prose p {
  font-size: 1.08rem;
  line-height: 1.78;
  color: var(--ink-700);
  margin: 0 0 20px;
}
.about-prose p:last-child { margin-bottom: 0; }

/* Mission + Vision: two large editorial cards side by side. */
.section-mv { padding-top: 72px; padding-bottom: 72px; }
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.mv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.mv-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.mv-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--green-400);
}
.mv-card .pill-eyebrow {
  color: var(--green-700);
  margin-bottom: 18px;
  display: inline-block;
}
.mv-statement {
  font-family: var(--ff-serif);
  font-weight: 600;
  
  font-size: clamp(1.25rem, 1.65vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink-900);
  margin: 0;
}

/* "Read full values" link under the home #about cards */
.about-more-link {
  grid-column: 1 / -1; /* span both columns so it centres across the full row */
  text-align: center;
  margin: 36px 0 0;
}
.about-more-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-700);
  font-weight: 600;
  font-size: .98rem;
  padding: 10px 4px;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, gap .2s ease;
}
.about-more-link a:hover {
  color: var(--green-500);
  border-bottom-color: var(--green-400);
  gap: 12px;
}
.about-more-link a svg { transition: transform .2s ease; }
.about-more-link a:hover svg { transform: translateX(2px); }

/* Values grid: 3-across at desktop, last 2 wrap centered.
   Collapse to 2 at tablet, 1 at mobile via media queries below. */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}
.values-grid > .card { padding: 24px 20px; }
.values-grid > .card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.values-grid > .card p { font-size: .88rem; line-height: 1.55; margin: 0; }
.values-grid > .card .card-icon { width: 44px; height: 44px; margin-bottom: 14px; }
.values-grid > .card .card-icon svg { width: 22px; height: 22px; }
@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); max-width: 1100px; gap: 24px; }
  .values-grid > .card { padding: 28px 26px; }
  .values-grid > .card h3 { font-size: 1.15rem; }
  .values-grid > .card p { font-size: .94rem; line-height: 1.6; }
  /* Center the last row (4th + 5th card) under the first 3 */
  .values-grid > .card:nth-child(4) { grid-column: 1 / span 1; margin-left: 16.66%; }
  .values-grid > .card:nth-child(5) { grid-column: 2 / span 1; margin-left: 16.66%; }
}
@media (max-width: 960px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid > .card:nth-child(4),
  .values-grid > .card:nth-child(5) { grid-column: auto; margin-left: 0; }
}
@media (max-width: 640px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* Sustainability Commitment: split head + checklist */
.commit-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.commit-head h2 {
  font-family: var(--ff-serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 14px 0 18px;
}
.commit-head h2 em {
  
  color: var(--green-700);
}
.commit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}
.commit-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: center; /* vertically center the check box with the text block */
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.commit-list li:hover {
  border-color: var(--green-400);
  box-shadow: 0 12px 28px rgba(60,90,40,0.10);
  transform: translateX(2px);
}
.commit-check {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: center; /* don't stretch to row height — keep a proper 40x40 square */
}
.commit-check svg {
  width: 22px;
  height: 22px;
  display: block;
}
.commit-list strong {
  display: block;
  font-family: var(--ff-sans);
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.commit-list span:not(.commit-check) {
  display: block;
  font-size: .94rem;
  line-height: 1.55;
  color: var(--ink-500);
}

@media (max-width: 960px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .mv-grid { grid-template-columns: 1fr; gap: 20px; }
  .mv-card { padding: 32px 28px; }
  .commit-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Long-form policy / legal pages ---------- */
.policy-body { font-size: 1rem; line-height: 1.7; color: var(--ink-700); }
.policy-body .lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-900);
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.policy-body h2 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  line-height: 1.25;
  font-weight: 700;
  color: var(--ink-900);
  margin: 40px 0 12px;
  letter-spacing: -0.01em;
}
.policy-body h2:first-of-type { margin-top: 0; }
.policy-body p { margin: 0 0 14px; }
.policy-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.policy-body ul li { margin-bottom: 8px; }
.policy-body a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-body a:hover { color: var(--green-800); }
.policy-body strong { color: var(--ink-900); font-weight: 600; }

/* ============================================================
   Mobile proportion fixes — elements were rendering too large on
   phones (a later base rule was overriding the earlier mobile
   override). These come last so they win the cascade at small widths.
   ============================================================ */
@media (max-width: 600px) {
  /* Hero: headline / eyebrow / sub / CTAs were oversized */
  .hero-photo-h1 { font-size: clamp(1.7rem, 7.2vw, 2.05rem); line-height: 1.12; }
  .hero-photo-eyebrow { font-size: .68rem; letter-spacing: .16em; margin-bottom: 14px; }
  .hero-photo-sub { font-size: .98rem; line-height: 1.5; margin-bottom: 22px; }
  .hero-photo-ctas { flex-direction: column; gap: 10px; align-items: stretch; }
  .hero-photo-ctas .btn { width: 100%; justify-content: center; }

  /* Section headings + pills a touch smaller so they don't dominate */
  .section-head h2 { font-size: clamp(1.45rem, 6vw, 1.9rem); }
  .pill-header { font-size: .92rem; padding: 8px 20px; }

  /* Compact buttons globally on phones */
  .btn { padding: 12px 20px; font-size: .92rem; }

  /* Tighten section vertical rhythm on phones */
  .section, .section-tight { padding: clamp(44px, 11vw, 64px) 0; }
}
@media (max-width: 400px) {
  .hero-photo-h1 { font-size: 1.78rem; }
  .section-head h2 { font-size: 1.45rem; }
}

/* ============================================================
   Nav collapses to the hamburger at <=900px (was 640) — between
   640 and 900 the horizontal links cramped and "What We Do" wrapped.
   Appended last so it wins the cascade.
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .btn-quote { display: none; } /* hide CTA with the links so it doesn't float mid-nav */
  .nav-logo .sub { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px -12px rgba(15, 35, 10, .12);
    opacity: 0; visibility: hidden;
    transform: translateY(-10px) scaleY(.98); transform-origin: top center;
    pointer-events: none;
    transition: opacity .28s ease, transform .32s cubic-bezier(.4,0,.2,1), visibility 0s linear .32s;
  }
  .nav-links.open {
    opacity: 1; visibility: visible; transform: translateY(0) scaleY(1);
    pointer-events: auto;
    transition: opacity .28s ease, transform .32s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
  }
  .nav-links a { text-align: center; padding: 12px 14px; }
}

/* ============================================================
   Page-transition veil — SYMMETRIC: cover fades IN on leave, reveals
   OUT on arrival. White curtain + centered logo.
   • Arrival (default): veil starts opaque (logo visible) and fades OUT
     to reveal the page — `ev-veil-out`, forwards fill, masks the load.
   • Leave (.is-covering, via script.js): veil fades IN + logo scales in,
     holds, then navigates.
   Both directions animate, in every browser.
   ============================================================ */
.page-veil {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 1;
  pointer-events: none;
  animation: ev-veil-out .6s cubic-bezier(.4, 0, .2, 1) forwards;
}
.page-veil img {
  width: clamp(130px, 17vw, 172px);
  height: auto;
}
@keyframes ev-veil-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes ev-veil-logo-in {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: none; }
}
.page-veil.is-covering {
  animation: none;            /* cancel the arrival reveal */
  opacity: 1;
  pointer-events: all;
  transition: opacity .55s cubic-bezier(.4, 0, .2, 1);
}
.page-veil.is-covering img {
  animation: ev-veil-logo-in .5s cubic-bezier(.16, 1, .3, 1) .05s both;
}
@media (prefers-reduced-motion: reduce) {
  .page-veil { animation: none; opacity: 0; }
  .page-veil.is-covering { transition: none; opacity: 1; }
  .page-veil.is-covering img { animation: none; opacity: 1; transform: none; }
}

/* ============================================================
   Contact — location map toggle (Corporate / Manufacturing)
   ============================================================ */
.map-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 16px;
  background: var(--green-50, #eef3ea);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.map-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.map-tab:hover { color: var(--green-700); }
.map-tab.active {
  background: #fff;
  color: var(--green-700);
  box-shadow: 0 1px 3px rgba(15, 35, 10, .12);
}
.loc-map {
  height: 480px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef3ea;
  z-index: 0; /* keep Leaflet panes under the sticky nav */
}
.loc-map .leaflet-popup-content-wrapper {
  border-radius: 12px;
  font-family: var(--ff-sans, inherit);
}
.loc-map .leaflet-popup-content { margin: 14px 16px; line-height: 1.5; }
.loc-map .leaflet-control-zoom a { color: var(--green-700); }

/* ============================================================
   Accessibility + polish pass (Vercel Web Interface Guidelines)
   ============================================================ */
:root { color-scheme: light; }

/* Visible keyboard focus on every interactive element (was relying on UA
   default). Keyboard-only via :focus-visible so mouse clicks stay clean. */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn-quote:focus-visible,
.nav-links a:focus-visible,
.nav-toggle:focus-visible,
.map-tab:focus-visible,
.proc-panel:focus-visible,
.industry-card:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 2px;
}
.proc-panel:focus-visible { outline-offset: -3px; }

/* Skip-link — first focusable element, jumps to <main> */
.skip-link {
  position: absolute;
  left: 12px; top: -48px;
  z-index: 10000;
  background: var(--green-700);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }
#main { scroll-margin-top: 84px; }

/* Stat numbers don't jitter while counting */
.hero-stat-card strong,
.hero-stat-strip strong,
.stat-num, .impact-num, .etc-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* Even heading wraps */
h1, h2, h3,
.hero-photo-h1, .about-hero-h1, .every-ton-h2 { text-wrap: balance; }

/* Touch: kill 300ms delay + the default blue tap flash, contain scroll */
a, button, .btn, .btn-quote, .nav-links a, .nav-toggle, .map-tab, .proc-panel, .industry-card {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(85, 139, 47, .18);
}
.nav-links.open, .loc-map { overscroll-behavior: contain; }

/* Native select stays legible across UAs */
.form-row select { color: var(--ink-700); }

/* ============================================================
   Events page — trade-show cards + booth photo grid
   ============================================================ */
.events-list { display: grid; gap: 26px; max-width: 880px; margin: 0 auto; }
.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 10px 28px rgba(60, 90, 40, 0.09);
}
.event-card-head { margin-bottom: 14px; }
.event-card h3 {
  font-family: var(--ff-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  color: var(--green-700);
  margin: 0 0 6px;
}
.event-meta {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink-500);
}
.event-card > p { color: var(--ink-700); margin: 0; line-height: 1.65; }
.event-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 22px;
}
.event-gallery img {
  width: 100%;
  border-radius: 10px;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 35%;
}
@media (max-width: 640px) { .event-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Materials We Collect — cards with an image slot (icon-led until
   real photos are dropped into .material-media)
   ============================================================ */
.material-card { padding: 0; overflow: hidden; }
.material-media {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-50) 0%, #fff 72%);
  border-bottom: 1px solid var(--line);
}
.material-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.material-icon {
  width: 46px;
  height: 46px;
  color: var(--green-500);
  stroke: var(--green-500);
  opacity: .65;
}
.material-card h4 { margin: 18px 22px 6px; }
.material-card p  { margin: 0 22px 22px; }
