/* ==========================================================================
   EcoloxTech 2.0 — Design System
   Onsite HOCl Generation Technology
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  /* Brand — EcoloxTech brand guidelines (Artillery Labs), colour values page.
     Deep Green is the primary; Mid Green, Light Green and Soft Yellow are the
     supporting colours; Almost Black is the contrast colour for type. */
  --ink:        #2c2c2c;   /* Almost Black (Pantone Black C) — headings */
  --ink-2:      #3a3a3a;
  --brand:      #018175;   /* Deep Green (Pantone 327 C) */
  --brand-600:  #01736a;
  --brand-700:  #01645c;
  --accent:     #10b68d;   /* Mid Green (Pantone 339 C) */
  --accent-2:   #94dd8b;   /* Light Green (Pantone 358 C) */
  --sun:        #fee3b2;   /* Soft Yellow (Pantone Yellow 0131 C) */
  --sun-soft:   #fff4e0;   /* Soft Yellow, lightened for large bands */
  --spark:      #c98a1c;   /* warm accent derived from Soft Yellow — EPA badges */
  --spark-soft: #fee3b2;

  /* Neutrals — kept light, tinted from the greens and the yellow */
  --paper:      #ffffff;
  --sand:       #fff8ec;   /* warm section background (Soft Yellow tint) */
  --mist:       #eef8f3;   /* cool section background (Mid Green tint) */
  --line:       #dde7e2;
  --line-soft:  #ecf3ef;
  --body:       #444444;
  --muted:      #6b6f6d;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  /* Scale */
  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1:  clamp(1.19rem, 1.12rem + 0.34vw, 1.42rem);
  --step-2:  clamp(1.41rem, 1.28rem + 0.65vw, 1.85rem);
  --step-3:  clamp(1.68rem, 1.46rem + 1.10vw, 2.40rem);
  --step-4:  clamp(2.00rem, 1.63rem + 1.80vw, 3.13rem);
  --step-5:  clamp(2.37rem, 1.79rem + 2.90vw, 4.07rem);

  /* Space */
  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  /* Shape */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(4,48,44,.06), 0 1px 3px rgba(4,48,44,.05);
  --shadow-md: 0 4px 12px rgba(4,48,44,.07), 0 2px 4px rgba(4,48,44,.04);
  --shadow-lg: 0 18px 48px rgba(4,48,44,.12), 0 4px 12px rgba(4,48,44,.06);

  --wrap: 1200px;
  --wrap-narrow: 760px;
  --header-h: 68px;
}

/* --- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-600); text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--brand-700); text-decoration-color: currentColor; }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.15; font-weight: 640; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { text-wrap: pretty; }
ul, ol { padding-left: 1.15em; }
li { margin-block: 0.3em; }
hr { border: 0; border-top: 1px solid var(--line); margin-block: var(--sp-7); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
::selection { background: var(--accent-2); color: var(--ink); }

/* --- Layout primitives -------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section-sm { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--sand { background: var(--sand); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #d8e6e2; }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--ink a { color: var(--accent-2); }
.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* --- Typographic helpers ------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: var(--step--1); font-weight: 660; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand);
}
.section--ink .eyebrow { color: var(--accent-2); }
.eyebrow::before { content: ""; width: 1.75em; height: 2px; background: currentColor; border-radius: 2px; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.section--ink .lede { color: #a9c4bd; }
.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.015em; }
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; font-size: var(--step-3); }
.prose h3 { margin-top: 1.8em; font-size: var(--step-1); }
.prose h2:first-child { margin-top: 0; }
.prose h2 + p, .prose h3 + p { margin-top: .7em; }
.small { font-size: var(--step--1); color: var(--muted); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.5em; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font-size: var(--step-0); font-weight: 620; line-height: 1; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-700); color: #fff; box-shadow: var(--shadow-lg); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-700); background: var(--paper); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-2); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: var(--step--1); }
.btn-group { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.center .btn-group { justify-content: center; }

/* --- Badges / pills ----------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .35em .8em; border-radius: var(--r-pill);
  font-size: var(--step--1); font-weight: 620; line-height: 1.3;
  background: var(--mist); color: var(--brand-700);
}
.badge--epa { background: var(--spark-soft); color: #8a5a10; }
.badge--dark { background: rgba(255,255,255,.12); color: #fff; }
.badge-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

/* --- Header -------------------------------------------------------------
 * Two tiers on a solid dark-teal ground, in the manner of an industrial
 * supplier: wordmark and navigation on top, then a working bar with the
 * catalogue button, a full-width search and the contact and cart utilities.
 */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--ink); color: #d8e6e2; }
.header-top-inner { display: flex; align-items: center; gap: var(--sp-4); min-height: 56px; }
.header-bar { background: var(--ink-2); border-top: 1px solid rgba(255,255,255,.06); }
.header-bar-inner { display: flex; align-items: center; gap: var(--sp-4); min-height: 64px; }

.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 30px; height: 30px; flex-shrink: 0; }
.logo-text { font-size: 1.06rem; font-weight: 700; letter-spacing: -.03em; color: var(--ink); }
.logo-text b { color: var(--brand); font-weight: 700; }
/* Height-constrained so a wordmark of any aspect ratio sits on the row. */
.logo .custom-logo { height: 34px; width: auto; max-width: 260px; object-fit: contain; }
/* The SVG's intrinsic size is its 2759×478 viewBox, so width is released to auto. */
.logo-img { height: 28px; width: auto; display: block; }
.site-footer .logo-img { height: 24px; }
@media (max-width: 600px) {
  .logo .custom-logo { height: 26px; max-width: 170px; }
  .logo-img { height: 22px; }
}

