/* ==========================================================================
   PAINT CENTER — premium paint salon
   Design system & UI styles
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bone: #f2ede4;
  --paper: #faf7f1;
  --sand: #e4dccd;
  --ink: #171412;
  --ink-2: #2e2823;
  --muted: #7c7267;
  --muted-2: #a59a8d;
  --line: rgba(23, 20, 18, 0.13);
  --line-strong: rgba(23, 20, 18, 0.28);
  --clay: #a24a2c;
  --clay-deep: #83391f;
  --olive: #6d7257;
  --brass: #b3915c;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1400px;
  --pad: clamp(20px, 4.4vw, 64px);
  --section-y: clamp(64px, 8.4vw, 128px);

  --ease: cubic-bezier(0.22, 0.71, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-soft: 0 24px 60px -34px rgba(23, 20, 18, 0.4);
  --shadow-card: 0 30px 60px -40px rgba(23, 20, 18, 0.55);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.42'/%3E%3C/svg%3E");
  --plaster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.62' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23p)' opacity='0.5'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  background-image: var(--noise);
  opacity: 0.035;
  mix-blend-mode: multiply;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p, figure { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--bone); }

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

.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;
}

.skip-link {
  position: fixed;
  left: 16px; top: -80px;
  z-index: 500;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bone);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Typography ---------- */
.serif { font-family: var(--serif); }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-size: clamp(46px, 7.4vw, 118px);
}
.display em {
  font-style: italic;
  font-weight: 300;
  letter-spacing: -0.01em;
}

.h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1;
  letter-spacing: -0.022em;
}
.h2 em { font-style: italic; }

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow--bare::before { display: none; }

.lead {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.62;
  color: var(--muted);
  max-width: 46ch;
}

.mono-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad);
}
.container--narrow { max-width: 1080px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(44px, 5vw, 76px); }
.section--paper { background: var(--paper); }
.section--ink { background: #14110f; color: var(--bone); }
.section--ink .lead { color: rgba(242, 237, 228, 0.66); }
.section--ink .eyebrow { color: rgba(242, 237, 228, 0.6); }
.section--ink .link-arrow { color: var(--bone); }

.shead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 26px;
  margin-bottom: clamp(28px, 3vw, 46px);
  border-bottom: 1px solid var(--line);
}
.shead__left { display: flex; flex-direction: column; gap: 18px; }
.shead .h2 { max-width: 20ch; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: gap 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.link-arrow:hover { gap: 18px; border-color: currentColor; }
.link-arrow:hover svg { transform: translate(2px, -2px); }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 54px;
  padding: 0 30px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--clay);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-out);
  z-index: 0;
}
.btn > * { position: relative; z-index: 1; }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #fff; border-color: var(--clay); }
.btn:active { transform: translateY(1px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--clay); }

.btn--light {
  --btn-bg: var(--bone);
  --btn-fg: var(--ink);
  border-color: var(--bone);
}

.btn--block { width: 100%; }
.btn--sm { height: 46px; padding: 0 22px; font-size: 10px; }

.btn svg { width: 16px; height: 16px; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { border-color: var(--line); background: rgba(23, 20, 18, 0.03); }

.counter-badge {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bone);
  font-size: 9px;
  font-weight: 700;
  border-radius: 99px;
  line-height: 1;
}
.counter-badge[hidden] { display: none; }

/* ---------- 6. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bone);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.header.is-stuck {
  background: rgba(242, 237, 228, 0.9);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.header.is-stuck::after { opacity: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 36px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.topbar__group { display: flex; align-items: center; gap: 26px; }
.topbar__group span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 3px rgba(109, 114, 87, 0.15);
}
.topbar a { transition: color 0.3s var(--ease); }
.topbar a:hover { color: var(--ink); }

.header__main {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 52px);
  height: 82px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo__tag {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  margin-inline: auto;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 82px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--clay); }
.nav__link svg { width: 9px; height: 9px; opacity: 0.6; transition: transform 0.3s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.header__cta { margin-left: 14px; height: 48px; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}

/* ---------- 7. Mega menu ---------- */
.mega {
  position: fixed;
  left: 0; right: 0;
  top: 118px;
  z-index: 88;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 50px 80px -60px rgba(23, 20, 18, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease-out), visibility 0.3s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.mega__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 300px;
  gap: 40px;
  padding-block: 44px 50px;
}
.mega__col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.mega__list li + li { margin-top: 1px; }
.mega__list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.25s var(--ease), padding-left 0.3s var(--ease);
}
.mega__list a span {
  font-size: 10px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.mega__list a:hover { color: var(--clay); padding-left: 6px; }

.mega__promo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  min-height: 300px;
  background: #cfd3c5;
  color: var(--ink);
  overflow: hidden;
}
.mega__promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--plaster);
  background-size: 300px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}
.mega__promo > * { position: relative; z-index: 1; }
.mega__promo .eyebrow { color: rgba(23, 20, 18, 0.6); }
.mega__promo h4 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.05;
  margin: 16px 0 14px;
  letter-spacing: -0.02em;
}
.mega__promo p { font-size: 12.5px; line-height: 1.5; color: rgba(23, 20, 18, 0.66); margin-bottom: 18px; }
.mega__promo .link-arrow { font-size: 10px; align-self: flex-start; }

/* ---------- 8. Overlays ---------- */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(20, 17, 15, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0;
  z-index: 200;
  width: min(460px, 100%);
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transform: translateX(101%);
  transition: transform 0.5s var(--ease-out);
  box-shadow: -40px 0 90px -50px rgba(0, 0, 0, 0.6);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.drawer__title { font-family: var(--serif); font-size: 25px; font-weight: 500; letter-spacing: -0.01em; }
.drawer__title span { font-family: var(--sans); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); margin-left: 4px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 26px; }
.drawer__foot { padding: 22px 26px 26px; border-top: 1px solid var(--line); background: var(--paper); }

/* Search overlay */
.search {
  position: fixed;
  inset: 0;
  z-index: 210;
  background: rgba(242, 237, 228, 0.97);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}
