/* ==========================================================================
   JustBOTS — justbw.co.bw
   Design system + site styles
   Author: built for JustBOTS (Pty) Ltd
   --------------------------------------------------------------------------
   Structure
   01. Design tokens
   02. Reset + base
   03. Typography
   04. Layout primitives
   05. Components (buttons, eyebrow, rule, wordmark)
   06. Header + navigation
   07. Hero
   08. Sections
   09. Product grid
   10. Makers
   11. Clients
   12. Pathways / cards
   13. CTA band
   14. Footer
   15. Motion + reveal
   16. Responsive
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */

:root {

  /* ---- Colour ------------------------------------------------------------
     Roles, not names. Change the hex, the whole site follows.
     Contrast checked against WCAG AA at body sizes.
  ------------------------------------------------------------------------ */

  /* Brand core — sampled directly from the supplied logo artwork, not guessed */
  --c-brown:        #1B1817;   /* the script "Just" ink */
  --c-olive:        #6D7530;   /* the "BOTS" olive. 4.41:1 on cream, which
                                  passes AA for large text and fails it for
                                  small text. So: display sizes only. */
  --c-olive-ink:    #666D2D;   /* the same olive, one step darker, for anything
                                  set small: 4.93:1 on cream. Use this for
                                  captions, numerals and solid buttons. */
  --c-olive-deep:   #596027;   /* hover / pressed — 5.98:1 */
  --c-cream:        #F4F2E4;   /* page ground */
  --c-cream-soft:   #FAF9F1;   /* raised surfaces */
  --c-paper:        #FFFFFF;   /* product cards */

  /* Ink */
  --c-ink:          #2A2318;   /* headings */
  --c-body:         #4A4438;   /* body copy — 8.2:1 on cream */
  --c-muted:        #6E6757;   /* meta, captions — 4.9:1 on cream */
  --c-line:         #DFDBC6;   /* hairlines */
  --c-line-strong:  #C9C4AB;

  /* Roles */
  --c-bg:           var(--c-cream);
  --c-accent:       var(--c-olive);
  --c-accent-ink:   #FFFFFF;

  /* ---- Typography -------------------------------------------------------- */
  --f-display: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --f-body:    "Jost", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  /* Fluid scale. Minor third at small sizes, widening at display sizes. */
  --fs-eyebrow: 0.6875rem;                               /* 11px */
  --fs-xs:      0.8125rem;                               /* 13px */
  --fs-sm:      0.9375rem;                               /* 15px */
  --fs-base:    1.0625rem;                               /* 17px */
  --fs-lead:    clamp(1.125rem, 0.4vw + 1.05rem, 1.3125rem);
  --fs-h4:      clamp(1.125rem, 0.5vw + 1rem, 1.375rem);
  --fs-h3:      clamp(1.375rem, 1vw + 1.1rem, 1.875rem);
  --fs-h2:      clamp(1.875rem, 2.6vw + 1.1rem, 3.25rem);
  --fs-h1:      clamp(2.375rem, 5.2vw + 0.9rem, 5rem);

  --lh-tight:   1.06;
  --lh-snug:    1.22;
  --lh-normal:  1.5;
  --lh-relaxed: 1.72;

  --ls-eyebrow: 0.18em;
  --ls-tight:   -0.02em;

  /* ---- Space -------------------------------------------------------------
     8px base. Named by intent so the rhythm stays honest.
  ------------------------------------------------------------------------ */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  3rem;
  --s-8:  4rem;
  --s-9:  6rem;
  --s-10: 8rem;

  --section-y: clamp(4.5rem, 9vw, 9rem);
  --gutter:    clamp(1.25rem, 5vw, 3rem);

  /* ---- Measure ----------------------------------------------------------- */
  --w-page:   1240px;
  --w-text:   64ch;
  --w-narrow: 780px;

  /* ---- Other -------------------------------------------------------------- */
  --radius:      2px;      /* almost none. Sharpness reads as considered. */
  --radius-pill: 999px;
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur:         420ms;
  --header-h:    76px;
}


