/* ==========================================================================
   Agrivera Food Group — site.css
   One stylesheet for the whole site. Every colour is a custom property in
   :root so the palette can be swapped in one place.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — proposal pending real brand hex codes. Swap here only. */
  --field:      #14503C;  /* primary green */
  --field-deep: #0D3527;  /* dark sections, hero */
  --ink:        #0B1F17;  /* text, footer */
  --chile:      #C1362F;  /* CTA buttons ONLY */
  --paper:      #F7F8F6;  /* page background */
  --paper-2:    #EDF0EB;  /* alternating sections */
  --rule:       #D5DBD2;  /* hairlines */
  --text-muted: #56675D;

  /* Derived, context-flipping tokens. Dark surfaces re-declare these. */
  --surface:      var(--paper);
  --on-surface:   var(--ink);
  --on-surface-2: var(--text-muted);
  --hairline:     var(--rule);
  --focus:        var(--field);

  /* Type */
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wdth-head: 118;
  --wdth-body: 100;

  --step-h1:      clamp(2.4rem, 1.5rem + 4.2vw, 4.25rem);
  --step-h2:      clamp(1.95rem, 1.35rem + 2.6vw, 3.1rem);
  --step-h3:      clamp(1.3rem, 1.1rem + 0.85vw, 1.7rem);
  --step-h4:      clamp(1.06rem, 1rem + 0.35vw, 1.22rem);
  --step-lead:    clamp(1.14rem, 1.02rem + 0.6vw, 1.44rem);
  --step-body:    1.0625rem;
  --step-small:   0.9375rem;
  --step-fine:    0.8125rem;

  --measure: 68ch;

  /* Space */
  --gutter:  clamp(1.25rem, 4vw, 3rem);
  --shell:   1260px;
  --section: clamp(4.5rem, 9vw, 9rem);
  --radius:  3px;

  --ease: cubic-bezier(0.22, 0.68, 0.26, 1);
}

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

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

html:focus-within { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:focus-within { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-body);
  font-weight: 400;
  font-variation-settings: "wdth" var(--wdth-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-variation-settings: "wdth" var(--wdth-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.018em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-h1); }
h2 { font-size: var(--step-h2); }
h3 { font-size: var(--step-h3); line-height: 1.12; }
h4 { font-size: var(--step-h4); line-height: 1.2; letter-spacing: -0.012em; }

p, ul, ol, dl, table, figure { margin: 0 0 1.15em; }
p:last-child, ul:last-child, ol:last-child, table:last-child { margin-bottom: 0; }

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

strong, b { font-weight: 700; }

hr {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: clamp(2.5rem, 5vw, 4rem) 0;
}

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

::selection { background: var(--field); color: var(--paper); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }

.section--alt   { background: var(--paper-2); }
.section--rule  { border-top: 1px solid var(--rule); }

.section--dark {
  --surface: var(--field-deep);
  --on-surface: var(--paper);
  --on-surface-2: rgba(247, 248, 246, 0.72);
  --hairline: rgba(247, 248, 246, 0.18);
  --focus: var(--paper);
  background: var(--field-deep);
  color: var(--paper);
}
.section--field {
  --surface: var(--field);
  --on-surface: var(--paper);
  --on-surface-2: rgba(247, 248, 246, 0.74);
  --hairline: rgba(247, 248, 246, 0.2);
  --focus: var(--paper);
  background: var(--field);
  color: var(--paper);
}

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose a { color: var(--field); }
.section--dark .prose a, .section--field .prose a { color: var(--paper); }

.lead {
  font-size: var(--step-lead);
  line-height: 1.45;
  letter-spacing: -0.008em;
  max-width: 62ch;
}

.muted { color: var(--text-muted); }
.section--dark .muted, .section--field .muted { color: rgba(247, 248, 246, 0.72); }

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

.stack > * + * { margin-top: clamp(1rem, 2vw, 1.5rem); }

.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: var(--gutter);
  top: 0;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--field);
  color: var(--paper);
  padding: 0.75rem 1.15rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

/* Section headers ---------------------------------------------------------- */
.section-head {
  display: grid;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-bottom: clamp(2.25rem, 4.5vw, 3.75rem);
}
@media (min-width: 62rem) {
  .section-head--split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: end;
    gap: clamp(2rem, 5vw, 4.5rem);
  }
}
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 56ch; color: var(--text-muted); }
.section--dark .section-head p, .section--field .section-head p { color: rgba(247, 248, 246, 0.74); }

