/* =========================================================
   Flourish Crop Care — stylesheet
   Desktop values follow the 1440/1920 references (identical
   pixel sizes; content grid capped at 1440px).
   Mobile values (≤767px) follow the 390px mobile reference.
   ========================================================= */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Libre Caslon Text"; src: url("assets/fonts/Libre_Caslon_Text/LibreCaslonText-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Caslon Text"; src: url("assets/fonts/Libre_Caslon_Text/LibreCaslonText-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins/Poppins-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins/Poppins-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins/Poppins-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins/Poppins-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  --green-dark: #1c4224;
  --green: #94be56;
  --green-light: #d8f4af;
  --stat-1: #f6fbef;
  --stat-2: #eef7e2;
  --stat-3: #e6f2d5;
  --stat-4: #ddedc7;
  --cream: #f8f8f8;
  --black: #000000;
  --ink: #1a220f;
  --ink-contact: #3f323b;
  --grey: #747474;
  --placeholder: #b3b3b3;
  --white: #ffffff;
  --border: #cccccc;
  --border-light: #dddddd;

  --font-display: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --container: 1440px;
  --gutter: 60px;
  --inset: 90px;              /* text inset inside bordered columns */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button, input, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--green-dark); color: var(--white);
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.br-desktop { display: inline; }
.br-mobile { display: none; }

/* ---------- Type ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 48px;
  letter-spacing: -0.01em;
}
.display-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 60px;
  line-height: 69px;
  letter-spacing: -0.01em;
}
.eyebrow {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--green);
  margin-bottom: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 240px;
  height: 60px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-green { background: var(--green); color: var(--green-dark); }
.btn-green:hover { background: #86b045; }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--green-light); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.header-inner {
  display: flex;
  align-items: center;
  height: 79px;
}
.main-nav { margin-left: auto; }
.logo img { width: 242px; height: 48px; }

.main-nav ul { display: flex; height: 79px; }
.main-nav li { width: 200px; border-left: 1px solid var(--border-light); }
.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.main-nav a:hover { background: var(--stat-1); color: var(--green-dark); }
.main-nav .nav-cta { border-left: 0; }
.main-nav .nav-cta a { background: var(--green); color: var(--ink); height: 80px; }
.main-nav .nav-cta a:hover { background: #86b045; color: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 720px;
  color: var(--white);
  overflow: hidden;
  background: #1b2633;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {               /* light extra overlay for legibility */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 20, 30, .25) 0%, rgba(10, 20, 30, .1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 250px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 60px;
  line-height: 69px;
  letter-spacing: -0.01em;
}
.hero-text {
  max-width: 700px;
  margin-top: 14px;
  font-size: 16px;
  line-height: 24px;
}
.hero-actions { display: flex; gap: 10px; margin-top: 22px; }

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 16px;
  line-height: 24px;
  color: var(--white);
}
.scroll-cue svg { transition: transform .4s var(--ease); }
.scroll-cue:hover svg { transform: translateY(3px); }

/* =========================================================
   STATISTICS
   ========================================================= */
.stats { border-bottom: 1px solid var(--border); }
.stats .container { border-inline: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  --stat-bg: var(--stat-1);
  --d: 0ms;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 247px;
  padding: 32px 36px 36px;
}
.stat + .stat { border-left: 1px solid var(--border); }
.stat:nth-child(1) { --stat-bg: var(--stat-1); --d: 0ms; }
.stat:nth-child(2) { --stat-bg: var(--stat-2); --d: 140ms; }
.stat:nth-child(3) { --stat-bg: var(--stat-3); --d: 280ms; }
.stat:nth-child(4) { --stat-bg: var(--stat-4); --d: 420ms; }