.search.is-open { opacity: 1; visibility: visible; }
.search__inner { max-width: 980px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) var(--pad) 80px; }
.search__top { display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line-strong); padding-bottom: 14px; }
.search__top svg { width: 24px; height: 24px; opacity: 0.45; flex-shrink: 0; }
.search__input {
  flex: 1;
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  outline: none;
  min-width: 0;
}
.search__input::placeholder { color: var(--muted-2); }
.search__hint { margin-top: 34px; display: flex; flex-direction: column; gap: 16px; }
.search__hint-label { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 12px;
  border: 1px solid var(--line);
  background: transparent;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.chip:hover, .chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.chip__count { color: var(--muted-2); font-size: 10px; }
.chip.is-active .chip__count { color: rgba(242, 237, 228, 0.6); }

.search__results { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.search-result { display: flex; gap: 14px; align-items: center; padding: 10px; border: 1px solid transparent; transition: border-color 0.25s, background 0.25s; }
.search-result:hover { border-color: var(--line); background: var(--paper); }
.search-result__tone { width: 58px; height: 68px; flex-shrink: 0; box-shadow: var(--shadow-soft); }
.search-result__brand { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.search-result__name { font-family: var(--serif); font-size: 17px; line-height: 1.15; margin-top: 3px; }
.search-result__price { font-size: 12px; color: var(--muted); margin-top: 5px; }
.search__empty { margin-top: 40px; font-size: 14px; color: var(--muted); }

/* ---------- 9. Cart ---------- */
.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item__tone { width: 76px; height: 92px; position: relative; }
.cart-item__brand { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cart-item__name { font-family: var(--serif); font-size: 17px; line-height: 1.15; margin: 4px 0 3px; }
.cart-item__meta { font-size: 11.5px; color: var(--muted); }
.cart-item__price { font-size: 13px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.cart-item__remove {
  align-self: flex-start;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: color 0.2s;
}
.cart-item__remove:hover { color: var(--clay); }
.cart-item__remove svg { width: 13px; height: 13px; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  height: 34px;
}
.qty button {
  width: 30px;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.qty button:hover { color: var(--ink); background: rgba(23, 20, 18, 0.04); }
.qty input {
  width: 32px;
  height: 100%;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-empty { text-align: center; padding: 70px 20px; }
.cart-empty svg { width: 46px; height: 46px; margin: 0 auto 20px; opacity: 0.25; }
.cart-empty p { font-family: var(--serif); font-size: 24px; margin-bottom: 8px; }
.cart-empty span { font-size: 13px; color: var(--muted); display: block; margin-bottom: 24px; }

.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.cart-total dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.cart-total dd { font-family: var(--serif); font-size: 28px; margin: 0; font-variant-numeric: tabular-nums; }
.cart-note { font-size: 11px; color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 7px; }
.cart-note svg { width: 13px; height: 13px; }
.cart-progress { height: 2px; background: var(--line); margin: 18px 0 8px; overflow: hidden; }
.cart-progress i { display: block; height: 100%; background: var(--olive); transition: width 0.5s var(--ease); }
.cart-progress-label { font-size: 10.5px; color: var(--muted); margin-bottom: 14px; }

/* ---------- 10. Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bone);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  border-bottom: 1px solid var(--line);
}
.mobile-menu__body { padding: 10px var(--pad) 40px; flex: 1; }
.mnav__item { border-bottom: 1px solid var(--line); }
.mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-align: left;
}
.mnav__link svg { width: 14px; height: 14px; opacity: 0.5; transition: transform 0.3s; }
.mnav__link[aria-expanded="true"] svg { transform: rotate(45deg); }
.mnav__sub { display: none; padding: 0 0 18px 14px; }
.mnav__sub.is-open { display: block; }
.mnav__sub a { display: block; padding: 8px 0; font-size: 14px; color: var(--muted); }
.mnav__sub a:hover { color: var(--ink); }
.mobile-menu__foot { padding: 24px var(--pad) 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.mobile-menu__phone { font-family: var(--serif); font-size: 26px; }

/* ---------- 11. Hero ---------- */
.hero {
  position: relative;
  --hero-ink: var(--ink);
  background-color: var(--tone, #dcd3c4);
  color: var(--hero-ink, var(--ink));
  transition: background-color 0.9s var(--ease), color 0.55s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--plaster), var(--noise);
  background-size: 420px, 160px;
  opacity: 0.5;
  mix-blend-mode: multiply;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, 0.28), transparent 60%),
              linear-gradient(to top, rgba(23, 20, 18, 0.07), transparent 45%);
  z-index: -1;
  pointer-events: none;
}
.hero.is-dark { --hero-ink: #f2ede4; }
.hero.is-dark::after {
  background: radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
              linear-gradient(to top, rgba(0, 0, 0, 0.22), transparent 50%);
}

.hero__inner {
  position: relative;
  min-height: min(calc(100vh - 118px), 900px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-block: clamp(26px, 3.4vw, 52px) clamp(24px, 3vw, 40px);
}
.hero__frame {
  position: absolute;
  inset: 14px;
  border: 1px solid currentColor;
  opacity: 0.16;
  pointer-events: none;
}
.hero__top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; }
.hero__top .eyebrow { color: inherit; opacity: 0.72; }
.hero__top-right { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; text-align: right; }

.hero__main {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.8fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  padding-block: clamp(34px, 5vw, 64px);
}
.hero__title { margin-bottom: 0; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; animation: rise 1.1s var(--ease-out) both; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.08s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.16s; }
.hero__aside { padding-bottom: 10px; max-width: 380px; }
.hero__aside .lead { color: inherit; opacity: 0.78; font-size: clamp(14px, 1.1vw, 16px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero__actions .btn--ghost { --btn-fg: inherit; border-color: currentColor; opacity: 0.9; }

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid currentColor;
  border-top-color: color-mix(in srgb, currentColor 22%, transparent);
  padding-top: 22px;
}
.hero__colors { display: flex; flex-direction: column; gap: 14px; }
.hero__swatches { display: flex; align-items: center; gap: 8px; }
.swatch-btn {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23, 20, 18, 0.18);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.swatch-btn:hover { transform: translateY(-4px); }
.swatch-btn.is-active { box-shadow: 0 0 0 2px var(--hero-ink), 0 0 0 3px rgba(23, 20, 18, 0.25); transform: translateY(-4px); }
.hero__color-meta { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.hero__color-name { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1; }
.hero__color-code { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; }
.hero__count { display: flex; align-items: center; gap: 12px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.hero__scroll { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; }
.hero__scroll i {
  display: block;
  width: 1px;
  height: 46px;
  background: currentColor;
  transform-origin: top;
  animation: scrollLine 2.4s var(--ease) infinite;
}

@keyframes rise {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(46px); opacity: 0; }
}

/* ---------- 12. Brand marquee ---------- */
.brands {
  border-bottom: 1px solid var(--line);
  padding-block: 26px;
  overflow: hidden;
  background: var(--bone);
}
.brands__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 54s linear infinite;
}
.brands:hover .brands__track { animation-play-state: paused; }
.brands__item {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.9vw, 25px);
  letter-spacing: 0.02em;
  color: var(--ink-2);
  white-space: nowrap;
}
.brands__item::after {
  content: "✳";
  font-size: 12px;
  color: var(--clay);
  font-family: var(--sans);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 13. USP ---------- */
.usp {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.usp__item {
  padding: 34px 30px 38px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.usp__item:last-child { border-right: 0; }
.usp__num { font-size: 10px; letter-spacing: 0.2em; color: var(--clay); font-weight: 600; }
.usp__title { font-family: var(--serif); font-size: 23px; line-height: 1.12; letter-spacing: -0.01em; }
.usp__text { font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* ---------- 14. Categories ---------- */
.cats {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  padding: clamp(22px, 2.2vw, 34px);
  overflow: hidden;
  background: var(--c, var(--sand));
  color: var(--t, var(--ink));
  isolation: isolate;
  transition: transform 0.5s var(--ease-out);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--plaster), var(--noise);
  background-size: 300px, 160px;
  opacity: 0.45;
  mix-blend-mode: multiply;
  z-index: -1;
  transition: transform 0.9s var(--ease-out);
}
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(20, 17, 15, 0.16), transparent 55%);
  opacity: var(--shade, 0.8);
  transition: opacity 0.5s var(--ease);
}
.cat-card:hover::before { transform: scale(1.07); }
.cat-card:hover { transform: translateY(-3px); }
.cat-card--lg { grid-column: span 8; min-height: 470px; }
.cat-card--md { grid-column: span 4; min-height: 470px; }
.cat-card--sm { grid-column: span 4; min-height: 246px; }
.cat-card--wide { grid-column: span 12; min-height: 196px; }
.cat-card--wide .cat-card__title { max-width: none; }
.cat-card__note { display: none; }
.cat-card--wide .cat-card__note {
  display: block;
  position: absolute;
  right: 120px;
  bottom: 34px;
  max-width: 300px;
  font-size: 12px;
  line-height: 1.55;
  opacity: 0.58;
}
.cat-card__arrow {
  position: absolute;
  top: clamp(18px, 2vw, 28px);
  right: clamp(18px, 2vw, 28px);
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 50%;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.45s var(--ease-out);
}
.cat-card__arrow svg { width: 14px; height: 14px; }
.cat-card:hover .cat-card__arrow { background: currentColor; transform: rotate(45deg); }
.cat-card__kicker { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.62; margin-bottom: 10px; }
.cat-card__title { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.02; letter-spacing: -0.02em; max-width: 14ch; }
.cat-card--lg .cat-card__title { font-size: clamp(34px, 3.6vw, 56px); }
.cat-card__meta { margin-top: 14px; display: flex; align-items: center; gap: 12px; font-size: 11px; opacity: 0.7; }
.cat-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.cat-card__deco {
  position: absolute;
  top: -8%;
  right: 6%;
  width: 38%;
  aspect-ratio: 3 / 4;
  background: var(--deco, rgba(255, 255, 255, 0.28));
  transform: rotate(9deg);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.5);
  z-index: -1;
  transition: transform 0.7s var(--ease-out);
}
.cat-card--lg .cat-card__deco { width: 30%; top: 4%; right: 8%; transform: rotate(-6deg); }
.cat-card:hover .cat-card__deco { transform: rotate(3deg) translateY(-6px); }

/* ---------- 15. Product card ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.pgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.pcard { position: relative; display: flex; flex-direction: column; }
.pcard__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: #eae3d7;
  overflow: hidden;
}
.pcard__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--plaster), var(--noise);
  background-size: 260px, 160px;
  opacity: 0.55;
  mix-blend-mode: multiply;
  z-index: 0;
}
.pcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 70% 15%, rgba(255, 255, 255, 0.5), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.pcard__link { position: absolute; inset: 0; z-index: 2; }
.pcard__chip {
  position: absolute;
  left: 18%;
  top: 16%;
  width: 58%;
  aspect-ratio: 3 / 4;
  background: var(--tone, #ccc);
  box-shadow: 0 26px 44px -26px rgba(23, 20, 18, 0.7), 0 2px 0 rgba(255, 255, 255, 0.25) inset;
  transform: rotate(-5deg);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  z-index: 1;
  overflow: hidden;
}
.pcard__chip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--noise);
  opacity: 0.16;
  mix-blend-mode: multiply;
  z-index: 0;
}
.pcard__chip-code,
.pcard__chip-name { position: relative; z-index: 1; }
.pcard__chip-code { font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.55; color: var(--chip-ink, #171412); }
.pcard__chip-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--chip-ink, #171412);
}
.pcard:hover .pcard__chip { transform: rotate(-2deg) translateY(-6px); box-shadow: 0 40px 58px -30px rgba(23, 20, 18, 0.75); }

.pcard__badges { position: absolute; top: 12px; left: 12px; z-index: 3; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bone);
  line-height: 1;
}
.badge--clay { background: var(--clay); color: #fff; }
.badge--light { background: rgba(250, 247, 241, 0.92); color: var(--ink); }

.pcard__fav {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s;
}
.pcard:hover .pcard__fav, .pcard__fav.is-active { opacity: 1; transform: translateY(0); }
.pcard__fav svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.pcard__fav.is-active svg { fill: var(--clay); stroke: var(--clay); }

.pcard__quick {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  background: rgba(23, 20, 18, 0.94);
  color: var(--bone);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out), background 0.25s;
}
.pcard__quick svg { width: 14px; height: 14px; }
.pcard:hover .pcard__quick { opacity: 1; transform: translateY(0); }
.pcard__quick:hover { background: var(--clay); }

.pcard__body { padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.pcard__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pcard__brand { font-size: 9px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pcard__rating { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--muted); }
.pcard__rating svg { width: 10px; height: 10px; fill: var(--brass); stroke: none; }
.pcard__name { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.pcard__name a:hover { color: var(--clay); }
.pcard__meta { font-size: 11.5px; color: var(--muted); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.pcard__price { font-size: 14px; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.pcard__price s { color: var(--muted-2); font-size: 11.5px; margin-left: 6px; }
.pcard__dots { display: flex; gap: 4px; }
.pcard__dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(23, 20, 18, 0.12); transition: transform 0.25s; }
.pcard__dot:hover { transform: scale(1.25); }

/* ---------- 16. Tinting lab ---------- */
.tinting {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.tinting__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.tinting__copy .h2 { max-width: 11ch; }
.tinting__stats { display: flex; gap: 40px; margin-top: 10px; padding-top: 24px; border-top: 1px solid rgba(242, 237, 228, 0.16); width: 100%; }
.tinting__stat b { display: block; font-family: var(--serif); font-size: 36px; font-weight: 400; line-height: 1; }
.tinting__stat span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(242, 237, 228, 0.55); display: block; margin-top: 8px; }

.lab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  background: rgba(242, 237, 228, 0.08);
  border: 1px solid rgba(242, 237, 228, 0.14);
}
.lab__preview {
  position: relative;
  background: var(--lab-tone, #8b9a8b);
  transition: background-color 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--lab-ink, #171412);
  isolation: isolate;
  overflow: hidden;
}
.lab__preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--plaster), var(--noise);
  background-size: 300px, 160px;
  opacity: 0.5;
  mix-blend-mode: multiply;
  z-index: -1;
}
.lab__preview-top { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.65; }
.lab__preview-name { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -0.02em; }
.lab__preview-code { font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.65; margin-top: 8px; display: block; }
.lab__list { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-content: start; }
.lab__swatch {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  text-align: left;
  border: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}
.lab__swatch:hover, .lab__swatch.is-active { border-color: rgba(242, 237, 228, 0.28); background: rgba(242, 237, 228, 0.06); }
.lab__swatch i { display: block; height: 34px; background: var(--sw); border: 1px solid rgba(0, 0, 0, 0.12); }
.lab__swatch span { font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(242, 237, 228, 0.55); line-height: 1.3; }
.lab__swatch.is-active span { color: var(--bone); }
.lab__foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid rgba(242, 237, 228, 0.14);
}
.lab__foot p { font-size: 11px; color: rgba(242, 237, 228, 0.55); }

/* ---------- 17. Services ---------- */
.services { border-top: 0; }
.service {
  display: grid;
  grid-template-columns: 54px minmax(0, 1.1fr) minmax(0, 1.3fr) 140px 44px;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}
.service:hover { background: var(--paper); padding-inline: 20px; }
.service__num { font-size: 10px; letter-spacing: 0.14em; color: var(--muted-2); }
.service__title { font-family: var(--serif); font-size: clamp(23px, 2.1vw, 30px); line-height: 1.1; letter-spacing: -0.015em; }
.service__text { font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.service__price { font-size: 12px; text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.service__price span { display: block; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }
.service__go { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background 0.35s, color 0.35s, border-color 0.35s; }
.service:hover .service__go { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.service__go svg { width: 14px; height: 14px; }

/* ---------- 18. Journal ---------- */
.journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.jcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c1);
  isolation: isolate;
  margin-bottom: 18px;
}
.jcard__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--plaster), var(--noise);
  background-size: 300px, 160px;
  opacity: 0.5;
  mix-blend-mode: multiply;
}
.jcard__shape {
  position: absolute;
  background: var(--c2);
  transition: transform 0.8s var(--ease-out);
}
.jcard__shape--1 { left: 12%; bottom: 0; width: 34%; height: 62%; }
.jcard__shape--2 { right: 14%; top: 14%; width: 26%; aspect-ratio: 1; border-radius: 50%; background: var(--c3); }
.jcard:hover .jcard__shape--1 { transform: translateY(-8px); }
.jcard:hover .jcard__shape--2 { transform: scale(1.08); }
.jcard__tag { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); }
.jcard__title { font-family: var(--serif); font-size: 24px; line-height: 1.16; margin: 10px 0 10px; letter-spacing: -0.015em; }
.jcard__meta { font-size: 11px; color: var(--muted); display: flex; gap: 12px; }
.jcard:hover .jcard__title { color: var(--clay); }

/* ---------- 19. Salons ---------- */
.salons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.salon {
  background: var(--bone);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 216px;
  transition: background 0.4s var(--ease);
  position: relative;
}
.salon:hover { background: var(--paper); }
.salon--main { background: var(--ink); color: var(--bone); }
.salon--main:hover { background: var(--ink-2); }
.salon__city { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -0.02em; }
.salon__badge { font-size: 8.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); margin-bottom: 2px; font-weight: 700; }
.salon--main .salon__badge { color: var(--brass); }
.salon__addr { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-top: 6px; }
.salon--main .salon__addr { color: rgba(242, 237, 228, 0.6); }
.salon__hours { font-size: 11px; color: var(--muted-2); margin-top: auto; padding-top: 14px; }
.salon--main .salon__hours { color: rgba(242, 237, 228, 0.45); }
.salon__link { position: absolute; top: 26px; right: 26px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 25%, transparent); border-radius: 50%; opacity: 0.7; transition: opacity 0.3s, transform 0.4s; }
.salon:hover .salon__link { opacity: 1; transform: rotate(45deg); }
.salon__link svg { width: 12px; height: 12px; }

