/* ============================================================
   BONKERS TOOLS — v2
   1. Custom properties
   2. Reset
   3. Base
   4. Layout
   5. Components
   6. Utilities
   7. Responsive
   ============================================================ */

/* ------------------------------------------------------------
   1. CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  /* Colour — one accent, everything else is ink, paper and line */
  --c-paper:        #F7F7F4;
  --c-surface:      #FFFFFF;
  --c-ink:          #111315;
  --c-ink-2:        #5E6469;
  --c-line:         #E3E3DE;
  --c-line-strong:  #CFCFC9;
  --c-accent:       #C8102E;
  --c-accent-dark:  #A00C24;
  --c-inv-muted:    #9AA0A6;
  --c-inv-line:     #2A2E31;
  /* Semantic status only — never used as a brand colour */
  --c-stock:        #1F7A4C;

  /* Type */
  --f-sans: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --t-11: 11px;  --t-12: 12px;  --t-13: 13px;  --t-14: 14px;
  --t-16: 16px;  --t-18: 18px;  --t-20: 20px;  --t-24: 24px;
  --t-32: 32px;  --t-40: 40px;  --t-56: 56px;  --t-72: 72px;

  /* Spacing — 8px base */
  --s-1: 8px;   --s-2: 16px;  --s-3: 24px;  --s-4: 32px;
  --s-5: 40px;  --s-6: 48px;  --s-8: 64px;  --s-10: 80px;
  --s-12: 96px; --s-16: 128px;

  --s-section: clamp(64px, 8vw, 112px);

  /* Structure */
  --w-max: 1320px;
  --gutter: 24px;

  /* Motion */
  --e: cubic-bezier(.22,.61,.36,1);
  --d: .2s;
  --d-reveal: .7s;
}

/* ------------------------------------------------------------
   2. RESET
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol, address {
  margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
blockquote { quotes: none; }

/* Line icons — consistent stroke weight throughout */
svg[viewBox] { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer__social-link svg path[d^="M14.5"] { fill: currentColor; stroke: none; }

/* ------------------------------------------------------------
   3. BASE
   ------------------------------------------------------------ */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: var(--t-16);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

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

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: var(--s-2); top: -100px; z-index: 200;
  background: var(--c-ink); color: #fff;
  padding: var(--s-1) var(--s-2);
  font-size: var(--t-14); font-weight: 600;
  transition: top var(--d) var(--e);
}
.skip-link:focus { top: var(--s-2); }

/* ------------------------------------------------------------
   4. LAYOUT
   ------------------------------------------------------------ */
.shell {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--s-section); }
.section--deals { background: var(--c-surface); }
.section--story { background: var(--c-surface); }

.section--highlight { background: var(--c-accent); }
.section--highlight .sechead { border-bottom-color: rgba(255, 255, 255, .3); }
.section--highlight .sechead__kicker { color: rgba(255, 255, 255, .8); }
.section--highlight .sechead__title { color: #fff; }
.section--highlight .sechead__link { color: #fff; border-color: rgba(255, 255, 255, .55); }
.section--highlight .sechead__link:hover { color: #fff; border-color: #fff; }
.section--highlight .rail__btn { color: #fff; border-color: rgba(255, 255, 255, .55); }
.section--highlight .rail__btn:hover:not(:disabled) { background: #fff; border-color: #fff; color: var(--c-accent); }
.section--highlight .rail__btn:disabled { opacity: .35; }

/* Section heading -------------------------------------------- */
.sechead {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-6);
  border-bottom: 1px solid var(--c-line);
}
.sechead__kicker {
  font-family: var(--f-mono);
  font-size: var(--t-12);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  margin-bottom: var(--s-1);
}
.sechead__kicker--accent { color: var(--c-accent); }
.sechead__title { font-size: clamp(28px, 4vw, var(--t-40)); }
.sechead__aside {
  max-width: 38ch;
  font-size: var(--t-14);
  color: var(--c-ink-2);
}
.sechead__link {
  font-size: var(--t-14);
  font-weight: 600;
  border-bottom: 1px solid var(--c-line-strong);
  padding-bottom: 2px;
  transition: color var(--d) var(--e), border-color var(--d) var(--e);
}
.sechead__link:hover { color: var(--c-accent); border-color: var(--c-accent); }
.sechead__side { display: flex; flex-direction: column; align-items: flex-end; gap: var(--s-2); }
.sechead__side .sechead__aside { text-align: right; }

/* Page hero (interior pages: breadcrumb + title) -------------- */
.page-hero { padding-block: var(--s-5) var(--s-6); border-bottom: 1px solid var(--c-line); }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-family: var(--f-mono); font-size: var(--t-12); letter-spacing: .04em;
  color: var(--c-ink-2);
  margin-bottom: var(--s-3);
}
.breadcrumb a { transition: color var(--d) var(--e); }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb__sep { color: var(--c-line-strong); }
.breadcrumb__current { color: var(--c-ink); font-weight: 600; }
.page-hero__title { font-size: clamp(32px, 5vw, var(--t-56)); max-width: 22ch; }
.page-hero__lead { margin-top: var(--s-2); max-width: 64ch; font-size: var(--t-16); color: var(--c-ink-2); }

/* --- Icon marks — bold flat glyphs, no backing plate ------------
   Shared by the homepage category rows, the full category index and
   the category-page hero: one icon language everywhere instead of
   thin outline strokes, so the mark reads at a glance.
   Glyphs are Google Material Symbols and Pictogrammers MDI, both
   Apache License 2.0 — https://github.com/google/material-design-icons
   and https://github.com/Templarian/MaterialDesign. */
.catrow__icon-tile,
.catidx__icon-tile,
.cathero__icon-tile {
  display: inline-flex; flex: 0 0 auto;
  align-items: center; justify-content: center;
  transition: transform .3s var(--e);
}
.catrow__icon-tile svg,
.catidx__icon-tile svg,
.cathero__icon-tile svg { fill: var(--c-ink); stroke: none; transition: fill var(--d) var(--e); }
.catrow__icon-tile { width: 52px; height: 52px; }
.catrow__icon-tile svg { width: 36px; height: 36px; }
.catidx__icon-tile { width: 56px; height: 56px; }
.catidx__icon-tile svg { width: 38px; height: 38px; }
.cathero__icon-tile { width: 88px; height: 88px; }
.cathero__icon-tile svg { width: 58px; height: 58px; }
@media (hover: hover) and (pointer: fine) {
  .cathero__icon-tile:hover { transform: scale(1.1) rotate(-6deg); }
  .cathero__icon-tile:hover svg { fill: var(--c-accent); }
}

/* Category subpage hero (icon + title, sub-category pills) ---- */
.cathero { display: flex; align-items: flex-start; gap: var(--s-3); }
.cathero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); }
.cathero__pill {
  font: inherit; font-size: var(--t-13); font-weight: 600; color: var(--c-ink-2);
  background: var(--c-surface);
  border: 1px solid var(--c-line-strong);
  padding: 6px 12px;
  cursor: pointer;
  transition: color .25s var(--e), background .25s var(--e),
    border-color .25s var(--e), transform .25s var(--e), box-shadow .25s var(--e);
}
.cathero__pill.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}
@media (hover: hover) and (pointer: fine) {
  .cathero__pill:hover {
    background: var(--c-accent);
    border-color: var(--c-accent);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 16px -8px rgba(200,16,46,.55);
  }
}

/* ------------------------------------------------------------
   5. COMPONENTS
   ------------------------------------------------------------ */

/* --- Utility bar -------------------------------------------- */
.utility {
  background: var(--c-ink);
  color: #fff;
  font-size: var(--t-12);
}
.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 36px;
  padding-block: 6px;
}
.utility__primary { display: flex; align-items: center; gap: var(--s-1); }
.utility__badge {
  background: var(--c-accent);
  padding: 2px var(--s-1);
  font-weight: 600;
  letter-spacing: .04em;
}
.utility__count { color: var(--c-inv-muted); }
.utility__list { display: flex; gap: var(--s-3); color: var(--c-inv-muted); }
.utility__item { position: relative; }
.utility__item + .utility__item::before {
  content: ""; position: absolute; left: calc(var(--s-3) / -2); top: 50%;
  width: 1px; height: 10px; background: var(--c-inv-line); transform: translateY(-50%);
}

/* --- Brand -------------------------------------------------- */
.brand { display: inline-flex; align-items: center; }
/* Absolutely centred on the header row itself (not on the grid track
   between .header__start and .actions) so it stays dead-centre even
   though the search bar and the action icons are very different
   widths — grid's "1fr auto 1fr" only centres between two columns of
   equal computed width, which reads as off-centre once one side's
   content is much wider than the other's. Scoped to the header: the
   footer's copy of .brand is a normal in-flow flex child instead. */
.header__inner .brand {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.brand__logo {
  display: block;
  /* scales with viewport instead of jumping between fixed breakpoint
     values, so the header stays this large on desktop without the
     logo (and its ~3.24:1 width) overrunning tablet/phone headers */
  height: clamp(28px, 5vw, 64px); width: auto;
  transition: height var(--d) var(--e);
}
.header.is-stuck .brand__logo { height: clamp(24px, 4vw, 52px); }

/* Header logo — a gentle idle wobble keeps the mark from sitting dead
   still, then hover layers on a bolder "power on" jolt plus a pulsing
   glow and two spark accents either side, so the whole gesture reads
   as one animated moment rather than a single highlight state. */
@keyframes logoIdle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-2px) rotate(-1.1deg); }
  50%      { transform: translateY(0) rotate(0deg); }
  75%      { transform: translateY(-1px) rotate(1.1deg); }
}
@keyframes logoHoverIn {
  from { transform: scale(1) rotate(0deg); }
  to   { transform: scale(1.08) rotate(-2deg); }
}
@keyframes logoHoverLoop {
  0%, 100% { transform: scale(1.08) rotate(-2deg); }
  50%      { transform: scale(1.1) rotate(2deg); }
}
@keyframes logoSparkPop {
  0%   { opacity: 0; transform: translateY(-50%) scale(.2); }
  35%  { opacity: 1; transform: translateY(-140%) scale(1); }
  100% { opacity: 0; transform: translateY(-220%) scale(.3); }
}
.header__inner .brand__logo {
  transform-origin: 50% 100%;
  animation: logoIdle 6s ease-in-out infinite;
}
.header__inner .brand:hover .brand__logo,
.header__inner .brand:focus-visible .brand__logo {
  animation: logoHoverIn .6s cubic-bezier(.33,1,.68,1) both,
             logoHoverLoop 3s ease-in-out .6s infinite;
}
.header__inner .brand::before,
.header__inner .brand::after {
  content: "";
  position: absolute; top: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--c-accent);
  opacity: 0; pointer-events: none;
}
.header__inner .brand::before { left: -14px; }
.header__inner .brand::after  { right: -14px; }
.header__inner .brand:hover::before   { animation: logoSparkPop .7s ease-out; }
.header__inner .brand:hover::after    { animation: logoSparkPop .7s ease-out .12s; }
@media (prefers-reduced-motion: reduce) {
  .header__inner .brand__logo,
  .header__inner .brand:hover .brand__logo,
  .header__inner .brand:focus-visible .brand__logo { animation: none; }
  .header__inner .brand:hover::before,
  .header__inner .brand:hover::after { animation: none; }
}