/* Primary navigation, top right, light on dark. */
.nav { display: flex; align-items: center; gap: 0; margin-left: auto; }
.nav a {
  padding: .5rem .42rem; border-radius: var(--r-sm); text-decoration: none;
  font-size: .885rem; font-weight: 540; color: var(--body); white-space: nowrap;
}
/* Top level in small tracked capitals; dropdown items in sentence case. */
.nav-list > li > a {
  padding: .55rem .85rem; font-size: .78rem; font-weight: 640;
  letter-spacing: .09em; text-transform: uppercase; color: #e6f1ee;
}
.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a,
.nav-list > li > a[aria-current="page"] { background: rgba(255,255,255,.08); color: #fff; }
.nav .sub-menu a { text-transform: none; letter-spacing: 0; font-size: .92rem; font-weight: 540; color: var(--body); }
.nav .sub-menu a:hover, .nav .sub-menu a[aria-current="page"] { background: var(--mist); color: var(--brand-700); }
@media (min-width: 1024px) { .nav { min-width: 0; } }

/* Working bar */
.all-products {
  display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0;
  color: #fff; text-decoration: none; font-weight: 620; font-size: .95rem;
  padding: .55rem .2rem;
}
.all-products .ico { color: var(--accent-2); }
.all-products .brand-x { flex: none; display: block; }
.all-products:hover { color: var(--accent-2); }

.header-search { position: relative; flex: 1 1 auto; min-width: 0; display: flex; }
.header-search input {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  background: #fff; border: 0; border-radius: var(--r-pill);
  padding: .78rem 3.4rem .78rem 1.25rem; box-shadow: inset 0 0 0 1px rgba(4,48,44,.06);
}
.header-search input::placeholder { color: #7b8c87; }
.header-search input:focus { outline: none; box-shadow: 0 0 0 3px rgba(127,216,200,.55); }
.header-search button {
  position: absolute; right: .3rem; top: 50%; transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem; border-radius: var(--r-pill); border: 0; cursor: pointer;
  background: var(--brand); color: #fff; display: grid; place-items: center;
}
.header-search button:hover { background: var(--brand-600); }

.header-utils { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: var(--sp-5); flex-shrink: 0; }
.header-utils li { margin: 0; }
.util a { display: flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; line-height: 1.15; }
.util a .ico { color: var(--accent-2); flex-shrink: 0; }
.util small { display: block; font-size: .72rem; color: #9fbdb6; }
.util strong { display: block; font-size: .86rem; font-weight: 620; white-space: nowrap; }
.util a:hover strong { color: var(--accent-2); }
.util--quote .btn { padding: .68rem 1.15rem; font-size: .9rem; }

.btn-accent { background: var(--accent); color: var(--ink); box-shadow: var(--shadow-md); }
.btn-accent:hover { background: var(--accent-2); color: var(--ink); }

.header-cart-mini { display: none; position: relative; color: #fff; padding: .4rem; }
.header-cart-mini .count {
  position: absolute; top: -.1rem; right: -.2rem; min-width: 1.1rem; height: 1.1rem; padding: 0 .3rem;
  border-radius: var(--r-pill); background: var(--accent); color: var(--ink);
  font-size: .68rem; font-weight: 700; display: grid; place-items: center;
}
.nav-toggle {
  display: none; margin-left: .25rem; background: none; cursor: pointer; color: #fff;
  border: 1.5px solid rgba(255,255,255,.25); border-radius: var(--r-sm); padding: .4rem .55rem;
}

/* Utilities drop out in order of least use as the bar narrows. */
@media (max-width: 1279px) { .util--phone { display: none; } }
@media (max-width: 1119px) { .util--audit { display: none; } }

@media (max-width: 1023px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-cart-mini { display: block; margin-left: auto; }
  .header-top-inner { min-height: 52px; }
  .header-bar-inner { min-height: 0; padding-block: .6rem; gap: var(--sp-3); }
  .all-products span, .header-utils { display: none; }
  .all-products { padding: .4rem 0; }
  .site-header.open .nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: var(--sp-3) 1.25rem var(--sp-5); box-shadow: var(--shadow-lg);
    max-height: 75vh; overflow-y: auto;
  }
  .site-header.open .nav a { padding: .75rem .5rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .site-header.open .nav-list > li > a { color: var(--ink); background: none; }
}

/* --- Announcement bar --------------------------------------------------- */
.announce {
  background: var(--ink); color: #bcd6d0; text-align: center;
  font-size: var(--step--1); padding: .55rem 1rem;
}
.announce a { color: #fff; font-weight: 600; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90rem 40rem at 78% -10%, rgba(18,179,156,.20), transparent 60%),
    radial-gradient(60rem 30rem at 8% 105%, rgba(1,129,117,.14), transparent 62%),
    linear-gradient(180deg, #f4faf8 0%, #ffffff 72%);
  border-bottom: 1px solid var(--line-soft);
}
/*
 * Top-aligned, not centred. Since the installation photo joined the schematic
 * the visual column is roughly twice the height of the copy, and centring the
 * copy against it floated the headline ~300px down the page with empty space
 * above it — the first thing a visitor saw was a gap.
 */
.hero-inner { padding-block: clamp(3rem, 6vw, 5rem); display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.08fr .92fr; }
  .hero-inner > :first-child { padding-top: var(--sp-5); }
}
/* A notch below the global display size: five lines of 65px headline read as a wall. */
.hero h1 { margin-bottom: var(--sp-4); font-size: clamp(2.3rem, 1.5rem + 2.3vw, 3.5rem); line-height: 1.08; }
.hero .lede { margin-bottom: var(--sp-5); }
.hero-proof {
  display: grid; gap: var(--sp-5); margin-top: var(--sp-6);
  padding-top: var(--sp-5); border-top: 1px solid var(--line);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
}
.hero-proof strong { display: block; font-size: var(--step-2); color: var(--ink); font-weight: 680; letter-spacing: -.02em; line-height: 1.1; }
.hero-proof span { font-size: var(--step--1); color: var(--muted); }

/* Hero visual: schematic of the generator loop */
.hero-visual {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: var(--sp-6); box-shadow: var(--shadow-lg);
}
/*
 * The installed-system photograph beneath the schematic. It is deliberately
 * shown small — the point of the hero is the headline and the loop diagram —
 * and carries its own zoom affordance, because a 1448px photograph scaled to
 * a third of that is unreadable in the detail that makes it worth showing.
 */
.hero-photo { margin: var(--sp-5) 0 0; padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.hero-photo-btn {
  display: block; position: relative; width: 100%; padding: 0;
  border: 0; background: none; cursor: zoom-in; border-radius: var(--r-lg);
}
.hero-photo-btn img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg); border: 1px solid var(--line);
  transition: box-shadow .18s ease;
}
.hero-photo-btn:hover img { box-shadow: var(--shadow-md); }
.hero-photo figcaption { margin-top: .7rem; font-size: var(--step--1); color: var(--muted); }
.zoom-hint {
  position: absolute; right: .6rem; bottom: .6rem;
  display: inline-flex; align-items: center; gap: .35em;
  padding: .32em .7em; border-radius: var(--r-pill);
  background: rgba(4,48,44,.78); color: #fff;
  font-size: var(--step--1); font-weight: 620; line-height: 1;
  backdrop-filter: blur(6px);
}
.zoom-hint .ico { stroke: currentColor; }

/* Lightbox */
body.has-lightbox { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  display: grid; place-items: center; gap: var(--sp-4);
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4,48,44,.9); cursor: zoom-out;
}
.lightbox figure { margin: 0; display: grid; gap: var(--sp-3); justify-items: center; max-height: 100%; }
.lightbox img {
  max-width: min(1400px, 100%); max-height: 80vh; width: auto; height: auto;
  border-radius: var(--r-md); box-shadow: var(--shadow-lg); cursor: default;
}
.lightbox figcaption { color: #cfe1dc; font-size: var(--step--1); text-align: center; max-width: 60ch; }
.lightbox-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 42px; height: 42px; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1);
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.2); }