/* ---------- 20. Newsletter ---------- */
.newsletter {
  position: relative;
  background: var(--clay);
  color: #fbf6ee;
  overflow: hidden;
  isolation: isolate;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--plaster), var(--noise);
  background-size: 380px, 160px;
  opacity: 0.4;
  mix-blend-mode: multiply;
  z-index: -1;
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  padding-block: clamp(54px, 6vw, 86px);
}
.newsletter .h2 { font-size: clamp(34px, 4vw, 58px); }
.newsletter p { color: rgba(251, 246, 238, 0.75); font-size: 14px; max-width: 40ch; margin-top: 16px; }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-form__row { display: flex; border-bottom: 1px solid rgba(251, 246, 238, 0.4); padding-bottom: 10px; gap: 12px; }
.nl-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  color: inherit;
  font-size: 16px;
  padding: 10px 0;
}
.nl-form input::placeholder { color: rgba(251, 246, 238, 0.55); }
.nl-form button { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.nl-form button svg { width: 16px; height: 16px; transition: transform 0.3s; }
.nl-form button:hover svg { transform: translateX(4px); }
.nl-form small { font-size: 10.5px; color: rgba(251, 246, 238, 0.55); }

/* ---------- 21. Footer ---------- */
.footer { background: #14110f; color: var(--bone); padding-top: clamp(56px, 6vw, 88px); }
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(242, 237, 228, 0.14);
}
.footer__brand { display: flex; flex-direction: column; gap: 18px; max-width: 320px; }
.footer__brand .logo__tag { color: rgba(242, 237, 228, 0.5); }
.footer__desc { font-size: 12.5px; line-height: 1.7; color: rgba(242, 237, 228, 0.55); }
.footer__phone { font-family: var(--serif); font-size: 26px; letter-spacing: 0.01em; }
.footer__col-title { font-size: 9.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(242, 237, 228, 0.45); margin-bottom: 18px; }
.footer__list li + li { margin-top: 9px; }
.footer__list a { font-size: 13px; color: rgba(242, 237, 228, 0.78); transition: color 0.25s; }
.footer__list a:hover { color: var(--bone); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  font-size: 10.5px;
  color: rgba(242, 237, 228, 0.4);
  flex-wrap: wrap;
}
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__pay { display: flex; gap: 6px; }
.footer__pay span {
  padding: 4px 8px;
  border: 1px solid rgba(242, 237, 228, 0.16);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(242, 237, 228, 0.18);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s;
}
.socials a:hover { background: rgba(242, 237, 228, 0.1); border-color: rgba(242, 237, 228, 0.4); }
.socials svg { width: 14px; height: 14px; }

/* ---------- 22. Breadcrumbs ---------- */
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-block: 20px; font-size: 10.5px; letter-spacing: 0.06em; color: var(--muted); }
.crumbs a { transition: color 0.25s; }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 9px; height: 9px; opacity: 0.4; }
.crumbs span { color: var(--ink-2); }