/* the logo's own wordmark is black/red and would vanish on the dark
   footer, so it's repainted solid white there via mask-image instead
   of shipping a second logo asset: the svg's alpha shape becomes the
   mask and the span's own background-color shows through it */
.brand__logo--mask {
  /* .footer__brand sits in a fixed 300px column (see .footer__top), so
     the max here is capped to keep the logo's ~3.24:1 width inside it
     instead of overflowing into the nav column beside it */
  height: clamp(34px, 5vw, 84px);
  max-width: 100%;
  aspect-ratio: 1024 / 277;
  background-color: #fff;
  -webkit-mask-image: url("LogoFin.svg");
  mask-image: url("LogoFin.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* --- Header ------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--d) var(--e);
}
.header.is-stuck { box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.header__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--s-3);
  /* matches .brand__logo's own clamp() so the row is always exactly
     tall enough for the absolutely-positioned logo — it no longer
     sits in flow, so nothing else would otherwise reserve it room —
     plus the padding-block below, which gives it breathing room
     above/below instead of the logo touching the row's edges */
  min-height: clamp(28px, 5vw, 64px);
  padding-block: 10px;
  transition: min-height var(--d) var(--e), padding-block var(--d) var(--e);
}
.header.is-stuck .header__inner { min-height: clamp(24px, 4vw, 52px); padding-block: 6px; }
.header__start { display: flex; align-items: center; gap: var(--s-3); justify-self: start; min-width: 0; }

.header__burger {
  display: none;
  width: 40px; height: 40px;
  margin-left: -10px;
  align-items: center; justify-content: center;
}
.header__burger-bars,
.header__burger-bars::before,
.header__burger-bars::after {
  display: block; width: 20px; height: 1.6px; background: var(--c-ink);
}
.header__burger-bars { position: relative; }
.header__burger-bars::before, .header__burger-bars::after { content: ""; position: absolute; left: 0; }
.header__burger-bars::before { top: -6px; }
.header__burger-bars::after  { top: 6px; }

/* --- Search ------------------------------------------------- */
.search { position: relative; flex: 1 1 auto; max-width: 400px; min-width: 0; }
.search__label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.search__field {
  display: flex; align-items: center;
  background: var(--c-surface);
  border: 1px solid var(--c-line-strong);
  transition: border-color var(--d) var(--e);
}
.search__field:focus-within { border-color: var(--c-ink); }
.search__icon { width: 20px; height: 20px; margin-inline: 12px; color: var(--c-ink-2); flex: 0 0 auto; }
.search__input {
  flex: 1 1 auto; min-width: 0;
  border: 0; background: none;
  padding: 11px 0;
  font-size: var(--t-14);
}
.search__input::placeholder { color: var(--c-ink-2); }
.search__input:focus { outline: none; }
.search__input::-webkit-search-cancel-button,
.search__input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search__input::-ms-clear { display: none; width: 0; height: 0; }
.search__clear {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; flex: 0 0 auto;
  color: var(--c-ink-2);
  transition: color var(--d) var(--e);
}
.search__clear[hidden] { display: none; }
.search__clear svg { width: 16px; height: 16px; }
.search__clear:hover { color: var(--c-accent); }
.search__submit {
  align-self: stretch;
  background: var(--c-ink); color: #fff;
  padding-inline: var(--s-3);
  font-size: var(--t-13); font-weight: 600; letter-spacing: .02em;
  transition: background var(--d) var(--e);
}
.search__submit:hover { background: var(--c-accent); }

/* --- Search results dropdown --------------------------------- */
.search__results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding: var(--s-2);
  opacity: 0; transform: translateY(-6px);
  transition: opacity var(--d) var(--e), transform var(--d) var(--e);
  z-index: 10;
}
.search__results.is-open { opacity: 1; transform: none; }
.search__results-heading {
  font-family: var(--f-mono);
  font-size: var(--t-11);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-2);
  padding: 4px 6px 10px;
}
.search__result + .search__result { margin-top: 2px; }
.search__result-link {
  display: flex; align-items: center; gap: 10px;
  padding: 6px;
  transition: background var(--d) var(--e);
}
.search__result-link:hover, .search__result-link:focus-visible { background: var(--c-paper); }
.search__result-media { width: 40px; height: 40px; object-fit: cover; border: 1px solid var(--c-line); flex: 0 0 auto; }
.search__result-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.search__result-title {
  font-size: var(--t-13); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.search__result-price { font-size: var(--t-12); color: var(--c-ink-2); }
.search__results-empty { font-size: var(--t-13); color: var(--c-ink-2); padding: 6px; }

/* --- Header actions ----------------------------------------- */
.actions { display: flex; align-items: center; gap: 4px; justify-self: end; }
.actions__btn {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 10px;
  font-size: var(--t-11); font-weight: 500;
  color: var(--c-ink);
  transition: color var(--d) var(--e);
}
.actions__btn:hover { color: var(--c-accent); }
.actions__btn svg { width: 21px; height: 21px; transition: transform .3s var(--e); }
.actions__btn--cart:hover svg { transform: scale(1.15) rotate(-8deg); }
.actions__btn--search-toggle { display: none; }
.actions__count {
  position: absolute; top: 0; right: 2px;
  min-width: 17px; height: 17px;
  display: grid; place-items: center;
  background: var(--c-accent); color: #fff;
  font-family: var(--f-mono); font-size: 10px; font-weight: 600;
  border-radius: 50%;
  padding-inline: 4px;
}

/* --- Main nav + mega menu ----------------------------------- */
.mainnav { position: relative; border-top: 1px solid var(--c-line); }
.header.is-stuck .mainnav { border-top-color: transparent; }
.mainnav__list { display: flex; gap: var(--s-1); }
.mainnav__item { position: static; }
.mainnav__link {
  display: block;
  padding: 13px var(--s-2);
  font-size: var(--t-14); font-weight: 600; letter-spacing: -0.005em;
  color: var(--c-ink);
  position: relative;
  transition: color var(--d) var(--e);
}
.mainnav__link::after {
  content: ""; position: absolute; left: var(--s-2); right: var(--s-2); bottom: 0;
  height: 2px; background: var(--c-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--d) var(--e);
}
.mainnav__link:hover, .mainnav__item.is-open > .mainnav__link { color: var(--c-accent); }
.mainnav__link:hover::after, .mainnav__item.is-open > .mainnav__link::after { transform: scaleX(1); }
.mainnav__link--accent { color: var(--c-accent); }
.mainnav__link.is-current { color: var(--c-accent); }
.mainnav__link.is-current::after { transform: scaleX(1); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  opacity: 0; transform: translateY(-6px);
  transition: opacity var(--d) var(--e), transform var(--d) var(--e);
  z-index: 5;
}
.mega.is-open { opacity: 1; transform: none; }
.mega.mega--no-anim { transition: none; }
.mega__inner {
  padding-block: var(--s-4);
}
.mega__links li + li { margin-top: 9px; }
.mega__links a {
  font-size: var(--t-14);
  color: var(--c-ink);
  transition: color var(--d) var(--e);
}
.mega__links a:hover { color: var(--c-accent); }
/* The panel now only ever lists a category's real, filterable
   sub-categories — a short, flat set — so it reads as one row of
   quick links across the full-width panel instead of a tall stacked
   column with room to spare either side. */
.mega__links--row {
  display: flex; flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
}
.mega__links--row li + li { margin-top: 0; }


/* --- Mobile drawer ------------------------------------------ */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(17,19,21,.5); opacity: 0; transition: opacity var(--d) var(--e); }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  position: absolute; inset-block: 0; left: 0; z-index: 2;
  width: min(88vw, 380px);
  background: var(--c-paper);
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .26s var(--e);
  overflow-y: auto;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-2) var(--s-3);
  border-bottom: 1px solid var(--c-line);
}
.drawer__title {
  font-family: var(--f-mono); font-size: var(--t-12);
  letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-2);
}
.drawer__close { width: 36px; height: 36px; display: grid; place-items: center; margin-right: -8px; }
.drawer__close svg { width: 20px; height: 20px; }
.drawer__nav { flex: 1 1 auto; padding-block: var(--s-1); }
.drawer__flat {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 14px var(--s-3);
  font-size: var(--t-16); font-weight: 600;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
}
.drawer__flat--accent { color: var(--c-accent); }
/* Split button: the label itself is a real link to the category page,
   and a separate chevron button only expands/collapses the sub-list —
   so tapping the name navigates, and tapping the chevron browses. */
