/* BioGas — shared styles
   Sections map 1:1 to future WordPress template parts. */

:root {
  --green-950: #102a1a;
  --green-900: #163a24;
  --green-800: #1e4a2f;
  --green-700: #285f3c;
  --green-600: #33764b;
  --green-200: #c9dccd;
  --green-100: #e3ece4;
  --ground: #f3f6f1;
  --white: #ffffff;
  --ink: #1b231d;
  --ink-2: #47544a;
  --ink-3: #5f6b62;
  --rule: #d5dfd6;
  --amber: #e39b2d;
  --amber-600: #cf8519;
  --amber-100: #fbecd4;
  --soil: #6b4a2e;
  --soil-100: #f2eae1;
  --error: #b42318;
  --error-100: #fdecea;
  --success: #1e6b3a;

  --font-display: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;

  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 42, 26, 0.06), 0 2px 6px rgba(16, 42, 26, 0.06);
  --shadow-md: 0 4px 12px rgba(16, 42, 26, 0.08), 0 12px 32px rgba(16, 42, 26, 0.08);

  --gutter: clamp(16px, 4vw, 56px);
  --container: 1440px;
  --section-y: clamp(56px, 8vw, 104px);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--green-700) var(--ground);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  caret-color: var(--green-700);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--green-200); color: var(--green-950); }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--green-900);
  margin: 0 0 0.5em;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 1.45rem + 3.4vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }

p { margin: 0 0 1em; text-wrap: pretty; }

a {
  color: var(--green-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--green-900); }

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

.icon { width: 1.25em; height: 1.25em; flex: none; }

[hidden] { display: none !important; }

.visually-hidden {
  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: -100px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--green-900);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--ground { background: var(--ground); }
.section--green { background: var(--green-800); color: var(--green-100); }
.section--green h2, .section--green h3 { color: var(--white); }
.section--green .quote-contact a:hover { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head p { color: var(--ink-2); font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); margin: 0; }
.section--green .section-head p { color: var(--green-200); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: 600 1.0625rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s var(--ease-out);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--quote { background: var(--amber); color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); }
.btn--quote:hover { background: var(--amber-600); color: var(--ink); }

.btn--outline { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn--outline:hover { background: var(--green-800); color: var(--white); }

.btn--light { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.btn--light:hover { background: var(--white); color: var(--green-900); }

.btn[disabled], .btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-weight: 600;
  text-decoration: none;
  color: var(--green-700);
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.2s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--green-950);
  color: var(--green-200);
  font-size: 0.9375rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 38px;
}
.topbar a { color: var(--green-100); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--white); text-decoration: underline; }
.topbar-list { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.topbar .icon { width: 1em; height: 1em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--green-900);
  font: 700 1.75rem/1 var(--font-display);
  letter-spacing: -0.01em;
  margin-right: auto;
  min-height: 44px;
}
.brand:hover { color: var(--green-900); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand b { color: var(--green-600); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-link, .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  border-radius: var(--radius);
  color: var(--ink);
  font: 600 1.0625rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover { color: var(--green-700); background: var(--ground); }
.nav-link[aria-current="page"] { color: var(--green-700); box-shadow: inset 0 -3px 0 var(--green-600); border-radius: 0; }
.nav-toggle .icon { width: 1em; height: 1em; transition: transform 0.2s; }
.nav-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -8px;
  width: 340px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s, transform 0.18s var(--ease-out), visibility 0.18s;
}
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 2px 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
}
.dropdown a:hover { background: var(--ground); }
.dropdown .dd-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: var(--green-100);
  color: var(--green-800);
}
.dropdown .dd-icon--soil { background: var(--soil-100); color: var(--soil); }
.dropdown strong { font-weight: 600; line-height: 1.3; }
.dropdown span { font-size: 0.9375rem; color: var(--ink-3); line-height: 1.35; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-900);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
}
.header-phone .icon { color: var(--green-600); }

.menu-btn {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--green-900);
  cursor: pointer;
}
.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1100px) {
  .header-phone span { display: none; }
}

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .header-actions .btn--quote { display: none; }
  .nav {
    position: fixed;
    inset: var(--nav-top, 110px) 0 0 0;
    display: block;
    padding: 16px var(--gutter) 32px;
    background: var(--white);
    border-top: 1px solid var(--rule);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s var(--ease-out), visibility 0.28s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--rule); }
  .nav-link, .nav-toggle { width: 100%; min-height: 56px; justify-content: space-between; padding: 0 4px; font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); }
  .nav-link[aria-current="page"] { box-shadow: none; }
  .dropdown {
    position: static;
    width: auto;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .nav-cta { display: grid !important; gap: 12px; margin-top: 24px; }
}
@media (max-width: 560px) {
  .topbar { display: none; }
  .header-phone { display: none; }
  .brand { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
  .brand-mark { width: 32px; height: 32px; }
}
.nav-cta { display: none; }
.nav-cta .btn { width: 100%; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(40px, 5vw, 56px); background: var(--white); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy h1 { max-width: 20ch; margin-bottom: 0.4em; }
.hero-lead { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); color: var(--ink-2); max-width: 58ch; margin-bottom: 28px; }
.hero-lead strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--rule);
  color: var(--ink-2);
  font-weight: 600;
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--green-600); }