/* ---------- 23. Category hero ---------- */
.cat-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
  padding-bottom: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.cat-hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(46px, 6.4vw, 96px); line-height: 0.94; letter-spacing: -0.03em; margin-top: 14px; }
.cat-hero__title em { font-style: italic; }
.cat-hero__desc { font-size: clamp(14px, 1.1vw, 16px); color: var(--muted); line-height: 1.65; max-width: 42ch; }
.cat-hero__meta { display: flex; gap: 28px; margin-top: 26px; flex-wrap: wrap; }
.cat-hero__meta div { display: flex; flex-direction: column; gap: 3px; }
.cat-hero__meta b { font-family: var(--serif); font-size: 25px; font-weight: 400; line-height: 1; }
.cat-hero__meta span { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.cat-hero__fan { position: relative; height: 240px; }
.cat-hero__fan i {
  position: absolute;
  bottom: 0;
  width: 36%;
  height: 88%;
  background: var(--fc);
  box-shadow: 0 30px 50px -30px rgba(23, 20, 18, 0.55);
  transform-origin: bottom center;
  transition: transform 0.7s var(--ease-out);
}
.cat-hero__fan i:nth-child(1) { left: 6%; transform: rotate(-12deg); }
.cat-hero__fan i:nth-child(2) { left: 32%; transform: rotate(-4deg); height: 100%; }
.cat-hero__fan i:nth-child(3) { left: 58%; transform: rotate(5deg); }
.cat-hero__fan:hover i:nth-child(1) { transform: rotate(-16deg) translateY(-6px); }
.cat-hero__fan:hover i:nth-child(3) { transform: rotate(9deg) translateY(-6px); }

/* ---------- 24. Shop layout & filters ---------- */
.shop { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: 34px clamp(48px, 5vw, 84px); align-items: start; }

.filters { position: sticky; top: 118px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.filters__title { font-family: var(--serif); font-size: 22px; }
.filters__reset { font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color 0.25s, border-color 0.25s; margin-left: auto; }
.filters__reset:hover { color: var(--clay); border-color: var(--clay); }
.filters__close { display: none; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); }
.filters__close svg { width: 15px; height: 15px; }
.fgroup { border-top: 1px solid var(--line); padding: 16px 0 8px; }
.fgroup__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.fgroup__toggle svg { width: 11px; height: 11px; opacity: 0.5; transition: transform 0.3s; }
.fgroup.is-collapsed .fgroup__toggle svg { transform: rotate(-90deg); }
.fgroup.is-collapsed .fgroup__body { display: none; }
.fgroup__body { padding-bottom: 8px; }

.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 12.5px; color: var(--ink-2); transition: color 0.2s; }
.check:hover { color: var(--clay); }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 15px; height: 15px;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.check__box svg { width: 9px; height: 9px; opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.2s; color: var(--bone); }
.check input:checked + .check__box { background: var(--ink); border-color: var(--ink); }
.check input:checked + .check__box svg { opacity: 1; transform: scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--clay); outline-offset: 2px; }
.check__count { margin-left: auto; font-size: 10px; color: var(--muted-2); font-variant-numeric: tabular-nums; }