.drawer__toggle {
  display: flex; align-items: stretch; justify-content: space-between;
  width: 100%;
  border-bottom: 1px solid var(--c-line);
}
.drawer__toggle-link {
  flex: 1 1 auto;
  display: flex; align-items: center;
  padding: 14px var(--s-3);
  font-size: var(--t-16); font-weight: 600;
  transition: color var(--d) var(--e);
}
.drawer__toggle-link:hover { color: var(--c-accent); }
.drawer__chev-btn {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: 48px;
}
.drawer__chev { width: 9px; height: 9px; border-right: 1.6px solid var(--c-ink-2); border-bottom: 1.6px solid var(--c-ink-2); transform: rotate(45deg); transition: transform var(--d) var(--e); }
.drawer__chev-btn[aria-expanded="true"] .drawer__chev { transform: rotate(225deg); }
.drawer__sub { display: none; padding: var(--s-1) 0 var(--s-2); background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.drawer__sub.is-open { display: block; }
.drawer__sub a { display: block; padding: 9px var(--s-3) 9px var(--s-5); font-size: var(--t-14); color: var(--c-ink-2); }
.drawer__sub a:hover { color: var(--c-accent); }
.drawer__foot { padding: var(--s-3); border-top: 1px solid var(--c-line); display: grid; gap: 10px; }
.drawer__foot-link { font-size: var(--t-14); color: var(--c-ink-2); }

/* --- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px var(--s-4);
  font-size: var(--t-14); font-weight: 600; letter-spacing: .01em;
  border: 1px solid transparent;
  transition: background var(--d) var(--e), color var(--d) var(--e), border-color var(--d) var(--e), transform var(--d) var(--e);
}
.btn:active { transform: scale(.96); }
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-dark); }
.btn--ghost { border-color: var(--c-line-strong); color: var(--c-ink); }
.btn--ghost:hover { border-color: var(--c-ink); background: var(--c-ink); color: #fff; }
.btn--inverse { background: #fff; color: var(--c-ink); }
.btn--inverse:hover { background: var(--c-accent); color: #fff; }
.btn--card {
  width: 100%;
  margin-top: var(--s-2);
  padding: 11px var(--s-2);
  border-color: var(--c-line-strong);
  font-size: var(--t-13);
}
.btn--card:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-14); font-weight: 600;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--c-line-strong);
  transition: color var(--d) var(--e), border-color var(--d) var(--e);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--d) var(--e); }
.link-arrow:hover { color: var(--c-accent); border-color: var(--c-accent); }
.link-arrow:hover svg { transform: translateX(3px); }

/* --- Hero entrance ---------------------------------------------
   Every hero sits above the fold, so the scroll-triggered
   .reveal-item system (script.js §11) never reaches it — it's
   already in view on first paint. This plays a fade-and-rise on
   load instead, staggered so the eye lands on the kicker first and
   the supporting detail follows. Pure CSS/no JS dependency, and
   because `hidden`/`display:none` resets a running animation, the
   homepage slider replays it every time a slide becomes active
   again, not just on first load. */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.breadcrumb        { animation: heroFadeUp .5s var(--e) both; }
.page-hero__title  { animation: heroFadeUp .6s var(--e) .08s both; }
.page-hero__lead   { animation: heroFadeUp .6s var(--e) .16s both; }
.cathero           { animation: heroFadeUp .6s var(--e) .1s both; }
.cathero__pills    { animation: heroFadeUp .6s var(--e) .2s both; }
.gallery           { animation: heroFadeUp .6s var(--e) .08s both; }
.pdp__info         { animation: heroFadeUp .6s var(--e) .18s both; }
.hero__kicker      { animation: heroFadeUp .6s var(--e) both; }
.hero__title       { animation: heroFadeUp .6s var(--e) .08s both; }
.hero__lead        { animation: heroFadeUp .6s var(--e) .16s both; }
.hero__cta         { animation: heroFadeUp .6s var(--e) .24s both; }
.hero__facts       { animation: heroFadeUp .6s var(--e) .32s both; }
.hero__media       { animation: heroFadeUp .7s var(--e) .18s both; }
@media (prefers-reduced-motion: reduce) {
  .breadcrumb, .page-hero__title, .page-hero__lead, .cathero, .cathero__pills,
  .gallery, .pdp__info, .hero__kicker, .hero__title, .hero__lead,
  .hero__cta, .hero__facts, .hero__media { animation: none; }
}

/* --- Hero --------------------------------------------------- */
.hero { position: relative; border-bottom: 1px solid var(--c-line); overflow: hidden; }

/* Slogan ribbon — a small red marquee ahead of the slider */
.hero__marquee {
  background: var(--c-accent);
  border-bottom: 1px solid var(--c-accent-dark);
  overflow: hidden;
}
.hero__marquee-viewport { display: flex; width: max-content; }
.hero__marquee-track {
  display: flex; align-items: center; flex: 0 0 auto;
  animation: marquee 40s linear infinite;
}
.hero__marquee-viewport:hover .hero__marquee-track { animation-play-state: paused; }
.hero__marquee-item {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding-block: var(--s-2);
  padding-inline: clamp(20px, 3vw, 48px);
  font-size: clamp(15px, 1.8vw, var(--t-20));
  font-weight: 700;
  letter-spacing: -0.005em;
  color: #fff;
  white-space: nowrap;
}
.hero__marquee-item::after {
  content: "";
  width: 6px; height: 6px; flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
}

.hero__viewport { position: relative; }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(0);
  transition: transform .6s var(--e), opacity .6s var(--e);
  pointer-events: none;
}
.hero__slide[hidden] { display: none; }
.hero__slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.hero__slide--offset-right { transform: translateX(80px); opacity: 0; }
.hero__slide--offset-left  { transform: translateX(-80px); opacity: 0; }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: start;
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: var(--s-3);
}
.hero__kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: var(--t-12);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-ink-2);
  margin-bottom: var(--s-3);
}
.hero__title {
  font-size: clamp(34px, 5.2vw, var(--t-72));
  line-height: 1.0;
  letter-spacing: -0.035em;
  margin-bottom: var(--s-3);
}
.hero__lead {
  max-width: 52ch;
  font-size: clamp(15px, 1.3vw, var(--t-18));
  color: var(--c-ink-2);
  margin-bottom: var(--s-5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-line);
}
.hero__fact dt {
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-2);
  margin-bottom: 4px;
}
.hero__fact dd { font-size: var(--t-14); font-weight: 600; line-height: 1.35; }

.hero__media { position: relative; }
.hero__figure {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--e); }
.hero__figure:hover .hero__img { transform: scale(1.05); }

.hero__controls {
  display: flex; align-items: center; gap: var(--s-2);
  padding-bottom: var(--s-3);
}
.hero__arrow {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--c-line-strong);
  color: var(--c-ink);
  transition: background var(--d) var(--e), border-color var(--d) var(--e), color var(--d) var(--e);
}
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow:hover { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* Prev/next now flank the image column instead of sitting in the
   bottom bar — an overlay grid mirrors .hero__inner's own columns so
   the buttons land exactly on the media column's edges, whatever
   slide is active. */
.hero__side-nav {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--s-8);
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: var(--s-3);
  pointer-events: none;
}
.hero__side-nav-track {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero__side-nav-track .hero__arrow { pointer-events: auto; }
.hero__arrow--side {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.hero__dots { display: flex; gap: var(--s-1); }
.hero__dot {
  width: 28px; height: 3px;
  background: var(--c-line-strong);
  transition: background var(--d) var(--e);
}
.hero__dot.is-active { background: var(--c-accent); }

/* --- USP strip ---------------------------------------------- */
.usp { background: var(--c-surface); border-bottom: 1px solid var(--c-line); }
.usp__list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  padding-block: var(--s-6);
}
.usp__item { position: relative; }
.usp__item + .usp__item { padding-left: var(--s-5); }
.usp__item + .usp__item::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 1px; background: var(--c-line);
}
.usp__icon {
  width: 26px; height: 26px; color: var(--c-accent); margin-bottom: var(--s-2);
  transition: transform .3s var(--e);
}
.usp__item:hover .usp__icon { transform: scale(1.15) rotate(-6deg); }
.usp__title { font-size: var(--t-16); margin-bottom: 6px; }
.usp__text { font-size: var(--t-14); color: var(--c-ink-2); line-height: 1.55; max-width: 34ch; }

/* --- Category index list -------------------------------------- */
.catlist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: var(--s-6);
  border-top: 1px solid var(--c-line-strong);
}
.catrow {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4) var(--s-1);
  margin-inline: calc(var(--s-1) * -1);
  border-bottom: 1px solid var(--c-line);
  transition: background var(--d) var(--e), border-color .25s var(--e);
}
.catrow:hover { background: var(--c-paper); border-color: var(--c-line-strong); }
.catrow:hover .catrow__icon-tile { transform: scale(1.1) rotate(-6deg); }
.catrow:hover .catrow__icon-tile svg { fill: var(--c-accent); }
.catrow__name {
  font-size: var(--t-16); font-weight: 600;
  transition: color var(--d) var(--e);
}
.catrow:hover .catrow__name { color: var(--c-accent); }
.catrow__count {
  margin-left: auto;
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-2);
  white-space: nowrap;
}
.catrow__arrow {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  color: var(--c-line-strong);
  transition: transform .25s var(--e), color .25s var(--e);
}
.catrow:hover .catrow__arrow { color: var(--c-accent); transform: translateX(4px); }

/* --- Category index (full category listing page) -------------- */
/* The page-hero above already carries its own bottom padding, so the
   default .section top padding on top of that reads as a double gap
   before the list even starts — tighten just this edge. */
.section--catlist { padding-top: var(--s-4); }
.catidx { border-top: 1px solid var(--c-line-strong); }
.catidx__row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto auto;
  align-items: center;
  column-gap: var(--s-4);
  padding: var(--s-5) var(--s-1);
  margin-inline: calc(var(--s-1) * -1);
  border-bottom: 1px solid var(--c-line);
  transition: background var(--d) var(--e);
}
.catidx__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.catidx__name { font-size: var(--t-24); font-weight: 600; transition: color var(--d) var(--e); }
.catidx__subs {
  font-size: var(--t-13); color: var(--c-ink-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.catidx__count {
  font-family: var(--f-mono); font-size: var(--t-12);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-ink-2);
  white-space: nowrap;
}
.catidx__arrow {
  width: 20px; height: 20px;
  color: var(--c-line-strong);
  transition: transform .25s var(--e), color .25s var(--e);
}

.catidx__toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--s-2);
  padding-bottom: var(--s-3);
}
.catidx__result-count { font-size: var(--t-13); color: var(--c-ink-2); }
.catidx__perpage { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-13); color: var(--c-ink-2); }
.catidx__perpage-select {
  font: inherit; font-size: var(--t-13); color: var(--c-ink);
  border: 1px solid var(--c-line-strong);
  background: var(--c-surface);
  padding: 6px 10px;
  cursor: pointer;
}
.catidx__perpage-select:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }

/* --- Category hover/focus preview accordion --------------------
   The panel expands in document flow (JS drives max-height off
   scrollHeight, since CSS alone can't transition to "auto") rather
   than floating over the rows below it. */
.catidx__row.is-open { background: var(--c-paper); }
.catidx__row.is-open .catidx__icon-tile { transform: scale(1.1) rotate(-6deg); }
.catidx__row.is-open .catidx__icon-tile svg { fill: var(--c-accent); }
.catidx__row.is-open .catidx__name { color: var(--c-accent); }
.catidx__row.is-open .catidx__arrow { color: var(--c-accent); transform: rotate(90deg); }

/* Real :hover only for pointer devices that actually have hover — on
   touch, any matching :hover rule makes iOS/Android treat the first
   tap as "enter hover" and eat it, so the row needed two taps to open.
   Gating hover behind this query means the first tap always clicks. */
@media (hover: hover) and (pointer: fine) {
  .catidx__row:hover { background: var(--c-paper); }
  .catidx__row:hover .catidx__icon-tile { transform: scale(1.1) rotate(-6deg); }
  .catidx__row:hover .catidx__icon-tile svg { fill: var(--c-accent); }
  .catidx__row:hover .catidx__name { color: var(--c-accent); }
  .catidx__row:hover .catidx__arrow { color: var(--c-accent); transform: translateX(6px); }
}

.catidx__preview {
  max-height: 0;
  overflow: hidden;
  background: var(--c-paper);
  transition: max-height var(--d) var(--e);
}
.catidx__preview-inner { display: flex; align-items: flex-start; gap: var(--s-5); padding: var(--s-3) var(--s-1) var(--s-4); }
.catidx__preview-main { flex: 1 1 auto; min-width: 0; }
.catidx__preview-label {
  font-family: var(--f-mono); font-size: var(--t-11); letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-ink-2); margin-bottom: var(--s-2);
}
.catidx__preview-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s-2); }
.catidx__preview-desc {
  flex: 0 0 260px;
  border-left: 1px solid var(--c-line);
  padding-left: var(--s-4);
}
.catidx__preview-desc-text { font-size: var(--t-14); color: var(--c-ink-2); line-height: 1.55; margin-bottom: var(--s-3); }
/* The panel's own max-height opens with a plain transition (JS-driven,
   see script.js), but its contents get their own fade-and-rise on top
   of that so the preview feels like it arrives rather than just
   unfolds — cards stepped in a quick stagger, description trailing
   a beat behind. */