/* --------------------------------------------------------------------------
   4. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: var(--step-small);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.002em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}
.btn--sm { padding: 0.68rem 1.1rem; font-size: var(--step-fine); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

/* Chile red is reserved for the primary CTA. Nowhere else on the site. */
.btn--primary { background: var(--chile); color: #fff; }
.btn--primary:hover { background: #A82C26; }

.btn--ghost { border-color: var(--rule); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--field); color: var(--field); }

.btn--ghost-light {
  border-color: rgba(247, 248, 246, 0.4);
  color: var(--paper);
  background: transparent;
}
.btn--ghost-light:hover { border-color: var(--paper); background: rgba(247, 248, 246, 0.08); }

.btn--solid { background: var(--field); color: var(--paper); }
.btn--solid:hover { background: var(--field-deep); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

/* Text links: underline is the affordance. No appended arrows. */
.link {
  color: var(--field);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--field) 35%, transparent);
  transition: text-decoration-color 0.18s var(--ease);
}
.link:hover { text-decoration-color: currentColor; }
.section--dark .link, .section--field .link {
  color: var(--paper);
  text-decoration-color: rgba(247, 248, 246, 0.45);
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  transition: box-shadow 0.2s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 1px 0 rgba(11, 31, 23, 0.08), 0 8px 24px -18px rgba(11, 31, 23, 0.5); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 76px;
  padding-block: 0.75rem;
  transition: min-height 0.2s var(--ease);
}
.site-header.is-stuck .site-header__inner { min-height: 64px; }

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 168px; height: auto; }
@media (min-width: 48rem) { .brand img { width: 196px; } }

.nav { display: none; margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.75rem;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: color 0.16s var(--ease);
}
.nav__link:hover { color: var(--field); }
.nav__link[aria-current="page"] { color: var(--field); font-weight: 600; }

.nav__caret { width: 9px; height: 9px; flex: 0 0 auto; transition: transform 0.2s var(--ease); }
[aria-expanded="true"] > .nav__caret { transform: rotate(180deg); }

/* The two buttons on one row, the language selector on the line below.
   The selector is set at line-height 1 and the row gap kept tight so the
   stack measures just under the 54.7px the brand lockup already occupies:
   the header stays the height it has always been rather than growing to
   make room for three language codes. */
.header-actions { display: none; flex-direction: column; align-items: flex-end; gap: 0.3rem; flex: 0 0 auto; }
.header-actions__row { display: flex; gap: 0.6rem; }

/* Language selector ------------------------------------------------------- */
.langbar { display: flex; align-items: center; gap: 0.4rem; line-height: 1; }
.langbar__globe { width: 13px; height: 13px; flex: 0 0 auto; color: var(--text-muted); }
.langbar__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.langbar__item { display: flex; align-items: center; }
.langbar__item + .langbar__item::before {
  content: "\00b7";
  margin: 0 0.3rem;
  /* Set at the same size as the codes it separates: left at the inherited
     body size it is the tallest thing in the row and pushes the header down. */
  font-size: var(--step-fine);
  color: var(--rule);
}
.langbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  font-size: var(--step-fine);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 1px;
  transition: color 0.16s var(--ease);
}
/* The text is 13px tall so the header does not grow; the thing you click is
   26px, which is what a pointer needs. Absolutely positioned, so widening
   the target costs no layout. */
.langbar__link::after {
  content: "";
  position: absolute;
  inset: -7px -4px;
}
.langbar__link:hover { color: var(--field); }
/* The language being read is marked twice over: colour for most people, and
   an underline for anyone who cannot separate the two greens. */
.langbar__link.is-current {
  color: var(--field);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.34em;
}

/* In the drawer it is a row of real tap targets rather than a footnote. */
.langbar--drawer {
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--rule);
}
.langbar--drawer .langbar__globe { width: 15px; height: 15px; }
.langbar--drawer .langbar__link {
  min-height: 44px;
  padding-inline: 0.55rem;
  font-size: var(--step-small);
  line-height: 1.2;
}
/* The drawer entry is already a 44px target, so it needs no grown hit area. */
.langbar--drawer .langbar__link::after { content: none; }
.langbar--drawer .langbar__item + .langbar__item::before { margin: 0 0.15rem; }

