/* ==========================================================================
   Ideal Organics — site stylesheet
   Brand colours sampled from the logo (green, lime and DNA blue).
   ========================================================================== */

:root {
  /* Colour tokens — sampled from the Ideal Organics logo
     (deep green #007818, lime #609000, DNA blue #0078d8) */
  --ink: #0d231c;            /* headings, primary text */
  --ink-2: #394a44;          /* body text */
  --ink-3: #5a6b65;          /* muted text (5:1 on white) */
  --navy: #062019;           /* dark surfaces: deep forest */
  --navy-2: #0a3024;
  --teal: #0a67b8;           /* accent blue for links/buttons (5.6:1 on white) */
  --teal-bright: #1f8fe5;    /* DNA blue, decorative */
  --green: #0b7a2a;          /* brand green (5.4:1 on white) */
  --green-bright: #6fae1d;   /* lime, decorative */
  --lime-soft: #a6d95b;
  --surface: #ffffff;
  --surface-2: #f4f8f5;
  --surface-3: #e8f2fb;
  --border: #dce6e0;
  --focus: #1f8fe5;
  --danger: #b42318;
  --success: #067647;
  --grad-brand: linear-gradient(120deg, #0b7a2a 0%, #3f9b23 45%, #0a67b8 100%);

  /* Type */
  --font-head: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(13, 35, 28, .06), 0 1px 3px rgba(13, 35, 28, .08);
  --shadow-md: 0 6px 16px rgba(13, 35, 28, .08), 0 2px 4px rgba(13, 35, 28, .05);
  --shadow-lg: 0 22px 48px rgba(13, 35, 28, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
main { overflow-x: clip; } /* slide-in animations start off-canvas */
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.375rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.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;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--tint { background: var(--surface-2); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.1875rem; color: var(--ink-2); }
.muted { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: #fff; --btn-bd: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-size: .9375rem; font-weight: 500;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { --btn-bg: #08589e; --btn-bd: #08589e; color: #fff; box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--green { --btn-bg: var(--green); --btn-bd: var(--green); }
.btn--green:hover { --btn-bg: #08651f; --btn-bd: #08651f; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--border); }
.btn--ghost:hover { --btn-bg: var(--surface-2); --btn-bd: var(--ink-3); color: var(--ink); box-shadow: none; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: #eef7ee; --btn-bd: #eef7ee; color: var(--navy); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--outline-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-bd: #fff; color: #fff; box-shadow: none; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 500; font-size: .9375rem; text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #c3d6cc; font-size: .875rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #e7f0ea; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar svg { width: 15px; height: 15px; color: var(--teal-bright); }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar__note { margin: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { width: auto; height: 60px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__list a {
  position: relative; display: block; padding: 10px 14px;
  font-family: var(--font-head); font-size: .9375rem; font-weight: 500;
  color: var(--ink); text-decoration: none; border-radius: 8px;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__list a:hover { color: var(--teal); background: var(--surface-2); }
.nav__list a[aria-current="page"] { color: var(--teal); }
.nav__list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--green);
}
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border: 1px solid var(--border);
  background: #fff; border-radius: 10px; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--navy) center / cover no-repeat;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(4,26,20,.96) 0%, rgba(4,26,20,.88) 38%, rgba(4,26,20,.45) 70%, rgba(4,26,20,.25) 100%);
}
.hero .container { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.hero__content { max-width: 640px; }
.hero .eyebrow { color: #a6d95b; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 span { color: #8fd0ff; }
.hero p { color: #d5e3dc; font-size: 1.1875rem; max-width: 560px; margin-bottom: 32px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 36px; list-style: none; color: #d5e3dc; font-size: .9688rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg { width: 18px; height: 18px; color: #a6d95b; flex: none; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4,26,20,.95) 0%, rgba(4,26,20,.82) 45%, rgba(4,26,20,.55) 100%);
}
.page-hero .container { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #d5e3dc; max-width: 620px; margin: 0; font-size: 1.125rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 18px; font-size: .875rem; color: #a7bdb3; }
.breadcrumb a { color: #d5e3dc; text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #6f8f82; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 20px; border-radius: 12px;
  color: var(--teal); background: var(--surface-3);
}
.icon-badge svg { width: 26px; height: 26px; }
.icon-badge--green { color: var(--green); background: #e7f4e3; }

/* Split layout (text + image) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-stack { position: relative; }
.media-stack .media-frame:nth-child(1) { width: 78%; }
.media-stack .media-frame:nth-child(2) { position: absolute; right: 0; bottom: -32px; width: 48%; border: 6px solid #fff; }
.media-stack::before {
  content: ""; position: absolute; left: -18px; top: -18px; width: 120px; height: 120px; z-index: -1;
  background-image: radial-gradient(var(--teal-bright) 1.6px, transparent 1.6px);
  background-size: 14px 14px; opacity: .35;
}

.checklist { list-style: none; display: grid; gap: 12px; margin: 8px 0 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--green); }

/* Feature strip */
.feature-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-md); }
.feature-strip__item { display: flex; gap: 14px; align-items: flex-start; padding: 24px; }
.feature-strip__item + .feature-strip__item { border-left: 1px solid var(--border); }
.feature-strip__item svg { width: 28px; height: 28px; flex: none; color: var(--teal); }
.feature-strip__item h3 { font-size: 1rem; margin-bottom: 4px; }
.feature-strip__item p { font-size: .9375rem; margin: 0; color: var(--ink-3); line-height: 1.5; }
.overlap-up { margin-top: -48px; position: relative; z-index: 2; }

/* Reaction lists */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: .9375rem; color: var(--ink);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-bright); flex: none; }
.chip-list--green .chip::before { background: var(--green-bright); }

.list-card { padding: 32px; }
.list-card__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.list-card__head h3 { margin: 0; }
.count-pill { font-family: var(--font-head); font-size: .8125rem; font-weight: 500; color: var(--teal); background: var(--surface-3); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

.mini-list { list-style: none; display: grid; gap: 2px; }
.mini-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: .9688rem; }
.mini-list li:last-child { border-bottom: 0; }
.mini-list .cas { font-variant-numeric: tabular-nums; color: var(--ink-3); white-space: nowrap; font-size: .9063rem; }

/* Vision / mission */
.vm-card { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; padding: 20px; }
.vm-card img { width: 160px; height: 174px; object-fit: cover; border-radius: 12px; }
.vm-card h3 { display: flex; align-items: center; gap: 10px; }
.vm-card h3 svg { width: 22px; height: 22px; color: var(--green); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; }
.steps li { position: relative; padding-top: 56px; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.75rem; color: var(--teal-bright);
}
.steps li::after { content: ""; position: absolute; top: 20px; left: 56px; right: -12px; height: 1px; background: var(--border); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.steps p { font-size: .9688rem; color: var(--ink-3); margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 56px); border-radius: 20px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 55%, #0a3f5c 100%);
  color: #d5e3dc;
}
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,143,229,.35), transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 10px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.125rem); }
.cta-band p { margin: 0; max-width: 620px; }
.cta-band .eyebrow { color: #a6d95b; }

/* ---------- Prose ---------- */
.prose { max-width: 70ch; }
.prose p { font-size: 1.0938rem; }
.prose p:first-of-type { font-size: 1.1875rem; color: var(--ink); }

.aside-card { position: sticky; top: calc(var(--header-h) + 24px); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }

/* ---------- Products ---------- */
.catalog-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px; margin-bottom: 20px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.search-field { position: relative; flex: 1 1 320px; max-width: 520px; }
.search-field svg { position: absolute; left: 14px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search-field input[type="search"] { padding-left: 44px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  min-height: 40px; padding: 8px 16px; border-radius: 999px; cursor: pointer;
  font-family: var(--font-head); font-size: .875rem; font-weight: 500;
  color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--border);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filter-btn:hover { border-color: var(--ink-3); color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.catalog-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .9375rem; color: var(--ink-3); }

  position: sticky; top: 0; background: var(--surface-2);
  font-family: var(--font-head); font-weight: 500; font-size: .8125rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
  border-bottom: 1px solid var(--border); white-space: nowrap;
}
.empty-state { display: none; padding: 48px 24px; text-align: center; }
.empty-state.is-visible { display: block; }
.empty-state svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--ink-3); }