.price-range { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.price-range input {
  width: 100%;
  min-width: 0;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0 10px;
  font-size: 12px;
  outline: none;
  transition: border-color 0.25s;
}
.price-range input:focus { border-color: var(--ink); }
.price-range span { color: var(--muted-2); font-size: 11px; }
.range { width: 100%; margin-top: 14px; -webkit-appearance: none; appearance: none; height: 2px; background: var(--line); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); cursor: pointer; border: 2px solid var(--bone); }
.range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--ink); cursor: pointer; border: 2px solid var(--bone); }

.switch { display: flex; align-items: center; gap: 10px; font-size: 12.5px; cursor: pointer; padding: 6px 0; }
.switch input { position: absolute; opacity: 0; }
.switch__track { width: 34px; height: 18px; border: 1px solid var(--line-strong); border-radius: 99px; position: relative; transition: background 0.25s, border-color 0.25s; flex-shrink: 0; }
.switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--muted); transition: transform 0.25s var(--ease), background 0.25s; }
.switch input:checked + .switch__track { background: var(--ink); border-color: var(--ink); }
.switch input:checked + .switch__track::after { transform: translateX(16px); background: var(--bone); }

.filters__apply { margin-top: 18px; display: none; }
.filters__note { margin-top: 20px; font-size: 11px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }

/* Toolbar */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.toolbar__count { font-size: 12px; color: var(--muted); }
.toolbar__count b { color: var(--ink); font-weight: 600; }
.toolbar__right { display: flex; align-items: center; gap: 14px; }
.toolbar__filter-btn { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.toolbar__filter-btn svg { width: 14px; height: 14px; }
.toolbar__filter-btn b { font-size: 9px; background: var(--ink); color: var(--bone); border-radius: 99px; padding: 2px 6px; }

.select {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.select select {
  appearance: none;
  -webkit-appearance: none;
  height: 40px;
  padding: 0 34px 0 14px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-2);
  cursor: pointer;
  outline: none;
}
.select svg { position: absolute; right: 12px; width: 10px; height: 10px; pointer-events: none; opacity: 0.5; }

.view-toggle { display: flex; border: 1px solid var(--line); height: 40px; }
.view-toggle button { width: 40px; display: grid; place-items: center; color: var(--muted); transition: background 0.25s, color 0.25s; }
.view-toggle button.is-active { background: var(--ink); color: var(--bone); }
.view-toggle svg { width: 14px; height: 14px; }

.active-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.active-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; background: var(--paper); border: 1px solid var(--line); font-size: 11px; }
.active-chip button { display: grid; place-items: center; opacity: 0.5; transition: opacity 0.2s; }
.active-chip button:hover { opacity: 1; }
.active-chip svg { width: 10px; height: 10px; }

.pgrid-wrap { min-height: 400px; }
.pgrid--list { grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pgrid--list .pcard { flex-direction: row; background: var(--bone); padding: 0; gap: 0; }
.pgrid--list .pcard__media { width: 220px; flex-shrink: 0; aspect-ratio: 4 / 5; }
.pgrid--list .pcard__chip { left: 22%; width: 56%; top: 14%; }
.pgrid--list .pcard__body { padding: 24px 26px; justify-content: center; gap: 8px; }
.pgrid--list .pcard__name { font-size: 26px; }
.pgrid--list .pcard__media { min-height: 280px; }

.load-more { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 14px; margin-top: 44px; }
.load-more__progress { width: 180px; height: 1px; background: var(--line); position: relative; }
.load-more__progress i { position: absolute; left: 0; top: 0; height: 100%; background: var(--ink); width: 0; transition: width 0.4s var(--ease); }
.load-more p { font-size: 10.5px; color: var(--muted); letter-spacing: 0.06em; }

.empty-state { text-align: center; padding: 70px 20px; border: 1px solid var(--line); }
.empty-state h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 13px; margin-bottom: 20px; }

