/* ==========================================================================
   HIZA Gastro Supplies
   Design system — built to the HIZA identity: black on white, minimal,
   premium. The logo is a circular white plate with the fork and knife
   forming the H and the I; the circle recurs as the site's one motif.

   Type: Outfit for display (matches the existing HIZA catalogue),
   Work Sans for reading, DM Mono for specifications.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Work+Sans:ital,wght@0,300;0,400;0,500;1,400&family=DM+Mono:wght@400;500&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Core — the identity is monochrome; warmth comes from the neutrals */
  --ink:       #0E0E0E;
  --graphite:  #33322F;
  --stone:     #6E6A62;   /* 5.9:1 on --bone */
  --sand:      #B6AE9F;
  --line:      #E3E0D9;
  --bone:      #F6F5F2;   /* page ground */
  --paper:     #FFFFFF;   /* cards */
  --invert:    #FAF9F6;

  /* One accent, used sparingly: the olive of the brand's own leaf motif */
  --olive:     #5E6A4E;
  --olive-bg:  #E8EAE2;

  --fg:        var(--ink);
  --fg-muted:  var(--stone);
  --fg-faint:  #8C877D;

  /* Type */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'DM Mono', 'IBM Plex Mono', Consolas, monospace;

  --t-xs:   0.75rem;
  --t-sm:   0.8125rem;
  --t-base: 1rem;
  --t-md:   clamp(1.0625rem, 0.4vw + 0.97rem, 1.1875rem);
  --t-lg:   clamp(1.25rem, 0.7vw + 1.1rem, 1.5rem);
  --t-xl:   clamp(1.6rem, 1.5vw + 1.3rem, 2.25rem);
  --t-2xl:  clamp(2.1rem, 3vw + 1.4rem, 3.5rem);
  --t-3xl:  clamp(2.6rem, 5vw + 1.4rem, 5.5rem);

  /* Spacing */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.5rem;   --sp-6: 2rem;
  --sp-7: 3rem;     --sp-8: 4rem;     --sp-9: 6rem;   --sp-10: 8rem;

  --max:      78rem;
  --max-text: 40rem;
  --gutter:   clamp(1.25rem, 4vw, 3.5rem);
  --radius:   0px;      /* crisp edges; the circle is reserved for the mark */
  --radius-pill: 999px;

  --ease:     cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur:      240ms;
  --dur-slow: 560ms;

  --sh-sm: 0 1px 2px rgba(14, 14, 14, 0.05);
  --sh:    0 2px 10px rgba(14, 14, 14, 0.06);
  --sh-lg: 0 18px 44px rgba(14, 14, 14, 0.10), 0 2px 8px rgba(14, 14, 14, 0.04);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background-color: var(--bone);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* Any author `display` rule outranks the UA's [hidden] { display: none },
   which silently breaks JS that hides elements by setting .hidden.
   This keeps the attribute authoritative wherever it is used. */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background-color: var(--ink); color: var(--invert); }

.skip-link {
  position: absolute; top: 0; left: var(--gutter); z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background-color: var(--ink); color: var(--invert);
  font-family: var(--font-mono); font-size: var(--t-sm); text-decoration: none;
  transform: translateY(-110%); transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

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

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.display--hero  { font-size: var(--t-3xl); font-weight: 400; }
.display--major { font-size: var(--t-2xl); }
.display--minor { font-size: var(--t-xl); font-weight: 500; line-height: 1.1; }

.mono {
  font-family: var(--font-mono);
  font-size: var(--t-sm);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.eyebrow--invert { color: var(--sand); }

.lede {
  max-width: var(--max-text);
  font-size: var(--t-md);
  font-weight: 300;
  line-height: 1.7;
  color: var(--fg-muted);
}
.prose p + p { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */

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

.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-8); }
.section--ink { background-color: var(--ink); color: var(--invert); }
.section--ink .lede { color: #ADA79D; }
.section--paper { background-color: var(--paper); }

.section-head {
  display: flex; flex-wrap: wrap; gap: var(--sp-5);
  align-items: flex-end; justify-content: space-between;
  margin-bottom: var(--sp-7); padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
}
.section--ink .section-head { border-bottom-color: rgba(250,249,246,0.16); }
.section-head__text { max-width: 44ch; }
.section-head__text > .display { margin-top: var(--sp-4); }
.section-head__text > .lede { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-3);
  min-height: 50px; padding: var(--sp-3) var(--sp-6);
  border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 500;
  letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background-color: var(--ink); color: var(--invert); }
.btn--primary:hover { background-color: var(--graphite); }

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

.btn--invert { background-color: var(--invert); color: var(--ink); }
.btn--invert:hover { background-color: var(--sand); }

.btn--ghost-invert { background-color: transparent; border-color: rgba(250,249,246,0.4); color: var(--invert); }
.btn--ghost-invert:hover { background-color: var(--invert); color: var(--ink); }

.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: var(--sp-2) var(--sp-4); font-size: var(--t-sm); }