.catidx__preview-label,
.catidx__preview-desc {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--e), transform .3s var(--e);
}
.catidx__preview-card {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s var(--e), transform .3s var(--e);
}
.catidx__preview.is-open .catidx__preview-label,
.catidx__preview.is-open .catidx__preview-card,
.catidx__preview.is-open .catidx__preview-desc { opacity: 1; transform: none; }
.catidx__preview.is-open .catidx__preview-label { transition-delay: .05s; }
.catidx__preview.is-open .catidx__preview-card:nth-child(1) { transition-delay: .08s; }
.catidx__preview.is-open .catidx__preview-card:nth-child(2) { transition-delay: .12s; }
.catidx__preview.is-open .catidx__preview-card:nth-child(3) { transition-delay: .16s; }
.catidx__preview.is-open .catidx__preview-card:nth-child(4) { transition-delay: .2s; }
.catidx__preview.is-open .catidx__preview-card:nth-child(5) { transition-delay: .24s; }
.catidx__preview.is-open .catidx__preview-desc { transition-delay: .16s; }
.catidx__preview-card a { display: flex; flex-direction: column; gap: 4px; }
.catidx__preview-media { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: var(--c-surface); }
.catidx__preview-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--e); }
.catidx__preview-card a:hover .catidx__preview-media img { transform: scale(1.06); }
.catidx__preview-name {
  font-size: var(--t-11); line-height: 1.3; font-weight: 600;
  transition: color var(--d) var(--e);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.catidx__preview-card a:hover .catidx__preview-name { color: var(--c-accent); }
.catidx__preview-price { font-size: var(--t-11); font-weight: 700; color: var(--c-ink-2); }
.catidx__preview-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-13); font-weight: 600; }
.catidx__preview-link svg { width: 14px; height: 14px; transition: transform var(--d) var(--e); }
.catidx__preview-link:hover { color: var(--c-accent); }
.catidx__preview-link:hover svg { transform: translateX(4px); }

/* --- Category pagination --------------------------------------- */
.catidx__pagination { display: flex; align-items: center; justify-content: center; gap: var(--s-2); padding-top: var(--s-5); }
.catidx__page-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--c-line-strong);
  color: var(--c-ink);
  transition: background var(--d) var(--e), color var(--d) var(--e), border-color var(--d) var(--e);
}
.catidx__page-btn svg { width: 16px; height: 16px; }
.catidx__page-btn:hover:not(:disabled) { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.catidx__page-btn:disabled { opacity: .35; cursor: not-allowed; }
.catidx__page-list { display: flex; align-items: center; gap: 4px; }
.catidx__page-num {
  min-width: 36px; height: 36px; padding-inline: 4px;
  font-family: var(--f-mono); font-size: var(--t-13);
  color: var(--c-ink-2);
  border: 1px solid transparent;
  transition: color var(--d) var(--e), border-color var(--d) var(--e);
}
.catidx__page-num:hover { color: var(--c-ink); }
.catidx__page-num.is-current { color: var(--c-accent); border-color: var(--c-accent); font-weight: 700; }

/* --- Category subpage: filters + product grid ----------------- */
.catshop { display: grid; grid-template-columns: 240px 1fr; gap: var(--s-6); align-items: start; }
.catshop__main { min-width: 0; }
.catshop__bar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
}
.catshop__count { font-size: var(--t-13); color: var(--c-ink-2); }
.catshop__sort { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-13); color: var(--c-ink-2); }

/* --- Custom dropdown (script.js §17) -------------------------
   Replaces the "Sort by" / "Show" <select>s with a fully CSS-styled
   trigger + listbox, because a native option list is drawn by the
   OS and CSS can't reliably override its hover/selected colour
   (Chromium especially ignores it) — this way "selected/hover = red"
   actually holds everywhere instead of being a best-effort request
   to the browser. The real <select> stays in the DOM, just hidden,
   holding the value every existing filter/sort listener reads. */
.dropdown { position: relative; display: inline-block; }
.dropdown__native {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.dropdown__trigger {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: var(--t-13); color: var(--c-ink);
  border: 1px solid var(--c-line-strong);
  background: var(--c-surface);
  padding: 7px 10px;
  cursor: pointer;
  transition: border-color var(--d) var(--e);
}
.dropdown__trigger:hover { border-color: var(--c-ink); }
.dropdown__trigger:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.dropdown__chevron { width: 12px; height: 12px; flex: 0 0 auto; color: var(--c-ink); transition: transform var(--d) var(--e); }
.dropdown__trigger[aria-expanded="true"] .dropdown__chevron { transform: rotate(180deg); }
.dropdown__list {
  position: absolute; z-index: 20;
  top: calc(100% + 4px); left: 0;
  min-width: 100%; width: max-content;
  margin: 0; padding: 4px 0;
  list-style: none;
  background: var(--c-surface);
  border: 1px solid var(--c-line-strong);
  box-shadow: 0 8px 20px rgba(0,0,0,.1);
}
.dropdown__option {
  padding: 8px 12px;
  font-size: var(--t-13); color: var(--c-ink);
  white-space: nowrap;
  cursor: pointer;
}
.dropdown__option:hover,
.dropdown__option:focus-visible,
.dropdown__option.is-selected {
  background: var(--c-accent);
  color: #fff;
  outline: none;
}
.catshop__empty { padding: var(--s-6) 0; text-align: center; color: var(--c-ink-2); font-size: var(--t-14); }
.catshop__empty .catfilter__clear { margin-left: 6px; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.card[hidden] { display: none; }

.catfilter { border-top: 1px solid var(--c-line-strong); padding-top: var(--s-4); }
.catfilter__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-4); }
.catfilter__title { font-size: var(--t-16); font-weight: 600; }
.catfilter__clear {
  font-family: var(--f-mono); font-size: var(--t-11); letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-ink-2);
  transition: color var(--d) var(--e);
}
.catfilter__clear:hover { color: var(--c-accent); }
/* Mobile-only accordion trigger — on desktop the sidebar is already
   fully visible, so this stays display:none until the <1024 rule
   below turns it on and collapses .catfilter__body behind it. Without
   this, every checkbox group (sub-category, brand, price) rendered
   in full above the product grid, pushing it well off the first
   screen on a phone. */
.catfilter__mobile-toggle {
  display: none;
  align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: var(--t-11); letter-spacing: .06em; text-transform: uppercase;
  color: var(--c-ink);
  margin-left: auto;
}
.catfilter__mobile-count {
  background: var(--c-accent); color: #fff;
  font-weight: 700; letter-spacing: 0;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
}
.catfilter__mobile-toggle .drawer__chev { transform: rotate(45deg); }
.catfilter__mobile-toggle[aria-expanded="true"] .drawer__chev { transform: rotate(225deg); }
.catfilter__group { border: none; padding: 0; margin: 0 0 var(--s-4); }
.catfilter__legend {
  font-family: var(--f-mono); font-size: var(--t-11); letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-ink-2);
  padding: 0; margin-bottom: var(--s-2);
}
.catfilter__option {
  display: flex; align-items: center; gap: 8px;
  font-size: var(--t-14); color: var(--c-ink);
  padding-block: 6px;
  cursor: pointer;
}
.catfilter__option input { width: 16px; height: 16px; accent-color: var(--c-accent); cursor: pointer; }

/* Dual-handle price slider: two overlapping native range inputs,
   track/thumb chrome stripped so only the custom track + thumbs show. */
.catfilter__price { position: relative; padding-top: 6px; }
.catfilter__price-track {
  position: relative;
  height: 3px;
  background: var(--c-line-strong);
}
.catfilter__price-range {
  position: absolute; top: 0; height: 3px;
  background: var(--c-accent);
}
.catfilter__price-input {
  /* Height matches the thumb (not the track) so the thumb fills the
     input with zero internal slack — nothing left for the browser to
     center ambiguously. The whole box is then shifted up by half the
     thumb/track height difference so its middle lands on the track. */
  position: absolute; top: 2.5px; left: 0;
  width: 100%; height: 10px; margin: 0;
  -webkit-appearance: none; appearance: none;
  background: transparent;
  pointer-events: none;
}
.catfilter__price-input:first-of-type { z-index: 1; }
.catfilter__price-input:last-of-type { z-index: 2; }
.catfilter__price-input::-webkit-slider-runnable-track { -webkit-appearance: none; height: 10px; background: transparent; }
.catfilter__price-input::-moz-range-track { height: 10px; background: transparent; border: none; }
.catfilter__price-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 18px; height: 10px;
  margin-top: 0;
  border-radius: 0;
  background: var(--c-surface);
  border: 2px solid var(--c-accent);
  cursor: pointer;
}
.catfilter__price-input::-moz-range-thumb {
  pointer-events: auto;
  width: 18px; height: 10px;
  border-radius: 0;
  background: var(--c-surface);
  border: 2px solid var(--c-accent);
  cursor: pointer;
}
.catfilter__price-input:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--c-ink); outline-offset: 2px; }
.catfilter__price-input:focus-visible::-moz-range-thumb { outline: 2px solid var(--c-ink); outline-offset: 2px; }
/* Exact numeric entry alongside the sliders — same track drives both,
   updatePriceUI() (script.js) keeps whichever isn't being typed into
   in sync with the one that is. */
.catfilter__price-inputs { display: flex; align-items: center; gap: 8px; margin-top: var(--s-3); }
.catfilter__price-num-field {
  display: flex; align-items: center; gap: 4px;
  border: 1px solid var(--c-line-strong);
  padding: 6px 8px;
  transition: border-color var(--d) var(--e);
}
.catfilter__price-num-field:focus-within { border-color: var(--c-ink); }
.catfilter__price-num-currency { font-family: var(--f-mono); font-size: var(--t-13); color: var(--c-ink-2); }
.catfilter__price-num {
  width: 4ch;
  font: inherit; font-family: var(--f-mono); font-size: var(--t-13); color: var(--c-ink);
  border: none; background: none; padding: 0;
  -moz-appearance: textfield;
}
.catfilter__price-num::-webkit-outer-spin-button,
.catfilter__price-num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.catfilter__price-num:focus-visible { outline: none; }
.catfilter__price-num-sep { color: var(--c-line-strong); }