/* ==========================================================================
   02. RESET + BASE
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-body);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

button,
input,
select,
textarea { font: inherit; color: inherit; }

/* Visible, branded focus. Never remove it. */
:focus-visible {
  outline: 2px solid var(--c-olive);
  outline-offset: 3px;
  border-radius: var(--radius);
}

::selection {
  background: var(--c-olive);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 200;
  padding: var(--s-3) var(--s-5);
  background: var(--c-brown);
  color: #fff;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: top 200ms var(--ease);
}
.skip-link:focus { top: var(--s-4); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--f-display);
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: var(--ls-tight);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-snug); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }

p { margin: 0 0 var(--s-5); max-width: var(--w-text); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--c-body);
}

.statement {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  line-height: 1.38;
  color: var(--c-ink);
  font-weight: 400;
  max-width: 24ch;
}

.statement em {
  font-style: italic;
  color: var(--c-olive);
}

.muted { color: var(--c-muted); }

a {
  color: var(--c-olive-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 200ms var(--ease);
}
a:hover { color: var(--c-brown); }

/* Eyebrow: the small letterspaced label that sets the register */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 var(--s-5);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-olive);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.eyebrow--center { justify-content: center; }


/* ==========================================================================
   04. LAYOUT PRIMITIVES
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--w-page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: calc(var(--w-narrow) + var(--gutter) * 2); }

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

.section--soft { background: var(--c-cream-soft); }
.section--ink  { background: var(--c-brown); }
.section--ink h2,
.section--ink h3 { color: #F6F4E8; }
.section--ink p  { color: #CFC8B6; }
.section--ink .eyebrow { color: #A79E88; }

.rule {
  border: 0;
  height: 1px;
  background: var(--c-line);
  margin: 0;
}

/* Two column: narrative left, supporting right */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: start; }
  .split--even   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + var(--s-7)); }
}

.stack > * + * { margin-top: var(--s-5); }
.stack-lg > * + * { margin-top: var(--s-7); }


/* ==========================================================================
   05. COMPONENTS
   ========================================================================== */

/* ---- Wordmark ------------------------------------------------------------
   The real JustBOTS mark, lifted from the supplied artwork and cut to
   transparency. The header uses the horizontal wordmark on its own; the
   circular badge with the tagline is reserved for the footer, where there is
   room for it to be read.

   NOTE: both files are raster, extracted from a screenshot. They are sharp at
   the sizes used here and on retina screens. If the original vector ever turns
   up, drop in an .svg and change the two src attributes: nothing else moves.
-------------------------------------------------------------------------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 0;
  line-height: 0;
}
.wordmark img {
  display: block;
  height: 44px;
  width: auto;
  transition: opacity var(--dur) var(--ease);
}
.wordmark:hover img { opacity: 0.78; }
.wordmark:focus-visible { outline-offset: 6px; }

@media (max-width: 480px) {
  .wordmark img { height: 38px; }
}

/* Circular badge, footer only */
.badge-lockup { display: block; line-height: 0; }
.badge-lockup img {
  display: block;
  width: 104px;
  height: 104px;
}

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-brown);
  --btn-fg: #FFFFFF;
  --btn-bd: var(--c-brown);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: 0.95rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform 200ms var(--ease);
}
.btn:hover {
  --btn-bg: var(--c-olive-deep);
  --btn-bd: var(--c-olive-deep);
  color: #fff;
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }

/* olive-ink, not olive: button labels are small text on a solid fill, so the
   fill has to clear 4.5:1 against the label. 5.18:1. */
.btn--accent { --btn-bg: var(--c-olive-ink); --btn-bd: var(--c-olive-ink); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-brown);
  --btn-bd: var(--c-line-strong);
}
.btn--ghost:hover {
  --btn-bg: transparent;
  --btn-bd: var(--c-brown);
  color: var(--c-brown);
}

.btn--light {
  --btn-bg: transparent;
  --btn-fg: #F6F4E8;
  --btn-bd: rgba(246, 244, 232, 0.35);
}
.btn--light:hover {
  --btn-bg: #F6F4E8;
  --btn-bd: #F6F4E8;
  color: var(--c-brown);
}

