/* ==========================================================================
   NEO-VANIL — Synthite Industries
   Structure modelled on hevanivanillin.bio-lallemand.com
   Identity and content from the neovanil brand scope (June 2025, Issue 01)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root{
  /* Motion tempo.

     One scale for the whole site, matching the `M` object in main.js. The
     CSS transitions used to run at eighteen different durations between
     .22s and 1.4s, picked per rule; the durations below replaced all of
     them, so "make the site feel quicker" is four numbers rather than a
     hundred edits. --ease is the workhorse; --ease-emph overshoots slightly
     for things that travel; --ease-inout is for symmetrical moves. */
  --t-tap:    90ms;
  --t-fast:  160ms;
  --t-base:  240ms;
  --t-slow:  360ms;
  --ease:       cubic-bezier(.22,.61,.36,1);
  --ease-emph:  cubic-bezier(.16,1,.3,1);
  --ease-inout: cubic-bezier(.65,0,.35,1);

  /* Surfaces */
  --cream:        #F9F0E9;
  --cream-hi:     #FDF7F1;
  --panel:        #F0E3DA;
  --panel-warm:   #EFE0D3;
  --ink:          #221A0F;
  --ink-2:        #2C2115;
  --ink-deep:     #181109;

  /* Type */
  --text:         #2A211B;
  --text-body:    #55463A;
  /* #857363 measured 4.27:1, under the WCAG AA 4.5:1 floor at the 10-12px sizes
     it is used at. First darkened to #7D6C5D, which clears --cream-hi (4.73) but
     only reached 4.47 on the darker --cream. Now #7B6A5B: 4.60 on --cream, 4.87
     on --cream-hi. Do not use it on --panel or --panel-warm, where it is 4.01 -
     use --text-body there. */
  --text-muted:   #7B6A5B;
  --on-dark:      #F4E8DC;
  --on-dark-mute: #B3A08D;

  /* Accent */
  --copper:       #9C5628;
  /* ICONS AND LARGE TEXT ONLY - do not use for small text.
     A copper light enough to read as "light" cannot clear the AA 4.5:1 floor on
     --cream at 10-12px: #B77341 gave 3.56, #9D6338 gave 4.62 on --cream-hi but
     only 4.37 on the darker --cream, and darkening further just collapses it
     into --copper. Small copper text uses --copper (4.94 on --cream) and
     --copper-on-panel on the panel grounds. */
  --copper-lt:    #9D6338;
  --copper-glow:  #C98A50;
  /* Copper for use on the --panel / --panel-warm grounds. Plain --copper is only
     4.31:1 there and --copper-lt 3.81:1, both under AA for small text. */
  --copper-on-panel: #8A4A20;

  /* Lines */
  --line:         rgba(34,26,15,.14);
  --line-soft:    rgba(34,26,15,.08);
  /* Round 14: a soft amber fill for pills and icon discs, used by the search
     panel, the portfolio benefits strip and the configurator option tiles. */
  --amber-wash:   rgba(224,154,79,.14);
  --line-dark:    rgba(249,240,233,.18);

  /* Type families */
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  /* Running body copy. System font, so nothing extra is downloaded. Brand marks,
     kickers and card titles keep --sans (Jost) by setting it explicitly. */
  /* Running copy. Was a Trebuchet MS system stack, chosen to avoid a download -
     but Trebuchet ships on neither iOS nor Android, so more than half the words
     on the site were falling through to Lucida Sans or Tahoma on a phone. One
     122 KB variable serif buys predictable body typography on every device. */
  --read:  'Source Serif 4', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  /* Kept as an alias so any rule still asking for --body gets the new face. */
  --body:  var(--read);

  /* Type scale (round 2, item 6).

     The site was built on one-off rem sizes picked per component, and they had
     drifted down: 188 declarations below 1.05rem, the smallest at .55rem -
     8.8px of running text. Synthite's review called the whole site too small,
     the trust strip and footer worst. These six steps replace every one of
     those sizes, so "make the small text bigger" is six numbers rather than a
     hundred-and-eighty edits, and nothing on the site can fall below 13px.

     The steps are fixed px-equivalents, not clamps: a 13px label that shrinks
     further on a phone is the fault being fixed. Headings keep their own
     clamp() sizes - the brief asks for the small text up, not the headings. */
  --fs-eyebrow: .8125rem;  /* 13px - small-caps labels, eyebrows, ticks   */
  --fs-micro:   .875rem;   /* 14px - the floor for any text on the site   */
  --fs-small:   .9375rem;  /* 15px - notes, meta, captions, buttons       */
  --fs-base:    1rem;      /* 16px - card descriptors, footer links, nav  */
  --fs-body:    1.0625rem; /* 17px - card body, secondary running copy    */
  --fs-lead:    1.1875rem; /* 19px - trust-strip titles, lead-ins         */

  /* Rhythm */
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1360px;
  /* Section rhythm, tightened twice.
       original          clamp(72px,11vw,168px)  ->  317px between sections at 1440
       handover 2.3      clamp(60px, 8vw, 120px) ->  240px at 2000, 230px at 1440
       now                                       ->  160px at 2000, 157px at 1440
     The bands already alternate background colour, so the colour change does most
     of the separating work and the padding does not need to carry it as well. */
  --section-y: clamp(52px, 5.6vw, 80px);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* Round 2, item 6/46: "Mobile: body at least 16px, nothing under 14px." The
   eyebrow step is 13px, which is right on a desktop and under the floor on a
   phone, so the smallest step is lifted there. One token, and every label,
   tick, caption and SKU on the site moves with it. */