.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 0.9375rem; font-weight: 500; text-decoration: none; color: var(--ink);
  padding-bottom: 2px;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px;
  transition: background-size var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.link:hover { background-size: 0% 1px; opacity: .7; }
.link--invert { color: var(--invert); }

/* --------------------------------------------------------------------------
   6. Masthead
   -------------------------------------------------------------------------- */

.trade-strip {
  background-color: var(--ink); color: #9E988D;
  font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.06em;
}
.trade-strip__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: 36px; padding-block: var(--sp-2);
}
.trade-strip__item { display: inline-flex; align-items: center; gap: var(--sp-2); white-space: nowrap; }
.trade-strip__item b { color: var(--invert); font-weight: 400; }
.trade-strip__item--hide-sm { display: none; }

.masthead {
  position: sticky; top: 0; z-index: 100;
  background-color: rgba(246,245,242,0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.masthead[data-scrolled='true'] {
  border-bottom-color: var(--line);
  background-color: rgba(246,245,242,0.97);
}

.masthead__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-5); min-height: 82px;
}

/* Logo — the real HIZA roundel */
.logo { display: inline-flex; align-items: center; gap: var(--sp-3); text-decoration: none; flex-shrink: 0; }
.logo__img { height: 54px; width: 54px; border-radius: 50%; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink);
}
.logo__sub {
  font-family: var(--font-mono); font-size: 0.5625rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--fg-faint); margin-top: 4px;
}
.footer .logo__name { color: var(--invert); }
.footer .logo__sub  { color: var(--sand); }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: var(--sp-6); list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding-block: var(--sp-2);
  font-size: 0.9375rem; text-decoration: none; color: var(--fg-muted);
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background-color: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover, .nav__link[aria-current='page'] { color: var(--ink); }
.nav__link:hover::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }

.masthead__actions { display: flex; align-items: center; gap: var(--sp-3); }

.quote-trigger {
  position: relative; display: inline-flex; align-items: center; gap: var(--sp-3);
  min-height: 46px; padding: var(--sp-2) var(--sp-4);
  background-color: transparent; border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 0.875rem; cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.quote-trigger:hover { border-color: var(--ink); background-color: var(--paper); }
.quote-trigger__count {
  display: grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 6px;
  background-color: var(--ink); color: var(--invert); border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 0.6875rem;
}
.quote-trigger[data-empty='true'] .quote-trigger__count { background-color: var(--line); color: var(--fg-muted); }

.burger {
  display: grid; place-items: center; width: 46px; height: 46px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-pill); cursor: pointer;
}
.burger__box { display: block; width: 18px; height: 12px; position: relative; }
.burger__box span {
  position: absolute; left: 0; width: 100%; height: 1.4px; background-color: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur-fast) var(--ease);
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { top: 5px; }
.burger__box span:nth-child(3) { top: 10px; }
.burger[aria-expanded='true'] .burger__box span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__box span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] .burger__box span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  display: block; overflow: hidden; max-height: 0; border-top: 1px solid transparent;
  transition: max-height var(--dur-slow) var(--ease-out), border-color var(--dur) var(--ease);
}
.mobile-nav[data-open='true'] { max-height: 32rem; border-top-color: var(--line); }
.mobile-nav__list { list-style: none; margin: 0; padding: var(--sp-4) 0 var(--sp-6); }
.mobile-nav__link {
  display: block; padding: var(--sp-4) 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 400;
  text-decoration: none; color: var(--ink);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.hero { position: relative; padding-block: var(--sp-9) var(--sp-9); overflow: hidden; }

.hero__grid { position: relative; display: grid; gap: var(--sp-8); align-items: center; }
.hero__headline { margin-top: var(--sp-5); }
.hero__headline em { display: block; font-style: normal; color: var(--fg-muted); }
.hero__lede { margin-top: var(--sp-5); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-7); }