.schematic { display: grid; gap: var(--sp-3); }
.schem-row { display: flex; align-items: center; gap: var(--sp-3); }
.schem-node {
  flex: 1; display: flex; align-items: center; gap: .7rem;
  padding: .8rem .95rem; border-radius: var(--r-md);
  background: var(--mist); border: 1px solid var(--line);
}
.schem-node.is-brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.schem-node.is-brand .schem-label { color: rgba(255,255,255,.75); }
.schem-node.is-brand .schem-value { color: #fff; }
.schem-icon { width: 26px; height: 26px; flex-shrink: 0; }
.schem-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 640; }
.schem-value { display: block; font-weight: 620; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.schem-arrow { display: flex; justify-content: center; color: var(--accent); }

/* --- Cards -------------------------------------------------------------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.card--link:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.card p { color: var(--muted); font-size: .96rem; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-more { display: inline-flex; align-items: center; gap: .35em; margin-top: var(--sp-3); font-weight: 620; color: var(--brand); font-size: .93rem; }
.card--feature { border-color: var(--brand); box-shadow: var(--shadow-md); }
.card-icon {
  width: 44px; height: 44px; border-radius: var(--r-md); background: var(--mist);
  display: grid; place-items: center; color: var(--brand); margin-bottom: var(--sp-4);
}

/* Product cards */

/*
 * WooCommerce's own loop container. woocommerce-general and woocommerce-layout
 * are dequeued in functions.php, and the column rules live in those files — so
 * without this, ul.products has no grid at all and every product card stacks
 * full width. It went unnoticed while the catalogue had no imagery: a column of
 * text cards reads as a deliberate list. Add photographs and it reads as broken.
 */
ul.products {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
ul.products::before, ul.products::after { content: none; }

/*
 * Product photography arrives from the old Shopify catalogue at assorted
 * aspect ratios. A fixed ratio plus object-fit keeps the grid rows aligned
 * whatever the source image; a product with no photograph simply has no
 * .product-thumb, and the card closes up without a gap.
 */
.product-thumb {
  position: relative;
  border-radius: var(--r-md); overflow: hidden; background: #fff;
  border: 1px solid var(--line-soft);
  aspect-ratio: 1 / 1;
}
/* contain, not cover: the whole product always shows, whatever the shape of
   the source photo. Absolutely positioned so height: 100% resolves against the
   aspect-ratio box rather than an indefinite height. */
.product-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: var(--sp-3); display: block;
}

/*
 * Single-product gallery. Same root cause as the grid above: the gallery's
 * sizing rules live in woocommerce-general, which is dequeued, so the featured
 * image rendered at its intrinsic width and ran to roughly 700px tall.
 */
.woocommerce-product-gallery { max-width: 520px; margin: 0; position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
/*
 * Fixed square frame with object-fit: contain. The catalogue photographs come
 * from Shopify at assorted aspect ratios, and height:auto let each product set
 * its own gallery height — so the body copy started at a different point on
 * every product page. contain (not cover) because cropping a product shot to
 * fill a square is worse than letterboxing it.
 */
.woocommerce-product-gallery__image {
  border-radius: var(--r-lg); overflow: hidden; background: var(--mist);
  aspect-ratio: 1 / 1;
}
.woocommerce-product-gallery__image img { width: 100%; height: 100%; object-fit: contain; display: block; }

/*
 * Fixed 72px tracks, not 1fr. With minmax(64px, 1fr) the thumbnails stretched
 * to fill the row, so two photographs produced 253px thumbnails and five
 * produced 98px ones — the fewer the images, the taller the gallery, which is
 * exactly backwards and was the real source of the uneven spacing.
 */
.woocommerce-product-gallery .flex-control-thumbs {
  list-style: none; margin: var(--sp-3) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, 72px); gap: var(--sp-2);
}

/*
 * A product with a single photograph gets no thumbnail strip from WooCommerce,
 * so its gallery is one strip shorter than every other product's and the body
 * copy starts higher up the page. Reserve the space so the page below the
 * gallery lands in the same place whatever the image count. Browsers without
 * :has() simply fall back to the shorter gallery — nothing breaks.
 */
.woocommerce-product-gallery:not(:has(.flex-control-thumbs)) {
  padding-bottom: calc(72px + var(--sp-3));
}
.woocommerce-product-gallery .flex-control-thumbs img {
  width: 100%; height: auto; display: block; border-radius: var(--r-md);
  cursor: pointer; opacity: .65; transition: opacity .15s ease;
}
.woocommerce-product-gallery .flex-control-thumbs img:hover,
.woocommerce-product-gallery .flex-control-thumbs .flex-active { opacity: 1; }

/*
 * Add-to-cart controls in the summary card. Woo's own form styling is
 * dequeued with woocommerce-general, which left a bare number input and an
 * unstyled submit button on every purchasable product.
 */
.summary .price { display: block; font-size: var(--step-2); font-weight: 700; color: var(--ink); margin-bottom: var(--sp-4); }
.summary .price del { color: var(--muted); font-weight: 500; margin-right: .5em; }
.summary form.cart { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.summary .quantity input {
  font: inherit; font-size: .96rem; padding: .7rem .85rem; width: 100%;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); color: var(--body);
}
.summary button.single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .82em 1.5em; border-radius: var(--r-pill); border: 1.5px solid transparent;
  font: inherit; font-weight: 620; line-height: 1; cursor: pointer; width: 100%;
  background: var(--brand); color: #fff; box-shadow: var(--shadow-md);
  transition: background .18s ease, box-shadow .18s ease;
}
.summary button.single_add_to_cart_button:hover { background: var(--brand-700); box-shadow: var(--shadow-lg); }
.summary button.single_add_to_cart_button.disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/*
 * Variable products (pack sizes). The test papers are the first products on
 * the site with options, and with WooCommerce's stylesheets dequeued the
 * option picker was a bare 19px browser select. Styled to match the quantity
 * field above it: label stacked over a full-width control.
 */
