/* ==========================================================================
   RESET
   ========================================================================== */

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

html, body, h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, dt, ul, ol, fieldset, legend {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

button, input, textarea, select { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }

table { border-collapse: collapse; border-spacing: 0; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); }
[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); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   BEEROOLE BRAND SYSTEM
   --------------------------------------------------------------------------
   Poppins, the Beeroole greens and the orange accent, generous radii and
   green-cast shadows — the identity the site already had, rebuilt as a full
   scale so every surface is a considered step rather than an approximation.
   ========================================================================== */

:root {
  color-scheme: light;

  --font: 'Poppins', 'Poppins Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Green — #1b5e20 is the brand primary; the rest is the ramp around it. */
  --green-900: #0a2610;
  --green-850: #0f3517;
  --green-800: #14421c;
  --green-700: #1b5e20;
  --green-600: #2e7d32;
  --green-500: #43a047;
  --green-400: #66bb6a;
  --green-300: #81c784;
  --green-200: #b5dcb8;
  --green-100: #d9ecda;
  --green-50:  #eff7f0;

  /* Orange — the accent. #ff9800 is the brand value and is used for fills,
     dots and highlights; --orange-700 is its accessible text counterpart. */
  --orange-700: #a35200;
  --orange-600: #cc6d00;
  --orange-500: #ff9800;
  --orange-400: #ffab33;
  --orange-300: #ffc46b;
  --orange-100: #ffe6c2;
  --orange-50:  #fff6ea;

  /* Ink & surface — neutrals carry a slight green cast so they sit with the
     brand rather than reading as imported grey. */
  --ink:      #18211a;
  --ink-2:    #4a564d;
  --ink-3:    #626d64;   /* 5.4:1 on white, 5.1:1 on the soft band */
  --surface:  #ffffff;
  --bg:       #ffffff;
  --bg-soft:  #f5f9f5;
  --line:     #e4ebe4;
  --line-2:   #cfd9d0;
  --control:  #808b81;   /* 3.5:1 on white, 3.3:1 on the soft band (WCAG 1.4.11) */

  /* Semantic — severity, kept clear of the brand accent. */
  --sev-low-fg:  #1b5e20; --sev-low-bg:  #eff7f0; --sev-low-bd:  #cfe6d1;
  --sev-med-fg:  #8a5a00; --sev-med-bg:  #fff6ea; --sev-med-bd:  #f2ddbe;
  --sev-high-fg: #a32617; --sev-high-bg: #fdf0ee; --sev-high-bd: #f3d2cd;

  /* Shape */
  --r-sm:   10px;
  --r:      16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-full: 999px;

  /* Elevation — tinted with the brand green, never neutral black. */
  --sh-sm: 0 1px 2px rgba(27, 94, 32, .06);
  --sh:    0 10px 30px -14px rgba(27, 94, 32, .22);
  --sh-lg: 0 28px 64px -32px rgba(10, 38, 16, .40);

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 68ch;
  --section-y: clamp(3.5rem, 7vw, 6.5rem);

  /* Brand gradient. Only ever used over dark grounds, where the light green
     and orange both clear contrast; on white it is replaced by solid green. */
  --grad-brand: linear-gradient(96deg, #cdefcf 0%, #ffd591 46%, #ff9800 100%);
}

/* Fallback metrics keep the swap from shifting layout. */
@font-face {
  font-family: 'Poppins Fallback';
  src: local('Helvetica Neue'), local('Arial');
  ascent-override: 92%; descent-override: 31%; line-gap-override: 0%; size-adjust: 112%;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--green-700); color: #fff; }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 3px;
  border-radius: 4px;
}
.band-dark :where(a, button):focus-visible,
.hero :where(a, button):focus-visible,
.page-hero :where(a, button):focus-visible,
.cta-banner :where(a, button):focus-visible { outline-color: var(--orange-400); }

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.display, .h1, .h2 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.06; text-wrap: balance; }

.display { font-size: clamp(2.6rem, 1.5rem + 4.6vw, 5rem); }
.h1      { font-size: clamp(2.1rem, 1.5rem + 2.5vw, 3.4rem); letter-spacing: -0.028em; }
.h2      { font-size: clamp(1.7rem, 1.35rem + 1.5vw, 2.5rem); letter-spacing: -0.025em; line-height: 1.12; }

