/* ==========================================================================
   Nianpin - Scene Stickers
   Global stylesheet
   1. Tokens
   2. Reset & base
   3. Layout primitives
   4. Buttons, chips, links
   5. Header & navigation
   6. Hero
   7. Sections: trust, collections, products, story, band, wholesale teaser
   8. Products page: filters, grid, modal
   9. Wholesale page: terms, steps, form
   10. Support page: actions, faq, contact
   11. Footer
   12. Motion & utilities
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --ink: #1c1917;
  --ink-2: #45403a;
  --ink-3: #6f675e;
  --paper: #fbf8f2;
  --cream: #f3ece0;
  --cream-2: #ece3d4;
  --line: #e0d6c5;
  --line-soft: #ece4d7;
  --clay: #b25f43;
  --clay-soft: #f0dcd2;
  --sage: #6b7a63;
  --sage-soft: #e2e8dc;
  --gold: #a9824a;

  --radius: 4px;
  --radius-lg: 6px;

  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 2px 4px rgba(28, 25, 23, 0.04), 0 18px 40px -28px rgba(28, 25, 23, 0.35);

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 48px);
  --max: 1180px;
  --section-y: clamp(64px, 8vw, 112px);
  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

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

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
  font-optical-sizing: auto;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--ink);
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* 3. Layout primitives ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: 1320px;
}

.section {
  padding-block: var(--section-y);
}

.section--tight {
  padding-block: clamp(44px, 5vw, 72px);
}

.section--cream {
  background: var(--cream);
}

.section--line {
  border-top: 1px solid var(--line-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.eyebrow--plain::before {
  display: none;
}

.lede {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  color: var(--ink-2);
  max-width: 62ch;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head__text {
  max-width: 58ch;
}

.section-head h2 + p {
  margin-top: 14px;
  color: var(--ink-2);
}

.section-head__link {
  flex: none;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.section-head__link:hover {
  color: var(--clay);
  border-color: var(--clay);
}

/* 4. Buttons, chips, links ------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  --btn-border: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid var(--btn-border);
  border-radius: 3px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -16px rgba(28, 25, 23, 0.7);
}

.btn:active {
  transform: translateY(0);
}

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

.btn--ghost:hover {
  --btn-border: var(--ink);
}

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

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-border: rgba(251, 248, 242, 0.35);
}

.btn--outline-light:hover {
  --btn-border: var(--paper);
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
}

.btn svg,
.arrow-link svg,
.product-card__buy svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.btn svg {
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap 0.2s ease, border-color 0.2s ease;
}

.arrow-link:hover {
  gap: 12px;
  border-color: var(--ink);
}

.arrow-link svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.chip:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip__count {
  font-size: 11px;
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink-2);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* 5. Header & navigation --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(251, 248, 242, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--line-soft);
  background: rgba(251, 248, 242, 0.95);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.brand__mark {
  width: 26px;
  height: 26px;
  flex: none;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.brand__tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--line);
  line-height: 1.3;
  max-width: 92px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 14.5px;
  color: var(--ink-2);
  border-radius: 3px;
  transition: color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav a:hover {
  color: var(--ink);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.nav__cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.22s ease, top 0.22s ease;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* 6. Hero ------------------------------------------------------------------ */
.hero {
  padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 88px);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__media {
  position: relative;
}

.hero__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero__badge {
  position: absolute;
  left: -14px;
  bottom: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  line-height: 1.35;
  max-width: 216px;
}

.hero__badge strong {
  display: block;
  font-weight: 600;
  font-size: 12.5px;
}

.hero__badge span {
  color: var(--ink-3);
}

.hero__badge-mark {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--sage-soft);
  display: grid;
  place-items: center;
  color: var(--sage);
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--clay);
}

.hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--ink-2);
  max-width: 44ch;
  margin-bottom: 30px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
}

/* 7a. Trust strip ---------------------------------------------------------- */
.trust {
  border-block: 1px solid var(--line-soft);
  background: var(--cream);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
}

.trust__item {
  background: var(--cream);
  padding: 26px clamp(16px, 2.4vw, 28px);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trust__icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--clay);
  margin-top: 2px;
}

.trust__item strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 3px;
}

.trust__item span {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.45;
  display: block;
}