.btn--sm { padding: 0.65rem 1.15rem; font-size: var(--fs-xs); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  align-items: center;
}

/* ---- Text link with arrow ------------------------------------------------ */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-brown);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--c-line-strong);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-arrow span { transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--c-olive-deep); border-color: var(--c-olive); }
.link-arrow:hover span { transform: translateX(4px); }


/* ==========================================================================
   06. HEADER + NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 242, 228, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--c-line);
  background: rgba(244, 242, 228, 0.96);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: var(--header-h);
}

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.25rem); }

/* The Shop route for the mobile drawer. On desktop the header button covers
   this, so it is hidden here and switched on inside the 860px breakpoint. */
.nav__shop { display: none; }

.nav a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--c-body);
  text-decoration: none;
  padding-block: 0.4rem;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--c-olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--c-ink); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav__ext { display: inline-flex; align-items: center; gap: 0.4em; }
.nav__ext svg { width: 11px; height: 11px; opacity: 0.55; }

.header-actions { display: flex; align-items: center; gap: var(--s-4); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--c-line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--c-brown);
  transition: transform 300ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; }
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after  { transform: translateY(6px); }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: rotate(-45deg); }


/* ==========================================================================
   07. HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  /* Tightened from 9.5rem. The headline has to land inside the first screen
     on a laptop, header included, or the statement is never actually read. */
  padding-block: clamp(3rem, 6.5vw, 5.5rem) clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(103deg, #F7F5EA 0%, #F2F0E0 46%, #EDECD9 100%);
}

/* Dot field, lifted from the brand banner. Decorative only.
   Parked in the bottom right corner so it can never sit behind the headline,
   which now runs much wider than it used to. */
.hero::after {
  content: "";
  position: absolute;
  right: -4%;
  bottom: 0;
  height: 52%;
  width: 26%;
  background-image: radial-gradient(var(--c-line-strong) 1.15px, transparent 1.15px);
  background-size: 15px 15px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(to left, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, #000 30%, transparent 100%);
}

.hero__inner { position: relative; z-index: 1; }

/* The headline measure is set in em, not ch, so it scales with the type and
   holds at two lines from phone to desktop. 13.5em is roughly half the length
   of the sentence, which is what makes text-wrap: balance break it evenly. */
.hero h1 {
  font-size: clamp(2.375rem, 5.4vw + 0.55rem, 4.75rem);
  line-height: 1.05;
  max-width: 13.5em;
  margin-bottom: var(--s-5);
}
.hero h1 em { font-style: italic; color: var(--c-olive); }

.hero__lead { max-width: 58ch; margin-bottom: var(--s-7); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: var(--s-5); }
/* The separator dot belongs to the item BEFORE the gap, not the one after it.
   Written the other way round, a line that wraps begins with a floating dot
   and no word in front of it, which reads like a mistake. */
.hero__meta span:not(:last-child)::after {
  content: "";
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--c-olive);
}

/* Page hero for inner pages */
.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--c-line);
}
.page-hero h1 { font-size: clamp(2.25rem, 4.4vw + 1rem, 4rem); margin-bottom: var(--s-5); }
.page-hero .lead { max-width: 58ch; }


/* ==========================================================================
   08. SECTIONS
   ========================================================================== */

.section-head { max-width: var(--w-narrow); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { margin-bottom: var(--s-5); }

/* Numbered criteria list */
.criteria {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.criteria li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
  padding-block: var(--s-5);
  border-bottom: 1px solid var(--c-line);
}
.criteria__num {
  font-family: var(--f-display);
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--c-olive-ink);
  padding-top: 0.35em;
}
.criteria h3 { font-size: var(--fs-h4); margin-bottom: var(--s-2); }
.criteria p { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }

@media (min-width: 760px) {
  .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); }
  .criteria li:nth-last-child(-n+1) { border-bottom: 0; }
}