.summary table.variations { width: 100%; border-collapse: collapse; margin: 0; }
.summary table.variations tr { display: grid; gap: .4rem; margin-bottom: var(--sp-3); }
.summary table.variations th, .summary table.variations td { padding: 0; text-align: left; border: 0; }
.summary table.variations th label { font-size: .82rem; font-weight: 640; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.summary table.variations select {
  font: inherit; font-size: .96rem; width: 100%; padding: .7rem 2.4rem .7rem .85rem;
  border: 1.5px solid var(--line); border-radius: var(--r-md); color: var(--ink); cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2304302c' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .9rem center;
}
.summary table.variations select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.summary .reset_variations { display: inline-block; margin-top: .45rem; font-size: .85rem; }
.summary .woocommerce-variation-price .price { font-size: var(--step-1); margin: 0 0 var(--sp-3); }
.summary .woocommerce-variation-add-to-cart { display: grid; gap: var(--sp-3); }
.summary .single_variation_wrap { display: grid; gap: var(--sp-2); }
.summary .product_meta { font-size: .88rem; color: var(--muted); }

/* --- Even grids -----------------------------------------------------------
 * .grid-3 used auto-fit, which at the 1200px wrap fits four 280px columns —
 * so a "three-column" grid of six cards rendered as a row of four and an
 * orphaned pair. The class now means what it says. Flex rather than grid so
 * that a set that does not divide evenly (14 industry pillars, 10 pathogens)
 * centres its last row instead of leaving it hanging off the left edge.
 * Flex rows also stretch every card in a row to the same height.
 */
@media (min-width: 640px) {
  .grid-3, .grid-4 { display: flex; flex-wrap: wrap; justify-content: center; }
  .grid-3 > *, .grid-4 > * { flex: 0 0 calc((100% - var(--sp-5)) / 2); min-width: 0; }
}
@media (min-width: 1024px) {
  .grid-3 > * { flex-basis: calc((100% - 2 * var(--sp-5)) / 3); }
  .grid-4 > * { flex-basis: calc((100% - 3 * var(--sp-5)) / 4); }
}

/*
 * Cards in a grid: column layout with the call to action pinned to the
 * bottom edge. Previously each card's link sat wherever its text ended, so
 * a row of four had four different baselines.
 */
.grid > .card, .grid > .card-link { display: flex; flex-direction: column; }
.grid > .card > .card-more,
.grid > .card-link > .card-more { margin-top: auto; padding-top: var(--sp-3); align-self: flex-start; }
/* Product cards pin the spec table instead, with the link directly under it. */
.grid > .product-card > .product-specs ~ .card-more { margin-top: 0; }
.grid > .card--feature > .btn:last-child { margin-top: auto; align-self: flex-start; }
.grid > .card--feature > p { margin-bottom: var(--sp-5); }

/* Media at the head of a card, full-bleed to its edges. */
.card.has-media { overflow: hidden; }
/*
 * The image is positioned absolutely inside a box that takes its height from
 * aspect-ratio. As an ordinary grid or block child, height: 100% resolved
 * against an indefinite height and the image overflowed the frame — the AS200
 * bottle was cut off at its label despite object-fit: contain.
 */
.card-media {
  position: relative;
  margin: calc(-1 * var(--sp-5)) calc(-1 * var(--sp-5)) var(--sp-4);
  aspect-ratio: 4 / 3; background: var(--paper); border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: var(--sp-4); transition: transform .35s ease;
}
/* Flex column cards would otherwise stretch badges into full-width bars. */
.grid > .card > .badge, .grid > .card-link > .badge { align-self: flex-start; }
.card-media--cover img { object-fit: cover; padding: 0; }
.card-media--wide { aspect-ratio: 16 / 9; }
.card--link:hover .card-media img { transform: scale(1.03); }

/*
 * Every catalogue photograph is square and shot on its own studio backdrop.
 * In a 4:3 frame with object-fit: contain that left white bars either side of
 * each photo, which read as a frame around a picture rather than a product.
 * A square frame shows them edge to edge with nothing cropped.
 */
.product-card .card-media { aspect-ratio: 1 / 1; }
.product-card .card-media { background: #fff; }
.product-card .card-media img { object-fit: contain; padding: var(--sp-3); }

/*
 * .product-card carries height: 100% from its standalone use, and a flex
 * item with a non-auto height is not stretched — so in the ladder one card
 * per row came up shorter than its neighbours.
 */
.grid > .product-card { height: auto; }

.product-card .product-price {
  margin: -.2rem 0 var(--sp-3); font-size: var(--step-1); font-weight: 680;
  color: var(--ink); letter-spacing: -.01em;
}
.product-card .product-price .price-quote { font-size: .92rem; font-weight: 560; color: var(--muted); letter-spacing: 0; }

/*
 * .section--ink a (0,1,1) outranks .btn-light (0,1,0), so the white button on
 * the dark proof band inherited the pale-teal link colour — light green text
 * on white, barely legible.
 */
.section--ink .btn-light, .section--ink .btn-light:hover { color: var(--ink); }
.section--ink .btn-primary, .section--ink .btn-primary:hover { color: #fff; }

.product-card { display: flex; flex-direction: column; height: 100%; }
.product-card .product-meta { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-3); }
.product-card .product-specs { margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line-soft); }
.spec-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding: .3rem 0; font-size: .89rem; }
.spec-line dt { color: var(--muted); }
.spec-line dd { margin: 0; font-weight: 620; color: var(--ink); text-align: right; }
.spec-line dt, .spec-line dd { min-width: 0; overflow-wrap: anywhere; }

/* --- Tables ------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
thead th {
  background: var(--mist); color: var(--ink); font-weight: 660; text-align: left;
  padding: .85rem 1rem; white-space: nowrap; border-bottom: 1px solid var(--line);
  font-size: .86rem; letter-spacing: .02em; text-transform: uppercase;
}
tbody td { padding: .85rem 1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: #fafcfb; }
tbody th { padding: .85rem 1rem; text-align: left; font-weight: 620; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
caption { caption-side: bottom; padding: .75rem 1rem; font-size: var(--step--1); color: var(--muted); text-align: left; }

/*
 * Photographs in body copy. The build had no editorial imagery at all, so
 * figure and figcaption were never styled; the caption matches the table
 * caption above deliberately, so a picture and a table read as the same kind
 * of supporting evidence rather than two different registers.
 */