/* In-article section heading — matches .prose h2 so a standalone section
   heading does not tower over the ones inside the prose beside it. */
.h2-sub { font-weight: 700; font-size: clamp(1.4rem, 1.25rem + 0.6vw, 1.6rem); line-height: 1.2; letter-spacing: -0.025em; }

.h3 {
  font-weight: 600;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
}

/* The accent word. Solid green on light grounds, brand gradient on dark. */
.accent { color: var(--green-700); }
.band-dark .accent, .hero .accent, .page-hero .accent, .cta-banner .accent {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 48ch;
  text-wrap: pretty;
}

/* Eyebrow — a pill on dark grounds, plain tracked caps on light. */
.label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1;
}
.label--brand { color: var(--green-700); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--green-800);
  background: var(--green-50);
  border: 1px solid var(--green-100);
}
.eyebrow__dot {
  width: 0.5rem; height: 0.5rem; border-radius: var(--r-full);
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(255, 152, 0, .22);
  flex: none;
}
.band-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow {
  color: #eafaee;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}

/* Long-form copy */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: var(--ink-2); text-wrap: pretty; }
.prose h2 { font-weight: 700; font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.025em; color: var(--ink); margin-top: 2.2em; }
.prose h3 { font-weight: 600; font-size: 1.12rem; color: var(--ink); margin-top: 1.8em; }
.prose ul { padding-left: 0; }
.prose ol { list-style: decimal; padding-left: 1.2rem; }
.prose li + li { margin-top: 0.5em; }
.prose ul > li { position: relative; padding-left: 1.6rem; }
.prose ul > li::before {
  content: ""; position: absolute; left: 0; top: 0.66em;
  width: 7px; height: 7px; border-radius: var(--r-full);
  background: var(--green-400);
}
.prose a { color: var(--green-700); font-weight: 500; text-decoration: underline; text-decoration-color: var(--green-200); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.prose a:hover { color: var(--green-600); text-decoration-color: var(--green-400); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose img { border-radius: var(--r); margin-block: 1.8em; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide   { max-width: 1440px; }
.wrap--narrow { max-width: 780px; }

.section { padding-block: var(--section-y); }
.rule    { border-top: 1px solid var(--line); }

.band-paper-2 { background: var(--bg-soft); }

/* Dark band — a deep field green with a soft radial lift, so large dark
   areas have some depth instead of reading as a flat block. */
.band-dark {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(67, 160, 71, .28), transparent 60%),
    linear-gradient(165deg, var(--green-850) 0%, var(--green-900) 100%);
  color: #fff;
}
.band-dark .label { color: rgba(255, 255, 255, .66); }
.band-dark .lede  { color: rgba(255, 255, 255, .78); }
.band-dark a:not(.btn) { color: #fff; }

.sec-head { display: flex; flex-direction: column; gap: 1rem; max-width: 46rem; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 50px;
  padding: 0.85rem 1.7rem;
  border: 1px solid transparent;
  border-radius: var(--r-full);
  font-size: 0.95rem; font-weight: 600; line-height: 1;
  letter-spacing: -0.005em;
  text-align: center; cursor: pointer;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), background-color .22s ease,
              border-color .22s ease, color .22s ease, box-shadow .22s ease;
}
.btn:active { transform: translateY(0) scale(.985); }
.btn svg { flex: none; }

.btn--primary {
  background: var(--green-700); color: #fff;
  box-shadow: 0 8px 22px -12px rgba(27, 94, 32, .55);
}
.btn--primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(27, 94, 32, .6); }

.btn--accent {
  background: var(--orange-500); color: #241300;
  box-shadow: 0 8px 22px -12px rgba(255, 152, 0, .65);
}
.btn--accent:hover { background: var(--orange-400); transform: translateY(-2px); }

.btn--ghost { border-color: var(--control); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--green-700); color: var(--green-700); background: var(--green-50); }

