/* ==== fonts.css ==== */
/* Self-hosted subset fonts. Inter + Libre Baskerville, SIL OFL 1.1. See ASSET-SOURCES.md */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/inter-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/inter-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Libre Baskerville';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/librebaskerville-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Libre Baskerville';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/librebaskerville-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Libre Baskerville';font-style:italic;font-weight:400;font-display:swap;src:url('../fonts/librebaskerville-400-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}


/* ==== tokens.css ==== */
/* ============================================================
   Design tokens - Agri Source Trading
   Colours are used only in roles that meet their contrast needs.
   ============================================================ */
:root {
  /* Brand palette */
  --burgundy: #781E22;      /* primary actions, selected emphasis */
  --burgundy-700: #641619;  /* hover / pressed */
  --burgundy-600: #8a2a2e;
  --burgundy-tint: #f3e6e2; /* faint burgundy surface */
  --green: #153F32;         /* origin accents, dark sections */
  --green-700: #0e2c22;
  --green-600: #1f5544;
  --ivory: #F7F2E8;         /* principal editorial background */
  --ivory-2: #efe8d9;       /* muted alt surface */
  --ink: #20241F;           /* primary text */
  --ink-2: #494d42;         /* secondary text (>=4.5:1 on ivory) */
  --ink-3: #5f6357;         /* muted meta text; AA on white, ivory & tint */
  --line: #D8D0C3;          /* dividers, muted surfaces */
  --line-2: #c7bdac;
  --white: #ffffff;

  /* Semantic roles */
  --bg: var(--ivory);
  --surface: var(--white);
  --text: var(--ink);
  --text-soft: var(--ink-2);
  --accent: var(--burgundy);
  --ring: #20241F;          /* focus ring on light backgrounds */

  /* Typography */
  --font-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-micro: .75rem;
  --fs-kicker: clamp(.72rem, .69rem + .12vw, .8rem);
  --fs-small: clamp(.85rem, .82rem + .12vw, .92rem);
  --fs-body: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-lede: clamp(1.12rem, 1.02rem + .5vw, 1.38rem);
  --fs-h3: clamp(1.25rem, 1.12rem + .6vw, 1.6rem);
  --fs-h2: clamp(1.7rem, 1.36rem + 1.5vw, 2.55rem);
  --fs-h1: clamp(2.1rem, 1.6rem + 2.3vw, 3.3rem);
  --fs-display: clamp(2.35rem, 1.7rem + 3vw, 3.9rem);

  --lh-tight: 1.12;
  --lh-head: 1.18;
  --lh-body: 1.65;

  /* Spacing scale */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --section-y: clamp(3.25rem, 2.3rem + 4vw, 6.5rem);

  /* Layout */
  --container: 1280px;
  --container-narrow: 760px;
  --gutter: clamp(1.25rem, .6rem + 2.6vw, 2.5rem);
  --header-h: 72px;

  /* Shape & depth (restrained) */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(32, 36, 31, .06), 0 2px 8px rgba(32, 36, 31, .05);
  --shadow-md: 0 6px 22px rgba(32, 36, 31, .10);
  --shadow-lg: 0 18px 48px rgba(32, 36, 31, .16);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .5s;
}


/* ==== base.css ==== */
/* ============================================================
   Base - reset, typography, focus, utilities
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Anchor scroll offset for the sticky header. */
:target { scroll-margin-top: calc(var(--header-h) + 1rem); }
[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: var(--lh-head);
  letter-spacing: -.01em;
  color: var(--ink);
  text-wrap: balance;
}

p { text-wrap: pretty; }
a { color: var(--burgundy); text-underline-offset: .18em; text-decoration-thickness: .06em; }
a:hover { color: var(--burgundy-700); }

strong { font-weight: 600; color: var(--ink); }

ul, ol { padding: 0; list-style: none; }

button { font: inherit; color: inherit; cursor: pointer; }

input, select, textarea, button { font-family: inherit; font-size: inherit; }

/* Focus - always visible, never clipped, contrast-aware via --ring. */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 3px;
}

::selection { background: var(--burgundy); color: var(--ivory); }

hr { border: 0; border-top: 1px solid var(--line); }

/* --------------------------------------------------- utilities */
.u-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;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--burgundy); color: var(--ivory);
  padding: .7rem 1.1rem; border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--ivory); }

.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-sans);
  font-size: var(--fs-kicker);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: .9rem;
}
.kicker::before {
  content: ""; width: 1.7rem; height: 2px;
  background: var(--burgundy); display: inline-block;
}
.kicker--light { color: #e7b7a6; }
.kicker--light::before { background: #e7b7a6; }
.kicker--onimage { color: #fff; }
.kicker--onimage::before { background: rgba(255,255,255,.85); }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; text-decoration: none; color: var(--burgundy);
}
.textlink:hover { color: var(--burgundy-700); }
.textlink .icon--arrow { transition: transform .2s var(--ease); }
.textlink:hover .icon--arrow { transform: translateX(3px); }

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

.no-js .js-only { display: none !important; }
.js .no-js-only { display: none !important; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* ==== layout.css ==== */
/* ============================================================
   Layout primitives, buttons, sections, reveal
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow { max-width: var(--container-narrow); margin-inline: auto; }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--ivory-2); }
.section--dark {
  background: var(--green);
  color: #eaf0ec;
  --ring: #F7F2E8;
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a:not(.btn) { color: #f2d9cf; }

.section__head { max-width: 62ch; margin-bottom: clamp(1.8rem, 3vw, 2.8rem); }
.section__head--split {
  display: grid; gap: 1rem 3rem; max-width: none;
  grid-template-columns: 1fr;
  align-items: end;
}
@media (min-width: 820px) {
  .section__head--split { grid-template-columns: 1.1fr .9fr; }
  .section__head--split .section__intro { padding-bottom: .3rem; }
}
.section__title { font-size: var(--fs-h2); }
.section__intro { font-size: var(--fs-lede); color: var(--text-soft); line-height: 1.5; }
.section__intro--light { color: #d5e0da; }
.section__intro--block { max-width: 65ch; margin-bottom: 1.5rem; }
.section__foot { margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.lede-text { font-size: var(--fs-lede); color: var(--text-soft); line-height: 1.5; margin-bottom: 1.1rem; }

/* Prose blocks (privacy etc.) */
.prose p { margin-bottom: 1rem; color: var(--text-soft); }
.prose h2 { font-size: var(--fs-h3); margin-bottom: .6rem; }
.prose__block { margin-bottom: 2.2rem; }
.prose-list { margin: .3rem 0 1rem; padding-left: 0; }
.prose-list li { position: relative; padding-left: 1.4rem; margin-bottom: .5rem; color: var(--text-soft); }
.prose-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--burgundy); }
.prose__meta { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1rem; }
.microcopy { font-size: var(--fs-small); color: var(--ink-3); }

/* --------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-sans); font-weight: 600; font-size: var(--fs-small);
  letter-spacing: .01em; line-height: 1.1;
  padding: .85rem 1.35rem; min-height: 46px;
  border-radius: var(--radius); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .12s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon--arrow { transition: transform .2s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--primary { background: var(--burgundy); color: #fff; border-color: var(--burgundy); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--burgundy-700); border-color: var(--burgundy-700); color: #fff; box-shadow: var(--shadow-md); }

.btn--ondark { background: #fff; color: var(--burgundy); border-color: #fff; }
.btn--ondark:hover { background: var(--ivory); color: var(--burgundy-700); }

.btn--outline { background: transparent; color: var(--burgundy); border-color: var(--burgundy); }
.btn--outline:hover { background: var(--burgundy); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.btn--ghost-light { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(2px); }
.btn--ghost-light:hover { background: #fff; color: var(--burgundy); border-color: #fff; }

/* --------------------------------------------------- reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* --------------------------------------------------- grids */
.mini-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}


/* ==== components.css ==== */
/* ============================================================
   Components
   ============================================================ */