/* --- Rails (product carousels) ------------------------------ */
.sechead--rail { align-items: center; }
.rail__nav { display: flex; align-items: center; gap: var(--s-2); }
.rail__btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--c-line-strong);
  color: var(--c-ink);
  transition: background var(--d) var(--e), border-color var(--d) var(--e), color var(--d) var(--e), opacity var(--d) var(--e);
}
.rail__btn svg { width: 19px; height: 19px; }
.rail__btn:hover:not(:disabled) { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.rail__btn:disabled { opacity: .3; cursor: default; }

.rail { position: relative; }
.rail__track {
  display: flex;
  gap: var(--s-3);
  overflow-x: auto;
  /* the CSS overflow spec computes a lone `visible` axis to `auto` once
     the other axis is scrolling, so leaving this unset made the track
     vertically scrollable too — cards hijacked the wheel and "scrolled
     up/down in place" under the cursor instead of the page moving */
  overflow-y: hidden;
  /* `mandatory` fights the JS scrollBy() below: the calculated distance
     rarely lands exactly on a snap point (subpixel gap/width rounding),
     so the browser's snap correction cancelled the smooth-scroll
     animation and pulled the rail straight back to where it started —
     cards looked like they "scrolled in place". `proximity` still
     nudges alignment on manual drag/swipe without overriding JS scrolls. */
  scroll-snap-type: x proximity;
  /* without this the snap pulls the first card flush to the scrollport
     edge, breaking its alignment with the section heading above */
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--s-1);
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__cell {
  flex: 0 0 clamp(228px, 24vw, 300px);
  scroll-snap-align: start;
}

/* --- Product card ------------------------------------------- */
.card {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  transition: border-color var(--d) var(--e);
}
.card:hover { border-color: var(--c-line-strong); }
.card__media {
  position: relative; display: block;
  background: var(--c-surface);
  overflow: hidden;
  border-bottom: 1px solid var(--c-line);
}
.card__media img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .35s var(--e);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__flag {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: var(--c-ink); color: #fff;
  padding: 4px var(--s-1);
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .08em; text-transform: uppercase;
}
.card__flag--sale { background: var(--c-accent); }

.card__body { display: flex; flex-direction: column; flex: 1 1 auto; padding: var(--s-2); }
.card__brand {
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-ink-2);
  margin-bottom: 6px;
}
.card__title { font-size: var(--t-14); font-weight: 600; line-height: 1.4; letter-spacing: 0; margin-bottom: 6px; }
.card__title a { transition: color var(--d) var(--e); }
.card__title a:hover { color: var(--c-accent); }
.card__sku {
  font-family: var(--f-mono); font-size: var(--t-11);
  color: var(--c-ink-2); letter-spacing: .04em;
  margin-bottom: 10px;
}
.card__rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.card__rating-num { font-size: var(--t-12); font-weight: 600; }
.card__rating-count { font-size: var(--t-12); color: var(--c-ink-2); }

.card__price { display: flex; align-items: baseline; gap: var(--s-1); margin-top: auto; }
.card__price-now { font-size: var(--t-20); font-weight: 700; letter-spacing: -0.02em; }
.card__price-now--sale { color: var(--c-accent); }
.card__price-was { font-size: var(--t-13); color: var(--c-ink-2); text-decoration: line-through; }

.card__stock { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: var(--t-12); color: var(--c-ink-2); }
.card__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-stock); flex: 0 0 auto; }

/* --- Stars -------------------------------------------------- */
.stars { position: relative; display: inline-block; line-height: 1; font-size: var(--t-13); letter-spacing: .1em; }
.stars::before { content: "\2605\2605\2605\2605\2605"; color: var(--c-line-strong); }
/* width is set inline per rating; top/left/bottom only, so `width` is
   never over-constrained by a competing `right` value */
.stars__fill { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; white-space: nowrap; }
.stars__fill::before { content: "\2605\2605\2605\2605\2605"; color: var(--c-accent); }
.stars--inverse::before { color: var(--c-inv-line); }

/* --- Product detail page: layout ---------------------------- */
.pdp { padding-block: var(--s-5) var(--s-section); }
.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: var(--s-8);
  align-items: start;
}

/* --- Product detail: gallery -------------------------------- */
.gallery__stage { background: var(--c-surface); border: 1px solid var(--c-line); overflow: hidden; }
.gallery__image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s var(--e); }
.gallery__stage:hover .gallery__image { transform: scale(1.05); }
.gallery__thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-1); margin-top: var(--s-1);
}
.gallery__thumb {
  display: block; width: 100%; padding: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: border-color var(--d) var(--e), transform var(--d) var(--e);
}
.gallery__thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .4s var(--e); }
.gallery__thumb:hover { border-color: var(--c-line-strong); transform: translateY(-2px); }
.gallery__thumb:hover img { transform: scale(1.08); }
.gallery__thumb.is-current { border-color: var(--c-accent); }

/* --- Product detail: info panel ----------------------------- */
.pdp__brand {
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-ink-2); margin-bottom: var(--s-1);
}
.pdp__title { font-size: clamp(28px, 3.6vw, var(--t-40)); margin-bottom: var(--s-2); }
.pdp__sku {
  font-family: var(--f-mono); font-size: var(--t-12);
  letter-spacing: .04em; color: var(--c-ink-2);
  margin-bottom: var(--s-2);
}
.pdp__rating {
  display: flex; align-items: center; gap: var(--s-1);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-line);
}
.pdp__rating-num { font-size: var(--t-14); font-weight: 600; }
.pdp__rating-link {
  font-size: var(--t-13); color: var(--c-ink-2);
  border-bottom: 1px solid var(--c-line-strong);
  transition: color var(--d) var(--e), border-color var(--d) var(--e);
}
.pdp__rating-link:hover { color: var(--c-accent); border-color: var(--c-accent); }

.pdp__price { display: flex; align-items: baseline; gap: var(--s-1); margin-top: var(--s-3); }
.pdp__price .card__price-now { font-size: var(--t-40); }
.pdp__price-note { font-size: var(--t-13); color: var(--c-ink-2); }
.pdp__stock { font-size: var(--t-14); margin-top: var(--s-1); }

.pdp__buy { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--s-2); margin-top: var(--s-4); }
.pdp__add { flex: 1 1 200px; min-height: 48px; transition: background var(--d) var(--e), transform var(--d) var(--e), box-shadow var(--d) var(--e); }
.pdp__add:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(17, 19, 21, .16); }
.pdp__add:active { transform: translateY(0) scale(.97); box-shadow: none; }

.pdp__assure {
  display: grid; gap: 12px;
  margin-top: var(--s-4); padding-top: var(--s-3);
  border-top: 1px solid var(--c-line);
}
.pdp__assure-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: var(--t-14); color: var(--c-ink-2);
  transition: color var(--d) var(--e);
}
.pdp__assure-item:hover { color: var(--c-ink); }
.pdp__assure-icon {
  flex: 0 0 auto; width: 20px; height: 20px; color: var(--c-ink); margin-top: 3px;
  transition: transform .3s var(--e), color var(--d) var(--e);
}
.pdp__assure-item:hover .pdp__assure-icon { color: var(--c-accent); transform: scale(1.15) rotate(-6deg); }

/* --- Quantity stepper --------------------------------------- */
.qty { display: flex; flex-direction: column; gap: var(--s-1); }
.qty__label {
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-2);
}
.qty__control {
  display: flex; align-items: stretch; min-height: 48px;
  border: 1px solid var(--c-line-strong);
  background: var(--c-surface);
}
.qty__btn {
  width: 44px; display: grid; place-items: center;
  color: var(--c-ink);
  transition: background var(--d) var(--e), color var(--d) var(--e), opacity var(--d) var(--e), transform var(--d) var(--e);
}
.qty__btn svg { width: 16px; height: 16px; }
.qty__btn:hover:not(:disabled) { background: var(--c-ink); color: #fff; }
.qty__btn:active:not(:disabled) { transform: scale(.88); }
.qty__btn:disabled { opacity: .3; cursor: default; }
.qty__input {
  width: 52px; text-align: center;
  border: 0; border-inline: 1px solid var(--c-line-strong);
  background: transparent;
  font-size: var(--t-16); font-weight: 600;
  /* native spinners would add a second, redundant set of arrows */
  -moz-appearance: textfield; appearance: textfield;
}
.qty__input::-webkit-outer-spin-button,
.qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* --- Product detail: description + specifications ----------- */
.section--detail { background: var(--c-surface); }
.pdp-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: start;
}
.pdp-detail__heading {
  font-size: var(--t-24);
  padding-bottom: var(--s-2); margin-bottom: var(--s-3);
  border-bottom: 2px solid var(--c-ink);
}
.pdp-detail__copy p { max-width: 65ch; color: var(--c-ink-2); }
.pdp-detail__copy p + p { margin-top: var(--s-2); }

.spec { width: 100%; border-collapse: collapse; }
.spec__row { border-bottom: 1px solid var(--c-line); transition: background var(--d) var(--e); }
.spec__row:first-child { border-top: 1px solid var(--c-line); }
.spec__row:hover { background: var(--c-paper); }
.spec__key {
  width: 45%; text-align: left; font-weight: 400;
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-2);
  padding: 14px var(--s-2) 14px 0;
  transition: color var(--d) var(--e);
}
.spec__row:hover .spec__key { color: var(--c-ink); }
.spec__val { font-size: var(--t-14); font-weight: 600; padding-block: 14px; }

/* --- Product detail: reviews -------------------------------- */
/* .review is authored for the dark trust band, so on paper the meta
   line needs the light-ground ink instead of the inverse muted grey. */
.pdp-reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.pdp-reviews .review {
  padding: var(--s-3); border: 1px solid var(--c-line);
  transition: border-color var(--d) var(--e), transform var(--d) var(--e);
}
.pdp-reviews .review:hover { border-color: var(--c-line-strong); transform: translateY(-3px); }
.pdp-reviews .review__quote { font-size: var(--t-14); }
.pdp-reviews .review__meta { color: var(--c-ink-2); }

/* --- Trust band --------------------------------------------- */
.trust { background: var(--c-ink); color: #fff; padding-block: var(--s-section); }
.trust__inner { display: grid; gap: var(--s-8); }
.trust__lead { max-width: 62ch; }
.trust__kicker {
  font-family: var(--f-mono); font-size: var(--t-12);
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-inv-muted); margin-bottom: var(--s-2);
}
.trust__title { font-size: clamp(28px, 3.8vw, var(--t-40)); margin-bottom: var(--s-3); }
.trust__text { color: var(--c-inv-muted); margin-bottom: var(--s-4); max-width: 60ch; }