.photo-note {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--ink-3);
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: clamp(28px, 3vw, 40px);
  padding: 14px 18px;
  background: var(--ground);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
}
.strip-inputs, .strip-outputs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.strip-inputs li, .strip-outputs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--rule);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-2);
  white-space: nowrap;
}
.strip-inputs .icon { width: 18px; height: 18px; color: var(--soil); }
.strip-outputs a { text-decoration: none; color: var(--green-800); min-height: 44px; }
.strip-outputs a .icon { width: 18px; height: 18px; }
.strip-outputs a.is-soil { color: var(--soil); }
.strip-outputs a:hover { border-color: var(--green-600); }
.strip-arrow { width: 22px; height: 22px; color: var(--green-600); }
.strip-plant {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 16px;
  border-radius: var(--radius);
  background: var(--green-800);
  color: var(--white);
  font: 700 1.15rem/1 var(--font-display);
  text-decoration: none;
  white-space: nowrap;
}
.strip-plant:hover { background: var(--green-700); color: var(--white); }
@media (max-width: 1024px) { .hero-strip { display: none; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 18ch; }
}
@media (max-width: 480px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Flow (signature) ---------- */
.flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1.15fr) 56px minmax(0, 1fr);
  align-items: center;
}
.flow-col h3 {
  font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem);
  font-weight: 700;
  color: var(--green-900);
  margin-bottom: 14px;
}
.flow-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.feed {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.feed-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: 50%;
  background: var(--soil-100);
  color: var(--soil);
}
.feed-icon .icon { width: 22px; height: 22px; }
.feed strong { display: block; font-weight: 600; line-height: 1.25; }
.feed span:not(.feed-icon) { display: block; font-size: 0.9375rem; color: var(--ink-3); line-height: 1.35; }

.flow-pipe { position: relative; display: flex; align-items: center; justify-content: center; }
.flow-pipe { --pipe: var(--green-600); }
.flow-pipe::before {
  content: "";
  position: absolute;
  left: 6px; right: 6px; top: 50%;
  height: 3px;
  margin-top: -1.5px;
  background: repeating-linear-gradient(90deg, var(--pipe) 0 10px, transparent 10px 16px);
  transform-origin: left center;
}
.flow-pipe .icon { transition: background-color 0.25s, color 0.25s; }
.flow-pipe .icon {
  position: relative;
  width: 30px; height: 30px;
  padding: 5px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
}

.plant {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--green-800);
  color: var(--green-100);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 0 transparent;
  transition: box-shadow 0.25s;
}
.plant .plant-title { font: 700 clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem)/1.15 var(--font-display); color: var(--white); margin: 0 0 6px; }
.plant > p { color: var(--green-200); font-size: 0.9375rem; margin-bottom: 18px; }
.plant-steps { display: grid; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; counter-reset: step; }
.plant-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 2px 12px;
  padding: 12px;
  border: 1px solid rgba(201, 220, 205, 0.22);
  border-radius: var(--radius);
  transition: background-color 0.25s, border-color 0.25s;
}
.plant-step::before {
  counter-increment: step;
  content: counter(step);
  grid-row: span 2;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(201, 220, 205, 0.16);
  color: var(--white);
  font: 700 0.9375rem/1 var(--font-body);
}
.plant-step strong { color: var(--white); font-weight: 600; line-height: 1.3; }
.plant-step span { font-size: 0.9375rem; color: var(--green-200); line-height: 1.4; }

.output {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s var(--ease-out);
}
.output:hover, .output:focus-visible { border-color: var(--green-600); box-shadow: var(--shadow-sm); color: var(--ink); transform: translateX(2px); }
.output-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-800);
}
.output--soil .output-icon { background: var(--soil-100); color: var(--soil); }
.output-icon .icon { width: 22px; height: 22px; }
.output strong { display: block; font-weight: 700; line-height: 1.25; }
.output span:not(.output-icon) { display: block; font-size: 0.9375rem; color: var(--ink-3); line-height: 1.35; }
.output > .icon { color: var(--green-600); width: 20px; height: 20px; }

/* Signature: an output lights its route back into the plant:
   outgoing pipe, plant panel, Digest, then the stage that made it. */
.flow:has(.output:is(:hover, :focus-visible)) .flow-pipe--out { --pipe: var(--amber); }
.flow:has(.output:is(:hover, :focus-visible)) .flow-pipe--out .icon { background: var(--amber); color: var(--ink); }
.flow:has(.output:is(:hover, :focus-visible)) .plant { box-shadow: 0 0 0 3px var(--amber); }
.flow:has(.output:is(:hover, :focus-visible)) .plant-step[data-stage="digest"],
.flow:has(.output[data-stage="gas"]:is(:hover, :focus-visible)) .plant-step[data-stage="gas"],
.flow:has(.output[data-stage="solids"]:is(:hover, :focus-visible)) .plant-step[data-stage="solids"] {
  background: rgba(227, 155, 45, 0.18);
  border-color: var(--amber);
}