/* tinted fill that rises from the bottom when the row scrolls in */
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--stat-bg);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease) var(--d);
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.stat-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(28, 66, 36, .14);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.stat:hover .stat-icon { background: var(--green-dark); color: var(--white); transform: rotate(-8deg) scale(1.04); }
.stat-index {
  font-size: 13px;
  letter-spacing: .15em;
  color: rgba(28, 66, 36, .5);
}
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  line-height: 44px;
  color: var(--black);
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.stat-unit {
  margin-left: .3em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .42em;
  letter-spacing: .1em;
  vertical-align: .35em;
  color: var(--green-dark);
}
.stat-rule {
  display: block;
  width: 40px;
  height: 2px;
  margin: 14px 0 12px;
  background: var(--green-dark);
  transform-origin: left;
  transition: transform .8s var(--ease) calc(var(--d) + .5s);
}
.stat-label { font-size: 15px; line-height: 22px; color: #1f2a1f; }
.stat-top, .stat-value, .stat-label {
  transition: opacity .8s var(--ease) calc(var(--d) + .25s), transform .8s var(--ease) calc(var(--d) + .25s);
}

/* hidden state only when JS can reveal it */
.js .stats:not(.is-visible) .stat::before { transform: scaleY(0); }
.js .stats:not(.is-visible) .stat-rule { transform: scaleX(0); }
.js .stats:not(.is-visible) .stat-top,
.js .stats:not(.is-visible) .stat-value,
.js .stats:not(.is-visible) .stat-label { opacity: 0; transform: translateY(14px); }

/* =========================================================
   SPLIT SECTIONS (Who We Are / Our Story)
   ========================================================= */
.split-grid {
  display: grid;
  grid-template-columns: min(720px, 55%) 1fr;
  border-inline: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.split-head, .split-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-head { padding: 60px var(--inset) 60px var(--inset); }
.split-head .eyebrow { margin-bottom: 30px; }
.contact-body .eyebrow { margin-bottom: 12px; }
.split-body {
  border-left: 1px solid var(--border);
  padding: 85px var(--inset);
  font-size: 14px;
  line-height: 21px;
}
.split-body p + p { margin-top: 16px; }


/* =========================================================
   GALLERY (infinite marquee)
   ========================================================= */
.gallery .container {
  border-inline: 1px solid var(--border);
  padding: 60px 0;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-track li { flex: 0 0 auto; margin-right: 20px; }
.marquee-track img {
  width: 600px;
  height: 420px;
  object-fit: cover;
}
.marquee.is-running .marquee-track {
  animation: marquee var(--marquee-duration, 60s) linear infinite;
}
@keyframes marquee {
  from { transform: translate3d(var(--marquee-offset, 0px), 0, 0); }
  to   { transform: translate3d(calc(var(--marquee-offset, 0px) - 50%), 0, 0); }
}

/* =========================================================
   BANNERS
   ========================================================= */
.banner {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #1b2633;
  display: flex;
  align-items: center;
  text-align: center;
}
.banner-media {
  position: absolute;
  inset: 0;
}
.banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner-content { position: relative; z-index: 2; }

.banner-chem { height: 595px; }
.banner-chem .banner-media {
  inset: -60px 0;                 /* extra room for parallax travel */
  will-change: transform;
}
.banner-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  border-inline: 1px solid rgba(255, 255, 255, .22);
}
.banner-chem .display-title { padding-bottom: 12px; }

.banner-group { height: 375px; }
.group-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow-light {
  align-self: stretch;
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, .45);
  margin-bottom: 18px;
  padding-bottom: 12px;
}
.banner-group .section-title { margin-bottom: 16px; }

/* =========================================================
   PRODUCTS
   ========================================================= */
.products-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 246px;
  padding-top: 72px;
}
.products-top { border-bottom: 1px solid var(--border); }
.products-top .container { border-inline: 1px solid var(--border); }
.head-wrap { display: inline-flex; flex-direction: column; }
.products-head .eyebrow { margin-bottom: 16px; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 1px solid var(--border);
}
.product {
  min-height: 267px;
  padding: 52px 60px 48px;
  border-right: 1px solid var(--border);
}
.product-grid .product:nth-child(n+3) { border-top: 1px solid #d1d1d1; }
.product h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
}
.badge {
  display: inline-block;
  margin-top: 11px;
  padding: 2px 16px;
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 16px;
  line-height: 25px;
}
.product-desc {
  margin-top: 14px;
  max-width: 525px;
  font-size: 16px;
  line-height: 24px;
}
.product-meta {
  margin-top: 3px;
  font-size: 14px;
  line-height: 24px;
  color: var(--green-dark);
}

/* =========================================================
   TIMELINE
   ========================================================= */