.trust__scoreboard {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  padding-block: var(--s-6);
  border-top: 1px solid var(--c-inv-line);
  border-bottom: 1px solid var(--c-inv-line);
}
.trust__score-num {
  font-size: clamp(36px, 4.5vw, var(--t-56));
  font-weight: 700; line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.trust__score-unit { font-size: .45em; font-weight: 500; color: var(--c-inv-muted); margin-left: 3px; }
.trust__score-label {
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .1em; text-transform: uppercase; color: var(--c-inv-muted);
}

.trust__reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.review__stars { margin-bottom: var(--s-2); }
.review__quote { font-size: var(--t-16); line-height: 1.6; margin-bottom: var(--s-2); }
.review__meta {
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .08em; text-transform: uppercase; color: var(--c-inv-muted);
}

/* --- Brand marquee ------------------------------------------ */
.marquee {
  padding-block: var(--s-8);
  background: var(--c-paper);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.marquee__heading {
  font-family: var(--f-mono); font-size: var(--t-11); font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-ink-2);
  margin-bottom: var(--s-4);
}
.marquee__viewport { display: flex; width: max-content; }
.marquee__track {
  display: flex; align-items: center; flex: 0 0 auto;
  animation: marquee 38s linear infinite;
}
.marquee__viewport:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  padding-inline: clamp(24px, 3.5vw, 56px);
  font-size: clamp(18px, 2.2vw, var(--t-24));
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-line-strong);
  white-space: nowrap;
  transition: color var(--d) var(--e);
}
.marquee__item:hover { color: var(--c-ink); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* --- Story / SEO block -------------------------------------- */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.story__media { background: var(--c-paper); overflow: hidden; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--e); }
.story__media:hover img { transform: scale(1.05); }
.story__title { font-size: clamp(26px, 3.4vw, var(--t-40)); margin-block: var(--s-1) var(--s-3); }
.story__text { color: var(--c-ink-2); max-width: 66ch; margin-bottom: var(--s-2); }
.story__list { margin-block: var(--s-3) var(--s-4); }
.story__list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--t-14);
  margin-bottom: 10px;
  padding: 6px 8px;
  margin-inline: -8px;
  border-radius: 8px;
  transition: transform var(--d) var(--e), background-color var(--d) var(--e), color var(--d) var(--e);
}
.story__list-item:hover {
  transform: translateX(6px);
  background-color: color-mix(in srgb, var(--c-accent) 8%, transparent);
  color: var(--c-accent);
}
.story__list-icon {
  width: 16px; height: 16px; margin-top: 2px;
  flex: 0 0 auto;
  color: var(--c-accent);
  transition: transform var(--d) var(--e);
}
.story__list-item:hover .story__list-icon {
  transform: scale(1.25) rotate(-6deg);
}

/* --- Masthead ----------------------------------------------------
   The shared interior-page cover used by the basket, checkout and
   text pages: breadcrumb, kicker, title, lead. No decoration — the
   type sets the whole hierarchy. --------------------------------- */
.masthead { position: relative; overflow: hidden; padding-block: var(--s-6) var(--s-8); border-bottom: 1px solid var(--c-line); }
.masthead__inner { position: relative; z-index: 1; max-width: 640px; }
.masthead__kicker {
  font-family: var(--f-mono); font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-ink-2); margin-bottom: var(--s-2);
}
.masthead__title { font-size: clamp(32px, 5vw, var(--t-56)); max-width: 15ch; }
.masthead__lead { margin-top: var(--s-2); max-width: 58ch; font-size: var(--t-16); color: var(--c-ink-2); }
.masthead__kicker, .masthead__title, .masthead__lead { animation: heroFadeUp .6s var(--e) both; }
.masthead__title { animation-delay: .08s; }
.masthead__lead  { animation-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  .masthead__kicker, .masthead__title, .masthead__lead { animation: none; }
}

/* --- About: lede -------------------------------------------------
   The About page opens on ink rather than paper — the only inverted
   page cover on the site — so the shift from "shop" to "who we are"
   registers before a word is read. ------------------------------- */
.aboutlede { background: var(--c-ink); color: #fff; padding-block: var(--s-6) var(--s-10); }
.aboutlede .breadcrumb { color: var(--c-inv-muted); margin-bottom: var(--s-8); }
.aboutlede .breadcrumb__sep { color: var(--c-inv-line); }
.aboutlede .breadcrumb__current { color: #fff; }
.aboutlede__kicker {
  font-family: var(--f-mono); font-size: var(--t-12); letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: var(--s-3);
}
.aboutlede__title { font-size: clamp(34px, 6vw, var(--t-72)); max-width: 15ch; }
.aboutlede__lead { margin-top: var(--s-3); max-width: 58ch; font-size: var(--t-18); color: var(--c-inv-muted); }
.aboutlede__strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: var(--s-10); border-top: 1px solid var(--c-inv-line);
}
.aboutlede__cell { padding-top: var(--s-3); padding-right: var(--s-3); }
.aboutlede__cell + .aboutlede__cell { padding-left: var(--s-3); border-left: 1px solid var(--c-inv-line); }
.aboutlede__term {
  font-family: var(--f-mono); font-size: var(--t-11); letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-inv-muted);
}
.aboutlede__desc { margin-top: 6px; font-size: var(--t-16); font-weight: 600; }
.aboutlede__kicker, .aboutlede__title, .aboutlede__lead, .aboutlede__cell { animation: heroFadeUp .6s var(--e) both; }
.aboutlede__title { animation-delay: .08s; }
.aboutlede__lead  { animation-delay: .16s; }
/* Cells fade up one at a time left to right, instead of the whole
   strip arriving as one flat block. */
.aboutlede__cell:nth-child(1) { animation-delay: .26s; }
.aboutlede__cell:nth-child(2) { animation-delay: .32s; }
.aboutlede__cell:nth-child(3) { animation-delay: .38s; }
.aboutlede__cell:nth-child(4) { animation-delay: .44s; }
@media (prefers-reduced-motion: reduce) {
  .aboutlede__kicker, .aboutlede__title, .aboutlede__lead, .aboutlede__cell { animation: none; }
}

/* --- Timeline ------------------------------------------------------
   The company history runs on a year column rather than chapters, so
   the mono figures read as a spine down the left. Anyone who joined
   in a given year is introduced right there, in context, instead of
   being collected into a separate list first. ------------------- */
.timeline__list { border-top: 1px solid var(--c-line-strong); }
.timeline__item {
  display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: var(--s-6);
  padding-block: var(--s-6); border-bottom: 1px solid var(--c-line);
}
.timeline__year {
  font-family: var(--f-mono); font-size: var(--t-24); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.02em;
}
.timeline__tick {
  display: block; width: 28px; height: 2px; margin-top: var(--s-2);
  background: var(--c-line-strong);
  transition: width .5s var(--e), background var(--d) var(--e);
}
/* Grow the tick in from nothing once the row scrolls into view.
   Scoped to .reveal-item (only present once script.js's reveal()
   has run) so a visitor without JS just gets the full-width tick,
   same as everything else on the page never depending on that
   class arriving. */
.timeline__item.reveal-item .timeline__tick { width: 0; transition-delay: .15s; }
.timeline__item.reveal-item.is-visible .timeline__tick { width: 28px; }
.timeline__item:hover .timeline__tick,
.timeline__item.reveal-item.is-visible:hover .timeline__tick { width: 64px; background: var(--c-accent); }
.timeline__title { font-size: clamp(20px, 2.4vw, var(--t-24)); margin-bottom: var(--s-2); }
.timeline__text { color: var(--c-ink-2); max-width: 68ch; }
.timeline__text + .timeline__text { margin-top: var(--s-2); }

/* --- Tally (eBay record, reuses .section--highlight) --------------
   Keeps .trust__scoreboard / .trust__score-num so the existing
   count-up (script.js §13) drives it unchanged; the rules below
   swap the dark-band palette for the accent band. --------------- */
.tally { color: #fff; }
.tally__kicker {
  font-family: var(--f-mono); font-size: var(--t-12); letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.75); margin-bottom: var(--s-3);
}
.tally__title { font-size: clamp(24px, 3.6vw, var(--t-40)); max-width: 22ch; margin-bottom: var(--s-8); }
.tally__board.trust__scoreboard {
  gap: 0;
  border-top-color: rgba(255,255,255,.32);
  border-bottom-color: rgba(255,255,255,.32);
}
.tally__board .trust__score { padding-inline: var(--s-4); }
.tally__board .trust__score:first-child { padding-left: 0; }
.tally__board .trust__score + .trust__score { border-left: 1px solid rgba(255,255,255,.32); }
.tally__board .trust__score-num { color: #fff; }
.tally__board .trust__score-unit { color: rgba(255,255,255,.7); }
.tally__board .trust__score-label { color: rgba(255,255,255,.82); }
.tally__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4);
  margin-top: var(--s-5);
}
.tally__note { font-size: var(--t-14); color: rgba(255,255,255,.85); max-width: 46ch; }
/* .btn--inverse's hover swaps to accent, which would vanish against
   this band's already-accent background. */
.tally__foot .btn--inverse:hover { background: var(--c-ink); color: #fff; }

/* --- House rules -------------------------------------------------- */
.houserules__grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--c-line-strong); }
.houserules__item {
  padding-block: var(--s-5); border-bottom: 1px solid var(--c-line);
  transition: transform .3s var(--e);
}
.houserules__item:nth-child(odd) { padding-right: var(--s-6); }
.houserules__item:nth-child(even) { padding-left: var(--s-6); border-left: 1px solid var(--c-line); }
@media (hover: hover) and (pointer: fine) {
  .houserules__item:hover { transform: translateY(-4px); }
}
.houserules__icon-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: var(--s-3);
  transition: transform .3s var(--e);
}
.houserules__icon-tile svg { width: 34px; height: 34px; fill: var(--c-line-strong); stroke: none; transition: fill var(--d) var(--e); }
.houserules__icon-tile img { width: 34px; height: 34px; object-fit: contain; }
.houserules__item:hover .houserules__icon-tile { transform: scale(1.1) rotate(-6deg); }
/* Icon fades in a beat after the card itself has slid up, so the
   reveal reads as two stages rather than one flat block — scoped to
   .reveal-item for the same no-JS-safe reason as the timeline tick
   above. */
.houserules__item.reveal-item .houserules__icon-tile { opacity: 0; transition: opacity .4s var(--e) .1s, transform .3s var(--e); }
.houserules__item.reveal-item.is-visible .houserules__icon-tile { opacity: 1; }
.houserules__item:hover .houserules__icon-tile svg { fill: var(--c-accent); }
.houserules__title { font-size: var(--t-20); margin-bottom: var(--s-1); }
.houserules__text { font-size: var(--t-14); line-height: 1.55; color: var(--c-ink-2); max-width: 46ch; }

/* --- Basket line item ---------------------------------------------
   One row shape serves the basket (editable) and the checkout
   summary (.line--compact, quantity shown as a static "× n"), so
   both surfaces are rendered by the same function. --------------- */
.line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto;
  gap: var(--s-3);
  align-items: start;
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--c-line);
}
.line__media {
  display: block; width: 96px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  overflow: hidden;
}
.line__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.line__brand {
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .12em; text-transform: uppercase; color: var(--c-ink-2);
  margin-bottom: 4px;
}
.line__title { font-size: var(--t-16); font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.line__title a { transition: color var(--d) var(--e); }
.line__title a:hover { color: var(--c-accent); }
.line__sku {
  font-family: var(--f-mono); font-size: var(--t-11); letter-spacing: .04em;
  color: var(--c-ink-2); margin-top: 6px;
}
.line__unit { font-size: var(--t-13); color: var(--c-ink-2); margin-top: 4px; }
.line__controls { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-1); }
.line__qty.qty__control { min-height: 40px; }
.line__qty .qty__btn { width: 36px; }
.line__qty .qty__input { width: 44px; font-size: var(--t-14); }
.line__remove {
  font-size: var(--t-12); color: var(--c-ink-2);
  border-bottom: 1px solid transparent;
  transition: color var(--d) var(--e), border-color var(--d) var(--e);
}
.line__remove:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.line__total { font-size: var(--t-18); font-weight: 700; letter-spacing: -0.02em; text-align: right; min-width: 88px; }
.line__qty-static { font-family: var(--f-mono); font-size: var(--t-13); color: var(--c-ink-2); }