/* 7b. Collection cards ----------------------------------------------------- */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.collection-card {
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.collection-card--wide {
  grid-column: span 3;
}

.collection-card:hover {
  transform: translateY(-3px);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.collection-card__media {
  overflow: hidden;
  background: var(--cream);
}

.collection-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.collection-card--wide .collection-card__media img {
  aspect-ratio: 16 / 9;
}

.collection-card:hover .collection-card__media img {
  transform: scale(1.035);
}

.collection-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.collection-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.collection-card__body p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
}

.collection-card__count {
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex: none;
}

.collection-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  text-indent: -9999px;
  overflow: hidden;
}

/* 7c. Product cards -------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.product-card__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
  border: 1px solid var(--line-soft);
}

.product-card__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__flag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(251, 248, 242, 0.94);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-card__series {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}

.product-card__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.product-card__desc {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

.product-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.product-card__meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-card__diff {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-card__diff-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0.8;
}

/* Difficulty stars, used on cards and in the modal spec table ----------- */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--clay);
}

.stars__star {
  display: block;
  width: 12px;
  height: 12px;
  fill: currentColor;
  opacity: 0.27;
}

.stars__star.is-on {
  opacity: 1;
}

.spec-list__level {
  margin-left: 7px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.product-card__buy {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.product-card__buy:hover {
  color: var(--clay);
  border-color: var(--clay);
}

/* 7d. Story / values ------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.split--media-right .split__media {
  order: 2;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.split__media--tall img {
  aspect-ratio: 4 / 5;
}

.values {
  display: grid;
  gap: 26px;
  margin-top: 34px;
  border-top: 1px solid var(--line-soft);
  padding-top: 30px;
}

.value {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
}

.value__num {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--clay);
  padding-top: 4px;
}

.value h3 {
  margin-bottom: 6px;
}

.value p {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 46ch;
}

/* 7e. Quote band ----------------------------------------------------------- */
.band {
  background: var(--cream);
  border-block: 1px solid var(--line-soft);
  text-align: center;
  padding-block: clamp(56px, 7vw, 96px);
}

.band blockquote {
  margin: 0 auto;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.band blockquote em {
  font-style: italic;
  color: var(--clay);
}

.band p {
  margin-top: 18px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* 7f. Wholesale teaser ----------------------------------------------------- */
.teaser {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.teaser__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.teaser__inner img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  opacity: 0.96;
}

.teaser h2 {
  color: var(--paper);
  margin-bottom: 16px;
}

.teaser p {
  color: rgba(251, 248, 242, 0.72);
  max-width: 46ch;
}

.teaser .eyebrow {
  color: #d8a68f;
}

.teaser__list {
  display: grid;
  gap: 10px;
  margin: 24px 0 30px;
  font-size: 14px;
  color: rgba(251, 248, 242, 0.82);
}

.teaser__list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.teaser__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
  transform: translateY(-2px);
}

/* 8. Products page --------------------------------------------------------- */
.page-head {
  padding-block: clamp(40px, 5vw, 68px) clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--line-soft);
}

.page-head__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.page-head h1 {
  margin-bottom: 14px;
}

.page-head__aside {
  font-size: 14px;
  color: var(--ink-2);
  border-left: 1px solid var(--line);
  padding-left: 20px;
}

.page-head__aside strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

/* Copy is edited as paragraphs now; keep the aside tight. */
.page-head__aside p {
  margin: 0;
}

.page-head__aside p + p {
  margin-top: 10px;
}

.filters {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: rgba(251, 248, 242, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 16px;
  transition: transform 0.3s ease;
}

/* Scrolls out of the way; sits under the header, which has the higher z-index. */
.filters.is-hidden {
  transform: translateY(-100%);
}

.filters__row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.filters__row + .filters__row {
  margin-top: 10px;
}

.filters__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  width: 76px;
  flex: none;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters__meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.filters__reset {
  background: none;
  border: 0;
  padding: 0;
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
  border-bottom: 1px solid var(--line);
}

.filters__reset:hover {
  color: var(--clay);
  border-color: var(--clay);
}

.products-body {
  padding-block: clamp(32px, 4vw, 52px) var(--section-y);
}

.results-note {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 22px;
  min-height: 20px;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 56px 24px;
  text-align: center;
  color: var(--ink-2);
}

.empty-state h3 {
  margin-bottom: 8px;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(28, 25, 23, 0.55);
  backdrop-filter: blur(3px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 720px);
  overflow: auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(28, 25, 23, 0.6);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.modal__media {
  background: var(--cream);
  min-height: 100%;
}

.modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.modal__body {
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.modal__close:hover {
  background: var(--cream);
  border-color: var(--ink-3);
}

/* Clicks belong to the button, never to the icon drawn inside it. */
.modal__close svg {
  pointer-events: none;
}

.modal__body h2 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  margin-top: 4px;
}

.spec-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
}

.spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
}

.spec-list dt {
  color: var(--ink-3);
}

.spec-list dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
}

.modal__actions {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal__actions .btn {
  width: 100%;
}

.modal__fine {
  font-size: 12px;
  color: var(--ink-3);
  text-align: center;
}

/* Scene modal: no image yet, and the free-form blocks below the spec table */
.modal__panel.is-text-only {
  grid-template-columns: minmax(0, 1fr);
  width: min(640px, 100%);
}

.modal__media--empty {
  display: none;
}

.scene-block {
  margin: 22px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-soft);
}

.scene-block h3 {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.scene-block p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}

.scene-block p:last-child {
  margin-bottom: 0;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.product-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 24px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: repeating-linear-gradient(
    45deg,
    transparent 0,
    transparent 9px,
    rgba(28, 25, 23, 0.028) 9px,
    rgba(28, 25, 23, 0.028) 10px
  );
}

/* 9. Wholesale ------------------------------------------------------------- */
.terms {
  border-top: 1px solid var(--line);
  margin-top: 40px;
}

.terms__row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}