/* Products dropdown -------------------------------------------------------- */
.menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: min(46rem, calc(100vw - 2 * var(--gutter)));
  background: var(--paper);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--field);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -32px rgba(11, 31, 23, 0.55);
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
}
.menu[hidden] { display: none; }
.menu__grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.menu__title {
  font-size: var(--step-fine);
  font-weight: 700;
  font-variation-settings: "wdth" var(--wdth-head);
  letter-spacing: -0.005em;
  color: var(--field);
  margin: 0 0 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule);
}
.menu__list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.25rem; }
.menu__list li { break-inside: avoid; }
.menu__list a {
  display: block;
  padding: 0.3rem 0;
  font-size: var(--step-small);
  text-decoration: none;
  color: var(--ink);
}
.menu__list a:hover { color: var(--field); text-decoration: underline; }
.menu__foot {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

/* Burger ------------------------------------------------------------------- */
.burger {
  margin-inline-start: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}
.burger span { display: block; height: 1.5px; background: var(--ink); }

@media (min-width: 64rem) {
  .nav { display: block; }
  .header-actions { display: flex; }
  .burger { display: none; }
}

/* Spanish and French run about 40% longer across the navigation and the two
   buttons than English does, and do not fit beside the brand until 69rem.
   Between 64 and 69rem they keep the drawer, which is a complete navigation
   rather than a fallback — better than a header that clips or slides. English
   is untouched: it fits from 64rem with room to spare. */
@media (min-width: 64rem) and (max-width: 68.999rem) {
  html[lang="es"] .nav,
  html[lang="fr"] .nav,
  html[lang="es"] .header-actions,
  html[lang="fr"] .header-actions { display: none; }
  html[lang="es"] .burger,
  html[lang="fr"] .burger { display: inline-flex; }
}

/* Offered once, to a first-time visitor whose browser asks for a language
   this site speaks. Never a redirect: a wrong guess would strand somebody. */
.lang-offer {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.lang-offer[hidden] { display: none; }
.lang-offer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.85rem;
}
.lang-offer p { margin: 0; font-size: var(--step-small); }
.lang-offer .btn-row { gap: 0.5rem; }

/* Drawer ------------------------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
}
.drawer.is-open { display: block; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(11, 31, 23, 0.45); border: 0; width: 100%; }
.drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(24rem, 92vw);
  background: var(--paper);
  border-inline-start: 1px solid var(--rule);
  padding: 1.25rem var(--gutter) 2.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (prefers-reduced-motion: no-preference) {
  .drawer.is-open .drawer__panel { animation: slide-in 0.28s var(--ease); }
  @keyframes slide-in { from { transform: translateX(12%); opacity: 0; } }
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__close {
  width: 44px; height: 44px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}
.drawer__nav { list-style: none; margin: 0; padding: 0; }
.drawer__nav > li { border-top: 1px solid var(--rule); }
.drawer__nav > li:last-child { border-bottom: 1px solid var(--rule); }
.drawer__nav a, .drawer__nav button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.drawer__sub { list-style: none; margin: 0 0 1rem; padding: 0 0 0 0.9rem; border-inline-start: 1px solid var(--rule); }
.drawer__sub[hidden] { display: none; }
.drawer__sub a { padding: 0.5rem 0; font-size: var(--step-small); font-weight: 400; }
.drawer__sub-title {
  margin: 0.5rem 0 0.15rem;
  font-size: var(--step-fine);
  font-weight: 700;
  color: var(--field);
  font-variation-settings: "wdth" var(--wdth-head);
}
.drawer__actions { display: grid; gap: 0.6rem; }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  background: var(--field-deep);  /* shows only if the photograph fails */
  padding-block: clamp(3rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}
.hero__inner {
  /* No veil over the photograph: it runs at full strength and the copy
     carries its own surface instead. */
  position: relative;
  z-index: 2;
  max-width: 46rem;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -34px rgba(11, 31, 23, 0.55);
}
.hero h1 {
  font-size: var(--step-h1);
  color: var(--field-deep);
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
}
.hero__sub {
  font-size: var(--step-lead);
  line-height: 1.45;
  color: var(--text-muted);
  max-width: 46ch;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

/* Page hero for interior pages */
.page-hero {
  background: var(--field-deep);
  color: var(--paper);
  padding-block: clamp(3.25rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.page-hero::before {
  /* Same job as the homepage scrim: hold the headline contrast steady over
     whatever the photograph is doing. Never below 0.72 alpha, so paper-white
     text clears 5:1 even where the crop is blown out. */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(95deg,
    rgba(13, 53, 39, 0.97) 0%,
    rgba(13, 53, 39, 0.91) 45%,
    rgba(13, 53, 39, 0.72) 100%);
  pointer-events: none;
}
.page-hero h1 { max-width: 22ch; }
.page-hero p { color: rgba(247, 248, 246, 0.78); max-width: 56ch; font-size: var(--step-lead); line-height: 1.45; }

.breadcrumb { font-size: var(--step-fine); margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); color: rgba(247, 248, 246, 0.6); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 0.5rem; color: rgba(247, 248, 246, 0.4); }
.breadcrumb a { color: inherit; text-decoration: underline; text-decoration-color: rgba(247, 248, 246, 0.3); }
.breadcrumb a:hover { color: var(--paper); }

/* One orchestrated reveal, homepage hero only, at page load. */
@media (prefers-reduced-motion: no-preference) {
  .reveal > * { animation: reveal 0.85s var(--ease) backwards; }
  .reveal > *:nth-child(1) { animation-delay: 0.05s; }
  .reveal > *:nth-child(2) { animation-delay: 0.16s; }
  .reveal > *:nth-child(3) { animation-delay: 0.27s; }
  .reveal > *:nth-child(4) { animation-delay: 0.38s; }
  .reveal > *:nth-child(5) { animation-delay: 0.49s; }
  .reveal > *:nth-child(6) { animation-delay: 0.60s; }
  @keyframes reveal {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
  }
}

/* --------------------------------------------------------------------------
   7. Fact strip
   -------------------------------------------------------------------------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  border-top: 1px solid var(--rule);
}
.fact {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.25rem, 2.5vw, 2rem) clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 48rem) {
  .fact + .fact { border-inline-start: 1px solid var(--rule); padding-inline-start: clamp(1.25rem, 2.5vw, 2rem); }
  .fact { border-bottom: 0; }
}
.fact__value {
  display: block;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
  font-variation-settings: "wdth" var(--wdth-head);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.024em;
  color: var(--field);
  margin-bottom: 0.55rem;
}
.fact__label { font-size: var(--step-small); font-weight: 600; margin: 0 0 0.3rem; }
.fact__note { font-size: var(--step-small); color: var(--text-muted); margin: 0; }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: clamp(1.5rem, 2.5vw, 2rem) 0 0;
  border-top: 2px solid var(--field);
  border-radius: var(--radius);
  background: transparent;
}
.section--dark .card, .section--field .card { border-top-color: rgba(247, 248, 246, 0.55); }
.card h3 { margin-bottom: 0; }
.card p { color: var(--text-muted); font-size: var(--step-small); }
.section--dark .card p, .section--field .card p { color: rgba(247, 248, 246, 0.76); }

.card--link { text-decoration: none; color: inherit; transition: border-color 0.18s var(--ease); }
.card--link:hover { border-top-color: var(--chile); }
.card--link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

/* Catalog ------------------------------------------------------------------ */
.catalog-group + .catalog-group { margin-top: clamp(3rem, 6vw, 5rem); }
.catalog-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.catalog-group__head h3 { margin: 0; }
.catalog-group__head p { margin: 0; font-size: var(--step-small); color: var(--text-muted); }

.catalog {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.catalog__item { display: flex; }
.catalog__link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0.9rem;
  border-top: 2px solid var(--field);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s var(--ease);
}
.catalog__media {
  display: block;
  aspect-ratio: 310 / 282;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--paper-2);
  margin-bottom: 0.35rem;
}
.catalog__media img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .catalog__media img { transition: transform 0.5s var(--ease); }
  .catalog__link:hover .catalog__media img { transform: scale(1.04); }
}
.catalog__link:hover { border-top-color: var(--chile); }
.catalog__name { font-size: var(--step-h4); font-weight: 700; font-variation-settings: "wdth" var(--wdth-head); letter-spacing: -0.012em; }
.catalog__link:hover .catalog__name { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

/* --------------------------------------------------------------------------
   9. Steps — used only where the content is a genuine sequence
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-top: 1px solid var(--hairline);
}
.steps > li:last-child { border-bottom: 1px solid var(--hairline); }
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  font-variation-settings: "wdth" var(--wdth-head);
  font-weight: 700;
  font-size: var(--step-h4);
  letter-spacing: -0.01em;
  color: var(--field);
  line-height: 1.3;
}
.section--dark .steps > li::before, .section--field .steps > li::before { color: rgba(247, 248, 246, 0.6); }
.steps h3 { margin-bottom: 0.35rem; }
.steps p { color: var(--text-muted); margin: 0; }
.section--dark .steps p, .section--field .steps p { color: rgba(247, 248, 246, 0.76); }

/* --------------------------------------------------------------------------
   10. Definition rows, credentials, memberships
   -------------------------------------------------------------------------- */
.deflist { margin: 0; }
.deflist > div {
  display: grid;
  gap: 0.25rem 1.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--hairline);
}
.deflist > div:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 40rem) {
  .deflist > div { grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); align-items: baseline; }
}
.deflist dt { font-weight: 600; font-size: var(--step-small); margin: 0; }
.deflist dd { margin: 0; color: var(--text-muted); }
.section--dark .deflist dd, .section--field .deflist dd { color: rgba(247, 248, 246, 0.78); }