.timeline .container {
  border-inline: 1px solid var(--border);
  padding: 80px 0 90px;
}
.timeline { border-bottom: 1px solid var(--border); }
.timeline-list {
  position: relative;
  --dot-y: 38px;
}
/* continuous centre line; dots mask it with a white halo */
.timeline-list::before {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--dot-y);
  bottom: -8px;
  width: 2px;
  margin-left: -1px;
  background: #e4e4e4;
}
.timeline-list::after {
  content: "";
  position: absolute;
  left: 50%;
  top: var(--dot-y);
  bottom: -8px;
  width: 2px;
  margin-left: -1px;
  background: var(--green);
  transform-origin: top;
  transform: scaleY(var(--tl-progress, 1));
  will-change: transform;
}
.tl-item {
  position: relative;
  width: 400px;
}
.tl-item:nth-child(odd) { margin-left: calc(50% - 444px); text-align: right; }
.tl-item:nth-child(even) { margin-left: calc(50% + 44px); margin-top: -12px; }
.tl-item:nth-child(odd):not(:first-child) { margin-top: 60px; }

.tl-card {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 24px;
  font-size: 16px;
  line-height: 24px;
}
.tl-year {
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.1em;
  color: var(--grey);
}
.tl-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  line-height: 34px;
}
.tl-item::before {             /* dot */
  content: "";
  position: absolute;
  top: calc(var(--dot-y) - 20px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green) 0 10px, var(--white) 10.5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, .2), 0 0 0 12px var(--white);
  z-index: 1;
}
.tl-item:nth-child(odd)::before { right: -64px; }
.tl-item:nth-child(even)::before { left: -64px; }

