/* ==========================================================================
   Mei Yue — atelier paper / clay / oxblood visual system
   Fraunces display + Manrope text + IBM Plex Mono labels
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/plex-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4efe5;
  --paper-2: #ebe3d4;
  --paper-3: #ded2bd;
  --cream: #fbf7ef;
  --ink: #1a1713;
  --ink-soft: #2b261f;
  --clay: #b0502c;
  --clay-deep: #8f3d20;
  --olive: #3f4430;
  --olive-deep: #2a2e20;
  --muted: #6d6457;
  --muted-invert: #c7bfa9;
  --line: rgba(26, 23, 19, 0.16);
  --line-soft: rgba(26, 23, 19, 0.09);
  --line-invert: rgba(244, 239, 229, 0.22);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Plex Mono", "SFMono-Regular", Consolas, monospace;
  --container: min(1320px, calc(100% - 64px));
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow: 0 30px 70px rgba(42, 33, 24, 0.16);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open, body.modal-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p, h1, h2, h3, h4, figure, dl, dd { margin: 0; }

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

::selection { background: var(--clay); color: var(--cream); }

.container {
  width: var(--container);
  margin: 0 auto;
}

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

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 239, 229, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.site-header.is-scrolled { background: rgba(244, 239, 229, 0.98); border-color: rgba(26, 23, 19, 0.24); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--clay);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1;
  border-radius: 2px;
}
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-word {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li.is-active > a { border-color: var(--clay); color: var(--clay-deep); }
.primary-nav svg { width: 10px; height: 10px; opacity: 0.55; transition: transform 0.2s var(--ease); }
.primary-nav li:hover > a svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -24px;
  width: 520px;
  padding: 22px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.primary-nav li:hover .dropdown,
.primary-nav li:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.dropdown a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 500;
}
.dropdown a span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.dropdown a:hover { color: var(--clay-deep); }
.dropdown .dropdown-all {
  grid-column: 1 / -1;
  margin-top: 10px;
  border-bottom: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clay-deep);
}

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-actions .btn { padding: 11px 18px; font-size: 11px; }

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform 0.2s var(--ease), opacity 0.2s; }
body.menu-open .menu-btn span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 55;
  background: var(--paper);
  padding: 28px 24px 48px;
  overflow-y: auto;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav .m-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.mobile-nav ul { border-top: 1px solid var(--line); margin-bottom: 28px; }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav li a {
  display: flex;
  justify-content: space-between;
  padding: 15px 2px;
  font-family: var(--font-display);
  font-size: 24px;
}
.mobile-nav li a span { font-family: var(--font-mono); font-size: 10px; color: var(--muted); align-self: center; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn svg { width: 13px; height: 13px; }
.btn--clay { background: var(--clay); color: var(--cream); }
.btn--clay:hover { background: var(--clay-deep); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--olive); }
.btn--line { border-color: var(--line); background: transparent; color: var(--ink); }
.btn--line:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: var(--line-invert); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 10px 16px; font-size: 10px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.link-arrow svg { width: 12px; height: 12px; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------------------------------------------------------------- type bits */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--clay);
  flex-shrink: 0;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-top: 12px;
}
.section-head h2 em { font-style: italic; color: var(--clay); }
.section-head .head-copy {
  max-width: 46ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  justify-self: end;
}
.section-head .head-link { justify-self: end; margin-top: 14px; }
.section {
  padding: 84px 0;
}
.section--tight { padding: 60px 0; }
.section--paper2 { background: var(--paper-2); }

/* ---------------------------------------------------------------- hero */