.line--compact { grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: var(--s-2); }
.line--compact .line__media { width: 64px; }
.line--compact .line__title { font-size: var(--t-14); }
.line--compact .line__sku, .line--compact .line__unit { display: none; }
.line--compact .line__total { font-size: var(--t-14); min-width: 64px; }

/* --- Basket page --------------------------------------------------- */
/* No `align-items: start` here: the aside has to stretch to the full
   row height, or the sticky .summary inside it has no travel and
   simply sits still while the item list scrolls past. */
.cart__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(40px, 5vw, 80px); }
.cart__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2);
  padding-bottom: var(--s-3); border-bottom: 1px solid var(--c-line-strong);
}
.cart__head-title { font-size: var(--t-24); }
.cart__head-count { font-family: var(--f-mono); font-size: var(--t-12); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink-2); }
.cart__lines { margin-bottom: var(--s-5); }
.cart__empty { max-width: 52ch; padding-block: var(--s-6) var(--s-10); }
.cart__empty-title { font-size: clamp(24px, 3.4vw, var(--t-32)); margin-bottom: var(--s-2); }
.cart__empty-text { color: var(--c-ink-2); margin-bottom: var(--s-4); }

/* --- Order summary panel -------------------------------------------- */
.summary { background: var(--c-surface); border: 1px solid var(--c-line); padding: var(--s-4); position: sticky; top: 132px; }
.summary__title { font-size: var(--t-18); padding-bottom: var(--s-3); border-bottom: 1px solid var(--c-line); }
.summary__lines { margin-bottom: var(--s-3); }
.summary__lines .line:last-child { border-bottom: none; }
.summary__rows { margin-block: var(--s-3); }
.summary__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); padding-block: 10px; }
.summary__row dt { font-size: var(--t-14); color: var(--c-ink-2); }
.summary__row dd { font-size: var(--t-14); font-weight: 600; text-align: right; }
.summary__row--total { padding-top: var(--s-3); margin-top: var(--s-1); border-top: 1px solid var(--c-line-strong); }
.summary__row--total dt { font-size: var(--t-16); font-weight: 600; color: var(--c-ink); }
.summary__row--total dd { font-size: var(--t-24); font-weight: 700; letter-spacing: -0.02em; }
.summary__cta { width: 100%; }
.summary__notes { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--c-line); }
.summary__note {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: var(--t-12); line-height: 1.5; color: var(--c-ink-2);
}
.summary__note + .summary__note { margin-top: var(--s-1); }
.summary__note svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; color: var(--c-ink); }
.summary__edit { margin-top: var(--s-3); }

/* --- Form fields ---------------------------------------------------
   Extends the newsletter input treatment (surface fill, hairline
   border, ink border on focus) into a labelled field for checkout. */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--f-mono); font-size: var(--t-11); letter-spacing: .1em; text-transform: uppercase; color: var(--c-ink-2); }
.field__input {
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-line-strong);
  padding: 13px var(--s-2);
  font-size: var(--t-14);
  transition: border-color var(--d) var(--e);
}
.field__input:focus { outline: none; border-color: var(--c-ink); }
.field__input:user-invalid { border-color: var(--c-accent); }
.field__hint { font-size: var(--t-12); color: var(--c-ink-2); }

.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset + .fieldset { margin-top: var(--s-8); }
.fieldset__legend {
  display: flex; align-items: baseline; gap: var(--s-2);
  width: 100%; padding-bottom: var(--s-3); margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-line-strong);
}
.fieldset__num { font-family: var(--f-mono); font-size: var(--t-13); letter-spacing: .12em; color: var(--c-accent); }
.fieldset__name { font-size: var(--t-20); font-weight: 700; letter-spacing: -0.02em; }
.fieldrow { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-2); }
.fieldrow--thirds { grid-template-columns: repeat(3, 1fr); }
.fieldrow + .fieldrow, .field + .fieldrow, .fieldrow + .field, .field + .field { margin-top: var(--s-2); }
.field--wide { grid-column: 1 / -1; }

/* Delivery method — a bordered row per option, the whole row clickable */
.choice { display: block; border: 1px solid var(--c-line-strong); background: var(--c-surface); padding: var(--s-2) var(--s-3); cursor: pointer; transition: border-color var(--d) var(--e); }
.choice + .choice { margin-top: -1px; }
.choice:hover { border-color: var(--c-ink); }
.choice:has(input:checked) { border-color: var(--c-accent); position: relative; z-index: 1; }
.choice__row { display: flex; align-items: baseline; gap: var(--s-2); }
.choice__input { accent-color: var(--c-accent); margin: 0; flex: 0 0 auto; align-self: center; }
.choice__name { font-size: var(--t-14); font-weight: 600; }
.choice__price { margin-left: auto; font-size: var(--t-14); font-weight: 600; }
.choice__text { margin-top: 4px; padding-left: 26px; font-size: var(--t-12); color: var(--c-ink-2); }

/* --- Checkout ------------------------------------------------------- */
/* Same reason as .cart__grid — the summary sticks, so its column stretches. */
.checkout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(40px, 5vw, 80px); }
.checkout__actions { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 1px solid var(--c-line-strong); }
.checkout__submit { width: 100%; }
.checkout__disclaimer { margin-top: var(--s-2); font-size: var(--t-12); color: var(--c-ink-2); }
.checkout__demo {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: var(--s-4); padding: var(--s-2) var(--s-3);
  border-left: 3px solid var(--c-accent); background: var(--c-surface);
  font-size: var(--t-13); color: var(--c-ink-2);
}
.confirm { max-width: 60ch; padding-block: var(--s-4) var(--s-8); }
.confirm:focus { outline: none; }
.confirm__mark { font-family: var(--f-mono); font-size: var(--t-12); letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent); margin-bottom: var(--s-3); }
.confirm__title { font-size: clamp(28px, 4vw, var(--t-40)); margin-bottom: var(--s-3); }
.confirm__text { color: var(--c-ink-2); margin-bottom: var(--s-5); }
.confirm__rows { border-top: 1px solid var(--c-line-strong); margin-bottom: var(--s-5); }
.confirm__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); padding-block: var(--s-2); border-bottom: 1px solid var(--c-line); }
.confirm__row dt { font-family: var(--f-mono); font-size: var(--t-12); letter-spacing: .06em; text-transform: uppercase; color: var(--c-ink-2); }
.confirm__row dd { font-size: var(--t-16); font-weight: 600; text-align: right; word-break: break-word; }

/* --- Text page (privacy, and any prose page after it) ---------------
   One column, one measure. Everything is set from the same type
   scale as the rest of the site; the only structure is the hairline
   under each heading. ---------------------------------------------- */
.textpage { padding-block: var(--s-6) var(--s-section); }
.textpage__body { max-width: none; }
.textpage__meta {
  font-family: var(--f-mono); font-size: var(--t-12); letter-spacing: .06em;
  color: var(--c-ink-2); padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-line-strong);
}
.textpage__body h2 {
  font-size: clamp(20px, 2.6vw, var(--t-24));
  margin-top: var(--s-8); margin-bottom: var(--s-2);
  padding-bottom: var(--s-2); border-bottom: 1px solid var(--c-line);
}
.textpage__body h3 { font-size: var(--t-16); margin-top: var(--s-4); margin-bottom: var(--s-1); }
.textpage__body p { color: var(--c-ink-2); }
.textpage__body p + p, .textpage__body ul + p, .textpage__body p + ul, .textpage__body ul + ul { margin-top: var(--s-2); }
.textpage__body ul { margin-top: var(--s-2); }
.textpage__body li {
  position: relative; padding-left: var(--s-3);
  color: var(--c-ink-2); line-height: 1.6;
}
.textpage__body li + li { margin-top: 10px; }
.textpage__body li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 8px; height: 1px; background: var(--c-line-strong);
}
.textpage__body strong { color: var(--c-ink); font-weight: 600; }
.textpage__body code {
  font-family: var(--f-mono); font-size: var(--t-13);
  background: var(--c-surface); border: 1px solid var(--c-line);
  padding: 1px 6px; color: var(--c-ink);
}
.textpage__body a {
  border-bottom: 1px solid var(--c-line-strong);
  transition: color var(--d) var(--e), border-color var(--d) var(--e);
}
.textpage__body a:hover { color: var(--c-accent); border-color: var(--c-accent); }
.textpage__body address p + p { margin-top: var(--s-2); }

/* --- Newsletter --------------------------------------------- */
.newsletter { background: var(--c-paper); border-top: 1px solid var(--c-line); padding-block: var(--s-section); }
.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.newsletter__title { font-size: clamp(26px, 3.4vw, var(--t-40)); margin-bottom: var(--s-2); }
.newsletter__lead { color: var(--c-ink-2); max-width: 46ch; }
.newsletter__label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.newsletter__row { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.newsletter__input {
  flex: 1 1 260px; min-width: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line-strong);
  padding: 13px var(--s-2);
  font-size: var(--t-14);
  transition: border-color var(--d) var(--e);
}
.newsletter__input:focus { outline: none; border-color: var(--c-ink); }
.newsletter__input.is-invalid { border-color: var(--c-accent); }
.newsletter__submit { flex: 0 0 auto; }
.newsletter__note { margin-top: var(--s-2); font-size: var(--t-12); color: var(--c-ink-2); }
.newsletter__note a {
  border-bottom: 1px solid var(--c-line-strong);
  transition: color var(--d) var(--e), border-color var(--d) var(--e);
}
.newsletter__note a:hover { color: var(--c-accent); border-color: var(--c-accent); }
.newsletter__note.is-error { color: var(--c-accent); }
.newsletter__note.is-success { color: var(--c-stock); font-weight: 600; }

/* --- Footer ------------------------------------------------- */
.footer { background: var(--c-ink); color: #fff; padding-top: var(--s-10); }
.footer__top { display: grid; grid-template-columns: 300px 1fr; gap: var(--s-8); padding-bottom: var(--s-8); }
.footer__blurb { margin-top: var(--s-2); font-size: var(--t-14); color: var(--c-inv-muted); max-width: 34ch; }
.footer__social { display: flex; gap: var(--s-1); margin-top: var(--s-3); }
.footer__social-link {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--c-inv-line);
  color: #fff;
  transition: background var(--d) var(--e), border-color var(--d) var(--e);
}
.footer__social-link svg { width: 18px; height: 18px; transition: transform .35s var(--e); }
.footer__social-link:hover { background: var(--c-accent); border-color: var(--c-accent); }
.footer__social-link:hover svg { transform: scale(1.18) rotate(-10deg); }

.footer__nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
.footer__heading {
  font-family: var(--f-mono); font-size: var(--t-11); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-inv-muted);
  padding-bottom: 10px; margin-bottom: var(--s-2);
  border-bottom: 1px solid var(--c-inv-line);
}
.footer__list li + li { margin-top: 9px; }
.footer__list a, .footer__address a {
  font-size: var(--t-14); color: #fff;
  transition: color var(--d) var(--e);
}
.footer__list a:hover, .footer__address a:hover { color: var(--c-accent); }
.footer__address p { font-size: var(--t-14); color: var(--c-inv-muted); margin-bottom: var(--s-2); }
.footer__hours { font-size: var(--t-13); }