.btn-enquire {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 14px;
  font-family: var(--font-head); font-size: .8125rem; font-weight: 500;
  color: var(--teal); background: transparent; border: 1px solid #b7d3ee; border-radius: 999px;
  text-decoration: none; cursor: pointer; transition: all .2s var(--ease);
}
.btn-enquire:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-enquire svg { width: 14px; height: 14px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-size: .875rem; font-weight: 500; color: var(--ink); }
.field .req { color: var(--danger); margin-left: 2px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid #c9d4dd; border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #8795a4; }
input:hover, textarea:hover, select:hover { border-color: var(--ink-3); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,143,229,.25); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { display: none; font-size: .875rem; color: var(--danger); }
.field.has-error .field-error { display: block; }
.form-hint { font-size: .875rem; color: var(--ink-3); margin: 0; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius); font-size: .9688rem; }
.form-status.is-success { display: block; color: var(--success); background: #ecfdf3; border: 1px solid #abefc6; }
.form-status.is-error { display: block; color: var(--danger); background: #fef3f2; border: 1px solid #fecdca; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }


/* Contact */
.contact-list { list-style: none; display: grid; gap: 22px; margin-bottom: 32px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon-badge { margin: 0; width: 48px; height: 48px; flex: none; }
.contact-list h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-list p, .contact-list address { margin: 0; font-style: normal; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #a7bdb3; font-size: .9688rem; }
.site-footer a { color: #d5e3dc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand img { width: auto; height: 64px; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.site-footer h2 { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-contact { list-style: none; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--teal-bright); }
.footer-contact address { font-style: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 20px; font-size: .875rem; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .feature-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-strip__item:nth-child(3) { border-left: 0; }
  .feature-strip__item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .steps li:nth-child(2)::after { display: none; }
  .two-col { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 1px) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list a { padding: 14px 12px; font-size: 1.0625rem; }
  .nav__list a[aria-current="page"] { background: var(--surface-3); }
  .nav__list a[aria-current="page"]::after { display: none; }
  .nav .btn { width: 100%; }
  .split, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .media-stack { margin-bottom: 40px; }
  .cta-band { grid-template-columns: 1fr; }
  .topbar__note { display: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 68px; }
  body { font-size: 1rem; }
  .brand img { height: 50px; }
  .topbar { font-size: .8125rem; }
  .topbar .container { justify-content: center; }
  .hero::before { background: linear-gradient(180deg, rgba(4,26,20,.86), rgba(4,26,20,.94)); }
  .hero p { font-size: 1.0625rem; }
  .grid-4, .feature-strip, .form-row, .footer-main { grid-template-columns: 1fr; }
  .feature-strip__item + .feature-strip__item { border-left: 0; border-top: 1px solid var(--border); }
  .steps { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .vm-card { grid-template-columns: 1fr; }
  .vm-card img { width: 100%; height: 200px; }
  .card, .list-card { padding: 22px; }
  .catalog-toolbar { padding: 12px; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ==========================================================================
   Graphics & motion layer
   ========================================================================== */

/* ---------- Scroll progress + back to top ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
  background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border: 0; border-radius: 50%; cursor: pointer;
  color: #fff; background: var(--navy); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green); }
.to-top svg.arrow { width: 20px; height: 20px; position: relative; }
.to-top .ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring circle { fill: none; stroke-width: 3; }
.to-top .ring .track { stroke: rgba(255,255,255,.15); }
.to-top .ring .bar { stroke: var(--lime-soft); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: 150.8; }

/* ---------- Canvas molecule network ---------- */
.molecule-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- Hero, upgraded ---------- */
.hero { background: radial-gradient(120% 90% at 85% 10%, #0b3a2c 0%, var(--navy) 55%, #03140f 100%); }
.hero::before {
  background:
    linear-gradient(90deg, rgba(4,26,20,.94) 0%, rgba(4,26,20,.72) 45%, rgba(4,26,20,.35) 100%);
  z-index: -1;
}
.hero__bg { opacity: .35; mix-blend-mode: luminosity; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 140px; z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(3,20,15,.6));
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .container { padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(104px, 11vw, 150px); }
.hero .eyebrow { color: var(--lime-soft); }
.hero h1 span {
  background: linear-gradient(100deg, #a6d95b 0%, #5fc36b 30%, #54b3ff 60%, #a6d95b 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer-text 7s linear infinite;
}
@keyframes shimmer-text { to { background-position: -220% 0; } }
.hero__points svg { color: var(--lime-soft); }

/* Load-in stagger for hero content */
.intro > * { opacity: 0; transform: translateY(22px); animation: rise .8s var(--ease) forwards; }
.intro > *:nth-child(1) { animation-delay: .1s; }
.intro > *:nth-child(2) { animation-delay: .22s; }
.intro > *:nth-child(3) { animation-delay: .34s; }
.intro > *:nth-child(4) { animation-delay: .46s; }
.intro > *:nth-child(5) { animation-delay: .58s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Hero visual: animated pyridine structure + floating cards */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; margin-left: auto; }
.hero-visual__glow {
  position: absolute; inset: 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(111,174,29,.35), rgba(31,143,229,.18) 45%, transparent 70%);
  filter: blur(10px); animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.08); opacity: .75; } }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(166,217,91,.35); }
.orbit--1 { inset: 6%; animation: spin 38s linear infinite; }
.orbit--2 { inset: 18%; border-color: rgba(84,179,255,.35); animation: spin 26s linear infinite reverse; }
.orbit::after {
  content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--lime-soft); box-shadow: 0 0 16px 4px rgba(166,217,91,.6);
}
.orbit--2::after { background: #54b3ff; box-shadow: 0 0 16px 4px rgba(84,179,255,.6); top: auto; bottom: -6px; }
.molecule-svg { position: absolute; inset: 14%; width: 72%; height: 72%; overflow: visible; }
.molecule-svg .bond { stroke: #e9f5ee; stroke-width: 5; stroke-linecap: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) forwards; }
.molecule-svg .bond--inner { stroke: #a6d95b; stroke-width: 4; }
.molecule-svg .bond--sub { stroke: #8fd0ff; }
.molecule-svg .atom { fill: #fff; transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) both, pulse 3.2s ease-in-out infinite; }
.molecule-svg .atom--c { fill: #a6d95b; }
.molecule-svg .label-bg { fill: #0a3024; stroke: rgba(255,255,255,.7); stroke-width: 2; }
.molecule-svg .label { font-family: var(--font-head); font-weight: 600; font-size: 26px; fill: #fff; text-anchor: middle; dominant-baseline: central; }
.molecule-svg .label--n { fill: #8fd0ff; }
.molecule-svg .label--br { fill: #f0b36b; }
.molecule-svg .label--nh { fill: #a6d95b; }
.molecule-svg .rotor { transform-origin: 200px 200px; animation: sway 12s ease-in-out infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pulse { 50% { opacity: .55; } }
@keyframes sway { 50% { transform: rotate(8deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.25);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.float-card small { display: block; color: #c3d6cc; font-size: .8125rem; line-height: 1.3; }
.float-card__icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; flex: none; background: var(--grad-brand); }
.float-card__icon svg { width: 20px; height: 20px; color: #fff; }
.float-card--a { top: 4%; left: -4%; animation-delay: -1s; }
.float-card--b { bottom: 12%; right: -6%; animation-delay: -3s; }
.float-card--c { bottom: -2%; left: 6%; animation-delay: -4.5s; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { position: relative; padding: 28px 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .2s; }
.stat.is-visible::after { transform: scaleX(1); }
.stat__num { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.25rem, 1.6rem + 2vw, 3rem); line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.stat__num .unit { font-size: .8em; margin: 0 4px; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin: 10px 0 0; color: var(--ink-3); font-size: .9688rem; }
.stat__icon { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; color: var(--surface-3); }
.stat__icon svg { width: 100%; height: 100%; color: #d6e7f7; }

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 18px 0; background: var(--navy); color: #d5e3dc;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { padding-top: 0; }
.marquee__track { display: flex; width: max-content; gap: 14px; animation: marquee 60s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 75s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); font-family: var(--font-head); font-size: .9375rem; }
.marquee__item::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime-soft); box-shadow: 0 0 10px var(--lime-soft); }
.marquee--reverse .marquee__item::before { background: #54b3ff; box-shadow: 0 0 10px #54b3ff; }
.marquee__item code { font-family: ui-monospace, Consolas, monospace; font-size: .8125rem; color: #8fd0ff; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-wrap { background: var(--navy); padding: 22px 0; }

/* ---------- Cards: spotlight + lift ---------- */
.card { overflow: hidden; isolation: isolate; }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(31,143,229,.10), rgba(111,174,29,.07) 40%, transparent 70%);
}
.card:hover::before { opacity: 1; }
.card:hover { transform: translateY(-4px); }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; pointer-events: none;
  background: var(--grad-brand); opacity: 0; transition: opacity .3s var(--ease);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::after { opacity: 1; }
.icon-badge { transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.card:hover .icon-badge { transform: rotate(-8deg) scale(1.08); background: var(--teal); color: #fff; }
.card:hover .icon-badge--green { background: var(--green); }
.list-card:hover, .vm-card:hover { transform: translateY(-3px); }

/* Chips animate in */
.chip { transition: transform .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease); }
.chip:hover { transform: translateY(-2px); border-color: var(--green-bright); background: #fff; }
.is-visible .chip { animation: chip-in .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes chip-in { from { opacity: 0; transform: translateY(8px) scale(.96); } }

/* ---------- Buttons: shine ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn:hover::after { left: 120%; }
.btn--green { background-image: linear-gradient(120deg, #0b7a2a, #3f9b23); border-color: transparent; }
.btn--green:hover { background-image: linear-gradient(120deg, #08651f, #2f8a1a); }

/* ---------- Media: tilt & floating badge ---------- */
.media-frame { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--ease), box-shadow .4s var(--ease); will-change: transform; }
.media-frame img { transition: transform .8s var(--ease); }
.media-frame:hover img { transform: scale(1.05); }
.media-badge {
  position: absolute; left: -16px; bottom: 24px; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.media-badge strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .9375rem; }
.media-badge small { color: var(--ink-3); font-size: .8125rem; }
.media-badge .float-card__icon { width: 42px; height: 42px; }

/* ---------- Decorative hex pattern ---------- */
.hex-bg { position: relative; isolation: isolate; }
.hex-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66 0 50V16L28 0l28 16v34L28 66zm0 32V66' fill='none' stroke='%230b7a2a' stroke-opacity='.08' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 56px 98px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  animation: hex-drift 40s linear infinite;
}
@keyframes hex-drift { to { background-position: 56px 98px; } }

/* ---------- Steps: drawn connector ---------- */
.steps li::after { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .3s; background: var(--grad-brand); height: 2px; }
.steps li.is-visible::after { transform: scaleX(1); }
.steps li::before {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1rem; color: #fff;
  background: var(--grad-brand); box-shadow: 0 0 0 6px rgba(111,174,29,.14);
}
.steps li.is-visible::before { animation: ring 2.6s ease-out 1s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(111,174,29,.35); } 80%, 100% { box-shadow: 0 0 0 14px rgba(111,174,29,0); } }

/* ---------- Page hero decoration ---------- */
.page-hero { background: radial-gradient(120% 120% at 90% 0%, #0b3a2c 0%, var(--navy) 60%); }
.page-hero__bg { opacity: .4; mix-blend-mode: luminosity; }
.page-hero .container > * { opacity: 0; transform: translateY(16px); animation: rise .7s var(--ease) forwards; }
.page-hero .container > *:nth-child(2) { animation-delay: .1s; }
.page-hero .container > *:nth-child(3) { animation-delay: .2s; }
.page-hero__hex { position: absolute; right: 6%; top: 50%; width: 220px; height: 220px; margin-top: -110px; z-index: -1; opacity: .5; animation: spin 50s linear infinite; }
.page-hero__hex path { fill: none; stroke: rgba(166,217,91,.5); stroke-width: 1.5; }
.page-hero__hex path + path { stroke: rgba(84,179,255,.45); }

/* ---------- CTA band animated ---------- */
.cta-band { background: linear-gradient(120deg, #062019 0%, #0a3024 45%, #0a3f5c 100%); background-size: 200% 200%; animation: grad-pan 14s ease-in-out infinite; }
@keyframes grad-pan { 50% { background-position: 100% 50%; } }
.cta-band::before {
  content: ""; position: absolute; left: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(111,174,29,.3), transparent 70%); animation: breathe 7s ease-in-out infinite;
}
.cta-band .molecule-canvas { z-index: 0; opacity: .6; }

/* ---------- Reveal variants & stagger ---------- */
.reveal--left { transform: translateX(-28px); }
.reveal--right { transform: translateX(28px); }
.reveal--zoom { transform: scale(.94); }
.reveal { transition-delay: var(--d, 0s); }

/* ---------- Products: animated rows ---------- */

/* Contact: pulsing location icon */
.contact-list li:first-child .icon-badge { position: relative; }
.contact-list li:first-child .icon-badge::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: ring-blue 2.4s ease-out infinite; }
@keyframes ring-blue { 0% { box-shadow: 0 0 0 0 rgba(31,143,229,.35); } 80%, 100% { box-shadow: 0 0 0 14px rgba(31,143,229,0); } }

@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 400px; margin: 8px auto 0; }
  .page-hero__hex { display: none; }
  .catalog-toolbar { position: static; }
}
@media (max-width: 640px) {
  .hero-visual { max-width: 320px; }
  .float-card { padding: 9px 12px; }
  .float-card--a { left: -2%; }
  .float-card--b { right: -2%; }
  .float-card small { display: none; }
  .float-card--c { display: none; }
  .float-card--b { bottom: 4%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 16px; }
  .stat__icon { display: none; }
  .media-badge { left: 8px; bottom: 8px; }
  .to-top { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro > *, .page-hero .container > * { opacity: 1; transform: none; animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .molecule-svg .bond { stroke-dashoffset: 0; }
  .card:hover, .media-frame { transform: none; }
}

/* ==========================================================================
   v3 components: footer, contact, product catalogue
   ========================================================================== */

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 100% 0%, #0b3a2c 0%, var(--navy) 50%, #03140f 100%); }
.site-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66 0 50V16L28 0l28 16v34L28 66zm0 32V66' fill='none' stroke='%23a6d95b' stroke-opacity='.06' stroke-width='1.2'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.site-footer > * { position: relative; }
.footer-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 48px; }
.fc-tile {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.site-footer .fc-tile:hover { background: rgba(255,255,255,.09); border-color: rgba(166,217,91,.45); transform: translateY(-2px); text-decoration: none; }
.fc-tile__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--grad-brand); color: #fff; }
.fc-tile__icon svg { width: 22px; height: 22px; }
.fc-tile small { display: block; font-size: .8125rem; color: #a7bdb3; }
.fc-tile strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9688rem; color: #fff; word-break: break-word; }
.footer-main { grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr; padding-top: 48px; }
.footer-logo {
  display: inline-flex; padding: 12px 18px; margin-bottom: 20px; border-radius: 16px; background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.25), inset 0 0 0 1px rgba(11,122,42,.08);
  transition: transform .25s var(--ease);
}
.footer-logo:hover { transform: translateY(-2px); }
.footer-logo img { height: 56px; width: auto; margin: 0; }
.footer-brand p { margin-bottom: 22px; }
.footer-links a { position: relative; display: inline-block; transition: color .2s var(--ease), transform .2s var(--ease); }
.site-footer .footer-links a:hover { text-decoration: none; transform: translateX(4px); color: var(--lime-soft); }
.footer-bottom address { font-style: normal; }

/* ---------- Contact ---------- */
.contact-section { padding-top: 0; }
.contact-shell {
  position: relative; z-index: 2; margin-top: -56px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(13,35,28,.16);
  border: 1px solid var(--border);
}
.contact-panel {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 4vw, 48px); color: #d5e3dc;
  background: linear-gradient(160deg, #0a3024 0%, #062019 55%, #0a3f5c 130%);
}
.contact-panel .molecule-canvas { z-index: -1; opacity: .7; }
.contact-panel::after {
  content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(111,174,29,.35), transparent 70%); animation: breathe 7s ease-in-out infinite;
}
.contact-panel .eyebrow { color: var(--lime-soft); }
.contact-panel h2 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.contact-panel > p { color: #c3d6cc; margin-bottom: 28px; }
.contact-panel__list { list-style: none; display: grid; gap: 18px; margin-bottom: 32px; }
.contact-panel__list li { display: flex; gap: 14px; align-items: flex-start; }
.cp-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: var(--lime-soft); }
.cp-icon svg { width: 20px; height: 20px; }
.contact-panel__list h3 { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: #a7bdb3; margin-bottom: 2px; font-weight: 500; }
.contact-panel__list address, .contact-panel__list p { font-style: normal; margin: 0; color: #fff; line-height: 1.55; }
.contact-panel__list a { color: #fff; font-weight: 600; text-decoration: none; }
.contact-panel__list a:hover { color: var(--lime-soft); text-decoration: underline; }
.contact-panel .btn-row .btn svg { width: 16px; height: 16px; }

.form-panel { padding: clamp(28px, 4vw, 48px); }
.form-panel__head h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); margin-bottom: 6px; }
.form-panel__head p { color: var(--ink-3); margin-bottom: 26px; }
.type-pills { border: 0; margin: 0; padding: 0; min-width: 0; }
.type-pills legend { font-family: var(--font-head); font-size: .875rem; font-weight: 500; color: var(--ink); margin-bottom: 10px; padding: 0; }
.type-pills__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.type-pill { position: relative; cursor: pointer; }
.type-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-pill span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 84px; padding: 12px 8px;
  text-align: center; font-family: var(--font-head); font-size: .8438rem; font-weight: 500; line-height: 1.25; color: var(--ink-2);
  border: 1.5px solid var(--border); border-radius: 14px; background: var(--surface-2);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.type-pill span svg { width: 22px; height: 22px; color: var(--ink-3); transition: color .2s var(--ease), transform .3s var(--ease); }
.type-pill:hover span { border-color: #b9cfc2; transform: translateY(-2px); }
.type-pill input:checked + span { border-color: var(--green); background: #eef7ec; color: var(--green); box-shadow: 0 0 0 3px rgba(11,122,42,.12); }
.type-pill input:checked + span svg { color: var(--green); transform: scale(1.12); }
.type-pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.input-wrap { position: relative; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: inline-flex; color: #8a9a93; pointer-events: none; transition: color .2s var(--ease); }
.input-icon svg { width: 18px; height: 18px; }
.input-wrap input { padding-left: 44px; }
.input-wrap:focus-within .input-icon { color: var(--green); }
.form-panel input[type="text"], .form-panel input[type="email"], .form-panel input[type="tel"], .form-panel textarea {
  background: var(--surface-2); border-color: #d3dfd8; border-radius: 12px;
}
.form-panel input:focus, .form-panel textarea:focus { background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(11,122,42,.12); }
.form-panel .field.has-error input, .form-panel .field.has-error textarea { border-color: var(--danger); background: #fffafa; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding-top: 4px; }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 1rem; }
.form-actions .form-hint { display: flex; align-items: center; gap: 8px; flex: 1 1 240px; }
.form-actions .form-hint svg { width: 16px; height: 16px; flex: none; color: var(--green); }

.map-card { position: relative; border-radius: 24px; overflow: hidden; min-height: 440px; border: 1px solid var(--border); background: var(--surface-2); box-shadow: var(--shadow-md); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-card__info {
  position: absolute; left: 24px; top: 24px; width: min(340px, calc(100% - 48px)); padding: 24px;
  background: rgba(255,255,255,.96); border-radius: 18px; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}
.map-card__info .icon-badge { margin-bottom: 14px; }
.map-card__info h3 { margin-bottom: 8px; }
.map-card__info address { font-style: normal; color: var(--ink-2); margin-bottom: 18px; line-height: 1.6; }

/* ---------- Product catalogue ---------- */
.catalog-section { padding-top: 0; }
.catalog-section .catalog-toolbar {
  position: sticky; top: calc(var(--header-h) + 10px); z-index: 30; margin-top: -40px;
  display: grid; gap: 14px; padding: 18px; border-radius: 20px;
  background: rgba(255,255,255,.97); box-shadow: 0 18px 44px rgba(13,35,28,.12); border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.catalog-toolbar__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.catalog-toolbar .search-field { flex: 1 1 340px; max-width: none; }
.search-field input[type="search"] { border-radius: 12px; background: var(--surface-2); padding-right: 44px; }
.search-field input[type="search"]:focus { background: #fff; }
.search-kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--border); background: #fff; font: 500 .75rem/1.4 var(--font-head); color: var(--ink-3); }
.search-field:focus-within .search-kbd { opacity: 0; }
.toolbar-actions { display: flex; gap: 10px; align-items: center; }
.select {
  min-height: 48px; padding: 10px 40px 10px 14px; border-radius: 12px; border: 1px solid #c9d4dd; background-color: #fff; color: var(--ink);
  font: 500 .9375rem var(--font-head); cursor: pointer; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b65' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.view-toggle { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.view-toggle button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-3); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.view-toggle button svg { width: 18px; height: 18px; }
.view-toggle button[aria-pressed="true"] { background: #fff; color: var(--green); box-shadow: var(--shadow-sm); }
.filter-btn { display: inline-flex; align-items: center; gap: 8px; }
.filter-count { display: inline-flex; min-width: 24px; height: 22px; padding: 0 7px; align-items: center; justify-content: center; border-radius: 999px; font-size: .75rem; background: #fff; color: var(--ink-3); border: 1px solid var(--border); }
.filter-btn[aria-pressed="true"] { background: var(--grad-brand); border-color: transparent; }
.filter-btn[aria-pressed="true"] .filter-count { background: rgba(255,255,255,.2); color: #fff; border-color: transparent; }
.catalog-meta { margin: 24px 0 16px; flex-wrap: wrap; }
.catalog-meta__tip { display: inline-flex; align-items: center; gap: 6px; }
.catalog-meta__tip svg { width: 16px; height: 16px; color: var(--green); }
#product-count { font-family: var(--font-head); font-weight: 500; color: var(--ink); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; animation: row-in .5s var(--ease) both; animation-delay: calc(min(var(--i, 0), 16) * 30ms); }
@keyframes row-in { from { opacity: 0; transform: translateY(10px); } }
.product-card[hidden] { display: none; }
.product-card__top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hex-badge { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; }
.hex-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .5s var(--ease); }
.hex-badge path { fill: #e8f2fb; stroke: #8cc0ec; stroke-width: 1.5; }
.hex-badge b { position: relative; font: 600 .75rem var(--font-head); color: var(--teal); letter-spacing: .02em; }
.hex-badge--pyridine path { fill: #eaf5e6; stroke: #97cc6a; }
.hex-badge--pyridine b { color: var(--green); }
.hex-badge--acid path { fill: #fff4e6; stroke: #f0b36b; }
.hex-badge--acid b { color: #9a5a0c; }
.hex-badge--other path { fill: #f1edfb; stroke: #b3a2e4; }
.hex-badge--other b { color: #5b3fae; }
.product-card:hover .hex-badge svg { transform: rotate(60deg); }
.product-card__no { white-space: nowrap; font: 500 .8125rem var(--font-head); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.product-card__flag { padding: 3px 9px; border-radius: 999px; font: 600 .6875rem var(--font-head); letter-spacing: .04em; text-transform: uppercase; color: #fff; background: var(--grad-brand); }
.select-btn {
  position: relative; margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none; border-radius: 50%; cursor: pointer;
  border: 1.5px dashed #b9cfc2; background: #fff; color: var(--ink-3);
  transition: all .2s var(--ease);
}
.select-btn svg { width: 18px; height: 18px; }
.select-btn .i-tick { display: none; }
.select-btn:hover { border-style: solid; border-color: var(--green); color: var(--green); transform: rotate(90deg); }
.select-btn[aria-pressed="true"] { border: 1.5px solid transparent; background: var(--grad-brand); color: #fff; transform: none; }
.select-btn[aria-pressed="true"] .i-plus { display: none; }
.select-btn[aria-pressed="true"] .i-tick { display: block; animation: pop .3s var(--ease); }
.product-card.is-selected { border-color: var(--green-bright); box-shadow: 0 0 0 3px rgba(111,174,29,.16), var(--shadow-md); }
.product-card .product-card__name { font-size: 1.0625rem; line-height: 1.35; margin: 0; min-height: 2.7em; }
.product-card:hover .product-card__name { color: var(--green); }
.product-card__cat { margin: 0 0 12px; font-size: .875rem; color: var(--ink-3); }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--border); }
.cas-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 6px 4px 4px; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--ink); font: inherit;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.cas-chip:hover { border-color: var(--teal); background: #fff; }
.cas-chip__label { padding: 3px 6px; border-radius: 6px; font: 600 .6875rem var(--font-head); letter-spacing: .06em; color: #fff; background: var(--teal); }
.cas-chip code { white-space: nowrap; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .875rem; font-variant-numeric: tabular-nums; }
.cas-chip__icon { display: inline-flex; color: var(--ink-3); }
.cas-chip__icon svg { width: 15px; height: 15px; }
.cas-chip .i-done { display: none; color: var(--success); }
.cas-chip.is-copied { border-color: var(--success); background: #ecfdf3; }
.cas-chip.is-copied .i-copy { display: none; }
.cas-chip.is-copied .i-done { display: block; }
.product-card .btn-enquire { min-height: 36px; }

/* List view */
.product-grid.is-list { grid-template-columns: 1fr; gap: 10px; }
.product-grid.is-list .product-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "top name foot sel"; align-items: center; gap: 18px; padding: 12px 18px; }
.product-grid.is-list .product-card__top { display: contents; }
.product-grid.is-list .hex-badge { grid-area: top; width: 42px; height: 42px; }
.product-grid.is-list .product-card__no, .product-grid.is-list .product-card__flag { display: none; }
.product-grid.is-list .select-btn { grid-area: sel; margin: 0; }
.product-grid.is-list .product-card .product-card__name { grid-area: name; min-height: 0; }
.product-grid.is-list .product-card__cat { display: none; }
.product-grid.is-list .product-card__foot { grid-area: foot; border: 0; padding: 0; margin: 0; }
.product-grid.is-list .product-card:hover { transform: translateX(4px); }

/* Quote bar */
.quote-bar { position: fixed; left: 50%; bottom: 20px; z-index: 160; width: min(760px, calc(100% - 32px)); transform: translateX(-50%); animation: bar-in .35s var(--ease); }
.quote-bar[hidden] { display: none; }
@keyframes bar-in { from { opacity: 0; transform: translate(-50%, 20px); } }
.quote-bar__inner {
  display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 16px; border-radius: 18px;
  background: rgba(6,32,25,.96); color: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}
.quote-bar__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--grad-brand); }
.quote-bar__icon svg { width: 20px; height: 20px; }
.quote-bar__text { flex: 1; min-width: 0; }
.quote-bar__text strong { display: block; font-family: var(--font-head); font-weight: 500; }
.quote-bar__text small { display: block; color: #a7bdb3; font-size: .8125rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quote-bar .btn--ghost { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.25); }
.quote-bar .btn--ghost:hover { --btn-bg: rgba(255,255,255,.1); color: #fff; }
.to-top.is-raised { bottom: 104px; }

@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .contact-shell { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .footer-strip { grid-template-columns: 1fr; }
  .type-pills__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-section .catalog-toolbar { position: static; }
}
@media (max-width: 640px) {
  .footer-main { grid-template-columns: 1fr; }
  .contact-shell { margin-top: -32px; border-radius: 18px; }
  .map-card { min-height: 0; display: flex; flex-direction: column; }
  .map-card iframe { position: static; height: 300px; }
  .map-card__info { position: static; width: auto; box-shadow: none; border-radius: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid.is-list .product-card { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "top name sel" "foot foot foot"; gap: 10px 14px; }
  .product-grid.is-list .product-card__foot { justify-content: space-between; }
  .toolbar-actions { width: 100%; }
  .toolbar-actions .select { flex: 1; }
  .search-kbd { display: none; }
  .filter-group { flex-wrap: nowrap; overflow-x: auto; margin: 0 -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .filter-group::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex: none; }
  .catalog-meta__tip { display: none; }
  .quote-bar__text small { display: none; }
  .quote-bar #quote-clear { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .cta-band, .catalog-toolbar, .btn-enquire, .select-btn, .quote-bar, .to-top, .scroll-progress { display: none !important; }
  .page-hero { color: #000; background: none; }
  .page-hero::before, .page-hero__bg { display: none; }
  .page-hero h1, .page-hero p { color: #000; }
}