.creds { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.cred { border-top: 2px solid var(--field); padding-top: 1.1rem; }
.section--dark .cred, .section--field .cred { border-top-color: rgba(247, 248, 246, 0.55); }
.cred h3 { font-size: var(--step-h4); margin-bottom: 0.6rem; }
.cred ul { list-style: none; margin: 0; padding: 0; }
.cred li { padding: 0.4rem 0; font-size: var(--step-small); border-top: 1px solid var(--hairline); }
.cred li:first-child { border-top: 0; padding-top: 0; }
.cred li span { display: block; color: var(--text-muted); }
.section--dark .cred li span, .section--field .cred li span { color: rgba(247, 248, 246, 0.7); }

.memberships {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.membership { border-top: 2px solid var(--field); padding-top: 1.1rem; }
.section--dark .membership, .section--field .membership { border-top-color: rgba(247, 248, 246, 0.55); }
.membership__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(112px, 9.5vw, 140px);
  padding: 1rem;
  margin-bottom: 0.85rem;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
}
/* Badge artwork is a mix of portrait and square lockups. Cap the height in
   pixels rather than percentages: a percentage max-height on a flex item does
   not resolve reliably, which let these overflow the tile. */
.membership__badge img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: clamp(72px, 6.5vw, 96px);
  object-fit: contain;
}
.membership__name { display: block; font-weight: 700; font-variation-settings: "wdth" var(--wdth-head); font-size: var(--step-h4); letter-spacing: -0.012em; }
.membership__note { display: block; font-size: var(--step-small); color: var(--text-muted); margin-top: 0.2rem; }
.section--dark .membership__note, .section--field .membership__note { color: rgba(247, 248, 246, 0.72); }