.btn--light { background: #fff; color: var(--green-700); box-shadow: 0 10px 26px -14px rgba(0,0,0,.5); }
.btn--light:hover { background: var(--green-50); transform: translateY(-2px); }

.btn--onDark {
  border-color: rgba(255,255,255,.4); color: #fff;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn--onDark:hover { background: rgba(255,255,255,.18); border-color: #fff; transform: translateY(-2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; font-size: 0.95rem; color: var(--green-700);
}
.link-arrow svg { transition: transform .22s ease; }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--green-600); }
.band-dark .link-arrow { color: var(--orange-300); }

/* ==========================================================================
   CHIPS
   ========================================================================== */

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border-radius: var(--r-full);
  font-size: 0.75rem; font-weight: 600; line-height: 1.35;
  border: 1px solid transparent;
  white-space: nowrap;
}
.chip__dot { width: 6px; height: 6px; border-radius: var(--r-full); background: currentColor; flex: none; }

.chip--low     { color: var(--sev-low-fg);  background: var(--sev-low-bg);  border-color: var(--sev-low-bd); }
.chip--medium  { color: var(--sev-med-fg);  background: var(--sev-med-bg);  border-color: var(--sev-med-bd); }
.chip--high    { color: var(--sev-high-fg); background: var(--sev-high-bg); border-color: var(--sev-high-bd); }
.chip--neutral { color: var(--ink-2);       background: var(--bg-soft);     border-color: var(--line); }

/* ==========================================================================
   CARDS & LISTS
   ========================================================================== */

.tile {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: border-color .25s ease, transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease;
}
a.tile:hover, .tile--lift:hover {
  border-color: var(--green-200);
  transform: translateY(-4px);
  box-shadow: var(--sh);
}