@media (max-width:760px){
  :root{ --fs-eyebrow: .875rem; }
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--text-body);
  font-family:var(--read);
  font-weight:400;
  /* Source Serif runs a touch smaller on the same em than Trebuchet did, so the
     scale is nudged up one pixel at each end and the leading tightened - a serif
     at 1.72 on a 68ch measure reads as double-spaced. */
  font-size:clamp(16px,.55vw + 14px,18px);
  line-height:1.62;
  font-optical-sizing:auto;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
}
img,picture,svg,video{display:block;max-width:100%;}
h1,h2,h3,h4,h5,p,figure,blockquote{margin:0;}
ul,ol{margin:0;padding:0;list-style:none;}
a{color:inherit;text-decoration:none;}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;}
table{border-collapse:collapse;width:100%;}
::selection{background:var(--copper);color:#fff;}
:focus-visible{outline:2px solid var(--copper);outline-offset:3px;border-radius:2px;}

/* Skip link — first focusable element, hidden until focused. z-index sits
   above the loader (200) and header (100) so it is reachable immediately. */
.skip-link{
  position:fixed;
  top:10px; left:10px;
  z-index:300;
  padding:.7em 1.2em;
  background:var(--ink);
  color:var(--on-dark);
  font-family:var(--sans);
  font-size:var(--fs-micro);
  letter-spacing:.12em;
  text-transform:uppercase;
  border-radius:2px;
  transform:translateY(-180%);
  transition:transform var(--t-base) var(--ease);
}
.skip-link:focus{ transform:translateY(0); }
/* main receives focus programmatically after the skip link; no ring needed
   on the whole content region */
main:focus{ outline:none; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.display{
  font-family:var(--serif);
  font-weight:400;
  line-height:1.03;
  letter-spacing:-.012em;
  color:var(--text);
  text-wrap:balance;
}
.display--xl{ font-size:clamp(2.9rem,8.2vw,7.4rem); }
/* Round 2, item 33: one heading face across the site.

   .display sets --serif, and most headings carry it. These did not: they were
   written with a size and a margin but no font-family, so they inherited
   --read (Source Serif 4) from <body> and the browser's bold for <h2>. That
   put a second heading typeface on the homepage ("Vanilla ingredients for
   every formulation."), on all 33 product pages ("Where ... fits"), on the six
   category pages and on five sections of the NeoVanil page. Listing them here
   rather than adding the family to each rule keeps the fix in one place, and
   a new section title that forgets the family is now the only way to
   reintroduce the fault. The legal pages' prose headings are included for the
   same reason. */
.h2,
.hrange__t,
.apps__title,
.pod__title,
.explore__title,
.srp__h,
.nvapproach__title,
.nvsave__title,
.nvgrades__title,
.chz__title,
.prose h2,
.prose h3{
  font-family:var(--serif);
  font-weight:400;
  letter-spacing:-.012em;
  color:var(--text);
  text-wrap:balance;
}

.display--lg{ font-size:clamp(2.3rem,5.4vw,4.6rem); }
.display--md{ font-size:clamp(1.95rem,3.5vw,3.15rem); }
.display--sm{ font-size:clamp(1.5rem,2.3vw,2.15rem); line-height:1.12; }

.kicker{
  display:block;
  font-family:var(--sans);
  font-size:clamp(var(--fs-eyebrow),.8vw,.875rem);
  font-weight:500;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--copper);
  line-height:1.4;
}
.kicker--dark{ color:var(--copper-glow); }
/* On the homepage the kicker sits over moving footage at the top of the hero,
   where the scrim is only 30% - #C98A50 washed out against a lit frame and the
   first word disappeared altogether. Amber, plus the same shadow the title
   carries, holds on every frame of the loop. */
.vhero__inner .kicker{
  color:var(--amber-soft);
  text-shadow:0 1px 18px rgba(18,12,6,.8), 0 1px 2px rgba(18,12,6,.55);
}

.lede{
  /* No font-family: inherits --read from body, like every other block of
     running copy. Only interface text names a face explicitly. */
  font-size:clamp(1.06rem,1.15vw,1.24rem);
  line-height:1.6;
  color:var(--text-body);
  max-width:56ch;
  text-wrap:pretty;
}
.prose p + p{ margin-top:1.1em; }
.prose{ max-width:60ch; text-wrap:pretty; }
/* The legal pages' body headings had no size of their own either, so they ran
   at the browser's 1.5em bold. Cormorant at 400 needs the size setting back. */
.prose h2{ font-size:clamp(1.42rem,2vw,1.86rem); line-height:1.16; margin:2em 0 .5em; }
.prose h3{ font-size:clamp(1.16rem,1.5vw,1.36rem); line-height:1.22; margin:1.6em 0 .4em; }
.prose h2:first-child,.prose h3:first-child{ margin-top:0; }

.on-dark .display { color:var(--on-dark); }
.on-dark .lede { color:var(--on-dark-mute); }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container{
  width:100%;
  max-width:var(--maxw);
  margin-inline:auto;
  padding-inline:var(--gutter);
}
.container--narrow{ max-width:980px; }
.section{ padding-block:var(--section-y); position:relative; }
/* .display sets its own dark colour, so dark sections must re-assert light type */
.section--dark .display { color:var(--on-dark); }
.section--dark .lede, .section--dark .prose { color:var(--on-dark-mute); }
.section--dark .kicker{ color:var(--copper-glow); }
.section--dark .arrow-link{ color:var(--copper-glow); }
.section--dark .rule{ background:var(--line-dark); }
.section--panel{ background:var(--panel); }
.section--hi{ background:var(--cream-hi); }

.grid{ display:grid; gap:clamp(28px,4vw,72px); }
.rule{ height:1px; background:var(--line); border:0; margin:0; }

/* --------------------------------------------------------------------------
   5. Links & buttons
   -------------------------------------------------------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:.9em;
  padding:1.05em 1.9em;
  background:var(--copper);
  color:#FFF6EE;
  /* Round 3, item 4. This rule had no font-family, so the site's PRIMARY
     button inherited --read (Source Serif 4) from <body> - every "Explore our
     range", "Send request", "Request a sample" and footer action on the site
     has been setting in the body serif. It is only visible when one sits
     beside a button that does name a face: Synthite photographed exactly
     that, the modal's serif "Send request" under the result card's Jost
     "Request a sample". Interface text names its face; only running copy
     inherits. */
  font-family:var(--sans);
  font-size:var(--fs-small);
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  line-height:1;
  border-radius:2px;
  transition:background var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.btn:hover{ background:#8A4A21; transform:translateY(-2px); }
.btn svg{ width:1.35em; height:auto; flex:none; transition:transform var(--t-base) var(--ease); }
.btn:hover svg{ transform:translateX(5px); }
/* Round 14: the primary action in the mockups is an AMBER pill, not the
   copper square .btn draws by default - the same treatment as the header's
   Request a Sample, so the two read as one button style across the site.
   Ink on amber, never cream: cream on #E09A4F is under 3:1. Used by the
   hero, the portfolio page, the product pages, NeoVanil and the
   configurator's result banner. */
.btn--amber{
  background:var(--amber); color:var(--bourbon); border-radius:100px;
  letter-spacing:.11em;
}
.btn--amber:hover{ background:var(--amber-soft); }
.btn--ghost{
  background:transparent;
  color:var(--copper);
  border:1px solid rgba(156,86,40,.4);
}
.btn--ghost:hover{ background:var(--copper); color:#FFF6EE; border-color:var(--copper); }
.btn--on-dark{ background:var(--copper); color:#FFF6EE; }
/* .btn--on-dark came after .btn--ghost in the cascade and put the copper
   fill back, so every "ghost on dark" button in a hero was a solid copper
   one sitting beside another solid copper one. Two classes, so it wins. */
.btn--ghost.btn--on-dark{
  background:transparent; color:var(--cream-hi);
  border:1px solid rgba(249,240,233,.52);
}
.btn--ghost.btn--on-dark:hover, .btn--ghost.btn--on-dark:focus-visible{
  background:rgba(249,240,233,.12); border-color:var(--cream-hi); color:var(--cream-hi);
}

.arrow-link{
  display:inline-flex;
  align-items:center;
  gap:.75em;
  font-size:var(--fs-micro);
  font-weight:500;
  letter-spacing:.19em;
  text-transform:uppercase;
  color:var(--copper);
  line-height:1;
  padding-block:.35em;
  position:relative;
}
.arrow-link svg{ width:1.5em; height:auto; flex:none; transition:transform var(--t-base) var(--ease); }
.arrow-link::before{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:100%; height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:right;
  transition:transform var(--t-base) var(--ease);
}
.arrow-link:hover::before{ transform:scaleX(1); transform-origin:left; }
.arrow-link:hover svg{ transform:translateX(6px); }

/* --------------------------------------------------------------------------
   6. Media slots  (placeholder until real photography is dropped in)
   -------------------------------------------------------------------------- */
.media{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(120% 90% at 72% 18%, rgba(201,138,80,.34), transparent 62%),
    radial-gradient(90% 80% at 18% 92%, rgba(156,86,40,.22), transparent 58%),
    linear-gradient(148deg,#3A2A1C 0%,#241A11 52%,#120C07 100%);
  isolation:isolate;
}
.media img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  position:relative;
  z-index:2;
}
/* faint molecular lattice so empty slots still read as brand surface */
.media::before{
  content:'';
  position:absolute; inset:0;
  z-index:1;
  opacity:.5;
  background-image:
    radial-gradient(circle at 50% 50%, rgba(201,138,80,.55) 1.4px, transparent 1.6px),
    radial-gradient(circle at 50% 50%, rgba(201,138,80,.28) 1.4px, transparent 1.6px);
  background-size:56px 56px, 56px 56px;
  background-position:0 0, 28px 28px;
}
/* label appears only when the <img> failed to load */
.media--empty::after{
  content:attr(data-slot);
  position:absolute;
  z-index:3;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  width:max-content;
  max-width:82%;
  padding:.7em 1.1em;
  border:1px solid rgba(201,138,80,.5);
  border-radius:2px;
  font-family:var(--sans);
  font-size:var(--fs-eyebrow);
  font-weight:400;
  letter-spacing:.17em;
  text-transform:uppercase;
  text-align:center;
  color:rgba(233,206,180,.92);
  background:rgba(18,12,7,.42);
  backdrop-filter:blur(2px);
  line-height:1.5;
  pointer-events:none;
}
.media--empty img{ display:none; }

/* Full-bleed background slots: tuck the label into a corner so it never
   collides with the headline sitting over it. */
.media--bg.media--empty::after{
  left:auto; top:auto;
  right:clamp(14px,2vw,28px);
  bottom:clamp(14px,2vw,28px);
  transform:none;
  max-width:min(46ch,60vw);
  font-size:var(--fs-eyebrow);
  text-align:right;
  opacity:.75;
}

.media--fill{ position:absolute; inset:0; }

/* --------------------------------------------------------------------------
   7. Preloader
   -------------------------------------------------------------------------- */
.loader{
  position:fixed; inset:0; z-index:200;
  display:grid; place-items:center;
  background:var(--ink);
  transition:opacity var(--t-base) var(--ease), visibility var(--t-base);
}
.loader__mark{
  font-family:var(--sans);
  font-size:clamp(1.7rem,4vw,2.7rem);
  font-weight:300;
  letter-spacing:-.02em;
  color:var(--on-dark);
  overflow:hidden;
}
.loader__mark b{ font-weight:600; color:var(--copper-glow); }
.loader__bar{
  margin-top:1.4rem;
  width:min(220px,42vw); height:1px;
  background:rgba(244,232,220,.2);
  position:relative; overflow:hidden;
}
.loader__bar span{
  position:absolute; inset:0;
  background:var(--copper-glow);
  transform:scaleX(0);
  transform-origin:left;
}
.is-loaded .loader{ opacity:0; visibility:hidden; pointer-events:none; }
html:not(.js) .loader{ display:none; }

/* --------------------------------------------------------------------------
   8. Header
   -------------------------------------------------------------------------- */
.header{
  position:fixed;
  inset:0 0 auto 0;
  z-index:100;
  padding-block:clamp(14px,1.6vw,22px);
  background:rgba(249,240,233,0);
  transition:transform var(--t-base) var(--ease), background var(--t-base) var(--ease),
             box-shadow var(--t-base) var(--ease), padding var(--t-base) var(--ease);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:clamp(16px,3vw,48px);
}
/* The scrolled state, and the resting state of any page without a dark hero.
   Both are the same bar: solid espresso, a warm hairline instead of a shadow,
   and blur where the browser has it. --bourbon at .97 rather than flat so the
   blur has something to do on the browsers that support it.

   This used to be cream at .94, which is what turned the header white on
   scroll and forced the coloured logo. */
/* Round 2, item 46: flat, solid espresso on every page.
   This was rgba(43,27,16,.88) with blur(14px) saturate(1.3) behind it. On a
   product page the thing scrolling under the header is a pale pack shot on a
   pale ground, so the 12% of transparency plus a 30% saturation boost read as
   a lighter, slightly blurred patch inside the bar - most obviously behind
   the logo, which is where Synthite saw it. An opaque bar cannot do that, and
   it also stops being a containing block for position:fixed descendants,
   which is what broke the mobile search panel in round 14. */
.header--pinned,
.header--solid{
  background:var(--bourbon);
  box-shadow:inset 0 -1px 0 rgba(249,240,233,.13);
  padding-block:clamp(10px,1.1vw,14px);
}
/* The header no longer hides on scroll-down - it is sticky, so it stays.
   `.header--hidden` and the JS that set it are gone; the rule is kept as a
   no-op guard in case a cached main.js from before v417 is still adding the
   class, which would otherwise slide the header off-screen for good. */
/* pages whose hero is dark need light header type until pinned */
.header--dark .wordmark__neo{ color:var(--cream); }
.header--dark .brand{ color:var(--cream); }
/* The header carries its own shade rather than borrowing it from the hero
   scrim. Darkening the whole top of the hero to protect eight nav links is
   what made the previous heroes look flat; a 120px band does the same job and
   leaves the photograph alone. */
.header--dark:not(.header--solid):not(.header--pinned)::before{
  content:''; position:absolute; inset:0 0 auto 0; height:190px; pointer-events:none;
  background:linear-gradient(to bottom, rgba(20,12,6,.78) 0%, rgba(20,12,6,.46) 42%,
                                        rgba(20,12,6,.14) 74%, rgba(20,12,6,0) 100%);
}
.header--dark .header__inner{ position:relative; z-index:1; }
.header--dark .nav__link{ color:rgba(249,240,233,.86); }
.header--dark .parent-badge{
  color:var(--cream); border-color:rgba(249,240,233,.4);
}
.header--dark .burger span{ background:var(--cream); }

/* The mark at display sizes. At 60px+ a full-size ™ reads as a typo; the three
   logotype variants below already handle their own. Use .tm anywhere the mark
   sits inside a heading. */
.header--dark .wordmark__tag{ color:rgba(249,240,233,.8); }

.nav{ display:flex; align-items:center; gap:clamp(20px,2.6vw,44px); }
/* --- nav dropdown: Product Portfolio -> the three products ---
   Not a floating box: the panel takes the header's own treatment, so it reads as
   the header extending downward rather than a bright card punched into the hero. */
.nav__group{ position:relative; display:flex; align-items:center; gap:.3em; }
.nav__toggle{
  background:none; border:0; padding:3px; margin:0; cursor:pointer; color:inherit;
  display:inline-flex; align-items:center; line-height:0;
  position:relative;
}
/* WCAG 2.2 target size (minimum): the arrow itself is 9x6, which gives a 24x20
   hit area. Grow the tappable region to 24x24 with a pseudo-element so the
   target meets the floor without changing the arrow or the nav row height. */
.nav__toggle::after{
  content:''; position:absolute; left:50%; top:50%;
  width:24px; height:24px; transform:translate(-50%,-50%);
}
/* The chevrons were invisible on desktop, for two reasons at once.
   1. SIZE. The base reset at the top of this file is
      `img,picture,svg,video{display:block;max-width:100%}`. Above 900px
      `.nav__toggle` is position:absolute with shrink-to-fit width, so the
      child's max-width:100% resolves against a container that is itself
      being sized by the child - and the arrow computed to width:0. It had a
      measured 7px of height and nothing across. `max-width:none` and
      `flex:none` break the circularity.
   2. COLOUR. `.nav__toggle` takes `color:inherit`, and it is a SIBLING of
      .nav__link, not a child - so it never picked up the on-dark nav colour
      and inherited body ink instead: rgb(85,70,58) on an espresso bar.
   Either one alone would have hidden it; both were true. */
.nav__toggle svg{ width:11px; height:7px; max-width:none; flex:none; opacity:.9;
  transition:transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease); }
.header--dark .nav__toggle{ color:rgba(249,240,233,.86); }
.header--dark .nav__group:hover .nav__toggle,
.header--dark .nav__group.is-open .nav__toggle,
.header--dark .nav__toggle:focus-visible{ color:var(--copper-glow); }
/* The chevron is taken out of the flow above 900px. In the flow it sat inside the
   group's box, so flex `gap` began counting after it and the space between
   "Product Portfolio" and the next item measured 58px against 37px everywhere
   else - even by the box, uneven to a reader, who counts from the last letter.
   Overhanging into the gap makes every label-to-label distance identical. */
@media (min-width:901px){
  /* 3 + 2 + 11 + 2 = 18px of overhang, down from 22px, so the arrow clears
     the next label inside the gap set above.

     This used to be `position:absolute; left:100%`, which relies on the group
     being the containing block. It is not: the mega-menu rule near the end of
     this file sets `.nav__group:has(.nav__menu--mega){position:static}` so the
     panel can lie against the header row, and BOTH chevron groups are mega
     groups. So `left:100%` resolved against .header__inner instead, and the
     two arrows left the nav entirely and stacked on each other at the right
     edge of the header - one visible chevron, floating past the sample button,
     belonging to neither label, and opening By Application because that button
     is second in the DOM and therefore on top.

     Taking it out of flow was never the point; not spending width was. A
     negative right margin that exactly cancels the space the button occupies
     (3px of margin + 15px of box) does that without needing a containing
     block, so each arrow stays beside its own label and the label-to-label
     gaps stay identical. */
  .nav__group{ gap:0; }
  .nav__toggle{
    position:static; transform:none;
    margin-left:3px; margin-right:-18px; padding:2px;
  }
}
.nav__group:hover .nav__toggle svg,
.nav__group.is-open .nav__toggle svg{ opacity:1; }
.nav__group.is-open .nav__toggle svg{ transform:rotate(180deg); }

.nav__menu{
  position:absolute; top:calc(100% + 11px); left:-1.4em; min-width:212px; z-index:60;
  background:var(--cream-hi);
  border:0; border-top:1px solid var(--copper); border-radius:0;
  padding:.7em 0 .85em;
  box-shadow:0 20px 44px rgba(34,26,15,.09);
  opacity:0; visibility:hidden; transform:translateY(-7px);
  transition:opacity var(--t-base) var(--ease), visibility var(--t-base), transform var(--t-base) var(--ease);
}
/* keeps hover alive while the pointer crosses the gap to the panel */
.nav__menu::before{ content:''; position:absolute; left:0; right:0; top:-11px; height:11px; }
.nav__group:hover .nav__menu,
.nav__group.is-open .nav__menu{ opacity:1; visibility:visible; transform:none; }

/* over the dark hero the panel goes dark and translucent, like the header itself */
.header--dark .nav__menu{
  background:rgba(24,17,9,.74);
  -webkit-backdrop-filter:blur(16px) saturate(1.15);
  backdrop-filter:blur(16px) saturate(1.15);
  border-top-color:var(--copper-glow);
  box-shadow:0 20px 50px rgba(0,0,0,.34);
}

.nav__sub{
  position:relative; display:block; white-space:nowrap;
  padding:.6em 1.4em .6em 2.5em;
  font-size:var(--fs-micro); letter-spacing:.05em; color:var(--text-body);
  opacity:0; transform:translateX(-5px);
  transition:color var(--t-base) var(--ease), opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.nav__group:hover .nav__sub,
.nav__group.is-open .nav__sub{ opacity:1; transform:none; }
.nav__group:hover .nav__sub:nth-child(2),
.nav__group.is-open .nav__sub:nth-child(2){ transition-delay:0s, .05s, .05s; }
.nav__group:hover .nav__sub:nth-child(3),
.nav__group.is-open .nav__sub:nth-child(3){ transition-delay:0s, .1s, .1s; }
/* hover: a short copper rule slides into the gutter, no background block */
.nav__sub::before{
  content:''; position:absolute; left:1.4em; top:50%; width:0; height:1px;
  background:currentColor; opacity:.9; transition:width var(--t-base) var(--ease);
}
.nav__sub:hover, .nav__sub:focus-visible{ color:var(--copper); }
.nav__sub:hover::before, .nav__sub:focus-visible::before{ width:.75em; }
.header--dark .nav__sub{ color:rgba(249,240,233,.74); }
.header--dark .nav__sub:hover,
.header--dark .nav__sub:focus-visible{ color:var(--copper-glow); }
@media (prefers-reduced-motion:reduce){
  .nav__menu,.nav__sub,.nav__sub::before{ transition:none; }
}
.nav__link{
  font-size:clamp(1rem,1.05vw,1.0625rem);
  font-weight:400;
  letter-spacing:.1em;
  color:var(--text);
  position:relative;
  padding-block:.4em;
  transition:color var(--t-base) var(--ease);
}
.nav__link::after{
  content:'';
  position:absolute; left:0; bottom:.1em;
  width:100%; height:1px;
  background:currentColor;
  transform:scaleX(0); transform-origin:right;
  transition:transform var(--t-base) var(--ease);
}
.nav__link:hover::after,.nav__link[aria-current="page"]::after{
  transform:scaleX(1); transform-origin:left;
}
/* The current-page link was --copper #9C5628, which is a colour chosen for
   cream. The header is espresso at every scroll position now, and copper on
   it measures 2.11:1 against the 4.5 that 12px text needs - the one real
   contrast failure the round-14 header introduced. --amber is the colour
   the brief names for the active state and it measures 4.98:1. */
.nav__link[aria-current="page"]{ color:var(--amber); }


.burger{ display:none; width:26px; height:16px; position:relative; flex:none; }
/* WCAG 2.2 target size: the bars are 26x16, well under the 24x24 minimum, and this
   is the primary navigation control on mobile. The hit area is grown to 44x44 with
   a pseudo-element rather than with padding - the three bars below are absolutely
   positioned, so padding would re-anchor them to the padding box and shift them up. */
.burger::after{ content:''; position:absolute; left:50%; top:50%;
  width:44px; height:44px; transform:translate(-50%,-50%); }
.burger span{
  position:absolute; left:0; width:100%; height:1.5px;
  background:var(--text);
  transition:transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.burger span:nth-child(1){ top:0; }
.burger span:nth-child(2){ top:7px; }
.burger span:nth-child(3){ top:14px; }
.is-menu-open .burger span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.is-menu-open .burger span:nth-child(2){ opacity:0; }
.is-menu-open .burger span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero{
  position:relative;
  min-height:100svh;
  display:grid;
  align-items:center;
  overflow:hidden;
  background:var(--ink);
}
.hero__bg{ position:absolute; inset:-12% 0 -12% 0; z-index:0; }
.hero__bg .media{ width:100%; height:100%; }
/* Two layers: a soft pool of shade centred on the copy so the headline
   always has contrast, over a lighter vertical gradient that keeps the
   edges of the photograph readable. */
.hero__scrim{
  position:absolute; inset:0; z-index:1;
  background:
    radial-gradient(125% 80% at 50% 48%,
      rgba(18,12,7,.78) 0%, rgba(18,12,7,.58) 38%,
      rgba(18,12,7,.22) 72%, rgba(18,12,7,0) 100%),
    linear-gradient(180deg, rgba(18,12,7,.58) 0%, rgba(18,12,7,.20) 30%,
                            rgba(18,12,7,.34) 68%, rgba(18,12,7,.72) 100%);
}
/* canvas molecular lattice — drawn over the scrim, under the copy */
.hero__mesh{
  position:absolute; inset:0; z-index:2;
  pointer-events:none;
  opacity:0;
  transition:opacity var(--t-slow) var(--ease);
}
.hero__mesh.is-live{ opacity:1; }
.hero__inner{
  position:relative; z-index:3;
  padding-block:clamp(140px,18vh,220px) clamp(80px,12vh,140px);
  text-align:center;
}
.hero__kicker{ color:var(--copper-glow); margin-bottom:clamp(20px,2.4vw,34px); }
.hero__title{ color:var(--cream); }
.hero__title em{ font-style:normal; color:var(--copper-glow); }
.hero__lede{
  margin:clamp(26px,3.2vw,44px) auto 0;
  color:rgba(244,232,220,.86);
  max-width:60ch;
}
.hero__cta{ margin-top:clamp(30px,3.6vw,48px); }
.hero__scroll{
  position:absolute;
  left:50%; bottom:clamp(22px,3.4vh,42px);
  transform:translateX(-50%);
  z-index:4;
  display:flex; flex-direction:column; align-items:center; gap:.85em;
  font-size:var(--fs-eyebrow); letter-spacing:.26em; text-transform:uppercase;
  color:rgba(244,232,220,.62);
}
.hero__scroll i{
  display:block; width:1px; height:44px;
  background:linear-gradient(180deg,rgba(244,232,220,.7),transparent);
}

/* Compact hero for interior pages */
.hero--page .hero__inner{ padding-block:clamp(150px,20vh,230px) clamp(70px,10vh,120px); }

/* --------------------------------------------------------------------------
   10. Pillar band
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   11. Statement banner
   -------------------------------------------------------------------------- */
.statement{
  position:relative;
  min-height:72svh;   /* was 86svh (handover 2.3) */
  display:grid;
  align-items:center;
  overflow:hidden;
  background:var(--ink);
}
.statement__bg{ position:absolute; inset:-10% 0; z-index:0; }
.statement__bg .media{ width:100%; height:100%; }
.statement__scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(100deg, rgba(18,12,7,.74) 0%, rgba(18,12,7,.34) 54%, rgba(18,12,7,.12) 100%);
}
.statement__inner{ position:relative; z-index:2; padding-block:clamp(64px,7.4vw,104px); max-width:min(900px,100%); }
.statement__title{ color:var(--cream); margin-top:clamp(18px,2vw,28px); }
.statement__body{ margin-top:clamp(22px,2.6vw,34px); color:rgba(244,232,220,.82); }
.statement__cta{ margin-top:clamp(26px,3vw,38px); }

/* --------------------------------------------------------------------------
   12. Route cards  (home → three pillars of the site)
   -------------------------------------------------------------------------- */
.route{
  position:relative;
  min-height:clamp(440px,62vh,640px);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  color:var(--on-dark);
  isolation:isolate;
}
.route .media{ position:absolute; inset:0; z-index:0; }
.route:hover .route__scrim{
  background:linear-gradient(180deg, rgba(18,12,7,.14) 0%, rgba(24,17,9,.40) 50%, rgba(18,12,7,.88) 100%);
}
.route .media img{ transition:transform var(--t-slow) var(--ease); }
.route:hover .media img{ transform:scale(1.05); }

/* --------------------------------------------------------------------------
   13. Manifesto (pinned slider)
   -------------------------------------------------------------------------- */
.manifesto{ position:relative; background:var(--ink); color:var(--on-dark); overflow:hidden; }
.manifesto__stage{ position:relative; min-height:100svh; display:grid; align-items:center; }
.manifesto__bgs{ position:absolute; inset:0; z-index:0; }
.manifesto__bg{ position:absolute; inset:0; opacity:0; }
.manifesto__bg .media{ width:100%; height:100%; }
.manifesto__bg:first-child{ opacity:1; }
.manifesto__scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(96deg, rgba(18,12,7,.86) 0%, rgba(18,12,7,.62) 46%, rgba(18,12,7,.30) 100%);
}
.manifesto__inner{
  position:relative; z-index:2;
  padding-block:clamp(96px,13vw,180px);
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(180px,17vw,250px);
  gap:clamp(32px,5vw,80px);
  align-items:center;
}
.manifesto__head{ max-width:52ch; }
.manifesto__title{ color:var(--cream); margin-top:clamp(14px,1.6vw,22px); }
.manifesto__panels{ position:relative; margin-top:clamp(34px,4vw,56px); }
.manifesto__panel{
  grid-area:1/1;
  display:grid;
}
.manifesto__panels{ display:grid; }
.manifesto__panel-title{
  font-family:var(--serif);
  font-size:clamp(1.7rem,2.9vw,2.7rem);
  line-height:1.12;
  color:var(--cream);
}
.manifesto__panel-body{
  margin-top:1em;
  color:rgba(244,232,220,.78);
  max-width:48ch;
}
.manifesto__menu{ display:flex; flex-direction:column; gap:2px; }
.manifesto__tab{
  display:flex;
  align-items:baseline;
  gap:1em;
  padding:1.05em 0;
  border-top:1px solid var(--line-dark);
  text-align:left;
  color:rgba(244,232,220,.5);
  transition:color var(--t-base) var(--ease);
  position:relative;
}
.manifesto__tab:last-child{ border-bottom:1px solid var(--line-dark); }
.manifesto__tab-num{
  font-family:var(--sans);
  font-size:var(--fs-eyebrow);
  letter-spacing:.16em;
  font-weight:500;
}
.manifesto__tab-label{
  font-family:var(--sans);
  font-size:var(--fs-small);
  letter-spacing:.03em;
}
.manifesto__tab::after{
  content:'';
  position:absolute; left:0; bottom:-1px;
  height:1px; width:100%;
  background:var(--copper-glow);
  transform:scaleX(0); transform-origin:left;
  transition:transform var(--t-base) var(--ease);
}
.manifesto__tab:hover{ color:rgba(244,232,220,.8); }
.manifesto__tab.is-active{ color:var(--cream); }
.manifesto__tab.is-active::after{ transform:scaleX(1); }

/* --------------------------------------------------------------------------
   14. Section headings
   -------------------------------------------------------------------------- */
.sec-head{ max-width:70ch; }
.sec-head__title{ margin-top:clamp(14px,1.6vw,22px); }
.sec-head__body{ margin-top:clamp(18px,2vw,28px); }
.sec-head--center{ margin-inline:auto; text-align:center; }
.sec-head--center .lede{ margin-inline:auto; }

/* --------------------------------------------------------------------------
   15. Split feature
   -------------------------------------------------------------------------- */
.feature{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(32px,5vw,90px);
  align-items:center;
}
.feature--reverse .feature__media{ order:-1; }
.feature__media .media{ border-radius:2px; }
/* containing block for an overlapping stat badge */
.feature__cta{ margin-top:clamp(22px,2.6vw,34px); }

/* --------------------------------------------------------------------------
   16. Applications (pinned horizontal rail)
   -------------------------------------------------------------------------- */
.apps{ background:var(--cream-hi); overflow:hidden; }
.apps__viewport{ position:relative; }
.apps__rail{
  /* first card lines up with the container's content edge, not the raw gutter.
     100% (not 100vw) so a visible scrollbar doesn't throw the alignment off. */
  --rail-inset:max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  display:flex;
  gap:clamp(16px,1.8vw,26px);
  padding-inline:var(--rail-inset);
  /* keep snap from scrolling the leading pad away when the rail falls back
     to a native swipe container */
  scroll-padding-inline-start:var(--rail-inset);
  will-change:transform;
}
.app-card{
  flex:none;
  width:clamp(232px,22vw,304px);
}
.app-card .media{ border-radius:2px; }
.app-card__title{
  margin-top:.9em;
  font-family:var(--sans);
  font-size:var(--fs-micro);
  font-weight:500;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--text);
  line-height:1.45;
}
.app-card__body{
  margin-top:.75em;
  font-size:var(--fs-base);
  line-height:1.62;
  color:var(--text-muted);
}
.apps__hint{
  margin-top:clamp(30px,3.4vw,48px);
  display:flex; align-items:center; gap:.8em;
  font-size:var(--fs-eyebrow); letter-spacing:.22em; text-transform:uppercase;
  color:var(--text-muted);
}
.apps__hint i{ display:block; width:56px; height:1px; background:var(--line); position:relative; overflow:hidden; }
.apps__hint i::after{
  content:''; position:absolute; inset:0;
  background:var(--copper);
  transform-origin:left;
  transform:scaleX(var(--p,0));
}

/* Static grid fallback used on the Applications page */

/* --------------------------------------------------------------------------
   17. Data blocks & charts
   -------------------------------------------------------------------------- */
/* keep the chart in the wider column regardless of which side it sits on */
.chart{ margin-top:clamp(16px,2vw,26px); width:100%; height:auto; overflow:visible; }
.chart text{ font-family:var(--sans); font-size:9.5px; letter-spacing:.04em; }
.chart .ax{ fill:var(--on-dark-mute); }
.chart-card--light .chart .ax{ fill:var(--text-muted); }
.chart .ax-title{ font-size:9px; letter-spacing:.1em; text-transform:uppercase; }
.chart .gridline{ stroke:rgba(244,232,220,.13); stroke-width:1; }
.chart-card--light .chart .gridline{ stroke:rgba(34,26,15,.12); }
.chart .axis{ stroke:rgba(244,232,220,.36); stroke-width:1; }
.chart-card--light .chart .axis{ stroke:rgba(34,26,15,.3); }
.chart .series{ fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.chart .series--a{ stroke:var(--copper-glow); }
.chart .series--b{ stroke:#8E8175; }
.chart .series--c{ stroke:#5C5349; }
.chart-card--light .chart .series--b{ stroke:#6E6357; }
.chart-card--light .chart .series--c{ stroke:#A99C8E; }
.chart .dot{ stroke-width:0; }
.chart .dot--a{ fill:var(--copper-glow); }
.chart .dot--b{ fill:#8E8175; }
.chart .dot--c{ fill:#5C5349; }
.chart .bar--a{ fill:#A99C8E; }
.chart .bar--b{ fill:#2E2318; }
.chart .bar--c{ fill:var(--copper); }
.chart .bar-value{ font-size:12px; font-weight:500; fill:var(--text); }

/* provenance flags — verified instrument data must never be mistaken for
   the figures that are still indicative */

.chart .legend-text{ font-size:9.5px; fill:var(--on-dark-mute); }
.chart-card--light .chart .legend-text{ fill:var(--text-muted); }

/* --------------------------------------------------------------------------
   17b. Chromatogram (GC-MS total ion chromatogram)
   -------------------------------------------------------------------------- */
.chromo .sec-head__title,.chromo .display{ color:var(--on-dark); }
.chromo .lede{ color:var(--on-dark-mute); }
.chromo .kicker{ color:var(--copper-glow); }


.chromo__peak.is-active .chromo__stem{ stroke:var(--copper-glow); stroke-dasharray:none; }
.chromo__peak.is-active .chromo__dot{ r:5; }

.chromo__label.is-major{ opacity:1; color:rgba(244,232,220,.8); }
.chromo__label.is-shown{ opacity:1; color:var(--copper-glow); }
.chromo__label.is-right{ transform:translate(-100%,0); }

.chromo__readout-grid dd.is-pct{ color:var(--copper-glow); }

/* peak table */
.chromo__row.is-active{ background:rgba(201,138,80,.11); color:var(--cream); }
.chromo__row .num{ color:rgba(179,160,141,.6); font-variant-numeric:tabular-nums; }
.chromo__row .rt, .chromo__row .area { text-align:right; font-variant-numeric:tabular-nums; }
.chromo__total .area { text-align:right; font-variant-numeric:tabular-nums; }
.chromo__total .area{ color:var(--cream); }


@media (max-width:900px){
  .chromo__table-head .area, .chromo__row .area, .chromo__total .area { display:none; }
}

/* --------------------------------------------------------------------------
   18. Stats
   -------------------------------------------------------------------------- */
/* declared before the media queries so tablet/mobile still collapse it */
/* Three-up columns are wider than the four-up ones the 26ch cap was written for,
   which left the label filling under half its column and reading as misaligned
   against the full-width rule above it. Let it fill the column. */


/* --------------------------------------------------------------------------
   19. Feature list (why choose / product attributes)
   -------------------------------------------------------------------------- */
.why{
  padding:clamp(26px,3vw,44px) clamp(18px,2.2vw,36px) clamp(30px,3.4vw,50px) 0;
  border-bottom:1px solid var(--line);
  border-right:1px solid var(--line);
}
.why:nth-child(3n){ border-right:0; padding-right:0; }
.why:nth-child(3n+1){ padding-left:0; }
.why:not(:nth-child(3n+1)){ padding-left:clamp(18px,2.2vw,36px); }


/* --------------------------------------------------------------------------
   20. Sensory profile & spec table
   -------------------------------------------------------------------------- */
.spec{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(32px,5vw,88px);
}
.sensory{ margin-top:clamp(22px,2.6vw,34px); display:flex; flex-wrap:wrap; gap:10px; }
.sensory li{
  padding:.72em 1.3em;
  border:1px solid rgba(156,86,40,.32);
  border-radius:999px;
  font-size:var(--fs-micro); letter-spacing:.15em; text-transform:uppercase;
  color:var(--copper);
}

/* --------------------------------------------------------------------------
   21. Kit CTA
   -------------------------------------------------------------------------- */
/* The events section that used to follow this is hidden, so its bottom padding
   now butts straight onto the closing strip. (handover 2.2) */

/* --------------------------------------------------------------------------
   22. Events
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   24. Cross-link banner & parent brand banner
   -------------------------------------------------------------------------- */
.crosslink{
  position:relative;
  min-height:clamp(360px,52vh,520px);
  display:grid; align-items:center;
  overflow:hidden;
  color:var(--on-dark);
  background:var(--ink);
}
.crosslink .media{ position:absolute; inset:0; z-index:0; }
.crosslink__scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(92deg, rgba(18,12,7,.84) 0%, rgba(18,12,7,.52) 55%, rgba(18,12,7,.26) 100%);
}
.crosslink__inner{ position:relative; z-index:2; padding-block:clamp(50px,6vw,80px); }
.crosslink__title{
  font-family:var(--serif);
  font-size:clamp(1.9rem,3.4vw,3rem);
  color:var(--cream); line-height:1.1;
  margin-top:clamp(12px,1.4vw,18px);
}
.crosslink__cta{ margin-top:clamp(22px,2.6vw,32px); }
.crosslink .media img{ transition:transform var(--t-slow) var(--ease); }
.crosslink:hover .media img{ transform:scale(1.04); }


/* --------------------------------------------------------------------------
   25. Footer
   -------------------------------------------------------------------------- */
/* position:relative so the decorative motif can sit in the corner; the
   overflow guard stops it widening the page on a narrow viewport. */
.footer{
  position:relative; overflow:hidden; isolation:isolate;
  background:var(--ink); color:var(--on-dark);
  /* Inherited from the .footer__body wrapper this footer no longer has. Every
     page ends section -> footer, so without it the two grounds butt together. */
  padding-block:clamp(60px,7vw,104px) 0;
}
/* Decorative line-art vanilla flower, bottom right. aria-hidden in the
   markup; pointer-events:none so it can never intercept a click on the
   legal links it sits behind. */
.footer__motif{
  position:absolute; right:-10px; bottom:-14px; z-index:-1;
  width:clamp(190px,22vw,310px); height:auto; max-width:none;
  color:var(--amber); opacity:.11; pointer-events:none;
}
@media (max-width:760px){ .footer__motif{ width:170px; opacity:.08; } }
.footer .wordmark__neo{ color:var(--cream); }
.footer .wordmark__tag{ color:rgba(179,160,141,.8); }
/* Three marks, one row. A flex row let them reflow 2 + 1 when the brand
   column narrowed (item 8 widened the contact column beside it); an explicit
   three-track grid keeps them level and lets the labels wrap inside their own
   cell instead. */
.footer__values{
  margin-top:clamp(26px,3vw,40px);
  display:grid; grid-template-columns:repeat(3,minmax(0,auto));
  justify-content:start; gap:clamp(14px,1.8vw,30px);
}
.footer__value{
  display:flex; align-items:center; gap:.6em; min-width:0;
  font-size:var(--fs-eyebrow); letter-spacing:.15em; text-transform:uppercase;
  color:var(--on-dark-mute);
}
.footer__value svg{ width:22px; height:auto; color:var(--copper-glow); flex:none; }
/* Round 2, item 8.

   Written `.footer__mail` alone, this rule lost every property it shared with
   `.footer__col a` above - a class plus a type selector, which outranks a lone
   class. So `display:inline-flex` lost to `display:block`, and the envelope,
   an <svg> that the reset sets to display:block, fell onto a line of its own
   ABOVE the address; `font-family:var(--serif)` lost to the sans; and the
   border-bottom, now spanning a full-width block, drew a second rule under the
   email immediately above the address's own. Three of the four faults Synthite
   listed, from one missing type selector. (This is the third rule in this file
   to be caught by it - see .footer__cta and .footer__talk below.)

   The email and the address now share one layout: icon column, text column,
   same face, same size, same ink. The address's top border is the single
   divider; the email's link affordance is an underline on the words. */
.footer__col a.footer__mail{
  display:flex; align-items:flex-start; gap:.6em;
  margin-top:1em; margin-bottom:0;
  font-family:var(--read); font-weight:300;
  font-size:var(--fs-body); line-height:1.7;
  color:var(--on-dark);
  transition:color var(--t-base) var(--ease);
}
.footer__col a.footer__mail span{
  text-decoration:underline;
  text-decoration-color:rgba(244,232,220,.34);
  text-underline-offset:.22em;
  overflow-wrap:anywhere;          /* never overflow the column on a phone */
  transition:text-decoration-color var(--t-base) var(--ease);
}
.footer__col a.footer__mail:hover,
.footer__col a.footer__mail:focus-visible{ color:var(--amber-soft); }
.footer__col a.footer__mail:hover span,
.footer__col a.footer__mail:focus-visible span{ text-decoration-color:var(--amber-soft); }
.footer__col a.footer__mail .ico{ width:17px; height:17px; max-width:none; flex:none;
  margin-top:.28em; color:var(--copper-glow); }
/* The mail row and the address are separated by a hairline, as slide 6 shows. */
.footer__address{
  display:flex; align-items:flex-start; gap:.6em;
  margin-top:1.3em; padding-top:1.3em; border-top:1px solid var(--line-dark);
  font-family:var(--read); font-weight:300;
  font-size:var(--fs-body); line-height:1.7; color:var(--on-dark);
}
.footer__address .ico{ width:17px; height:17px; max-width:none; flex:none;
  margin-top:.28em; color:var(--copper-glow); }

/* 26b · The two footer actions: one filled, one outlined, both full width of
   the column so they read as a pair rather than as a button and a link.
   .footer__talk - an amber-soft pill - is replaced by these.

   Scoped `.footer__col a.footer__cta`, not `.footer__cta`: `.footer__col a`
   above is a class plus a type selector and outranks a lone class, so a bare
   .footer__cta lost `display`, `font-size` and `margin` to it and both
   buttons wrapped their arrow onto a second line. This is the same reason
   .footer__talk was written `.footer__col a.footer__talk`. */
.footer__col a.footer__cta{
  display:flex; align-items:center; justify-content:space-between; gap:.8em;
  width:100%; min-height:48px; margin-top:.9em; padding:.8em 1.2em;
  /* "Talk to our flavourist" is 21 characters. At .72rem/.09em it needed
     189px against the 165px this column leaves between the padding and the
     arrow, so BOTH buttons wrapped their arrow onto a second line and stood
     58px tall instead of 46. Tracking and size trimmed until the longer of
     the two fits on one line with room to spare. */
  /* Round 2, item 8: 13px at weight 300 read as fine print rather than as the
     two actions this column exists for. 15px at 500 is the size item 6 asks
     for; the tracking stays modest rather than the .16em of a full-width
     primary button, because "Talk to our flavourist" has to fit a 268px
     column on one line and .16em needs 300. */
  font-family:var(--sans); font-size:var(--fs-small); font-weight:500;
  letter-spacing:.03em;
  text-transform:uppercase; text-decoration:none; border-radius:100px;
  transition:background var(--t-base) var(--ease), color var(--t-base) var(--ease),
             border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.footer__col a.footer__cta .ico-arrow{ width:15px; height:15px; max-width:none; flex:none;
  transition:transform var(--t-base) var(--ease); }
.footer__col a.footer__cta:hover .ico-arrow{ transform:translateX(4px); }
.footer__col a.footer__cta:active{ transform:translateY(1px) scale(.99); }
/* Ink on amber, not cream: cream on #E09A4F is under 3:1. */
.footer__col a.footer__cta--fill{ background:var(--amber); color:var(--bourbon); margin-top:1.5em; }
.footer__col a.footer__cta--fill:hover, .footer__col a.footer__cta--fill:focus-visible{ background:var(--amber-soft); }
.footer__col a.footer__cta--line{
  /* .46 blends to 2.58:1 on the footer ground - under the 3:1 floor for the
     boundary of a control (WCAG 1.4.11). .62 reads 3.61:1. The label itself
     is --amber-soft at 10.7:1. */
  background:none; color:var(--amber-soft); border:1px solid rgba(224,154,79,.62);
}
.footer__col a.footer__cta--line:hover, .footer__col a.footer__cta--line:focus-visible{
  background:rgba(224,154,79,.12); border-color:var(--amber); color:var(--amber-soft);
}
.footer__bottom{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:14px;
  padding-block:clamp(20px,2.2vw,28px);
  border-top:1px solid var(--line-dark);
  font-size:var(--fs-micro);
  color:rgba(179,160,141,.78);
}
/* Thin vertical bars between the legal links, drawn as borders so a wrap
   cannot strand one at the start of a line. */
.footer__legal{ display:flex; flex-wrap:wrap; gap:clamp(14px,2vw,26px); }
.footer__legal a + a{ padding-left:clamp(14px,2vw,26px); border-left:1px solid var(--line-dark); }
.footer__legal a{ transition:color var(--t-base) var(--ease); }
.footer__legal a:hover{ color:var(--cream); }

/* --------------------------------------------------------------------------
   26. Reveal base states (only when JS is active)
   -------------------------------------------------------------------------- */
/* word-mask splitter — padding/margin pair keeps descenders from clipping */
.split-w{
  display:inline-block;
  overflow:hidden;
  vertical-align:bottom;
  padding-bottom:.14em;
  margin-bottom:-.14em;
}
.split-wi{ display:inline-block; will-change:transform; }
.js [data-split]{ opacity:0; }
.js [data-hero-title]{ opacity:0; }

/* Inertia scroll takes over the window scroll position, so the browser's own
   smooth behaviour has to be off or the two fight each other. */
html.has-inertia{ scroll-behavior:auto; }

/* Editorial image reveal: the frame wipes open while the photo settles back
   from an over-scale. Base state lives in CSS so there is no flash before
   GSAP initialises. */
.js .media[data-media-reveal],
.js .figure[data-media-reveal]{
  clip-path:inset(0 0 100% 0);
  will-change:clip-path;
}
.js .media[data-media-reveal] img,
.js .figure[data-media-reveal] img{
  transform:scale(1.32);
  will-change:transform;
}
.media[data-parallax-img] img{ will-change:transform; }

.js [data-reveal]{ opacity:0; }
/* Travel shortened with the duration. 38px over 1.25s was the old tempo;
   at 300ms the same distance reads as a lurch, and 22px reads as crisp. */
.js [data-reveal="up"]{ transform:translateY(22px); }
.js [data-reveal="fade"]{ transform:none; }
.js [data-reveal="left"]{ transform:translateX(-24px); }
.js [data-reveal="right"]{ transform:translateX(24px); }
.js [data-reveal-line] > *{ opacity:0; }
.js .chart .series{ stroke-dasharray:1400; stroke-dashoffset:1400; }
.js .chart .dot{ opacity:0; }
.js .chart .bar-value{ opacity:0; }

/* --------------------------------------------------------------------------
   26b. First-paint failsafe

   Everything above starts hidden and waits for assets/js/main.js to put it
   back: copy at opacity 0, figures clipped to nothing, and on the homepage an
   opaque curtain over the whole viewport. That put 173 KB of gsap +
   ScrollTrigger + main.js between the visitor and any visible content, which
   on a slow connection read as seconds of blank cream - the site looked slow
   long before it was heavy.

   So each hidden state now carries its own wall-clock escape: a zero-length
   animation on a delay that restores the element with nothing but CSS. The
   page becomes readable on a fixed schedule whether the JavaScript arrives
   late, fails, or never loads at all.

   main.js adds .nv-ready as its first statement and that switches the whole
   set off again, so a normal load is byte-for-byte the behaviour it always
   had. It only claims .nv-ready if it got here before the deadline; past
   that, cancelling would snap a visible page back to blank and re-animate it,
   so the failsafes stand and the script runs the page in its settled state.
   REVEAL_DEADLINE in main.js is set below --nv-failsafe deliberately: the CSS
   clock starts later than the navigation clock, so the margin belongs on the
   side that avoids a flash.
   -------------------------------------------------------------------------- */
:root{
  --nv-failsafe:1.4s;    /* copy and media */
  --nv-cover:2.8s;       /* home intro curtain - its own play length */
  --nv-loader:3.6s;      /* loader - just past main.js's own 3.2s release */
}

@keyframes nv-unhide { to{ opacity:1; transform:none; } }
@keyframes nv-uncover{ to{ opacity:0; visibility:hidden; pointer-events:none; } }

.js [data-reveal],
.js [data-reveal-line] > *,
.js [data-split],
.js [data-hero-title]{ animation:nv-unhide 0s linear var(--nv-failsafe) forwards; }

.js .reveal{ animation:nv-uncover 0s linear var(--nv-cover) forwards; }
.js .loader{ animation:nv-uncover 0s linear var(--nv-loader) forwards; }

/* The clipped figures need no escape of their own: [data-media-reveal] is not
   in the markup at all - initMediaMotion() adds it, and only on the branch
   that goes straight on to animate. No JavaScript, no attribute, no clip. */

/* main.js is here and in time: it owns the choreography from now on. */
.js.nv-ready [data-reveal],
.js.nv-ready [data-reveal-line] > *,
.js.nv-ready [data-split],
.js.nv-ready [data-hero-title],
.js.nv-ready .reveal,
.js.nv-ready .loader{ animation:none; }

/* --------------------------------------------------------------------------
   27. Responsive
   -------------------------------------------------------------------------- */
@media (max-width:1100px){
  .route:last-child{ grid-column:1 / -1; min-height:clamp(360px,40vh,460px); }
  .why:nth-child(3n){ border-right:1px solid var(--line); padding-right:clamp(18px,2.2vw,36px); }
  .why:nth-child(3n+1){ padding-left:clamp(18px,2.2vw,36px); }
  .why:nth-child(2n+1){ padding-left:0; }
  .why:nth-child(2n){ border-right:0; padding-right:0; }
}

@media (max-width:900px){
  .header__inner{ gap:14px; position:relative; }
  .burger{ display:block; order:3; }
  /* Round 10 items 3 and 4. The menu was a centred column with
     `gap:clamp(18px,3.4vh,30px)` between items, and the expand chevrons were
     pushed outside their own group with `right:-1.9em`. Nothing shared an edge
     with anything else, the gaps read as uneven because the two expandable
     rows carried a chevron and the other two did not, and the whole thing
     floated in the middle of the screen.

     It is a list now: full-width rows from the top, one hairline between each,
     text on the left edge, chevron on the right edge, every row the same
     height. */
  .nav{
    position:fixed;
    inset:0;
    z-index:-1;
    flex-direction:column;
    justify-content:flex-start;
    align-items:stretch;
    gap:0;
    padding:calc(var(--header-h, 64px) + 12px) var(--gutter)
            calc(84px + env(safe-area-inset-bottom, 0px));
    overflow-y:auto; overscroll-behavior:contain;
    background:var(--ink);
    opacity:0; visibility:hidden;
    transition:opacity var(--t-base) var(--ease), visibility var(--t-base);
  }
  .is-menu-open .nav{ opacity:1; visibility:visible; z-index:-1; }

  .nav > .nav__link, .nav__group{
    border-bottom:1px solid rgba(249,240,233,.14);
  }
  .nav > .nav__link, .nav__group > .nav__link{
    display:flex; align-items:center;
    min-height:58px; padding:0 58px 0 0;      /* room for the chevron */
    font-size:1.12rem; letter-spacing:.03em; line-height:1.2;
    color:var(--cream); text-align:left;
  }
  .header--dark .nav__link{ color:var(--cream); }
  .nav__link[aria-current="page"]{ color:var(--amber); }   /* 3.53:1 -> 4.98:1 */

  .nav__group{ position:relative; flex-direction:column; gap:0; align-items:stretch; }
  /* 44px minimum, squared off against the row it belongs to. */
  .nav__toggle{
    position:absolute; top:0; right:0; left:auto;
    display:flex; align-items:center; justify-content:center;
    width:58px; height:58px; padding:0;
    color:rgba(249,240,233,.66); background:none;
    transition:transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
  }
  .nav__toggle svg{ width:13px; height:9px; }
  .nav__group.is-open .nav__toggle{ transform:rotate(180deg); color:var(--copper-glow); }

  /* max-height is set from scrollHeight by initNavDropdown, because the old
     fixed 220px was both too small for Our Range and too large for everything
     else - which is what made the open and close look like a jump rather than
     a slide. */
  .nav__menu{
    position:static; min-width:0; background:none; border:0; border-top:0; box-shadow:none;
    padding:0; -webkit-backdrop-filter:none; backdrop-filter:none; left:auto;
    transform:none; max-height:0; overflow:hidden; opacity:0;
    transition:max-height var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
  }
  .nav__group:hover .nav__menu{ opacity:0; visibility:hidden; }   /* no hover on touch */
  .nav__group.is-open .nav__menu{ opacity:1; visibility:visible; padding-bottom:6px; }
  .nav__sub{
    display:flex; align-items:center; min-height:48px;
    text-align:left; font-size:var(--fs-body); color:rgba(249,240,233,.74);
    padding:0 0 0 2px; opacity:1; transform:none;
  }
  .nav__sub::before{ display:none; }
  .nav__sub:hover, .nav__sub:focus-visible{ background:none; color:var(--copper-glow); }
  .is-menu-open .burger span{ background:var(--cream); }
  /* The menu overlay is `position:fixed; inset:0`, which is meant to be the
     viewport. But .header is transformed by the scroll show/hide, and once
     pinned it also carries a backdrop-filter - either of those makes the
     header the containing block for its own fixed children. So inset:0
     resolved against the 64px header bar instead of the screen: at the top of
     a page the menu was full height, and after any scroll at all the same tap
     gave a 64px ink strip with the links spilling out of it.

     Both are dropped while the menu is open. Nothing is lost - a header that
     slid away or blurred the page behind an open full-screen menu was never
     the intent, and the bar sits transparent over the overlay either way. */
  .is-menu-open .header{
    transform:none !important;
    -webkit-backdrop-filter:none; backdrop-filter:none;
    background:transparent; box-shadow:none;
  }

  .feature, .spec, .manifesto__inner {
    grid-template-columns:1fr;
  }
  .feature--reverse .feature__media { order:0; }
  .manifesto__menu{ flex-direction:row; flex-wrap:wrap; gap:0; }
  .manifesto__tab{ flex:1 1 0; min-width:120px; border-top:1px solid var(--line-dark); }
  .manifesto__tab:last-child{ border-bottom:0; }
  .route:last-child{ grid-column:auto; }
}

@media (max-width:680px){
  .why{ border-right:0 !important; padding-inline:0 !important; }
  .footer__bottom{ flex-direction:column; align-items:flex-start; }
  .hero__scroll{ display:none; }
}

/* --------------------------------------------------------------------------
   28. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
  .js [data-reveal],.js [data-reveal-line] > *{ opacity:1 !important; transform:none !important; }
  .js .chart .series{ stroke-dashoffset:0 !important; }
  .js .chart .dot,.js .chart .bar-value{ opacity:1 !important; }
  .js .media[data-media-reveal]{ clip-path:none !important; }
  .js .media[data-media-reveal] img{ transform:none !important; }
  .hero__mesh{ display:none; }
}

/* --------------------------------------------------------------------------
   28b. ?motion=off — static QA rendering
   -------------------------------------------------------------------------- */
.motion-off [data-reveal],
.motion-off [data-reveal-line] > *,
.motion-off [data-split],
.motion-off [data-hero-title]{ opacity:1 !important; transform:none !important; }
.motion-off .chart .series{ stroke-dashoffset:0 !important; }
.motion-off .chart .dot,
.motion-off .chart .bar-value{ opacity:1 !important; }
.motion-off .loader{ display:none; }
/* show every manifesto panel stacked so the copy can be proof-read */
.motion-off .manifesto__panels{ display:block; }
.motion-off .manifesto__panel{ opacity:1 !important; }
.motion-off .manifesto__panel + .manifesto__panel{ margin-top:clamp(28px,3vw,44px); }
.motion-off .manifesto__stage{ min-height:0; }
.motion-off .manifesto__bg{ opacity:.55; }
.motion-off .media[data-media-reveal]{ clip-path:none !important; }
.motion-off .media[data-media-reveal] img{ transform:none !important; }
.motion-off .hero__mesh{ display:none; }

/* --------------------------------------------------------------------------
   29. Print
   -------------------------------------------------------------------------- */
@media print{
  .header,.loader,.hero__scroll{ display:none !important; }
  body{ background:#fff; color:#000; }
  .media{ background:#eee; }
}

/* --------------------------------------------------------------------------
   30. Logo — lowercase "neovanil" wordmark, matching the intro reveal.
   Static: the falling-drop moment plays once in the full-screen reveal, so the
   header does not repeat it. Used by .logo (header), .wordmark (footer) and
   the interior-page loader mark.
   -------------------------------------------------------------------------- */
.logo{ display:inline-flex; flex-direction:column; align-items:flex-start; gap:6px; line-height:1; white-space:nowrap; }
/* dark / photographic header ground */
.header--dark .logo__neo{ color:var(--cream); }
.header--dark .logo__van{ color:var(--copper-glow); }
.header--dark .logo__tm{ color:var(--copper-glow); }
.header--dark .logo__synthite{ filter:brightness(0) invert(1); opacity:.94; }
.header--dark .logo__endorse-label{ color:rgba(249,240,233,.74); }
.header--dark .logo__endorse-div{ background:rgba(249,240,233,.22); }
@media (max-width:520px){ }

/* --------------------------------------------------------------------------
   Small copper text on the panel grounds needs the darker copper: --copper is
   4.31:1 on --panel-warm and --copper-lt only 3.81:1, both below the AA floor.
   -------------------------------------------------------------------------- */
.brand-banner .arrow-link,
.kit .arrow-link,
.section--panel .arrow-link,
.brand-banner .kicker,
.kit .kicker,
.section--panel .kicker{ color:var(--copper-on-panel); }

/* --------------------------------------------------------------------------
   6.4 · phone legibility floors

   Measured on a real 375x812 viewport. Both of these bottom out on a phone
   because they are sized for a wide layout: uppercase set with wide tracking is
   the least forgiving thing to shrink, and the footer strapline was rendering at
   8px, which is the brand line nobody could read.
   -------------------------------------------------------------------------- */
@media (max-width:760px){
  .kicker{ font-size:var(--fs-micro); letter-spacing:.18em; }

  /* Footer links ran 21-23px tall. They pass WCAG 2.2 target size through the
     spacing exception, since they are 69-100px wide and 14-16px apart, but that
     is a technicality: they are still an awkward tap. Given real height here,
     not on desktop, where a cursor does not care. */
  .footer__legal a {
    padding-block:.62em;
    display:inline-block;
  }
  .footer__legal{ row-gap:.2em; }
}

/* ==========================================================================
   31 · SYNTHITE VANILLA (v2)
   The microsite became the portfolio site. Everything above is kept: the
   tokens, the accessibility work on copper and muted text, the section
   rhythm. This block adds the new chrome, the portfolio components, and the
   change the client asked for most loudly - a brighter, richer, less flat
   surface treatment.
   ========================================================================== */

:root{
  /* Richer accents alongside the existing copper. Amber is the light-on-dark
     partner for copper (copper itself is too dark to read on the bourbon
     ground); leaf is the second accent that keeps the palette from reading as
     one long brown. */
  --amber:        #E09A4F;
  --amber-soft:   #F2C58A;
  --bourbon:      #2B1B10;
  --bourbon-2:    #3A2415;
  --leaf:         #2D6A4F;
  --leaf-lt:      #3E8B69;

  /* Warm shadows. A neutral grey shadow on a cream ground reads as dirt;
     these are copper-tinted so a lifted card still looks warm. */
  --lift-1: 0 1px 2px rgba(74,43,20,.05), 0 4px 14px rgba(74,43,20,.06);
  --lift-2: 0 2px 6px rgba(74,43,20,.07), 0 14px 40px rgba(74,43,20,.10);
  --lift-3: 0 3px 10px rgba(74,43,20,.09), 0 28px 70px rgba(74,43,20,.14);

  --radius:   14px;
  --radius-s: 9px;
}

/* The flat-cream complaint starts here. The page ground is now two very soft
   warm pools rather than one uniform fill - invisible as colour, but it stops
   large empty areas reading as dead paper. */
body{
  background:
    radial-gradient(120% 70% at 12% -8%,  rgba(224,154,79,.13), rgba(249,240,233,0) 62%),
    radial-gradient(100% 60% at 96% 42%,  rgba(156,86,40,.075), rgba(249,240,233,0) 58%),
    var(--cream);
  background-attachment: fixed, fixed, scroll;
}

/* --------------------------------------------------------------------------
   31.1 · Brand lockup - one mark: Synthite, with Vanilla locked beneath
   -------------------------------------------------------------------------- */
/* One lockup, not two marks.

   It used to be the Synthite logo, a 1px copper rule, and the word "Vanilla"
   set beside it - which reads as two brands introduced to each other rather
   than one. Round 4 locks the descriptor UNDER the wordmark instead, tracked
   out to the logo's own width, which is how a division sits inside a parent
   mark. The rule is gone with it.

   The tracking is a measured constant, not a guess: the logo is 3.579:1, so
   at a 24px cap the mark is 86px wide, and "VANILLA" at .40em with .845em of
   tracking lands on the same edge - measured in the browser, not estimated. --brand-h drives both, so they stay locked
   at every clamp step. The trailing letter-space after the final A is real
   width, so it is cancelled rather than left to push the word off-centre. */
.brand{ --brand-h:clamp(26px,2.7vw,34px);
  display:inline-flex; flex-direction:column; align-items:flex-start;
  gap:calc(var(--brand-h) * .22); text-decoration:none; color:inherit; }
.brand__logo{ height:var(--brand-h); width:auto; display:block; }
.brand__word{
  font-family:var(--sans); font-weight:400; text-transform:uppercase;
  font-size:calc(var(--brand-h) * .42); letter-spacing:.845em;
  margin-right:-.845em; line-height:1; color:var(--copper);
}
.header--dark .brand__word{ color:var(--amber-soft); }
/* Round 12 item 1. Every other part of the header already reverts when the
   bar turns cream on scroll - the nav links, the search icon and the burger
   are all scoped to :not(.header--pinned). The wordmark was not, so it kept
   brightness(0) invert(1) and sat white on a 94%-opaque cream bar: legible
   over the hero, invisible over every section below it. */
.header--dark .brand__logo{ filter:brightness(0) invert(1); opacity:.94; }
.brand--footer{ --brand-h:clamp(26px,2.7vw,34px); }
.brand--footer .brand__word{ color:var(--amber-soft); }
.brand--footer .brand__logo{ filter:brightness(0) invert(1); opacity:.92; }

.nav__cta{
  font-family:var(--sans); font-size:clamp(.875rem,.82vw,.9375rem); font-weight:500;
  letter-spacing:.1em; text-transform:uppercase; text-decoration:none;
  color:var(--cream-hi); background:var(--copper);
  padding:.72em 1.25em; border-radius:100px; white-space:nowrap;
  transition:background var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.nav__cta:hover{ background:var(--bourbon); transform:translateY(-1px); }
.header--dark .nav__cta{ background:var(--amber); color:var(--bourbon); }
.header--dark .nav__cta:hover{ background:var(--amber-soft); }

/* --------------------------------------------------------------------------
   31.2 · Rich hero.  The old hero laid a flat dark scrim over the whole
   photograph, which is most of why the imagery looked muted. This version
   keeps the picture at full brightness and darkens only the band the type
   actually sits in.
   -------------------------------------------------------------------------- */
.hero--rich{ min-height:clamp(560px,78vh,820px); }
/* The original hero expected a .media wrapper. The rebuilt pages put a bare
   <img> in .hero__bg so the browser can prioritise it as the LCP element. */
/* `> img` and not ` img`: the hero background is the LCP element and this
   must not also catch an image inside the caption. Round 2 item 22 wraps
   slots that ship a WebP ladder in <picture>, which `display:contents`
   removes from the box tree - but NOT from the selector tree, so the direct
   child is the <picture>. Both shapes are named. */
.hero__bg > img, .hero__bg > picture > img{
  width:100%; height:100%; object-fit:cover; display:block; }
.hero--rich .hero__bg{ inset:0; }
.hero--rich .hero__inner{
  text-align:left;
  padding-block:clamp(150px,17vh,210px) clamp(52px,6.5vw,90px);
}
.hero--rich .hero__title{ max-width:16ch; }
/* A defined ground behind the copy.
   Tuning the scrim gradients alone could not serve both a mid-dark bean pile
   and a high-key studio frame on a cream ground: measured against the actual
   photographs, the eyebrow fell to 2.5:1 on the brightest heroes. This puts a
   soft-edged panel behind the copy column only, so contrast no longer depends
   on which photograph is behind it - and the rest of the frame stays at full
   brightness, which was the whole point of replacing the full-frame scrim. */
.hero--rich .hero__inner{ position:relative; }
/* Round 2, item 22. A soft-edged PANEL used to sit behind the copy column -
   inset from the container's left edge and stopping at 38% - so on a wide
   screen it drew a dark band down the left of the hero with a hard vertical
   edge where the container began, about 230px in. The reason it existed was
   real (a scrim tuned for a dark bean pile left the eyebrow at 2.5:1 on a
   high-key studio frame), but the answer is one gradient across the WHOLE
   hero rather than a panel over part of it - which is what the item asks
   for, and what .hero__scrim now carries. */
.hero--rich .hero__lede{ margin-inline:0; max-width:52ch; }
.hero--rich .hero__cta{ display:flex; flex-wrap:wrap; gap:.7em; }
/* The copy sits in the bottom-left, in a band the gradient darkens, so the
   photograph can stay at full brightness everywhere else. A full-frame scrim
   was what made the old heroes look muted - it dimmed the picture to protect
   type that could simply have been moved. */
.hero--rich{ align-items:end; }
.hero--rich .hero__scrim{
  /* One left-to-right gradient carrying the copy column, over a gentler
     bottom-up wash. Every stop is an even ramp, so there is no edge anywhere
     in the frame; the right third is close to the photograph's own
     brightness, which is what "lighten the overlay so the pods can actually
     be seen" asks for. */
  background:
    linear-gradient(to right,  rgba(24,14,7,.86) 0%,  rgba(24,14,7,.72) 24%,
                               rgba(24,14,7,.46) 48%, rgba(24,14,7,.18) 70%,
                               rgba(24,14,7,.04) 86%, rgba(24,14,7,0) 100%),
    linear-gradient(to top,    rgba(24,14,7,.62) 0%,  rgba(24,14,7,.42) 26%,
                               rgba(24,14,7,.16) 56%, rgba(24,14,7,0) 84%),
    linear-gradient(to bottom, rgba(24,14,7,.34) 0%,  rgba(24,14,7,.14) 16%,
                               rgba(24,14,7,0) 30%);
}
/* On a phone the copy runs the full width, so the left-to-right ramp is not
   enough on its own. */
@media (max-width:760px){
  .hero--rich .hero__scrim{
    background:
      linear-gradient(to top,  rgba(24,14,7,.90) 0%,  rgba(24,14,7,.78) 34%,
                               rgba(24,14,7,.52) 66%, rgba(24,14,7,.30) 100%);
  }
}
.hero__eyebrow{
  display:inline-flex; align-items:center; gap:.7em;
  font-family:var(--sans); font-size:clamp(var(--fs-eyebrow),.8vw,.875rem); font-weight:400;
  letter-spacing:.28em; text-transform:uppercase;
  /* Not --amber-soft. The eyebrow sits high in the hero, where the scrim is
     thinnest, and measured 4.03:1 against the photograph at phone width -
     under the AA floor for 10-11px text. This lifts it to 4.7:1 there and
     5.9:1 on desktop while still reading as amber. */
  color:#F7D9B4;
  margin:0 0 clamp(14px,1.6vw,22px);
}
.hero__eyebrow::before{ content:''; width:clamp(22px,3vw,44px); height:1px;
  background:var(--acc-lt); opacity:.85; }
.hero__meta{
  display:flex; flex-wrap:wrap; gap:clamp(18px,3vw,44px);
  margin-top:clamp(24px,3vw,40px); padding-top:clamp(18px,2vw,26px);
  border-top:1px solid rgba(244,232,220,.22);
}
.hero__meta b{ display:block; font-family:var(--sans); font-weight:300; color:var(--cream-hi);
  font-size:clamp(1.4rem,2.4vw,2.1rem); line-height:1.1; }
.hero__meta span{ font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.19em;
  text-transform:uppercase; color:var(--on-dark-mute); }
/* Four statistics wrapped 1-1-2 on a phone, which reads as a mistake. Two even
   columns instead. */
@media (max-width:560px){
  .hero__meta{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(14px,4vw,22px); }
  .hero--rich .hero__cta .btn{ flex:1 1 auto; text-align:center; }
  /* On a phone the copy runs the full width, so the left-to-right band does no
     work and the bottom band has to carry the whole contrast job. */
  .hero--rich .hero__scrim{
    background:
      linear-gradient(to top,    rgba(24,14,7,.94) 0%,  rgba(24,14,7,.86) 34%,
                                 rgba(24,14,7,.64) 62%, rgba(24,14,7,.26) 86%,
                                 rgba(24,14,7,.10) 100%),
      linear-gradient(to bottom, rgba(24,14,7,.52) 0%,  rgba(24,14,7,.18) 14%,
                                 rgba(24,14,7,0) 30%);
  }
}

/* --------------------------------------------------------------------------
   31.3 · Section grounds with depth
   -------------------------------------------------------------------------- */
.section--warm{
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(224,154,79,.20), rgba(240,227,218,0) 60%),
    linear-gradient(180deg, var(--panel-warm), var(--panel));
}
.section--bourbon{
  background:
    radial-gradient(80% 110% at 14% 0%, rgba(224,154,79,.20), rgba(43,27,16,0) 62%),
    linear-gradient(180deg, var(--bourbon-2), var(--bourbon));
  color:var(--on-dark);
}
.section--bourbon .sec-head__title,
.section--bourbon .display{ color:var(--cream-hi); }
.section--bourbon .sec-head__body,
.section--bourbon p{ color:var(--on-dark-mute); }
.section--bourbon .kicker{ color:var(--amber); }

/* --------------------------------------------------------------------------
   31.4 · Figures.  Photography is lifted off the ground with a warm shadow and
   a hairline, so a bright image reads as an object on the page rather than a
   hole cut in it.
   -------------------------------------------------------------------------- */
.figure{ position:relative; border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--lift-2); background:var(--panel); }
.figure img{ display:block; width:100%; height:100%; object-fit:cover; }
.figure--tall{ aspect-ratio:4/5; }
.figure--wide{ aspect-ratio:16/9; }

/* --------------------------------------------------------------------------
   31.5 · Category grid (portfolio hub, home)
   -------------------------------------------------------------------------- */
.cat-grid{ display:grid; gap:clamp(14px,1.6vw,22px);
  grid-template-columns:repeat(auto-fit,minmax(min(272px,100%),1fr)); }
.cat{
  position:relative; display:flex; flex-direction:column; justify-content:flex-end;
  min-height:clamp(268px,26vw,340px); padding:clamp(20px,2.2vw,30px);
  border-radius:var(--radius); overflow:hidden; text-decoration:none;
  color:var(--cream-hi); box-shadow:var(--lift-2); isolation:isolate;
  transition:transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out);
}
.cat:hover{ transform:translateY(-4px); box-shadow:var(--lift-3); }
.cat__bg{ position:absolute; inset:0; z-index:-2; }
.cat__bg img{ width:100%; height:100%; object-fit:cover; display:block;
  transition:transform var(--t-slow) var(--ease-out); }
.cat:hover .cat__bg img{ transform:scale(1.05); }
.cat__scrim{ position:absolute; inset:0; z-index:-1;
  background:linear-gradient(to top, rgba(28,17,9,.90) 4%, rgba(28,17,9,.52) 44%, rgba(28,17,9,.10) 100%); }
.cat__title{ font-family:var(--serif); font-weight:500; letter-spacing:.005em;
  font-size:clamp(1.42rem,2vw,1.86rem); line-height:1.12; margin:0 0 .42em; color:var(--cream-hi); }
.cat__body{ font-family:var(--sans); font-weight:300; font-size:var(--fs-base); line-height:1.55;
  color:rgba(244,232,220,.86); margin:0 0 1em; }
.cat__more{ font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.2em;
  text-transform:uppercase; color:var(--amber-soft); display:inline-flex; align-items:center; gap:.6em; }
.cat__more::after{ content:''; width:20px; height:1px; background:currentColor;
  transition:width var(--t-base) var(--ease); }
.cat:hover .cat__more::after{ width:34px; }
.cat--tall{ min-height:clamp(340px,34vw,460px); }

/* --------------------------------------------------------------------------
   31.6 · Product cards & the product table
   -------------------------------------------------------------------------- */
.prod{
  display:flex; flex-direction:column; gap:.85em; padding:clamp(20px,2.1vw,28px);
  background:var(--cream-hi); border:1px solid var(--line-soft);
  border-radius:var(--radius); box-shadow:var(--lift-1);
  transition:box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.prod:hover{ box-shadow:var(--lift-2); transform:translateY(-2px); border-color:rgba(156,86,40,.22); }
.prod__head{ display:flex; align-items:flex-start; justify-content:space-between; gap:1em; }
.prod__name{ font-family:var(--serif); font-weight:500; font-size:clamp(1.16rem,1.5vw,1.36rem);
  line-height:1.2; margin:0; color:var(--text); }
.prod__origin{ font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.16em;
  text-transform:uppercase; color:var(--copper); padding-top:.35em; text-align:right;
  /* Multi-origin entries run to four place names. nowrap here pushed the card
     96px past a 375px viewport, so it wraps and the head becomes a two-row grid
     on narrow screens instead. */
  max-width:48%; }
@media (max-width:520px){
  .prod__head{ display:grid; grid-template-columns:1fr; gap:.2em; }
  .prod__origin{ max-width:100%; text-align:left; padding-top:0; }
}
.prod__copy{ font-family:var(--read); font-weight:300; font-size:var(--fs-base); line-height:1.62;
  color:var(--text-body); margin:0; }
.prod__specs{ display:flex; flex-wrap:wrap; gap:.42em; margin:.1em 0 0; padding:0; list-style:none; }
.prod__specs li{
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.04em; color:var(--text-body);
  background:var(--panel); border-radius:100px; padding:.36em .82em; white-space:nowrap;
}
.prod__specs li b{ font-weight:500; color:var(--copper-on-panel); }
.prod__foot{ margin-top:auto; padding-top:.9em; border-top:1px solid var(--line-soft); }
.prod__label{ display:grid; grid-template-columns:auto 1fr; gap:.28em .8em;
  font-family:var(--sans); font-size:var(--fs-small); line-height:1.45; margin:0; }
.prod__label dt{ font-size:var(--fs-eyebrow); letter-spacing:.16em; text-transform:uppercase;
  color:var(--text-muted); padding-top:.24em; }
.prod__label dd{ margin:0; color:var(--text); font-weight:400; }
.prod__equiv{ font-family:var(--read); font-size:var(--fs-small); color:var(--copper);
  margin:.7em 0 0; font-style:italic; }

.prod-table-wrap{ overflow-x:auto; border-radius:var(--radius); box-shadow:var(--lift-1);
  background:var(--cream-hi); border:1px solid var(--line-soft); }
.prod-table{ width:100%; border-collapse:collapse; font-family:var(--sans);
  font-size:var(--fs-small); min-width:720px; }
.prod-table th, .prod-table td{ text-align:left; padding:.82em 1.1em;
  border-bottom:1px solid var(--line-soft); vertical-align:top; }
/* --text-muted is 4.12:1 on --panel, which the token's own note in section 1
   warns about. Headers use --text-body (7.19:1) instead. */
.prod-table thead th{ font-size:var(--fs-eyebrow); letter-spacing:.17em; text-transform:uppercase;
  color:var(--text-body); font-weight:500; background:var(--panel);
  border-bottom:1px solid var(--line); position:sticky; top:0; }
/* `td` alone leaves the row header's border behind, so the last row of every
   table ended in a 1px stub under the first column only. Already visible on
   /applications and /science before the other tables gained row headers. */
.prod-table tbody tr:last-child > *{ border-bottom:0; }
.prod-table tbody tr:hover{ background:rgba(224,154,79,.07); }
/* Every prod-table row leads with <th scope="row"> now, so the td:first-child
   companion this rule used to carry is gone. */
.prod-table tbody th[scope="row"]{ font-weight:500; color:var(--text); }
.prod-table .num{ font-variant-numeric:tabular-nums; white-space:nowrap; }

/* On a phone the eight-column index is 720px wide in a 333px box, so it became
   a sideways swipe with half of every row hidden behind it. Below 700px each
   row becomes its own card and each cell prints the column heading it lost,
   from the data-label chrome.stack_tables() writes. The roles in the markup are
   what keep this a table to a screen reader once display:block removes the
   native ones. */
@media (max-width:700px){
  .prod-table-wrap{ overflow-x:visible; box-shadow:none; border-radius:0; background:none; }
  /* The base rule carries min-width:720px, which is what keeps the columns
     readable inside the desktop scroller. Stacked rows do not need it, and it
     was overriding width:100% and pushing the document out to 741px. */
  .prod-table{ display:block; width:100%; min-width:0; font-size:var(--fs-body); }
  .prod-table thead{
    position:absolute; width:1px; height:1px; margin:-1px;
    overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap;
  }
  .prod-table tbody{ display:block; }
  .prod-table tbody tr{
    display:block; margin-bottom:12px; padding:14px 16px;
    background:var(--cream-hi); border:1px solid var(--line);
    border-radius:var(--radius);
  }
  .prod-table tbody tr:hover{ background:var(--cream-hi); }
  .prod-table tbody tr > *{ border-bottom:0; }
  .prod-table tbody th[scope="row"]{
    display:block; padding:0 0 .5em; margin-bottom:.5em;
    border-bottom:1px solid var(--line);
    font-family:var(--serif); font-size:var(--fs-body); font-weight:700; line-height:1.25;
  }
  .prod-table tbody td{
    display:flex; align-items:baseline; justify-content:space-between; gap:1.2em;
    padding:.34em 0; font-size:var(--fs-base);
  }
  .prod-table tbody td::before{
    content:attr(data-label);
    flex:0 0 auto; max-width:52%;
    font-size:var(--fs-eyebrow); letter-spacing:.13em; text-transform:uppercase;
    color:var(--text-muted); line-height:1.5;
  }
  .prod-table tbody td:not(.num){ text-align:right; }
  .prod-table .num{ white-space:normal; }
  /* A row with no data-label (a table with no thead) keeps the plain layout. */
  .prod-table tbody td:not([data-label]){ display:block; }
  .prod-table tbody td:not([data-label])::before{ content:none; }
}

/* --------------------------------------------------------------------------
   31.7 · Origin cards
   -------------------------------------------------------------------------- */
.origin-grid{ display:grid; gap:clamp(16px,1.8vw,24px);
  grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr)); }
.origin{ display:flex; flex-direction:column; background:var(--cream-hi);
  border:1px solid var(--line-soft); border-top:4px solid var(--acc);
  border-radius:var(--radius); overflow:hidden; box-shadow:var(--lift-1); }
.origin__media{ aspect-ratio:16/10; overflow:hidden; background:var(--panel); }
.origin__media img{ width:100%; height:100%; object-fit:cover; display:block; }
.origin__body{ padding:clamp(20px,2.1vw,28px); display:flex; flex-direction:column; gap:.8em; flex:1; }
.origin__name{ font-family:var(--serif); font-weight:500; font-size:clamp(1.3rem,1.8vw,1.6rem);
  margin:0; line-height:1.15; color:var(--text); }
.origin__species{ font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.1em;
  color:var(--copper); font-style:italic; margin:-.5em 0 0; }
.origin__char{ font-family:var(--read); font-weight:300; font-size:var(--fs-base); line-height:1.62;
  color:var(--text-body); margin:0; }
.origin__markers{ margin:0; padding:0; list-style:none; display:flex; flex-wrap:wrap; gap:.4em; }
.origin__markers li{ font-family:var(--sans); font-size:var(--fs-micro); color:var(--text-body);
  background:var(--panel); border-radius:100px; padding:.34em .8em; }
.origin__bars{ margin-top:auto; padding-top:1em; border-top:1px solid var(--line-soft);
  display:grid; gap:.4em; }
.obar{ display:grid; grid-template-columns:8.4em 1fr; align-items:center; gap:.8em;
  font-family:var(--sans); font-size:var(--fs-micro); color:var(--text-body); }
.obar__track{ height:5px; border-radius:100px; background:var(--panel); overflow:hidden; }
.obar__fill{ display:block; height:100%; border-radius:100px;
  background:linear-gradient(90deg, var(--amber), var(--copper)); }

/* --------------------------------------------------------------------------
   31.8 · Editorial blocks
   -------------------------------------------------------------------------- */
.editorial{ display:grid; gap:clamp(28px,4vw,68px); align-items:center;
  grid-template-columns:1fr; }
@media (min-width:900px){
  .editorial{ grid-template-columns:1fr 1fr; }
  .editorial--wide-media{ grid-template-columns:1.18fr 1fr; }
  .editorial--reverse > :first-child{ order:2; }
}
.editorial__title{ font-family:var(--serif); font-weight:500; line-height:1.08;
  font-size:clamp(1.9rem,3.3vw,3rem); margin:0 0 .5em; color:var(--text); letter-spacing:-.005em; }
.section--bourbon .editorial__title{ color:var(--cream-hi); }
.editorial__body p{ margin:0 0 1.05em; }
.editorial__body p:last-of-type{ margin-bottom:0; }

.pull{ margin:clamp(26px,3vw,42px) 0 0; padding-left:clamp(16px,1.8vw,24px);
  border-left:2px solid var(--copper); }
.pull p{ font-family:var(--serif); font-size:clamp(1.14rem,1.7vw,1.44rem);
  line-height:1.42; color:var(--text); margin:0; font-style:italic; }
.section--bourbon .pull{ border-left-color:var(--amber); }
.section--bourbon .pull p{ color:var(--cream-hi); }

/* --------------------------------------------------------------------------
   31.9 · Small parts
   -------------------------------------------------------------------------- */
.pill-row{ display:flex; flex-wrap:wrap; gap:.5em; margin:0; padding:0; list-style:none; }
.pill{ font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.05em; color:var(--text-body);
  background:var(--cream-hi); border:1px solid var(--line-soft); border-radius:100px;
  padding:.44em .95em; }
.section--bourbon .pill{ background:rgba(249,240,233,.07); border-color:rgba(249,240,233,.16);
  color:var(--on-dark); }

.numbers{ display:grid; gap:clamp(14px,1.6vw,22px);
  grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr)); }
.number{ padding:clamp(18px,2vw,26px); background:var(--cream-hi);
  border:1px solid var(--line-soft); border-radius:var(--radius); box-shadow:var(--lift-1); }
.number b{ display:block; font-family:var(--sans); font-weight:200; line-height:1;
  font-size:clamp(2.1rem,3.6vw,3.1rem); color:var(--copper); letter-spacing:-.02em; }
.number span{ display:block; margin-top:.7em; font-family:var(--sans); font-size:var(--fs-micro);
  letter-spacing:.17em; text-transform:uppercase; color:var(--text-muted); }
.number small{ display:block; margin-top:.55em; font-family:var(--read); font-size:var(--fs-small);
  line-height:1.5; color:var(--text-body); }
.section--bourbon .number{ background:rgba(249,240,233,.055); border-color:rgba(249,240,233,.14); }
.section--bourbon .number b{ color:var(--amber); }
.section--bourbon .number span{ color:var(--on-dark-mute); }
.section--bourbon .number small{ color:var(--on-dark-mute); }

.btn--sm{ font-size:var(--fs-micro); padding:.72em 1.3em; }

/* --------------------------------------------------------------------------
   31.10 · Footer
   -------------------------------------------------------------------------- */
.footer__top{ display:grid; gap:clamp(30px,3.4vw,52px);
  grid-template-columns:1fr; padding-bottom:clamp(28px,3vw,44px);
  border-bottom:1px solid var(--line-dark); }
@media (min-width:760px){ .footer__top{ grid-template-columns:repeat(2,1fr); } }
/* Five columns became four when the two Portfolio lists merged into one.
   Thin vertical rules between them, drawn on the columns rather than as
   separate elements so they cannot outlive a column. */
@media (min-width:1080px){
  /* Round 2, item 8: the contact column takes the two buttons, and at 15px
     "Talk to our flavourist" needs about 250px of it. 1.15fr gave 234 at
     1366 and the label broke over two lines; the width comes out of the
     brand column, which is running copy and reflows. */
  .footer__top{ grid-template-columns:1.35fr 1.05fr .85fr 1.4fr; }
  .footer__top > * + *{
    padding-left:clamp(22px,2.4vw,40px);
    border-left:1px solid var(--line-dark);
  }
}
.footer__pitch{ font-family:var(--read); font-weight:300; font-size:var(--fs-base); line-height:1.62;
  color:var(--on-dark-mute); margin:1.3em 0 1.5em; max-width:34ch; }
.footer__col-title{ font-family:var(--sans); font-size:var(--fs-eyebrow); font-weight:500;
  letter-spacing:.2em; text-transform:uppercase; color:var(--amber);
  margin:0 0 1.25em; }
.footer__col a{ display:block; font-family:var(--sans); font-weight:300; font-size:var(--fs-base);
  line-height:1.5; color:var(--on-dark); text-decoration:none; margin-bottom:.72em;
  transition:color var(--t-base) var(--ease); }
.footer__col a:hover{ color:var(--amber-soft); }
.footer__col--contact .btn{ margin-top:1.1em; }
.footer__note{ display:flex; align-items:flex-start; gap:.85em;
  font-family:var(--read); font-weight:300; font-size:var(--fs-micro); line-height:1.6;
  color:rgba(179,160,141,.82); max-width:88ch;
  margin:clamp(20px,2.2vw,30px) 0 clamp(20px,2.2vw,30px); }
.footer__note .ico{ width:17px; height:17px; max-width:none; flex:none;
  margin-top:.2em; padding-right:.85em; box-sizing:content-box;
  border-right:1px solid var(--line-dark); color:var(--copper-glow); }

/* --------------------------------------------------------------------------
   31.11 · Radar charts (science page)
   Generated as static SVG by tools/build-site.py straight from the data file,
   so the shape on the page cannot drift from the numbers behind it.
   -------------------------------------------------------------------------- */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }


/* --------------------------------------------------------------------------
   31.12 · Cost bars
   -------------------------------------------------------------------------- */
.cost-bars{ display:grid; gap:.75em; margin-top:clamp(14px,1.6vw,22px); }
.cost-bar{ display:grid; grid-template-columns:minmax(0,15em) 1fr 3em; align-items:center;
  gap:clamp(10px,1.4vw,18px); font-family:var(--sans); font-size:var(--fs-small); }
.cost-bar__name{ color:var(--on-dark); }
.cost-bar__track{ height:11px; border-radius:100px; background:rgba(249,240,233,.12); overflow:hidden; }
.cost-bar__fill{ display:block; height:100%; border-radius:100px;
  background:linear-gradient(90deg,#C98A50,#8A4A20); }
.cost-bar__fill--fs{ background:linear-gradient(90deg,var(--amber-soft),var(--amber)); }
.cost-bar__fill--n95{ background:linear-gradient(90deg,#8FD3B3,var(--leaf-lt)); }
.cost-bar__val{ font-variant-numeric:tabular-nums; text-align:right; color:var(--cream-hi); }
@media (max-width:640px){
  .cost-bar{ grid-template-columns:1fr 3em; grid-template-areas:"n n" "t v"; row-gap:.3em; }
  .cost-bar__name{ grid-area:n; } .cost-bar__track{ grid-area:t; } .cost-bar__val{ grid-area:v; }
}

/* --------------------------------------------------------------------------
   31.13 · Contact form
   -------------------------------------------------------------------------- */
.hero--short{ min-height:clamp(400px,52vh,560px); }
.cform{ background:var(--cream-hi); border:1px solid var(--line-soft);
  border-radius:var(--radius); box-shadow:var(--lift-2);
  padding:clamp(22px,2.6vw,36px); display:grid; gap:clamp(12px,1.3vw,17px); }
.cform__row{ display:grid; gap:inherit; grid-template-columns:1fr; }
@media (min-width:560px){ .cform__row{ grid-template-columns:1fr 1fr; } }
.cform__field{ display:grid; gap:.42em; }
/* `display:grid` on the class beats the user-agent `[hidden]{display:none}`,
   so hiding "Which part of the range?" in the sample modal (item 13, where
   the product is already known) did nothing at all. */
.cform__field[hidden]{ display:none; }
.cform[hidden]{ display:none; }
.cform__field > span{ font-family:var(--sans); font-size:var(--fs-eyebrow); letter-spacing:.16em;
  text-transform:uppercase; color:var(--text-muted); }
.cform input, .cform select, .cform textarea{
  font-family:var(--sans); font-size:var(--fs-base); color:var(--text); background:var(--cream);
  border:1px solid var(--line); border-radius:var(--radius-s);
  padding:.78em .95em; width:100%; transition:border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.cform input:focus, .cform select:focus, .cform textarea:focus{
  outline:none; border-color:var(--copper); box-shadow:0 0 0 3px rgba(156,86,40,.14); }
.cform textarea{ resize:vertical; min-height:6.5em; line-height:1.6; }
.cform .btn{ justify-self:start; margin-top:.3em; }
.cform__note{ font-family:var(--sans); font-size:var(--fs-small); color:var(--copper); margin:0; min-height:1.2em; }
.cform__note[data-state="error"]{ color:#A3341C; }

.cinfo{ display:grid; gap:1.1em; margin:1.6em 0 0; }
.cinfo dt{ font-family:var(--sans); font-size:var(--fs-eyebrow); letter-spacing:.18em;
  text-transform:uppercase; color:var(--text-muted); margin-bottom:.32em; }
.cinfo dd{ margin:0; font-family:var(--read); font-size:var(--fs-body); line-height:1.6; color:var(--text); }
.cinfo dd a{ color:var(--copper); }

/* --------------------------------------------------------------------------
   31.14 · Live label declaration (customiser rail and result block)
   -------------------------------------------------------------------------- */
.cv-decl__row{ display:grid; grid-template-columns:2.1em 1fr; gap:.7em; align-items:baseline;
  margin-top:.85em; }
.cv-decl__k{ font-family:var(--sans); font-size:var(--fs-eyebrow); font-weight:600; letter-spacing:.14em;
  color:var(--copper); }
.cv-decl__v{ font-family:var(--sans); font-size:var(--fs-base); line-height:1.4; color:var(--text); }
.cv-decl__alt{ margin:.25em 0 0 2.8em; font-family:var(--sans); font-size:var(--fs-small);
  color:var(--copper); }
.cv-decl__basis{ margin:.3em 0 0 2.8em; font-family:var(--read); font-size:var(--fs-micro);
  line-height:1.5; color:var(--text-muted); }
.cv-decl__meta{ margin:1em 0 0; padding-top:.8em; border-top:1px solid var(--line-soft);
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.03em; color:var(--text-muted); }
.cv-decl__eq{ margin:.5em 0 0; font-family:var(--sans); font-size:var(--fs-small); font-style:italic;
  color:var(--copper); }
.cv-live__basis{ display:block; margin-top:.4em; font-family:var(--read); font-size:var(--fs-micro);
  line-height:1.5; font-style:normal; color:var(--text-muted); }
.cv-live__alt{ display:block; margin-top:.25em; font-family:var(--sans); font-size:var(--fs-micro);
  font-weight:400; color:var(--copper); }

/* Cormorant Garamond has no true subscript figures, so U+2082 comes out as a
   full-height lining 2 - fine at 12px, a typo at 118px. Display headings use a
   real <sub> instead; see display_title() in tools/build-site.py. */
.display sub{ font-size:.52em; line-height:0; vertical-align:-.12em; font-weight:inherit; }

/* --------------------------------------------------------------------------
   31.14 · Overlaid sensory radar
   Three profiles on one decagon. The page's argument is the comparison, and
   three small charts side by side make the reader do the overlaying in their
   head. The figures below the chart are the accessible equivalent.
   -------------------------------------------------------------------------- */
.rdo{ display:grid; gap:clamp(24px,3vw,52px); align-items:center; grid-template-columns:1fr; }
@media (min-width:920px){ .rdo{ grid-template-columns:minmax(0,1.25fr) minmax(0,1fr); } }
.rdo__chart{ background:var(--cream-hi); border:1px solid var(--line-soft);
  border-radius:var(--radius); box-shadow:var(--lift-1); padding:clamp(14px,1.8vw,26px); }
.rdo-svg{ width:100%; height:auto; display:block; overflow:visible; }

polygon.rdo-grid{ fill:none; stroke:var(--line-soft); stroke-width:1; }
polygon.rdo-grid--edge{ stroke:var(--line); }
.rdo-axis{ stroke:var(--line-soft); stroke-width:1; }
.rdo-lbl{ font-family:var(--sans); font-size:11px; font-weight:500; fill:var(--text-muted);
  letter-spacing:.03em; }
.rdo-tick{ font-family:var(--sans); font-size:8px; fill:var(--text-muted); opacity:.6; }

.rdo-shape{ stroke-width:2.4; stroke-linejoin:round; }
.rdo-shape--area{ }
.rdo-shape--line{ fill:none; stroke-dasharray:none; }
/* Round 2, item 26: one colour per product, used in the cards, the chart and
   the legend. The green (#2D6A4F) and navy (#1C3560) this chart was drawn in
   are not in the site's palette; the brief names the three it should use -
   the bean extract in --bourbon, Full Spectrum in --amber, NeoVanil 95 in
   --copper. Amber on cream is too light for a 2.4px outline, so the OUTLINE
   is the darker --copper-on-panel partner of the same hue and the fill is
   amber; the swatch in the legend and the bar in the card use the same pair. */
.rdo-shape--vbe{ fill:rgba(43,27,16,.10);   stroke:#2B1B10; }
.rdo-shape--fs { fill:rgba(224,154,79,.26); stroke:#B9701F; }
.rdo-shape--n95{ fill:rgba(156,86,40,.08);  stroke:#9C5628; stroke-dasharray:6 3.5; }
.rdo-dot{ stroke:#fff; stroke-width:1.1; }
.rdo-dot--vbe{ fill:#2B1B10; } .rdo-dot--fs{ fill:#B9701F; } .rdo-dot--n95{ fill:#9C5628; }
.rdo-dot--zero{ stroke-width:2; }

.rdo-keys{ list-style:none; margin:0 0 clamp(18px,2vw,26px); padding:0; display:grid; gap:.6em; }
.rdo-keys--inline{ display:flex; flex-wrap:wrap; gap:.6em 1.6em; margin:clamp(16px,1.8vw,24px) 0 0; }
.rdo-key{ display:flex; align-items:center; gap:.7em; font-family:var(--sans);
  font-size:var(--fs-small); color:var(--text); }
.rdo-key > span{ width:18px; height:10px; border-radius:2px; flex:none;
  border:2px solid currentColor; }
.rdo-key--vbe{ color:#2B1B10; } .rdo-key--vbe > span{ background:rgba(43,27,16,.14); }
/* The legend LABEL is small text, so it takes the darker partner (5.9:1);
   the swatch keeps the chart's own outline colour, which only has to clear
   the 3:1 floor for a graphic. */
.rdo-key--fs { color:#8A4A20; } .rdo-key--fs  > span{ background:rgba(224,154,79,.3);
  border-color:#B9701F; }
.rdo-key--n95{ color:#9C5628; } .rdo-key--n95 > span{ background:rgba(156,86,40,.12); }
.rdo__read{ margin:0 0 clamp(18px,2vw,26px); }
.rdo__facts{ display:grid; gap:.9em; margin:0; padding-top:clamp(16px,1.8vw,22px);
  border-top:1px solid var(--line-soft); }
.rdo__facts div{ display:flex; justify-content:space-between; gap:1.2em; align-items:baseline; }
.rdo__facts dt{ font-family:var(--sans); font-size:var(--fs-eyebrow); letter-spacing:.16em;
  text-transform:uppercase; color:var(--text-muted); }
.rdo__facts dd{ margin:0; font-family:var(--sans); font-size:var(--fs-base); color:var(--text);
  font-variant-numeric:tabular-nums; }

/* --------------------------------------------------------------------------
   31.15 · Descriptor gap bars
   -------------------------------------------------------------------------- */
.gaps{ display:grid; gap:.55em; }
.gap{ display:grid; grid-template-columns:minmax(0,11em) 1fr 5.2em; align-items:center;
  gap:clamp(10px,1.4vw,20px); font-family:var(--sans); font-size:var(--fs-small); }
.gap__name{ color:var(--text); }
.gap__track{ position:relative; height:16px; background:var(--panel);
  border-radius:3px; overflow:hidden; }
.gap__bar{ position:absolute; left:0; top:0; height:100%; border-radius:3px; }
.gap__bar--vbe{ background:rgba(45,106,79,.42); }
.gap__bar--fs{ background:#9C5628; height:7px; top:50%; transform:translateY(-50%);
  border-radius:2px; }
.gap__note{ font-variant-numeric:tabular-nums; text-align:right; color:var(--text-muted);
  font-size:var(--fs-micro); letter-spacing:.04em; }
.gap--match .gap__note{ color:var(--leaf); }
.gap--over .gap__note{ color:var(--leaf); }
.gap--absent .gap__note{ color:var(--copper); font-style:italic; }

.fineprint{ margin:1.1em 0 0; font-size:var(--fs-small); color:var(--text-muted); }
.muted{ color:var(--text-muted); }

/* Three short facts in a 268px footer column. Only two fit per row, and the
   inherited 34px row gap left the third floating on its own. A separator
   character was tried and is worse: when it wraps it strands at the head of
   the second line. Plain wrap, tight rows. */
.footer__values{
  margin-top:var(--sp-4);
  display:flex; flex-wrap:wrap;
  column-gap:clamp(16px,2vw,26px); row-gap:1em;
}
/* Icon above the label, divider between items. The dividers are drawn with
   a left border on every item but the first, so a wrap never leaves one
   hanging at the start of a row. */
.footer__value{
  display:flex; flex-direction:column; align-items:flex-start; gap:.6em;
  white-space:normal; max-width:13ch;
}
.footer__value + .footer__value{
  padding-left:clamp(16px,2vw,26px);
  border-left:1px solid var(--line-dark);
}
.footer__value-t{
  font-size:var(--fs-eyebrow); letter-spacing:.14em; text-transform:uppercase;
  line-height:1.35; color:var(--on-dark-mute);
}
.footer__value .ico{ width:21px; height:21px; max-width:none; color:var(--copper-glow); }

/* The short amber rule between the lockup and the pitch. */
.footer__rule{
  display:block; width:46px; height:2px; margin:1.5em 0 0;
  background:var(--amber); border-radius:2px;
}

.centred{ text-align:center; }
.align-start{ align-items:start; }
.fineprint--dark{ font-size:var(--fs-base); }
.grade__name{ color:var(--amber); margin:0 0 .5em; }
.grade__when{ color:var(--cream-hi); font-weight:400; }
.grade__fig{ color:var(--amber); font-weight:400; }

/* --------------------------------------------------------------------------
   31.16 · Bringing the retired components back
   .statement, .crosslink, .feature and .manifesto were all built for the
   original site and then went unused in the rebuild, which is why every page
   settled into the same heading-plus-two-columns shape. These rules adapt
   them to the bare <img> markup the new generators emit, and lift the
   photography to the brightness the rest of the site now runs at.
   -------------------------------------------------------------------------- */
.statement__bg > img,
.crosslink .media > img,
.manifesto__bg > img{ width:100%; height:100%; object-fit:cover; display:block; }

.statement{ min-height:clamp(440px,62vh,660px); }
.statement__scrim{
  background:
    linear-gradient(94deg, rgba(22,13,7,.88) 0%, rgba(22,13,7,.58) 44%,
                           rgba(22,13,7,.16) 78%, rgba(22,13,7,.04) 100%),
    linear-gradient(to bottom, rgba(22,13,7,.34) 0%, rgba(22,13,7,0) 22%);
}
.statement__body{ max-width:54ch; }

/* The band is an <a> now, so its inline children need display:block - but NOT
   the band itself: .crosslink is a grid with align-items:center, and setting
   display:block on it left the copy stranded at the top of a 520px void. */
.crosslink{ text-decoration:none; }
.crosslink__inner{ display:block; }
.crosslink__title{ display:block; }
.crosslink .kicker{ display:block; }
.crosslink__cta{ display:block; }
.crosslink__scrim{
  background:
    linear-gradient(to bottom, rgba(34,26,15,0) 74%, rgba(34,26,15,.30) 88%,
                               rgba(34,26,15,.80) 100%),
    linear-gradient(92deg, rgba(22,13,7,.88) 0%, rgba(22,13,7,.60) 52%, rgba(22,13,7,.28) 100%);
}
.crosslink:hover .crosslink__cta .btn{ background:var(--amber-soft); }

/* .feature is deliberately weighted unevenly against the even split of
   .editorial, so a page can use both without repeating itself. */
.feature{ grid-template-columns:1fr; gap:clamp(28px,4vw,64px); }
@media (min-width:900px){
  .feature{ grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); align-items:center; }
  .feature--reverse{ grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); }
  .feature--reverse .feature__media{ order:0; }
}
.feature__body p{ margin:0 0 1.05em; }
.feature__body p:last-of-type{ margin-bottom:0; }
.feature__cta{ margin-top:clamp(20px,2.4vw,32px); }
.section--bourbon .feature__body .editorial__title{ color:var(--cream-hi); }

.manifesto__panel-body{ font-family:var(--read); }
@media (max-width:900px){
  .manifesto__inner{ grid-template-columns:1fr; gap:clamp(26px,4vw,40px); }
  .manifesto__stage{ min-height:auto; }
  .manifesto__menu{ flex-direction:row; flex-wrap:wrap; gap:.5em; }
  .manifesto__tab{ border:1px solid var(--line-dark); border-radius:100px;
    padding:.6em 1em; }
  .manifesto__tab:last-child{ border-bottom:1px solid var(--line-dark); }
  .manifesto__tab::after{ display:none; }
}

/* ==========================================================================
   32 · CATEGORY ACCENTS  (option C)
   An audit of the rendered pages found ~100% of the coloured area in one hue
   family, so nothing in the portfolio distinguished itself from anything else.
   Each category now carries a quiet accent. They are all desaturated and
   earthy so the warm base still reads as one palette, and every pair clears
   WCAG AA 4.5:1 - the --acc value against all four light grounds, the --acc-lt
   partner against the three dark ones. Do not swap one in without re-checking:
   plain --copper measures 4.42 on --panel, which is why extracts uses the
   darker #8A4A20 rather than the house copper.
   ========================================================================== */
:root{
  --acc:    var(--copper);        /* fallback for pages with no category */
  --acc-lt: var(--amber);
}
[data-cat="beans"]        { --acc:#7A4A22; --acc-lt:#D9A574; }
[data-cat="extracts"]     { --acc:#8A4A20; --acc-lt:#E09A4F; }
[data-cat="co2-extracts"] { --acc:#1F5E63; --acc-lt:#7FC3C9; }
[data-cat="powders"]      { --acc:#75601C; --acc-lt:#CBB765; }
[data-cat="pastes"]       { --acc:#8E3A47; --acc-lt:#E39AA6; }
[data-cat="flavours"]     { --acc:#6A4576; --acc-lt:#C2A0CE; }
[data-cat="neovanil"]     { --acc:#2D6A4F; --acc-lt:#8FD3B3; }
[data-cat="customised"]   { --acc:#1C3560; --acc-lt:#93B4E8; }

/* Origins carry an accent too, so the seven cards are distinguishable at a
   glance instead of being seven identical brown panels. Same AA check applies. */
[data-origin="madagascar"]{ --acc:#8A4A20; --acc-lt:#E09A4F; }
[data-origin="uganda"]    { --acc:#6B3E1E; --acc-lt:#C99A6A; }
[data-origin="tanzania"]  { --acc:#7A4A22; --acc-lt:#D9A574; }
[data-origin="indonesia"] { --acc:#3F4A52; --acc-lt:#9FB0BC; }
[data-origin="india"]     { --acc:#75601C; --acc-lt:#CBB765; }
[data-origin="srilanka"]  { --acc:#7E4634; --acc-lt:#D2A190; }
[data-origin="png"]       { --acc:#6A4576; --acc-lt:#C2A0CE; }

/* Where the accent is allowed to show. Deliberately restrained: a rule, a
   kicker, a marker, a hover. The photography and the warm grounds still carry
   the page. */
.kicker{ color:var(--acc); }
.section--bourbon .kicker,
.statement .kicker,
.crosslink .kicker,
.manifesto .kicker{ color:var(--acc-lt); }

.cat__more{ color:var(--acc-lt); }
.cat::before{
  content:''; position:absolute; inset:auto 0 0 0; height:4px; z-index:1;
  background:var(--acc-lt); transform:scaleX(.34); transform-origin:left;
  transition:transform var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease);
  opacity:.85;
}
.cat:hover::before, .cat:focus-visible::before{ transform:scaleX(1); opacity:1; }

/* On a category page the accent marks the product cards and the pull-quote. */
.prod{ border-top:2px solid var(--acc); }
.prod:hover{ border-top-color:var(--acc); box-shadow:var(--lift-2); }
.prod__origin{ color:var(--acc); }
.prod__specs li b{ color:var(--acc); }
.pull{ border-left-color:var(--acc); }
.section--bourbon .pull{ border-left-color:var(--acc-lt); }
.arrow-link{ color:var(--acc); }
.number b{ color:var(--acc); }
.section--bourbon .number b{ color:var(--acc-lt); }
.origin__species{ color:var(--acc); }
.obar__fill{ background:linear-gradient(90deg, var(--acc-lt), var(--acc)); }

/* The portfolio index gets one accent per category heading, so the long table
   run is navigable by colour as well as by name. */
.idx-head{ display:flex; align-items:baseline; gap:.7em; }
.idx-head::before{
  content:''; width:10px; height:10px; border-radius:50%; flex:none;
  background:var(--acc); transform:translateY(-.1em);
}
.idx-head__count{
  font-family:var(--sans); font-size:.5em; letter-spacing:.16em;
  text-transform:uppercase; color:var(--text-muted); font-weight:400;
}

/* ==========================================================================
   33 · DETAIL PASS  (option F)
   ========================================================================== */

/* 33.1 · A spacing scale. Section rhythm was already tokenised; everything
   inside a section was ad-hoc clamps repeated inline, which is how 170 inline
   style attributes accumulated across the generated pages. */
:root{
  --sp-1: clamp(6px,  .5vw,  8px);
  --sp-2: clamp(10px, .9vw,  14px);
  --sp-3: clamp(14px, 1.4vw, 20px);
  --sp-4: clamp(20px, 2vw,   28px);
  --sp-5: clamp(26px, 2.8vw, 40px);
  --sp-6: clamp(34px, 3.6vw, 54px);
  --sp-7: clamp(44px, 5vw,   72px);
  --sp-8: clamp(58px, 6.6vw, 96px);
}
.mt-4{ margin-top:var(--sp-4); }
.mt-5{ margin-top:var(--sp-5); }
.mt-6{ margin-top:var(--sp-6); }
.mb-sm{ margin-bottom:var(--sp-1); }
.mb-4{ margin-bottom:var(--sp-4); }
.stack-6{ margin:var(--sp-6) 0 var(--sp-3); }

/* 33.2 · Figures. Every number that sits in a column, a table or beside
   another number is tabular, so digits line up instead of shimmering. */
.prod-table .num, .rdo__facts dd, .gap__note, .cost-bar__val,
.number b, .hero__meta b, .obar, .ap-dose__num, .rdo-tick{
  font-variant-numeric:tabular-nums lining-nums;
  font-feature-settings:"tnum" 1, "lnum" 1;
}

/* 33.3 · Text setting. Headings balance across lines rather than leaving one
   orphaned word; body copy avoids a single-word last line. */
.display, .editorial__title, .cat__title, .prod__name, .origin__name, .crosslink__title, .statement__title, .manifesto__panel-title {
  text-wrap:balance;
}
p, .lede, .cat__body, .prod__copy, .origin__char{ text-wrap:pretty; }

/* Labels are set as spaced caps. Jost has no true small-cap set, so this is
   the honest version: real capitals, tracked, at a smaller size. */
.kicker, .footer__col-title, .cform__field > span, .cinfo dt,
.rdo__facts dt, .number span, .prod__label dt, .hero__meta span{
  font-feature-settings:"kern" 1;
  font-synthesis:none;
}

/* The pull-quote hangs its opening quote into the margin instead of indenting
   the first line. */
.pull p{ hanging-punctuation:first; }

/* 33.4 · Hairlines and rules */
.sec-head{ position:relative; }

/* 33.5 · Interaction. Cards lift on hover and every interactive surface has a
   visible focus ring - the accent, so it reads as part of the design. */
.origin{ transition:box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.origin:hover{ box-shadow:var(--lift-2); transform:translateY(-2px); }
.number{ transition:box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.number:hover{ box-shadow:var(--lift-2); border-color:rgba(156,86,40,.2); }
.origin__media img{ transition:transform var(--t-slow) var(--ease-out); }
.origin:hover .origin__media img{ transform:scale(1.035); }

a:focus-visible, button:focus-visible, .cat:focus-visible,
.crosslink:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline:2px solid var(--acc);
  outline-offset:3px;
  border-radius:2px;
}
.cat:focus-visible, .crosslink:focus-visible{ outline-color:var(--acc-lt); outline-offset:-3px; }

/* 33.6 · Print: the tables and declarations are what people actually print. */
@media print{
  .hero, .statement, .crosslink, .manifesto, .footer__top{ display:none !important; }
  .prod-table-wrap{ box-shadow:none; border:1px solid #999; }
  .prod, .number, .origin{ box-shadow:none; break-inside:avoid; }
}

/* --------------------------------------------------------------------------
   33.7 · Molecular lattice layer
   The drifting copper constellation, on the plain dark bands rather than the
   heroes. Over the graded photography it measured 0.8% of the frame at a mean
   opacity of 34/255 - invisible, and fighting the picture for no gain. On a
   flat bourbon gradient it reads exactly as intended. Injected by initMesh().
   -------------------------------------------------------------------------- */
.section--bourbon{ overflow:hidden; }
.section--bourbon > .container{ position:relative; z-index:1; }
.mesh-layer{
  position:absolute; inset:0; z-index:0;
  pointer-events:none;
  opacity:0;
  transition:opacity var(--t-slow) var(--ease);
}
.mesh-layer.is-live{ opacity:1; }
@media (prefers-reduced-motion:reduce){ .mesh-layer{ display:none; } }

/* ==========================================================================
   34 · HOME INTRO REVEAL
   The signature the original site opened with, re-authored for the Synthite
   Vanilla lockup. It lived in an inline <style> block on the old homepage and
   was lost in the rebuild; it belongs in the stylesheet.
   Plays once per session, only with motion available, and can never strand
   the page - initIntro() dismisses it on a wall-clock timer regardless.
   ========================================================================== */
.reveal{
  position:fixed; inset:0; z-index:300;
  display:grid; place-items:center;
  background:#F3E7D2;
  overflow:hidden;
}
html:not(.js) .reveal{ display:none; }
/* The corporate mark is navy, blue and green. On this cream ground it fights
   the warm palette, so it is monochromed the way the header already does it -
   to the same near-black the wordmark uses. */

/* Pre-animation states, only once JS is confirmed, so nothing flashes. */
.js .reveal__clip{ clip-path:inset(-25% 100% -25% 0); }
.js .reveal__dot{ transform:translateY(-42vh); }
.js .reveal__tag{ clip-path:inset(-40% 100% -40% 0); opacity:0; }

@keyframes nvrDrop{
  0%{   transform:translateY(-42vh) scaleY(1.5) scaleX(.7); }
  60%{  transform:translateY(0) scaleY(.6) scaleX(1.4); }
  78%{  transform:translateY(0) scaleY(1.12) scaleX(.94); }
  100%{ transform:translateY(0) scaleY(1) scaleX(1); }
}
@keyframes nvrWipe{ from{ clip-path:inset(-25% 100% -25% 0); } to{ clip-path:inset(-25% 0% -25% 0); } }
@keyframes nvrTag{  from{ clip-path:inset(-40% 100% -40% 0); opacity:0; }
                    to{   clip-path:inset(-40% 0% -40% 0);  opacity:1; } }

.reveal.is-play .reveal__clip{ animation:nvrWipe .9s .15s cubic-bezier(.16,1,.3,1) both; }
.reveal.is-play .reveal__dot{  animation:nvrDrop 1s cubic-bezier(.4,0,.2,1) both; }
.reveal.is-play .reveal__tag{  animation:nvrTag .8s 1.05s cubic-bezier(.16,1,.3,1) both; }

.reveal.is-done{
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity var(--t-base) var(--ease), visibility var(--t-base);
}
@media (prefers-reduced-motion:reduce){ .reveal{ display:none; } }

/* ==========================================================================
   35 · IMAGE TREATMENT
   The photography is licence-clean stock and reads like it in places: the
   frames come from a dozen photographers with a dozen different lights. A
   consistent treatment on top does more to make the set look commissioned
   than any individual replacement does.

   Three layers, all in CSS so the source files stay neutral and the client's
   own shots inherit the same look when they land:
     1. a per-category accent wash in the shadows
     2. a soft vignette for depth
     3. a fine grain that unifies grain structure across sources
   ========================================================================== */

/* 35.1 · Accent wash. Sits under the existing dark scrim, so it colours the
   shadowed half where the type lives and leaves the bright half alone. Each
   category already carries its own accent, so the eight cards read as one
   family and as eight distinct things at the same time.

   It uses the DARK --acc rather than --acc-lt on purpose: the wash is heaviest
   exactly where the white title sits, so it has to deepen that area, not lift
   it. A first pass with the light partner at 55% washed the CO2 card out. */
.cat__scrim{
  background:
    linear-gradient(to top, rgba(28,17,9,.90) 4%, rgba(28,17,9,.52) 44%, rgba(28,17,9,.10) 100%),
    linear-gradient(to top, color-mix(in srgb, var(--acc) 34%, transparent) 0%,
                            color-mix(in srgb, var(--acc) 10%, transparent) 44%,
                            transparent 74%);
}
@supports not (color: color-mix(in srgb, red 50%, transparent)){
  /* Safari below 16.2 and older Chromium: fall back to the plain dark scrim
     rather than dropping the whole rule and losing the type contrast. */
  .cat__scrim{
    background:linear-gradient(to top, rgba(28,17,9,.92) 4%, rgba(28,17,9,.56) 44%,
                                       rgba(28,17,9,.12) 100%);
  }
}

/* 35.2 · Vignette. A photograph in a rounded card wants its corners pulled
   down slightly or it reads as a flat rectangle of colour. */
.figure::after,
.cat__bg::after,
.origin__media::after{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(120% 90% at 50% 42%,
    rgba(28,17,9,0) 52%, rgba(28,17,9,.10) 78%, rgba(28,17,9,.22) 100%);
}
.figure{ isolation:isolate; }
.origin__media{ position:relative; }
.cat__bg{ position:absolute; inset:0; }

/* 35.3 · Grain. One inline SVG turbulence, no file, no request. It is what
   makes a set of stock frames from different cameras sit together. */
.figure::before,
.statement__bg::before,
.crosslink .media::before,
.hero__bg::before{
  content:''; position:absolute; inset:0; z-index:2; pointer-events:none;
  opacity:.055; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:160px 160px;
}
.statement__bg, .crosslink .media, .hero__bg{ position:absolute; }

@media (prefers-reduced-transparency:reduce){
  .figure::before, .statement__bg::before,
  .crosslink .media::before, .hero__bg::before{ display:none; }
}

/* ==========================================================================
   36 · APPLICATION RAIL
   A static grid that JavaScript may upgrade into a pinned horizontal rail.
   The grid is the real markup; .apps__rail is added at runtime and only when
   initAppsRail()'s gates pass. Both modes share --rail-inset so the first
   card lands on the container's content edge either way, and switching
   between them cannot shift the row sideways.
   ========================================================================== */
.apps{ background:var(--cream-hi); }
.apps.is-rail{ overflow:hidden; }
.apps__viewport{ position:relative; }

/* Base: a grid, full-bleed, padded to the container's content edge. */
.app-rail-grid{
  --rail-inset:max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(232px, 1fr));
  gap:clamp(20px,2.4vw,34px) clamp(16px,1.8vw,26px);
  padding-inline:var(--rail-inset);
}
@media (max-width:640px){
  .app-rail-grid{ grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); }
}

/* The original rail component set a fixed card width unscoped, which forced
   232px cards into the grid's 167px columns and clipped 45px off the row at
   390px. Width belongs to rail mode only. */
.app-card{ display:flex; flex-direction:column; width:auto; flex:initial; }
.app-card__fig{ aspect-ratio:5/4; border-radius:var(--radius-s); overflow:hidden;
  background:var(--panel); box-shadow:var(--lift-1); }
.app-card__fig img{ width:100%; height:100%; object-fit:cover; display:block; }
.app-card__ppm{
  margin-top:.85em; font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.16em;
  text-transform:uppercase; color:var(--acc);
  font-variant-numeric:tabular-nums lining-nums;
}
.app-card__title{ margin-top:.3em; }
.app-card__body{ margin-top:.5em; }

/* The progress hairline. Without it a pinned section reads as a frozen page. */
.apps__hint{ display:none; }
.apps.is-rail .apps__hint{
  margin-top:clamp(26px,3vw,42px);
  display:flex; align-items:center; gap:.9em;
  font-family:var(--sans); font-size:var(--fs-eyebrow); letter-spacing:.22em;
  text-transform:uppercase; color:var(--text-muted);
}
.apps__hint i{ display:block; width:clamp(90px,14vw,190px); height:2px;
  background:var(--line-soft); position:relative; overflow:hidden; border-radius:2px; }
.apps__hint i::after{
  content:''; position:absolute; inset:0; background:var(--acc);
  transform-origin:left; transform:scaleX(var(--p,0));
}

/* Rail mode. Only ever applied by initAppsRail(). */
.apps__rail{
  --rail-inset:max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  display:flex;
  grid-template-columns:none;
  gap:clamp(16px,1.8vw,26px);
  padding-inline:var(--rail-inset);
  will-change:transform;
}
.apps__rail .app-card{ flex:none; width:clamp(232px,22vw,304px); }

/* --------------------------------------------------------------------------
   37 · CONTRAST CORRECTIONS  (WCAG 2.2 AA, 1.4.3)
   Found by measuring composited colour on 1,759 text nodes rather than by eye.
   -------------------------------------------------------------------------- */
/* .btn--ghost carries --copper, which is 4.31:1 on --panel-warm and 4.42:1 as
   rendered. On the panel grounds it takes the darker partner: 5.28:1. */
.section--panel .btn--ghost,
.section--warm .btn--ghost,
.brand-banner .btn--ghost{
  color:var(--copper-on-panel);
  border-color:rgba(138,74,32,.45);
}
/* Under reduced motion all six manifesto panels are shown stacked, so the six
   tab buttons control nothing. Hide the menu rather than leave six controls
   that do not change anything. */
.motion-off .manifesto__menu{ display:none; }
@media (prefers-reduced-motion:reduce){ .manifesto__menu{ display:none; } }

/* --------------------------------------------------------------------------
   38 · Image-led product cards and the strength slider
        (corrections round 2, items 1 and 3)

   The text-only .prod boxes read as a spec sheet. These cards put a
   photograph of the product type behind the copy. The scrim recipe is the
   same on every card so a grid of nine different photographs still reads as
   one system, and it is sized from the measured worst case rather than by
   eye. Six of the nine cards carry a pure-white pixel somewhere under the
   text band, so the scrim is sized against white rather than against each
   photograph: at .78 alpha over rgba(24,17,9) the three text roles land at
   8.86:1 (name), 7.81:1 (spec) and 5.89:1 (origin, the amber). AA wants 4.5
   for the body sizes and 3.0 for the display name, so the weakest role still
   has 1.3x of headroom.
   -------------------------------------------------------------------------- */
.pgrid{
  display:grid; gap:clamp(14px,1.6vw,22px);
  grid-template-columns:repeat(auto-fill,minmax(min(268px,100%),1fr));
}
.pcard{
  position:relative; display:block; overflow:hidden;
  border-radius:var(--radius);
  aspect-ratio:4/5;
  /* A solid ground behind the image, so the overlaid text stays legible if
     the photograph never arrives. */
  background:var(--ink-deep);
  box-shadow:var(--lift-1);
  color:var(--on-dark); text-decoration:none;
  transition:box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.pcard__img{ position:absolute; inset:0; z-index:0; }
.pcard__img img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform var(--t-slow) var(--ease);
}
.pcard:hover{ box-shadow:var(--lift-2); transform:translateY(-2px); }
.pcard:hover .pcard__img img{ transform:scale(1.05); }
.pcard__scrim{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(to top, rgba(24,17,9,.90) 0%, rgba(24,17,9,.78) 30%,
                            rgba(24,17,9,.34) 58%, rgba(24,17,9,.06) 82%,
                            rgba(24,17,9,0) 100%);
}
.pcard__body{
  position:absolute; inset:auto 0 0 0; z-index:2;
  padding:clamp(16px,1.8vw,24px);
  display:grid; gap:.42em;
}
.pcard__name{
  font-family:var(--serif); font-weight:700; font-size:clamp(1.12rem,1.5vw,1.34rem);
  line-height:1.16; color:var(--cream-hi); margin:0;
}
.pcard__origin{
  font-family:var(--sans); font-size:var(--fs-eyebrow); font-weight:500;
  letter-spacing:.18em; text-transform:uppercase; color:var(--amber-soft);
}
.pcard__spec{
  font-family:var(--sans); font-weight:300; font-size:var(--fs-small);
  color:var(--on-dark); font-variant-numeric:tabular-nums;
}
/* The adjustability cue. Without it a range on the card face reads as one
   fixed product rather than something the visitor can set. */
.pcard__adj{
  display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--sans); font-size:var(--fs-eyebrow); font-weight:500;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--cream-hi);
  background:rgba(156,86,40,.92); border-radius:999px;
  padding:.36em .72em; width:max-content;
}
.pcard__adj::before{
  content:''; width:22px; height:3px; border-radius:2px;
  background:linear-gradient(to right, var(--cream-hi) 0 55%, rgba(253,247,241,.35) 55% 100%);
}
.pcard--fam .pcard__name{ font-size:clamp(1.2rem,1.7vw,1.5rem); }

/* Slider, in the detail state only - the grid face stays clean. */
.pdetail{ background:var(--cream-hi); border-radius:var(--radius);
  padding:clamp(20px,2.4vw,34px); box-shadow:var(--lift-1); }
.pstrength{ display:grid; gap:clamp(14px,1.6vw,20px); }
.pstrength__row{ display:flex; align-items:baseline; gap:.6em; flex-wrap:wrap; }
.pstrength__val{
  font-family:var(--serif); font-size:clamp(2rem,3.4vw,2.9rem);
  line-height:1; color:var(--copper-on-panel);
  /* Round 2, item 14: Cormorant's default figures are OLD STYLE, so a 1 is
     drawn at x-height with no ascender and "1x FOLD" read as "Ix FOLD".
     Lining figures everywhere a number is a readout, not running prose. */
  font-variant-numeric:lining-nums tabular-nums;
}
.pstrength__unit{ font-family:var(--sans); font-size:var(--fs-small); letter-spacing:.14em;
  text-transform:uppercase; color:var(--text-muted); }
.pstrength input[type=range]{
  -webkit-appearance:none; appearance:none; width:100%; height:26px;
  background:none; margin:0; cursor:pointer;
}
/* Item 14: a 22px handle is under the 44px floor on a touch screen. The track
   grows rather than the dot, so the look is unchanged and the target is not. */
@media (pointer: coarse){
  .pstrength input[type=range]{ height:44px; }
  .pstrength input[type=range]::-webkit-slider-thumb{ margin-top:-13px;
    width:30px; height:30px; }
  .pstrength input[type=range]::-moz-range-thumb{ width:30px; height:30px; }
  .pstrength__ticks--span{ margin-inline:15px; }
}
.pstrength input[type=range]::-webkit-slider-runnable-track{
  height:4px; border-radius:2px; background:var(--line);
}
.pstrength input[type=range]::-moz-range-track{
  height:4px; border-radius:2px; background:var(--line);
}
.pstrength input[type=range]::-webkit-slider-thumb{
  -webkit-appearance:none; appearance:none; margin-top:-9px;
  width:22px; height:22px; border-radius:50%;
  background:var(--copper); border:3px solid var(--cream-hi);
  box-shadow:var(--lift-1);
}
.pstrength input[type=range]::-moz-range-thumb{
  width:22px; height:22px; border-radius:50%;
  background:var(--copper); border:3px solid var(--cream-hi);
}
.pstrength input[type=range]:focus-visible{ outline:none; }
.pstrength input[type=range]:focus-visible::-webkit-slider-thumb{
  box-shadow:0 0 0 3px var(--cream-hi), 0 0 0 6px var(--copper);
}
.pstrength input[type=range]:focus-visible::-moz-range-thumb{
  box-shadow:0 0 0 3px var(--cream-hi), 0 0 0 6px var(--copper);
}
.pstrength__ticks{
  display:flex; justify-content:space-between;
  font-family:var(--sans); font-size:var(--fs-micro); color:var(--text-muted);
  font-variant-numeric:tabular-nums;
}
.pstrength__ticks b{ color:var(--text); font-weight:500; }
.pstrength__note{
  font-family:var(--read); font-weight:300; font-size:var(--fs-small); line-height:1.55;
  color:var(--text-muted); margin:0;
}
.pcarrier{ display:flex; flex-wrap:wrap; gap:.5em; }
.pcarrier button{
  font-family:var(--sans); font-size:var(--fs-micro); font-weight:400;
  padding:.5em 1em; border-radius:999px; cursor:pointer;
  background:none; color:var(--text-body);
  border:1px solid var(--line);
  transition:background var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
             color var(--t-base) var(--ease);
}
.pcarrier button[aria-pressed=true]{
  background:var(--copper); border-color:var(--copper); color:var(--cream-hi);
}
.pcarrier button:hover{ border-color:var(--copper-on-panel); }
.pspec{ display:grid; gap:.5em; margin:0; }
.pspec div{ display:flex; justify-content:space-between; gap:1em;
  padding:.6em 0; border-bottom:1px solid var(--line-soft); }
.pspec div:last-child{ border-bottom:0; }
.pspec dt{ font-family:var(--sans); font-size:var(--fs-micro); font-weight:500;
  letter-spacing:.14em; text-transform:uppercase; color:var(--text-muted); }
.pspec dd{ margin:0; font-family:var(--read); font-size:var(--fs-base); color:var(--text);
  text-align:right; font-variant-numeric:tabular-nums; }

@media (prefers-reduced-motion:reduce){
  .pcard, .pcard__img img{ transition:none; }
  .pcard:hover{ transform:none; }
  .pcard:hover .pcard__img img{ transform:none; }
}

/* --------------------------------------------------------------------------
   39 · (removed) Find your vanilla
   The finder's styles lived here - the query field, the facet chips and the
   result cards. Round 6 removed the finder itself; these went with it rather
   than waiting for tools/sweep-dead-css.py to notice.
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   40 · Full index disclosures (corrections round 2, item 1 - scroll)

   Eight stacked tables were 6.7 screens of the portfolio hub's 11.1. Native
   <details>, so the rows stay findable with Ctrl-F, print can force them all
   open, and the keyboard behaviour is the browser's.
   -------------------------------------------------------------------------- */
.idx{ border-top:1px solid var(--line); }
.idx:last-of-type{ border-bottom:1px solid var(--line); }
/* The affordance. A chevron that rotates is the one convention nobody has to
   learn, and it is drawn rather than an icon file so it inherits currentColor. */
.idx[open] > .idx__sum .idx__name::before,
/* :target opens the body without setting [open], so the chevron needs
   telling as well or it points the wrong way on a shared link. */
.idx:target > .idx__sum .idx__name::before{ transform:rotate(45deg); }
.idx .idx-head__count{
  font-family:var(--sans); font-size:var(--fs-eyebrow); font-weight:500;
  letter-spacing:.18em; text-transform:uppercase; color:var(--text-muted);
}
@media (prefers-reduced-motion:reduce){
}
/* A shared link that names a category should show it. Nothing links to
   #idx-<slug> today, but the ids are public and the finder could use them, and
   landing on a closed disclosure would look like the page had failed. Same
   override as print, scoped to :target. */
.idx:target:not([open]) > *:not(summary){ display:block; }

/* On paper a collapsed category would simply be missing, so every row is
   forced visible and the chevron goes. */
@media print{
  .idx:not([open]) > *:not(summary){ display:block !important; }
}

/* --------------------------------------------------------------------------
   41 · Sticky category nav (corrections round 2, item 1 - scroll)

   --header-h is measured once by main.js and written onto :root, because the
   header's height comes from a clamp and so moves with the viewport. The
   value here is the measured height at 1280px, used until the script runs and
   as the fallback if it never does.
   -------------------------------------------------------------------------- */
:root{ --header-h:76px; --pnav-h:53px; }

/* Anchors used to clear the fixed header by 31px. With the sticky nav under
   it they would not, so every in-page jump on the site now accounts for both. */
html{ scroll-padding-top:calc(var(--header-h) + var(--pnav-h) + 18px); }

.pnav{
  position:sticky; top:var(--header-h); z-index:60;
  background:rgba(249,240,233,.92);
  backdrop-filter:saturate(140%) blur(10px);
  -webkit-backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line);
}
.section--hi + .pnav, .pnav + .section--hi{ border-top:0; }
.pnav__row{
  display:flex; gap:clamp(2px,.6vw,10px);
  overflow-x:auto; overflow-y:hidden;
  scrollbar-width:none; -ms-overflow-style:none;
  scroll-snap-type:x proximity;
}
.pnav__row::-webkit-scrollbar{ display:none; }
.pnav__row a{
  flex:none; scroll-snap-align:start;
  font-family:var(--sans); font-size:var(--fs-micro); font-weight:400;
  white-space:nowrap; text-decoration:none;
  color:var(--text-body);
  padding:1.05em .85em; border-bottom:2px solid transparent;
  transition:color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.pnav__row a:hover{ color:var(--copper-on-panel); }
.pnav__row a[aria-current=page]{
  color:var(--text); border-bottom-color:var(--copper); font-weight:500;
}
/* On the hub the active one follows the hash, so it is set by script rather
   than by aria-current, which belongs to "this is the page you are on". */
.pnav__row a.is-at{
  color:var(--text); border-bottom-color:var(--copper); font-weight:500;
}
.pnav__row a:focus-visible{
  outline:2px solid var(--copper); outline-offset:-3px; border-radius:3px;
}
@media (max-width:700px){
  .pnav__row a{ padding:.95em .7em; font-size:var(--fs-micro); }
}
/* A sticky strip is scroll furniture; on paper it is noise. */
@media print{ .pnav{ display:none; } }

/* --------------------------------------------------------------------------
   42 · Homepage density (corrections round 2, item 1 - scroll)

   Measured at 1280x940 the homepage ran 7.6 screens: hero 1.05, portfolio
   1.09, statement 0.70, then Origins 0.65, Innovation 0.88, Applications
   0.78, Science 0.74, Customised 0.64 - a near-full screen each, which is the
   repetition the correction names.

   Everything here is reserved whitespace and card proportion. No copy is cut
   and nothing moves, so it is reversible in one block if the rhythm reads
   worse to you than the scroll did. Scoped to the homepage: the same padding
   on the category and editorial pages was measured and signed off earlier at
   137-166px of content-to-content gap, and this does not disturb it.
   -------------------------------------------------------------------------- */
body[data-page=home] .section{ padding-block:clamp(44px,4.6vw,66px); }

/* Eight 4:5 portraits stacked 4x2 came to more than a full screen on their
   own. Landscape cards hold the same photograph and the same three lines. */
body[data-page=home] .cat{ min-height:clamp(210px,19vw,258px); }

/* Two min-height trims sat here and did nothing: the hero measures 987px and
   the statement 658px against floors of 733 and 583, so both are driven by
   their content, not by reserved space. Removed rather than left looking
   like they were doing something. The hero is the brand moment and its copy
   is what makes it tall; the height that could actually be recovered was in
   the repeating mid sections, which is where it was taken from instead. */

/* The closing note under the merged science block. Two columns so the heading
   and the copy sit beside each other rather than stacking into another
   near-full screen, which is what the merge was for. */
@media (min-width:860px){
}

/* --------------------------------------------------------------------------
   43 · Mobile density (corrections round 2, item 1 - scroll)

   The homepage measured 12.0 screens at 375x812 against 6.7 at 1280, because
   every grid goes one-per-row: the eight category cards alone were 2.59
   screens, applications 1.60, the footer 1.68.

   Horizontal rails are the device the correction names. CSS only - the cards
   are already links, so tabbing through them scrolls the rail without a
   tabindex, and there is no script to fail. Cards are sized so the next one
   peeks past the edge, which is the affordance that says "this scrolls"
   without adding furniture.
   -------------------------------------------------------------------------- */
@media (max-width:700px){
  /* Round 9 reversed the rails above. They did what they were built to do -
     a card peeking past the edge reads as "this scrolls" - but a range you
     swipe is a range most people see two of. A phone user scrolls down
     without thinking and sideways only when told to, so the whole range is
     now on the vertical axis, two cards to a row.

     The descriptive paragraph comes off at this width. Two columns on a
     375px screen leaves about 160px of card, and a three-line blurb in that
     space pushes the title off the image and makes every card a different
     height. Image, name and the link is what survives the width. */
  .cat-grid, .pgrid{
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px; overflow:visible;
  }
  .cat{ min-height:clamp(168px,44vw,210px); padding:14px; }
  .cat__body{ display:none; }
  .cat__title{ font-size:clamp(.92rem,4vw,1.08rem); line-height:1.2; }
  .cat .arrow-link{ font-size:var(--fs-eyebrow); letter-spacing:.08em; }

  /* Footer columns stacking was 1.68 screens. Two columns holds the same
     links in half the height, and the brand block keeps the full width.
     (Round 10 wrote this for five columns; the two Portfolio lists have
     since merged into one, so it is four, and the arithmetic still holds.)
     Round 14 keeps two columns rather than the single stack the brief asks
     for, because the full stack is the layout round 10 measured and
     rejected. */
  .footer__top{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .footer__brand{ grid-column:1 / -1; }
  /* Two columns is right for lists of links and wrong for this one: at 153px
     "Request a Sample" broke over three lines and "Talk to our flavourist"
     over two. It gets the full width, like the brand block. */
  .footer__col--contact{ grid-column:1 / -1; }
  .footer__col a.footer__cta{ justify-content:center; gap:1em; }

  /* The ring scale is five numbers stacked up the vertical axis. On a 305px
     chart they land on the plot itself and under the "Vanilla Sweet" label.
     The rings are still drawn, the axis labels still name every spoke and the
     legend still says which line is which, so the numbers are the one part
     that can go without losing meaning. */
  .rdo-tick{ display:none; }

  /* iOS gives input[type=date] an intrinsic width from its own formatted text
     and ignores width:100% unless the native appearance is off, which is why
     the date field ran outside the booking card on an iPhone and not in any
     desktop browser. min-width:0 stops it refusing to shrink inside the flex
     column. */
  .cform__field input[type="date"]{
    -webkit-appearance:none; appearance:none;
    width:100%; min-width:0; max-width:100%; box-sizing:border-box;
  }

  /* A square or portrait figure under a column of copy adds most of a screen.
     Capped to a landscape crop on mobile; the img already carries object-fit
     so the subject survives the crop.

     The aspect-ratio lives on the .figure wrapper, not the img - the img is
     height:100% of it. An earlier version of this rule set it on the img,
     where it could do nothing at all. */
  .figure--tall { aspect-ratio:16/10; }
  /* Except where the photograph was cropped FOR a 4:5 frame. Squashing those
     to 16/10 throws away the height the crop exists for - the mirror image of
     the problem the crop was made to fix. Only origins-curing.jpg qualifies;
     the other 25 tall figures still take the squash, which is what keeps the
     phone scroll down. */
  .figure--tall.figure--portrait{ aspect-ratio:4/5; }
}

/* --------------------------------------------------------------------------
   44 · CATALOGUE — round 3
   Breadcrumbs, application listings with a filter sidebar, SKU grids, and the
   product page. The two browse axes meet here: a card reached from Chocolate
   opens a page whose breadcrumb still shows the category tree it lives in.
   -------------------------------------------------------------------------- */

/* 44.1 · Breadcrumb */
.crumb{ padding:clamp(14px,1.6vw,22px) 0 0; }
.crumb ol{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:.5em;
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.06em; color:var(--text-muted); }
.crumb li + li::before{ content:"›"; margin-right:.5em; color:var(--line); }
.crumb a{ color:var(--text-muted); text-decoration:none; }
.crumb a:hover, .crumb a:focus-visible{ color:var(--copper-on-panel); text-decoration:underline; }
.crumb [aria-current]{ color:var(--text); }

/* 44.2 · Application banner */
.appbanner{ position:relative; isolation:isolate; padding:clamp(48px,7vw,104px) 0 clamp(36px,5vw,72px);
  background:var(--ink); color:var(--on-dark); overflow:hidden; }
.appbanner__bg{ position:absolute; inset:0; z-index:-1;
  background:radial-gradient(110% 130% at 18% 8%, rgba(224,154,79,.20), rgba(34,26,15,0) 62%); }
.appbanner .display{ margin:.12em 0 .3em; color:var(--cream-hi); }
.lede--on-dark{ color:rgba(244,232,220,.82); }

/* 44.3 · Shop layout */
.shop{ display:grid; grid-template-columns:230px minmax(0,1fr); gap:clamp(24px,3vw,52px);
  align-items:start; }
/* The sidebar is the exception to align-items:start. A sticky element can only
   travel inside its containing block, and start-alignment shrank the <aside> to
   exactly the height of the filters - 1013px of filters in a 1013px box - so it
   had nowhere to move and never stuck, whatever `top` said. Stretching just the
   aside gives it the full height of the grid row to travel through, while the
   results column keeps its top alignment. */
.shop__side{ align-self:stretch; }
.shop__intro{ margin:0 0 1.4em; max-width:64ch; font-family:var(--read); font-weight:300;
  font-size:var(--fs-base); line-height:1.62; color:var(--text-body); }
.shop__bar{ display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding-bottom:14px; border-bottom:1px solid var(--line); margin-bottom:clamp(18px,2vw,28px); }
.shop__count{ margin:0; font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.08em;
  text-transform:uppercase; color:var(--text-muted); }
.shop__sort{ display:flex; align-items:center; gap:.6em; font-family:var(--sans);
  font-size:var(--fs-micro); letter-spacing:.06em; color:var(--text-muted); }
.shop__sort select{ font:inherit; color:var(--text); background:transparent;
  border:1px solid var(--line); border-radius:8px; padding:.45em 1.8em .45em .7em; }
.shop__empty{ padding:2.5em 0; font-family:var(--read); color:var(--text-muted); }

/* 44.4 · Filter sidebar */
.filters{ position:sticky; top:calc(var(--header-h) + 18px);
  border:1px solid var(--line); border-radius:var(--radius); padding:clamp(14px,1.4vw,20px);
  background:var(--cream-hi); }
.filters__head{ margin:0 0 .9em; font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.16em;
  text-transform:uppercase; color:var(--text-muted); }
.facet{ border:0; margin:0 0 1.1em; padding:0; }
.facet legend{ padding:0 0 .5em; font-family:var(--sans); font-size:var(--fs-micro); font-weight:500;
  color:var(--text); }
.facet__opt{ display:flex; align-items:flex-start; gap:.55em; padding:.24em 0;
  font-family:var(--read); font-size:var(--fs-small); line-height:1.45; color:var(--text-body);
  cursor:pointer; }
.facet__opt input{ margin-top:.22em; accent-color:var(--copper); flex:0 0 auto; }
.facet__opt:hover span{ color:var(--copper-on-panel); }
.btn--sm{ padding:.55em 1.1em; font-size:var(--fs-micro); }
/* Sheet chrome. Printed on every listing page but inert above 900px, where the
   sidebar is simply a sidebar: the close button, the apply button and the
   "Refine your choice" trigger all belong to the mobile bottom sheet. */
.shop__tools{ display:flex; align-items:center; gap:14px; }
.shop__refine{ display:none; }
.filters__close{ display:none; }
.filters__apply{ display:none; }
.filters__foot{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; }

/* 44.5 · SKU grid */
.sgrid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  gap:clamp(14px,1.6vw,24px); }
.scard{ position:relative; display:flex; flex-direction:column;
  border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  background:var(--cream-hi); transition:border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease); }
.scard:hover{ border-color:var(--copper); transform:translateY(-3px); }
.scard__link{ display:flex; flex-direction:column; height:100%; text-decoration:none; color:inherit; }
/* Round 2, item 9. The <a> wrapped the picture, the name, the form and the
   SKU; "View product" and the round arrow sat outside it as plain spans, so
   the one part of the card that LOOKS like the control did nothing when
   clicked - it selected the words. Rather than nest a second link (which is
   invalid inside an <a> and would double every card in the tab order), the
   card's single link is stretched over the whole card. One focusable element
   per card, the hit area is the card, and the label and arrow come with it. */
.scard__link::after{ content:''; position:absolute; inset:0; z-index:1; border-radius:inherit; }
.scard{ cursor:pointer; }
/* Keyboard focus has to be visible on the CARD, not on the stretched overlay,
   which has no size of its own that a ring would trace. */
.scard:focus-within{ outline:2px solid var(--copper); outline-offset:3px; }
.scard__link:focus-visible{ outline:0; }
.scard:hover .scard__act{ text-decoration:underline; text-underline-offset:.3em; }
.scard__img{ display:block; aspect-ratio:4/5; overflow:hidden; background:var(--panel); }
.scard__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.scard__body{ display:flex; flex-direction:column; gap:.3em; padding:clamp(12px,1.2vw,16px);
  border-top:1px solid var(--line); }
/* Round 6: SKU names are bold everywhere a product is listed.
   Cormorant Garamond is subset at wght 300-700 (tools/build-fonts.py), so 700
   is a real weight here and not a browser-synthesised fake bold - which on a
   high-contrast serif smears the thin strokes. */
.scard__name{ font-family:var(--serif); font-weight:700; font-size:var(--fs-body);
  line-height:1.25; color:var(--ink); }
.scard__note{ font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.07em;
  text-transform:uppercase; color:var(--text-muted); }
/* Names in these grids run from "NeoVanil 95" to "Vanilla Tincture - for
   Perfumery Applications", so they wrap to one, two or three lines and the
   form line underneath sat at three different heights across one row - a 41px
   spread on the NeoVanil grades. Reserving the depth of the longest keeps the
   row on one baseline. */
.sgrid .scard__name{ min-height:calc(3 * 1.25 * 1.02rem); }
@media (max-width:600px){ .sgrid .scard__name{ min-height:0; } }
.scard__ref{ font-family:var(--sans); font-size:var(--fs-eyebrow); color:var(--text-muted);
  font-variant-numeric:tabular-nums; }
.scard__act{ padding:0 clamp(12px,1.2vw,16px) clamp(12px,1.2vw,16px);
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.1em; text-transform:uppercase;
  color:var(--copper-on-panel); }
.scard[hidden]{ display:none; }

/* Round 9 B4 desaturated the pack shot on an on-request card and dropped it to
   74% opacity. Round 2 item 32: a buyer reads that as discontinued, not as
   "ask us". Every product is shown at full strength; the action label is what
   carries the difference, and it is a link to the enquiry rather than a label
   on a browse path - which is a clearer signal than a faded photograph. */
.scard--request .scard__act{ color:var(--copper); }

/* The SKU grid is the grid the brief actually points at - the Eurovanille
   pattern of two products per row. `repeat(auto-fill,minmax(190px,1fr))` gives
   exactly one column inside a 335px phone container, so every listing page was
   a single stack of full-width cards and a range of eight read as four.

   This has to sit AFTER the .sgrid base rule rather than up with the other
   round 9 mobile work: a media query adds no specificity, so the base
   declaration lower down the file was winning and the first attempt at this
   changed nothing at all. */
@media (max-width:700px){
  .sgrid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .scard__body{ gap:.2em; padding:10px 11px 12px; }
  .scard__name{ font-size:var(--fs-base); line-height:1.22; }
  .scard__note{ font-size:var(--fs-micro); }
  .scard__ref{ font-size:var(--fs-eyebrow); }
  .scard__act{ padding:0 11px 11px; font-size:var(--fs-eyebrow); letter-spacing:.07em; }

  /* Round 10 item 6. Filters already live behind the Refine button, but the
     grid still was not the first thing on the screen: the banner, then a long
     intro paragraph, pushed the first product to y=839 on Chocolate &
     confectionery - below the fold on a 375x812 phone.

     The banner tightens, and the intro moves below the grid. It is context,
     not navigation; on a phone the products come first and the paragraph is
     there for anyone who scrolls. Nothing is hidden or truncated. */
  .appbanner{ padding:clamp(28px,6vw,48px) 0 clamp(20px,4vw,34px); }
  .shop__main{ display:flex; flex-direction:column; }
  .shop__bar{ order:1; }
  .sgrid{ order:2; }
  .shop__empty{ order:3; }
  .shop__intro{
    order:4; margin:1.8em 0 0; padding-top:1.4em;
    border-top:1px solid var(--line); font-size:var(--fs-base);
  }
}

/* Round 9 B6: booking form. The slot fields reuse .cform wholesale; only the
   time-zone line under them is new. */
.cform__hint{
  margin:-.4em 0 1.4em; font-family:var(--read); font-weight:300;
  font-size:var(--fs-small); line-height:1.55; color:var(--text-muted);
}
.cinfo__talk{ margin:1.4em 0 0; }
/* `.footer__talk` - the amber-soft pill beside Request a sample - is gone.
   Both footer actions are `.footer__cta` now (one filled, one outlined, both
   full-column width), which is what slide 6 shows and what removes the
   "button and a link" reading the old pair had. */

/* The four routes back in, on /404.html. Its own small component rather than
   a bent .crosslink: that one is a full-bleed image band, and an error page
   should be light. */
.r404-grid{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(12px,1.4vw,18px); margin-top:clamp(22px,3vw,34px);
}
.r404{
  display:flex; flex-direction:column; gap:.4em;
  padding:clamp(16px,1.8vw,22px);
  background:var(--cream-hi); border:1px solid var(--line);
  border-radius:var(--radius); text-decoration:none; color:inherit;
  transition:border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.r404:hover, .r404:focus-visible{ border-color:var(--copper); transform:translateY(-2px); }
.r404__t{
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.11em;
  text-transform:uppercase; color:var(--copper-on-panel);
}
.r404__d{ font-family:var(--read); font-weight:300; font-size:var(--fs-base); line-height:1.55; color:var(--text-body); }
@media (max-width:700px){
  .r404-grid{ grid-template-columns:1fr; gap:10px; }
  .r404{ padding:14px 16px; }
}

/* The one line of copy that stops a greyed product reading as discontinued. */
.pdp__note{
  margin:.9em 0 0; max-width:52ch;
  font-family:var(--read); font-weight:300; font-size:var(--fs-base); line-height:1.6;
  color:var(--text-muted);
}

/* 44.6 · Product page */
.section--tight{ padding-block:clamp(26px,3vw,44px) clamp(44px,5vw,78px); }
.pdp{ display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1fr);
  gap:clamp(26px,4vw,68px); align-items:start; }
.pdp__stage{ border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  background:var(--cream-hi); }
.pdp__stage img{ width:100%; height:auto; display:block; }
.pdp__title{ margin:.1em 0 .18em; }
.pdp__ref{ margin:0 0 1em; font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.08em;
  text-transform:uppercase; color:var(--text-muted); font-variant-numeric:tabular-nums; }
.pdp__copy{ margin:0 0 1.5em; font-family:var(--read); font-weight:300; font-size:var(--fs-body);
  line-height:1.62; color:var(--text-body); max-width:56ch; }
.pdp__specs{ display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:0; margin:0 0 1.7em; border-top:1px solid var(--line); }
.pdp__spec{ padding:.7em 0; border-bottom:1px solid var(--line); }
.pdp__spec dt{ font-family:var(--sans); font-size:var(--fs-eyebrow); letter-spacing:.09em;
  text-transform:uppercase; color:var(--text-muted); }
.pdp__spec dd{ margin:.15em 0 0; font-family:var(--read); font-size:var(--fs-base); color:var(--text); }
.pdp__cta{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:1.8em; }
.pdp__apps-label{ margin:0 0 .6em; font-family:var(--sans); font-size:var(--fs-eyebrow);
  letter-spacing:.14em; text-transform:uppercase; color:var(--text-muted); }
.pdp__apps{ display:flex; flex-wrap:wrap; gap:8px; }
.pdp__app{ display:inline-block; padding:.42em .9em; border:1px solid var(--line);
  border-radius:999px; font-family:var(--sans); font-size:var(--fs-micro); color:var(--text-body);
  text-decoration:none; transition:border-color var(--t-base) var(--ease), color var(--t-base) var(--ease); }
.pdp__app:hover{ border-color:var(--copper); color:var(--copper-on-panel); }

/* 44.7 · Why choose + related */
.why-list{ list-style:none; margin:1.4em 0 0; padding:0;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:clamp(18px,2vw,34px); }
.why-list li{ display:flex; flex-direction:column; gap:.4em; padding-top:1em;
  border-top:2px solid var(--copper); }
.why-list b{ font-family:var(--serif); font-size:1.08rem; font-weight:500; color:var(--ink); }
.why-list span{ font-family:var(--read); font-weight:300; font-size:var(--fs-base); line-height:1.6;
  color:var(--text-body); }
.rel-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:clamp(14px,1.6vw,22px); margin-top:1.4em; }
.rel{ text-decoration:none; color:inherit; display:block; }
.rel__img{ display:block; aspect-ratio:4/5; border:1px solid var(--line);
  border-radius:var(--radius); overflow:hidden; background:var(--cream-hi); }
.rel__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.rel__name{ display:block; margin-top:.6em; font-family:var(--serif); font-weight:700;
  font-size:var(--fs-base); line-height:1.3; color:var(--ink); }
.rel:hover .rel__img{ border-color:var(--copper); }

@media (max-width:900px){
  .shop{ grid-template-columns:1fr; }
  .filters{ position:static; }

  /* Round 9: the sidebar becomes a bottom sheet. Every listing page used to
     open on a screenful of checkboxes with the first product below the fold.

     Gated twice: these rules are scoped to `.js`, and the trigger only appears
     once initFilterSheet() has added .has-filter-sheet. If the script is
     blocked or throws, the sidebar renders inline and open exactly as it does
     in the markup - a filter panel with no way to open it is worse than a
     filter panel that is always in view. */
  .shop{ grid-template-columns:minmax(0,1fr); }
  /* Round 3, item 9. The trigger is a flex item of .shop__main, so
     `inline-flex` blockifies to `flex` and the button already stretches to the
     grid's own edges - that part of the brief was met. What was missing:
     `justify-content` was never stated, so icon and label sat hard against the
     left padding on a 335px-wide button; the gap was .5em (7px at --fs-micro)
     rather than 8px; and nothing separated the button from the first row of
     products, which began on the pixel the button ended. */
  .has-filter-sheet .shop__refine{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    min-height:44px; padding:.5em 1em; margin-bottom:16px;
    font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.06em;
    color:var(--text); background:var(--cream-hi);
    border:1px solid var(--line); border-radius:100px; cursor:pointer;
  }
  .has-filter-sheet .shop__refine svg{ width:14px; height:14px; flex:0 0 auto; }
  .shop__sort select{ min-height:44px; }
  .shop__bar{ flex-wrap:wrap; gap:10px; }

  .js .shop__side{
    position:fixed; left:0; right:0; bottom:0; z-index:96;
    max-height:min(84vh,620px); overflow:auto; -webkit-overflow-scrolling:touch;
    background:var(--cream-hi); border-top:1px solid var(--line);
    border-radius:18px 18px 0 0; box-shadow:0 -12px 44px rgba(34,26,15,.26);
    transform:translateY(101%); visibility:hidden;
    transition:transform var(--t-base) var(--ease), visibility var(--t-base);
    /* Round 3, item 10: the sheet's last control is the sort row, not the
       .filters form, so the safe-area inset has to live on the sheet itself -
       on .filters it padded a box that nothing sat at the bottom of. */
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }
  .js.is-filters-open .shop__side{ transform:none; visibility:visible; }
  .js .filters{
    border:0; border-radius:0; background:none;
    padding:20px 20px 0;
  }
  /* Item 10: both the title and the close button are now 44px bands starting
     at the same 20px padding edge, so their centres coincide by construction
     rather than by the arithmetic of a 10px offset happening to land right.
     padding-right keeps a long title clear of the cross. */
  .js .filters__head{
    display:flex; align-items:center; min-height:44px; padding-right:52px;
    font-size:var(--fs-micro); margin-bottom:.6em;
  }
  .js .filters__close{
    display:flex; align-items:center; justify-content:center;
    position:absolute; top:20px; right:12px; width:44px; height:44px;
    padding:0; color:var(--text-muted); background:none; border:0; cursor:pointer;
  }
  .js .filters__close svg{ width:16px; height:16px; }
  /* Item 10, dropdowns. .fbar__pills is a flex row on desktop, but something
     in the listing cascade resets it to `display:block` under 900px, which
     made its gap:8px inert - the three 44px pills stacked edge to edge with
     literally no space between them. Stating the layout here restores the gap
     and pins it to the 12px the brief asks for. */
  .js .fbar__pills{ display:grid; grid-template-columns:1fr; gap:12px; }
  .js .fpill, .js .fpill__btn{ width:100%; }
  /* Label left, chevron hard right: the summary had no justify-content, so the
     chevron sat wherever the label ended. */
  .js .fpill__btn{ justify-content:space-between; min-height:44px; }
  /* A 20px checkbox row is not a tap target. */
  .js .facet__opt{ min-height:44px; align-items:center; padding:.3em 0; font-size:var(--fs-base); }
  .js .facet legend{ font-size:var(--fs-base); }
  /* Item 10: 12px between the two buttons, and a 1:2 split written as the
     flex ratio itself rather than left to each button's own text width -
     "Clear all" and "Show 6 products" were coming out 1:1.64. The sticky
     offset lifts the pair clear of the iPhone toolbar when the sheet scrolls. */
  .js .filters__foot{
    position:sticky; bottom:env(safe-area-inset-bottom); gap:12px; flex-wrap:nowrap;
    margin-top:1.2em; padding:12px 0 2px;
    background:linear-gradient(to top, var(--cream-hi) 72%, rgba(249,240,233,0));
  }
  .js .filters__apply{
    display:inline-flex; justify-content:center; flex:2 1 0;
    min-width:0; min-height:44px; white-space:nowrap;
  }
  /* flex-basis:0 alone does not give 1:2 - a flex item's automatic minimum
     size floors it at min-content, and "Clear all" broke after "Clear", so
     the ghost held 119px and stood a line taller than the primary. nowrap
     plus min-width:0 lets the ratio govern; the inline padding comes down
     because 1/3 of the row is 108px and the label alone is 90px of it. The
     label is centred, so the visible space either side is ~9px regardless. */
  .js .filters__foot .btn--ghost{
    flex:1 1 0; justify-content:center;
    min-width:0; min-height:44px; padding-inline:6px; white-space:nowrap;
  }
  /* Item 10, sort row. .fbar__right is a sibling of .filters inside the sheet,
     so it never saw the form's 20px side padding and ran the full 375px width
     - "Sort by" started on the screen edge and the count ended on it. */
  .js .fbar__right{
    display:flex; align-items:center; justify-content:space-between;
    margin-left:0; padding:12px 20px 0;
  }
  .sheet-scrim{
    position:fixed; inset:0; z-index:95; background:rgba(34,26,15,.5);
    -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px);
    opacity:0; visibility:hidden;
    transition:opacity var(--t-base) var(--ease), visibility var(--t-base);
  }
  .is-filters-open .sheet-scrim{ opacity:1; visibility:visible; }
  .pdp{ grid-template-columns:1fr; }
}
/* An application this product genuinely serves, whose listing page is not part
   of the current build slice. Same chip, no affordance to click. */
.pdp__app--flat{ color:var(--text-muted); border-style:dashed; }

/* --------------------------------------------------------------------------
   45 · MEGA-MENU AND CATALOGUE SEARCH — round 3
   Two browse axes in the header, plus a search box. The applications menu is a
   picture grid rather than a list: thirteen names in a column is something you
   read, thirteen thumbnails is something you scan.
   -------------------------------------------------------------------------- */
/* 45.1 · The panel is OPAQUE.
   It used to be rgba(24,17,9,.74) with a blur, taking the header's own
   treatment so it read as the bar extending downward. Over a photographic
   hero that is a panel you can see the headline through - the serif behind it
   competed with seven category names in front of it. A menu is a surface you
   read, not a veil, so it is solid, bordered on all four sides and lifted off
   the page with a shadow instead. */
.nav__menu--mega{
  display:block; padding:0;
  /* Round 2, items 4 and 7. This was `width:max-content` anchored to the open
     nav group at left:-1.4em, so each panel was as wide as its own contents
     and started under its own label: Our Range opened 140px further left than
     By Application and ran 320px wider. Below about 1280px the wider one ran
     off the right of the window and took "View all products" and the fourth
     column with it.

     Both panels are now laid against .header__inner - the same element the
     logo, the nav and the CTA sit on - so they are identical in width and
     position by construction and can never leave the viewport, whatever the
     window is. The caret that points at the open item moves to .nav__link,
     which is the only part of this that still knows which menu is down. */
  /* Offsets resolve against the container's PADDING box, which is its full
     border box here, so the gutter has to be restated or the panel runs
     edge to edge instead of landing on the site's content grid. */
  left:var(--gutter); right:var(--gutter); width:auto; max-width:none; min-width:0;
  background:#1E1309;
  border:1px solid rgba(224,154,79,.26);
  border-radius:14px;
  box-shadow:0 26px 64px rgba(0,0,0,.42), 0 2px 0 rgba(249,240,233,.04) inset;
  -webkit-backdrop-filter:none; backdrop-filter:none;
  /* NOT overflow:hidden. The caret below is drawn at top:-7px and the hover
     bridge at top:-13px; clipping the panel to its own border-radius ate
     both. The tiles carry their own radius, so nothing needed clipping. */
}
/* the whole panel, not just the first tile, keeps hover alive across the gap */
.nav__menu--mega::before{ content:''; position:absolute; left:0; right:0; top:-13px; height:13px; }

/* 45.1b · Panel header: what this menu is, and the way past it. */
.nav__mega-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:24px;
  padding:clamp(16px,1.5vw,22px) clamp(18px,1.7vw,26px) clamp(13px,1.2vw,17px);
  border-bottom:1px solid rgba(249,240,233,.10);
}
.nav__mega-title{
  margin:0; font-family:var(--serif); font-size:clamp(1.05rem,1.3vw,1.3rem);
  line-height:1.1; color:var(--cream-hi);
}
.nav__mega-sub{
  margin:.35em 0 0; max-width:62ch;
  font-size:var(--fs-micro); line-height:1.45; color:rgba(249,240,233,.82);
}
.nav__mega-all{
  display:inline-flex; align-items:center; gap:.5em; flex:none; white-space:nowrap;
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.04em;
  color:var(--copper-glow); text-decoration:none; padding:6px 2px;
  transition:color var(--t-base) var(--ease);
}
.nav__mega-all .ico-arrow{ width:14px; height:14px; flex:none; max-width:none;
  transition:transform var(--t-base) var(--ease); }
.nav__mega-all:hover, .nav__mega-all:focus-visible{ color:var(--amber-soft); }
.nav__mega-all:hover .ico-arrow{ transform:translateX(4px); }

/* 45.1c · 4 + 3. Seven tiles wrap on their own; the column count is what
   makes the second row start under the first, as the mockups show. */
.nav__tiles{
  display:grid; grid-template-columns:repeat(4,minmax(132px,1fr));
  gap:clamp(10px,1vw,16px);
  padding:clamp(14px,1.4vw,20px) clamp(18px,1.7vw,26px) clamp(18px,1.7vw,26px);
}
.nav__tile{
  display:grid; grid-template-columns:1fr auto; grid-template-areas:"img img" "text disc";
  /* align-content:start, not just align-items. The tiles stretch to the
     tallest in the row, and a grid's auto rows stretch with it - so the one
     tile whose descriptor ran to two lines (Vanilla Powders, NeoVanil) made
     every other tile's PICTURE taller, and their titles dropped below its
     own. Round 2 item 7 asks for the titles in a row to line up; holding the
     rows at their content height is what does it. */
  align-items:start; align-content:start; gap:.62em .6em; text-decoration:none;
  color:var(--text); border:1px solid transparent; border-radius:11px;
  padding:7px; margin:-1px;
  transition:background var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
             transform var(--t-base) var(--ease);
}
.nav__tile:hover, .nav__tile:focus-visible{ background:var(--panel); color:var(--copper-on-panel); }
.nav__tile-img{ grid-area:img; display:block; aspect-ratio:16/10; border-radius:8px;
  overflow:hidden; background:var(--panel); }
.nav__tile-img img{ width:100%; height:100%; object-fit:cover; display:block;
  transition:transform var(--t-slow) var(--ease); }
.nav__tile:hover .nav__tile-img img{ transform:scale(1.045); }
.nav__tile-text{ grid-area:text; display:block; min-width:0; }
.nav__tile-name{ display:block; font-family:var(--sans); font-size:var(--fs-micro); line-height:1.25; }
.nav__tile-tag{ display:block; margin-top:.3em; font-size:var(--fs-eyebrow); line-height:1.35;
  color:var(--text-muted); }
/* The disc took `currentColor`, and the tile's own colour is var(--text) -
   the label is recoloured for the dark panel but the <a> never was. A dark
   ring at 50% on a near-black panel is nothing at all. It carries the cream
   explicitly, like the label beside it. */
.nav__tile-disc{
  grid-area:disc; align-self:center; flex:none;
  width:23px; height:23px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  color:var(--cream); border:1px solid rgba(249,240,233,.34); opacity:.62;
  transition:opacity var(--t-base) var(--ease), background var(--t-base) var(--ease),
             color var(--t-base) var(--ease);
}
.nav__tile-disc svg{ width:12px; height:12px; max-width:none; }
.nav__tile:hover .nav__tile-disc, .nav__tile:focus-visible .nav__tile-disc{ opacity:1; }
.nav__tile[aria-current]{ color:var(--copper-on-panel); }

/* 45.2 · Header search */
.hsearch{ position:relative; display:flex; align-items:center; gap:.5em; flex:0 1 210px;
  border:1px solid var(--line); border-radius:999px; padding:.34em .9em;
  background:var(--cream-hi); transition:border-color var(--t-base) var(--ease), flex-basis var(--t-base) var(--ease); }
.header--dark .hsearch{
  background:rgba(249,240,233,.10); border-color:var(--line-dark); }
.hsearch:focus-within{ border-color:var(--copper); flex-basis:270px; }
.hsearch__icon{ width:14px; height:14px; flex:0 0 auto; color:var(--text-muted); }
.header--dark .hsearch__icon{ color:rgba(244,232,220,.66); }
.hsearch__input{ flex:1 1 auto; min-width:0; border:0; background:none; font:inherit;
  font-family:var(--sans); font-size:var(--fs-small); color:var(--text); padding:.1em 0; }
.header--dark .hsearch__input{ color:var(--cream-hi); }
.hsearch__input::placeholder{ color:var(--text-muted); }
.header--dark .hsearch__input::placeholder{ color:rgba(244,232,220,.55); }
.hsearch__input:focus{ outline:none; }
.hsearch__input::-webkit-search-cancel-button{ -webkit-appearance:none; }

/* 45.3 · The results panel.
   It was min-width:340px, which is narrower than most of the product names
   in it: "All-Natural Bourbon Extract, Alcohol-Free" came out as one word
   per line and eight of those were taller than the viewport. 640px, the
   name on a single truncated line, and the list capped at six with a way
   through to the rest. */
.hsearch__panel{ position:absolute; top:calc(100% + 12px); right:0; z-index:60;
  width:min(640px, calc(100vw - 2*var(--gutter, 24px))); padding:0;
  background:var(--cream-hi); border:1px solid var(--line); border-radius:14px;
  box-shadow:0 22px 56px rgba(34,26,15,.18);
  overflow:hidden; }

.hsearch__head{
  display:flex; align-items:baseline; justify-content:space-between; gap:16px;
  padding:16px 20px 12px; border-bottom:1px solid var(--line-soft);
}
.hsearch__q{ margin:0; font-family:var(--serif); font-size:var(--fs-body); line-height:1.2;
  color:var(--text); }
.hsearch__q em{ font-style:normal; color:var(--copper); }
.hsearch__count{ margin:0; flex:none; font-family:var(--sans); font-size:var(--fs-micro);
  letter-spacing:.05em; color:var(--text-muted); font-variant-numeric:tabular-nums; }

.hsearch__hit{ display:flex; align-items:center; gap:14px;
  padding:10px 20px; text-decoration:none; color:var(--text);
  transition:background var(--t-fast) var(--ease); }
.hsearch__hit + .hsearch__hit{ box-shadow:0 -1px 0 var(--line-soft); }
.hsearch__hit:hover, .hsearch__hit.is-on, .hsearch__hit:focus-visible{ background:var(--panel); }
/* Round 9 B8: a result is a pack shot, a name and a category. */
.hsearch__hit-img{
  flex:0 0 80px; width:80px; height:56px; border-radius:8px;
  object-fit:cover; background:var(--panel); display:block;
}
.hsearch__hit-img--none{ background:var(--panel); }
.hsearch__hit-txt{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; gap:.16em; }
.hsearch__hit-n{ font-family:var(--serif); font-weight:700; font-size:var(--fs-body); line-height:1.25;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hsearch__hit-k{ font-family:var(--sans); font-size:var(--fs-micro); color:var(--text-muted);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hsearch__hit-a{ flex:0 0 auto; font-family:var(--sans); font-size:var(--fs-micro);
  color:var(--text-muted); white-space:nowrap; }
.hsearch__hit-disc{
  flex:0 0 auto; width:26px; height:26px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line); color:var(--copper);
  transition:background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
             color var(--t-fast) var(--ease);
}
.hsearch__hit-disc svg{ width:13px; height:13px; max-width:none; }
.hsearch__hit:hover .hsearch__hit-disc,
.hsearch__hit.is-on .hsearch__hit-disc,
.hsearch__hit:focus-visible .hsearch__hit-disc{
  background:var(--amber); border-color:var(--amber); color:var(--bourbon); }

.hsearch__all{
  display:flex; align-items:center; justify-content:center; gap:.6em;
  margin:12px 20px 4px; padding:11px 16px; border-radius:999px;
  background:var(--amber-wash);
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.09em;
  text-transform:uppercase; color:var(--copper); text-decoration:none;
  transition:background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.hsearch__all svg{ width:15px; height:15px; max-width:none; flex:none;
  transition:transform var(--t-base) var(--ease); }
.hsearch__all:hover, .hsearch__all:focus-visible{ background:var(--amber); color:var(--bourbon); }
.hsearch__all:hover svg{ transform:translateX(4px); }

.hsearch__hint{
  display:flex; align-items:flex-start; gap:10px; margin:0;
  padding:13px 20px 15px; border-top:1px solid var(--line-soft);
  background:var(--panel);
  font-family:var(--read); font-size:var(--fs-micro); line-height:1.45; color:var(--text-muted);
}
.hsearch__hint svg{ width:15px; height:15px; max-width:none; flex:none; margin-top:.18em;
  color:var(--copper); }
.hsearch__hint strong{ display:block; font-weight:600; color:var(--text-body); }
.hsearch__none{ margin:0; padding:18px 20px; font-family:var(--read); font-size:var(--fs-base);
  color:var(--text-muted); }

/* 45.3b · /search.html - the page behind "view all results".
   It reuses .hsearch__hit wholesale so a row looks identical in the panel and
   on the page; only the frame around the list is new. */
.srp__h em{ font-style:normal; color:var(--copper); }
.srp__form{ display:flex; gap:10px; align-items:stretch; margin:1.4em 0 .4em;
  max-width:620px; }
.srp__input{
  flex:1 1 auto; min-width:0; font:inherit; font-family:var(--sans); font-size:var(--fs-base);
  color:var(--text); background:var(--cream-hi);
  border:1px solid var(--line); border-radius:999px; padding:.7em 1.2em;
  transition:border-color var(--t-fast) var(--ease);
}
.srp__input:focus{ outline:none; border-color:var(--copper); }
.srp__input::-webkit-search-cancel-button{ -webkit-appearance:none; }
.srp__count{ margin:.2em 0 1.3em; font-family:var(--sans); font-size:var(--fs-micro);
  letter-spacing:.05em; color:var(--text-muted); font-variant-numeric:tabular-nums; }
.srp__count[hidden]{ display:none; }
.srp__list{
  background:var(--cream-hi); border:1px solid var(--line); border-radius:14px;
  overflow:hidden;
}
.srp__list:empty{ display:none; }
.srp__list .hsearch__hit{ padding:12px 20px; }
@media (max-width:640px){
  .srp__form{ flex-direction:column; }
  .srp__form .btn{ justify-content:center; }
}

/* The clear (x) inside the field, shown by main.js only when there is text. */
.hsearch__clear{
  flex:0 0 auto; width:20px; height:20px; padding:0; margin-right:-2px;
  display:inline-flex; align-items:center; justify-content:center;
  background:none; border:0; border-radius:50%; cursor:pointer;
  color:var(--text-muted); transition:color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}
.hsearch__clear[hidden]{ display:none; }
.hsearch__clear svg{ width:11px; height:11px; max-width:none; }
.hsearch__clear:hover{ color:var(--text); background:rgba(34,26,15,.08); }
.header--dark .hsearch__clear{ color:rgba(244,232,220,.66); }
.header--dark .hsearch__clear:hover{ color:var(--cream-hi); background:rgba(249,240,233,.14); }

@media (max-width:1180px){ .hsearch{ flex-basis:150px; } }
@media (max-width:900px){
  /* In the burger overlay the mega-menu becomes a plain tap-expand list: a
     picture grid inside a full-screen menu is more scrolling, not less. */
  /* Round 10 item 4: thumbnail + label rows on one rhythm, not a cramped grid. */
  /* Round 14: the desktop panel became an opaque bordered card with a caret,
     a header row and its own 4-column grid. None of that belongs inside the
     burger drawer, which is already a full-screen dark surface - so the card
     is unwound back to a plain list here. `display:flex` is restated because
     the tile is now a GRID at desktop, and `flex-direction:row` below would
     otherwise have been a no-op against it. */
  .nav__menu--mega{
    display:block; min-width:0; width:auto; max-width:none; padding:0;
    background:none; border:0; border-radius:0; box-shadow:none;
  }
  .nav__menu--mega::after{ display:none; }     /* no caret in the drawer */
  .nav__mega-head{ display:none; }             /* the nav link is the heading */
  .nav__tiles{ display:block; padding:0; }
  .nav__tile{
    display:flex; flex-direction:row; align-items:center; gap:.85em;
    min-height:56px; padding:5px 2px; margin:0; border:0; border-radius:8px;
  }
  .nav__tile-text{ flex:1 1 auto; min-width:0; }
  .nav__tile-tag{ display:none; }              /* 44px rows, one line each */
  .nav__tile-disc{ flex:0 0 auto; width:21px; height:21px; }
  .nav__tile + .nav__tile{ border-top:1px solid rgba(249,240,233,.07); }
  .nav__tile-img{
    flex:0 0 44px; width:44px; aspect-ratio:1;
    border-radius:7px; overflow:hidden; background:rgba(249,240,233,.07);
  }
  .nav__tile-img img{ width:100%; height:100%; object-fit:cover; display:block; }
  .nav__tile-name{ font-size:var(--fs-body); line-height:1.25; color:rgba(249,240,233,.78); }
  .nav__tile:hover .nav__tile-name, .nav__tile:focus-visible .nav__tile-name{ color:var(--copper-glow); }
  /* The search was `flex:1 1 100%` here, meaning to drop onto its own row.
     .header__inner is a flex row with no wrap, so it could not: the box simply
     claimed the full width inside a row that does not break, and ran 136px
     past the right edge of a 375px screen. The field was off-screen on every
     page of the site, which is why search looked missing on a phone.

     A second row would have fixed the clipping and cost vertical space the
     rest of this round is trying to win back, so it collapses to a tap target
     instead and expands over the bar when opened. */
  .hsearch{
    order:2; flex:0 0 auto; margin-top:0; margin-left:auto;
    width:44px; height:44px; padding:0; justify-content:center;
    border-radius:50%; overflow:hidden;
    /* The input is still a flex item at width 0, so the .5em gap to it was
       counted when centring and pushed the icon 4px off-centre in its circle.
       No gap while collapsed; .is-open restores it. */
    gap:0;
    transition:width var(--t-base) var(--ease);
  }
  .hsearch__icon{ width:18px; height:18px; }
  .hsearch__input{
    width:0; flex:0 0 0; padding:0; opacity:0; pointer-events:none;
    transition:opacity var(--t-fast) var(--ease);
  }
  .hsearch.is-open{
    position:absolute; left:var(--gutter); top:50%;
    /* Stops short of the burger. Edge to edge put the field on top of it, so
       the control that closes the menu sat underneath the thing it had to
       close. */
    right:calc(var(--gutter) + 46px);
    transform:translateY(-50%); z-index:70;
    width:auto; padding:0 .9em; border-radius:100px;
    justify-content:flex-start; gap:.6em;
    /* The collapsed state is a 44px circle with overflow:hidden, which is what
       clips the input down to nothing. Open, that same rule was cropping the
       results panel - which hangs BELOW the field - to the height of the pill.
       The search was finding products and rendering them the whole time; the
       parent was cutting them off, so nothing appeared. */
    overflow:visible;
    background:var(--cream-hi); border:1px solid var(--line);
  }
  /* `.header--dark .hsearch` is three classes and beats
     `.hsearch.is-open`, so on a hero page the open field kept the 10% white
     wash meant for the collapsed icon: the logo and the hero showed straight
     through the field and through the results behind it. Restated at matching
     weight. */
  .header--dark .hsearch.is-open{
    background:var(--cream-hi); border-color:var(--line);
  }
  .header--dark .hsearch.is-open .hsearch__input{ color:var(--ink); }
  .header--dark .hsearch.is-open .hsearch__icon{ color:var(--text-muted); }
  .header--dark .hsearch.is-open .hsearch__input::placeholder{
    color:var(--text-muted);
  }
  .hsearch.is-open .hsearch__input{
    width:auto; flex:1 1 auto; opacity:1; pointer-events:auto;
    font-size:16px;              /* iOS zooms the page under 16px */
    color:var(--ink);
  }
  .hsearch.is-open .hsearch__icon{ color:var(--text-muted); }
  /* The wordmark steps aside rather than being covered by the field. */
  .is-search-open .brand{ opacity:0; pointer-events:none; }

  /* The category label on the right of each result was taking a third of a
     333px panel and wrapping "All-Natural Bourbon Extract, Alcohol-Free" onto
     five lines. B8 asked for thumbnail, name and code; the category is the one
     of the four that a phone has no room for, and the thumbnail already says
     which part of the range a result is from. */
  .hsearch__hit-a{ display:none; }           /* no room beside an 80px shot */
  .hsearch__hit{ gap:.7em; padding:.5em .9em; }
  .hsearch__hit-img{ flex-basis:60px; width:60px; height:44px; }
  .hsearch__hit-n{ font-size:var(--fs-base); }
  .hsearch__head{ padding:13px 16px 10px; }
  .hsearch__q{ font-size:var(--fs-base); }
  .hsearch__all{ margin:10px 16px 4px; }
  .hsearch__hint{ padding:12px 16px 14px; }
  .brand{ transition:opacity var(--t-fast) var(--ease); }
  /* Full width under the header, not under the FIELD. `left:0;right:0`
     resolved against .hsearch, which is ~287px once it expands, so a 640px
     results list was squeezed into the width of the input it hangs from -
     and it stopped short of the burger on the right.

     NOT position:fixed. The header carries a backdrop-filter in its solid
     and pinned states, and a filtered ancestor becomes the containing block
     for fixed descendants - the same trap that made the full-screen menu
     resolve `inset:0` against the 64px bar. Fixed positioning here measured
     247px wide starting 41px in.

     So: still absolute against the shell, whose left edge IS the page
     gutter once it expands, and sized against the viewport from there. */
  .hsearch__panel{
    left:0; right:auto;
    width:calc(100vw - 2 * var(--gutter));
    max-height:calc(100svh - var(--header-h, 72px) - 26px);
    overflow-y:auto; -webkit-overflow-scrolling:touch;
  }

  /* `.nav--tail` holds the Request a Sample button. It used to be lifted into
     the header row here with `display:contents`, which is what actually broke
     the mobile header: brand 97 + CTA 155 + search 44 + burger 26 + three gaps
     + the gutter needs 404px, and the phone is 375. The last item in the row -
     the search - was the one pushed off the edge.

     It carries the `.nav` class, so it is already a full-screen fixed layer
     that reveals itself with `.is-menu-open`. Left alone it lands in the burger
     overlay, which is where the brief asks for it. It only needs to stop
     painting its own `--ink` background over the links it is stacked above,
     and to stop swallowing taps meant for them. */
  .nav--tail{
    justify-content:flex-end; align-items:stretch;
    padding:0 var(--gutter) calc(22px + env(safe-area-inset-bottom, 0px));
    overflow:visible;
    background:none;
    pointer-events:none;
  }
  /* Full width at the foot of the list rather than a small pill floating in
     the dead space below it - that gap was most of what read as "uneven". */
  .nav--tail .nav__cta{
    pointer-events:auto;
    display:flex; align-items:center; justify-content:center;
    width:100%; min-height:52px;
  }
}

/* 45.3 · Fixes found by measuring the built header, not by eye.
   Two real defects, both introduced by adding a seventh nav item and a search
   box to a bar that already fitted exactly.

   1. The tile labels inherited --text, which is near-black ink, and the mega
      panel takes the header's dark treatment. Measured contrast was 1.19:1 -
      the names were there and invisible. They take the on-dark token, like
      .nav__sub beside them.
   2. Every one of the six top-level links wrapped to two lines and the header
      grew to 104px. The links now refuse to wrap and the row tightens, with the
      search box giving up width first since it can shrink without breaking. */
/* 45.4 · The tile labels had TWO panel treatments, because the panel had two.
   .nav__menu was cream by default and went dark only under
   `.header--invert:not(.header--pinned)`, so the labels had to follow it, and
   when round 4 set the homepage header to invert=False the panel went cream,
   the labels stayed cream, and seven category names rendered at about 1.05:1
   against their own background.

   Round 14 settles it: the mega panel is opaque espresso on every page at
   every scroll position, so there is one treatment and the pair of them
   collapses to this. The smaller `.nav__menu` list panel (no tiles) still
   follows the header, which is why the rules below are scoped to --mega. */
@media (min-width:901px){
  .nav__menu--mega .nav__tile-name{ color:var(--on-dark); }
  .nav__menu--mega .nav__tile-tag{ color:rgba(249,240,233,.78); }
  .nav__menu--mega .nav__tile:hover .nav__tile-name,
  .nav__menu--mega .nav__tile:focus-visible .nav__tile-name,
  .nav__menu--mega .nav__tile[aria-current] .nav__tile-name{ color:var(--copper-glow); }
  .nav__menu--mega .nav__tile:hover,
  .nav__menu--mega .nav__tile:focus-visible{
    background:rgba(249,240,233,.07); border-color:rgba(224,154,79,.34);
    transform:translateY(-2px);
  }
  .nav__menu--mega .nav__tile:hover .nav__tile-disc,
  .nav__menu--mega .nav__tile:focus-visible .nav__tile-disc{
    background:var(--amber); border-color:var(--amber); color:var(--bourbon); opacity:1;
  }

  /* `.header--dark .nav__menu` is two classes and would otherwise keep
     putting its translucent blur back under the opaque panel. Restated at
     matching weight rather than fought with !important. */
  .header--dark .nav__menu--mega{
    background:#1E1309;
    -webkit-backdrop-filter:none; backdrop-filter:none;
    border:1px solid rgba(224,154,79,.26);
    box-shadow:0 26px 64px rgba(0,0,0,.42), 0 2px 0 rgba(249,240,233,.04) inset;
  }

  /* The open item carries the same amber underline as the current page, so
     the bar says which panel is down. */
  .nav__group.is-open > .nav__link::after,
  .nav__group:hover > .nav__link::after{ transform:scaleX(1); }
  /* --copper-glow is 3.53:1 on the espresso bar: enough for an icon
     (3:1) and not for 12px text (4.5:1). The chevron below keeps it; the
     label takes amber. */
  .nav__group.is-open > .nav__link{ color:var(--amber); }

  /* Slide 5: a caret from the open item into its panel.
     Round 2: the panel is no longer anchored to the group that opened it, so
     the caret cannot be drawn on the panel any more - it would always point
     at the same spot. It moves onto the link, which is the one element that
     knows which menu is down. */
  .nav__group:has(.nav__menu--mega) > .nav__link::before{
    content:''; position:absolute; z-index:61;
    left:50%; bottom:-17px; translate:-50% 0;
    width:12px; height:12px; rotate:45deg;
    background:#1E1309;
    border-left:1px solid rgba(224,154,79,.26);
    border-top:1px solid rgba(224,154,79,.26);
    border-radius:2px 0 0 0;
    opacity:0; transition:opacity var(--t-base) var(--ease);
  }
  .nav__group.is-open > .nav__link::before,
  .nav__group:hover > .nav__link::before{ opacity:1; }

  /* The panel is laid against the header's content row rather than the group
     it belongs to, so that row has to be the containing block and the group
     must not be one. */
  .header__inner{ position:relative; }
  .nav__group:has(.nav__menu--mega){ position:static; }
}


@media (min-width:901px){
  .nav__link{ white-space:nowrap; }
  /* Was clamp(13px,1.5vw,26px), tightened when this bar carried SIX top-level
     links and they wrapped to two lines. Round 6 took it down to four, and
     the compression outlived its reason: at 1024px the gap measured 15.4px
     against a chevron that overhangs 18px, so each arrow sat 7px INSIDE the
     next label. Measured at 1024: the nav ends 61px short of the search
     field, so the room to undo it was already there. */
  .nav{ gap:clamp(26px,2.7vw,40px); }
  .header__inner{ gap:clamp(12px,1.6vw,28px); }
}
@media (min-width:901px) and (max-width:1320px){
  .nav__link{ font-size:var(--fs-micro); }
  .hsearch{ flex-basis:132px; }
  .hsearch__input{ font-size:var(--fs-micro); }
}

/* --------------------------------------------------------------------------
   46 · HOMEPAGE — the two ways in (round 3)
   The catalogue browses on two axes, so the homepage's first job after the
   hero is to let a visitor pick the one that matches how they already think.
   Two cards, then the shortcuts, then nothing else competing with them.
   -------------------------------------------------------------------------- */
.axis{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(14px,1.8vw,28px); }


/* 46.2 · Quality strip */

@media (max-width:760px){
  .axis{ grid-template-columns:1fr; }
}
/* The two cards are read against each other, so their headings must share a
   baseline. The bodies are bottom-anchored, so a note that wraps to three
   lines pushed its title up while the other stayed put. Reserving two lines
   holds the titles level at any width the copy happens to wrap at. */

/* --------------------------------------------------------------------------
   47 · CERTIFICATION MARKS
   Nothing renders these yet - tools/certifications.py holds an empty slot, by
   the client's instruction, until confirmed certificates and official logo
   files arrive. The styles exist so that when they do, the entry drops into
   the array and appears correctly with no further work, which was the whole
   point of building a slot rather than hard-coding marks later.
   -------------------------------------------------------------------------- */
.certs{ margin:0 0 1.6em; }
.certs__label{ margin:0 0 .6em; font-family:var(--sans); font-size:var(--fs-eyebrow);
  letter-spacing:.14em; text-transform:uppercase; color:var(--text-muted); }
.certs__list{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap;
  gap:clamp(12px,1.4vw,22px); align-items:center; }
.certs__item{ display:flex; align-items:center; gap:.55em;
  font-family:var(--sans); font-size:var(--fs-small); color:var(--text-body); }
.certs__item img{ width:40px; height:40px; object-fit:contain; display:block; }

/* --------------------------------------------------------------------------
   48 · SUBSCRIPTS
   None of the three brand faces carries U+2082, so "CO₂" rendered its 2 from
   whatever system serif the browser reached for - clearly visible beside
   Cormorant in a 40px heading. chrome.subscripts() sets them as <sub> instead,
   in the page's own typeface. The default UA style raises the line box, which
   would nudge headings out of their grid, so the offset is done with a
   transform and vertical-align is reset.
   -------------------------------------------------------------------------- */
sub{
  font-size:.62em;
  line-height:0;                 /* keep the parent's line box intact */
  vertical-align:baseline;
  display:inline-block;
  transform:translateY(.22em);
  letter-spacing:0;
}
/* Downloads under the product CTAs. Quiet: a buyer who wants the sheet looks
   for it, and it should not compete with Request a sample. */
/* Round 9 B4 put .pdp__note between the CTA and this link, and the -.6em was
   pulling the link up into the last line of it. The negative margin exists to
   tuck the link under the button, so it is only cancelled when a note is
   actually in between. */
.pdp__note + .pdp__dl{ margin-top:.4em; }
.pdp__dl{ margin:-.6em 0 1.6em; font-family:var(--sans); font-size:var(--fs-micro);
  color:var(--text-muted); }
.pdp__dl a{ color:var(--copper-on-panel); text-decoration:none;
  border-bottom:1px solid transparent; transition:border-color var(--t-base) var(--ease); }
.pdp__dl a:hover, .pdp__dl a:focus-visible{ border-bottom-color:currentColor; }

/* 44.1b · The breadcrumb must clear the fixed header.
   .header is position:fixed and transparent at rest, which is right for the
   pages that open with a full-bleed hero deliberately running underneath it.
   Every round-3 page opens with a breadcrumb instead, and it was sliding under
   the nav - the two sets of text overlapping directly. --header-h is measured
   by initCategoryNav() with a ResizeObserver; the fallback covers the case
   where that has not run yet.

   The added clearance is not decoration: --header-h is written from the
   header's PINNED height, which is shorter than it stands at rest, so leaning
   on the variable alone left a 2px gap at 1440 - close enough that a font swap
   or one more nav item would put the two back on top of each other. */
.crumb{ padding-top:calc(var(--header-h, 76px) + clamp(26px, 2.6vw, 42px)); }

/* ==========================================================================
   49 · (removed) BUILD tabs
   A tablist for switching between the finder and the configurator. One panel
   left, so no tabs.
   ========================================================================== */

/* ==========================================================================
   50 · HOMEPAGE — the journey, as film (round 6)
   --------------------------------------------------------------------------
   Round 4 built this as a 4x2 grid of six stills. Synthite supplied a hero
   video telling the same story, so the grid is gone and the video carries it.

   100svh, not 100vh: on a phone 100vh is the height the viewport has with the
   browser chrome RETRACTED, so a hero built to it starts a screen-and-a-bit
   tall and its bottom edge sits under the address bar.

   object-fit:cover on a 16:9 source in a portrait viewport crops hard to the
   sides. That is accepted rather than fought - the footage is centre-weighted,
   and letterboxing a hero is worse than cropping one.
   ========================================================================== */
/* A column, bottom-aligned, so the caption and the trust strip stack at the
   foot of the film as two flex items. The strip was absolutely positioned
   first and overlapped the CTA row by 19px at 1440 - padding the caption
   around it would have meant keeping two numbers in step by hand. */
.vhero{
  position:relative; isolation:isolate;
  /* Round 2, item 3: the header sits OVER this section, and the caption is
     bottom-aligned, so whenever the content is taller than the box the
     overflow goes upwards - under the header. At 1366x768 that put the
     eyebrow behind the nav, and on a phone it landed on the VANILLA
     wordmark. Reserving the header's height as padding means the first line
     of the caption can never be higher than the header's lower edge, at any
     viewport. */
  min-height:100svh;
  padding-top:var(--header-h, 76px);
  margin-top:0; display:flex; flex-direction:column; justify-content:flex-end;
  align-items:stretch;
  background:var(--ink); overflow:hidden;
}
.vhero__media{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; display:block; z-index:-2;
}
/* Small text over moving footage needs a real scrim, not a light gradient:
   the frame behind any given word changes eight seconds a loop, so the
   contrast has to hold for the worst frame, not the average one. */
.vhero__scrim{
  position:absolute; inset:0; z-index:-1;
  background:linear-gradient(to top,
    rgba(18,12,6,.88) 0%, rgba(18,12,6,.72) 34%,
    rgba(18,12,6,.42) 62%, rgba(18,12,6,.30) 100%);
}
.vhero__inner{
  position:relative; padding-block:clamp(26px,3.4vw,58px);
}
/* Round 2, item 30: this used to carry `max-width:min(var(--container),100%)`.
   There is no --container custom property on this site, so the declaration was
   invalid at computed-value time and max-width fell back to its initial value,
   `none` - which cancelled the `max-width:var(--maxw)` the .container class on
   the same element was supplying. The caption went full-bleed: at 1920 it
   started 72px from the window edge while the logo above it started at 352px.
   Deleting the line is the whole fix; .container was always right. */
.vhero__title{
  margin:.3em 0 0; color:var(--cream);
  /* 16ch wrapped "to your formulation." onto two lines, leaving "to your"
     stranded. The <br> in the markup already sets the break. */
  max-width:24ch;
  /* Item 38: the scrim is weakest at the top of the hero, so the first line
     sat on the brightest part of the film and read as a paler grey than the
     two below it. A shadow of the ground colour under all three lines evens
     them up without putting a panel behind the type. */
  text-shadow:0 1px 26px rgba(18,12,6,.72), 0 1px 3px rgba(18,12,6,.45);
}
.vhero__lede{
  margin:clamp(14px,1.6vw,22px) 0 0; max-width:54ch;
  font-size:clamp(.95rem,1.1vw,1.1rem); line-height:1.62;
  color:rgba(249,240,233,.88);
}

/* Round 14 section 4 - the two hero actions and the four marks below them. */
.vhero__cta{
  display:flex; flex-wrap:wrap; align-items:center;
  gap:clamp(14px,2vw,30px); margin-top:clamp(22px,2.6vw,34px);
}
.vhero__story{
  display:inline-flex; align-items:center; gap:.7em; min-height:44px;
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.11em;
  text-transform:uppercase; color:var(--cream); text-decoration:none;
  transition:color var(--t-base) var(--ease);
}
/* The rule is under the WORDS only: the play mark beside them is a circle,
   and a line struck under a circle reads as a mistake rather than a link.
   Round 2, item 44: it was a border plus .35em of padding-bottom, which made
   the span's box taller than its line and pushed the flex row's centre down,
   so the play mark rendered below the words and crossed the rule. A real
   underline with an offset puts the line in the same place without changing
   the box, and align-items:center then lands the circle on the text. */
.vhero__story-t{
  text-decoration:underline;
  text-decoration-color:rgba(249,240,233,.45);
  text-decoration-thickness:1px;
  text-underline-offset:.42em;
  transition:text-decoration-color var(--t-base) var(--ease);
}
/* Round 3, item 8: one circle, the triangle optically centred inside it, the
   whole mark vertically centred against the words with 10-12px between them.
   `align-items:center` on .vhero__story does the centring; the gap is the
   flex gap. Nothing else in this link draws a circle - see the report for the
   second, offset circle in Synthite's screenshot, which is iOS's own control
   for a video it declined to autoplay rather than anything the page paints. */
.vhero__story .ico{
  width:27px; height:27px; max-width:none; flex:none;
  color:var(--amber); transition:transform var(--t-base) var(--ease);
}
.vhero__story:hover{ color:var(--amber-soft); }
.vhero__story:hover .vhero__story-t{ text-decoration-color:var(--amber-soft); }
.vhero__story:hover .ico{ transform:scale(1.08); }

.trust{
  position:relative; z-index:1; flex:none;
  padding-block:clamp(16px,2vw,26px);
  border-top:1px solid rgba(249,240,233,.16);
}
.trust__row{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(14px,2vw,30px);
}
.trust__item{
  display:flex; align-items:flex-start; gap:.8em; min-width:0;
}
.trust__item + .trust__item{
  padding-left:clamp(14px,2vw,30px);
  border-left:1px solid rgba(249,240,233,.16);
}
.trust__item .ico{ width:24px; height:24px; max-width:none; flex:none;
  color:var(--amber); margin-top:.1em; }
.trust__t{
  margin:0; font-family:var(--serif); font-weight:700;
  font-size:clamp(1.125rem,.95vw,1.1875rem); line-height:1.25; color:var(--cream);
}
.trust__d{
  margin:.25em 0 0; font-family:var(--read); font-weight:300;
  font-size:clamp(.9375rem,.8vw,1rem); line-height:1.45;
  color:rgba(249,240,233,.88);
}
/* 2x2 on tablet, one column on a phone. */
@media (max-width:1080px){
  .trust__row{ grid-template-columns:repeat(2,1fr); row-gap:clamp(16px,2.6vw,24px); }
  .trust__item:nth-child(odd){ padding-left:0; border-left:0; }
}
@media (max-width:620px){
  .trust__row{ grid-template-columns:1fr; }
  .trust__item{ padding-left:0; border-left:0; }
  .trust__item + .trust__item{
    padding-left:0; border-left:0;
    padding-top:clamp(13px,3vw,18px); border-top:1px solid rgba(249,240,233,.14);
  }
}

/* Round 2, item 44: on a phone the two actions stack, the button full width.
   Round 3, item 8 gives the whole caption its measured rhythm - the hero was
   packed too tightly on a 390px iPhone, and these are the five gaps Synthite
   asked for, written as the five margins that produce them rather than left
   to the desktop clamps. */
@media (max-width:620px){
  /* The 32px below is the LAST of the five gaps, so the hero's own bottom
     padding has to get out of its way - 26px of padding-block plus the 32px
     margin measured 58px between the story link and the feature list's rule. */
  .vhero__inner{ padding-bottom:0; }
  .vhero__inner .kicker{ margin-bottom:12px; }   /* eyebrow -> headline   */
  .vhero__title{ margin-top:0; margin-bottom:16px; } /* headline -> copy  */
  .vhero__lede{ margin-top:0; margin-bottom:24px; }  /* copy -> button    */
  .vhero__cta{
    display:grid; grid-template-columns:1fr; gap:20px;  /* button -> story */
    justify-items:stretch; margin-top:0; margin-bottom:32px; /* -> list   */
  }
  .vhero__cta .btn{ width:100%; justify-content:center; }
  .vhero__story{ justify-content:flex-start; }
  /* Item 8: "If the hero then no longer fits on one screen, let the feature
     list start below the fold. Do not shrink the text." The hero is sized by
     its content here rather than held to one screen. */
  .vhero{ min-height:0; }
}

/* Only appears when the browser refused autoplay (see initHeroVideo). */
.vhero__play{
  position:absolute; z-index:2; left:50%; top:50%; transform:translate(-50%,-50%);
  display:inline-flex; align-items:center; gap:.6em;
  min-height:48px; padding:.7em 1.3em;
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.09em;
  text-transform:uppercase; color:var(--ink);
  background:rgba(249,240,233,.94); border:0; border-radius:100px;
  cursor:pointer; box-shadow:0 6px 24px rgba(18,12,6,.35);
  transition:transform var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.vhero__play:hover{ background:var(--cream-hi); transform:translate(-50%,-50%) scale(1.03); }
.vhero__play:active{ transform:translate(-50%,-50%) scale(.98); }
.vhero__play svg{ width:16px; height:16px; }
.vhero__play[hidden]{ display:none; }
/* Round 2, item 44. On an iPhone this pill landed on top of "Explore our
   range" and "Our vanilla story": it is a pointer affordance, and a touch
   screen has no pointer to follow. Hidden outright below the hover query -
   `Our vanilla story` already offers the film, so nothing is lost. */
@media not all and (hover: hover) and (pointer: fine){
  .vhero__play{ display:none !important; }
}

/* Reduced motion: the poster stays, the film does not play. main.js also
   refuses to call play(); this is the half that works without JavaScript. */
@media (prefers-reduced-motion: reduce){
  .vhero__media{ display:none; }
  .vhero__play{ display:none; }   /* nothing to play back into */
  .vhero{ background:var(--ink) url(../img/journey-poster.jpg) center/cover no-repeat; }
}

/* ==========================================================================
   51 · PAGE TRANSITIONS — native, no JavaScript (round 5)
   --------------------------------------------------------------------------
   Cross-document view transitions. The browser takes a snapshot of the page
   being left, a snapshot of the page arriving, and animates between them; no
   router, no link interception, nothing added to the payload.

   Browsers without it navigate exactly as before - there is no fallback path
   to maintain and nothing to break. That is the whole reason for choosing it
   over a JS layer: the failure mode of a script that swallows every click is
   a site that stops navigating, and this cannot fail that way.

   The header and footer carry names of their own, so they are treated as the
   same element on both pages and hold still while the content moves. Without
   that they crossfade with everything else and the whole page appears to
   flicker on every click.
   ========================================================================== */
@view-transition { navigation: auto; }

::view-transition-old(root),
::view-transition-new(root){
  animation-duration:var(--t-base);
  animation-timing-function:var(--ease);
  animation-fill-mode:both;
}
::view-transition-old(root){ animation-name:nv-page-out; }
::view-transition-new(root){ animation-name:nv-page-in; }
@keyframes nv-page-out{ to{ opacity:0; transform:translateY(-6px); } }
@keyframes nv-page-in { from{ opacity:0; transform:translateY(10px); } }

/* Chrome persists across the navigation rather than crossfading with it. */
.header{ view-transition-name:nv-header; }
.footer{ view-transition-name:nv-footer; }

@media (prefers-reduced-motion: reduce){
  @view-transition { navigation: none; }
}

/* ==========================================================================
   52 · MICRO-INTERACTIONS (round 5)
   --------------------------------------------------------------------------
   The site animated on scroll and did almost nothing on touch: a button
   looked the same pressed as at rest. These are the states a pointer or a
   finger produces, and they are deliberately the fastest tier on the scale -
   90ms - because feedback that lags the finger reads as the page being
   broken, not as the page being elegant.

   Everything here animates transform and opacity only. Both are composited,
   so none of it costs a layout or a paint, which is what the scroll-lag
   complaint was about in the first place.
   ========================================================================== */
.btn, .nav__cta{
  transition:transform var(--t-tap) var(--ease),
             background-color var(--t-fast) var(--ease),
             color var(--t-fast) var(--ease),
             box-shadow var(--t-fast) var(--ease);
}
.btn:active, .nav__cta:active{ transform:translateY(1px) scale(.985); }

/* Cards lift on hover and sink on press. The image inside creeps the other
   way, which is what makes a flat rectangle read as a window. */
.cat, .nav__tile, .pcard{
  transition:transform var(--t-base) var(--ease),
             box-shadow var(--t-base) var(--ease);
}
.cat:active, .nav__tile:active, .pcard:active{ transform:translateY(0) scale(.994); }

/* Chips and filter buttons: a tap tier of their own. */
.filters button, .pnav a{
  transition:background-color var(--t-fast) var(--ease),
             border-color var(--t-fast) var(--ease),
             color var(--t-fast) var(--ease),
             transform var(--t-tap) var(--ease);
}
.filters button:active{
  transform:scale(.97);
}

/* The arrow in an arrow-link travels on hover rather than just colouring. */
.arrow-link::after, .arrow-link svg{
  transition:transform var(--t-base) var(--ease-emph);
}
.arrow-link:hover::after, .arrow-link:hover svg{ transform:translateX(5px); }

/* Form fields: the ring arrives rather than appearing. */
input, select, textarea{
  transition:border-color var(--t-fast) var(--ease),
             box-shadow var(--t-fast) var(--ease),
             background-color var(--t-fast) var(--ease);
}

/* Focus rings are never animated away from a keyboard user: the ring has to
   be there the instant focus lands, so only the colour eases, not the box. */
:focus-visible{ transition:outline-color var(--t-fast) var(--ease); }

@media (prefers-reduced-motion: reduce){
  .btn:active, .nav__cta:active, .cat:active, .nav__tile:active,
  .pcard:active, .filters button:active{ transform:none; }
  .arrow-link:hover::after, .arrow-link:hover svg{ transform:none; }
}

/* ==========================================================================
   53 · PACK SIZES (round 5)
   --------------------------------------------------------------------------
   Was a gallery of thumbnails, one per pack size, because the drawn pack shots
   printed the size on their label and so each one was a different picture.
   Synthite's photography is one frame per product, so the gallery would have
   been four identical thumbnails that did nothing when clicked. The sizes are
   read here instead of browsed.
   ========================================================================== */
.pdp__sizes{
  display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 0; padding:0;
  list-style:none;
}
.pdp__sizes li{
  font-family:var(--sans); font-size:var(--fs-small); line-height:1; color:var(--ink);
  padding:7px 12px; border:1px solid var(--line); border-radius:999px;
  background:var(--cream-hi); white-space:nowrap;
}

/* 51. The sample request names what it is for
   ---------------------------------------------------------------------------
   Product pages have always linked to /contact/ with ?product=, and round 5
   adds ?spec= carrying the fold and carrier set on the configurator. Shown
   back to the visitor so the request they are about to send is visibly the
   one they configured, rather than a blank form that happens to know. */
.cform__about{
  margin:-.6em 0 1.4em; font-family:var(--sans); font-size:var(--fs-small);
  letter-spacing:.02em; color:var(--text-dim);
}
.cform__about b{ color:var(--copper); font-weight:600; }

/* 52. Continuous strength scale (round 5)
   ---------------------------------------------------------------------------
   The pre-round-5 slider had one notch per catalogued grade, so the marks
   could be laid out with space-between and be truthful. The scale is now
   continuous, and the marks sit at the strengths Synthite actually stocks -
   1x, 2x, 4x, 5x, 15x on a 1-20x bar. Spacing those evenly would draw 15x at
   the same distance from 5x as 2x is from 1x, which misreads the scale, so
   each mark is placed at its own value. */
/* Round 2, item 14. Evenly spaced stops with a tick above each label, all on
   one row. The row is inset by half the thumb so a label sits exactly under
   the handle when it stops there. */
.pstrength__ticks--span{
  position:relative; display:block; height:2.1em;
  margin-inline:11px;                 /* half the 22px thumb */
}
.pstrength__ticks--span .pstick{
  position:absolute; top:0; transform:translateX(-50%); white-space:nowrap;
  padding-top:9px; line-height:1.3;
  font-variant-numeric:lining-nums tabular-nums;
  transition:color var(--t-fast) var(--ease);
}
.pstrength__ticks--span .pstick::before{
  content:''; position:absolute; left:50%; top:0; translate:-50% 0;
  width:1px; height:6px; background:var(--line);
}
.pstrength__ticks--span .pstick.is-on{ color:var(--copper); font-weight:500; }
.pstrength__ticks--span .pstick.is-on::before{ background:var(--copper); height:8px; }

/* 53. Origins we cannot ship from today
   ---------------------------------------------------------------------------
   An origin with no SKU behind it still earns its place on the page - the
   sourcing story is real - but it should not read as something you can order
   this week. Desaturated rather than dimmed: dropping opacity would take the
   text with it and the descriptors still have to be legible. */
.origin--request .origin__media{ filter:grayscale(1) contrast(.92); }
.origin--request .origin__media img{ opacity:.72; }
.origin__tag{
  display:inline-block; margin-left:.6em; vertical-align:middle;
  font-family:var(--sans); font-size:.6em; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase;
  color:var(--copper); border:1px solid currentColor;
  padding:.28em .6em; border-radius:2px; white-space:nowrap;
}
.origin--request .obar__fill{ filter:grayscale(.85); }

/* 54. The range under the story video (round 6, resized 7, realigned 8)
   ---------------------------------------------------------------------------
   Seven destinations - six categories and NeoVanil - as 4 over 3.

   This was a grid with `margin-left:50%` on items 5-7 to centre the second
   row. That is wrong twice over: a margin on a grid item is taken out of its
   own track, so those three rendered at HALF the width of the row above, and
   the offset was a fixed half-column rather than true centring.

   Flex wrap does the job properly. The container is sized to exactly four
   orbs plus their three gaps, so seven items always break 4 + 3, and
   justify-content centres each row on its own - the short row lands under the
   middle of the long one at every width, and every orb is the same size. */
.hrange{ padding-block:clamp(2.6rem,6vw,4rem); background:var(--cream); }
/* Centred over the orbs. Left-aligned at the container edge the eyebrow read
   as a stray label beside a centred row, with nothing above the first orb
   and a long empty gap to its left.

   Round 14 section 5 adds the amber rule and the serif line under it, so the
   eyebrow is now a kicker proper and .hrange__t is the heading it introduces. */
.hrange__k{
  margin:0 auto; text-align:center;
  font-size:clamp(.82rem,1.15vw,1rem); letter-spacing:.26em;
}
.hrange__rule{
  display:block; width:38px; height:2px; margin:.95rem auto 0;
  background:var(--amber); border-radius:2px;
}
.hrange__t{
  margin:.95rem auto clamp(2.2rem,3.6vw,3.2rem); text-align:center;
  max-width:22ch;
}
/* Three lines deep now rather than one, so the row below needs the room. */
.hrange__grid{ margin-top:0; }
.hrange__grid{
  --orb:clamp(104px,12.4vw,168px);
  --orb-gap:clamp(1.1rem,2.8vw,2.4rem);
  display:flex; flex-wrap:wrap; justify-content:center; align-items:flex-start;
  gap:clamp(1.7rem,3.4vw,2.8rem) var(--orb-gap);
  max-width:calc(4 * var(--orb) + 3 * var(--orb-gap));
  margin-inline:auto;
}
.orb{
  width:var(--orb); flex:0 0 auto;
  display:flex; flex-direction:column; align-items:center; gap:.75rem;
  text-decoration:none;
}
/* Two lines of descriptor and a circular arrow under each name. The tag is
   clamped to two lines so a long one cannot push its orb out of line with
   the six beside it. */
.orb__tag{
  font-family:var(--read); font-weight:300;
  font-size:clamp(.875rem,.82vw,.9375rem); line-height:1.45;
  color:var(--text-muted); text-align:center; margin-top:-.3rem;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden;
}
.orb__go{
  width:30px; height:30px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line); color:var(--copper); margin-top:.1rem;
  transition:background var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
             color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.orb__go svg{ width:14px; height:14px; max-width:none; }
.orb:hover .orb__go, .orb:focus-visible .orb__go{
  background:var(--amber); border-color:var(--amber); color:var(--bourbon);
  transform:translateY(-1px);
}
/* The clamp keeps seven orbs on one baseline when they sit four across. Two
   across on a phone the orb is 104px and the longest tags - "Ground,
   spray-dried and encapsulated", "Bean character, fermentation strength" -
   need three lines, so two clipped them to "Ground, spray-dried and...".
   Each row auto-sizes at that width, so a third line costs nothing. */
@media (max-width:620px){
  .orb__tag{ -webkit-line-clamp:3; }
}
/* The circle stays put and the photograph moves inside it. Lifting the whole
   orb shifted the label with it and softened the mask edge mid-transition;
   scaling the image against a fixed round window keeps the edge crisp and
   nothing on the row changes position. */
.orb__img{
  display:block; width:100%; aspect-ratio:1; border-radius:50%;
  overflow:hidden; background:var(--amber-soft);
  transition:box-shadow var(--t-base) var(--ease);
}
.orb__img img{
  width:100%; height:100%; object-fit:cover; display:block;
  transform:scale(1); transform-origin:50% 50%;
  transition:transform var(--t-slow) var(--ease-emph);
}
.orb__name{
  font-family:var(--sans); font-size:clamp(1rem,1.1vw,1.0625rem); font-weight:600;
  letter-spacing:.02em; text-align:center; line-height:1.35;
  color:var(--ink); text-wrap:balance;
}
.orb:hover .orb__img, .orb:focus-visible .orb__img{
  box-shadow:0 10px 26px rgba(34,26,15,.16);
}
.orb:hover .orb__img img, .orb:focus-visible .orb__img img{ transform:scale(1.07); }
.orb:focus-visible{ outline:2px solid var(--copper); outline-offset:4px; border-radius:6px; }
@media (prefers-reduced-motion:reduce){
  .orb__img, .orb__img img{ transition:none; }
  .orb:hover .orb__img img, .orb:focus-visible .orb__img img{ transform:none; }
  /* The entrance is a GSAP tween, so it is cleared in JS as well - this only
     covers the case where the row is already visible and never animates. */
  .hrange__grid .orb{ opacity:1 !important; transform:none !important; }
}

/* 55. Catalogue download gate (round 6)
   ---------------------------------------------------------------------------
   Built by main.js on the first click rather than shipped hidden on 54 pages.
   Deliberately small: it stands between someone and a file they have already
   decided they want, so it asks for one field and gets out of the way. */
.cgate{
  position:fixed; inset:0; z-index:200; display:grid; place-items:center;
  padding:24px; background:rgba(34,26,15,.62);
  animation:cgate-in var(--t-fast) var(--ease) both;
}
@keyframes cgate-in{ from{ opacity:0 } to{ opacity:1 } }
.cgate__box{
  position:relative; width:min(420px,100%); max-height:88vh; overflow:auto;
  background:var(--cream); color:var(--ink);
  padding:clamp(1.6rem,4vw,2.2rem); border-radius:3px;
  box-shadow:0 24px 60px rgba(34,26,15,.34);
}
.cgate__x{
  position:absolute; top:.5rem; right:.7rem; background:none; border:0;
  font-size:1.6rem; line-height:1; color:var(--text-dim); cursor:pointer;
  padding:.2em .3em;
}
.cgate__x:hover{ color:var(--ink); }
.cgate__t{ font-family:var(--serif); font-size:1.5rem; font-weight:700; margin:.3em 0 .5em; }
.cgate__lede{ font-size:var(--fs-base); color:var(--text-body); margin:0 0 1.3em; }
.cgate__form{ display:flex; flex-direction:column; gap:.9rem; }
.cgate__field{ display:flex; flex-direction:column; gap:.32rem; }
.cgate__field span{
  font-family:var(--sans); font-size:var(--fs-eyebrow); font-weight:600;
  letter-spacing:.1em; text-transform:uppercase; color:var(--text-dim);
}
.cgate__field input{
  font:inherit; padding:.62em .7em; border:1px solid var(--rule-strong,#cdbfae);
  background:#fff; color:var(--ink); border-radius:2px;
}
.cgate__field input:focus-visible{ outline:2px solid var(--copper); outline-offset:1px; }
.cgate__field input[aria-invalid="true"]{ border-color:#B3261E; }
.cgate__err{ margin:0; font-size:var(--fs-small); color:#B3261E; }
.cgate__fine{ margin:.2em 0 0; font-size:var(--fs-micro); color:var(--text-dim); }
@media (prefers-reduced-motion:reduce){ .cgate{ animation:none } }

/* 56. Crowded scale marks (round 7)
   ---------------------------------------------------------------------------
   Vanilla Absolute is catalogued at 5, 20 and 21% on a 4-21% scale, so two of
   its marks sit within a label's width of each other. The positions are right
   - that is where those grades are - so the fix is vertical, not horizontal:
   a label that would collide drops to a second line and keeps its true x. */
/* The drop has to clear the line box above it, and 1.45em did not: at 11.2px
   the labels are 18.1px tall and the offset was 16.24px, so every dropped
   label sat 1.9px inside the one it was avoiding. Pinning line-height makes
   the em arithmetic predictable instead of leaving it to the inherited value.

   Round 12 replaced this on phones entirely - see the max-width:700px block.
   Two rows still read as a glitch, and on the seven-mark oleoresin scale they
   were not even enough: alternating between two rows cannot separate three
   marks that sit close together, so one pair still overlapped. */
/* Round 2 item 14 made every gap the same width, so the two-row fallback that
   used to carry the bunched-up low end is no longer needed. */

@media (max-width:700px){
  /* Round 12 item 4. The label sat 8px off the top and bottom edges, which
     reads as cramped once the button is full width. */
  .footer__col--contact .btn{ padding:.95em 1.6em; }
  .pdp__cta .btn{ padding:.95em 1.6em; min-height:48px; }

  /* Round 12 item 6. The link carries margin-top:-.6em so it tucks under the
     CTA on desktop. On a phone that pulled it hard against whatever sits
     above - the note on an on-request product, the button everywhere else -
     and left the section below it tight. Even spacing on both sides instead,
     everywhere it appears. */
  .pdp__dl, .pdp__note + .pdp__dl{ margin:1.5em 0 1.8em; }
}

/* Round 12 item 3 - the phone treatment, and it has to sit AFTER the rules
   above rather than up with the other mobile work: a media query adds no
   specificity, so the 3.5em height and the 1.8em drop declared here were
   beating an identical selector written earlier in the file, and the first
   attempt at this changed nothing.

   Only the two endpoints keep their text; every standard grade in between
   becomes a tick on the track. That removes the stacking outright instead of
   dodging it, and it holds for any number of marks - the oleoresin scale has
   seven, and two rows were not enough to separate them.

   The marks themselves must survive, because the note underneath says
   "Standard grades are marked on the scale". They are drawn as a rule on
   ::before, so the label collapses to font-size:0 and the mark stays put. The
   selected grade is already named in full above the slider. */
@media (max-width:700px){
  /* Item 14: "the labels must not overlap at 375px; show fewer labels if
     needed". Every other label is dropped on a scale with more than six
     stops; its tick stays, so the scale still reads as the same scale. */
  .pstrength__ticks--span .pstick.is-dense{ font-size:0; }
  .pstrength__ticks--span .pstick.is-dense::before{ top:0; }
}

/* --------------------------------------------------------------------------
   48 · PORTFOLIO LANDING - round 14 section 7
   The full-height hero is gone; this is the compact intro that replaced it,
   the seven range cards, and the four benefits beneath them.
   -------------------------------------------------------------------------- */
.pintro{ padding-top:calc(var(--header-h, 76px) + clamp(30px,4vw,56px)); }
.pintro__k{ display:flex; align-items:center; gap:.8em; margin:0; }
.pintro__dash{ display:block; width:28px; height:1px; background:var(--copper); flex:none; }
.pintro__h{ margin:.42em 0 0; }
.pintro__lede{
  margin:.5em 0 0; max-width:62ch;
  font-family:var(--serif); font-size:clamp(1.02rem,1.5vw,1.32rem); line-height:1.4;
  color:var(--text-body);
}
.pintro__list{
  margin:.75em 0 clamp(26px,3.2vw,42px); max-width:76ch;
  font-family:var(--read); font-weight:300; font-size:var(--fs-base); line-height:1.6;
  color:var(--text-muted);
}

/* 4 + 3. The seventh card sits on the second row under the first three, the
   way the mockup shows, rather than stretching to fill the width. */
.rcard-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(14px,1.5vw,22px);
}
.rcard{
  position:relative; display:block; isolation:isolate; overflow:hidden;
  /* Round 2, item 31: these were 240px tall with a scrim over about 60% of
     the card, so the photograph was almost invisible - the point of a card
     that is mostly photograph. 340-380px, as the mockup shows. */
  min-height:clamp(300px,27vw,380px); border-radius:14px;
  text-decoration:none; color:var(--cream);
  transition:transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.rcard__bg{ position:absolute; inset:0; z-index:-2; display:block; }
.rcard__bg img{ width:100%; height:100%; object-fit:cover; display:block;
  transition:transform var(--t-slow) var(--ease); }
.rcard:hover .rcard__bg img{ transform:scale(1.05); }
/* The gradient has to hold three lines of body copy, not just a title, so it
   carries further up the card than a title scrim would. */
.rcard__scrim{
  position:absolute; inset:0; z-index:-1;
  /* Item 31: the ink still has to carry three lines of copy at the foot, so
     the bottom stops are unchanged; the top half is lifted off the picture.
     The text block sits below 55% of a 340px card, so nothing above it needs
     the scrim at all. */
  background:linear-gradient(to top,
    rgba(16,10,5,.93) 0%, rgba(16,10,5,.78) 30%,
    rgba(16,10,5,.26) 60%, rgba(16,10,5,0) 86%);
}
.rcard__body{
  position:absolute; left:0; right:0; bottom:0;
  display:block; padding:clamp(14px,1.4vw,20px) clamp(15px,1.5vw,22px)
                         clamp(17px,1.7vw,24px);
}
.rcard__title{
  display:block; font-family:var(--serif); font-weight:700;
  font-size:clamp(1.02rem,1.3vw,1.24rem); line-height:1.2;
}
.rcard__lede{
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
  overflow:hidden; margin-top:.45em;
  font-family:var(--read); font-weight:300; font-size:var(--fs-micro); line-height:1.45;
  color:rgba(249,240,233,.78);
}
/* The short descriptor, shown instead of the lede on a narrow card. See the
   720px block below. */
.rcard__tag{ display:none; }
.rcard__foot{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-top:.95em;
}
.rcard__go{
  display:inline-flex; align-items:center; gap:.5em; min-width:0;
  font-family:var(--sans); font-size:var(--fs-eyebrow); letter-spacing:.1em;
  text-transform:uppercase; color:var(--amber);
}
.rcard__go .ico-arrow{ width:13px; height:13px; max-width:none; flex:none;
  transition:transform var(--t-base) var(--ease); }
.rcard:hover .rcard__go .ico-arrow{ transform:translateX(4px); }
.rcard__disc{
  width:28px; height:28px; border-radius:50%; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(249,240,233,.4); color:var(--cream);
  transition:background var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
             color var(--t-base) var(--ease);
}
.rcard__disc svg{ width:14px; height:14px; max-width:none; }
.rcard:hover .rcard__disc{
  background:var(--amber); border-color:var(--amber); color:var(--bourbon); }
/* The index colour, set per card from --accent in the markup. */
.rcard__bar{
  position:absolute; left:0; right:0; bottom:0; height:3px;
  background:var(--accent, var(--copper));
}
.rcard:hover{ transform:translateY(-3px); box-shadow:0 16px 40px rgba(34,26,15,.18); }
.rcard:focus-visible{ outline:2px solid var(--copper); outline-offset:3px; }

/* The four benefits. Icons in soft amber discs, one line each. */
.bene{ background:var(--panel); padding-block:clamp(30px,3.6vw,52px); }
.bene__row{
  display:grid; grid-template-columns:repeat(4,1fr); gap:clamp(18px,2.4vw,38px);
}
.bene__item + .bene__item{
  padding-left:clamp(18px,2.4vw,38px); border-left:1px solid var(--line-soft);
}
.bene__ico{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  background:var(--amber-wash); color:var(--copper); margin-bottom:.9em;
}
.bene__ico .ico{ width:21px; height:21px; max-width:none; }
.bene__t{ margin:0; font-family:var(--serif); font-weight:700;
  font-size:clamp(1.125rem,1.05vw,1.1875rem); line-height:1.25; color:var(--text); }
.bene__d{ margin:.4em 0 0; font-family:var(--read); font-weight:300;
  font-size:var(--fs-small); line-height:1.5; color:var(--text-muted); }

@media (max-width:1080px){
  .rcard-grid{ grid-template-columns:repeat(3,1fr); }
  .bene__row{ grid-template-columns:repeat(2,1fr); row-gap:clamp(20px,3vw,30px); }
  .bene__item:nth-child(odd){ padding-left:0; border-left:0; }
}
@media (max-width:720px){
  .rcard-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .rcard{ min-height:240px; }
  /* Two cards across, the card is 161px, and a 90-character lede clamped to
     two lines truncated on all seven - "Bean-derived character carrying
     th...". The short descriptor says a whole thing in the space there is,
     so it takes over here rather than shipping seven cut sentences.
     (.cat__body does the same thing on the category cards, by hiding.) */
  .rcard__lede{ display:none; }
  .rcard__tag{
    display:block; margin-top:.45em;
    font-family:var(--read); font-weight:300; font-size:var(--fs-micro); line-height:1.4;
    color:rgba(249,240,233,.78);
  }
  .rcard__disc{ width:26px; height:26px; }
  /* "Explore co2 & absolutes" needed 146px inside a 132px foot, so the flex
     row overflowed and the label broke across two lines in the wrong order.
     The card's own title already names the category at this width. */
  .rcard__go-cat{ display:none; }
}
@media (max-width:420px){
  .bene__row{ grid-template-columns:1fr; }
  .bene__item{ padding-left:0; border-left:0; }
  .bene__item + .bene__item{ padding-top:clamp(16px,4vw,22px);
    border-top:1px solid var(--line-soft); }
}

/* --------------------------------------------------------------------------
   49 · CATEGORY LISTING - round 14 section 8
   The template for all six category pages: light banner, horizontal filter
   bar, four-across grid, and the editorial block as two columns with the
   photograph bleeding off the right edge.
   -------------------------------------------------------------------------- */
.cbanner{
  position:relative; overflow:hidden; isolation:isolate;
  background:var(--cream-hi);
  padding-block:clamp(26px,3.4vw,46px) clamp(30px,3.8vw,52px);
}
.cbanner__inner{ position:relative; z-index:1; }
.cbanner__text{ max-width:52ch; }
.cbanner .kicker{ display:flex; align-items:center; gap:.8em; margin:0; }
.cbanner__dash{ display:block; width:28px; height:1px; background:var(--copper); flex:none; }
.cbanner__h{ margin:.34em 0 0; color:var(--ink); }
.cbanner__lede{
  margin:.6em 0 0; max-width:48ch;
  font-family:var(--read); font-weight:300;
  font-size:clamp(1rem,1.1vw,1.0625rem); line-height:1.6; color:var(--text-body);
}
/* The photograph is a wash behind the type, not a panel beside it: it fades
   out before it reaches the text so the heading always sits on flat cream,
   whatever the category's image happens to be. */
.cbanner__img{
  position:absolute; inset:0 0 0 auto; z-index:0;
  width:min(54%, 760px); display:block; pointer-events:none;
  -webkit-mask-image:linear-gradient(to right, transparent 0%, #000 42%, #000 100%);
  mask-image:linear-gradient(to right, transparent 0%, #000 42%, #000 100%);
}
.cbanner__img img{ width:100%; height:100%; object-fit:cover; display:block; }

/* The filter bar. .shop was a 230px sidebar plus a grid; it is one column
   now, with the controls in a row above the products. */
.shop{ display:block; }
/* .shop__side holds two children: the <form> of pills and the sort/count
   group beside it. The group's own margin-left:auto had nothing to push
   against while the side was a block, so it wrapped to a second row. */
.shop__side{
  align-self:auto;
  display:flex; flex-wrap:wrap; align-items:center; gap:10px clamp(14px,2vw,26px);
  padding-bottom:clamp(14px,1.6vw,20px); border-bottom:1px solid var(--line-soft);
}
.shop__side > .filters{ flex:1 1 auto; min-width:0; }
.fbar{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px 14px;
  position:static; padding:0; border:0; background:none;
}
.fbar .filters__head{
  margin:0; flex:none;
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.08em;
  color:var(--text-body);
}
.fbar__pills{ display:flex; flex-wrap:wrap; gap:8px; }
.fpill{ position:relative; }
.fpill__btn{
  display:inline-flex; align-items:center; gap:.55em; cursor:pointer;
  min-height:38px; padding:.42em 1em; border-radius:999px;
  border:1px solid var(--line); background:var(--cream-hi);
  font-family:var(--sans); font-size:var(--fs-micro); color:var(--text-body);
  list-style:none; white-space:nowrap;
  transition:border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.fpill__btn::-webkit-details-marker{ display:none; }
.fpill__btn svg{ width:10px; height:6px; max-width:none; flex:none; opacity:.7;
  transition:transform var(--t-base) var(--ease); }
.fpill[open] > .fpill__btn{ border-color:var(--copper); background:var(--panel); }
.fpill[open] > .fpill__btn svg{ transform:rotate(180deg); }
.fpill__btn:hover{ border-color:var(--copper); }
.fpill__menu{
  position:absolute; z-index:40; top:calc(100% + 7px); left:0; min-width:210px;
  margin:0; padding:10px 6px; border:1px solid var(--line); border-radius:12px;
  background:var(--cream-hi); box-shadow:0 18px 44px rgba(34,26,15,.15);
}
.fbar__right{
  display:flex; align-items:center; gap:clamp(12px,1.6vw,22px); margin-left:auto;
}
.shop__sort{ display:inline-flex; align-items:center; gap:.6em;
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.06em;
  color:var(--text-muted); white-space:nowrap; }
.shop__count{ margin:0; font-family:var(--sans); font-size:var(--fs-micro);
  color:var(--text-muted); white-space:nowrap; font-variant-numeric:tabular-nums; }
.shop__side{ margin-bottom:clamp(18px,2.2vw,30px); }

/* Four across, not auto-fill: the mockup shows a fixed 4 / 3 / 2 ladder, and
   auto-fill at minmax(190px) gave five columns on a wide screen. */
.sgrid{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.scard__foot{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:0 clamp(12px,1.2vw,16px) clamp(12px,1.2vw,16px);
}
.scard__act{ padding:0; }
/* On an on-request card the action is a link to the enquiry, not a label on
   a card that goes somewhere else. It needs the underline a link gets - and
   a 44px target, which it did not have at 36px when first written. */
a.scard__act--go{ color:var(--copper); text-decoration:none;
  display:inline-flex; align-items:center; min-height:44px;
  border-bottom:0;
  /* Above the card-wide overlay (item 9), so asking for a sample does not
     also open the product page underneath it. */
  position:relative; z-index:2; }
a.scard__act--go > span, a.scard__act--go{ text-underline-offset:.3em; }
a.scard__act--go{ text-decoration:underline; text-decoration-color:rgba(156,86,40,.42); }
a.scard__act--go:hover{ border-color:var(--copper); }
.scard__disc{
  width:28px; height:28px; border-radius:50%; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line); color:var(--copper);
  transition:background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
             color var(--t-fast) var(--ease);
}
.scard__disc svg{ width:14px; height:14px; max-width:none; }
.scard:hover .scard__disc{
  background:var(--amber); border-color:var(--amber); color:var(--bourbon); }

/* "From the pod" and its siblings: heading left, body and pull quote right,
   with a rule between them.

   Round 2 item 16 removed the photograph that used to bleed off the right of
   this section: there is one picture per category on disk, so it was the
   banner from the top of the same page, repeated. With it goes the 220-460px
   of right padding that was holding the text clear of it - otherwise the
   section keeps an empty right-hand third and the removal just looks like a
   missing image. */
.pod{ position:relative; }
.pod__inner{
  position:relative; z-index:1;
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.55fr);
  gap:clamp(22px,3vw,52px); align-items:start;
}
.pod__title{ margin:.35em 0 0; font-size:clamp(1.5rem,2.6vw,2.2rem); line-height:1.15; }
.pod__body{ padding-left:clamp(22px,3vw,46px); border-left:1px solid var(--line); }
.pod__body p{ margin:0 0 1em; font-family:var(--read); font-weight:300;
  font-size:var(--fs-base); line-height:1.68; color:var(--text-body); }
.pod__body p:last-child{ margin-bottom:0; }

@media (max-width:1180px){
  .sgrid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width:900px){
  /* Below 900 the bar is the bottom sheet again (initFilterSheet), so the
     row layout and the right-hand group both stand down. */
  .shop__side{ display:block; padding-bottom:0; border-bottom:0; }
  .fbar{ display:block; }
  .fbar__pills{ display:block; }
  .fpill{ display:block; }
  .fpill__menu{ position:static; min-width:0; border:0; box-shadow:none;
    background:none; padding:4px 0 10px; }
  .fbar__right{ margin-left:0; justify-content:space-between;
    padding-top:12px; border-top:1px solid var(--line-soft); }
  .cbanner__img{ width:44%; opacity:.5; }
  .pod__inner{ grid-template-columns:1fr; }
  .pod__body{ padding-left:0; border-left:0; padding-top:clamp(16px,3vw,22px);
    border-top:1px solid var(--line); }
}
@media (max-width:620px){
  .sgrid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .cbanner__img{ display:none; }
  .cbanner{ padding-block:clamp(20px,5vw,30px) clamp(22px,5vw,34px); }
}

/* --------------------------------------------------------------------------
   50 · PRODUCT PAGE - round 14 section 9
   -------------------------------------------------------------------------- */
/* Gallery: thumbnail column to the left of the stage. The column only
   renders where a product has more than one frame (see pdp_gallery), so on
   today's photography .pgal is a single cell and behaves as the stage did. */
.pgal{ display:flex; gap:clamp(10px,1vw,14px); align-items:flex-start; }
.pgal__thumbs{
  display:flex; flex-direction:column; gap:10px; margin:0; padding:0; list-style:none;
  flex:0 0 clamp(56px,6vw,76px);
}
.pgal__thumb{
  display:block; width:100%; padding:0; cursor:pointer; overflow:hidden;
  aspect-ratio:1; border:1px solid var(--line); border-radius:9px;
  background:var(--panel);
  transition:border-color var(--t-fast) var(--ease);
}
.pgal__thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.pgal__thumb:hover{ border-color:var(--copper); }
.pgal__thumb.is-on{ border-color:var(--copper); box-shadow:0 0 0 1px var(--copper); }
.pgal .pdp__stage{ flex:1 1 auto; min-width:0; }

/* The four attributes, with a thin amber icon each. */
.pattr{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(10px,1.4vw,20px);
  margin:clamp(18px,2.2vw,26px) 0;
  padding-block:clamp(14px,1.8vw,20px);
  border-top:1px solid var(--line-soft); border-bottom:1px solid var(--line-soft);
}
.pattr__i{ display:flex; flex-direction:column; gap:.42em; min-width:0; }
.pattr__i .ico{ width:21px; height:21px; max-width:none; color:var(--copper); }
.pattr__v{ font-family:var(--serif); font-weight:700; font-size:var(--fs-base); line-height:1.22;
  color:var(--ink); }
.pattr__k{ font-family:var(--sans); font-size:var(--fs-eyebrow); letter-spacing:.11em;
  text-transform:uppercase; color:var(--text-muted); }

.pdp__sizes-label{
  margin:clamp(16px,2vw,24px) 0 .7em;
  font-family:var(--sans); font-size:var(--fs-eyebrow); letter-spacing:.14em;
  text-transform:uppercase; color:var(--text-muted);
}
.pdp__cta{ display:flex; flex-wrap:wrap; align-items:center; gap:clamp(14px,2vw,26px); }
.pdp__dl{
  display:inline-flex; align-items:center; gap:.55em; margin:0;
  font-family:var(--sans); font-size:var(--fs-micro); color:var(--copper);
  text-decoration:none;
}
.pdp__dl .ico{ width:16px; height:16px; max-width:none; flex:none; }
.pdp__dl span{ border-bottom:1px solid rgba(156,86,40,.42); padding-bottom:.12em; }
.pdp__dl:hover span{ border-color:var(--copper); }

/* The rest of the specification, behind a disclosure rather than dropped. */
.pdp__more{ margin-top:clamp(18px,2.2vw,26px); border-top:1px solid var(--line-soft);
  padding-top:clamp(14px,1.6vw,18px); }
.pdp__more > summary{
  cursor:pointer; list-style:none;
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.11em;
  text-transform:uppercase; color:var(--copper);
}
.pdp__more > summary::-webkit-details-marker{ display:none; }
.pdp__more > summary::after{ content:' +'; }
.pdp__more[open] > summary::after{ content:' \2013'; }
.pdp__more .pdp__specs{ margin-top:1em; }

/* Applications: a heading column and the cards it introduces. */
.apps{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,2fr);
  gap:clamp(22px,3vw,48px); align-items:start; }
.apps__title{ margin:.35em 0 0; font-size:clamp(1.5rem,2.5vw,2.1rem); line-height:1.16; }
.apps__lede{ margin:.75em 0 0; font-family:var(--read); font-weight:300;
  font-size:var(--fs-base); line-height:1.6; color:var(--text-muted); max-width:34ch; }
.apps__grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(12px,1.4vw,18px); }
.acard{
  display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"img img" "body disc";
  gap:.8em; align-items:center;
  padding:10px; border:1px solid var(--line); border-radius:12px;
  background:var(--cream-hi); text-decoration:none; color:var(--text);
  transition:border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.acard:hover{ border-color:var(--copper); transform:translateY(-2px); }
.acard__img{ grid-area:img; display:block; aspect-ratio:16/9; border-radius:8px;
  overflow:hidden; background:var(--panel); }
.acard__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.acard__body{ grid-area:body; min-width:0; }
.acard__t{ display:block; font-family:var(--serif); font-weight:700; font-size:var(--fs-body);
  line-height:1.2; color:var(--ink); }
.acard__d{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
  overflow:hidden; margin-top:.3em;
  font-family:var(--read); font-weight:300; font-size:var(--fs-micro); line-height:1.45;
  color:var(--text-muted); }
.acard__disc{ grid-area:disc; width:28px; height:28px; border-radius:50%; flex:none;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--line); color:var(--copper);
  transition:background var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
             color var(--t-base) var(--ease); }
.acard__disc svg{ width:14px; height:14px; max-width:none; }
.acard:hover .acard__disc{ background:var(--amber); border-color:var(--amber);
  color:var(--bourbon); }

/* "Explore other ..." replaces "Related products". */
.explore__head{ display:flex; flex-wrap:wrap; align-items:baseline;
  justify-content:space-between; gap:12px; margin-bottom:clamp(16px,2vw,24px); }
.explore__title{ margin:0; font-family:var(--serif); font-weight:700;
  font-size:clamp(1.2rem,1.8vw,1.55rem); line-height:1.2; }
.explore__all{ display:inline-flex; align-items:center; gap:.5em; flex:none;
  font-family:var(--sans); font-size:var(--fs-micro); letter-spacing:.09em;
  text-transform:uppercase; color:var(--copper); text-decoration:none; }
.explore__all .ico-arrow{ width:14px; height:14px; max-width:none; flex:none;
  transition:transform var(--t-base) var(--ease); }
.explore__all:hover .ico-arrow{ transform:translateX(4px); }
.rel-grid{ display:grid; grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(10px,1.2vw,16px); }

/* Why choose this, as a compact strip under the applications. */
.why-list--strip{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(16px,2.2vw,32px); }

@media (max-width:980px){
  .apps{ grid-template-columns:1fr; }
  .rel-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
  .why-list--strip{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px){
  .pattr{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 12px; }
  .apps__grid{ grid-template-columns:1fr; }
  .rel-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .why-list--strip{ grid-template-columns:1fr; }
  .pdp__cta{ gap:14px; }
  .pdp__cta .btn{ width:100%; justify-content:space-between; }
  .pgal{ flex-direction:column-reverse; }
  .pgal__thumbs{ flex-direction:row; flex-basis:auto; }
  .pgal__thumbs li{ flex:0 0 60px; }
}

/* --------------------------------------------------------------------------
   51 · NEOVANIL PAGE - round 14 section 11
   -------------------------------------------------------------------------- */
/* 1 · The approach, as an equation. */
.nvapproach{ display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.45fr);
  gap:clamp(24px,3.4vw,56px); align-items:center; }
.nvapproach__title{ margin:.35em 0 0; font-size:clamp(1.6rem,2.8vw,2.3rem); line-height:1.14; }
.nvapproach__lede{ margin:.9em 0 1.1em; font-family:var(--read); font-weight:300;
  font-size:var(--fs-base); line-height:1.65; color:var(--text-body); max-width:40ch; }
.eqn{ display:flex; align-items:flex-start; justify-content:center;
  gap:clamp(8px,1.2vw,18px); }
.eqn__cell{ flex:1 1 0; min-width:0; text-align:center; }
.eqn__img{ display:block; width:clamp(78px,9vw,122px); aspect-ratio:1; margin:0 auto .9em;
  border-radius:50%; overflow:hidden; background:var(--panel); }
.eqn__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.eqn__label{ margin:0; font-family:var(--sans); font-size:var(--fs-eyebrow); letter-spacing:.14em;
  text-transform:uppercase; color:var(--copper); }
.eqn__title{ margin:.4em 0 0; font-family:var(--serif); font-weight:700;
  font-size:clamp(.88rem,1.05vw,1rem); line-height:1.25; color:var(--ink); }
.eqn__sub{ margin:.35em 0 0; font-family:var(--read); font-weight:300; font-size:var(--fs-micro);
  line-height:1.4; color:var(--text-muted); }
.eqn__op{ flex:0 0 auto; align-self:center; margin-top:-2.2em;
  font-size:clamp(1.1rem,1.6vw,1.5rem); color:var(--copper); line-height:1; }

/* 2 · The comparison table. */
.cmp-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.cmp{ width:100%; border-collapse:collapse; min-width:520px; }
.cmp th, .cmp td{ padding:12px 14px; text-align:center; border-bottom:1px solid var(--line-soft); }
.cmp thead td{ border-bottom:1px solid var(--line-soft); }
.cmp__img{ display:block; width:76px; aspect-ratio:16/9; margin:0 auto .6em;
  border-radius:8px; overflow:hidden; background:var(--panel); }
.cmp__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.cmp__name{ display:block; font-family:var(--serif); font-weight:700; font-size:var(--fs-base);
  line-height:1.25; color:var(--ink); }
.cmp tbody th{ text-align:left; font-family:var(--sans); font-weight:400; font-size:var(--fs-micro);
  color:var(--text-muted); white-space:nowrap; }
.cmp tbody td{ font-family:var(--sans); font-size:var(--fs-base); color:var(--ink);
  font-variant-numeric:tabular-nums; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td{ border-bottom:0; }

/* 3 · The two saving cards. Soft green, because the claim is a saving - the
   only place on the site that uses a green, and it is a state colour. */
.nvsave{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);
  gap:clamp(20px,2.6vw,44px); align-items:center; }
.nvsave__title{ margin:.35em 0 0; font-size:clamp(1.5rem,2.5vw,2.1rem); line-height:1.16; }
.nvsave__cards{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(12px,1.4vw,18px); }
.svcard{ padding:clamp(16px,2vw,24px); border-radius:14px;
  background:rgba(91,143,90,.10); border:1px solid rgba(91,143,90,.26); }
.svcard__n{ display:flex; align-items:center; gap:.3em; margin:0;
  font-family:var(--serif); font-weight:700; font-size:clamp(1.7rem,3.2vw,2.5rem);
  line-height:1; color:#3F6B3E; }
.svcard__n .ico{ width:20px; height:20px; max-width:none; color:#5B8F5A; }
.svcard__t{ margin:.6em 0 0; font-family:var(--sans); font-size:var(--fs-small); color:var(--text); }
.svcard__d{ margin:.3em 0 0; font-family:var(--read); font-weight:300; font-size:var(--fs-micro);
  line-height:1.45; color:var(--text-muted); }
.nvsave__note{ grid-column:1 / -1; margin:0; font-family:var(--read); font-weight:300;
  font-size:var(--fs-micro); line-height:1.5; color:var(--text-muted); max-width:70ch; }

/* 4 · The two grade cards, with their formats as links. */
.nvgrades{ display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,2fr);
  gap:clamp(22px,3vw,48px); align-items:start; }
.nvgrades__title{ margin:.35em 0 0; font-size:clamp(1.5rem,2.5vw,2.1rem); line-height:1.16; }
.nvgrades__lede{ margin:.8em 0 0; font-family:var(--read); font-weight:300; font-size:var(--fs-base);
  line-height:1.6; color:var(--text-muted); max-width:34ch; }
.nvgrades__cards{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(12px,1.5vw,20px); }
.gcard{ display:flex; flex-direction:column; gap:14px; padding:clamp(14px,1.6vw,20px);
  border:1px solid var(--line); border-radius:14px; background:var(--cream-hi); }
.gcard__img{ display:block; aspect-ratio:16/9; border-radius:10px; overflow:hidden;
  background:var(--panel); }
.gcard__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.gcard__n{ margin:0; font-family:var(--serif); font-weight:700;
  font-size:clamp(1rem,1.3vw,1.18rem); line-height:1.2; color:var(--copper-on-panel); }
.gcard__s{ margin:.35em 0 0; font-family:var(--read); font-weight:300; font-size:var(--fs-small);
  line-height:1.45; color:var(--text-muted); }
.gcard__chips{ display:flex; flex-wrap:wrap; gap:8px; margin-top:1em; }
.gchip{ display:inline-flex; align-items:center; min-height:36px; padding:.4em .95em;
  border:1px solid var(--line); border-radius:999px; background:var(--cream);
  font-family:var(--sans); font-size:var(--fs-micro); color:var(--text-body); text-decoration:none;
  transition:border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
             color var(--t-fast) var(--ease); }
.gchip:hover, .gchip:focus-visible{ border-color:var(--copper); background:var(--amber-wash);
  color:var(--copper-on-panel); }

.apps__grid--4{ grid-template-columns:repeat(4,minmax(0,1fr)); }

/* 5 · The three-way chooser. */
.chz__head{ max-width:56ch; }
.chz__title{ margin:.35em 0 0; font-size:clamp(1.5rem,2.5vw,2.1rem); line-height:1.16; }
.chz__lede{ margin:.6em 0 0; font-family:var(--read); font-weight:300; font-size:var(--fs-base);
  color:var(--text-muted); }
.chz__grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(16px,2.2vw,34px); margin-top:clamp(22px,2.8vw,38px); }
.chz__i{ display:flex; flex-direction:column; gap:.7em; }
.chz__ico{ display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%; background:var(--amber-wash);
  color:var(--copper); }
.chz__ico .ico{ width:21px; height:21px; max-width:none; }
.chz__q{ margin:0; font-family:var(--read); font-weight:300; font-size:var(--fs-small);
  line-height:1.5; color:var(--text-body); }
.chz__a{ display:inline-flex; align-items:center; gap:.5em;
  font-family:var(--sans); font-size:var(--fs-micro); color:var(--copper);
  text-decoration:none; border-bottom:1px solid rgba(156,86,40,.42); padding-bottom:.12em; }
.chz__a .ico-arrow{ width:14px; height:14px; max-width:none; flex:none;
  transition:transform var(--t-base) var(--ease); }
.chz__a:hover .ico-arrow{ transform:translateX(4px); }
.chz__cta{ display:flex; flex-wrap:wrap; align-items:center; gap:clamp(16px,2.4vw,30px);
  margin-top:clamp(24px,3vw,40px); padding-top:clamp(20px,2.4vw,30px);
  border-top:1px solid var(--line-soft); }

@media (max-width:980px){
  .nvapproach, .nvsave, .nvgrades{ grid-template-columns:1fr; }
  .apps__grid--4{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .chz__grid{ grid-template-columns:1fr; gap:22px; }
}
@media (max-width:620px){
  .eqn{ flex-direction:column; align-items:center; gap:14px; }
  .eqn__cell{ width:100%; }
  .eqn__op{ margin-top:0; }
  .nvsave__cards, .nvgrades__cards{ grid-template-columns:1fr; }
  .apps__grid--4{ grid-template-columns:1fr; }
}

/* --------------------------------------------------------------------------
   52 · TOUCH TARGETS - round 14 section 12
   The brief asks for 44px. Every control added this round meets it; these
   are the text links that were already below it - breadcrumbs, the two
   footer link columns, the skip link, the wordmark and the footer email.

   Scoped to `pointer:coarse`, not to a width. It is a finger problem, not a
   narrow-screen problem: a touchscreen laptop at 1440 has the same need and
   a mouse at 375 does not. Width-scoped rules get this wrong in both
   directions.

   The height comes from padding that replaces the existing margin, so the
   links grow a tappable box without the footer growing by the full
   difference - the space was already there as margin, it just was not
   part of the target.
   -------------------------------------------------------------------------- */
@media (pointer:coarse){
  .footer__col a{
    display:flex; align-items:center; min-height:44px;
    margin-bottom:0; padding-block:2px;
  }
  .crumb a, .crumb [aria-current]{
    display:inline-flex; align-items:center; min-height:44px;
  }
  .crumb{ padding-bottom:0; }
  .skip-link{ min-height:44px; display:inline-flex; align-items:center; }
  .brand{ min-height:44px; }
  .footer__mail{ min-height:44px; }
  /* The legal row and the orb arrows are already 44+, but the legal links
     are text and sit on one line, so they get the same treatment. */
  .footer__legal a{ display:inline-flex; align-items:center; min-height:44px; }

  /* .btn is the site's primary button and it stands 38px tall: .76rem of
     uppercase on line-height:1 with 1.05em of padding. Every call to action
     on the site is one of these, so this is the single rule that moves the
     most targets. The padding is left alone and a floor is set under it, so
     nothing reflows on the buttons that are already tall enough. */
  .btn, .arrow-link, .pdp__dl, .explore__all, .chz__a, .nav__mega-all,
  .hsearch__all, .gchip, .srp__input, .fpill__btn, .shop__sort select{
    min-height:44px;
  }
  .arrow-link, .pdp__dl, .explore__all, .chz__a, .nav__mega-all{
    display:inline-flex; align-items:center;
  }
  /* Disclosure summaries are the control that opens them. */
  .pdp__more > summary, .fpill > summary{
    display:flex; align-items:center; min-height:44px;
  }
  /* The contact details list: one standalone link per <dd>, so these are
     targets in their own right rather than links inside a sentence. */
  .cinfo dd a{ display:inline-flex; align-items:center; min-height:44px; }
}

/* ==========================================================================
   53 · THE SAMPLE REQUEST MODAL (round 2, item 13)

   "Request a sample" used to navigate to /contact/, which lost the page the
   buyer was reading and arrived with the product as a lowercase slug. The
   same form now opens over the page, with the product named properly and its
   SKU beside it. On a phone it is a full-screen sheet rather than a dialog
   floating in the middle of a scrolling page.
   ========================================================================== */
.smodal{
  position:fixed; inset:0; z-index:400;
  display:none; align-items:center; justify-content:center;
  padding:clamp(16px,4vw,40px);
  background:rgba(18,12,6,.62);
  -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
}
.smodal.is-open{ display:flex; }
/* The page behind must not scroll while the sheet is open. */
.smodal-open, .smodal-open body{ overflow:hidden; }
.smodal__box{
  position:relative; width:min(680px,100%);
  /* 100dvh, not vh: on iOS Safari the toolbar is inside 100vh and the Send
     button ends up underneath it (item 46). */
  max-height:min(92dvh, 900px);
  background:var(--cream-hi);
  border:1px solid var(--line);
  border-radius:var(--radius, 12px);
  box-shadow:0 30px 80px rgba(18,12,6,.45);
  display:flex; flex-direction:column; overflow:hidden;
}
.smodal__scroll{
  overflow:auto; -webkit-overflow-scrolling:touch;
  padding:clamp(22px,3vw,38px);
  padding-bottom:calc(clamp(22px,3vw,38px) + env(safe-area-inset-bottom));
}
.smodal__x{
  position:absolute; top:10px; right:10px; z-index:2;
  width:44px; height:44px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:1.5rem; line-height:1; color:var(--text-body);
  background:var(--cream-hi); border:1px solid var(--line);
  transition:background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.smodal__x:hover{ background:var(--panel); color:var(--ink); }
.smodal__t{
  margin:.3em 0 0; font-family:var(--serif); font-weight:400;
  font-size:clamp(1.5rem,2.6vw,2.1rem); line-height:1.14; color:var(--text);
}
.smodal__about{
  margin:1em 0 0; padding:.8em 1em;
  background:var(--amber-wash); border-radius:8px;
  font-family:var(--read); font-size:var(--fs-base); line-height:1.5; color:var(--text);
}
.smodal__about b{ font-weight:600; }
.smodal__sku{ font-variant-numeric:lining-nums tabular-nums; color:var(--text-body); }
.smodal__cfg{ display:block; margin-top:.3em; font-size:var(--fs-micro); color:var(--text-body); }
/* Honeypot. Off-screen rather than display:none, which some bots skip. */
.smodal__hp{
  position:absolute; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap;
}
.cform--modal{
  background:none; border:0; padding:0; margin-top:1.2em;
}
.smodal__done{ margin-top:1.6em; display:grid; gap:1.2em; justify-items:start; }
/* Same trap as .cform__field: an author `display` beats the user agent's
   [hidden] rule, so the thank-you sat under the form from first open. */
.smodal__done[hidden]{ display:none; }
.smodal__done-t{
  margin:0; font-family:var(--read); font-size:var(--fs-body); line-height:1.6;
  color:var(--text);
}
.smodal__done .btn{ margin:0; }
@media (max-width:620px){
  .smodal{ padding:0; align-items:stretch; }
  .smodal__box{
    width:100%; max-height:100dvh; height:100dvh;
    border:0; border-radius:0;
  }
  .smodal__scroll{ padding-top:calc(clamp(22px,3vw,38px) + 12px); }
  .cform--modal .btn{ width:100%; justify-content:center; }
}
@media (prefers-reduced-motion: no-preference){
  .smodal.is-open .smodal__box{ animation:smodal-in 220ms var(--ease) both; }
  @keyframes smodal-in{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
}

/* The catalogue gate now reports inside the dialog too (item 13). */
.cgate__done{ display:grid; gap:1em; justify-items:start; margin-top:1.2em; }
.cgate__done[hidden]{ display:none; }
.cgate__form[hidden]{ display:none; }

/* ==========================================================================
   54 · PRODUCT PAGE, ROUND 2 (items 10, 11, 15, 41)
   ========================================================================== */

/* -- 10. The actions, clear of the pack sizes -----------------------------
   The button sat directly under the pack-size chips with 14px between them,
   so it read as part of the chip row rather than as the page's one action.
   The chips are now a fieldset with its own bottom margin, which is also
   what carries the gap on mobile where the button goes full width. */
.pdp__sizes-set{ border:0; margin:0 0 clamp(24px,2.6vw,32px); padding:0; min-width:0; }
.pdp__sizes-set .pdp__sizes{ margin-top:0; }

/* The chips were decoration that looked like controls. One radio group now,
   and the chosen size is sent with the sample request (item 13). */
.psize{ display:block; cursor:pointer; }
.psize input{
  position:absolute; width:1px; height:1px; opacity:0; pointer-events:none;
}
.psize span{
  display:flex; align-items:center; justify-content:center;
  min-height:44px; padding:7px 16px;          /* 44px: WCAG 2.2 target size */
  font-family:var(--sans); font-size:var(--fs-small); line-height:1; color:var(--ink);
  border:1px solid var(--line); border-radius:999px;
  background:var(--cream-hi); white-space:nowrap;
  transition:border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease),
             color var(--t-fast) var(--ease);
}
.pdp__sizes--pick li{ padding:0; border:0; background:none; }
@media (hover: hover) and (pointer: fine){
  .psize:hover span{ border-color:var(--copper); }
}
.psize input:checked + span{
  border-color:var(--copper); background:var(--amber-wash); color:var(--copper-on-panel);
  font-weight:500;
}
.psize input:focus-visible + span{ outline:2px solid var(--copper); outline-offset:3px; }

/* -- 11. "Suited for" -----------------------------------------------------
   The applications were a full-width band of photo cards, each bigger than
   the pack shot. One row of small circles inside the product column instead,
   which is also what the old "Used in" chips were doing. */
.suit__label{ margin-top:clamp(20px,2.4vw,28px); }
.suit{
  display:flex; flex-wrap:wrap; gap:clamp(14px,1.8vw,24px);
  margin:0 0 clamp(18px,2.2vw,26px); padding:0; list-style:none;
}
.suit__i{ width:clamp(78px,9vw,104px); text-align:center; }
.suit__a{ display:block; text-decoration:none; color:inherit; }
.suit__img{
  display:block; width:clamp(72px,8vw,88px); height:clamp(72px,8vw,88px);
  margin:0 auto; border-radius:50%; overflow:hidden;
  border:1px solid var(--line); background:var(--panel);
  transition:border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.suit__img img{ width:100%; height:100%; object-fit:cover; display:block;
  transition:transform var(--t-slow) var(--ease); }
.suit__a:hover .suit__img{ border-color:var(--copper); box-shadow:0 0 0 3px var(--amber-wash); }
.suit__a:hover .suit__img img{ transform:scale(1.06); }
.suit__n{
  display:block; margin-top:.6em;
  font-family:var(--sans); font-size:var(--fs-micro); line-height:1.3; color:var(--ink);
}
.suit__a:hover .suit__n{ color:var(--copper-on-panel); }
.suit__d{
  display:block; margin-top:.25em;
  font-family:var(--read); font-weight:300; font-size:var(--fs-eyebrow);
  line-height:1.35; color:var(--text-muted);
}

/* -- 15 and 41. The image column ------------------------------------------
   Two faults in one place. The frame was the pack shot's own 16:9, so a
   right-hand column carrying a fold slider, carrier chips and a spec table
   ran 400px past the bottom of the picture. And the frame itself differed
   from card to card, because the photographs do: three of the bean shots are
   on a light grey seamless and three on a wooden table against blue. The
   photographs are Synthite's and are not edited here (the odd ones are listed
   under Assets), but the FRAME around them is ours - one ground, one 4:5
   crop, one padding, everywhere a pack shot appears. */
.pdp__stage{
  aspect-ratio:4/5;
  display:flex; align-items:center; justify-content:center;
  background:var(--panel);
}
/* `cover`, not `contain`. The photographs are 16:9 with the pack centred, so
   contain letterboxes each one inside its own background colour and the frame
   reads as a grey card floating in cream - which makes the mismatch between
   the grey-seamless shots and the blue-and-wood ones MORE obvious, not less.
   Filling the frame gives every card the same silhouette; what is left is the
   colour inside the photograph, and that needs a camera, not CSS. The three
   bean shots are listed under Assets. */
.pdp__stage img{ width:100%; height:100%; object-fit:cover; object-position:center; }
@media (min-width:901px){
  /* Sticky, so the product stays in view while the specification scrolls.
     `top` clears the header; `align-self:start` is what lets a grid item be
     sticky at all - stretched to the row height it has nowhere to travel. */
  .pdp__media{ position:sticky; top:calc(var(--header-h, 76px) + 24px); align-self:start; }
}
.pgal{ align-items:stretch; }
.pgal .pdp__stage{ flex:1 1 auto; min-width:0; }

/* One frame for every pack shot, not just the one on the product page: the
   same 4:5 box, the same ground behind it and the same crop. */
.scard__img, .rel__img, .pdp__stage{ background:var(--panel); }
.scard__img img, .rel__img img{ object-fit:cover; object-position:center; }

@media (max-width:900px){
  .pdp__media{ position:static; }
  .pdp__stage{ aspect-ratio:4/3; }
  .suit{ gap:14px; }
  .pdp__cta{ display:grid; grid-template-columns:1fr; gap:16px; justify-items:stretch; }
  .pdp__cta .btn{ width:100%; justify-content:center; }
  .pdp__dl{ justify-content:flex-start; }
}

/* ==========================================================================
   55 · NEOVANIL, ROUND 2 (items 24, 26, 27, 28, 45)
   ========================================================================== */

/* -- 24 and 26. "Three vanillas, compared" -------------------------------
   One section where there were four. Three equal cards, same width, same
   height, evenly spaced; the chart directly under them; one footnote. */
.tvc__cards{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(14px,1.8vw,26px);
  margin-top:clamp(26px,3vw,42px);
  align-items:stretch;
}
.tvc__card{
  position:relative; display:flex; flex-direction:column;
  padding:clamp(16px,1.8vw,24px);
  border:1px solid var(--line); border-radius:14px;
  background:var(--cream-hi);
}
/* The bean extract is the reference, so it stays plain; Full Spectrum is the
   recommended option and carries a tint and a tag. */
.tvc__card.is-rec{
  border-color:var(--amber); border-width:2px;
  padding:clamp(15px,1.8vw,23px);
  background:linear-gradient(180deg, var(--amber-wash), var(--cream-hi) 70%);
}
.tvc__tag{
  position:absolute; top:-11px; left:clamp(15px,1.8vw,23px);
  margin:0; padding:3px 11px; border-radius:999px;
  background:var(--amber); color:var(--bourbon);
  font-family:var(--sans); font-size:var(--fs-eyebrow); font-weight:500;
  letter-spacing:.09em; text-transform:uppercase; line-height:1.6;
}
.tvc__img{
  display:block; height:clamp(170px,19vw,240px); border-radius:10px;
  overflow:hidden; background:var(--panel); margin-bottom:clamp(12px,1.4vw,18px);
}
.tvc__img img{ width:100%; height:100%; object-fit:cover; display:block; }
.tvc__n{
  margin:0 0 .7em; font-family:var(--serif); font-weight:700;
  font-size:clamp(1.12rem,1.5vw,1.34rem); line-height:1.2; color:var(--ink);
  font-variant-numeric:lining-nums;
}
.tvc__rows{ margin:0; display:grid; gap:0; }
.tvc__row{
  display:flex; align-items:baseline; justify-content:space-between; gap:12px;
  padding:.6em 0; border-top:1px solid var(--line-soft);
}
.tvc__row dt{
  font-family:var(--sans); font-size:var(--fs-micro); color:var(--text-muted);
}
/* "Bigger, consistent numbers": one size, one weight, lining figures, and the
   same number of decimals down a row - the data file is formatted to %.2f and
   %g by compared_section() so 3.00 / 3.45 / 3.13 line up. */
.tvc__row dd{
  margin:0; font-family:var(--serif); font-weight:700;
  font-size:clamp(1.12rem,1.4vw,1.3rem); line-height:1.1; color:var(--ink);
  font-variant-numeric:lining-nums tabular-nums; white-space:nowrap;
}
.tvc__bar{
  height:6px; border-radius:3px; background:var(--line-soft);
  margin-top:.9em; overflow:hidden;
}
.tvc__bar > span{ display:block; height:100%; border-radius:3px; }
/* One colour per product, the same in the card, the chart and the legend. */
.tvc__card--vbe .tvc__bar > span{ background:#2B1B10; }
.tvc__card--fs  .tvc__bar > span{ background:#B9701F; }
.tvc__card--n95 .tvc__bar > span{ background:#9C5628; }
.tvc__cost{
  margin:.6em 0 0; font-family:var(--sans); font-size:var(--fs-micro);
  color:var(--text-body);
}
.tvc__act{ margin:auto 0 0; padding-top:clamp(12px,1.4vw,18px); }
.tvc__cap{
  margin:clamp(14px,1.8vw,20px) auto 0; max-width:70ch; text-align:center;
  font-family:var(--read); font-weight:300; font-size:var(--fs-small);
  line-height:1.55; color:var(--text-muted);
}
.tvc__foot{
  margin:clamp(22px,2.6vw,32px) 0 0; padding-top:clamp(14px,1.6vw,20px);
  border-top:1px solid var(--line-soft);
  font-family:var(--read); font-weight:300; font-size:var(--fs-micro);
  line-height:1.55; color:var(--text-muted);
}
/* Item 25: the legend sat low on the right, leaving a large gap beside the
   heading. It starts at the top of the chart card. */
.rdo--compared{ margin-top:clamp(30px,3.6vw,52px); align-items:start; }
.rdo--compared .rdo__side{ align-self:start; }
@media (max-width:900px){
  .tvc__cards{ grid-template-columns:1fr; }
  .tvc__img{ height:clamp(150px,34vw,210px); }
}

/* -- 27. "Choose your NeoVanil" and "Key applications" --------------------
   There was about 230px of empty space under the grade cards and no top
   padding at all on the band below, so its eyebrow touched the band's edge. */
.nvgrades-sec{ padding-bottom:clamp(36px,4vw,56px); }
.gcard__best{
  margin:.7em 0 0; font-family:var(--read); font-size:var(--fs-small);
  line-height:1.5; color:var(--text-body);
}
.gcard__best span{
  display:block; font-family:var(--sans); font-size:var(--fs-eyebrow);
  letter-spacing:.14em; text-transform:uppercase; color:var(--text-muted);
  margin-bottom:.25em;
}
.gcard__acts{
  display:flex; flex-wrap:wrap; align-items:center; gap:16px;
  margin-top:clamp(14px,1.6vw,20px);
}
.gcard__view, .gcard__ask{
  display:inline-flex; align-items:center; gap:.5em; min-height:44px;
  font-family:var(--sans); font-size:var(--fs-micro); text-decoration:none;
}
.gcard__view{ color:var(--copper); text-decoration:underline;
  text-underline-offset:.3em; text-decoration-color:rgba(156,86,40,.42); }
.gcard__view:hover{ text-decoration-color:var(--copper); }
.gcard__view .ico-arrow{ width:14px; height:14px; max-width:none; flex:none; }
.gcard__ask{
  padding:0 1.1em; border-radius:999px; background:var(--amber);
  color:var(--bourbon); font-weight:500; letter-spacing:.04em;
  text-transform:uppercase; cursor:pointer;
}
.gcard__ask:hover{ background:var(--amber-soft); }
/* Item 27: the band was not full width and its eyebrow had no room. */
.apps{ padding-block:0; }
.section.section--hi > .container.apps{ padding-block:0; }

/* -- 45. Key applications, compact -----------------------------------------
   Each card was a full-width 440px photograph on a phone, so four of them
   took several screens. One row of four small cards on desktop, 2 x 2 on a
   phone, and the whole section inside about 450px of height.

   Round 3, item 6. Round 2 set a `height` here while `.acard__img` still
   carried `aspect-ratio:16/9` from its base rule. Given a definite height and
   a ratio, the box takes its WIDTH from the ratio - 150px tall became 267px
   wide inside a 198px card - so every photograph hung 69px past its card's
   right edge, into the next card and off the panel. The frame is sized from
   the card instead: full width, a 4:3 box, and the height follows. */
.apps__grid--4 .acard__img{
  width:100%; height:auto; aspect-ratio:4/3;
  border-radius:8px; overflow:hidden;
}
.apps__grid--4 .acard__img img{ width:100%; height:100%; object-fit:cover; }

/* The photographs share one top line and one height, and the titles,
   descriptions and arrows line up across the row even when "Chocolate &
   Confectionery" takes two lines.

   The card is a grid whose auto rows STRETCH to the tallest card in the row,
   and `align-items:center` then centred the image inside its grown row - so
   the one card with a two-line title had a shorter image row and its
   photograph sat 10px higher than the other three. Holding the rows at the
   top and giving the body row the slack fixes the top line; reserving two
   lines for the title lines the descriptions up; pinning the arrow to the
   end of the body row lines the arrows up. */
.apps__grid--4 .acard{
  align-content:start; align-items:start;
  grid-template-rows:auto 1fr;
  overflow:hidden;              /* the hover zoom stays inside the card */
}
.apps__grid--4 .acard__t{ min-height:calc(2 * 1.2em); }
.apps__grid--4 .acard__disc{ align-self:end; }

/* Item 6: the zoom happens to the IMAGE, inside a frame that clips it. The
   card itself does not move, resize or overlap its neighbour. */
.apps__grid--4 .acard__img img{ transition:transform var(--t-slow) var(--ease); }
@media (hover: hover) and (pointer: fine){
  .apps__grid--4 .acard:hover .acard__img img{ transform:scale(1.04); }
}
@media (hover: none){
  /* No hover state on a touch screen - it sticks after a tap. */
  .apps__grid--4 .acard:hover{ border-color:var(--line); transform:none; }
  .apps__grid--4 .acard:hover .acard__img img{ transform:none; }
}
.apps__grid--4 .acard__t{ font-size:var(--fs-base); line-height:1.25; }
.apps__grid--4 .acard__d{
  font-size:var(--fs-micro); line-height:1.4; color:var(--text-muted);
  /* No ellipsis: item 27 asks for one line that fits completely, and the
     copy below is written to that length. */
  display:block; overflow:visible;
}
/* Item 27: the ice-cream card carried a brown border and a filled arrow at
   rest, so it read as already chosen. That treatment is the hover state.
   Round 3, item 6: the card no longer lifts on hover either - a 2px
   translate inside a tight grid reads as the card jumping. */
.apps__grid--4 .acard{ border-color:var(--line); }
.apps__grid--4 .acard:hover{ transform:none; }
@media (hover: hover) and (pointer: fine){
  .apps__grid--4 .acard:hover{ border-color:var(--copper); }
}
@media (max-width:620px){
  .apps__grid--4{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
  .apps__grid--4 .acard__img{ height:clamp(96px,26vw,110px); }
  .apps__grid--4 .acard__t{ font-size:1rem; }
  .apps__grid--4 .acard__d{ font-size:var(--fs-micro); }
}

/* -- 22. The NeoVanil hero on a laptop -------------------------------------
   At 1366x768 the title ran to four lines and the two buttons were below the
   fold. The hero is shorter and the title a step smaller, so the whole thing
   - eyebrow, title, copy and both actions - is on screen without scrolling. */
.hero--nv{ min-height:0; }
.hero--nv .hero__inner{
  padding-block:calc(var(--header-h, 76px) + clamp(22px,4vh,54px)) clamp(34px,6vh,70px);
}
.hero--nv .hero__title{
  font-size:clamp(2rem,4.4vw,3.6rem); max-width:21ch;
}
.hero--nv .hero__lede{ max-width:50ch; }
/* "Lighten the overlay so the pods and powder can actually be seen" (item 22),
   without putting the caption under AA. The ramp was tuned by compositing it
   against the actual photograph in the browser and measuring the WORST pixel
   under each block of type, rather than by eye: at these stops the title
   measures 4.19:1 (the floor for text this size is 3:1), the lede 7.6:1 and
   the eyebrow 13.1:1, and the gradient is fully clear from 82% of the width,
   so the right two-thirds of the frame is the photograph at full strength. */
.hero--nv .hero__scrim{
  background:
    linear-gradient(to right,  rgba(24,14,7,.92) 0%,  rgba(24,14,7,.88) 26%,
                               rgba(24,14,7,.60) 46%, rgba(24,14,7,.24) 66%,
                               rgba(24,14,7,0) 82%),
    linear-gradient(to top,    rgba(24,14,7,.34) 0%,  rgba(24,14,7,.18) 28%,
                               rgba(24,14,7,0) 62%),
    linear-gradient(to bottom, rgba(24,14,7,.22) 0%,  rgba(24,14,7,.08) 14%,
                               rgba(24,14,7,0) 28%);
}
@media (max-width:760px){
  .hero--nv .hero__scrim{
    background:
      linear-gradient(to top,  rgba(24,14,7,.86) 0%,  rgba(24,14,7,.72) 34%,
                               rgba(24,14,7,.46) 66%, rgba(24,14,7,.26) 100%);
  }
}

/* A <picture> must not break the layouts that expect an <img> child. */
picture{ display:contents; }

/* -- 28. The closing call to action --------------------------------------- */
.chz__head--center{ text-align:center; margin-inline:auto; max-width:60ch; }
.chz__head--center + .chz__cta{ justify-content:center; }

/* ==========================================================================
   56 · COOKIE CONSENT (round 2, item 40)
   Accept and Reject are the same size, the same weight and the same shape.
   The bar only exists when window.ENV.GA4_ID is set, because without an ID
   nothing is ever loaded and there is nothing to consent to.
   ========================================================================== */
.cbar{
  position:fixed; left:0; right:0; bottom:0; z-index:420;
  background:var(--ink); color:var(--on-dark);
  border-top:1px solid rgba(224,154,79,.34);
  box-shadow:0 -10px 40px rgba(18,12,6,.3);
  padding-bottom:env(safe-area-inset-bottom);
}
.cbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:clamp(16px,2.4vw,40px); padding-block:clamp(14px,1.8vw,20px);
  flex-wrap:wrap;
}
.cbar__t{
  margin:0; flex:1 1 420px; min-width:0;
  font-family:var(--read); font-weight:300; font-size:var(--fs-small);
  line-height:1.55; color:var(--on-dark);
}
.cbar__link{ color:var(--amber-soft); text-decoration:underline; text-underline-offset:.25em; }
.cbar__acts{ display:flex; gap:12px; flex:0 0 auto; }
.cbar__btn{
  min-height:44px; padding:.7em 1.6em; border-radius:999px; cursor:pointer;
  font-family:var(--sans); font-size:var(--fs-micro); font-weight:500;
  letter-spacing:.06em; text-transform:uppercase;
  /* Equally prominent: the same box, the same type, one amber and one
     outlined in the same amber - not a filled Accept beside a text Reject. */
  background:var(--amber); color:var(--bourbon); border:1px solid var(--amber);
  transition:background var(--t-fast) var(--ease);
}
.cbar__btn[data-consent="denied"]{
  background:none; color:var(--amber-soft); border-color:rgba(224,154,79,.62);
}
.cbar__btn:hover{ background:var(--amber-soft); color:var(--bourbon); }
@media (max-width:620px){
  .cbar__acts{ width:100%; }
  .cbar__btn{ flex:1 1 0; justify-content:center; }
}

/* ==========================================================================
   57 · MOBILE PASS (round 2, item 46)
   ========================================================================== */
@media (max-width:700px){
  /* A square image area and less padding, so a phone shows more than one row
     of products. The 4:5 frame is right on a desktop grid of four and too
     tall in a column of two. */
  .scard__img{ aspect-ratio:1/1; }
  .scard__body{ padding:10px 11px 8px; }
  .scard__name{ font-size:1.0625rem; line-height:1.2; }
  /* "WHOLE CURED PODS" at .07em ran wider than a 160px card. */
  .scard__note{ letter-spacing:.03em; }
  .scard__foot{ padding:0 11px 11px; }
  /* "View product" was breaking over two lines and taking the arrow with it. */
  .scard__act{ white-space:nowrap; letter-spacing:.04em; }
  .scard__disc{ width:26px; height:26px; }
}

/* The sample modal and the Build bottom sheet must clear the iOS Safari
   toolbar. 100dvh and the safe-area inset are on both; this is the rest of
   the furniture that sits at the bottom of a screen. */
@supports (padding: env(safe-area-inset-bottom)){
  .cv-rail{ padding-bottom:calc(14px + env(safe-area-inset-bottom)); }
}