.hero {
  position: relative;
  padding: 54px 0 0;
  overflow: hidden;
}
.hero::after {
  content: "MEIYUE";
  position: absolute;
  right: -2vw;
  top: 6vw;
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 300px);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 23, 19, 0.06);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 56px;
  align-items: center;
}
.hero-copy { padding: 26px 0 40px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 20px 0 24px;
}
.hero-title em { font-style: italic; color: var(--clay); }
.hero-lede {
  max-width: 50ch;
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}
.hero-actions .meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}
.hero-metrics div {
  padding: 16px 18px 0 0;
  border-right: 1px solid var(--line);
}
.hero-metrics div:last-child { border-right: 0; padding-right: 0; }
.hero-metrics dt {
  font-family: var(--font-display);
  font-size: 27px;
  line-height: 1;
}
.hero-metrics dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  padding-bottom: 54px;
}
.hero-main {
  position: relative;
  display: block;
  width: 84%;
  margin-left: auto;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.hero-main:hover img { transform: scale(1.03); }
.hero-side {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 41%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-inset {
  border: 8px solid var(--paper);
  background: var(--cream);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(42, 33, 24, 0.12);
}
.hero-inset img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.hero-note {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.hero-note strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 6px;
}
.hero-stamp {
  position: absolute;
  right: 5%;
  bottom: 20px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
  transform: rotate(-8deg);
  box-shadow: 0 16px 30px rgba(42, 33, 24, 0.22);
}

.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 46px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-foot div { display: flex; gap: 12px; align-items: baseline; }
.hero-foot span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--clay);
  letter-spacing: 0.1em;
}
.hero-foot p { font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---------------------------------------------------------------- marquee */

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: slide 42s linear infinite;
}
.marquee span {
  font-family: var(--font-display);
  font-size: 25px;
  font-style: italic;
  white-space: nowrap;
}
.marquee i {
  width: 6px; height: 6px;
  background: var(--clay);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------------------------------------------------------------- category ledger */

.cat-list { border-top: 1px solid var(--line); }
.cat-row {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 190px 124px 34px;
  gap: 20px;
  align-items: center;
  padding: 24px 6px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: padding 0.3s var(--ease), color 0.3s var(--ease);
}
.cat-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.35s var(--ease);
  z-index: 0;
}
.cat-row:hover::before { transform: translateY(0); }
.cat-row:hover { color: var(--paper); padding-left: 18px; }
.cat-row > * { position: relative; z-index: 1; }
.cat-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--clay);
  letter-spacing: 0.1em;
}
.cat-row:hover .cat-num { color: var(--paper-3); }
.cat-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.cat-name em { font-style: italic; }
.cat-desc { font-size: 12px; color: var(--muted); line-height: 1.5; }
.cat-row:hover .cat-desc { color: var(--muted-invert); }
.cat-count {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: right;
}
.cat-row:hover .cat-count { color: var(--muted-invert); }
.cat-arrow { justify-self: end; }
.cat-arrow svg { width: 20px; height: 20px; }
.cat-thumb {
  position: absolute;
  right: 180px;
  top: 50%;
  width: 120px;
  height: 82px;
  object-fit: cover;
  transform: translateY(-50%) rotate(-4deg) scale(0.9);
  opacity: 0;
  pointer-events: none;
  border: 3px solid var(--cream);
  box-shadow: var(--shadow);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 2;
}
.cat-row:hover .cat-thumb { opacity: 1; transform: translateY(-50%) rotate(-4deg) scale(1); }

/* ---------------------------------------------------------------- product cards */

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 26px;
}
.product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }

.p-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.p-card-media {
  position: relative;
  display: block;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.p-card-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.p-card:hover .p-card-media img { transform: scale(1.035); }
.p-card-media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.p-card:hover .p-card-media::after { opacity: 1; }
.p-card-tag {
  position: absolute;
  left: 0;
  top: 0;
  padding: 6px 10px;
  background: var(--paper);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.p-card-body { padding: 16px 2px 0; }
.p-card-ref {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--clay);
  text-transform: uppercase;
}
.p-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  margin: 7px 0 8px;
}
.p-card h3 a:hover { color: var(--clay-deep); }
.p-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
}
.p-card-meta span { display: inline-flex; gap: 5px; align-items: center; }
.p-card-meta span::before { content: "·"; color: var(--clay); }
.p-card-meta span:first-child::before { content: ""; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 44px 26px;
}
.feature-grid .p-card:nth-child(1) { grid-column: span 6; }
.feature-grid .p-card:nth-child(2) { grid-column: span 3; }
.feature-grid .p-card:nth-child(3) { grid-column: span 3; }
.feature-grid .p-card:nth-child(4) { grid-column: span 3; }
.feature-grid .p-card:nth-child(5) { grid-column: span 3; }
.feature-grid .p-card:nth-child(6) { grid-column: span 6; }
.feature-grid .p-card:nth-child(1) .p-card-media img,
.feature-grid .p-card:nth-child(6) .p-card-media img { aspect-ratio: 1 / 1; }
.feature-grid .p-card:nth-child(1) h3,
.feature-grid .p-card:nth-child(6) h3 { font-size: 28px; }