/* Feature card with a circular icon badge — the pattern the site already used. */
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 1.9rem);
  transition: border-color .25s ease, transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease;
}
.feature:hover { border-color: var(--green-200); transform: translateY(-4px); box-shadow: var(--sh); }
.feature__icon {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: 1.35rem;
  border-radius: var(--r-full);
  background: var(--green-50); color: var(--green-700);
  border: 1px solid var(--green-100);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.feature:hover .feature__icon { background: var(--green-700); color: #fff; border-color: var(--green-700); }
.feature p { color: var(--ink-2); font-size: 0.95rem; margin-top: 0.6rem; }

.band-dark .feature {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.13);
}
.band-dark .feature:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.25); }
.band-dark .feature p { color: rgba(255,255,255,.72); }
.band-dark .feature__icon { background: rgba(255,255,255,.1); color: var(--green-300); border-color: rgba(255,255,255,.18); }
.band-dark .feature:hover .feature__icon { background: var(--green-500); color: #fff; border-color: var(--green-500); }

/* Rule-separated rows */
.rows { border-top: 1px solid var(--line); }
.row  { border-bottom: 1px solid var(--line); }
.row-link {
  display: flex; gap: 1.25rem; align-items: baseline;
  padding: 1.1rem 1rem 1.1rem 0.9rem;
  margin-inline: -0.9rem;
  border-radius: var(--r-sm);
  transition: background-color .18s ease, padding-left .18s ease;
}
.row-link:hover { background: var(--green-50); padding-left: 1.15rem; }
.row-link:hover .row-title { color: var(--green-700); }
.row-title { font-weight: 600; transition: color .18s ease; }

.rows .chip { min-width: 6rem; justify-content: center; }
@media (max-width: 640px) { .rows .chip { min-width: 0; } }

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid var(--line);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
/* The blur sits on a pseudo-element: a backdrop-filter on the header itself
   becomes the containing block for the fixed-position mobile drawer. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

/* Over a photographic hero the bar is transparent, then resolves to solid
   white once the page scrolls past it. */
.site-header--over {
  position: fixed; left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
}
.site-header--over::before { display: none; }
.site-header--over .brand span { color: #fff; }
.site-header--over .nav > a { color: rgba(255,255,255,.86); }
.site-header--over .nav > a:hover { color: #fff; }
.site-header--over .nav > a[aria-current="page"] { color: #fff; }
.site-header--over .nav > a[aria-current="page"]::after { background: var(--orange-500); }
.site-header--over .nav-toggle { color: #fff; }
.site-header--over .lang { border-color: rgba(255,255,255,.4); }
.site-header--over .lang a { color: rgba(255,255,255,.75); }
.site-header--over .lang a[aria-current="true"] { background: #fff; color: var(--green-800); }
.site-header--over .btn--primary { background: #fff; color: var(--green-800); }
.site-header--over .btn--primary:hover { background: var(--green-50); }

.site-header--over.is-stuck {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -12px rgba(10,38,16,.3);
}
.site-header--over.is-stuck::before { display: block; }
.site-header--over.is-stuck .brand span { color: var(--green-700); }
.site-header--over.is-stuck .nav > a { color: var(--ink-2); }
.site-header--over.is-stuck .nav > a:hover,
.site-header--over.is-stuck .nav > a[aria-current="page"] { color: var(--ink); }
.site-header--over.is-stuck .nav > a[aria-current="page"]::after { background: var(--green-700); }
.site-header--over.is-stuck .nav-toggle { color: var(--ink); }
.site-header--over.is-stuck .lang { border-color: var(--control); }
.site-header--over.is-stuck .lang a { color: var(--ink-3); }
.site-header--over.is-stuck .lang a[aria-current="true"] { background: var(--green-700); color: #fff; }
.site-header--over.is-stuck .btn--primary { background: var(--green-700); color: #fff; }
.site-header--over.is-stuck .btn--primary:hover { background: var(--green-800); }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand img { width: 38px; height: 38px; border-radius: var(--r-sm); }
.brand span { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.03em; color: var(--green-700); transition: color .3s ease; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav > a {
  position: relative; font-size: 0.95rem; font-weight: 500; color: var(--ink-2);
  padding-block: 0.4rem; transition: color .18s ease;
}
.nav > a:hover { color: var(--ink); }
.nav > a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav > a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  border-radius: 2px; background: var(--green-700);
}

.lang { display: inline-flex; border: 1px solid var(--control); border-radius: var(--r-full); overflow: hidden; }
.lang a { padding: 0.4rem 0.7rem; font-size: 0.78rem; font-weight: 600; color: var(--ink-3); line-height: 1.3; transition: background-color .2s ease, color .2s ease; }
.lang a[aria-current="true"] { background: var(--green-700); color: #fff; }

.nav-toggle { display: none; }
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; margin-right: -0.6rem;
    border-radius: var(--r-full); color: var(--ink);
  }
  .nav-toggle .i-close { display: none; }
  .nav-toggle[aria-expanded="true"] .i-open { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: block; }
  .site-header--over .nav-toggle[aria-expanded="true"] { color: var(--ink); }

  .site-nav {
    position: fixed; inset: 76px 0 0; z-index: 55;
    background: var(--bg);
    padding: 1.75rem var(--gutter) 3rem;
    flex-direction: column; align-items: stretch; gap: 0;
    overflow-y: auto;
    visibility: hidden; opacity: 0;
    transition: opacity .22s ease, visibility .22s ease;
  }
  .site-nav[data-open="true"] { visibility: visible; opacity: 1; }
  .site-nav > a {
    font-size: 1.3rem; font-weight: 600; color: var(--ink) !important;
    padding-block: 1.05rem; border-bottom: 1px solid var(--line);
  }
  .site-nav > a[aria-current="page"] { color: var(--green-700) !important; }
  .site-nav > a[aria-current="page"]::after { display: none; }
  .site-nav .nav-tail { margin-top: 2rem; display: flex; flex-direction: column; align-items: stretch; gap: 1.15rem; }
  .site-nav .nav-tail .lang { align-self: flex-start; border-color: var(--control) !important; }
  .site-nav .nav-tail .lang a { color: var(--ink-3) !important; }
  .site-nav .nav-tail .lang a[aria-current="true"] { background: var(--green-700) !important; color: #fff !important; }
  .site-nav .nav-tail .btn--primary { background: var(--green-700) !important; color: #fff !important; }
}
@media (min-width: 961px) {
  .site-nav { display: flex !important; visibility: visible !important; opacity: 1 !important; }
}

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--green-700); color: #fff; padding: 0.8rem 1.2rem;
  border-radius: var(--r-full); font-weight: 600;
  transition: top .18s ease;
}
.skip:focus { top: 1rem; }

/* ==========================================================================
   HERO — full-bleed photograph, layered scrim, grain
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(92svh, 900px);
  padding-block: 11rem 3.5rem;
  overflow: hidden;
  background: var(--green-900);
}

.hero__media { position: absolute; inset: 0; z-index: -3; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
  transform: scale(1.06);
  animation: hero-settle 14s cubic-bezier(.16,.7,.3,1) forwards;
}

/* Layered scrim: a green wash for brand, a bottom-weighted darkening for
   legibility, and a fade into the section below so the join is not a seam. */
.hero__scrim {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(10,38,16,.80) 0%, rgba(10,38,16,.30) 26%, rgba(10,38,16,.42) 52%, rgba(10,38,16,.88) 88%, var(--green-900) 100%),
    linear-gradient(100deg, rgba(8,32,13,.88) 0%, rgba(8,32,13,.55) 34%, rgba(8,32,13,.12) 68%, transparent 88%),
    radial-gradient(110% 70% at 50% 0%, rgba(27,94,32,.55), transparent 62%);
}

/* Fine grain, generated rather than shipped as an image asset. */
.hero__grain {
  position: absolute; inset: 0; z-index: -1;
  opacity: .30; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.hero__inner { position: relative; width: 100%; }
.hero__content { max-width: 44rem; color: #fff; }

.hero .display { margin-top: 1.6rem; text-shadow: 0 2px 30px rgba(0,0,0,.32); }

.hero__sub {
  margin-top: 1.4rem;
  max-width: 36rem;
  font-size: clamp(1.02rem, 0.97rem + 0.35vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255,255,255,.84);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.4rem; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 1.5rem 3.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: 1.9rem;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero__stat { display: flex; flex-direction: column; gap: 0.25rem; }
.hero__stat dt { font-size: 1.15rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.hero__stat dd {
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.13em;
  text-transform: uppercase; color: rgba(255,255,255,.62);
}

@keyframes hero-settle { to { transform: scale(1); } }

@media (max-width: 700px) {
  .hero { min-height: auto; padding-block: 8.5rem 3rem; }
}

/* Inner hero — the compact photographic banner used on interior pages. */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(67,160,71,.30), transparent 62%),
    linear-gradient(160deg, var(--green-850), var(--green-900));
  color: #fff;
  padding-block: clamp(6.5rem, 11vw, 8.5rem) clamp(2.75rem, 5vw, 4rem);
}
.page-hero .lede { color: rgba(255,255,255,.78); }
.page-hero .crumbs, .page-hero .crumbs a { color: rgba(255,255,255,.62); }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs [aria-current] { color: rgba(255,255,255,.9); }
.page-hero__grain {
  position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   PRODUCT SCREENS
   ========================================================================== */

.screens {
  display: flex; gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto; padding-block: 0.5rem 1.5rem;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
}
.screen { flex: none; width: min(248px, 64vw); scroll-snap-align: center; }
.screen img {
  width: 100%;
  border-radius: 26px;
  filter: drop-shadow(0 30px 50px rgba(5, 24, 10, .45));
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}
.screen:hover img { transform: translateY(-6px); }
.screen figcaption { margin-top: 1.15rem; font-size: 0.9rem; line-height: 1.55; color: var(--ink-2); }
.screen figcaption b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.2rem; }
.band-dark .screen figcaption { color: rgba(255,255,255,.7); }
.band-dark .screen figcaption b { color: #fff; }

/* ==========================================================================
   DISEASE LIBRARY
   ========================================================================== */

.crop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.9rem; }
.crop-cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--sh-sm);
  transition: border-color .22s ease, transform .22s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease;
}
.crop-cell:hover { border-color: var(--green-300); transform: translateY(-3px); box-shadow: var(--sh); }
.crop-cell__img { display: block; width: 3.5rem; height: 3.5rem; margin-bottom: .8rem; border-radius: 50%; object-fit: cover; background: var(--bg-soft); border: 1px solid var(--line); }
.crop-cell__name { display: block; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.015em; }
.crop-cell__count { display: block; margin-top: 0.15rem; font-size: 0.82rem; color: var(--ink-3); }
.crop-cell:hover .crop-cell__name { color: var(--green-700); }

.factbox {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.factbox div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line); }
.factbox div:last-child { border-bottom: 0; }
.factbox dt { font-size: 0.82rem; color: var(--ink-3); }
.factbox dd { font-size: 0.88rem; font-weight: 500; text-align: right; }
.factbox dd i { font-style: italic; font-weight: 400; }

.route { border-top: 1px solid var(--line); padding-top: 1.6rem; margin-top: 1.6rem; }
.route:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.route__head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.route__head h3 { margin: 0; }
.route__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; flex: none;
  border-radius: var(--r-full);
  background: var(--green-50); color: var(--green-700);
  border: 1px solid var(--green-100);
}

.ingredients { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.ingredients li {
  font-size: 0.8rem; padding: 0.3rem 0.75rem;
  border: 1px solid var(--line); border-radius: var(--r-full);
  color: var(--ink-2); background: var(--bg-soft);
}

.callout {
  border: 1px solid var(--orange-100);
  border-left: 4px solid var(--orange-500);
  border-radius: var(--r);
  background: var(--orange-50);
  padding: 1.25rem 1.4rem;
}
.callout h2, .callout h3 { color: var(--orange-700); }
.callout p { color: var(--ink-2); font-size: 0.95rem; }

.callout--info {
  border-color: var(--green-100);
  border-left-color: var(--green-500);
  background: var(--green-50);
}
.callout--info h2, .callout--info h3 { color: var(--green-800); }

.sources { font-size: 0.9rem; }
.sources li { padding-block: 0.65rem; border-bottom: 1px solid var(--line); }
.sources li:first-child { border-top: 1px solid var(--line); }
.sources a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.sources a:hover { color: var(--green-700); text-decoration-color: var(--green-300); }

/* ==========================================================================
   MARKET TABLE
   ========================================================================== */

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.price-card__head { padding: 1.35rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--bg-soft); }

.price-table { width: 100%; }
.price-table thead th {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--ink-3); padding: 0.85rem 1.5rem; border-bottom: 1px solid var(--line);
  text-align: left;
}
.price-table tbody th {
  padding: 0.85rem 1.5rem; border-bottom: 1px solid var(--line);
  text-align: left; font-weight: 500; font-size: 1rem; color: var(--ink);
}
.price-table td { padding: 0.85rem 1.5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-table tbody tr:last-child td, .price-table tbody tr:last-child th { border-bottom: 0; }
.price-table tbody tr { transition: background-color .16s ease; }
.price-table tbody tr:hover { background: var(--green-50); }
.price-table .num {
  text-align: right; font-variant-numeric: tabular-nums;
  font-weight: 700; font-size: 1.1rem; color: var(--green-700); letter-spacing: -0.02em;
}
.price-table .unit { text-align: right; color: var(--ink-3); font-size: 0.85rem; white-space: nowrap; }
/* The global img{max-width:100%} let this column collapse to a sliver, since
   a shrinkable image has no min-content width. Pin the box explicitly. */
.price-table td:first-child, .price-table thead th:first-child { width: 84px; }
.price-thumb {
  display: block;   /* the empty placeholder is a <span> */
  width: 48px; height: 48px;
  min-width: 48px; max-width: 48px;
  border-radius: var(--r-sm);
  object-fit: cover; background: var(--green-50); border: 1px solid var(--line);
}

/* ==========================================================================
   FORMS
   ========================================================================== */

.field { display: block; margin-bottom: 1.35rem; }
.field > span { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.45rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.9rem 1.05rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--control); border-radius: var(--r-sm);
  font: inherit; font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--green-600); outline: 2px solid transparent;
  box-shadow: 0 0 0 4px rgba(46, 125, 50, .14);
}
.field textarea { resize: vertical; min-height: 8.5rem; }
.field .hint { display: block; margin-top: 0.4rem; font-size: 0.83rem; color: var(--ink-3); }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(100% 120% at 85% 100%, rgba(67,160,71,.22), transparent 60%),
    linear-gradient(170deg, var(--green-850), var(--green-900));
  color: rgba(255,255,255,.72);
}
.site-footer .brand span { color: #fff; }
.site-footer a:not(.btn) { color: rgba(255,255,255,.72); transition: color .18s ease; }
.site-footer a:not(.btn):hover { color: var(--orange-300); }
.site-footer h2 {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 1.15rem;
}
.site-footer .rule { border-top-color: rgba(255,255,255,.14); }

/* Text tokens are dark by default; inside the dark footer they have to be
   restated or the tagline and address disappear into the ground. */
.site-footer .muted   { color: rgba(255,255,255,.72); }
.site-footer .muted-2 { color: rgba(255,255,255,.52); }

/* An explicit layout: the brand block, then three link columns. auto-fit was
   giving the brand a third of the row and squeezing the links into one file. */
.footer-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 720px)  { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid > :first-child { max-width: 26rem; }

/* Decorative brand leaf, low contrast, purely atmospheric. */
.footer-mark {
  position: absolute; right: -6rem; bottom: -8rem; z-index: -1;
  width: 32rem; height: auto; opacity: .06; pointer-events: none;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.crumbs { font-size: 0.84rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--green-700); }
.crumbs [aria-current] { color: var(--ink-2); }

/* ==========================================================================
   LOGO STRIP
   ========================================================================== */

.logo-strip { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.logo-strip li {
  display: flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; padding: 0.9rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-sm);
}
.logo-strip img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }

/* ==========================================================================
   LAYOUT PRIMITIVES
   ========================================================================== */

.stack > * + *    { margin-top: 1rem; }
.stack-sm > * + * { margin-top: 0.55rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 0.85rem; }

.grid   { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 920px) {
  .split { grid-template-columns: minmax(0, 1fr) 21rem; align-items: start; }
  .split__aside { position: sticky; top: 6.5rem; }
}

.head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }

.mt-0 { margin-top: 0; } .mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

.muted   { color: var(--ink-2); }
.muted-2 { color: var(--ink-3); }
.small   { font-size: 0.9rem; line-height: 1.6; }
.tiny    { font-size: 0.83rem; line-height: 1.55; }
.center  { text-align: center; }
.nowrap  { white-space: nowrap; }
.full    { width: 100%; }

.band-dark .muted   { color: rgba(255,255,255,.76); }
.band-dark .muted-2 { color: rgba(255,255,255,.58); }

/* ==========================================================================
   CTA BANNER
   ========================================================================== */

.cta-banner {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  background:
    radial-gradient(90% 120% at 20% 0%, rgba(67,160,71,.4), transparent 60%),
    linear-gradient(150deg, var(--green-700), var(--green-900));
  color: #fff;
  box-shadow: var(--sh-lg);
}
.cta-banner__mark { position: absolute; z-index: -1; opacity: .09; pointer-events: none; color: var(--green-300); }
.cta-banner__mark--a { top: -3rem; left: -3rem; width: 22rem; }
.cta-banner__mark--b { bottom: -4rem; right: -3rem; width: 26rem; transform: rotate(180deg); }
.cta-banner .lede { color: rgba(255,255,255,.8); margin-inline: auto; }

/* ==========================================================================
   MOTION
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(16px); }
  .js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__media img { transform: none; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}

/* Line break that only applies once there is room for it. */
@media (max-width: 767px) { .max-md-hide { display: none; } }

/* -- News grid ------------------------------------------------------------ */
.news-grid {
  display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
}
.news-card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: inherit; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.news-card:hover, .news-card:focus-visible {
  transform: translateY(-3px); border-color: var(--line-2);
  box-shadow: 0 18px 36px -22px rgba(24,33,26,.35);
}
.news-card__media {
  display: grid; place-items: center; aspect-ratio: 16 / 10;
  background: var(--bg-soft); overflow: hidden;
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__media .news-card__fallback { width: 3.5rem; height: 3.5rem; object-fit: contain; opacity: .55; }
.news-card:hover .news-card__media .news-card__fallback { transform: none; }
.news-card__body { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem 1.35rem 1.4rem; flex: 1; }
.news-card__title { font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.news-card__excerpt { font-size: .95rem; color: var(--ink-2); line-height: 1.55; }
.news-card__more { margin-top: auto; padding-top: .5rem; }
@media (prefers-reduced-motion: reduce) {
  .news-card, .news-card__media img { transition: none; }
  .news-card:hover { transform: none; }
}