/* SEO + FAQ */
.cat-seo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); padding-block: var(--section-y) 0; }
.cat-seo h2 { margin-bottom: 18px; }
.cat-seo p { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 12px; }
.cat-seo a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.cat-seo a:hover { color: var(--clay); border-color: var(--clay); }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.25;
}
.faq__q i { width: 26px; height: 26px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background 0.3s, color 0.3s, transform 0.3s; }
.faq__q i svg { width: 10px; height: 10px; }
.faq__item.is-open .faq__q i { background: var(--ink); color: var(--bone); transform: rotate(45deg); }
.faq__a { display: none; padding: 0 44px 22px 0; font-size: 12.5px; line-height: 1.7; color: var(--muted); }
.faq__item.is-open .faq__a { display: block; }

/* ---------- 25. Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: clamp(32px, 5vw, 76px); align-items: start; padding-block: 18px 0; }

.gallery { position: sticky; top: 118px; }
.gallery__main {
  position: relative;
  aspect-ratio: 4 / 4.4;
  background: var(--tone, #d6cdbd);
  overflow: hidden;
  isolation: isolate;
  cursor: default;
  transition: background-color 0.55s var(--ease);
}
.gallery__main.is-photo { isolation: auto; }
.gallery__main.is-photo::before,
.gallery__main.is-photo::after { display: none; }
.gallery__img {
  display: none;
  position: absolute;
  inset: 10% 9%;
  z-index: 1;
  width: 82%;
  height: 80%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.gallery__main.is-photo .gallery__img { display: block; }
.gallery__main.is-photo .sample-card { display: none; }
.gallery__main.is-photo { background: radial-gradient(90% 80% at 50% 38%, #f7f2e9 0%, #ece5d9 60%, #e2d9cb 100%); }
.gallery__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--plaster), var(--noise);
  background-size: 420px, 160px;
  opacity: 0.55;
  mix-blend-mode: multiply;
  z-index: 1;
}
.gallery__main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 72% 10%, rgba(255, 255, 255, 0.45), transparent 65%);
  z-index: 1;
}
.gallery__view { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(22px, 3vw, 38px); color: var(--tone-ink, #171412); }
.gallery__label { display: flex; justify-content: space-between; gap: 20px; font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.62; }

.sample-card {
  position: relative;
  width: min(330px, 76%);
  margin: 0 auto;
  padding: 18px;
  background: #f8f4ec;
  color: var(--ink);
  box-shadow: 0 34px 56px -30px rgba(23, 20, 18, 0.6), 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  transform: rotate(-3deg);
  transition: transform 0.7s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery__main:hover .sample-card { transform: rotate(-1deg) translateY(-6px); }
.sample-card__top,
.sample-card__bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sample-card__swatch {
  height: clamp(90px, 12vw, 132px);
  background: var(--tone);
  border: 1px solid rgba(23, 20, 18, 0.12);
  transition: background-color 0.55s var(--ease);
}
.sample-card__name { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 0.98; letter-spacing: -0.02em; }
.sample-card__meta { font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }
.sample-card__bottom { border-top: 1px solid rgba(23, 20, 18, 0.12); padding-top: 10px; }

.gallery__caption { max-width: 82%; }
.gallery__caption .serif { font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.02em; }
.gallery__caption span { display: block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.6; margin-top: 10px; }
.gallery__zoom {
  position: absolute;
  right: 20px; bottom: 20px;
  z-index: 4;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  color: var(--ink);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery__main:hover .gallery__zoom { opacity: 1; }
.gallery__zoom svg { width: 16px; height: 16px; }

.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gthumb {
  position: relative;
  aspect-ratio: 1;
  background: var(--tc, #ddd);
  overflow: hidden;
  border: 1px solid rgba(23, 20, 18, 0.14);
  transition: border-color 0.25s;
  isolation: isolate;
}
.gthumb::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: 0.2; mix-blend-mode: multiply; }
.gthumb.is-active { border-color: var(--ink); }
.gthumb span { position: absolute; left: 7px; bottom: 6px; font-size: 7.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; color: var(--ti, #171412); }
.gthumb--room { background: linear-gradient(180deg, var(--tc) 0 62%, #cbbfae 62% 100%); }
.gthumb--room::after { content: ""; position: absolute; left: 26%; top: 12%; width: 34%; height: 42%; background: rgba(255, 255, 255, 0.5); }
.gthumb--texture::after { content: ""; position: absolute; inset: 0; background-image: var(--plaster); background-size: 120px; opacity: 0.75; mix-blend-mode: multiply; }
.gthumb--palette { background: linear-gradient(90deg, var(--tc) 0 25%, #c9bda9 25% 50%, #8f9282 50% 75%, #3c4a4e 75% 100%); }

.pdp__info { padding-top: 4px; }
.pdp__brandline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.pdp__brand { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.dealer-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid var(--line); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.dealer-chip svg { width: 9px; height: 9px; color: var(--olive); }
.pdp__title { font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.02; letter-spacing: -0.025em; }
.pdp__title.is-long { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.05; }
.pdp__sub { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.pdp__rating { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 11.5px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 12px; height: 12px; fill: var(--brass); }
.stars svg.is-empty { fill: none; stroke: var(--brass); stroke-width: 1.2; }
.pdp__rating a { border-bottom: 1px solid var(--line); }

.pdp__price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 4px; }
.pdp__price b { font-family: var(--serif); font-size: 40px; font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.pdp__price s { color: var(--muted-2); font-size: 14px; }
.pdp__price .badge { align-self: center; }
.pdp__unitprice { font-size: 10.5px; color: var(--muted); letter-spacing: 0.04em; }

.pdp__block { border-top: 1px solid var(--line); padding: 20px 0; }
.pdp__block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.pdp__label { font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.pdp__label-value { font-size: 11px; color: var(--ink-2); }
.pdp__label-value b { font-weight: 600; }

.color-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.color-opt {
  position: relative;
  width: 42px; height: 42px;
  border: 1px solid rgba(23, 20, 18, 0.24);
  transition: transform 0.25s, box-shadow 0.25s;
}
.color-opt:hover { transform: translateY(-2px); }
.color-opt.is-active { box-shadow: 0 0 0 1px var(--bone), 0 0 0 2px var(--ink); }
.color-opt.is-active::after { content: ""; position: absolute; inset: 0; border: 2px solid rgba(250, 247, 241, 0.75); }
.color-opt span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.seg {
  padding: 9px 15px;
  border: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-2);
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.seg:hover { border-color: var(--line-strong); }
.seg.is-active { background: var(--ink); border-color: var(--ink); color: var(--bone); }
.seg:disabled, .seg.is-static { background: var(--paper); color: var(--ink); border-color: var(--line-strong); opacity: 1; cursor: default; }

.volume-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.volume {
  border: 1px solid var(--line);
  padding: 11px 8px;
  text-align: center;
  transition: border-color 0.25s, background 0.25s;
}
.volume b { display: block; font-size: 13px; font-weight: 600; line-height: 1.2; }
.volume span { display: block; font-size: 9.5px; color: var(--muted); margin-top: 3px; font-variant-numeric: tabular-nums; }
.volume:hover { border-color: var(--line-strong); }
.volume.is-active { border-color: var(--ink); background: var(--paper); }
.volume.is-active b { color: var(--ink); }

.pdp__buy { display: flex; gap: 10px; align-items: stretch; }
.pdp__buy .qty { height: 54px; flex-shrink: 0; }
.pdp__buy .qty button { width: 34px; }
.pdp__buy .qty input { width: 38px; font-size: 13px; }
.pdp__buy .btn { flex: 1; }
.pdp__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }

.pdp__benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 20px; }
.benefit { display: flex; flex-direction: column; gap: 5px; }
.benefit svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.2; margin-bottom: 3px; }
.benefit b { font-size: 11px; font-weight: 600; line-height: 1.3; }
.benefit span { font-size: 10.5px; color: var(--muted); line-height: 1.4; }

.calc { background: var(--paper); border: 1px solid var(--line); padding: 20px; margin-top: 22px; }
.calc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.calc__title { font-family: var(--serif); font-size: 21px; }
.calc__badge { font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); border: 1px solid rgba(109, 114, 87, 0.4); padding: 3px 7px; }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 8.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { height: 40px; border: 1px solid var(--line); background: var(--bone); padding: 0 10px; font-size: 13px; outline: none; transition: border-color 0.2s; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.calc__result { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.calc__result p { font-size: 11px; color: var(--muted); line-height: 1.5; }
.calc__result b { font-size: 14px; color: var(--ink); }
.calc__result .calc__sum { font-family: var(--serif); font-size: 26px; line-height: 1; text-align: right; white-space: nowrap; }

/* Tabs */
.tabs { margin-top: var(--section-y); }
.tabs__nav { display: flex; gap: 30px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs__nav::-webkit-scrollbar { display: none; }
.tabs__btn {
  position: relative;
  padding: 16px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.25s;
}
.tabs__btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.tabs__btn.is-active { color: var(--ink); }
.tabs__btn.is-active::after { transform: scaleX(1); }
.tabs__panel { display: none; padding-top: 34px; animation: fade 0.4s var(--ease); }
.tabs__panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.tabs__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(30px, 5vw, 70px); }
.prose p { font-size: 13.5px; line-height: 1.8; color: var(--muted); margin-bottom: 14px; }
.prose h4 { font-family: var(--serif); font-size: 21px; margin: 24px 0 10px; }
.prose ul { display: flex; flex-direction: column; gap: 8px; }
.prose li { position: relative; padding-left: 18px; font-size: 13px; color: var(--muted); }
.prose li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 1px; background: var(--clay); }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 12px 0; font-size: 12.5px; text-align: left; vertical-align: top; }
.spec-table th { font-weight: 400; color: var(--muted); width: 48%; }
.spec-table td { color: var(--ink-2); }