.hero__foot {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--line);
}
.hero__foot-item {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: 0.05em; color: var(--fg-muted);
}
.hero__foot-item svg { color: var(--ink); flex-shrink: 0; }

/* Signature: the plate. Echoes the circular logo mark. */
.plate {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 30rem; margin-inline: auto;
  border-radius: 50%; background-color: var(--paper);
  box-shadow: var(--sh-lg), 0 0 0 1px var(--line);
  display: grid; place-items: center;
}
.plate::after {
  content: ''; position: absolute; inset: 7%;
  border: 1px solid var(--line); border-radius: 50%; pointer-events: none;
}
.plate__inner { width: 62%; color: var(--ink); }
.plate__inner svg { width: 100%; height: auto; }

/* Photo variant — a room shot fills the roundel instead of the line drawing.
   The inner ring switches to a light tint so it still reads over the image. */
.plate--photo .plate__inner {
  width: 100%; height: 100%; place-self: stretch;
  border-radius: 50%; overflow: hidden;
}
.plate--photo .plate__photo {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 25% center;
}
.plate--photo::after { border-color: rgba(255, 255, 255, 0.5); }

.plate__badge {
  position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%);
  padding: var(--sp-2) var(--sp-4); background-color: var(--ink); color: var(--invert);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 0.625rem;
  letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}

/* --------------------------------------------------------------------------
   8. Stats
   -------------------------------------------------------------------------- */

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background-color: var(--line); border: 1px solid var(--line); }
.stat { padding: var(--sp-6) var(--sp-5); background-color: var(--paper); }
.stat__figure {
  font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 400; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.stat__label {
  margin-top: var(--sp-3); font-family: var(--font-mono); font-size: var(--t-xs);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); line-height: 1.5;
}

/* --------------------------------------------------------------------------
   9. Category cards
   -------------------------------------------------------------------------- */

.cat-grid { display: grid; gap: 1px; background-color: var(--line); border: 1px solid var(--line); }

.cat {
  position: relative; display: flex; flex-direction: column; min-height: 19rem;
  padding: var(--sp-6); background-color: var(--paper); text-decoration: none; overflow: hidden;
  transition: background-color var(--dur) var(--ease);
}
.cat:hover { background-color: var(--bone); }

.cat__index { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.16em; color: var(--fg-faint); }
.cat__name {
  margin-top: var(--sp-4); font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.8vw, 1.75rem); font-weight: 500; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink);
}
.cat__desc { margin-top: var(--sp-3); font-size: 0.9375rem; font-weight: 300; line-height: 1.6; color: var(--fg-muted); }
.cat__lines {
  margin-top: auto; padding-top: var(--sp-5);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--fg-muted);
}
.cat__go {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background-color: var(--bone); color: var(--ink);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.cat:hover .cat__go { background-color: var(--ink); color: var(--invert); transform: translateX(3px); }

.cat__glyph {
  position: absolute; right: -1.5rem; bottom: 3.5rem; width: 9rem; height: 9rem;
  color: var(--ink); opacity: 0.045; pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease-out);
}
.cat:hover .cat__glyph { opacity: 0.08; transform: translateX(-8px); }

/* --------------------------------------------------------------------------
   10. Product cards
   -------------------------------------------------------------------------- */

.filters {
  display: flex; flex-wrap: wrap; gap: var(--sp-4);
  align-items: center; justify-content: space-between; margin-bottom: var(--sp-6);
}
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
  min-height: 42px; padding: var(--sp-2) var(--sp-4);
  background-color: transparent; border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 0.875rem; color: var(--fg-muted); cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed='true'] { background-color: var(--ink); border-color: var(--ink); color: var(--invert); }

.search { position: relative; flex: 1 1 16rem; max-width: 22rem; }
.search__input {
  width: 100%; min-height: 46px;
  padding: var(--sp-2) var(--sp-4) var(--sp-2) 2.6rem;
  background-color: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 0.9375rem; transition: border-color var(--dur) var(--ease);
}
.search__input:focus { border-color: var(--ink); outline: none; }
.search__input::placeholder { color: var(--fg-faint); }
.search__icon { position: absolute; left: var(--sp-4); top: 50%; transform: translateY(-50%); color: var(--fg-faint); pointer-events: none; }

/* Hairline grid. The container sits on paper rather than the line colour so a
   part-filled last row reads as empty space, not a grey block; each card draws
   its own outline into the 1px gap, where adjacent outlines overlap to one line. */