.flow-note { margin: 28px 0 0; color: var(--ink-2); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* Draw-in: content visible by default; JS adds .will-draw only when motion is allowed */
.flow.will-draw .flow-pipe::before { transform: scaleX(0); }
.flow.will-draw.is-drawn .flow-pipe::before { transform: scaleX(1); transition: transform 0.7s var(--ease-out); }
.flow.will-draw.is-drawn .flow-pipe--out::before { transition-delay: 0.45s; }

@media (max-width: 1024px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow-pipe { height: 52px; }
  .flow-pipe::before {
    left: 50%; right: auto; top: 6px; bottom: 6px;
    width: 3px; height: auto;
    margin: 0 0 0 -1.5px;
    background: repeating-linear-gradient(180deg, var(--pipe) 0 10px, transparent 10px 16px);
    transform-origin: center top;
  }
  .flow-pipe .icon { transform: rotate(90deg); }
  .flow.will-draw .flow-pipe::before { transform: scaleY(0); }
  .flow.will-draw.is-drawn .flow-pipe::before { transform: scaleY(1); }
  .flow-col--inputs .flow-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .flow-col--inputs .flow-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Products ---------- */
.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  background: var(--green-800);
  color: var(--green-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: clamp(20px, 3vw, 28px);
}
.product-feature .product-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.product-feature .product-body { padding: clamp(24px, 4vw, 48px); }
.product-feature h3 { color: var(--white); font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); font-weight: 700; }
.product-feature p { color: var(--green-200); }
.product-feature .use-list li::before { background: var(--amber); }
.product-feature .use-list { color: var(--green-100); }
.product-feature .buyer-line { color: var(--green-200); border-color: rgba(201, 220, 205, 0.22); }
.product-feature .buyer-line strong { color: var(--white); }
.product-feature .link-arrow { color: var(--white); }

.product-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 28px); }
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--soil-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.product-card .product-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.product-card .product-body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 3vw, 32px); }
.product-card h3 { color: var(--soil); font-weight: 700; }
.product-card p { color: var(--ink-2); }


.use-list { display: grid; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.use-list li { position: relative; padding-left: 20px; }
.use-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.6em;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--soil);
}
.buyer-line { margin: 0 0 22px; padding-top: 16px; border-top: 1px solid rgba(107, 74, 46, 0.2); font-size: 0.9375rem; color: var(--ink-2); }
.buyer-line strong { color: var(--ink); }
.product-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: auto; }

@media (max-width: 900px) {
  .product-feature { grid-template-columns: 1fr; }
  .product-feature .product-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .product-pair { grid-template-columns: 1fr; }
}

/* ---------- Why BioGas ---------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.why-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.section-head p.about-link { margin-top: 24px; }
.why-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.why-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 4px 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.why-item .why-icon,
.serve-item .why-icon {
  grid-row: span 2;
  padding-top: 2px;
  color: var(--green-600);
}
.why-icon .icon { width: 32px; height: 32px; }
.why-item h3 { margin: 0; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
.why-item p { margin: 0; color: var(--ink-2); }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-grid .section-head { position: static; }
}

/* ---------- Who we serve ---------- */
.serve-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.serve-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 12px; margin: 0; }
.serve-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.serve-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.serve-photos img:nth-child(2) { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.serve-photos figcaption { grid-column: 1 / -1; }

.serve-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.serve-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 4px 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.serve-item:first-child { padding-top: 0; }
.serve-item .why-icon { grid-row: span 3; }
.serve-item h3 { margin: 0; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
.serve-item p { margin: 0 0 6px; color: var(--ink-2); }
@media (max-width: 900px) {
  .serve-grid { grid-template-columns: 1fr; }
  .serve-photos { order: 2; }
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font: 600 1.15rem/1.3 var(--font-display);
  color: var(--green-900);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { color: var(--green-600); transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.is-closing[open] summary .icon { transform: none; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--green-700); }
.faq-answer { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Quote section + forms ---------- */
.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.section--green .faq-list { border-top-color: rgba(201, 220, 205, 0.25); }
.section--green .faq-item { border-bottom-color: rgba(201, 220, 205, 0.25); }
.section--green .faq-item summary { color: var(--white); }
.section--green .faq-item summary:hover { color: var(--amber-100); }
.section--green .faq-item summary .icon { color: var(--amber); }
.section--green .faq-answer { color: var(--green-200); }
.next-title { margin: clamp(36px, 4vw, 48px) 0 0; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
.next-steps { margin: 20px 0 28px; padding: 0; list-style: none; display: grid; gap: 18px; counter-reset: ns; }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; }
.next-steps li::before {
  counter-increment: ns;
  content: counter(ns);
  grid-row: span 2;
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font: 700 1.0625rem/1 var(--font-display);
}
.next-steps strong { color: var(--white); font-weight: 600; }
.next-steps span { color: var(--green-200); }
.quote-contact { display: grid; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(201, 220, 205, 0.22); }
.quote-contact { justify-items: start; }
.quote-contact a { color: var(--white); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.quote-contact a:hover { text-decoration: underline; }
.quote-contact .icon { color: var(--amber); }

.form-card {
  container-type: inline-size;
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow-md);
}
.form-card h2, .form-card h3,
.section--green .form-card h2, .section--green .form-card h3 { margin-bottom: 6px; color: var(--green-900); }
.form-card h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 2.75rem); }
@container (max-width: 520px) {
  .form-card .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card .form-footer .btn { width: 100%; }
}
.form-intro { color: var(--ink-2); margin-bottom: 24px; }
.req { color: var(--error); }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend, .field .label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  padding: 0;
}
.field .hint { font-size: 0.9375rem; color: var(--ink-3); margin: -2px 0 0; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }

.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #b9c7bc;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: 400 1.0625rem/1.4 var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--green-600); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(51, 118, 75, 0.2);
}
.select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231e4a2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.textarea { min-height: 120px; resize: vertical; }