/* Pull quote */
.pullquote {
  margin: 0;
  padding-left: var(--s-6);
  border-left: 2px solid var(--c-olive);
}
.pullquote p {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  line-height: 1.4;
  color: var(--c-ink);
  font-style: italic;
  margin-bottom: var(--s-4);
  max-width: 26ch;
}
.pullquote cite {
  font-style: normal;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
}

/* Stat row */
/* Fixed two columns, not auto-fit. There are four stats, and auto-fit was
   fitting three of them on one row and leaving the fourth stranded on a row
   of its own. A 2 x 2 block reads as deliberate; 3 + 1 reads as a mistake.
   If a fifth stat is ever added, change this to repeat(3, ...) so the count
   and the columns stay in step. */
.stats {
  display: grid;
  gap: var(--s-6) var(--s-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--c-line);
  padding-top: var(--s-6);
}
@media (max-width: 420px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
}
.stats__n {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1;
  color: var(--c-olive);
  margin-bottom: var(--s-3);
}
.stats__l {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}


/* ==========================================================================
   09. PRODUCT GRID
   ========================================================================== */

.products {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.product:hover {
  border-color: var(--c-line-strong);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px -24px rgba(42, 35, 24, 0.4);
}

.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #FCFCF8;
}
.product__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}
.product:hover .product__media img { transform: scale(1.035); }

.product__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
  border-top: 1px solid var(--c-line);
}
.product__cat {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.product__name {
  font-family: var(--f-display);
  font-size: 1.0625rem;
  line-height: 1.3;
  color: var(--c-ink);
  font-weight: 500;
  margin: 0;
}
.product__price {
  margin-top: auto;
  padding-top: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--c-olive-deep);
  letter-spacing: 0.03em;
}


/* ==========================================================================
   10. MAKERS
   ========================================================================== */

.makers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--c-line);
  counter-reset: maker;
}
.makers li {
  display: flex;
  align-items: baseline;
  gap: var(--s-4);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--c-line);
  counter-increment: maker;
}
/* The numerals are generated, so the roster renumbers itself when a name is
   added or removed. Decorative: a screen reader already announces list position. */
.makers li::before {
  content: counter(maker, decimal-leading-zero);
  font-size: var(--fs-xs);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--c-olive-ink);
  flex: none;
  min-width: 2.1em;
}
.makers__name {
  font-family: var(--f-display);
  font-size: clamp(1.0625rem, 1.2vw + 0.8rem, 1.5rem);
  color: var(--c-ink);
  font-weight: 400;
}
.makers__tag {
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  text-align: right;
  flex: none;
  margin-left: auto;
}

/* Producers signed but not yet on the shelf */
.makers__soon {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-4);
  margin-top: var(--s-6);
  max-width: none;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.makers__soon-label {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-olive-ink);
  flex: none;
}

@media (min-width: 760px) {
  .makers { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-8); }
}


/* ==========================================================================
   11. CLIENTS
   ========================================================================== */