/* reveal (only when JS is available) */
.js .tl-item { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .tl-item.is-visible { opacity: 1; transform: none; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: min(720px, 55%) 1fr;
  border-left: 1px solid var(--border);
}
.contact-body { padding: 84px var(--inset) 90px; }
.contact-title { color: var(--ink-contact); letter-spacing: -0.02em; }
.contact-intro { margin-top: 8px; font-size: 16px; line-height: 24px; color: #2a2a2a; }

.contact-form { margin-top: 26px; }
.contact-form[hidden] { display: none; }

.contact-details { margin-top: 32px; font-size: 16px; line-height: 24px; }
.contact-email {
  font-weight: 600;
  color: var(--green-dark);
  border-bottom: 1px solid var(--green);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.contact-email:hover { color: var(--green); }
.contact-label {
  margin-top: 28px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  color: var(--green);
}
.contact-details address { margin-top: 4px; }
.btn-inquire { margin-top: 36px; color: var(--white); }
.btn-inquire:hover { color: var(--white); }
.contact-media { min-height: 560px; }
.field + .field { margin-top: 16px; }
.field label { display: block; font-size: 16px; line-height: 24px; margin-bottom: 2px; }
.field input,
.field textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--white);
  font-size: 16px;
  line-height: 24px;
  padding: 8px 15px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field input { height: 43px; }
.field textarea { height: 120px; resize: vertical; padding-top: 9px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.field.has-error input,
.field.has-error textarea { border-color: #c0392b; }
.field-error { font-size: 13px; line-height: 18px; color: #c0392b; min-height: 0; }
.field-error:empty { display: none; }
.field-error:not(:empty) { margin-top: 4px; }

.btn-submit { margin-top: 20px; color: var(--white); border: 0; }
.btn-submit:hover { color: var(--white); }
.form-status { margin-top: 12px; font-size: 14px; color: var(--green-dark); }
.form-status:empty { display: none; }

.contact-media { position: relative; min-height: 100%; }
.contact-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--green-dark); color: var(--white); }
.footer-inner {
  width: min(100% - 2 * var(--gutter), 1680px);
  margin-inline: auto;
  padding-top: 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 160px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--green);
}
.footer-brand img { width: 242px; height: 48px; }
.footer-brand p { margin-top: 38px; max-width: 330px; font-size: 16px; line-height: 24px; }

.footer-nav a {
  display: block;
  padding: 13px 0 14px;
  border-bottom: 1px solid var(--green);
  font-size: 16px;
  line-height: 24px;
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.footer-nav li:first-child a { padding-top: 0; }
.footer-nav li:last-child a { border-bottom: 0; }
.footer-nav a:hover { color: var(--green); padding-left: 6px; }

.footer-address h2 { font-size: 18px; line-height: 24px; font-weight: 600; color: var(--green); }
.footer-address address { margin-top: 4px; font-size: 16px; line-height: 24px; }
.social { display: flex; align-items: center; gap: 32px; margin-top: 20px; }
.social a { display: block; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.social a:hover { opacity: .8; transform: translateY(-2px); }
.social img { height: 34px; width: auto; }
.social li:last-child img { height: 30px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 56px 26px 104px 0;
  font-size: 16px;
  line-height: 24px;
}
.footer-bottom a:hover { color: var(--green); }

/* =========================================================
   MOTION — hero load-in + scroll reveals (JS adds .reveal)
   ========================================================= */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
@keyframes cueIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.hero-media img { animation: heroZoom 2.4s var(--ease) both; }
.hero-content > * { animation: heroIn .9s var(--ease) both; }
.hero-content > :nth-child(1) { animation-delay: .1s; }
.hero-content > :nth-child(2) { animation-delay: .25s; }
.hero-content > :nth-child(3) { animation-delay: .4s; }
.scroll-cue { animation: cueIn 1s .7s var(--ease) both; }

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Mobile menu (≤960px) ---------- */
.nav-toggle {
  display: none;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  padding: 0;
  margin-right: calc(-1 * var(--gutter));
  background: var(--white);
  border: 0;
  border-left: 1px solid var(--border-light);
  cursor: pointer;
  transition: background-color .3s var(--ease);
}
.nav-toggle:hover { background: var(--stat-1); }
.nav-toggle-bars { position: relative; width: 22px; height: 14px; }
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform .35s var(--ease), opacity .2s var(--ease), top .35s var(--ease);
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 6px; }
.nav-toggle-bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s;
}
.mobile-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.mobile-menu li:last-child a { border-bottom: 0; }
.mobile-menu a:hover { background: var(--stat-1); color: var(--green-dark); }
.mobile-menu .ext { color: var(--green); letter-spacing: 0; }

/* =========================================================
   PRIVACY POLICY PAGE
   ========================================================= */
.policy-wrap { border-inline: 1px solid var(--border); }
.policy-body {
  max-width: 860px;
  padding: 96px var(--inset) 120px;
  color: #222;
}
.policy-body .section-title { color: var(--black); }
.policy-updated { margin-top: 12px; font-size: 14px; color: var(--grey); }
.policy-body h2 {
  margin-top: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
  color: var(--black);
}
.policy-body > p,
.policy-body li { font-size: 16px; line-height: 26px; }
.policy-body > p { margin-top: 14px; }
.policy-body > .policy-updated { margin-top: 12px; margin-bottom: 32px; font-size: 14px; }
.policy-body ul { margin-top: 12px; padding-left: 22px; list-style: disc; }
.policy-body li + li { margin-top: 6px; }
.policy-body li::marker { color: var(--green); }
.policy-body a {
  color: var(--green-dark);
  font-weight: 500;
  border-bottom: 1px solid var(--green);
  transition: color .3s var(--ease);
}
.policy-body a:hover { color: var(--green); }
.policy-contact {
  margin-top: 18px;
  padding: 22px 26px;
  background: var(--stat-1);
  border-left: 3px solid var(--green);
  font-size: 16px;
  line-height: 26px;
}
.footer-bottom a[aria-current="page"] { color: var(--green); }

/* =========================================================
   INTERMEDIATE WIDTHS (tablet / small laptop)
   ========================================================= */
@media (max-width: 1320px) {
  .main-nav li { width: auto; flex: 1 1 0; min-width: 0; }
  .main-nav a { padding: 0 18px; white-space: nowrap; }
  :root { --inset: 60px; }
  .footer-grid { column-gap: 60px; }
}
@media (max-width: 1100px) {
  :root { --gutter: 32px; --inset: 40px; }
  .main-nav a { letter-spacing: .08em; padding: 0 12px; font-size: 13px; }
  .logo img { width: 190px; height: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 230px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .display-title, .hero h1 { font-size: 48px; line-height: 56px; }
  .product { padding: 44px 40px; }
  .tl-item { width: calc(50% - 60px); }
  .tl-item:nth-child(odd) { margin-left: 16px; }
  .tl-item:nth-child(even) { margin-left: calc(50% + 44px); }
  .contact-title { white-space: normal; }
}
@media (max-width: 960px) {
  .main-nav li:not(.nav-cta) { display: none; }
  .main-nav .nav-cta { width: 200px; flex: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }
}

/* =========================================================
   MOBILE (≤767px) — follows the 390px reference
   ========================================================= */
@media (max-width: 767px) {
  :root { --gutter: 24px; --inset: 25px; }
  .br-desktop { display: none; }
  .br-mobile { display: inline; }

  .section-title { font-size: 24px; line-height: 30px; }
  .display-title { font-size: 26px; line-height: 30px; }
  .eyebrow { font-size: 12px; line-height: 18px; padding-bottom: 14px; margin-bottom: 26px; }

  .btn { width: 159px; height: 42px; font-size: 12px; }

  /* Header */
  .header-inner { width: auto; margin: 0; padding-left: 22px; height: 60px; }
  .logo img { width: 120px; height: 24px; }
  .main-nav ul { height: 60px; }
  .main-nav li:not(.nav-cta) { display: none; }
  .main-nav .nav-cta { width: 126px; flex: none; }
  .main-nav .nav-cta a { height: 60px; font-size: 12px; letter-spacing: .15em; padding: 0; }
  html { scroll-padding-top: 60px; }
  .nav-toggle { width: 60px; height: 60px; margin-right: 0; }
  .site-header { border-bottom: 1px solid var(--border-light); }
  .header-inner { height: 60px; }
  .mobile-menu a { padding: 16px 24px; font-size: 13px; }

  /* Hero */
  .hero { height: 540px; }
  .hero-content { padding-top: 133px; }
  .hero h1 { font-size: 26px; line-height: 30px; }
  .hero-text { margin-top: 18px; font-size: 13px; line-height: 20px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn-outline { width: 150px; }
  .scroll-cue { bottom: 16px; font-size: 12px; line-height: 18px; gap: 4px; }
  .scroll-cue svg { width: 14px; height: 9px; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 0; padding: 20px 16px 22px; }
  .stat:nth-child(even) { border-left: 1px solid var(--border); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stat-top { margin-bottom: 20px; }
  .stat-icon { width: 40px; height: 40px; }
  .stat-icon svg { width: 20px; height: 20px; }
  .stat-index { font-size: 11px; }
  .stat-value { font-size: 22px; line-height: 28px; }
  .stat-rule { width: 28px; margin: 10px 0 8px; }
  .stat-label { font-size: 12px; line-height: 17px; }

  /* Split sections */
  .split-grid { grid-template-columns: 1fr; }
  .split-head { padding: 40px var(--inset) 0; }
  .split-head .eyebrow { margin-bottom: 15px; }
  .contact-body .eyebrow { margin-bottom: 12px; }
  .split-body {
    border-left: 0;
    padding: 32px var(--inset) 46px;
    font-size: 13px;
    line-height: 20px;
  }
  .split-story .split-head { padding-top: 84px; }
  .split-story .split-body { padding-bottom: 88px; }

  /* Gallery */
  .gallery .container { padding: 60px 0; }
  .marquee-track li { margin-right: 12px; }
  .marquee-track img { width: 164px; height: 300px; }

  /* Banners */
  .banner-chem { height: 240px; }
  .banner-chem .banner-media { inset: -24px 0; }
  .banner-chem .display-title { padding: 0 8px; }
  .banner-group { height: 240px; }
  .banner-group .container { width: calc(100% - 48px); }
  .group-inner { display: flex; }
  .eyebrow-light { font-size: 12px; letter-spacing: .15em; border-bottom-color: var(--green); padding-bottom: 12px; margin-bottom: 22px; }
  .banner-group .section-title { font-size: 16px; line-height: 20px; margin-bottom: 25px; }

  /* Products */
  .products-head { height: 188px; padding-top: 52px; }
  .products-head .eyebrow { margin-bottom: 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid .product:nth-child(n+2) { border-top: 1px solid #d1d1d1; }
  .product { min-height: 165px; padding: 20px var(--inset) 22px; }
  .product h3 { font-size: 16px; line-height: 22px; }
  .badge { margin-top: 12px; padding: 3px 14px; font-weight: 500; font-size: 12px; line-height: 18px; }
  .product-desc { margin-top: 12px; font-size: 13px; line-height: 20px; }
  .product-meta { margin-top: 8px; font-size: 12px; line-height: 18px; }

  /* Timeline */
  .timeline .container { padding: 80px 0 82px; }
  .timeline-list { --dot-y: 47px; }
  .timeline-list::before,
  .timeline-list::after { left: 37px; bottom: -2px; }
  .tl-item,
  .tl-item:nth-child(odd),
  .tl-item:nth-child(even) {
    width: auto;
    margin: 0 24px 0 61px;
    text-align: left;
  }
  .tl-item + .tl-item,
  .tl-item:nth-child(odd):not(:first-child),
  .tl-item:nth-child(even) { margin-top: 60px; }
  .tl-card { min-height: 160px; padding: 20px 0 24px 0; font-size: 13px; line-height: 20px; }
  .tl-year { font-size: 12px; line-height: 18px; letter-spacing: .15em; }
  .tl-title { font-size: 16px; line-height: 24px; margin-top: 4px; }
  .tl-item::before,
  .tl-item:nth-child(odd)::before,
  .tl-item:nth-child(even)::before {
    left: -36px;
    right: auto;
    top: calc(var(--dot-y) - 12px);
    width: 24px;
    height: 24px;
    background: radial-gradient(circle, var(--green) 0 8px, var(--white) 8.5px);
    box-shadow: 0 3px 4px rgba(0, 0, 0, .2), 0 0 0 8px var(--white);
  }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; border-left: 0; }
  .contact-body { padding: 84px var(--inset) 90px; border-inline: 1px solid var(--border); }
  .contact-title { white-space: normal; }
  .contact-intro { margin-top: 12px; font-size: 13px; line-height: 20px; }
  .contact-form { margin-top: 28px; }
  .contact-details { margin-top: 24px; font-size: 13px; line-height: 20px; }
  .contact-label { margin-top: 20px; font-size: 16px; }
  .btn-inquire { width: 159px; margin-top: 28px; }
  .contact-body { padding-bottom: 64px; }
  .field + .field { margin-top: 11px; }
  .field label { font-size: 13px; line-height: 18px; margin-bottom: 8px; }
  .field input, .field textarea { font-size: 14px; line-height: 20px; padding: 9px 12px; }
  .field input { height: 42px; }
  .field input { height: 39px; }
  .field textarea { height: 120px; }
  .btn-submit { width: 116px; margin-top: 20px; }
  .contact-media { height: 489px; min-height: 0; }

  /* Privacy policy */
  .policy-body { padding: 56px var(--inset) 72px; }
  .policy-body h2 { margin-top: 36px; font-size: 18px; line-height: 24px; }
  .policy-body > p, .policy-body li, .policy-contact { font-size: 14px; line-height: 22px; }
  .policy-contact { padding: 18px 18px; }

  /* Footer */
  .footer-inner { padding-top: 80px; }
  .footer-grid { grid-template-columns: 1fr; row-gap: 0; padding-bottom: 38px; }
  .footer-brand p { margin-top: 30px; max-width: none; font-size: 13px; line-height: 20px; }
  .footer-nav { margin-top: 34px; }
  .footer-address { margin-top: 22px; }
  .footer-address address { margin-top: 6px; font-size: 13px; line-height: 20px; }
  .social { gap: 30px; margin-top: 24px; }
  .footer-bottom { padding: 18px 0 79px; }
}

/* Inputs below 16px make iOS zoom on focus; keep visual size but avoid zoom */
@supports (-webkit-touch-callout: none) {
  @media (max-width: 767px) {
    .field input, .field textarea { font-size: 16px; }
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .marquee.is-running .marquee-track { animation: none; }
  .js .tl-item, .js .reveal { opacity: 1; transform: none; }
  .js .stats .stat::before, .js .stats .stat-rule, .js .stats .stat-top, .js .stats .stat-value, .js .stats .stat-label { opacity: 1 !important; transform: none !important; }
  .timeline-list::after { transform: none; }
  .hero-content > *, .hero-media img, .scroll-cue { animation: none !important; }
  .banner-chem .banner-media { transform: none !important; }
}