.input-group { display: flex; min-width: 0; }
.input-group .input { border-top-right-radius: 0; border-bottom-right-radius: 0; min-width: 0; }
.input-group .unit {
  display: inline-flex; align-items: center;
  padding: 0 14px;
  border: 1.5px solid #b9c7bc;
  border-left: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--ground);
  color: var(--ink-2);
  font-weight: 600;
  white-space: nowrap;
}
.input-group .unit-select {
  width: auto;
  flex: none;
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  background-color: var(--ground);
  font-weight: 600;
  color: var(--ink-2);
}
.field.has-error .unit-select { border-color: var(--error); }
.input-prefix { display: flex; min-width: 0; }
.input-prefix .prefix {
  display: inline-flex; align-items: center;
  padding: 0 12px;
  border: 1.5px solid #b9c7bc;
  border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--ground);
  color: var(--ink-2);
  font-weight: 600;
}
.input-prefix .input { border-top-left-radius: 0; border-bottom-left-radius: 0; min-width: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip label {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid #b9c7bc;
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip label .icon { width: 1.1em; height: 1.1em; display: none; }
.chip label:hover { border-color: var(--green-600); }
.chip input:checked + label { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.chip input:checked + label .icon { display: block; }
.chip input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 0.9375rem;
  color: var(--ink-2);
}
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green-700); cursor: pointer; }
.check label { cursor: pointer; }

.counter { font-size: 0.9375rem; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.counter.is-over { color: var(--error); font-weight: 600; }

.field-error {
  display: none;
  align-items: flex-start;
  gap: 6px;
  color: var(--error);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}
.field-error::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}
.field.has-error .field-error { display: flex; }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea,
.field.has-error .chip label,
.field.has-error .input-group .unit,
.field.has-error .input-prefix .prefix { border-color: var(--error); }
.field.has-error .input:focus,
.field.has-error .select:focus,
.field.has-error .textarea:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.18); }
.field.is-valid .input, .field.is-valid .select { border-color: var(--green-600); }

.form-summary {
  display: none;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--error-100);
  color: var(--error);
  font-weight: 600;
}
.form-summary.is-visible { display: block; }
.form-summary ul { margin: 6px 0 0; padding-left: 20px; font-weight: 400; }
.form-summary a { color: var(--error); }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-footer .btn { min-width: 200px; }
.form-privacy { margin: 0; font-size: 0.9375rem; color: var(--ink-3); flex: 1 1 260px; }

.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(27, 35, 29, 0.25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn[aria-busy="true"] .spinner { display: block; }
.btn[aria-busy="true"] .icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; padding: clamp(24px, 4vw, 48px) 8px; }
.form-success .success-icon {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--success);
}
.form-success .success-icon .icon { width: 32px; height: 32px; }
.form-success p { color: var(--ink-2); max-width: 46ch; margin-inline: auto; }

@media (max-width: 960px) {
  .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-footer .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: var(--green-200); padding-top: clamp(48px, 6vw, 72px); font-size: 1rem; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  padding-bottom: 48px;
}
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand b { color: var(--green-200); }
.site-footer h3 { font: 600 1.15rem/1.2 var(--font-display); color: var(--white); margin-bottom: 14px; }
.footer-links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--green-100); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--amber); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding-block: 20px;
  border-top: 1px solid rgba(201, 220, 205, 0.16);
  font-size: 0.9375rem;
  color: #a9bfae;
}
.placeholder-note { color: #a9bfae; font-size: 0.9375rem; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--rule);
    box-shadow: 0 -4px 16px rgba(16, 42, 26, 0.08);
    transition: transform 0.25s var(--ease-out);
  }
  .mobile-bar .btn { padding-inline: 12px; }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* =========================================================
   Product pages
   ========================================================= */
.nav-toggle.is-current { color: var(--green-700); box-shadow: inset 0 -3px 0 var(--green-600); border-radius: 0; }
.dropdown a[aria-current="page"] { background: var(--ground); }
@media (max-width: 960px) { .nav-toggle.is-current { box-shadow: none; } }

.breadcrumb { margin: 0 0 16px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 0.9375rem; color: var(--ink-3); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--ink-3); }
.breadcrumb a { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--green-700); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