.prose figure { margin: var(--sp-6) 0; }
.prose figure img { width: 100%; border-radius: var(--r-lg); border: 1px solid var(--line); }
.prose figcaption {
  padding: .75rem 0 0; font-size: var(--step--1); color: var(--muted); text-align: left;
}

/* --- FAQ / accordion ---------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 620; color: var(--ink); font-size: var(--step-0);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--brand); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding-bottom: 1.3rem; color: var(--muted); max-width: 72ch; }
.faq details > div > * + * { margin-top: .8em; }

/* --- Callouts ----------------------------------------------------------- */
.callout {
  border-left: 3px solid var(--brand); background: var(--mist);
  padding: var(--sp-5); border-radius: 0 var(--r-md) var(--r-md) 0;
}
.callout--warn { border-left-color: var(--spark); background: var(--spark-soft); }
.callout h4 { margin-bottom: var(--sp-2); }
.callout p { color: var(--body); }

/* --- Stat strip --------------------------------------------------------- */
.stats { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.stat strong { display: block; font-size: var(--step-4); font-weight: 680; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.section--ink .stat strong { color: #fff; }
.stat span { display: block; margin-top: var(--sp-2); font-size: .93rem; color: var(--muted); }
.section--ink .stat span { color: #9fbcb5; }

/* --- Quote / testimonial ------------------------------------------------ */
.quote { border-left: 3px solid var(--accent); padding-left: var(--sp-5); }
.quote blockquote { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; color: var(--ink); }
.section--ink .quote blockquote { color: #fff; }
.quote cite { display: block; margin-top: var(--sp-4); font-style: normal; font-size: .93rem; color: var(--muted); }
.section--ink .quote cite { color: #9fbcb5; }

/* --- CTA band ----------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(50rem 24rem at 82% 10%, rgba(18,179,156,.28), transparent 62%),
    var(--ink);
  color: #cfe2de; border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem);
}
.cta-band h2 { color: #fff; font-size: var(--step-3); margin-bottom: var(--sp-3); }
.cta-band p { max-width: 56ch; color: #a9c4bd; margin-bottom: var(--sp-5); }
.cta-band .btn-group { margin-top: var(--sp-5); }

/* --- Breadcrumbs -------------------------------------------------------- */
.crumbs { padding-block: var(--sp-4); font-size: var(--step--1); color: var(--muted); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* --- Page hero (interior) ----------------------------------------------- */
.page-hero {
  background:
    radial-gradient(60rem 26rem at 88% -20%, rgba(18,179,156,.16), transparent 60%),
    linear-gradient(180deg, #f4faf8, #ffffff);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero .inner { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { margin-bottom: var(--sp-4); max-width: 22ch; }
.page-hero .badge-row { margin-top: var(--sp-5); }

/* --- TOC ---------------------------------------------------------------- */
.toc {
  background: var(--sand); border-radius: var(--r-lg); padding: var(--sp-5);
  border: 1px solid var(--line);
}
.toc h2 { font-size: var(--step-0); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--sp-3); }
.toc ol { columns: 2; column-gap: var(--sp-6); font-size: .94rem; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* --- Narrow-screen containment ------------------------------------------ */
/* Grid and flex children size to their content by default, so one wide data
   table used to stretch the whole article track and give the page a
   horizontal scrollbar on a phone. Let the track shrink, and give tables
   their own scroll area instead of the document's. */
.prose, .article-main, .with-sidebar > * { min-width: 0; }
.table-scroll { overflow-x: auto; max-width: 100%; margin: 1.5rem 0; }
.table-scroll > table { margin: 0; }
.prose img, .prose pre { max-width: 100%; }
.btn { max-width: 100%; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.with-sidebar { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 1000px) { .with-sidebar { grid-template-columns: minmax(0,1fr) 300px; } }
.sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: var(--sp-5); min-width: 0; }
/* The sidebar is a fixed 300px track. Long button labels have no wrap point,
   so without these the track sizes to the widest label instead. */
.sidebar .card { min-width: 0; }
.sidebar .btn { white-space: normal; text-align: center; }
.sidebar .btn-group { flex-direction: column; align-items: stretch; }

/* --- Forms -------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-4); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 620; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem; padding: .7rem .85rem; border: 1.5px solid var(--line);
  border-radius: var(--r-md); background: var(--paper); color: var(--body); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(1,129,117,.12); }
.field-row { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.form-note { font-size: var(--step--1); color: var(--muted); }

/* --- Search / filter ---------------------------------------------------- */
.search-box { position: relative; }
.search-box input {
  width: 100%; font: inherit; font-size: var(--step-0);
  padding: .9rem 1.25rem .9rem 2.9rem;
  border: 1.5px solid var(--line); border-radius: var(--r-pill);
  background: var(--paper); color: var(--body);
}
.search-box input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(1,129,117,.12); }
.search-box svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  padding: .4rem .85rem; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  background: var(--paper); font-size: .88rem; font-weight: 560; color: var(--body);
  cursor: pointer; text-decoration: none; transition: all .15s ease;
}
.chip:hover, .chip.is-active { border-color: var(--brand); background: var(--brand); color: #fff; }

/* --- Study cards -------------------------------------------------------- */
.study-list { display: grid; gap: var(--sp-4); }
.study-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-5); background: var(--paper); }
.study-card:hover { border-color: var(--brand); }
.study-card h3 { font-size: var(--step-0); line-height: 1.4; margin-bottom: var(--sp-2); }
.study-card h3 a { text-decoration: none; color: var(--ink); }
.study-card h3 a:hover { color: var(--brand-700); }
.study-meta { font-size: var(--step--1); color: var(--muted); display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: var(--sp-3); }
.study-finding { font-size: .94rem; color: var(--body); }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #93b0aa; padding-block: var(--sp-8) var(--sp-6); font-size: .93rem; }
.footer-grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.footer-brand { max-width: 30ch; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin-top: var(--sp-3); color: #7fa09a; font-size: .9rem; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--sp-3); font-weight: 660; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-block: .45rem; }
.site-footer a { color: #93b0aa; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-newsletter {
  display: grid; gap: var(--sp-4) var(--sp-6); align-items: center;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin-top: var(--sp-7); padding-top: var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer-newsletter__lead h4 { margin-bottom: .5rem; }
.footer-newsletter__lead p { margin: 0; max-width: 42ch; }
.footer-newsletter .field input, .footer-newsletter .field select {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.22); color: #fff;
}
.footer-newsletter .field input::placeholder { color: rgba(255,255,255,.45); }
.footer-newsletter .field select option { color: var(--ink); background: #fff; }
.footer-newsletter .field input:focus, .footer-newsletter .field select:focus {
  border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(148,221,139,.18);
}

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

.footer-bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: space-between; font-size: .85rem; color: #6f918b;
}

/* --- Utilities ---------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff;
  padding: .75rem 1.25rem; z-index: 200; border-radius: 0 0 var(--r-md) 0; text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .announce { display: none; }
  body { color: #000; }
}

/* ==========================================================================
   Homepage chapters (v1.0.26)
   Industrial-supplier layout: photographic banner, shop-by-category strip,
   then full-bleed alternating bands. EcoloxTech colours throughout.
   ========================================================================== */

/* Split-weight headline: light running text, bold emphasis. */
.headline-split { font-weight: 300; letter-spacing: -.02em; }
.headline-split strong { font-weight: 700; }
.eyebrow--light { color: var(--accent-2); }

/* --- Photographic banner ------------------------------------------------- */
.hero-banner {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(480px, 64vh, 640px);
  background: var(--ink); color: #fff;
}
.hero-banner-media { position: absolute; inset: 0; z-index: -2; }
.hero-banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; }
/* Mirrored so the generator panel sits on the open right side and the storage
   tank falls behind the headline. The zoom lightbox still shows the original. */
.hero-banner-media img { transform: scaleX(-1); }
/* Dark on the left for the copy, clearing towards the equipment on the right. */
.hero-banner.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4,48,44,.97) 0%, rgba(4,48,44,.9) 36%, rgba(4,48,44,.5) 60%, rgba(4,48,44,.12) 100%);
}
.hero-banner-inner { padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero-banner-copy { max-width: 40rem; }
.hero-banner h1 {
  color: #fff; font-size: clamp(2.4rem, 1.35rem + 3.2vw, 4.1rem); line-height: 1.05;
  margin: .9rem 0 1.2rem;
}
.hero-banner h1 strong { display: block; color: var(--accent-2); }
.hero-banner-sub { font-size: var(--step-1); line-height: 1.5; color: #cfe1dc; max-width: 36rem; margin-bottom: var(--sp-6); }
.hero-banner-zoom {
  position: absolute; right: 1.25rem; bottom: 1.25rem;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem .95rem; border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.35); background: rgba(4,48,44,.55);
  color: #fff; font: inherit; font-size: .85rem; font-weight: 600; cursor: zoom-in;
  backdrop-filter: blur(6px);
}
.hero-banner-zoom:hover { background: rgba(4,48,44,.8); }
@media (max-width: 899px) {
  .hero-banner.has-photo::before { background: linear-gradient(180deg, rgba(4,48,44,.72) 0%, rgba(4,48,44,.93) 58%); }
  .hero-banner-media img { object-position: 78% 35%; }
  .hero-banner-zoom { bottom: .9rem; right: .9rem; }
}

/* --- Shop by category ---------------------------------------------------- */
.cat-strip { background: var(--ink-2); color: #fff; padding-block: var(--sp-6) var(--sp-7); }
.cat-strip-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.cat-strip-head h2 { color: #fff; font-size: .95rem; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; }
.cat-strip-head a { display: inline-flex; align-items: center; gap: .35em; color: var(--accent-2); font-weight: 600; font-size: .9rem; text-decoration: none; }
.cat-strip-head a:hover { color: #fff; }
.cat-strip-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--sp-4); }
.cat-strip-list li { margin: 0; }
.cat-strip-list a { display: flex; flex-direction: column; align-items: center; gap: .75rem; text-align: center; color: #e6f1ee; text-decoration: none; }
/* Hexagonal frames, flat top and bottom. */
.hex {
  width: 100%; max-width: 132px; aspect-ratio: 1.1547 / 1;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: #fff; color: var(--brand); display: grid; place-items: center; overflow: hidden;
  transition: transform .2s ease;
}
.hex img { width: 100%; height: 100%; object-fit: contain; padding: 14% 22%; }
.cat-strip-list a:hover .hex { transform: translateY(-3px); }
.cat-label { font-size: .86rem; font-weight: 600; line-height: 1.25; }
.cat-strip-list a:hover .cat-label { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) {
  .cat-strip-list {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 116px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
    scrollbar-width: thin;
  }
  .cat-strip-list li { scroll-snap-align: start; }
}

/* --- Chapters ------------------------------------------------------------ */
.chapter { position: relative; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.chapter--ink { background: var(--ink); color: #cfe1dc; }
.chapter--brand {
  background-color: var(--brand); color: #e3f4f0;
  background-image:
    radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.4px),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  background-size: 22px 22px, 100% 100%;
}
.chapter--mist { background: var(--mist); }
.chapter h2 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.1rem); line-height: 1.1; margin: .7rem 0 1rem; }
.chapter--ink h2, .chapter--ink h3, .chapter--brand h2, .chapter--brand h3 { color: #fff; }
.chapter--ink .lede { color: #b7d0ca; }
.chapter--brand .lede { color: #d9f0ec; }
.chapter--ink .quote blockquote { color: #fff; }
.chapter--ink .quote cite { color: #9fbcb5; }
.chapter--ink .btn-light, .chapter--brand .btn-light,
.chapter--ink .btn-light:hover, .chapter--brand .btn-light:hover { color: var(--ink); }
.chapter-head { max-width: 46rem; margin: 0 auto var(--sp-7); }
.chapter-head.center { text-align: center; }
.chapter-head.center .lede { margin-inline: auto; }

/* Benefits: a ruled grid rather than floating cards. */
.benefit-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); overflow: hidden;
}
.benefit {
  display: flex; flex-direction: column; gap: .6rem; padding: var(--sp-6) var(--sp-5);
  background: var(--ink); color: inherit; text-decoration: none; transition: background .2s ease;
}
.benefit:hover { background: #073a35; color: inherit; }
.benefit-icon { width: 48px; height: 48px; border-radius: var(--r-md); display: grid; place-items: center; background: rgba(127,216,200,.12); color: var(--accent-2); }
.benefit h3 { color: #fff; font-size: var(--step-1); margin: .35rem 0 0; }
.benefit p { color: #a9c4bd; font-size: .96rem; margin: 0; }
.benefit-more { margin-top: auto; padding-top: .35rem; display: inline-flex; align-items: center; gap: .35em; color: var(--accent-2); font-weight: 620; font-size: .92rem; }
@media (max-width: 899px) { .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .benefit-grid { grid-template-columns: 1fr; } }

/* Text beside a visual. */
.chapter-split { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 900px) {
  .chapter-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); }
  .chapter-split--list { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
}
.chapter-copy .lede { margin-bottom: var(--sp-5); }
.chapter-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-4);
  margin: var(--sp-5) 0 var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,.22);
}
.chapter-stats strong { display: block; color: #fff; font-size: var(--step-2); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.chapter-stats span { font-size: var(--step--1); color: #cfeae5; }
.chapter--brand .hero-visual { box-shadow: 0 30px 70px rgba(0,0,0,.25); border-color: transparent; }

/* Light link panel with triangle markers. */
.link-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--sp-5) var(--sp-6); box-shadow: var(--shadow-md); }
.link-panel-title { font-weight: 700; color: var(--ink); margin-bottom: var(--sp-3); }
.link-panel ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--sp-6); }
.link-panel li { margin: 0; break-inside: avoid; }
.link-panel a {
  display: flex; align-items: center; gap: .6rem; padding: .55rem 0;
  border-bottom: 1px solid var(--line-soft); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.link-panel a::before {
  content: ""; flex-shrink: 0; width: 0; height: 0;
  border-left: 7px solid var(--brand); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
  transition: transform .15s ease;
}
.link-panel a:hover { color: var(--brand-700); }
.link-panel a:hover::before { transform: translateX(3px); }
@media (max-width: 599px) { .link-panel ul { columns: 1; } .link-panel { padding: var(--sp-5); } }

/* --- Full-bleed split panels -------------------------------------------- */
.split-panel { display: grid; }
@media (min-width: 900px) { .split-panel { grid-template-columns: 1fr 1fr; min-height: 540px; } }
.split-panel-media { position: relative; min-height: 320px; background: #fff; overflow: hidden; }
.split-panel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-panel-media--contain img { object-fit: contain; padding: clamp(1.5rem, 4vw, 3.5rem); }
.split-panel-copy {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--sp-4);
  padding: clamp(2.75rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem); background: var(--mist);
}
.split-panel-copy h2 { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.12; margin: .2rem 0 0; }
.split-panel-copy p { max-width: 34rem; color: var(--body); margin: 0; }
.split-panel-copy .btn { margin-top: var(--sp-3); }
.split-panel--dark .split-panel-copy { background: var(--ink); }
.split-panel--dark h2 { color: #fff; }
.split-panel--dark p { color: #cfe1dc; }
.split-panel--dark .btn-light, .split-panel--dark .btn-light:hover { color: var(--ink); }
@media (max-width: 899px) { .split-panel--dark .split-panel-media { order: -1; } }

/* Split-panel copy lines up with the page wrap on its outer edge, so the
   headline sits on the same vertical as every other section's content. */
@media (min-width: 900px) {
  .split-panel--dark .split-panel-copy { padding-left: max(1.25rem, calc((100vw - var(--wrap)) / 2)); }
  .split-panel--media-left .split-panel-copy { padding-right: max(1.25rem, calc((100vw - var(--wrap)) / 2)); }
}


/* ==========================================================================
   Brand palette, light treatment (v1.0.30)
   Colours from the EcoloxTech brand guidelines, applied with a light ground:
   white and pale green/yellow tints carry the page, Deep Green is the one
   solid colour band, and Almost Black is reserved for type.
   ========================================================================== */

/* Header: white top row with the dark (secondary) logo; the working bar is
   the brand's Deep Green. */
.site-header { background: #fff; color: var(--body); box-shadow: 0 1px 0 var(--line); }
.nav-list > li > a { color: var(--ink); }
.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current-menu-ancestor > a,
.nav-list > li > a[aria-current="page"] { background: var(--mist); color: var(--brand-700); }
.header-bar { background: var(--brand); border-top: 0; }
.all-products, .util a { color: #fff; }
.all-products:hover, .util a:hover strong { color: var(--accent-2); }
.util small { color: rgba(255,255,255,.75); }
.util a .ico, .all-products .ico { color: var(--accent-2); }
.header-search input { box-shadow: none; }
.header-search input:focus { box-shadow: 0 0 0 3px rgba(148,221,139,.6); }
.header-search button { background: var(--accent); }
.header-search button:hover { background: var(--brand-700); }
.btn-accent, .btn-accent:hover { color: var(--ink); }
.btn-accent { background: var(--accent-2); }
.btn-accent:hover { background: #fff; }
.header-cart-mini { color: var(--ink); }
.nav-toggle { color: var(--ink); border-color: var(--line); }

/* Hero: the photograph under a white wash on the copy side, dark type. */
.hero-banner { background: var(--mist); color: var(--body); }
.hero-banner.has-photo::before {
  background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 34%, rgba(255,255,255,.55) 58%, rgba(255,255,255,0) 82%);
}
.hero-banner h1 { color: var(--ink); }
.hero-banner h1 strong { color: var(--brand); }
.hero-banner-sub { color: var(--body); }
.hero-banner-zoom { background: rgba(255,255,255,.85); color: var(--ink); border-color: var(--line); }
.hero-banner-zoom:hover { background: #fff; }
@media (max-width: 899px) {
  .hero-banner.has-photo::before { background: linear-gradient(180deg, rgba(255,255,255,.80) 0%, rgba(255,255,255,.95) 55%); }
}

/* Shop by category: pale green band, white hexagons. */
.cat-strip { background: var(--mist); color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.cat-strip-head h2 { color: var(--ink); }
.cat-strip-head a { color: var(--brand); }
.cat-strip-head a:hover { color: var(--brand-700); }
.cat-strip-list a { color: var(--ink); }
.cat-strip-list a:hover .cat-label { color: var(--brand-700); }
.hex { background: #fff; filter: drop-shadow(0 4px 10px rgba(1,129,117,.10)); }

/* Light chapter: benefits on white in a ruled grid. */
.chapter--light { background: #fff; }
.chapter--light .benefit-grid { background: var(--line); border-color: var(--line); }
.chapter--light .benefit { background: #fff; }
.chapter--light .benefit:hover { background: var(--mist); }
.chapter--light .benefit-icon { background: var(--mist); color: var(--brand); }
.chapter--light .benefit h3 { color: var(--ink); }
.chapter--light .benefit p { color: var(--body); }
.chapter--light .benefit-more { color: var(--brand); }

/* Soft Yellow chapter and split panel. */
.chapter--sun { background: var(--sun-soft); }
.chapter--sun .lede { color: var(--body); }
.chapter--sun .quote blockquote { color: var(--ink); }
.chapter--sun .quote cite { color: var(--muted); }
.split-panel--sun .split-panel-copy { background: var(--sun-soft); }
@media (max-width: 899px) { .split-panel--sun .split-panel-media { order: -1; } }
@media (min-width: 900px) {
  .split-panel--sun .split-panel-copy { padding-left: max(1.25rem, calc((100vw - var(--wrap)) / 2)); }
}
.badge--brand { background: var(--brand); color: #fff; }

/* The one solid band: Deep Green, with Light Green highlights. */
.chapter--brand {
  background-image:
    radial-gradient(rgba(255,255,255,.10) 1px, transparent 1.4px),
    linear-gradient(135deg, var(--brand) 0%, #016f65 100%);
}
.chapter--brand h2 strong { color: var(--accent-2); }
.eyebrow--light { color: var(--accent-2); }

/* Dark-section utilities elsewhere on the site now sit on Deep Green, not black. */
.section--ink, .chapter--ink { background: var(--brand); }
.benefit { background: var(--brand); }

/* CTA band: Deep Green with a Light Green glow. */
.cta-band {
  background:
    radial-gradient(50rem 24rem at 82% 10%, rgba(148,221,139,.30), transparent 62%),
    var(--brand);
  color: #e4f5f0;
}
.cta-band p { color: #d6efe9; }

/* Footer: light, with the dark logo. */
.site-footer { background: var(--mist); color: var(--body); border-top: 1px solid var(--line); }
.footer-brand p { color: var(--muted); }
.site-footer h4 { color: var(--ink); }
.site-footer a { color: var(--body); }
.site-footer a:hover { color: var(--brand-700); }
.footer-bottom { border-top-color: var(--line); color: var(--muted); }

/* Links and focus in the brand greens. */
:focus-visible { outline-color: var(--accent); }
::selection { background: var(--accent-2); color: var(--ink); }

/* --- Audit booking (Google Calendar appointment schedule) -------------- */
.booking {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--shadow-md); margin-bottom: var(--sp-5);
}
.booking-head { display: flex; gap: var(--sp-3); align-items: flex-start; margin-bottom: var(--sp-4); }
.booking-head > .ico { flex-shrink: 0; color: var(--brand); background: var(--mist); border-radius: var(--r-md); padding: .55rem; width: 44px; height: 44px; }
.booking-head h2 { font-size: var(--step-2); margin: 0 0 .25rem; }
.booking-head p { margin: 0; color: var(--muted); }
.booking-frame { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-soft); background: var(--mist); }
.booking-frame iframe { display: block; width: 100%; height: 720px; border: 0; }
@media (max-width: 599px) { .booking { padding: var(--sp-4); } .booking-frame iframe { height: 900px; } }
.booking-alt { margin: var(--sp-3) 0 0; font-size: var(--step--1); }
.booking-or { display: flex; align-items: center; gap: var(--sp-3); margin: var(--sp-6) 0 var(--sp-5); color: var(--muted); font-size: var(--step--1); text-align: center; }
.booking-or::before, .booking-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.booking-step { display: grid; gap: var(--sp-4); }
.booking-step[hidden], .booking-cal[hidden] { display: none; }
.booking-progress { list-style: none; margin: 0 0 var(--sp-2); padding: 0; display: flex; gap: var(--sp-4); font-size: var(--step--1); font-weight: 620; color: var(--muted); }
.booking-progress li { margin: 0; }
.booking-progress .is-current { color: var(--brand); }
.booking-step label span { color: var(--brand); }
.booking-error { margin: 0; padding: .7rem .9rem; border-radius: var(--r-md); background: #fdecea; color: #8a1c12; font-size: .93rem; }
.booking-done { margin: 0 0 var(--sp-4); padding: .8rem 1rem; border-radius: var(--r-md); background: var(--mist); color: var(--brand-700); font-weight: 560; }
.booking-done[hidden] { display: none; }
.booking .form-note { margin: 0; font-size: var(--step--1); color: var(--muted); }

/* ==========================================================================
   Compliance Pack (v1.0.36)
   ========================================================================== */
.pack-cta { background: var(--sun-soft); border-color: #f6d9a2; }
.pack-cta .card-icon { background: var(--sun); color: #8a5a06; }
.pack-cta .btn { margin-top: .5rem; }
.pack-cta--compact h3 { font-size: 1.05rem; }
.prose .pack-cta { margin: 2rem 0; }
.pack-done { text-align: left; }
.pack-done .btn-group { margin-top: 1rem; }
.pack-form select { width: 100%; }
.lease-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin: 1.5rem 0 2rem; }
.lease-plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: #fff; }
.lease-plan--feature { border-color: var(--brand); box-shadow: var(--shadow-md); }
.lease-plan .eyebrow { margin-bottom: .35rem; }
.lease-plan h3 { margin-top: 0; }
.lease-price { font-size: 1.9rem; font-weight: 700; color: var(--brand); line-height: 1.1; margin: .5rem 0 1rem; }
.lease-price small { font-size: .9rem; font-weight: 500; color: var(--muted); }
.prose .lease-plan ul { padding-left: 1.1em; }
.prose .btn { text-decoration: none; }

/* Ten top-level items (v1.0.37): tighten the nav between the hamburger
   breakpoint and 1200px so the row never overflows. */
@media (min-width: 1024px) and (max-width: 1199px) {
  .nav-list > li > a { padding: .55rem .5rem; letter-spacing: .05em; font-size: .74rem; }
  .header-top .logo-img { height: 24px; }
}
.field--lease[hidden] { display: none; }

/* --- Newsletter --------------------------------------------------------- */
.newsletter { display: grid; gap: var(--sp-3); }
.newsletter__title { margin: 0; font-size: var(--step-2); }
.newsletter__intro { margin: 0; color: var(--body); max-width: 60ch; }
.newsletter__form { display: grid; gap: var(--sp-3); }
.newsletter__fields {
  display: grid; gap: var(--sp-3);
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) auto;
  align-items: end;
}
.newsletter__submit { align-self: end; }
.newsletter__submit .btn { width: 100%; white-space: nowrap; }
.newsletter .form-note { margin: 0; }

/* Inline variant: the footer band. Dark ground, so the label and note have to
   lift off it rather than inherit the body colour. */
.newsletter--inline { gap: var(--sp-3); }
.newsletter--inline .field label { color: inherit; }
.newsletter--inline .form-note { color: inherit; opacity: .78; }
.newsletter--inline .form-note a { color: inherit; text-decoration: underline; }

@media (max-width: 720px) {
  .newsletter__fields { grid-template-columns: 1fr; }
  .newsletter__submit .btn { width: auto; justify-self: start; }
}