/* --------------------------------------------------------------------------
   11. Locations
   -------------------------------------------------------------------------- */
.locations { display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.location { border-top: 2px solid var(--field); padding-top: 1.2rem; }
.section--dark .location, .section--field .location { border-top-color: rgba(247, 248, 246, 0.55); }
.location h3 { font-size: var(--step-h4); margin-bottom: 0.85rem; }
.location dl { margin: 0; }
.location dl > div { display: grid; gap: 0.1rem; padding: 0.55rem 0; border-top: 1px solid var(--hairline); }
.location dt { font-size: var(--step-fine); color: var(--text-muted); margin: 0; }
.section--dark .location dt, .section--field .location dt { color: rgba(247, 248, 246, 0.62); }
.location dd { margin: 0; font-size: var(--step-small); }
.location a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); }
.location a:hover { text-decoration-color: currentColor; }

/* --------------------------------------------------------------------------
   12. Forms
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-size: var(--step-small); font-weight: 600; }
.field .hint { font-size: var(--step-fine); color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: var(--step-small);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--field); }

/* SMS opt-in. Its own box, never ticked in advance, with the whole
   disclosure on the page at a size a reviewer can read as it stands. */
.consent {
  margin: 0.25rem 0 1.25rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  min-width: 0;
}
.consent legend { padding: 0 0.35rem; margin-left: -0.35rem; font-size: var(--step-small); font-weight: 600; }
.consent__row { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.consent__row + .consent__row { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--rule); }
.consent__intro, .consent__note { margin: 0 0 0.9rem; font-size: var(--step-small); line-height: 1.55; color: var(--ink); }
.consent__note { margin: 0.9rem 0 0; }
.consent input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.15rem 0 0;
  accent-color: var(--field);
  cursor: pointer;
}
.consent label { font-size: var(--step-small); line-height: 1.55; color: var(--ink); cursor: pointer; }
.consent a { color: var(--field); }

.form-grid { display: grid; gap: 0 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
/* A hint under one control must not stretch its neighbour's. */
.form-grid .field { align-content: start; }
.form-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: var(--step-fine);
  color: var(--text-muted);
}

.signup { display: flex; flex-wrap: wrap; gap: 0.75rem; }
[hidden] { display: none !important; }
.signup input {
  flex: 1 1 16rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(247, 248, 246, 0.35);
  border-radius: var(--radius);
  background: rgba(247, 248, 246, 0.06);
  color: var(--paper);
  font: inherit;
  font-size: var(--step-small);
}
.signup input::placeholder { color: rgba(247, 248, 246, 0.5); }