.product-hero { padding-block: clamp(28px, 4vw, 56px) clamp(48px, 6vw, 80px); }
.product-hero .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: start; }
.product-hero h1 { font-size: clamp(2.25rem, 1.45rem + 3.4vw, 3.6rem); max-width: 16ch; }
/* Phones and tablets: the fuel switch follows the headline, before the supporting facts */
@media (max-width: 900px) {
  .product-hero .hero-grid { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .product-hero .hero-copy { display: contents; }
  .product-hero .switch { order: 1; margin: 4px 0 32px; }
  .product-hero .fact-list { order: 2; }
  .product-hero .hero-actions { order: 3; }
}

.fact-list { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.fact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.fact-list .icon { width: 22px; height: 22px; color: var(--green-600); margin-top: 2px; }
.fact-list strong { color: var(--ink); font-weight: 600; }

/* Fuel switch panel (signature): radios swap the note with pure CSS */
.switch {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(20px, 3vw, 32px);
}
.switch > :is(h2, h3) { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); margin-bottom: 6px; }
.switch-intro { color: var(--ink-2); margin-bottom: 18px; }
.switch-fuels { display: grid; grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); gap: 8px; margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.switch-fuels input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-fuels label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px;
  padding: 8px 10px;
  border: 1.5px solid #b9c7bc;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.switch-fuels label:hover { border-color: var(--green-600); }
.switch-fuels input:checked + label { background: var(--green-800); border-color: var(--green-800); color: var(--white); }
.switch-fuels input:focus-visible + label { outline: 3px solid var(--amber); outline-offset: 2px; }

.switch-note { display: none; padding-top: 18px; border-top: 1px solid var(--rule); }
.switch:has(input[value="lpg"]:checked) .switch-note[data-for="lpg"],
.switch:has(input[value="diesel"]:checked) .switch-note[data-for="diesel"],
.switch:has(input[value="fo"]:checked) .switch-note[data-for="fo"],
.switch:has(input[value="png"]:checked) .switch-note[data-for="png"],
.switch:has(input[value="field"]:checked) .switch-note[data-for="field"],
.switch:has(input[value="cane"]:checked) .switch-note[data-for="cane"],
.switch:has(input[value="veg"]:checked) .switch-note[data-for="veg"],
.switch:has(input[value="orchard"]:checked) .switch-note[data-for="orchard"],
.switch:has(input[value="nursery"]:checked) .switch-note[data-for="nursery"],
.switch:has(input[value="drip"]:checked) .switch-note[data-for="drip"],
.switch:has(input[value="sprinkler"]:checked) .switch-note[data-for="sprinkler"],
.switch:has(input[value="drench"]:checked) .switch-note[data-for="drench"],
.switch:has(input[value="foliar"]:checked) .switch-note[data-for="foliar"] { display: block; animation: note-in 0.3s var(--ease-out); }
@keyframes note-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.switch-note :is(h3, h4) { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); margin-bottom: 8px; }
.switch-note p { color: var(--ink-2); }
.switch-note .ask { margin: 0 0 20px; padding: 14px 16px; background: var(--ground); border-radius: var(--radius); font-size: 0.9375rem; color: var(--ink-2); }
.switch-note .ask strong { color: var(--ink); }
.switch-note .btn { width: 100%; white-space: normal; text-align: center; }
@media (max-width: 480px) { .switch-fuels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.switch-fuels:has(> input:nth-of-type(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 480px) {
  .switch-fuels:has(> input:nth-of-type(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .switch-fuels:has(> input:nth-of-type(5)) > label:last-of-type { grid-column: 1 / -1; }
}
.switch.is-soil .switch-fuels input:checked + label { background: var(--soil); border-color: var(--soil); }

/* Numbered switching steps: the order carries information */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: st; }
.steps li { position: relative; padding: 0 24px 0 0; }
.steps li::before {
  counter-increment: st;
  content: counter(st);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  font: 700 1.15rem/1 var(--font-display);
  position: relative; z-index: 1;
}
.steps li::after {
  content: "";
  position: absolute;
  top: 21px; left: 44px; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--green-600) 0 8px, transparent 8px 14px);
}
.steps li:last-child::after { display: none; }
.steps :is(h3, h4) { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); margin-bottom: 6px; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 16px; padding: 0; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { top: 48px; bottom: -22px; left: 21px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--green-600) 0 8px, transparent 8px 14px); }
}

/* Spec sheet */
.spec-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.spec-table th, .spec-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.spec-table thead th { background: var(--green-800); color: var(--white); font-weight: 600; border-bottom: 0; }
.spec-table thead th:first-child { border-top-left-radius: var(--radius); }
.spec-table thead th:last-child { border-top-right-radius: var(--radius); }
.spec-table tbody th { font-weight: 600; color: var(--ink); }
.spec-table td { color: var(--ink-2); white-space: nowrap; }
.spec-table tbody tr:nth-child(even) { background: var(--ground); }
.spec-source { font-size: 0.9375rem; color: var(--ink-3); max-width: 62ch; }
.spec-aside { padding: clamp(20px, 3vw, 32px); background: var(--ground); border-radius: var(--radius-lg); }
.spec-aside :is(h3, h4) { margin-bottom: 16px; }
.setup-list { display: grid; gap: 0; margin: 0 0 24px; padding: 0; list-style: none; }
.setup-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); font-size: 0.9375rem; }
.setup-list li:first-child { padding-top: 0; }
.setup-list .icon { width: 22px; height: 22px; color: var(--green-600); margin-top: 2px; }
.setup-list strong { display: block; color: var(--ink); font-size: 1.0625rem; font-weight: 600; margin-bottom: 2px; }
.spec-aside .btn { width: 100%; }
@media (max-width: 900px) { .spec-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .spec-table th, .spec-table td { padding: 12px 8px; } .spec-table td { white-space: normal; } }