.product-grid { display: grid; gap: 1px; background-color: var(--paper); border: 1px solid var(--line); }

.product {
  display: flex; flex-direction: column; background-color: var(--paper);
  outline: 1px solid var(--line);
  transition: background-color var(--dur) var(--ease);
}
.product:hover { background-color: #FCFBF9; }

.product__media {
  position: relative; aspect-ratio: 4 / 3; background-color: var(--paper);
  display: grid; place-items: center; border-bottom: 1px solid var(--line);
}
.product__art { width: 74%; height: auto; color: var(--ink); transition: transform var(--dur-slow) var(--ease-out); }
.product:hover .product__art { transform: scale(1.04); }

/* Photographs fill the frame; drawings sit centred with air around them. */
.product__media[data-has-photo='true'] { padding: 0; background-color: var(--bone); }
.product__photo {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.product:hover .product__photo { transform: scale(1.03); }

/* Fabric close-up, inset bottom-right. Sits on the product shot so a buyer
   can read the weave without leaving the card. Grows on hover. */
.product__detail {
  position: absolute;
  right: 0; bottom: 0;
  width: 42%; aspect-ratio: 1;
  object-fit: cover;
  border-top: 1px solid var(--paper);
  border-left: 1px solid var(--paper);
  transition: width var(--dur-slow) var(--ease-out);
}
.product:hover .product__detail { width: 52%; }

@media (prefers-reduced-motion: reduce) {
  .product:hover .product__detail { width: 42%; }
}

/* Category cards can carry a photograph behind the text. */
.cat__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .16; pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease);
}
.cat:hover .cat__photo { opacity: .24; }
.cat--photo .cat__index,
.cat--photo .cat__name,
.cat--photo .cat__desc,
.cat--photo .cat__lines { position: relative; }

.product__flag {
  position: absolute; top: var(--sp-4); left: var(--sp-4);
  padding: 4px 10px; border-radius: var(--radius-pill);
  background-color: var(--ink); color: var(--invert);
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.product__flag[data-flag='eco'] { background-color: var(--olive); }
.product__flag[data-flag='signature'] { background-color: var(--ink); }
.product__flag[data-flag='new'] { background-color: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.product__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5); }
.product__cat { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-faint); }
.product__name {
  margin-top: var(--sp-3); font-family: var(--font-display);
  font-size: 1.125rem; font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink);
}
.product__spec { margin-top: var(--sp-3); font-size: 0.875rem; font-weight: 300; line-height: 1.6; color: var(--fg-muted); }

.manifest { margin-top: var(--sp-4); padding-top: var(--sp-4); border-top: 1px solid var(--line); display: grid; gap: var(--sp-2); }
.manifest__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-3);
  font-family: var(--font-mono); font-size: var(--t-xs); font-variant-numeric: tabular-nums;
}
.manifest__key { color: var(--fg-faint); letter-spacing: 0.08em; text-transform: uppercase; }
.manifest__val { color: var(--ink); text-align: right; }

.tag {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 2px 9px; border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.08em;
  text-transform: uppercase; white-space: nowrap;
  background-color: var(--olive-bg); color: var(--olive);
}
.tag[data-tag='logo'] { background-color: var(--bone); color: var(--graphite); }