/* --------------------------------------------------------------------------
   13. Bands, media slots, callouts
   -------------------------------------------------------------------------- */
.band { background: var(--field); color: var(--paper); }
.band__inner {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5rem);
}
@media (min-width: 56rem) {
  .band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 5vw, 4rem); }
}
.band h2 { margin-bottom: 0.4rem; }
.band p { color: rgba(247, 248, 246, 0.78); max-width: 50ch; margin: 0; }

.pullquote {
  margin: 0;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-top: 2px solid var(--field);
  border-bottom: 1px solid var(--rule);
}
.pullquote p {
  font-size: clamp(1.5rem, 1.05rem + 1.9vw, 2.35rem);
  font-variation-settings: "wdth" var(--wdth-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.018em;
  max-width: 24ch;
  margin: 0;
}
.section--dark .pullquote { border-top-color: rgba(247, 248, 246, 0.7); border-bottom-color: rgba(247, 248, 246, 0.18); }

/* Image slot: renders a marked placeholder until a real photo URL is set. */
.media {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper-2);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--placeholder {
  display: grid;
  place-content: center;
  gap: 0.35rem;
  text-align: center;
  padding: 1.5rem;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 10px,
    rgba(86, 103, 93, 0.09) 10px 11px
  );
}
.media--placeholder b { font-size: var(--step-small); font-variation-settings: "wdth" var(--wdth-head); }
.media--placeholder span { font-size: var(--step-fine); color: var(--text-muted); }

.callout {
  border-top: 2px solid var(--field);
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.9rem);
}
.callout h3 { font-size: var(--step-h4); margin-bottom: 0.4rem; }
.callout p { margin: 0; font-size: var(--step-small); color: var(--text-muted); }

.tbd {
  display: inline-block;
  border: 1px dashed var(--text-muted);
  border-radius: var(--radius);
  padding: 0.1rem 0.5rem;
  font-size: var(--step-fine);
  color: var(--text-muted);
}

/* Data tables -------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: var(--step-small); }
table.data caption { text-align: start; font-size: var(--step-fine); color: var(--text-muted); padding-bottom: 0.6rem; }
table.data th, table.data td { text-align: start; padding: 0.75rem 1rem 0.75rem 0; border-top: 1px solid var(--rule); vertical-align: top; }
table.data thead th { border-top: 0; border-bottom: 2px solid var(--field); font-weight: 700; font-variation-settings: "wdth" var(--wdth-head); }
table.data tbody tr:last-child td { border-bottom: 1px solid var(--rule); }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 5rem) clamp(1.75rem, 3vw, 2.5rem);
}
.site-footer a { color: rgba(247, 248, 246, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.footer__top {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(247, 248, 246, 0.16);
}
.footer__brand { max-width: 24rem; }
.footer__brand p { color: rgba(247, 248, 246, 0.66); font-size: var(--step-small); margin-top: 1rem; }
/* The mark is already in the header, so the footer signs off in type instead. */
.footer__wordmark {
  color: var(--paper);
  font-size: var(--step-1);
  font-variation-settings: "wdth" 112;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-top: 0;
  text-transform: uppercase;
}
.footer__brand p.footer__wordmark { color: var(--paper); }
.footer__col h2 {
  font-size: var(--step-fine);
  letter-spacing: -0.004em;
  margin-bottom: 0.9rem;
  color: rgba(247, 248, 246, 0.55);
  font-weight: 600;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { padding: 0.28rem 0; font-size: var(--step-small); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: clamp(1.5rem, 3vw, 2rem);
  font-size: var(--step-fine);
  color: rgba(247, 248, 246, 0.6);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; list-style: none; margin: 0; padding: 0; }

/* --------------------------------------------------------------------------
   15. Utilities
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}
@media (min-width: 62rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .split--wide-first { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
  .split--sticky > :last-child { position: sticky; top: 108px; }
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. Nav disclosure pairing (link + caret button read as one item)
   -------------------------------------------------------------------------- */
.nav__item--menu { display: flex; align-items: center; }
.nav__item--menu .nav__link { padding-inline-end: 0.35rem; }
.nav__caret-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 34px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--radius);
}
.nav__item--menu:hover .nav__link,
.nav__item--menu:hover .nav__caret-btn { color: var(--field); }
.fact__value--text { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem); letter-spacing: -0.018em; }
.section-foot { margin-top: clamp(2rem, 4vw, 3rem); }
.section--dark .form-note, .section--field .form-note {
  border-color: rgba(247, 248, 246, 0.18);
  color: rgba(247, 248, 246, 0.6);
}
@media (min-width: 62rem) {
  .footer__top { grid-template-columns: 1.35fr 1.75fr 1fr 1.1fr; }
  .footer__col--wide ul { columns: 2; column-gap: 1.5rem; }
  .footer__col--wide li { break-inside: avoid; }
}