/* Uses: industry leads, two secondary panels */
.use-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.use-feature figure { margin: 0; }
.use-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; border-radius: var(--radius-lg); }
.use-feature :is(h3, h4) { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); font-weight: 700; }
.use-feature p { color: var(--ink-2); }
.sector-line { padding-top: 16px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 0.9375rem; }
.sector-line strong { color: var(--ink); }
.use-feature .use-list li::before { background: var(--green-600); }
.use-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 28px); }
.use-panel { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 20px; align-items: center; padding: 16px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); }
.use-panel img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; border-radius: var(--radius); }
.use-panel :is(h3, h4) { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); margin-bottom: 6px; }
.use-panel p { color: var(--ink-2); font-size: 0.9375rem; margin-bottom: 10px; }
@media (max-width: 1024px) { .use-pair { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .use-feature { grid-template-columns: 1fr; }
  .use-feature img { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) {
  .use-panel { grid-template-columns: 1fr; }
  .use-panel img { aspect-ratio: 16 / 9; min-height: 0; }
}



/* =========================================================
   Products page
   ========================================================= */
html.has-product-bar { scroll-padding-top: calc(var(--header-h) + 72px); }

/* Router tiles */
.router { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin: clamp(28px, 4vw, 40px) 0 0; padding: 0; list-style: none; }
.router a {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 6px;
  height: 100%;
  padding: clamp(20px, 2.5vw, 28px);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.router a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.router .router-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 10px; border-radius: 50%; }
.router .router-icon .icon { width: 24px; height: 24px; }
.router .router-who { font: 700 clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem)/1.15 var(--font-display); }
.router .router-what { font-size: 1.0625rem; line-height: 1.45; }
.router .router-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; }
.router .router-go .icon { width: 18px; height: 18px; transition: transform 0.2s var(--ease-out); }
.router a:hover .router-go .icon { transform: translateX(3px); }
.router-fuel a { background: var(--green-800); color: var(--green-200); }
.router-fuel .router-who, .router-fuel .router-go { color: var(--white); }
.router-fuel .router-icon { background: rgba(227, 155, 45, 0.18); color: var(--amber); }
.router-farm a { background: var(--soil-100); color: var(--ink-2); }
.router-farm .router-who, .router-farm .router-go { color: var(--soil); }
.router-farm .router-icon { background: var(--white); color: var(--soil); }
.router-dealer a { background: var(--white); border: 1.5px solid var(--soil); color: var(--ink-2); }
.router-dealer .router-who, .router-dealer .router-go { color: var(--soil); }
.router-dealer .router-icon { background: var(--soil-100); color: var(--soil); }
@media (max-width: 860px) {
  .router { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .router a { grid-template-columns: 44px 1fr 20px; grid-template-rows: auto auto; gap: 2px 14px; align-items: center; padding: 16px 18px; }
  .router .router-icon { grid-row: span 2; width: 44px; height: 44px; margin: 0; }
  .router .router-who { grid-column: 2; }
  .router .router-what { grid-column: 2; font-size: 0.9375rem; }
  .router .router-go { grid-column: 3; grid-row: 1 / span 2; margin: 0; gap: 0; }
  .router .go-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .router .router-go .icon { width: 20px; height: 20px; }
}

/* Sticky product bar */
.product-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
}
.product-bar .container { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.product-bar ul { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.product-bar ul::-webkit-scrollbar { display: none; }
.product-bar a.bar-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.product-bar a.bar-link .icon { width: 18px; height: 18px; }
.product-bar a.bar-link:hover { background: var(--ground); color: var(--ink); }
.product-bar a.bar-link[aria-current="true"] { background: var(--green-800); color: var(--white); }
.product-bar a.bar-link.is-soil[aria-current="true"] { background: var(--soil); }
.product-bar .btn { min-height: 44px; padding-block: 0.5em; }
@media (max-width: 760px) { .product-bar .btn { display: none; } .product-bar .container { min-height: 56px; } }
@media (max-width: 460px) {
  .product-bar ul { justify-content: space-between; gap: 2px; }
  .product-bar a.bar-link { padding: 0 10px; }
  .product-bar a.bar-link .icon { display: none; }
}

/* Product titles: icon sits beside the heading, never above it */
.product-title { display: flex; align-items: center; gap: 14px; }
.product-title .title-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; }
.product-title .title-icon .icon { width: 24px; height: 24px; }
.title-icon--green { background: var(--green-800); color: var(--white); }
.title-icon--soil { background: var(--soil); color: var(--white); }
.product-hero.is-soil h2, .is-soil .section-head h2 { color: var(--soil); }
.product-intro h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 2.75rem); }
.is-soil .product-title { color: var(--soil); }
.sub-head { margin-bottom: clamp(24px, 3vw, 36px); max-width: 720px; }
.sub-head h3 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); font-weight: 700; margin-bottom: 0.3em; }
.sub-head p { color: var(--ink-2); font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); margin: 0; }
.is-soil .sub-head h3 { color: var(--soil); }
.section--soil { background: var(--soil-100); }

/* Benefit split with photo */
.benefit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.benefit figure { margin: 0; }
.benefit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.benefit .use-list li::before { background: var(--soil); }
@media (max-width: 900px) { .benefit { grid-template-columns: 1fr; } .benefit img { aspect-ratio: 16 / 10; } }

/* Pack list inside spec asides */
.pack-list { display: grid; gap: 10px; margin: 0 0 20px; padding: 0; list-style: none; }
.pack-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); color: var(--ink-2); font-size: 0.9375rem; }
.pack-list .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--soil-100); color: var(--soil); }
.pack-list strong { display: block; color: var(--ink); font-size: 1.0625rem; font-weight: 600; }
.spec-note { display: grid; grid-template-columns: 24px 1fr; gap: 12px; margin: 0 0 20px; padding: 14px 16px; background: var(--white); border-radius: var(--radius); color: var(--ink-2); font-size: 0.9375rem; }
.spec-note .icon { width: 22px; height: 22px; color: var(--soil); }
.spec-note strong { color: var(--ink); }
.is-soil .spec-table thead th { background: var(--soil); }
.metals { margin-top: 8px; border-top: 1px solid var(--rule); }
.metals summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; }
.metals summary::-webkit-details-marker { display: none; }
.metals summary .icon { color: var(--soil); transition: transform 0.2s; }
.metals[open] summary .icon { transform: rotate(180deg); }
.metals .spec-table { margin-top: 4px; }

/* Dealer band */
.dealer-band { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.dealer-band h2 { color: var(--soil); }
.dealer-band p { color: var(--ink-2); }
.dealer-points { display: grid; gap: 12px; margin: 0; padding: clamp(20px, 3vw, 28px); list-style: none; background: var(--white); border-radius: var(--radius-lg); }
.dealer-points li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--ink-2); }
.dealer-points .icon { width: 22px; height: 22px; color: var(--soil); }
.dealer-points strong { color: var(--ink); }
@media (max-width: 900px) { .dealer-band { grid-template-columns: 1fr; } }

/* Grouped FAQ */
.section--green .faq-group-title { margin: 36px 0 6px; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); color: var(--amber-100); }
.section--green .faq-group-title:first-child { margin-top: 0; }