.terms__row dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.terms__row dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}

.terms__row dd span {
  display: block;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 3px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
  counter-reset: step;
  margin-top: 8px;
}

.step {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -10px;
  left: 0;
  background: var(--paper);
  padding-right: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--clay);
}

.section--cream .step::before {
  background: var(--cream);
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 13.5px;
  color: var(--ink-2);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.audience {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px 22px 26px;
}

.audience__icon {
  width: 24px;
  height: 24px;
  color: var(--clay);
  margin-bottom: 16px;
}

.audience h3 {
  font-size: 1.02rem;
  margin-bottom: 7px;
}

.audience p {
  font-size: 13.5px;
  color: var(--ink-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
}

.contact-card h3 {
  margin-bottom: 16px;
}

.contact-list {
  display: grid;
  gap: 16px;
  font-size: 14px;
}

.contact-list dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 3px;
}

.contact-list dd {
  margin: 0;
}

.contact-list a {
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-list a:hover {
  color: var(--clay);
  border-color: var(--clay);
}

/* Forms */
.form {
  display: grid;
  gap: 16px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236f675e' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink-3);
  box-shadow: 0 0 0 3px rgba(178, 95, 67, 0.12);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a79e92;
}

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.5;
}

.form__check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--clay);
}

.form__footer {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form__note {
  font-size: 12px;
  color: var(--ink-3);
}

.form__status {
  font-size: 13.5px;
  padding: 12px 14px;
  border-radius: 3px;
  display: none;
}

.form__status.is-visible {
  display: block;
}

.form__status--ok {
  background: var(--sage-soft);
  color: #3f4a39;
}

.form__status--err {
  background: var(--clay-soft);
  color: #7c3a24;
}

/* 10. Support -------------------------------------------------------------- */
.action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}

.action-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 22px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.action-card:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.action-card__icon {
  width: 22px;
  height: 22px;
  color: var(--clay);
  margin-bottom: 6px;
}

.action-card h3 {
  font-size: 1rem;
}

.action-card p {
  font-size: 13px;
  color: var(--ink-3);
}

.action-card span {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faq-group + .faq-group {
  margin-top: 48px;
}

.faq-group__title {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}

.faq {
  border-bottom: 1px solid var(--line-soft);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 15.5px;
  font-weight: 500;
  list-style: none;
  transition: color 0.18s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:hover {
  color: var(--clay);
}

.faq__icon {
  width: 16px;
  height: 16px;
  flex: none;
  position: relative;
  transition: transform 0.25s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.faq__icon::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform 0.25s ease;
}

.faq[open] .faq__icon::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq__body {
  padding: 0 40px 20px 0;
  font-size: 14.5px;
  color: var(--ink-2);
  max-width: 78ch;
}

.faq__body p + p {
  margin-top: 10px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: 8px;
}

.policy {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.policy h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.policy p {
  font-size: 13.5px;
  color: var(--ink-2);
}

.policy ul {
  margin-top: 10px;
  display: grid;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-3);
}

.policy li {
  display: flex;
  gap: 9px;
  align-items: baseline;
}

.policy li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clay);
  flex: none;
  transform: translateY(-2px);
}