/* ---------------------------------------------------------------- factory band */

.band {
  background: var(--olive-deep);
  color: var(--paper);
  padding: 84px 0;
}
.band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.band-media { position: relative; }
.band-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid var(--line-invert);
}
.band-media figcaption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-invert);
}
.band .eyebrow { color: var(--muted-invert); }
.band h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
}
.band h2 em { font-style: italic; color: #d9a07e; }
.band p { color: var(--muted-invert); font-size: 15px; line-height: 1.8; max-width: 52ch; }
.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
  margin: 32px 0;
  padding-top: 26px;
  border-top: 1px solid var(--line-invert);
}
.facts dt {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
}
.facts dd {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-invert);
}

/* ---------------------------------------------------------------- process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-item {
  padding: 28px 26px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 190px;
  transition: background 0.25s var(--ease);
}
.process-item:hover { background: var(--cream); }
.process-item span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--clay);
  letter-spacing: 0.1em;
}
.process-item h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  margin: 22px 0 10px;
}
.process-item p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ---------------------------------------------------------------- capabilities cards */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.cap-card {
  background: var(--paper);
  padding: 32px 28px 36px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: background 0.25s var(--ease);
}
.cap-card:hover { background: var(--cream); }
.cap-card .cap-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--clay);
  letter-spacing: 0.1em;
}
.cap-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.15;
  margin: 34px 0 12px;
}
.cap-card p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: auto; }

.deco-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}
.deco-list span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  background: var(--cream);
}

/* ---------------------------------------------------------------- CTA band */

.cta-band {
  background: var(--clay);
  color: var(--cream);
  padding: 70px 0;
}
.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.cta-band .eyebrow { color: rgba(251, 247, 239, 0.75); }
.cta-band .eyebrow::before { background: var(--cream); }
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 16px;
  max-width: 18ch;
}
.cta-band h2 em { font-style: italic; }
.cta-band p { margin-top: 18px; max-width: 48ch; font-size: 14px; line-height: 1.7; color: rgba(251, 247, 239, 0.84); }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cta-band .btn--line { border-color: rgba(251, 247, 239, 0.5); color: var(--cream); }
.cta-band .btn--line:hover { background: var(--cream); color: var(--clay-deep); border-color: var(--cream); }

/* ---------------------------------------------------------------- page head */

.page-head {
  padding: 46px 0 54px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 54px;
  align-items: center;
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 16px 0 18px;
}
.page-head h1 em { font-style: italic; color: var(--clay); }
.page-head p { max-width: 58ch; color: var(--muted); font-size: 15px; line-height: 1.8; }
.page-head-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 0 0;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--clay-deep); }
.breadcrumb span { opacity: 0.5; }

.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 46px;
}
.spec-strip div {
  padding: 20px 20px 20px 0;
  border-right: 1px solid var(--line);
}
.spec-strip div:last-child { border-right: 0; }
.spec-strip dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-strip dd {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
}

/* ---------------------------------------------------------------- catalog filter */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chips button {
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.filter-chips button:hover { border-color: var(--ink); }
.filter-chips button.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter-count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.p-card.is-hidden { display: none; }

/* ---------------------------------------------------------------- PDP */

.pdp { padding: 34px 0 80px; }
.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 64px;
  align-items: start;
}
.pdp-media { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--cream);
  border: 1px solid var(--line);
}
.pdp-media-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pdp-info h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
}
.pdp-lede { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 56ch; }
.pdp-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 18px;
  margin: 26px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pdp-price strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 28px;
}
.pdp-price span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.spec-table { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
.spec-table dt {
  padding: 11px 0;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-table dd {
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.6;
}
.swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swatch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px 4px 4px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.swatch i { width: 15px; height: 15px; display: block; border: 1px solid rgba(0, 0, 0, 0.12); }
.pdp-custom { margin-top: 26px; }
.pdp-custom h2 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.pdp-custom ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.pdp-custom li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.6;
}
.pdp-custom li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--clay);
}
.pdp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pdp-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.related { border-top: 1px solid var(--line); padding-top: 54px; margin-top: 72px; }
.related .section-head { margin-bottom: 30px; }