#drawer-products > div + div { margin-top: 1.4rem; }
#drawer-products .menu__title { border-bottom: 0; padding-bottom: 0.35rem; }
.drawer__all {
  margin: 0.9rem 0 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}

/* --------------------------------------------------------------------------
   17. Interior page heroes, figures, panels, notices
   -------------------------------------------------------------------------- */
.page-hero__inner { display: grid; gap: clamp(1.75rem, 4vw, 3.5rem); position: relative; z-index: 2; }
.page-hero .lead { margin-bottom: 0; }
.page-hero__actions { margin-top: clamp(1.5rem, 3vw, 2rem); }

.figure { margin: 0; }
.figure img { width: 100%; height: auto; border-radius: var(--radius); }
.figure figcaption { margin-top: 0.65rem; font-size: var(--step-fine); color: var(--text-muted); }

.panel {
  background: var(--paper-2);
  border-top: 2px solid var(--field);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.panel--plain { background: transparent; border-top-color: var(--rule); }

.notice {
  border: 1px dashed var(--text-muted);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-size: var(--step-small);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.notice strong { color: var(--ink); }

.panel .field input, .panel .field select, .panel .field textarea { background: var(--paper); }

.value-list { list-style: none; margin: 0; padding: 0; }
.value-list > li {
  display: grid;
  gap: 0.25rem 1.5rem;
  padding: clamp(1.1rem, 2.2vw, 1.6rem) 0;
  border-top: 1px solid var(--hairline);
}
.value-list > li:last-child { border-bottom: 1px solid var(--hairline); }
@media (min-width: 48rem) {
  .value-list > li { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); align-items: baseline; }
}
.value-list h3 { font-size: var(--step-h4); margin: 0; }
.value-list p { margin: 0; color: var(--text-muted); }
.section--dark .value-list p, .section--field .value-list p { color: rgba(247, 248, 246, 0.76); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: clamp(1.5rem, 3vw, 2rem); }

/* --------------------------------------------------------------------------
   18. Legal pages — document typography, not poster typography
   -------------------------------------------------------------------------- */
.legal { max-width: 44rem; margin-inline: auto; }
.legal .prose { max-width: none; }
.legal .prose h2 {
  font-size: var(--step-h3);
  margin-top: 2.4em;
  margin-bottom: 0.55em;
}
.legal .prose > h2:first-child { margin-top: 1.6em; }
.section--dark .notice, .section--field .notice {
  border-color: rgba(247, 248, 246, 0.5);
  color: rgba(247, 248, 246, 0.85);
}
.section--dark .notice strong, .section--field .notice strong { color: var(--paper); }
/* A sent form swaps the dashed "still to do" box for a solid confirmation. */
.notice--ok { border-style: solid; border-color: var(--field); color: var(--ink); }
.section--dark .notice--ok, .section--field .notice--ok {
  border-color: var(--paper);
  color: var(--paper);
}
/* Sign-in modal on the partner portal. A native <dialog>, so the browser
   supplies the focus trap, the Escape key and the inert background. */
.modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(28rem, calc(100vw - 2rem));
  width: 100%;
  color: var(--ink);
}
.modal::backdrop { background: rgba(11, 31, 23, 0.6); }
.modal__panel {
  background: var(--paper);
  border-top: 2px solid var(--field);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
}
.modal__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.modal__head h2 { font-size: var(--step-2); margin: 0; }
.modal__close {
  background: none;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius);
}
.modal__close:hover { color: var(--ink); }
.modal .field + .field { margin-top: 1rem; }
.modal .form-note { margin-top: 1.25rem; }

/* Brand pages. The headline leads the story at display size; the first
   paragraph carries the lead weight so the story opens rather than starts. */
.brand-story__headline { margin-bottom: 1.2rem; }
.prose--lead-first > p:first-child {
  font-size: var(--step-1);
  line-height: 1.45;
  color: var(--ink);
}

/* Seasonality grid on the products hub. One hue, one step: a cell is either
   in season or it is not. The 2px border-spacing is the gap between fills, and
   every row carries its window in words so nothing rests on the colour. */