/* Heading ladder inside product blocks: h2 product, h3 sub-section, h4 panel item */
main :is(.switch-note, .steps, .use-panel, .spec-aside) h4 { font-size: 1.15rem; }

/* Soil marks manure: FOM and LFOM components carry soil, not field green */
.is-soil .switch > :is(h2, h3),
.is-soil .switch-note :is(h3, h4),
.is-soil .spec-aside :is(h3, h4) { color: var(--soil); }
.is-soil .spec-aside { background: var(--soil-100); }
.use-panel figure { margin: 0; display: grid; gap: 6px; align-self: stretch; }
.use-panel figure .photo-note { margin: 0; }

/* =========================================================
   About page
   ========================================================= */
.product-hero .hero-grid.about-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.about-note { color: var(--ink-2); max-width: 58ch; }
.q-index { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(20px, 3vw, 32px); }
.q-index h2 { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); margin-bottom: 12px; }
.q-index ol { margin: 0; padding: 0; list-style: none; }
.q-index li + li { border-top: 1px solid var(--rule); }
.q-index a { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 0; color: var(--ink); font-weight: 600; text-decoration: none; }
.q-index a:hover { color: var(--green-700); }
.q-num {
  flex: none;
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--green-800);
  background: var(--white);
  color: var(--green-800);
  font: 700 1.0625rem/1 var(--font-display);
}
.q-title { display: flex; align-items: center; gap: 16px; }
.q-title .q-num { width: 48px; height: 48px; font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
.about-plant { margin-bottom: clamp(32px, 4vw, 48px); }
.about-plant img { aspect-ratio: 16 / 9; object-position: 50% 50%; }
.steps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) and (min-width: 901px) { .steps--5 li { padding-right: 16px; } }
@media (max-width: 900px) { .steps--5 { grid-template-columns: minmax(0, 1fr); } }
.about-cta p { color: var(--green-200); font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem); margin-bottom: 28px; max-width: 62ch; }
.about-cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 48px; align-items: center; }
.about-cta .quote-contact { padding: 0 0 0 clamp(24px, 4vw, 48px); border-top: 0; border-left: 1px solid rgba(201, 220, 205, 0.22); }
.q-index a[aria-current="true"] { color: var(--green-700); }
.q-index a[aria-current="true"] .q-num { background: var(--green-800); color: var(--white); }
@media (max-width: 900px) {
  .product-hero .hero-grid.about-hero { grid-template-columns: minmax(0, 1fr); }
  /* Every About section opens with its question, then the photo */
  .about-plant > .section-head, #q-matter .benefit > div { order: -1; }
  .about-cta-grid { grid-template-columns: minmax(0, 1fr); }
  .about-cta .quote-contact { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(201, 220, 205, 0.22); }
  .about-hero .q-index { margin-top: 8px; }
}

/* =========================================================
   Contact page
   ========================================================= */
.contact-hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-grid h1 { margin-bottom: 0.35em; }
@media (min-width: 961px) { .contact-side { position: sticky; top: calc(var(--header-h) + 24px); } }
.faq-call { margin-top: 20px; }
.channels { display: grid; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.channel {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--ground);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.channel:hover { border-color: var(--green-600); box-shadow: var(--shadow-sm); color: var(--ink); }
.channel-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-800); color: var(--white); }
.channel-icon .icon { width: 24px; height: 24px; }
.channel-label { display: block; color: var(--ink-3); font-size: 0.9375rem; }
.channel strong { display: block; font: 700 clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem)/1.2 var(--font-display); color: var(--green-900); overflow-wrap: anywhere; }
.addresses { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.address { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.address .icon { width: 22px; height: 22px; color: var(--green-600); margin-top: 2px; }
.address h3 { font-size: 1.15rem; margin: 0 0 2px; }
.address p, .address address { margin: 0; color: var(--ink-2); font-size: 0.9375rem; font-style: normal; line-height: 1.5; }
.next-title--light { font-size: clamp(1.3rem, 1.15rem + 0.6vw, 1.6rem); }
.next-steps--light li::before { background: var(--green-800); color: var(--white); }
.next-steps--light strong { color: var(--ink); }
.next-steps--light span { color: var(--ink-2); }
.contact-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
@media (max-width: 960px) {
  .contact-grid, .contact-faq { grid-template-columns: minmax(0, 1fr); }
  /* Phones and tablets: channels, then the form, then addresses and next steps */
  .contact-side { display: contents; }
  .contact-grid { row-gap: 0; }
  .contact-grid .form-card { order: 1; margin-bottom: 32px; }
  .contact-grid .addresses { order: 2; }
  .contact-grid .next-title { order: 3; }
  .contact-grid .next-steps { order: 4; margin-bottom: 0; }
  .contact-faq .section-head { position: static; }
}
@media (max-width: 420px) { .addresses { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Wide frame: full-width photo heroes and photo-backed bands
   ========================================================= */
.hero-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--green-950);
  color: var(--green-100);
  padding-block: clamp(64px, 9vw, 128px) clamp(56px, 7vw, 96px);
}
.hero-photo .hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Scrim: strongest behind the text column, lighter where the photo shows */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(16, 42, 26, 0.86) 0%, rgba(16, 42, 26, 0.66) 50%, rgba(16, 42, 26, 0.32) 100%);
}
.hero-photo h1 { color: var(--white); }
.hero-photo .hero-lead, .hero-photo .about-note { color: var(--green-100); }
.hero-photo .hero-lead strong { color: var(--white); }
.hero-photo .breadcrumb a { color: var(--green-200); }
.hero-photo .breadcrumb a:hover { color: var(--white); }
.hero-photo .breadcrumb [aria-current] { color: var(--white); }
.hero-photo .breadcrumb li + li::before { color: var(--green-200); }
.hero-photo .hero-points { color: var(--white); border-top-color: rgba(201, 220, 205, 0.3); }
.hero-photo .hero-points .icon { color: var(--green-200); }
.hero-credit {
  position: absolute;
  right: var(--gutter);
  bottom: 10px;
  margin: 0;
  font-size: 0.8125rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(16, 42, 26, 0.75);
  color: var(--white);
}
.contact-banner .hero-credit { left: var(--gutter); right: auto; }
.hero-photo--home .hero-copy { max-width: 760px; }
.hero-photo--home h1 { max-width: 16ch; }
.hero-photo .hero-strip { background: rgba(255, 255, 255, 0.96); border-color: transparent; box-shadow: var(--shadow-md); }
.hero-photo .router a { box-shadow: var(--shadow-md); }
.hero-photo .router-fuel a { border: 1px solid rgba(201, 220, 205, 0.25); }
.hero-photo .q-index { border-color: transparent; box-shadow: 0 6px 20px rgba(16, 42, 26, 0.28); }
@media (max-width: 900px) {
  .hero-photo::before { background: linear-gradient(180deg, rgba(16, 42, 26, 0.84) 0%, rgba(16, 42, 26, 0.7) 55%, rgba(16, 42, 26, 0.5) 100%); }
  .hero-photo--home .hero-bg { object-position: 62% 50%; }
  .hero-photo.product-hero:not(:has(.about-hero)) .hero-bg { object-position: 50% 80%; }
  .hero-photo:has(.about-hero) .hero-bg { object-position: 50% 30%; }
  .hero-credit { bottom: 6px; }
}