/* ---------------------------------------------------------------- factory page */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.gallery-grid figure { min-width: 0; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.gallery-grid figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.production-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.production-grid figure { min-width: 0; }
.production-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-soft);
  background: var(--paper-2);
}
.production-grid figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
}
.production-grid figcaption b {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--clay);
  margin-bottom: 3px;
}

/* ---------------------------------------------------------------- forms */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 60px;
  align-items: start;
  padding: 62px 0 84px;
}
.form-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 34px;
}
.form-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.form-card > p { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--clay);
  background: #fff;
}
.field input::placeholder, .field textarea::placeholder { color: #9a9082; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  line-height: 1.6;
}
.form-status.is-visible { display: block; }
.form-status a { color: var(--clay-deep); border-bottom: 1px solid currentColor; }
.form-status a.btn { color: var(--cream); border-bottom: 0; }
.form-status a.btn:hover { color: var(--cream); }
.form-status .fallback-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form-status button.copy-brief {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.form-status button.copy-brief:hover { background: var(--ink); color: var(--paper); }
.form-card .btn[type="submit"] { width: 100%; margin-top: 6px; }
.form-foot {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
}
.contact-aside { padding-top: 6px; }
.contact-aside h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 14px;
}
.contact-block {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}
.contact-block dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-block dd { font-size: 14px; line-height: 1.7; }
.contact-block a { border-bottom: 1px solid var(--clay); }
.contact-block a:hover { color: var(--clay-deep); }
.contact-hours {
  margin-top: 18px;
  padding: 16px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.8;
  color: var(--muted);
}

/* ---------------------------------------------------------------- about / legal */

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
  padding: 66px 0;
}
.about-story h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.about-story h2 em { font-style: italic; color: var(--clay); }
.about-story .about-body p { font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 16px; }
.about-story .about-body p:first-child { color: var(--ink); }
.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 66px;
}
.facts-grid div {
  padding: 28px 18px 28px 0;
  border-right: 1px solid var(--line);
}
.facts-grid div:last-child { border-right: 0; }
.facts-grid dt { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.facts-grid dd {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.address-card {
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 28px 30px;
  margin-top: 26px;
}
.address-card h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.address-card p { font-family: var(--font-display); font-size: 22px; line-height: 1.45; }
.legal {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 0 90px;
}
.legal h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.05;
  margin-bottom: 10px;
}
.legal .legal-meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 26px;
}
.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 25px;
  margin: 34px 0 10px;
}
.legal p, .legal li { font-size: 14px; line-height: 1.8; color: var(--muted); }
.legal p { margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.legal a { color: var(--clay-deep); border-bottom: 1px solid currentColor; }

/* ---------------------------------------------------------------- footer */

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.6fr));
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line-invert);
}
.footer-brand .brand-mark { background: var(--paper); color: var(--ink); }
.footer-brand .brand-word { color: var(--paper); }
.footer-brand .brand-sub { color: var(--muted-invert); }
.footer-brand p {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted-invert);
}
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-invert);
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--paper); opacity: 0.86; }
.footer-col a:hover { opacity: 1; color: #d9a07e; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--muted-invert);
}
.footer-bottom a { border-bottom: 1px solid transparent; }
.footer-bottom a:hover { border-color: currentColor; }

/* ---------------------------------------------------------------- modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}
.modal.is-open { display: block; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 23, 19, 0.55);
  backdrop-filter: blur(3px);
}
.modal-card {
  position: relative;
  max-width: 620px;
  margin: 6vh auto 0;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 34px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow);
}
.modal-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.08;
  margin-bottom: 6px;
}
.modal-card .modal-note { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}
.modal-close:hover { background: var(--ink); color: var(--paper); }
.modal-product {
  display: none;
  margin-bottom: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--clay-deep);
  background: var(--paper);
}
.modal-product.is-visible { display: block; }

/* ---------------------------------------------------------------- reveal */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- responsive */