.clients {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.clients li {
  font-family: var(--f-display);
  font-size: clamp(1rem, 1.1vw + 0.8rem, 1.25rem);
  color: var(--c-ink);
  opacity: 0.82;
}
.section--ink .clients li { color: #F0EDDF; opacity: 0.9; }


/* ==========================================================================
   12. PATHWAYS / CARDS
   ========================================================================== */

.paths {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
}

.path {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--c-cream-soft);
  border: 1px solid var(--c-line);
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.path:hover {
  border-color: var(--c-line-strong);
  background: var(--c-paper);
  transform: translateY(-3px);
}
.path__n {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--c-olive-ink);
}
.path h3 { margin: 0; }
.path p { font-size: var(--fs-sm); margin: 0; color: var(--c-muted); }
.path .link-arrow { margin-top: auto; align-self: flex-start; }

.path--ink {
  background: transparent;
  border-color: rgba(246, 244, 232, 0.2);
}
.path--ink:hover {
  background: rgba(246, 244, 232, 0.05);
  border-color: rgba(246, 244, 232, 0.4);
}
.path--ink h3 { color: #F6F4E8; }
.path--ink p  { color: #B9B2A0; }
.path--ink .link-arrow { color: #F6F4E8; border-color: rgba(246,244,232,0.3); }
.path--ink .link-arrow:hover { color: #fff; border-color: #fff; }

/* Ordered process list */
.process {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
}
.process li { counter-increment: step; }
.process li::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--fs-sm);
  color: var(--c-olive-ink);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-line);
}
.process h3 { font-size: var(--fs-h4); margin-bottom: var(--s-2); }
.process p  { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }


/* ==========================================================================
   13. CTA BAND
   ========================================================================== */

.cta {
  background: var(--c-brown);
  color: #E9E5D6;
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}
.cta h2 { color: #F6F4E8; margin-bottom: var(--s-5); max-width: 18ch; }
.cta p  { color: #C4BCA8; max-width: 50ch; margin-bottom: var(--s-7); }
.cta .eyebrow { color: #A79E88; }
.cta .eyebrow::before { background: #8CA84B; }

/* Contact method tiles */
.methods {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.method {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--c-line);
  background: var(--c-cream-soft);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.method:hover { border-color: var(--c-olive); background: var(--c-paper); }
.method__label {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-muted);
}
.method__value {
  font-family: var(--f-display);
  font-size: var(--fs-h4);
  color: var(--c-ink);
}
.method__note { font-size: var(--fs-xs); color: var(--c-muted); margin: 0; }


/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--c-cream-soft);
  border-top: 1px solid var(--c-line);
  padding-block: clamp(3rem, 6vw, 4.5rem) var(--s-6);
}

.footer-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--c-line);
}
/* h2, not h4: these are top-level sections of the footer landmark, and a
   screen reader reading the outline should not hit a gap from h2 to h4. */
.footer-grid h2 {
  font-family: var(--f-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
  margin-bottom: var(--s-4);
}
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.footer-list a {
  font-size: var(--fs-sm);
  color: var(--c-body);
  text-decoration: none;
}
.footer-list a:hover { color: var(--c-olive-deep); text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-6);
  font-size: var(--fs-xs);
  color: var(--c-muted);
  letter-spacing: 0.03em;
}


/* ==========================================================================
   15. MOTION + REVEAL
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* No JS? Show everything. */
.no-js [data-reveal] { opacity: 1; transform: none; }

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


/* ==========================================================================
   16. RESPONSIVE
   ========================================================================== */

@media (max-width: 860px) {

  .nav-toggle { display: inline-flex; position: relative; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-4) var(--gutter) var(--s-7);
    background: var(--c-cream);
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 24px 40px -30px rgba(42, 35, 24, 0.5);

    /* A short phone in landscape is only ~375px tall. Without these two lines
       the last nav links sit below the fold with no way to reach them. */
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    /* collapsed */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 260ms var(--ease),
                transform 260ms var(--ease),
                visibility 0s linear 260ms;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .nav a {
    padding-block: var(--s-4);
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--c-line);
  }
  .nav a::after { display: none; }

  /* The header Shop button has nowhere to sit next to the hamburger on a
     narrow screen, so it moves into the drawer rather than disappearing. */
  .header-actions .btn { display: none; }
  .nav__shop {
    display: block;
    margin-top: var(--s-5);
    padding: var(--s-4) var(--s-5);
    background: var(--c-olive-ink);
    color: var(--c-cream);
    font-size: 1.0625rem;
    text-align: center;
    text-decoration: none;
    border-bottom: 0;
    border-radius: var(--radius);
  }
  .nav__shop:hover { background: var(--c-olive-deep); color: var(--c-cream); }

  .hero__inner { max-width: 100%; }
  .hero::after { width: 46%; opacity: 0.4; }

  .split--sticky > :first-child { position: static; }
}

@media (max-width: 520px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
  .product__body { padding: var(--s-4); }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .makers li { flex-direction: column; gap: var(--s-1); align-items: flex-start; }
  .makers__tag { text-align: left; }
}


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

@media print {
  .site-header, .nav-toggle, .cta, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  [data-reveal] { opacity: 1; transform: none; }
}