/* ---------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner {
  display: flex; align-items: center; gap: 1.25rem;
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--gutter);
}
body.header-solid { padding-top: var(--header-h); }

/* Transparent over hero, solid after scroll (or on solid pages). */
.header-hero .site-header { color: #fff; }
.header-hero .site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(20,22,18,.6), rgba(20,22,18,.12) 70%, rgba(20,22,18,0));
  transition: opacity .3s var(--ease);
}
.header-solid .site-header,
.site-header.is-scrolled {
  background: rgba(247,242,232,.94);
  -webkit-backdrop-filter: saturate(1.1) blur(10px);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(32,36,31,.04), 0 8px 24px -18px rgba(32,36,31,.5);
  color: var(--ink);
}
.header-hero .site-header.is-scrolled::before { opacity: 0; }

/* Brand lockup */
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.brand__mark { width: 30px; height: 42px; flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.14)); }
.brand__name { display: flex; flex-direction: column; line-height: 1; }
.brand__name-1 { font-family: var(--font-serif); font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.brand__name-2 { font-family: var(--font-sans); font-weight: 600; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; opacity: .82; margin-top: .18rem; }

/* Desktop nav */
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .35rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .55rem .7rem; border-radius: var(--radius);
  font-weight: 600; font-size: .93rem; color: inherit; text-decoration: none;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav__link:hover { color: inherit; background: color-mix(in srgb, currentColor 10%, transparent); }
.nav__link.is-active { color: var(--burgundy); }
.header-hero .site-header:not(.is-scrolled) .nav__link.is-active { color: #fff; text-decoration: underline; text-underline-offset: .4em; text-decoration-color: rgba(255,255,255,.7); }
.nav__item--parent { display: inline-flex; align-items: center; }
.nav__toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; margin-left: -6px; border: 0; background: transparent; color: inherit; border-radius: 50%;
}
.nav__toggle .icon--chevron { width: 1rem; height: 1rem; transition: transform .2s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon--chevron { transform: rotate(180deg); }
.nav__toggle:hover { background: color-mix(in srgb, currentColor 12%, transparent); }

.nav__submenu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 30;
  min-width: 210px; padding: .5rem; margin: 0;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav__submenu a {
  display: block; padding: .6rem .75rem; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.nav__submenu a:hover { background: var(--ivory-2); color: var(--burgundy); }
.nav__submenu a[aria-current="page"] { color: var(--burgundy); }
.nav__item--parent:hover .nav__submenu,
.nav__item--parent:focus-within .nav__submenu,
.nav__toggle[aria-expanded="true"] ~ .nav__submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

/* Header actions */
.header__actions { display: flex; align-items: center; gap: .55rem; }
.header__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: inherit; text-decoration: none;
  transition: background .15s var(--ease);
}
.header__icon:hover { background: color-mix(in srgb, currentColor 14%, transparent); color: inherit; }
.header__icon .icon { width: 1.4rem; height: 1.4rem; }
.header__cta { padding-block: .6rem; min-height: 42px; }
.header-hero .site-header:not(.is-scrolled) .header__cta { background: #fff; color: var(--burgundy); border-color: #fff; }
.header-hero .site-header:not(.is-scrolled) .header__cta:hover { background: var(--ivory); }

.header__burger {
  position: relative;
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; background: transparent; color: inherit; border-radius: var(--radius);
}
.count-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px; margin-left: .1rem;
  border-radius: 999px; background: var(--green); color: #fff;
  font-size: .72rem; font-weight: 700; line-height: 1;
}
.count-badge[hidden] { display: none; }
.count-badge--burger { position: absolute; top: 1px; right: 1px; margin: 0; background: var(--burgundy); border: 2px solid var(--ivory); }
.header__burger .icon { width: 1.6rem; height: 1.6rem; }

@media (max-width: 920px) {
  .nav, .header__cta { display: none; }
  .header__burger { display: inline-flex; }
}

/* ---------------------------------------------- mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 300; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__backdrop { position: absolute; inset: 0; background: rgba(20,22,18,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); animation: fade .25s var(--ease); }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(88vw, 380px);
  background: var(--ivory); color: var(--ink);
  padding: 1.1rem clamp(1.1rem, 5vw, 1.6rem) 1.6rem;
  display: flex; flex-direction: column; gap: 1.1rem;
  overflow-y: auto; box-shadow: var(--shadow-lg);
  animation: slideIn .28s var(--ease);
  overscroll-behavior: contain;
}
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(100%); } }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); }
.mobile-menu__close .icon { width: 1.4rem; height: 1.4rem; }
.mnav { border-top: 1px solid var(--line); padding-top: .4rem; }
.mnav__list { display: flex; flex-direction: column; }
.mnav__link { display: block; padding: .85rem .2rem; font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.mnav__link.is-active { color: var(--burgundy); }
.mnav__group { padding: .6rem 0; border-bottom: 1px solid var(--line); }
.mnav__grouptitle { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; padding: .3rem .2rem .1rem; }
.mnav__sub { display: flex; flex-direction: column; padding-left: .2rem; }
.mnav__sublink { display: block; padding: .5rem .2rem; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.mnav__sublink[aria-current="page"], .mnav__sublink:hover { color: var(--burgundy); }
.mobile-menu__actions { display: grid; gap: .6rem; }
.mobile-menu__actions .btn { width: 100%; }
.mobile-menu__meta { font-size: .9rem; color: var(--ink-2); }
.mobile-menu__meta a { font-weight: 600; }
body.menu-open { overflow: hidden; }

/* ---------------------------------------------- breadcrumbs */
.breadcrumbs { background: var(--ivory); border-bottom: 1px solid var(--line); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding-block: .8rem; font-size: var(--fs-small); }
.breadcrumbs li { color: var(--ink-3); }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--burgundy); }
.breadcrumbs li[aria-current="page"] { color: var(--ink); font-weight: 600; }
.crumb-sep { color: var(--line-2); }