@media (max-width: 1180px) {
  .primary-nav ul { gap: 20px; }
  .hero-grid { gap: 36px; }
  .feature-grid { gap: 34px 20px; }
}

@media (max-width: 1080px) {
  .primary-nav, .header-actions .btn { display: none; }
  .menu-btn { display: flex; }
  .header-actions { gap: 8px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { padding-bottom: 10px; }
  .hero-visual { max-width: 720px; }
  .hero-stamp { left: auto; right: 10%; }
  .cat-row { grid-template-columns: 44px minmax(0, 1fr) 120px 30px; }
  .cat-desc { display: none; }
  .cat-thumb { display: none; }
  .feature-grid .p-card:nth-child(n) { grid-column: span 6; }
  .feature-grid .p-card:nth-child(n) .p-card-media img { aspect-ratio: 4 / 5; }
  .product-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pdp-grid { grid-template-columns: 1fr; gap: 36px; }
  .pdp-media { position: static; }
  .band-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-head-grid { grid-template-columns: 1fr; gap: 30px; }
  .page-head-media { max-width: 640px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-story { grid-template-columns: 1fr; gap: 30px; }
  .facts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts-grid div:nth-child(3) { border-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
}

@media (max-width: 760px) {
  :root { --container: calc(100% - 40px); --header-h: 66px; }
  .brand-sub { display: none; }
  .brand-word { font-size: 20px; }
  .brand-mark { width: 34px; height: 34px; font-size: 18px; }
  .hero { padding-top: 30px; }
  .hero::after { display: none; }
  .hero-title { font-size: clamp(40px, 11vw, 58px); }
  .hero-lede { font-size: 15px; }
  .hero-metrics { margin-top: 30px; }
  .hero-metrics div { padding-right: 12px; }
  .hero-metrics dt { font-size: 22px; }
  .hero-foot { grid-template-columns: 1fr; gap: 12px; margin-top: 30px; }
  .hero-visual { padding-bottom: 0; }
  .hero-main { width: 100%; }
  .hero-side { position: static; width: 100%; display: grid; grid-template-columns: 40% 1fr; gap: 10px; margin-top: 10px; align-items: start; }
  .hero-inset { border-width: 1px; box-shadow: none; }
  .hero-note { font-size: 9px; }
  .hero-stamp { display: none; }
  .section { padding: 54px 0; }
  .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 30px; }
  .section-head .head-copy, .section-head .head-link { justify-self: start; }
  .cat-row { grid-template-columns: 34px minmax(0, 1fr) 26px; padding: 18px 2px; gap: 12px; }
  .cat-count { display: none; }
  .cat-name { font-size: 23px; }
  .product-grid, .product-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
  .feature-grid { grid-template-columns: 1fr; gap: 30px; }
  .feature-grid .p-card:nth-child(n) { grid-column: auto; }
  .p-card h3, .feature-grid .p-card:nth-child(1) h3, .feature-grid .p-card:nth-child(6) h3 { font-size: 19px; }
  .p-card-meta { font-size: 9px; gap: 3px 10px; }
  .process-grid, .cap-grid, .production-grid { grid-template-columns: 1fr; }
  .process-item { min-height: 0; }
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-strip div:nth-child(2) { border-right: 0; }
  .spec-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .page-head { padding: 30px 0 38px; }
  .page-head h1 { font-size: clamp(36px, 10vw, 50px); }
  .gallery-grid { grid-template-columns: 1fr; gap: 20px; }
  .filter-bar { align-items: flex-start; flex-direction: column; }
  .form-card, .modal-card { padding: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .modal-card { margin: 3vh 12px 0; }
  .pdp-custom ul { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid div:nth-child(3) { border-right: 1px solid var(--line); }
  .facts-grid div:nth-child(even) { border-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-band { padding: 50px 0; }
  .band { padding: 54px 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head h2 { font-size: 34px; }
}

@media (max-width: 420px) {
  .hero-side { grid-template-columns: 1fr; }
  .hero-note { display: none; }
  .product-grid, .product-grid--4 { grid-template-columns: 1fr; }
  .cat-count { display: none; }
}