/* Contact: a photo banner, with the form card rising into it on wide screens */
.contact-banner { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 7vw, 96px); }
.contact-banner-copy { max-width: 620px; }
.contact-banner h1 { margin-bottom: 0.35em; }
.contact-hero { position: relative; z-index: 1; padding-top: clamp(24px, 3vw, 40px); }
.contact-side .channels { margin-top: 0; }
@media (min-width: 961px) {
  .contact-banner { padding-bottom: clamp(200px, 18vw, 260px); }
  .contact-banner-copy { max-width: min(560px, 40%); }
  .contact-grid .form-card { margin-top: calc(-1 * clamp(200px, 18vw, 260px) - clamp(24px, 3vw, 40px)); }
}

/* Inline photo under a sticky section head */
.why-photo { margin: 28px 0 0; }
.why-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 900px) { .why-photo img { aspect-ratio: 16 / 10; } }

/* Photo-backed bands: the photo is texture under a strong tint, so text keeps full contrast */
.bg-sugarcane { background-image: linear-gradient(rgba(30, 74, 47, 0.82), rgba(30, 74, 47, 0.82)), url("../img/bg-sugarcane-800.jpg"); background-size: cover; background-position: center; }
.bg-agri-shop { background-image: linear-gradient(rgba(242, 234, 225, 0.72), rgba(242, 234, 225, 0.72)), url("../img/bg-agri-shop-800.jpg"); background-size: cover; background-position: center 40%; }
.bg-agri-shop .dealer-band > div { padding: clamp(20px, 3vw, 32px); background: rgba(242, 234, 225, 0.94); border-radius: var(--radius-lg); }
@media (min-width: 801px) {
  .bg-sugarcane { background-image: linear-gradient(rgba(30, 74, 47, 0.82), rgba(30, 74, 47, 0.82)), url("../img/bg-sugarcane-1600.jpg"); }
  .bg-agri-shop { background-image: linear-gradient(rgba(242, 234, 225, 0.72), rgba(242, 234, 225, 0.72)), url("../img/bg-agri-shop-1600.jpg"); }
}

/* =========================================================
   Synerva Energy logo (raster, transparent background)
   ========================================================= */
.brand-logo { display: block; height: 56px; width: auto; max-width: none; }
.site-header .brand { padding-block: 6px; }
@media (max-width: 560px) { .brand-logo { height: 46px; } }
/* Footer: the logo's dark lettering sits on a white plate over the dark band */
.brand--footer { display: inline-flex; padding: 12px 16px; background: var(--white); border-radius: var(--radius-lg); }
.brand--footer .brand-logo { height: 72px; }

.footer-contact address { font-style: normal; line-height: 1.5; }

/* ---------- WordPress ---------- */
/* The home hero strip sits inside .hero-copy, so only the copy keeps the narrow measure. */
.hero-photo--home .hero-copy { max-width: none; }
.hero-photo--home .hero-copy > :is(.breadcrumb, .hero-actions, .hero-points, .about-note) { max-width: 760px; }
html:has(.product-bar) { scroll-padding-top: calc(var(--header-h) + 72px); }

/* Pages and posts written with ordinary blocks */
.entry { max-width: 72ch; }
.entry > * + * { margin-top: 1em; }
.entry :is(h2, h3, h4) { margin-top: 1.6em; }
.entry img { height: auto; border-radius: var(--radius); }
.entry .alignwide { max-width: none; }
.entry .aligncenter { margin-inline: auto; }
.entry .wp-caption-text, .entry figcaption { font-size: 0.875rem; color: var(--ink-3); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; }
.custom-logo-link { display: inline-flex; }
.entry--center { text-align: center; }
.entry--center .hero-actions { justify-content: center; margin-top: 24px; }
.entry-list { list-style: none; padding: 0; }
.entry-list li + li { margin-top: 28px; }