/* ---------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(30rem, 82svh, 47rem);
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(102deg, rgba(20,22,18,.82) 0%, rgba(20,22,18,.55) 34%, rgba(20,22,18,.16) 62%, rgba(20,22,18,0) 86%),
    linear-gradient(to top, rgba(20,22,18,.5), rgba(20,22,18,0) 42%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__content { max-width: 640px; padding-top: calc(var(--header-h) + 1.5rem); padding-bottom: 1.5rem; }
.hero__title { font-size: var(--fs-display); color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.28); }
.hero__lede { margin-top: 1.1rem; font-size: var(--fs-lede); line-height: 1.5; color: rgba(255,255,255,.94); max-width: 46ch; text-shadow: 0 1px 16px rgba(0,0,0,.3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

/* Illustrated hero (cashew - no borrowed photo) */
.hero--illus { color: #fff; min-height: clamp(24rem, 62svh, 34rem); background: radial-gradient(130% 130% at 82% 18%, var(--green-600), var(--green) 62%); }
.hero--illus .hero__scrim { background: linear-gradient(100deg, rgba(14,44,34,.5), rgba(14,44,34,0) 60%); }
.hero__illus { position: absolute; right: 3%; bottom: 0; z-index: -1; height: min(92%, 30rem); width: auto; opacity: .95; filter: drop-shadow(0 10px 30px rgba(0,0,0,.28)); }
.hero--illus .kicker { color: #f0c9a6; }
.hero--illus .kicker::before { background: #f0c9a6; }

@media (max-width: 640px) {
  .hero { align-items: flex-end; min-height: 90svh; }
  .hero__content { padding-bottom: 2.5rem; }
  .hero__scrim { background: linear-gradient(to top, rgba(20,22,18,.85) 4%, rgba(20,22,18,.45) 40%, rgba(20,22,18,.1) 78%); }
  .hero--illus { align-items: center; }
  .hero__illus { opacity: .35; right: -6%; }
}

/* ------------------------------------------------ pagehead */
.pagehead { padding-block: clamp(2.4rem, 4vw, 4rem) clamp(1.6rem, 3vw, 2.4rem); background: var(--ivory); }
.pagehead__title { font-size: var(--fs-h1); margin-bottom: .6rem; }
.pagehead__lede { font-size: var(--fs-lede); color: var(--text-soft); max-width: 60ch; }
.pagehead--contact { border-bottom: 1px solid var(--line); }

/* ------------------------------------------------ mini cards */
.mini { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); }
.section--tint .mini { background: var(--white); }
.mini__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--burgundy-tint); color: var(--burgundy); margin-bottom: .9rem; }
.mini__icon .icon { width: 1.5rem; height: 1.5rem; }
.mini__title { font-size: var(--fs-h3); margin-bottom: .4rem; }
.mini p { color: var(--text-soft); font-size: .98rem; }
.section--dark .mini { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.section--dark .mini p { color: #cdd8d2; }
.section--dark .mini__icon { background: rgba(255,255,255,.1); color: #fff; }

/* --------------------------------------------- commodity cards */
.ccards { display: grid; gap: clamp(1.1rem, 2.2vw, 1.8rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 720px) { .ccards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .ccards { grid-template-columns: repeat(4, 1fr); } .ccards--overview { grid-template-columns: repeat(2, 1fr); } }
.ccard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ccard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ccard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.ccard__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ivory-2); }
.ccard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ccard:hover .ccard__img { transform: scale(1.05); }
.ccard__media--illus { display: grid; place-items: center; background: radial-gradient(120% 120% at 75% 20%, var(--green-600), var(--green)); }
.ccard__media--illus .ccard__img { width: auto; height: 82%; object-fit: contain; }
.ccard__body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ccard__title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: var(--fs-h3); }
.ccard__arrow { color: var(--burgundy); transition: transform .25s var(--ease); }
.ccard:hover .ccard__arrow { transform: translateX(4px); }
.ccard__tag { margin-top: .3rem; font-size: var(--fs-kicker); letter-spacing: .1em; text-transform: uppercase; color: var(--burgundy); font-weight: 600; }
.ccard__lede { margin-top: .7rem; color: var(--text-soft); font-size: .96rem; flex: 1; }
.ccard__cta { margin-top: 1rem; font-weight: 600; color: var(--burgundy); font-size: .92rem; }
.ccard__add {
  display: inline-flex; align-items: center; gap: .45rem; align-self: flex-start;
  margin: 0 1.3rem 1.3rem; padding: .5rem .9rem;
  border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--white);
  font-weight: 600; font-size: .85rem; color: var(--ink-2);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.ccard__add .icon { width: 1.05rem; height: 1.05rem; }
.ccard__add-added { display: none; align-items: center; gap: .45rem; }
.ccard__add-label { display: inline-flex; align-items: center; gap: .45rem; }
.ccard__add:hover { border-color: var(--burgundy); color: var(--burgundy); }
.ccard__add[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.ccard__add[aria-pressed="true"] .ccard__add-added { display: inline-flex; }
.ccard__add[aria-pressed="true"] .ccard__add-label { display: none; }

/* --------------------------------------------- CTA panel */
.cta-panel { background: var(--burgundy); color: #fff; --ring: #fff; }
.cta-panel__inner { padding-block: clamp(2.6rem, 5vw, 4.5rem); display: grid; gap: 1.8rem 3rem; align-items: center; }
@media (min-width: 860px) { .cta-panel__inner { grid-template-columns: 1.4fr 1fr; } }
.cta-panel__title { color: #fff; font-size: var(--fs-h2); }
.cta-panel__lede { margin-top: .8rem; color: rgba(255,255,255,.9); font-size: var(--fs-lede); line-height: 1.5; max-width: 52ch; }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 860px) { .cta-panel__actions { justify-content: flex-end; } }

/* --------------------------------------------- FAQ */
.faq__list { max-width: 820px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem .2rem; font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); color: var(--ink); cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .icon--chevron { flex: none; color: var(--burgundy); transition: transform .25s var(--ease); }
.faq__item[open] .faq__q .icon--chevron { transform: rotate(180deg); }
.faq__a { padding: 0 .2rem 1.3rem; color: var(--text-soft); max-width: 68ch; }
.faq__a p { margin-bottom: .7rem; }
.faq__a a { font-weight: 600; }

/* --------------------------------------------- splits (editorial) */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split + .split { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--b .split__text { order: 2; }
  .split--noimg { grid-template-columns: 1fr; max-width: 70ch; }
}
.split__title { font-size: var(--fs-h3); margin-bottom: .7rem; }
.split__text p { color: var(--text-soft); margin-bottom: .9rem; }
.split__figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split__media { aspect-ratio: 3 / 2; }
.split__img { width: 100%; height: 100%; object-fit: cover; }
.split__actions { margin-top: 1.2rem; }

/* --------------------------------------------- gallery */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.gallery__item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--ivory-2); }
.gallery__media { aspect-ratio: 3 / 2; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover .gallery__img { transform: scale(1.05); }

/* --------------------------------------------- honesty note */
.honesty { max-width: 80ch; padding: 1.2rem 1.4rem; background: var(--ivory-2); border-left: 3px solid var(--burgundy); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-2); font-size: .98rem; }
.honesty__label { display: block; font-weight: 700; color: var(--ink); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .3rem; }
.commodity-honesty { padding-block: clamp(1.5rem, 3vw, 2.4rem); }

/* --------------------------------------------- related */
.related__grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.related__card { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.related__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; }
.related__tag { color: var(--text-soft); font-size: .9rem; }
.related__arrow { color: var(--burgundy); margin-top: .3rem; }

/* --------------------------------------------- geo maps */
.geo-map { width: 100%; height: auto; }
.geo-neighbors path, .geo-land path { fill: #e7ddca; stroke: var(--ivory); stroke-width: .6; }
.geo-base-land { fill: #ded3bd; }
.geo-origin { fill: var(--burgundy); stroke: var(--ivory); stroke-width: .8; transition: fill .2s var(--ease); }
.geo-origin.geo-lb { fill: var(--green); }
.geo-marker circle { fill: var(--ink); }
.geo-marker .geo-marker-core { fill: #fff; }
.geo-marker text { font-family: var(--font-sans); font-size: 13px; font-weight: 700; fill: var(--ink); paint-order: stroke; stroke: var(--ivory); stroke-width: 3px; stroke-linejoin: round; }
.geo-m-base circle { fill: var(--burgundy); }
.geo-route { fill: none; stroke: var(--burgundy); stroke-width: 2; stroke-dasharray: 6 6; opacity: .8; }
.geo-reach .geo-origin { fill: var(--green); }
.geo-reach .geo-m-origin circle { fill: var(--green); }


/* ==== pages.css ==== */
/* ============================================================
   Page-specific composition
   ============================================================ */

/* -------- home: facts strip */
.facts { background: var(--green); color: #eaf0ec; }
.facts__grid { display: grid; gap: 1.5rem 2rem; padding-block: clamp(2rem, 4vw, 3rem); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 780px) { .facts__grid { grid-template-columns: repeat(4, 1fr); } }
.fact { display: flex; flex-direction: column; gap: .4rem; position: relative; padding-left: 1.1rem; }
.fact::before { content: ""; position: absolute; left: 0; top: .1rem; bottom: .1rem; width: 3px; background: var(--burgundy-600); border-radius: 2px; }
.fact__num { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1; color: #fff; }
.fact__num--word { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.fact__label { font-weight: 600; font-size: .95rem; color: #d7e2dc; }
.fact__sub { font-weight: 400; font-size: .85rem; color: #a9bcb3; }

/* -------- home: origins band */
.origins-band__grid { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .origins-band__grid { grid-template-columns: 1fr 1fr; } }
.origins-inline { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .2rem; }
.origins-inline li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.origins-inline a { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; text-decoration: none; color: var(--ink); }
.origins-inline a .icon--arrow { color: var(--burgundy); transition: transform .2s var(--ease); }
.origins-inline a:hover { color: var(--burgundy); }
.origins-inline a:hover .icon--arrow { transform: translateX(4px); }
.origins-inline__note { font-size: .85rem; color: var(--ink-3); }
.origins-band__map { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; box-shadow: var(--shadow-sm); }
.origins-band__cap { margin-top: .8rem; font-size: .85rem; color: var(--ink-3); }

/* -------- home: steps / journey */
.steps { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); counter-reset: step; }
.step { position: relative; padding: 1.5rem 1.4rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); }
.step__n { font-family: var(--font-serif); font-weight: 700; font-size: 1.4rem; color: #e7b7a6; }
.step__title { color: #fff; font-size: 1.2rem; margin: .5rem 0 .4rem; }
.step p { color: #cdd8d2; font-size: .95rem; }
.journey__cta { margin-top: clamp(1.8rem, 3vw, 2.6rem); }

/* -------- home: story */
.story__grid { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .story__grid { grid-template-columns: .85fr 1.15fr; } }
.story__figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.story__media { aspect-ratio: 4 / 5; }
.story__img { width: 100%; height: 100%; object-fit: cover; }
.story__tagline { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem); line-height: 1.25; color: var(--burgundy); margin-bottom: 1rem; }
.story__text p { color: var(--text-soft); margin-bottom: 1rem; }
.story__actions { margin-top: 1.4rem; }

/* -------- commodity: intro + campaign + notecard */
.commodity-intro__grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .commodity-intro__grid { grid-template-columns: 1.5fr 1fr; } }
.commodity-intro__body p { color: var(--text-soft); margin-bottom: 1rem; }
.notecard { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.4rem; padding: 1rem 1.2rem; background: var(--burgundy-tint); border-radius: var(--radius); color: var(--ink-2); font-size: .95rem; }
.notecard__icon { color: var(--burgundy); flex: none; margin-top: .1rem; }
.notecard__icon .icon { width: 1.3rem; height: 1.3rem; }
.campaign { position: relative; padding: 1.8rem 1.6rem; background: var(--green); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.campaign__line { font-family: var(--font-serif); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem); line-height: 1.15; }
.campaign__support { margin-top: .8rem; color: #cfe0d8; font-size: 1rem; line-height: 1.5; }

/* -------- commodity: discussion */
.disc__grid { display: grid; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
@media (min-width: 900px) { .disc__grid { grid-template-columns: .95fr 1.05fr; } }
.disc__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.disc__list { display: grid; gap: 0; }
.disc__row { display: grid; gap: .2rem .5rem; padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
@media (min-width: 520px) { .disc__row { grid-template-columns: 200px 1fr; gap: 1rem; } }
.disc__term { font-weight: 700; color: #fff; }
.disc__hint { color: #cdd8d2; font-size: .95rem; }

/* -------- origins page */
.reach__grid { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .reach__grid { grid-template-columns: 1fr 1.1fr; } }
.reach__list { margin: 1.4rem 0; display: grid; gap: .9rem; }
.reach__list li { display: flex; gap: .8rem; align-items: flex-start; }
.reach__list strong { display: block; }
.reach__list span:not(.reach__dot) { color: var(--text-soft); font-size: .95rem; }
.reach__dot { flex: none; width: 16px; height: 16px; border-radius: 50%; margin-top: .2rem; border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--line); }
.reach__dot--origin { background: var(--green); }
.reach__dot--base { background: var(--burgundy); }
.reach__note { font-size: .85rem; color: var(--ink-3); }
.reach__map { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.2rem; box-shadow: var(--shadow-sm); }

.origin-cards { display: grid; gap: 1.4rem; }
@media (min-width: 780px) { .origin-cards { grid-template-columns: 1fr 1fr; } }
.origin-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.origin-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.origin-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.origin-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.origin-card:hover .origin-card__img { transform: scale(1.05); }
.origin-card__body { padding: 1.4rem 1.5rem 1.6rem; }
.origin-card__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem; font-size: var(--fs-h3); }
.origin-card__alt { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-3); text-transform: none; }
.origin-card__body p { color: var(--text-soft); margin: .6rem 0 .9rem; }
.origin-card__cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--burgundy); }
.origin-card:hover .origin-card__cta .icon--arrow { transform: translateX(4px); }

/* -------- origin detail */
.origin-context__grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
@media (min-width: 900px) { .origin-context__grid { grid-template-columns: 1.5fr 1fr; } }
.origin-context__body p { color: var(--text-soft); margin-bottom: 1rem; }
.ctx { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.ctx__title { font-size: 1.1rem; margin-bottom: .8rem; }
.ctx__list { display: grid; gap: 0; }
.ctx__row { display: grid; grid-template-columns: 1fr; gap: .1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 420px) { .ctx__row { grid-template-columns: 40% 1fr; gap: .5rem; } }
.ctx__row:last-child { border-bottom: 0; }
.ctx__row dt { font-weight: 700; color: var(--ink); font-size: .92rem; }
.ctx__row dd { color: var(--text-soft); font-size: .92rem; }
.assoc-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.assoc { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.assoc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.assoc__name { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; }
.assoc__why { color: var(--text-soft); font-size: .92rem; }
.assoc__arrow { color: var(--burgundy); margin-top: .2rem; }

/* -------- sourcing */
.prep-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.prep { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.prep__icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--burgundy-tint); color: var(--burgundy); margin-bottom: .9rem; }
.prep__icon .icon { width: 1.5rem; height: 1.5rem; }
.prep__title { font-size: var(--fs-h3); margin-bottom: .7rem; }
.prep__list { display: grid; gap: .55rem; }
.prep__list li { display: flex; gap: .5rem; align-items: flex-start; color: var(--text-soft); font-size: .95rem; }
.prep__list .icon { color: var(--green-600); width: 1.15rem; height: 1.15rem; flex: none; margin-top: .15rem; }
.qlinks { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.qlink { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; padding: 1.1rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 700; box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), color .2s var(--ease); }
.qlink:hover { border-color: var(--burgundy); color: var(--burgundy); }
.qlink span:first-child { font-family: var(--font-serif); font-size: 1.15rem; }
.qlink__sub { flex-basis: 100%; font-weight: 400; font-family: var(--font-sans); font-size: .85rem; color: var(--ink-3); }
.qlink .icon--arrow { margin-left: auto; color: var(--burgundy); }

/* -------- about */
.about-contact__grid { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) { .about-contact__grid { grid-template-columns: 1.3fr 1fr; } }
.about-contact__card { display: grid; gap: .3rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 1.2rem 1.4rem; font-style: normal; }
.about-contact__card a { display: flex; align-items: center; gap: .7rem; padding: .6rem 0; color: #eaf0ec; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.1); }
.about-contact__card a:last-child { border-bottom: 0; }
.about-contact__card a:hover { color: #fff; }
.about-contact__card .icon { color: #e7b7a6; flex: none; }

/* -------- contact / enquiry */
.contact__grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
@media (min-width: 940px) { .contact__grid { grid-template-columns: 1.4fr .95fr; } }
.contact__aside { position: relative; }
@media (min-width: 940px) { .contact__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.contact-card { background: var(--green); color: #eaf0ec; border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow-md); }
.contact-card__title { color: #fff; font-size: var(--fs-h3); }
.contact-card__intro { color: #cfe0d8; font-size: .95rem; margin: .5rem 0 1.1rem; }
.contact-methods { display: grid; gap: .3rem; }
.contact-methods a { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; color: #eaf0ec; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-methods a:hover { color: #fff; }
.contact-methods .icon { color: #e7b7a6; flex: none; width: 1.4rem; height: 1.4rem; }
.contact-methods span { display: flex; flex-direction: column; line-height: 1.3; }
.contact-methods strong { color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.contact-card__address { margin-top: 1.2rem; }
.contact-card__address h3 { display: flex; align-items: center; gap: .5rem; color: #fff; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-sans); margin-bottom: .5rem; }
.contact-card__address h3 .icon { color: #e7b7a6; }
.contact-card__address address { font-style: normal; color: #d7e2dc; line-height: 1.6; margin-bottom: .5rem; }
.contact-card__address .textlink { color: #fff; }
.contact-card__note { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.14); font-size: .85rem; color: #b9cabf; }

.enquiry__group { border: 0; padding: 0; margin: 0 0 1.8rem; }
.enquiry__legend { font-family: var(--font-serif); font-weight: 700; font-size: var(--fs-h3); margin-bottom: 1rem; padding: 0; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field__label { font-weight: 600; font-size: .92rem; margin-bottom: .4rem; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.req { color: var(--burgundy); font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; min-height: 46px;
  border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--white); color: var(--ink);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--burgundy); outline-color: var(--burgundy); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; background: #fdf5f4; }
.field__hint { font-size: .84rem; color: var(--ink-3); margin-top: .4rem; }
.field__error { font-size: .86rem; color: #b3261e; font-weight: 600; margin-top: .4rem; }
.field__error[hidden] { display: none; }

.checks { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); }
.check { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--white); cursor: pointer; font-weight: 600; transition: border-color .15s var(--ease), background .15s var(--ease); min-height: 46px; }
.check:hover { border-color: var(--ink-3); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1.5px solid var(--line-2); border-radius: 5px; background: var(--white); color: #fff; flex: none; transition: background .15s var(--ease), border-color .15s var(--ease); }
.check__box .icon { width: 1rem; height: 1rem; opacity: 0; transition: opacity .12s var(--ease); }
.check:has(input:checked) { border-color: var(--burgundy); background: var(--burgundy-tint); }
.check:has(input:checked) .check__box { background: var(--burgundy); border-color: var(--burgundy); }
.check:has(input:checked) .check__box .icon { opacity: 1; }
.check:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 2px; }

.checks-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.checks-count { font-size: .88rem; color: var(--ink-3); font-weight: 600; }
.checks-clear { font-size: .88rem; background: transparent; border: 0; padding: 0; }
.enquiry-note { font-size: .88rem; color: var(--ink-2); background: var(--ivory-2); padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.4rem; }
.enquiry-review { margin-bottom: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.enquiry-review__title { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font-sans); background: var(--ivory-2); padding: .8rem 1.1rem; margin: 0; }
.enquiry-review__body { padding: 1.1rem; margin: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.55; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; background: var(--white); }
.enquiry-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.enquiry-actions .btn { flex: 1 1 auto; min-width: 180px; }
.enquiry-actions__status { min-height: 1.4rem; margin-top: .7rem; font-size: .9rem; font-weight: 600; color: var(--green-600); }
.enquiry-errors { border: 1.5px solid #b3261e; background: #fdf5f4; border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.enquiry-errors[hidden] { display: none; }
.enquiry-errors__title { display: flex; align-items: center; gap: .5rem; color: #8f1d17; font-size: 1rem; margin-bottom: .5rem; }
.enquiry-errors__title .icon { color: #b3261e; }
.enquiry-errors__list { display: grid; gap: .3rem; padding-left: 0; }
.enquiry-errors__list a { color: #8f1d17; font-weight: 600; }
.contact-fallback { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; background: var(--ivory-2); }
.contact-fallback h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; margin-bottom: .6rem; }
.contact-fallback h3 .icon { color: var(--burgundy); }
.contact-fallback ul { margin: .6rem 0; display: grid; gap: .4rem; }
.contact-fallback li { padding-left: 1.2rem; position: relative; }
.contact-fallback li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--burgundy); }
.contact-fallback p { color: var(--text-soft); }

/* -------- 404 */
.notfound { padding-block: clamp(4rem, 8vw, 7rem); min-height: 70vh; display: flex; align-items: center; }
.notfound__inner { max-width: 720px; }
.notfound__title { font-size: var(--fs-h1); margin-bottom: .7rem; }
.notfound__lede { font-size: var(--fs-lede); color: var(--text-soft); margin-bottom: 2rem; }
.notfound__links { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-bottom: 2rem; }
.notfound__link { display: flex; align-items: center; gap: .5rem; padding: 1.1rem 1.3rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.notfound__link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.notfound__linkname { font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; }
.notfound__linksub { color: var(--ink-3); font-size: .88rem; margin-left: auto; margin-right: .3rem; }
.notfound__link .icon--arrow { color: var(--burgundy); }
.notfound__chips-label { font-weight: 600; margin-bottom: .7rem; }
.notfound__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { padding: .5rem 1rem; border-radius: 999px; background: var(--burgundy-tint); color: var(--burgundy); text-decoration: none; font-weight: 600; font-size: .9rem; }
.chip:hover { background: var(--burgundy); color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--ink); color: #cfd2c9; padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; --ring: #F7F2E8; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr 1.2fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 1080px) { .footer__brand { grid-column: auto; } }
.footer__brand .brand { color: #fff; }
.footer__brand .brand__name-2 { opacity: .7; }
.footer__tagline { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: #fff; margin: 1rem 0 .6rem; }
.footer__blurb { font-size: .92rem; color: #a9ad9f; max-width: 40ch; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #e6e8e0; }
.footer__social a:hover { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.footer__heading { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { color: #bcbfb4; text-decoration: none; font-size: .95rem; }
.footer__col a:hover { color: #fff; }
.footer__contact address { font-style: normal; display: grid; gap: .6rem; }
.footer__contact a { display: flex; align-items: flex-start; gap: .6rem; color: #bcbfb4; text-decoration: none; font-size: .95rem; }
.footer__contact a:hover { color: #fff; }
.footer__contact .icon { color: #e7b7a6; flex: none; margin-top: .1rem; }
.footer__base { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; color: #999d90; }
.footer__legal { display: flex; gap: .6rem; align-items: center; }
.footer__legal a { color: #bcbfb4; text-decoration: none; }
.footer__legal a:hover { color: #fff; }


/* ==== enhance.css ==== */
/* ============================================================
   Enhancement layer: search, save, dock, sticky CTA, resources,
   preview dialog, lead magnet, jump nav, wizard, saved, states
   ============================================================ */

/* Small button + chip variants reused below */
.btn--sm { padding: .6rem 1rem; min-height: 40px; font-size: .82rem; }
.chip--sm { padding: .3rem .7rem; font-size: .78rem; }
.chip--muted { background: var(--ivory-2); color: var(--ink-2); }

/* ---------------------------------------------- header search entry */
.header__search-link .icon { width: 1.35rem; height: 1.35rem; }
.mnav-search { display: flex; align-items: center; gap: .5rem; background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: .3rem .3rem .3rem .7rem; }
.mnav-search__icon { color: var(--ink-3); display: inline-flex; }
.mnav-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .55rem .2rem; min-height: 40px; font-size: 1rem; }
.mnav-search input:focus-visible { outline: none; }
.mnav-search:focus-within { border-color: var(--burgundy); }
.mnav-search__go { background: var(--burgundy); color: #fff; border: 0; border-radius: var(--radius-sm); padding: .5rem .9rem; font-weight: 600; }

/* ---------------------------------------------- save button */
.save-btn { gap: .4rem; }
.save-btn .icon { width: 1.05rem; height: 1.05rem; }
.save-btn__on { display: none; align-items: center; gap: .4rem; }
.save-btn__off { display: inline-flex; align-items: center; gap: .4rem; }
.save-btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.save-btn[aria-pressed="true"] .save-btn__on { display: inline-flex; }
.save-btn[aria-pressed="true"] .save-btn__off { display: none; }
.save-btn--block { width: 100%; }

/* ---------------------------------------------- mobile action dock */
.dock { display: none; }
@media (max-width: 920px) {
  .dock {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: block; background: rgba(247,242,232,.97);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .dock.is-ready { transform: translateY(0); }
  .dock.is-hidden { transform: translateY(110%); }
  .dock__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
  .dock__item { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .5rem .25rem .55rem; min-height: 56px; justify-content: center; text-decoration: none; color: var(--ink-2); font-weight: 600; }
  .dock__item.is-active { color: var(--burgundy); }
  .dock__icon { position: relative; display: inline-flex; }
  .dock__icon .icon { width: 1.5rem; height: 1.5rem; }
  .dock__label { font-size: .72rem; }
  .dock__badge { position: absolute; top: -6px; right: -10px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--burgundy); color: #fff; font-size: .66rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ivory); }
  .dock__hint { display: flex; align-items: center; gap: .6rem; padding: .6rem .9rem; background: var(--green); color: #eaf0ec; font-size: .82rem; }
  .dock__hint-close { flex: none; background: rgba(255,255,255,.14); border: 0; color: #fff; border-radius: 50%; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; }
  .dock__hint-close .icon { width: 1.1rem; height: 1.1rem; }
  /* keep content clear of the dock - JS sets --dock-h to the measured height (incl. hint) */
  body { padding-bottom: var(--dock-h, 64px); }
  body.menu-open .dock { display: none; }
}

/* ---------------------------------------------- desktop sticky CTA */
.sticky-cta { display: none; }
@media (min-width: 921px) {
  .sticky-cta {
    position: fixed; right: clamp(1rem, 2vw, 2rem); bottom: clamp(1rem, 2vw, 2rem); z-index: 80;
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--burgundy); color: #fff; text-decoration: none; font-weight: 600;
    padding: .85rem 1.3rem; border-radius: 999px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .2s var(--ease);
  }
  .sticky-cta.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
  .sticky-cta:hover { background: var(--burgundy-700); color: #fff; }
  .sticky-cta .icon { width: 1.2rem; height: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .dock, .sticky-cta { transition: none; }
}

/* ---------------------------------------------- resource cards */
.rgrid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.rcard { display: flex; flex-direction: column; gap: .55rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rcard__top { display: flex; align-items: center; justify-content: space-between; color: var(--ink-3); font-size: .8rem; font-weight: 600; }
.rcard__format, .rcard__time { display: inline-flex; align-items: center; gap: .35rem; }
.rcard__format { color: var(--burgundy); text-transform: uppercase; letter-spacing: .08em; }
.rcard__format .icon, .rcard__time .icon { width: 1.05rem; height: 1.05rem; }
.rcard__title { font-size: 1.2rem; line-height: 1.25; }
.rcard__title a { color: var(--ink); text-decoration: none; }
.rcard__title a:hover { color: var(--burgundy); }
.rcard__audience { display: flex; align-items: center; gap: .4rem; color: var(--ink-3); font-size: .84rem; font-weight: 600; }
.rcard__audience .icon { width: 1.05rem; height: 1.05rem; flex: none; }
.rcard__benefit { color: var(--text-soft); font-size: .95rem; flex: 1; }
.rcard__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.rcard__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .3rem; }
.rcard__actions .save-btn { margin-left: auto; }
.rcard__reviewed { display: flex; align-items: center; gap: .35rem; color: var(--ink-3); font-size: .78rem; border-top: 1px solid var(--line); padding-top: .6rem; margin-top: .2rem; }
.rcard__reviewed .icon { width: 1rem; height: 1rem; color: var(--green-600); }

/* ---------------------------------------------- resource preview dialog */
.rdialog { width: min(92vw, 620px); max-height: min(88vh, 760px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--ink); background: var(--ivory); }
.rdialog::backdrop { background: rgba(20,22,18,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.rdialog__inner { position: relative; padding: clamp(1.4rem, 4vw, 2.2rem); overflow-y: auto; max-height: inherit; }
.rdialog__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.rdialog__format { color: var(--burgundy); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.rdialog__title { font-size: var(--fs-h3); margin: .3rem 2.5rem .5rem 0; }
.rdialog__benefit { color: var(--text-soft); margin-bottom: 1rem; }
.rdialog__excerpt { border-top: 1px solid var(--line); padding-top: 1rem; }
.rdialog__excerpt h4 { font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin: 1rem 0 .4rem; }
.rdialog__excerpt ul { display: grid; gap: .4rem; }
.rdialog__excerpt li { position: relative; padding-left: 1.3rem; color: var(--text-soft); font-size: .95rem; }
.rdialog__excerpt li::before { content: ""; position: absolute; left: 0; top: .55em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--burgundy); }
.rdialog__delivery { margin-top: 1rem; font-size: .88rem; color: var(--ink-2); background: var(--ivory-2); padding: .8rem 1rem; border-radius: var(--radius); }
.rdialog__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }

/* ---------------------------------------------- interactive checklist tool */
.ctool-wrap { background: var(--ivory-2); }
.ctool__intro { color: var(--text-soft); max-width: 70ch; margin-bottom: 1.6rem; }
.ctool__grid { display: grid; gap: clamp(1.4rem, 4vw, 2.4rem); align-items: start; }
@media (min-width: 860px) { .ctool__grid { grid-template-columns: 1.1fr .9fr; } }
.ctool__inputs .wfield { margin: 1rem 0; }
.ctool__legend { font-weight: 700; font-size: .95rem; margin-bottom: .6rem; padding: 0; }
.ctool__items { display: grid; gap: .5rem; }
.ctool__item { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--radius); cursor: pointer; font-weight: 600; min-height: 44px; }
.ctool__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ctool__check { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1.5px solid var(--line-2); border-radius: 5px; background: var(--white); color: #fff; flex: none; }
.ctool__check .icon { width: 1rem; height: 1rem; opacity: 0; }
.ctool__item:has(input:checked) { border-color: var(--green); background: #eef5f0; }
.ctool__item:has(input:checked) .ctool__check { background: var(--green); border-color: var(--green); }
.ctool__item:has(input:checked) .ctool__check .icon { opacity: 1; }
.ctool__item:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 2px; }
.ctool__output { position: sticky; top: calc(var(--header-h) + 1rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.ctool__count { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: var(--green-600); margin-bottom: .6rem; }
.ctool__brief-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; margin-bottom: .4rem; }
.ctool__brief { background: var(--ivory-2); border-radius: var(--radius); padding: 1rem 1.1rem; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .82rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; color: var(--ink-2); min-height: 8rem; }
.ctool__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.ctool__status { min-height: 1.2rem; margin-top: .6rem; font-size: .88rem; font-weight: 600; color: var(--green-600); }
.ctool__note { margin-top: .8rem; font-size: .82rem; color: var(--ink-3); }
@media (max-width: 859px) { .ctool__output { position: static; } }

/* ---------------------------------------------- configured endpoint (optional) */
.enquiry-consent { display: flex; gap: .6rem; align-items: flex-start; margin: 0 0 1rem; font-size: .9rem; color: var(--ink-2); }
.enquiry-consent input { margin-top: .15rem; width: 20px; height: 20px; flex: none; }
.enquiry-send { flex-basis: 100%; }

/* ---------------------------------------------- quick enquiry dialog */
.qdialog { width: min(94vw, 540px); max-height: min(90vh, 720px); padding: 0; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: var(--ink); background: var(--ivory); }
.qdialog::backdrop { background: rgba(20,22,18,.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.qdialog__inner { position: relative; padding: clamp(1.4rem, 4vw, 2.1rem); overflow-y: auto; max-height: inherit; }
.qdialog__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.qdialog__kicker { color: var(--burgundy); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.qdialog__title { font-size: var(--fs-h3); margin: .3rem 2.5rem .5rem 0; }
.qdialog__lede { color: var(--text-soft); font-size: .95rem; margin-bottom: 1.1rem; }
.qdialog__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.qdialog__actions .btn { flex: 1 1 auto; min-width: 150px; }
.qdialog__status { min-height: 1.2rem; margin-top: .7rem; font-size: .9rem; font-weight: 600; color: var(--green-600); }
.qdialog__more { margin-top: .9rem; }
.qdialog__fallback { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-3); }
.qdialog__fallback a { font-weight: 600; }
/* Bottom-sheet presentation on phones */
@media (max-width: 600px) {
  .qdialog { width: 100%; max-width: 100%; max-height: 92vh; margin: auto auto 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .qdialog__inner { padding-bottom: calc(1.4rem + env(safe-area-inset-bottom)); }
  .qdialog__actions .btn { flex-basis: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .qdialog[open] { animation: qd-in .2s var(--ease); }
  @media (max-width: 600px) { .qdialog[open] { animation: qd-up .25s var(--ease); } }
}
@keyframes qd-in { from { opacity: 0; transform: translateY(8px); } }
@keyframes qd-up { from { transform: translateY(100%); } }

/* ---------------------------------------------- contextual lead magnet */
.magnet-wrap { padding-block: clamp(2rem, 4vw, 3rem); }
.magnet { display: grid; gap: 1.4rem; align-items: center; background: var(--green); color: #eaf0ec; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: var(--shadow-md); --ring: #F7F2E8; }
@media (min-width: 780px) { .magnet { grid-template-columns: 1.5fr 1fr; } }
.magnet__title { color: #fff; font-size: var(--fs-h3); margin: .3rem 0 .5rem; }
.magnet__text { color: #cfe0d8; }
.magnet__meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.magnet__meta li { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; color: #d7e2dc; font-weight: 600; }
.magnet__meta .icon { width: 1.1rem; height: 1.1rem; color: #e7b7a6; }
.magnet__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-content: center; }
.magnet .kicker { color: #e7b7a6; }
.magnet .kicker::before { background: #e7b7a6; }

/* ---------------------------------------------- jump nav */
.jump { margin: 0 0 1.5rem; }
.jump__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 700; margin-bottom: .6rem; }
.jump__select { display: none; }
@media (min-width: 1000px) {
  .jump { position: sticky; top: calc(var(--header-h) + 1rem); }
  .jump__list { display: grid; gap: .1rem; border-left: 2px solid var(--line); }
  .jump__list a { display: block; padding: .45rem .9rem; color: var(--ink-2); text-decoration: none; font-size: .92rem; font-weight: 600; border-left: 2px solid transparent; margin-left: -2px; }
  .jump__list a:hover, .jump__list a.is-current { color: var(--burgundy); border-left-color: var(--burgundy); }
}
@media (max-width: 999px) {
  .jump__list { display: none; }
  .jump__select { display: block; }
  .jump__select select { width: 100%; padding: .7rem .9rem; min-height: 46px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--white); font-weight: 600; }
}

/* layout with a contents rail on detail pages */
.with-rail { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 1000px) { .with-rail { grid-template-columns: 230px 1fr; align-items: start; } }
.with-rail__main { min-width: 0; }

/* ---------------------------------------------- resource hub filters */
.rfilters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .2rem; }
.rfilter { padding: .55rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink-2); font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease); }
.rfilter:hover { border-color: var(--burgundy); color: var(--burgundy); }
.rfilter.is-active { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.rgrid__empty { margin-top: 1.5rem; color: var(--text-soft); }

/* ---------------------------------------------- resource detail */
.pagehead--resource .rmeta, .rmeta { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.1rem; }
.rmeta li { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.rmeta .icon { width: 1.1rem; height: 1.1rem; color: var(--burgundy); }
.narrow-wide { max-width: 940px; margin-inline: auto; }
.rintro { font-size: var(--fs-lede); line-height: 1.5; color: var(--text-soft); margin-bottom: 1.6rem; }
.rsection { margin-bottom: 1.8rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.rsection h2 { font-size: var(--fs-h3); margin-bottom: .6rem; }
.rsection p { color: var(--text-soft); max-width: 68ch; }
.rlist { display: grid; gap: .55rem; margin-top: .5rem; max-width: 68ch; }
.rlist li { display: flex; gap: .6rem; align-items: flex-start; color: var(--text-soft); }
.rlist .icon { width: 1.15rem; height: 1.15rem; color: var(--green-600); flex: none; margin-top: .2rem; }
.rtemplate { margin-top: .6rem; }
.rtemplate__body { background: var(--ink); color: #eef0e8; border-radius: var(--radius); padding: 1.2rem 1.3rem; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88rem; line-height: 1.6; white-space: pre-wrap; word-break: break-word; margin-bottom: .8rem; }
.rtemplate__status { min-height: 1.2rem; font-size: .88rem; color: var(--green-600); font-weight: 600; }
.raction { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 1.8rem 0; padding: 1.4rem; background: var(--ivory-2); border-radius: var(--radius-lg); }
.raction__status { flex-basis: 100%; min-height: 1.2rem; font-size: .9rem; color: var(--green-600); font-weight: 600; margin: 0; }
.rsource { font-size: .84rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 1rem; }
.rsource__label { font-weight: 700; color: var(--ink-2); text-transform: uppercase; letter-spacing: .06em; font-size: .74rem; margin-right: .3rem; }

/* ---------------------------------------------- radio control (wizard) */
.radios { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.radio { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--white); cursor: pointer; font-weight: 600; min-height: 46px; transition: border-color .15s var(--ease), background .15s var(--ease); }
.radio:hover { border-color: var(--ink-3); }
.radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; position: relative; }
.radio:has(input:checked) { border-color: var(--burgundy); background: var(--burgundy-tint); }
.radio:has(input:checked) .radio__dot { border-color: var(--burgundy); }
.radio:has(input:checked) .radio__dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--burgundy); }
.radio:has(input:focus-visible) { outline: 3px solid var(--ring); outline-offset: 2px; }

/* ---------------------------------------------- wizard */
.wizard-wrap { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.wizard-wrap > * { min-width: 0; }
.wizard-rail { min-width: 0; }
@media (min-width: 920px) { .wizard-wrap { grid-template-columns: 250px 1fr; align-items: start; } }
@media (min-width: 920px) { .wizard-rail { position: sticky; top: calc(var(--header-h) + 1rem); } }
.wprogress { display: grid; gap: .1rem; }
.wprogress__item { display: flex; align-items: center; gap: .7rem; padding: .45rem .3rem; color: var(--ink-3); font-weight: 600; background: none; border: 0; text-align: left; width: 100%; cursor: pointer; }
.wprogress__num { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); display: inline-flex; align-items: center; justify-content: center; font-size: .82rem; flex: none; }
.wprogress__label { font-size: .9rem; }
.wprogress__item.is-current { color: var(--burgundy); }
.wprogress__item.is-current .wprogress__num { border-color: var(--burgundy); background: var(--burgundy); color: #fff; }
.wprogress__item.is-done .wprogress__num { border-color: var(--green); background: var(--green); color: #fff; }
@media (max-width: 919px) {
  .wprogress { grid-auto-flow: column; justify-content: start; overflow-x: auto; gap: .3rem; padding-bottom: .4rem; }
  .wprogress__item { flex-direction: column; gap: .2rem; min-width: 56px; }
  .wprogress__label { display: none; }
}
.wstep__count { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--burgundy); font-weight: 700; margin-bottom: 1rem; outline: none; }
.wstep__q { font-family: var(--font-serif); font-weight: 700; font-size: var(--fs-h3); margin-bottom: .4rem; padding: 0; }
.wstep__hint { color: var(--ink-3); font-size: .9rem; margin-bottom: .8rem; }
.wfield { border: 0; padding: 0; margin: 0 0 1.2rem; }
.wsave { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.2rem; font-size: .9rem; color: var(--ink-2); }
.wsave input { margin-top: .15rem; width: 20px; height: 20px; flex: none; }
.wreview { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem; }
.wreview__title { background: var(--ivory-2); padding: .8rem 1.1rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; font-family: var(--font-sans); margin: 0; }
.wreview__body { padding: 1.1rem; margin: 0; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .85rem; line-height: 1.55; white-space: pre-wrap; word-break: break-word; background: var(--white); color: var(--ink-2); }
.wactions { display: flex; flex-wrap: wrap; gap: .7rem; }
.wactions .btn { flex: 1 1 auto; min-width: 180px; }
.wactions__status { min-height: 1.4rem; margin-top: .7rem; font-weight: 600; color: var(--green-600); }
.wcontrols { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.wcontrols [data-wizard-back] .icon--arrow { transform: rotate(180deg); }
.wcontrols [data-wizard-next] { margin-left: auto; }
.wizard-skip { margin-top: 1.5rem; }
.wfallback { margin-top: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.5rem; background: var(--ivory-2); }
.wfallback ul { display: grid; gap: .4rem; margin: .6rem 0; }
.wfallback li { padding-left: 1.2rem; position: relative; }
.wfallback li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--burgundy); }

/* ---------------------------------------------- search */
.search-form { display: flex; align-items: center; gap: .6rem; margin-top: 1.4rem; max-width: 640px; background: var(--white); border: 1.5px solid var(--line-2); border-radius: var(--radius); padding: .3rem .3rem .3rem .9rem; }
.search-form:focus-within { border-color: var(--burgundy); box-shadow: 0 0 0 3px var(--burgundy-tint); }
.search-form__icon { color: var(--ink-3); display: inline-flex; }
.search-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: .7rem .2rem; min-height: 44px; font-size: 1rem; }
.search-form input:focus-visible { outline: none; }
.search-count { color: var(--ink-3); font-size: .9rem; margin-bottom: 1rem; }
.search-group { margin-bottom: 1.8rem; }
.search-group__title { font-family: var(--font-sans); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--burgundy); margin-bottom: .6rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.search-list { display: grid; gap: .3rem; }
.search-item a { display: block; padding: .8rem 1rem; border-radius: var(--radius); text-decoration: none; color: inherit; transition: background .15s var(--ease); }
.search-item a:hover { background: var(--ivory-2); }
.search-item__title { display: block; font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.search-item__summary { display: block; color: var(--text-soft); font-size: .92rem; margin-top: .15rem; }
.search-results mark, .rdialog mark { background: #f6e4b8; color: inherit; padding: 0 .1em; border-radius: 2px; }
.search-empty { padding: 1.5rem 0; }
.search-empty__title { font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; margin-bottom: .5rem; }
.search-empty p { color: var(--text-soft); margin-bottom: 1rem; }
.search-browse { display: flex; flex-wrap: wrap; gap: .5rem; }
.search-noscript ul.search-browse { margin-top: .6rem; }
.search-noscript li { list-style: none; }

/* ---------------------------------------------- saved research */
.saved-count { color: var(--ink-3); font-size: .92rem; margin-bottom: 1.4rem; }
.saved-group { margin-bottom: 1.8rem; }
.saved-group__title { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-h3); margin-bottom: .8rem; }
.saved-group__count { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 .5rem; border-radius: 999px; background: var(--burgundy-tint); color: var(--burgundy); font-family: var(--font-sans); font-size: .82rem; font-weight: 700; }
.saved-list { display: grid; gap: .5rem; }
.saved-item { display: flex; align-items: center; gap: .8rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .3rem .3rem .3rem 1.1rem; box-shadow: var(--shadow-sm); }
.saved-item__link { flex: 1; padding: .7rem 0; font-weight: 600; color: var(--ink); text-decoration: none; }
.saved-item__link:hover { color: var(--burgundy); }
.saved-item__remove { width: 42px; height: 42px; border: 0; background: transparent; color: var(--ink-3); border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.saved-item__remove:hover { background: var(--burgundy-tint); color: var(--burgundy); }
.saved-toolbar { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.saved-toolbar__status { flex-basis: 100%; min-height: 1.2rem; font-size: .9rem; color: var(--green-600); font-weight: 600; }
.saved-empty { text-align: center; padding: 2.5rem 1rem; }
.saved-empty__title { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; margin-bottom: .5rem; }
.saved-empty p { color: var(--text-soft); max-width: 48ch; margin: 0 auto 1.2rem; }
.saved-empty__links { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.saved-undo { display: flex; gap: .6rem; align-items: center; justify-content: center; margin-top: 1.2rem; padding: .9rem 1.2rem; background: var(--ivory-2); border-radius: var(--radius); color: var(--ink-2); font-size: .92rem; }
.saved-note { margin-top: 1rem; color: var(--ink-3); font-size: .88rem; }
.saved-item { padding-left: .6rem; }
.saved-item__include { display: inline-flex; align-items: center; cursor: pointer; flex: none; padding: .4rem; }
.saved-item__include input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.saved-item__check { width: 22px; height: 22px; border: 1.5px solid var(--line-2); border-radius: 5px; background: var(--white); position: relative; display: inline-block; }
.saved-item__include input:checked + .saved-item__check { background: var(--burgundy); border-color: var(--burgundy); }
.saved-item__include input:checked + .saved-item__check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.saved-item__include input:focus-visible + .saved-item__check { outline: 3px solid var(--ring); outline-offset: 2px; }
.saved-import { padding: .5rem 0 1rem; }
.saved-import__title { font-size: var(--fs-h3); margin-bottom: .5rem; }
.saved-import p { color: var(--text-soft); }
.saved-import__list { display: grid; gap: .4rem; margin: 1rem 0; padding-left: 1.1rem; }
.saved-import__list li { list-style: disc; color: var(--text-soft); }
.saved-import__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }

/* ---------------------------------------------- in-page jump bar (commodity detail) */
.jumpbar { position: sticky; top: var(--header-h); z-index: 40; background: rgba(247,242,232,.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.jumpbar__inner { display: flex; align-items: center; gap: .3rem; overflow-x: auto; padding-block: .55rem; -webkit-overflow-scrolling: touch; }
.jumpbar__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); font-weight: 700; margin-right: .5rem; white-space: nowrap; flex: none; }
.jumpbar__link { padding: .4rem .9rem; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .85rem; white-space: nowrap; flex: none; }
.jumpbar__link:hover { background: var(--burgundy-tint); color: var(--burgundy); }
/* keep anchored sections clear of the sticky header + jump bar */
.page-commodity [id] { scroll-margin-top: calc(var(--header-h) + 3.6rem); }

/* ---------------------------------------------- landing pages */
.hero--compact { min-height: clamp(22rem, 52svh, 30rem); }
@media (max-width: 640px) { .hero--compact { min-height: 62svh; } }
.landing-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }

/* ---------------------------------------------- offline page */
.offline { padding-block: clamp(4rem, 8vw, 7rem); min-height: 68vh; display: flex; align-items: center; }
.offline__inner { max-width: 640px; }
.offline__title { font-size: var(--fs-h1); margin-bottom: .7rem; }
.offline__lede { font-size: var(--fs-lede); color: var(--text-soft); margin-bottom: 1.8rem; line-height: 1.5; }
.offline__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.8rem; }
.offline__contact { color: var(--text-soft); }
.offline__contact ul { display: grid; gap: .5rem; margin-top: .5rem; }
.offline__contact li { display: flex; align-items: center; gap: .5rem; }
.offline__contact .icon { color: var(--burgundy); }

/* ---------------------------------------------- install banner */
.install-banner {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 74px); z-index: 95;
  width: min(92vw, 440px); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 1rem 1.1rem;
  display: flex; gap: 1rem; align-items: center;
  opacity: 0; transform: translate(-50%, 20px); transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.install-banner.is-shown { opacity: 1; transform: translate(-50%, 0); }
.install-banner__text { display: flex; flex-direction: column; gap: .15rem; }
.install-banner__text strong { font-size: .95rem; }
.install-banner__text span { font-size: .82rem; color: var(--ink-3); }
.install-banner__actions { display: flex; gap: .4rem; margin-left: auto; flex: none; }
@media (min-width: 921px) {
  .install-banner { left: 20px; right: auto; bottom: calc(env(safe-area-inset-bottom) + 20px); transform: translateY(20px); }
  .install-banner.is-shown { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .install-banner { transition: none; } }

/* ---------------------------------------------- print (Save as PDF) */
@media print {
  .site-header, .dock, .sticky-cta, .breadcrumbs, .site-footer, .raction, .magnet-wrap, .cta-panel, .rfilters, .jump, .skip-link { display: none !important; }
  body { padding: 0; color: #000; background: #fff; }
  .pagehead { padding-top: 0; }
  a { color: #000; text-decoration: underline; }
  .rsection, .rintro { break-inside: avoid; }
}