.season { overflow-x: auto; }
.season table {
  border-collapse: separate;
  border-spacing: 2px;
  width: 100%;
  min-width: 44rem;
  font-size: var(--step-fine);
}
.season thead th {
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  padding-bottom: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.season tbody th {
  text-align: left;
  font-weight: 400;
  white-space: nowrap;
  padding-right: 0.9rem;
  /* Shrink to the longest name rather than absorbing the spare width, and
     stay put while the months scroll under it on a narrow screen. */
  width: 1%;
  position: sticky;
  left: 0;
  background: var(--paper-2);
}
.season thead th:first-child { position: sticky; left: 0; background: var(--paper-2); }
.season tbody th a { color: var(--ink); text-decoration: none; }
.season tbody th a:hover { text-decoration: underline; }
.season__cell {
  background: var(--paper);
  border-radius: 2px;
  height: 1.55rem;
  min-width: 1.55rem;
}
.season__cell.is-on { background: var(--field); }
.season__window {
  color: var(--text-muted);
  white-space: nowrap;
  padding-left: 0.9rem;
  width: 1%;
}
.season__key {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step-fine);
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.season__swatch {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 2px;
  background: var(--field);
  display: inline-block;
}

/* Shared empty image slot: catalog cards and variety cards both use it. */
.slot-empty {
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1rem;
  border: 1px solid var(--rule);
  background-image: repeating-linear-gradient(
    -45deg, transparent 0 10px, rgba(86, 103, 93, 0.09) 10px 11px);
}
.slot-empty span { font-size: var(--step-fine); color: var(--text-muted); line-height: 1.35; }

/* --------------------------------------------------------------------------
   19. Varieties — one card per variety on a product page
   -------------------------------------------------------------------------- */
.varieties {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13.5rem), 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.variety { border-top: 2px solid var(--field); padding-top: 0.9rem; }
/* Variety photographs are cut-out product shots on white, and the whole
   product has to be visible — so the tile is white, the fit is `contain`, and
   nothing is cropped. A square tile suits both the portrait and the landscape
   crops the source pages use. */
.variety__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background-color: #fff;
  margin-bottom: 0.8rem;
}
.variety__media img {
  width: 100%;
  height: 100%;
  padding: 0.85rem;
  box-sizing: border-box;
  object-fit: contain;
}
.variety__name {
  font-size: var(--step-h4);
  margin: 0;
}
.variety__desc { font-size: var(--step-small); color: var(--text-muted); margin: 0.35rem 0 0; }
.variety__spec { margin: 0.5rem 0 0; }
.variety__spec > div { padding: 0.35rem 0; border-top: 1px solid var(--hairline); }
.variety__spec dt {
  font-size: var(--step-fine);
  color: var(--text-muted);
  margin: 0;
}
.variety__spec dd { margin: 0; font-size: var(--step-small); }

/* --------------------------------------------------------------------------
   20. Long-form editorial on product pages
   -------------------------------------------------------------------------- */
.editorial-list { max-width: var(--measure); margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }
.editorial-list__title { font-size: var(--step-h4); margin-bottom: 0.75rem; }

/* Each variety's history and lists sit under its own name. */
.editorial__variety {
  font-size: var(--step-h3);
  margin: clamp(2.5rem, 5vw, 4rem) 0 1rem;
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 2px solid var(--field);
}
h2 + .editorial__variety { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.editorial-list ul { list-style: none; margin: 0; padding: 0; }
.editorial-list li {
  padding: 0.6rem 0;
  border-top: 1px solid var(--rule);
  font-size: var(--step-small);
}
.editorial-list li:last-child { border-bottom: 1px solid var(--rule); }
.container--narrow .prose + .editorial-list { margin-top: clamp(1.5rem, 3vw, 2rem); }
.editorial-list + .prose { margin-top: clamp(1.75rem, 3.5vw, 2.5rem); }

/* --------------------------------------------------------------------------
   21. Packing gallery — whole photographs, so the column layout follows the
   images rather than forcing them all to one aspect ratio.
   -------------------------------------------------------------------------- */
/* Every photograph is set to one row height and takes whatever width its own
   aspect ratio needs. Rows line up, portrait and landscape sit together, and
   nothing is cropped. */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 1.5rem);
}
.gallery__item {
  margin: 0;
  border-top: 2px solid var(--field);
  padding-top: 0.75rem;
}
.gallery__item img {
  display: block;
  height: clamp(9rem, 17vw, 14rem);
  width: auto;
  max-width: 100%;
  border-radius: var(--radius);
}
/* One or two photographs at the row height meant for a dozen read as a gap. */
.gallery--few .gallery__item img { height: clamp(15rem, 30vw, 26rem); }