.reviews { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); }
.reviews__summary { border-right: 1px solid var(--line); padding-right: 30px; }
.reviews__score { font-family: var(--serif); font-size: 76px; line-height: 0.9; letter-spacing: -0.04em; }
.reviews__score span { font-size: 18px; color: var(--muted); letter-spacing: 0; }
.reviews__count { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.bars { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.bar { display: grid; grid-template-columns: 12px 1fr 28px; gap: 10px; align-items: center; font-size: 10.5px; color: var(--muted); }
.bar i { height: 3px; background: var(--line); display: block; }
.bar i b { display: block; height: 100%; background: var(--ink); }
.reviews__list { display: flex; flex-direction: column; gap: 22px; }
.review { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review__ava { width: 34px; height: 34px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-family: var(--serif); font-size: 15px; }
.review__name { font-size: 12.5px; font-weight: 600; }
.review__date { font-size: 10px; color: var(--muted-2); }
.review__stars { margin-left: auto; }
.review p { font-size: 12.5px; line-height: 1.7; color: var(--muted); }

/* Related */
.related { margin-top: var(--section-y); }

/* Sticky buy (mobile) */
.buybar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px var(--pad);
  background: rgba(250, 247, 241, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.buybar.is-visible { transform: translateY(0); }
.buybar__price { display: flex; flex-direction: column; }
.buybar__price b { font-family: var(--serif); font-size: 22px; line-height: 1; }
.buybar__price span { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; }
.buybar .btn { margin-left: auto; height: 48px; }

/* ---------- 26. Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--ink);
  color: var(--bone);
  font-size: 12px;
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.6);
  transform: translate(-50%, 20px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease-out), opacity 0.3s, visibility 0.3s;
  max-width: calc(100vw - 40px);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast svg { width: 16px; height: 16px; color: #a9b58f; flex-shrink: 0; }

/* ---------- 27. Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

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

/* ---------- 28. Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .header__cta { display: none; }
  .mega__inner { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .mega__promo { grid-column: 1 / -1; min-height: 210px; }
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__top > :last-child { grid-column: 2 / 4; }
}

@media (max-width: 1024px) {
  .topbar { display: none; }
  .mega { top: 82px; }
  .header__main { height: 74px; }
  .nav { display: none; }
  .burger { display: flex; }
  .header__actions { margin-left: auto; }
  .header__actions .icon-btn--search { display: none; }
  .hero__inner { min-height: auto; padding-block: 40px 30px; }
  .hero__main { grid-template-columns: 1fr; gap: 28px; }
  .hero__aside { max-width: 520px; }
  .hero__title { font-size: clamp(44px, 8vw, 84px); }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .usp__item:nth-child(2) { border-right: 0; }
  .usp__item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .cats { gap: 10px; }
  .cat-card--lg { grid-column: span 12; min-height: 380px; }
  .cat-card--md { grid-column: span 6; min-height: 260px; }
  .cat-card--sm { grid-column: span 4; min-height: 210px; }
  .cat-card--wide { grid-column: span 12; }
  .tinting { grid-template-columns: 1fr; }
  .tinting__copy .h2 { max-width: 18ch; }
  .service { grid-template-columns: 40px 1fr 100px 40px; }
  .service__text { display: none; }
  .journal { grid-template-columns: 1fr 1fr; }
  .salons { grid-template-columns: 1fr 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .shop { grid-template-columns: 1fr; padding-top: 10px; }
  .filters {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    z-index: 200;
    width: min(360px, 100%);
    background: var(--paper);
    padding: 22px var(--pad) 40px;
    overflow-y: auto;
    transform: translateX(-101%);
    transition: transform 0.5s var(--ease-out);
    border-right: 1px solid var(--line);
    display: block;
  }
  .filters.is-open { transform: translateX(0); }
  .filters__apply { display: block; }
  .toolbar__filter-btn { display: inline-flex; }
  .cat-hero { grid-template-columns: 1fr; align-items: start; }
  .cat-hero__fan { display: none; }
  .pdp { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .gallery__main { aspect-ratio: 4 / 3.4; }
  .reviews { grid-template-columns: 1fr; }
  .reviews__summary { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .tabs__grid { grid-template-columns: 1fr; }
  .cat-seo { grid-template-columns: 1fr; gap: 34px; }
  .buybar { display: flex; }
  body.has-buybar { padding-bottom: 72px; }
}

@media (max-width: 760px) {
  :root { --section-y: 64px; }
  .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .pgrid--list .pcard { flex-direction: column; }
  .pgrid--list .pcard__media { width: 100%; }
  .shead { flex-direction: column; align-items: flex-start; gap: 16px; }
  .usp__item { padding: 24px 20px 26px; }
  .usp__title { font-size: 20px; }
  .lab { grid-template-columns: 1fr; min-height: 0; }
  .lab__preview { min-height: 200px; }
  .lab__list { grid-template-columns: repeat(4, 1fr); padding: 10px; }
  .lab__swatch i { height: 26px; }
  .lab__swatch span { display: none; }
  .service { grid-template-columns: 32px 1fr 36px; padding: 22px 4px; gap: 12px; }
  .service__price { display: none; }
  .journal { grid-template-columns: 1fr; }
  .salons { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__top > :first-child { grid-column: 1 / -1; max-width: none; }
  .footer__top > :last-child { grid-column: auto; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .pcard__name { font-size: 18px; }
  .pcard__chip-name { font-size: 13px; }
  .pcard__chip { padding: 9px; left: 12%; width: 64%; top: 12%; }
  .pcard__quick { opacity: 1; transform: none; height: 38px; font-size: 9px; }
  .pcard__fav { opacity: 1; transform: none; width: 30px; height: 30px; }
  .pcard__media { aspect-ratio: 3 / 4; }
  .hero__frame { inset: 8px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero__scroll { display: none; }
  .hero__colors { width: 100%; }
  .swatch-btn { width: 40px; height: 40px; }
  .hero__actions .btn { flex: 1; min-width: 150px; }
  .topbar__group { display: none; }
  .search__results { grid-template-columns: 1fr; }
  .volume-opts { grid-template-columns: repeat(2, 1fr); }
  .pdp__buy { flex-wrap: wrap; }
  .pdp__buy .btn { width: 100%; flex: auto; }
  .pdp__benefits { grid-template-columns: 1fr 1fr; }
  .pdp__secondary { grid-template-columns: 1fr; }
  .tabs__nav { gap: 20px; }
  .reviews__score { font-size: 60px; }
  .newsletter__inner { padding-block: 46px; }
  .nl-form button { font-size: 9px; }
  .cat-hero__meta { gap: 20px; }
  .crumbs { font-size: 9.5px; }
  .cat-hero__title { font-size: clamp(40px, 11vw, 58px); }
  .gallery__caption .serif { font-size: 26px; }
  .footer__brand .logo__name { font-size: 20px; }
  .cart-item { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .cart-item__tone { width: 64px; height: 78px; }
}

@media (max-width: 420px) {
  .pgrid { gap: 18px 10px; }
  .pcard__rating { display: none; }
  .usp { grid-template-columns: 1fr; }
  .usp__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .usp__item:nth-child(3) { border-bottom: 1px solid var(--line); }
  .cat-card--md, .cat-card--sm { grid-column: span 12; }
  .lab__list { grid-template-columns: repeat(3, 1fr); }
  .pdp__price b { font-size: 32px; }
  .calc__row { grid-template-columns: 1fr; }
}

.pcard__summary { display: none; font-size: 12.5px; line-height: 1.62; color: var(--muted); max-width: 56ch; }
.pcard__list-actions { display: none; gap: 8px; margin-top: 14px; }
.pcard__list-actions .btn { height: 42px; }
.pgrid--list .pcard__body { flex: 1; padding: 30px 34px; gap: 7px; }
.pgrid--list .pcard__summary { display: block; }
.pgrid--list .pcard__list-actions { display: flex; }
.pgrid--list .pcard__name { font-size: 28px; }
.pgrid--list .pcard__price { font-size: 15px; }
.pgrid--list .pcard__foot { margin-top: 2px; }

/* ---------- 29. Refinements ---------- */
.hero::before,
.cat-card::before,
.pcard__media::before,
.mega__promo::before,
.lab__preview::before,
.jcard__media::before,
.newsletter::before,
.gallery__main::before {
  background-size: 240px, 180px;
  opacity: 0.22;
}

.pcard__media { background: radial-gradient(120% 90% at 30% 0%, #f2ede3 0%, #e9e2d6 48%, #ded4c5 100%); }
.pcard__media::before { opacity: 0.16; }
.jcard__media { background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(23, 20, 18, 0.06)); }
.gthumb--texture::after { opacity: 0.5; background-size: 160px; }

.hero__aside .hero__actions { flex-direction: column; align-items: stretch; gap: 8px; }
.hero__aside .hero__actions .btn { width: 100%; }
.hero .swatch-btn.is-active { transform: translateY(-6px); box-shadow: 0 0 0 2px var(--hero-ink); }

/* catalogue photos */
.pcard__media--photo { background: radial-gradient(120% 90% at 30% 0%, #f3eee5 0%, #eae3d7 52%, #ded4c5 100%); }
.pcard__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 11% 9%;
  mix-blend-mode: multiply;
  transition: transform 0.7s var(--ease-out);
}
.pcard:hover .pcard__photo { transform: scale(1.045); }
.pcard__media.is-fallback { background: var(--tone); }

.gallery__img { display: none; }
.gallery__main.is-photo .gallery__img {
  display: block;
}

.review p { max-width: 74ch; }

.mnav__search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.mnav__search svg { width: 17px; height: 17px; opacity: 0.6; }
.mnav__search:hover { color: var(--ink); }

.cart-advice { margin-top: 26px; padding: 20px; background: var(--bone); border: 1px solid var(--line); }
.cart-advice p { font-size: 11.5px; line-height: 1.6; color: var(--muted); margin: 10px 0 14px; }
.cart-advice .link-arrow { font-size: 9px; }

.sample-card__top span { white-space: nowrap; }

@media (max-width: 1024px) {
  .filters__close { display: grid; }
}

@media (max-width: 760px) {
  .header__main { height: 68px; gap: 10px; }
  .logo__mark { width: 32px; height: 32px; }
  .logo__name { font-size: 19px; letter-spacing: 0.08em; }
  .logo__tag { font-size: 7px; letter-spacing: 0.24em; }
  .header__actions { gap: 0; }
  .header__actions .icon-btn { width: 38px; height: 38px; }
  .icon-btn--account { display: none; }
  .burger { width: 38px; height: 38px; }
  .hero__top-right { display: none; }
  .pcard__list-actions { display: none !important; }
  .pcard__dots { display: none; }
  .cat-card--wide .cat-card__note { display: none; }
  .search__input { font-size: 21px; }
  .sample-card { width: min(330px, 80%); padding: 15px; }
  .sample-card__top { font-size: 7px; letter-spacing: 0.12em; }
  .sample-card__name { font-size: 27px; }
  .gallery__main { aspect-ratio: 4 / 4.3; }
}