/* 11. Footer --------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 248, 242, 0.7);
  padding-block: clamp(48px, 6vw, 72px) 28px;
  margin-top: 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.7fr));
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(251, 248, 242, 0.12);
}

.footer-brand .brand__name {
  color: var(--paper);
}

.footer-brand .brand__tag {
  color: rgba(251, 248, 242, 0.5);
  border-color: rgba(251, 248, 242, 0.2);
}

.footer-brand p {
  margin-top: 18px;
  font-size: 13.5px;
  max-width: 34ch;
  line-height: 1.6;
  color: rgba(251, 248, 242, 0.6);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.45);
  margin-bottom: 14px;
  font-weight: 500;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  font-size: 13.5px;
}

.footer-col a {
  color: rgba(251, 248, 242, 0.78);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 12px;
  color: rgba(251, 248, 242, 0.45);
}

.footer-bottom a {
  color: rgba(251, 248, 242, 0.6);
}

.footer-bottom a:hover {
  color: var(--paper);
}

.footer-legal {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* 12. Motion & utilities --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal[data-delay="1"] {
  transition-delay: 0.06s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.12s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.18s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.24s;
}

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

.muted {
  color: var(--ink-3);
}

.small {
  font-size: 13px;
}

/* 8. How-to steps ---------------------------------------------------------- */
.howto {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(28px, 4vw, 44px);
}

.howto__step {
  position: relative;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
}

.howto__num {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
}

.howto__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clay-soft);
  color: var(--clay);
  margin-bottom: 20px;
}

.howto h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.howto p {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* 9. Box contents ---------------------------------------------------------- */
.contents {
  list-style: none;
  margin: clamp(26px, 3vw, 34px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-soft);
}

.contents li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  max-width: 54ch;
}

.contents strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.contents span {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
}

/* 10. Two-up product grid -------------------------------------------------- */
.product-grid--duo {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.product-grid--duo .product-card__media img {
  aspect-ratio: 4 / 3;
}

.product-grid--duo .product-card__name {
  font-size: 1.35rem;
}

.product-grid--duo .product-card__desc {
  font-size: 14px;
  max-width: 40ch;
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero__inner,
  .split,
  .teaser__inner,
  .page-head__inner,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--media-right .split__media {
    order: 0;
  }

  .teaser__inner img {
    order: -1;
  }

  .hero__badge {
    left: 16px;
    bottom: 16px;
  }

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

  .product-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .howto {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

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

  .collection-card,
  .collection-card--wide {
    grid-column: span 1;
  }

  .collection-card--wide .collection-card__media img {
    aspect-ratio: 4 / 3;
  }

  .steps,
  .audience-grid,
  .policy-grid,
  .action-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    box-shadow: 0 24px 40px -30px rgba(28, 25, 23, 0.6);
  }

  .nav-open .nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }

  .nav a::after {
    display: none;
  }

  .nav__cta {
    display: block;
    margin-top: 16px;
    text-align: center;
    background: var(--ink);
    color: var(--paper);
    border-radius: 3px;
    padding: 13px 16px;
    border-bottom: 0;
    font-weight: 500;
  }

  .nav__cta:hover {
    color: var(--paper);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .btn {
    display: none;
  }

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

  .modal__panel {
    grid-template-columns: minmax(0, 1fr);
    max-height: 88vh;
  }

  .modal__media img {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  /* Filters: two compact rows that scroll sideways instead of stacking into a
     wall of chips. The whole bar then steps away on scroll down (site.js). */
  .filters {
    padding-block: 10px;
  }

  .filters__row {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .filters__row + .filters__row {
    margin-top: 6px;
  }

  .filters__label {
    width: auto;
    flex: none;
    font-size: 9.5px;
    letter-spacing: 0.1em;
  }

  .chip-row {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .chip-row::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex: 0 0 auto;
  }

  .filters__meta {
    margin-left: auto;
    width: auto;
    flex: none;
    order: 0;
    gap: 10px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 64px;
  }

  .brand__tag {
    display: none;
  }

  .hero__badge {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .product-card__desc {
    display: none;
  }

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

  .trust__grid,
  .steps,
  .howto,
  .product-grid--duo,
  .audience-grid,
  .policy-grid,
  .action-grid,
  .form__row,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .terms__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 16px 0;
  }

  .btn-row .btn {
    flex: 1 1 auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