.footer__pay {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2);
  padding-block: var(--s-4);
  border-top: 1px solid var(--c-inv-line);
}
.footer__pay-label {
  font-family: var(--f-mono); font-size: var(--t-11);
  letter-spacing: .12em; text-transform: uppercase; color: var(--c-inv-muted);
}
.footer__pay-list { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.paycard {
  border: 1px solid var(--c-inv-line);
  padding: 6px 10px;
  font-size: var(--t-11); font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-inv-muted);
}

.footer__legal {
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
  align-items: center; justify-content: space-between;
  padding-block: var(--s-3) var(--s-6);
  border-top: 1px solid var(--c-inv-line);
}
.footer__copy { font-size: var(--t-12); color: var(--c-inv-muted); }
.footer__copy a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid var(--c-inv-line);
  transition: color var(--d) var(--e), border-color var(--d) var(--e);
}
.footer__copy a:hover { color: var(--c-accent); border-color: var(--c-accent); }
.footer__legal-list { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.footer__legal-list a { font-size: var(--t-12); color: var(--c-inv-muted); transition: color var(--d) var(--e); }
.footer__legal-list a:hover { color: #fff; }

/* --- Toast -------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: var(--s-3); z-index: 150;
  transform: translate(-50%, 12px);
  background: var(--c-ink); color: #fff;
  padding: 12px var(--s-3);
  font-size: var(--t-14); font-weight: 500;
  opacity: 0;
  transition: opacity var(--d) var(--e), transform var(--d) var(--e);
  pointer-events: none;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* --- Scroll reveal -------------------------------------------
   .reveal-item is added by script.js only when JS is available
   and the visitor hasn't asked for reduced motion, so content
   never depends on a class that might not arrive.

   .textpage__body is deliberately left out of this system (see
   script.js §12): it wraps an entire long-form legal page in one
   tall block, and the observer's 0.15 intersection threshold can
   never be satisfied once the block is more than ~6-7x the
   viewport height, so the text would flash then stay hidden
   forever. ------------------------------------------------------ */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--d-reveal) var(--e), transform var(--d-reveal) var(--e);
}
.reveal-item.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   6. UTILITIES
   ------------------------------------------------------------ */
.is-locked { overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ------------------------------------------------------------
   7. RESPONSIVE
   ------------------------------------------------------------ */

/* 1440 and up — a little more air */
@media (min-width: 1440px) {
  :root { --gutter: 40px; }
}

/* Below 1280 — tighten the mega menu and category grid */
@media (max-width: 1279px) {
  .mainnav__link { padding-inline: 12px; }
}

/* Below 1024 — collapse to the drawer, stack the hero */
@media (max-width: 1023px) {
  .header__burger { display: flex; }
  .mainnav { display: none; }
  .actions__label { display: none; }
  .actions__btn { padding: 6px 8px; }
  .search { max-width: none; }

  .hero__inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__media { order: -1; max-width: 520px; }
  .hero__title { font-size: clamp(34px, 6.5vw, 56px); }

  /* Stacked layout: the overlay used to stay centred on the whole
     slide's height (image + all the text below it combined), so the
     arrows landed somewhere in the middle of the copy instead of next
     to the image. Anchoring the grid to `start` and sizing the track
     with the same max-width + aspect-ratio as .hero__figure makes this
     row exactly as tall as the image itself, so the arrows centre on
     that row instead of the whole stack. */
  .hero__side-nav { grid-template-columns: 1fr; gap: var(--s-6); align-items: start; }
  .hero__side-nav-track { grid-column: 1; max-width: 520px; aspect-ratio: 1 / 1; }

  .usp__list { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
  .usp__item:nth-child(odd) { padding-left: 0; }
  .usp__item:nth-child(odd)::before { display: none; }

  .trust__reviews { grid-template-columns: 1fr; gap: var(--s-4); }
  .trust__scoreboard { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
  .catshop { grid-template-columns: 1fr; gap: var(--s-4); }
  .catfilter { border-top: none; border-bottom: 1px solid var(--c-line-strong); padding-top: 0; padding-bottom: var(--s-4); }
  .catfilter__head { margin-bottom: 0; }
  .catfilter__mobile-toggle { display: flex; padding: var(--s-3) 0; }
  .catfilter__body {
    display: none;
    flex-wrap: wrap; gap: var(--s-6);
    padding-top: var(--s-3);
  }
  .catfilter__body.is-open { display: flex; }
  .catfilter__group { margin-bottom: 0; }
  /* The price slider needs real horizontal room for its two thumbs,
     so it gets its own full-width row instead of sizing to the
     "£5 – £35" label like the other wrapped groups. */
  .catfilter__group:has(.catfilter__price) { flex: 1 1 100%; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .catidx__row { grid-template-columns: 46px minmax(0, 1fr) auto auto; padding-block: var(--s-4); }
  .catidx__preview-list { grid-template-columns: repeat(3, 1fr); }

  /* Stacked PDP: cap the gallery so the image doesn't run to full
     tablet width and push the buy panel off the first screen. */
  .pdp__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .gallery { max-width: 560px; }
  .pdp-detail { grid-template-columns: 1fr; gap: var(--s-6); }
  .pdp-reviews { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }

  .story { grid-template-columns: 1fr; }
  .story__media { max-width: 460px; }

  .aboutlede__strip { grid-template-columns: repeat(2, 1fr); row-gap: var(--s-3); }
  .aboutlede__cell:nth-child(odd) { padding-left: 0; border-left: none; }
  .aboutlede__cell:nth-child(n+3) { padding-top: var(--s-3); border-top: 1px solid var(--c-inv-line); }
  .timeline__item { grid-template-columns: 70px minmax(0, 1fr); gap: var(--s-4); }
  .tally__board .trust__score { padding-inline: 0; }
  .tally__board .trust__score + .trust__score { border-left: none; }
  /* Basket and checkout drop to one column; the summary stops
     sticking because there is nothing beside it to stick against. */
  .cart__grid, .checkout__grid { grid-template-columns: 1fr; }
  .summary { position: static; }

  .newsletter__inner { grid-template-columns: 1fr; gap: var(--s-4); }
  .footer__top { grid-template-columns: 1fr; gap: var(--s-6); }
  .footer__nav { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
}

/* Below 768 — single-column content, search moves to a toggle */
@media (max-width: 767px) {
  :root { --gutter: 20px; }

  .utility__list { display: none; }
  .utility__inner { justify-content: center; }

  .header__inner { gap: var(--s-1); }
  .actions__btn--search-toggle { display: flex; }
  .search {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--c-paper);
    border-bottom: 1px solid var(--c-line);
    padding: var(--s-2) var(--gutter);
    display: none;
  }
  .search.is-open { display: block; }

  .hero__inner { padding-block: var(--s-5); }
  .hero__side-nav { padding-block: var(--s-5); }
  .hero__facts { grid-template-columns: 1fr; gap: var(--s-2); }
  .hero__cta { margin-bottom: var(--s-4); }
  .hero__cta .btn { flex: 1 1 auto; }

  .sechead { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
  /* was forced back to a row here, putting the prev/next buttons
     beside the title instead of below it — just let it fall through
     to the column layout above like every other section heading */
  .sechead__aside { display: none; }
  .sechead__link { display: none; }
  .sechead__side { display: none; }
  .sechead__title { font-size: 26px; }
  .page-hero__lead { max-width: none; }

  .usp__list { padding-block: var(--s-4); }
  .footer__legal { flex-direction: column; align-items: flex-start; }

  .catidx__subs { display: none; }
  .catidx__count { display: none; }
  .catidx__row { grid-template-columns: 38px minmax(0, 1fr) auto; column-gap: var(--s-3); }
  .catidx__toolbar { flex-direction: column; align-items: flex-start; }
  .catidx__preview-inner { flex-direction: column; gap: var(--s-3); }
  .catidx__preview-desc { flex-basis: auto; border-left: none; border-top: 1px solid var(--c-line); padding-left: 0; padding-top: var(--s-3); }
  .catidx__preview-list { grid-template-columns: repeat(5, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .cathero__icon-tile { display: none; }
  .catshop__bar { flex-direction: column; align-items: flex-start; }
  .catfilter__body.is-open { gap: var(--s-4); }

  .pdp { padding-block: var(--s-3) var(--s-section); }
  .pdp-reviews { grid-template-columns: 1fr; }
  .pdp__price .card__price-now { font-size: var(--t-32); }

  .houserules__grid { grid-template-columns: 1fr; }
  .houserules__item:nth-child(n) { padding-inline: 0; border-left: none; }

  /* Line total drops under the controls so the title keeps a
     readable measure on a phone. */
  .line { grid-template-columns: 72px minmax(0, 1fr); column-gap: var(--s-2); row-gap: var(--s-2); }
  .line__media { width: 72px; }
  .line__controls { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
  .line__total { grid-column: 2; text-align: left; }
  .line--compact { grid-template-columns: 56px minmax(0, 1fr) auto auto; }
  .line--compact .line__media { width: 56px; }
  .line--compact .line__controls, .line--compact .line__total { grid-column: auto; }

  .fieldrow, .fieldrow--thirds { grid-template-columns: 1fr; }
}

/* Below 480 — the smallest comfortable layout */
@media (max-width: 479px) {
  .usp__list { grid-template-columns: 1fr; gap: var(--s-3); }
  .usp__item:nth-child(n) { padding-left: 0; }
  .usp__item:nth-child(n)::before { display: none; }
  .usp__item + .usp__item { padding-top: var(--s-3); border-top: 1px solid var(--c-line); }

  .trust__scoreboard { grid-template-columns: 1fr; gap: var(--s-4); }
  .aboutlede__strip { grid-template-columns: 1fr; }
  .aboutlede__cell + .aboutlede__cell { padding-top: var(--s-3); border-top: 1px solid var(--c-inv-line); }
  .timeline__item { grid-template-columns: 1fr; gap: var(--s-2); }
  .timeline__tick { display: none; }
  .tally__board .trust__score { padding-block: 0; }
  .catlist { grid-template-columns: 1fr; }
  .catidx__row { grid-template-columns: minmax(0, 1fr) auto; padding-block: var(--s-3); }
  .catidx__icon-tile { display: none; }
  .catidx__name { font-size: var(--t-18); }
  .catidx__preview-list { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: 1fr; }
  .rail__cell { flex-basis: 74vw; }
  .hero__title { font-size: 32px; }

  /* Stepper and CTA each take a full row rather than squeezing.
     The CTA's flex-basis is a *height* once this stacks, so it has to
     be reset or the button grows into a 200px block. */
  .pdp__buy { flex-direction: column; align-items: stretch; }
  .qty { align-items: flex-start; }
  .pdp__add { flex: 0 0 auto; width: 100%; }
  .spec__key { width: 50%; letter-spacing: .06em; }
}

/* Below 360 — safety net */
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .hero__cta { flex-direction: column; }
  .newsletter__submit { width: 100%; }
}