.product__foot { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line); display: flex; align-items: center; gap: var(--sp-3); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; flex-shrink: 0; }
.qty__btn {
  width: 36px; height: 42px; background: transparent; border: 0; color: var(--fg-muted);
  font-size: 1rem; cursor: pointer; transition: background-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.qty__btn:hover { background-color: var(--bone); color: var(--ink); }
.qty__input {
  width: 40px; height: 42px; border: 0; background-color: transparent; text-align: center;
  font-family: var(--font-mono); font-size: var(--t-sm); -moz-appearance: textfield;
}
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.product__add { flex: 1; min-width: 0; white-space: normal; line-height: 1.25; text-align: center; border-radius: var(--radius-pill); }
.product__add[data-added='true'] { background-color: var(--olive); border-color: var(--olive); color: #fff; }

.empty-state { grid-column: 1 / -1; padding: var(--sp-9) var(--sp-5); text-align: center; background-color: var(--paper); }
.empty-state__title { font-family: var(--font-display); font-size: var(--t-lg); font-weight: 500; color: var(--ink); }
.empty-state__text { margin-top: var(--sp-3); color: var(--fg-muted); font-size: 0.9375rem; font-weight: 300; }

/* --------------------------------------------------------------------------
   11. Chain / zones / proof
   -------------------------------------------------------------------------- */

.zone-grid { display: grid; gap: 1px; background-color: rgba(250,249,246,0.16); border: 1px solid rgba(250,249,246,0.16); }
.zone { padding: var(--sp-5); background-color: var(--ink); transition: background-color var(--dur) var(--ease); }
.zone:hover { background-color: var(--graphite); }
.zone__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--invert); line-height: 1.1; }
.zone__meta { margin-top: var(--sp-3); font-family: var(--font-mono); font-size: var(--t-xs); color: var(--sand); letter-spacing: 0.06em; }
.zone__note { margin-top: var(--sp-2); font-size: 0.8125rem; font-weight: 300; color: #A19B91; line-height: 1.55; }

.chain { display: grid; gap: var(--sp-6); counter-reset: step; }
.chain__step { position: relative; padding-left: var(--sp-8); counter-increment: step; }
.chain__step::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 2px;
  font-family: var(--font-mono); font-size: var(--t-sm); color: var(--fg-faint); letter-spacing: 0.08em;
}
.chain__step::after {
  content: ''; position: absolute; left: 12px; top: 1.9rem; bottom: -1.6rem; width: 1px; background-color: var(--line);
}
.chain__step:last-child::after { display: none; }
.section--ink .chain__step::before { color: var(--sand); }
.section--ink .chain__step::after  { background-color: rgba(250,249,246,0.16); }
.chain__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.chain__text { margin-top: var(--sp-3); font-size: 0.9375rem; font-weight: 300; line-height: 1.65; color: var(--fg-muted); max-width: 46ch; }
.section--ink .chain__text { color: #A19B91; }

.quote-card { padding: var(--sp-7); background-color: var(--paper); border: 1px solid var(--line); }
.quote-card__text { font-family: var(--font-display); font-size: var(--t-lg); font-weight: 300; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.quote-card__by { margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: var(--t-xs); color: var(--fg-muted); }
.quote-card__by b { color: var(--ink); font-weight: 500; }

/* --------------------------------------------------------------------------
   12. Drawer
   -------------------------------------------------------------------------- */

.scrim {
  position: fixed; inset: 0; z-index: 150; background-color: rgba(14,14,14,0.45);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.scrim[data-open='true'] { opacity: 1; visibility: visible; }

.drawer {
  position: fixed; top: 0; right: 0; z-index: 160;
  display: flex; flex-direction: column; width: min(30rem, 100%); height: 100dvh;
  background-color: var(--bone); box-shadow: var(--sh-lg);
  transform: translateX(100%); visibility: hidden;
  transition: transform var(--dur-slow) var(--ease-out), visibility var(--dur-slow);
}
.drawer[data-open='true'] { transform: translateX(0); visibility: visible; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5); background-color: var(--ink); color: var(--invert); flex-shrink: 0;
}
.drawer__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.1; }
.drawer__sub { margin-top: var(--sp-2); font-family: var(--font-mono); font-size: var(--t-xs); color: var(--sand); }
.drawer__close {
  display: grid; place-items: center; width: 42px; height: 42px;
  background: transparent; border: 1px solid rgba(250,249,246,0.3); border-radius: 50%;
  color: var(--invert); cursor: pointer; flex-shrink: 0; transition: background-color var(--dur) var(--ease);
}
.drawer__close:hover { background-color: rgba(250,249,246,0.14); }
.drawer__body { flex: 1; overflow-y: auto; padding: var(--sp-5); }
.drawer__foot { flex-shrink: 0; padding: var(--sp-5); background-color: var(--paper); border-top: 1px solid var(--line); }

.line { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-3); padding: var(--sp-4) 0; border-bottom: 1px solid var(--line); }
.line:first-child { padding-top: 0; }
.line__name { font-size: 0.9375rem; font-weight: 500; line-height: 1.4; color: var(--ink); }
.line__meta { margin-top: var(--sp-2); font-family: var(--font-mono); font-size: var(--t-xs); color: var(--fg-muted); }
.line__side { display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-2); }
.line__remove {
  background: transparent; border: 0; padding: var(--sp-1); color: var(--fg-faint);
  font-family: var(--font-mono); font-size: var(--t-xs); text-transform: uppercase;
  letter-spacing: 0.06em; cursor: pointer; transition: color var(--dur-fast) var(--ease);
}
.line__remove:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */

.form-grid { display: grid; gap: var(--sp-5); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field__label { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-muted); }
.field__label b { color: var(--ink); font-weight: 400; }
.field__hint { font-size: 0.8125rem; font-weight: 300; color: var(--fg-faint); line-height: 1.5; }
.field__control {
  width: 100%; min-height: 50px; padding: var(--sp-3) var(--sp-4);
  background-color: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 0.9375rem; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field__control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14,14,14,0.07); outline: none; }
textarea.field__control { min-height: 8rem; resize: vertical; line-height: 1.6; }
select.field__control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236E6A62' stroke-width='1.5' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right var(--sp-4) center; padding-right: var(--sp-8);
}
.field__error { font-family: var(--font-mono); font-size: var(--t-xs); color: #9A2C16; }
.field[data-invalid='true'] .field__control { border-color: #9A2C16; }

.form-note {
  padding: var(--sp-4); background-color: var(--olive-bg); border-left: 2px solid var(--olive);
  font-size: 0.875rem; font-weight: 300; line-height: 1.6; color: #38402F;
}
.form-note--bad { background-color: #FBF0ED; border-left-color: #9A2C16; color: #5C2313; }

/* Submit button while the request is in flight. */
.btn[data-busy='true'] { opacity: .6; pointer-events: none; }

/* --------------------------------------------------------------------------
   14. Footer & banner
   -------------------------------------------------------------------------- */

.footer { background-color: var(--ink); color: #A19B91; padding-block: var(--sp-8) var(--sp-6); }
.footer__grid { display: grid; gap: var(--sp-7); padding-bottom: var(--sp-7); border-bottom: 1px solid rgba(250,249,246,0.14); }
.footer__blurb { margin-top: var(--sp-4); font-size: 0.9375rem; font-weight: 300; line-height: 1.7; max-width: 34ch; }
.footer__title { font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sand); margin-bottom: var(--sp-4); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.footer__link { font-size: 0.9375rem; font-weight: 300; text-decoration: none; color: #A19B91; transition: color var(--dur-fast) var(--ease); }
.footer__link:hover { color: var(--invert); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center; justify-content: space-between;
  padding-top: var(--sp-5); font-family: var(--font-mono); font-size: var(--t-xs); color: #7C766D;
}

.banner { padding-block: var(--sp-8) var(--sp-7); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; align-items: center; gap: var(--sp-2); font-family: var(--font-mono); font-size: var(--t-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-faint); }
.crumbs a { text-decoration: none; color: var(--fg-muted); }
.crumbs a:hover { color: var(--ink); }
.banner__title { margin-top: var(--sp-4); }
.banner__lede { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   15. Motion
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0; transform: translateY(16px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
[data-reveal][data-visible='true'] { opacity: 1; transform: none; }

.toast {
  position: fixed; left: 50%; bottom: var(--sp-6); z-index: 170;
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5); background-color: var(--ink); color: var(--invert);
  border-radius: var(--radius-pill); box-shadow: var(--sh-lg);
  font-size: 0.875rem; transform: translate(-50%, 160%);
  transition: transform var(--dur-slow) var(--ease-out);
  max-width: calc(100vw - 2 * var(--gutter));
}
.toast[data-open='true'] { transform: translate(-50%, 0); }
.toast svg { color: #8FBF8C; flex-shrink: 0; }

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 40em) {
  .trade-strip__item--hide-sm { display: inline-flex; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid--two { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 62em) {
  .nav { display: block; }
  .burger, .mobile-nav { display: none; }
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-8); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .zone-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: start; }
  .split--sticky > :first-child { position: sticky; top: 9rem; }
}

@media (max-width: 61.99em) { .split { display: grid; gap: var(--sp-7); } }

@media (max-width: 40em) {
  .btn--sm { min-height: 44px; }
  .qty__btn { width: 44px; height: 44px; }
  .qty__input { height: 44px; width: 46px; }
  .chip { min-height: 44px; }
}

@media (max-width: 26em) {
  .trade-strip { font-size: 0.6875rem; letter-spacing: 0.03em; }
  .trade-strip__inner { justify-content: center; }
}

/* --------------------------------------------------------------------------
   17. Reduced motion & print
   -------------------------------------------------------------------------- */

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

@media print {
  .masthead, .drawer, .scrim, .toast, .footer, .trade-strip { display: none; }
  body { background: #fff; }
}
