/* hallmark · v2.0.0 | theme=editorial quiet-luxury | genre=editorial | shape=split hero + index grid + letter fold | job buy-via-whatsapp | hero split (type left, 4:5 plate right) | nav single row, wordmark left, action right | footer mast over link columns | signature=the live WhatsApp draft on the product page | material real: nothing but the store's own policy | pictures: stand-in photographs in slots | absent: logos, quotes, counts, reviews */
/* critique: would a neighbouring apparel prompt get this page? no — a full-white plate, black serif display and one dark pill, not a SaaS gallery */
/* waive: none */

/* ------------------------------------------------------------------ tokens */
:root {
  /* surfaces — true white, neutral greys, no warm cast anywhere */
  --canvas: #ffffff;
  --canvas-alt: #f4f4f5;
  --canvas-raise: #ffffff;
  --canvas-night: #111214;

  /* ink */
  --ink: #141518;
  --ink-soft: #4b4d53;
  --ink-faint: #86888f;
  --ink-onNight: #f4f4f2;
  --ink-onNight-soft: #b4b5b2;

  /* lines */
  --line: #d9dade;
  --line-soft: #e9eaec;
  --line-night: #2b2d31;

  /* signal — one, plus WhatsApp's own brand green for the outbound action only */
  --accent: #1c3a2b;
  --accent-soft: #2b5340;
  --wa: #25d366;

  /* type */
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-hero: clamp(44px, 5.85vw, 86px);
  --fs-h2: clamp(31px, 3.3vw, 47px);
  --fs-h3: clamp(20px, 1.6vw, 23px);
  --fs-lead: clamp(17px, 1.35vw, 20px);
  --fs-body: 16.5px;
  --fs-sm: 14px;
  --fs-xs: 12.5px;

  /* space */
  --gut: clamp(20px, 3.4vw, 52px);
  --sec: clamp(72px, 8.4vw, 124px);
  --rail: 1320px;
  --nav-h: 66px;

  /* image ratio — card plates and the product gallery.
     html[data-ratio='square'] switches both to 1:1 */
  --ratio-card: 4 / 5;
  --ratio-plate: 4 / 5;

  /* form */
  --radius: 2px;
  --radius-pill: 999px;
  --shadow-lift: 0 24px 48px -34px rgba(12, 13, 15, 0.5);

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.55s;
}

html[data-ratio="square"] {
  --ratio-card: 1 / 1;
  --ratio-plate: 1 / 1;
}

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

html,
body {
  overflow-x: clip;
  margin: 0;
  padding: 0;
}

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

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.62;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
  color: var(--ink);
  overflow-wrap: break-word;
  min-width: 0;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

svg { display: block; }

::selection {
  background: var(--accent);
  color: var(--canvas-raise);
}

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

/* ---------------------------------------------------------------- utilities */
.rail {
  width: 100%;
  max-width: var(--rail);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 90;
  background: var(--ink);
  color: var(--ink-onNight);
  padding: 12px 20px;
  font-size: var(--fs-sm);
}
.skip:focus { left: 12px; top: 12px; }

.rule {
  height: 1px;
  background: var(--line-soft);
  border: 0;
  margin: 0;
}

.label {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--ink-faint);
  letter-spacing: 0;
  line-height: 1.5;
}

.serif { font-family: var(--font-display); }
.italic { font-style: italic; }

/* -------------------------------------------------------------------- links */
.ulink {
  display: inline-block;
  font-size: var(--fs-sm);
  color: var(--ink);
  padding-bottom: 2px;
  background-image: linear-gradient(var(--ink-faint), var(--ink-faint));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}
.ulink:hover { background-size: 0 1px; color: var(--ink-soft); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--ink {
  background: var(--ink);
  color: var(--ink-onNight);
}
.btn--ink:hover { background: var(--accent); color: var(--canvas-raise); }

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

.btn--wide { width: 100%; }

.btn--quiet {
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--ink);
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  background: none;
}
.btn--quiet:hover { border-color: var(--ink); }
.btn--quiet:active { transform: none; }

/* ---------------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.nav__in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark span { color: var(--ink-faint); }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.nav__links a { transition: color var(--dur) var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] {
  color: var(--ink);
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: 0 100%;
  padding-bottom: 3px;
}

.nav__act { display: flex; align-items: center; gap: 14px; }
.nav__act .btn { padding: 11px 20px; font-size: var(--fs-xs); }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
  z-index: 55;
  display: none;
  padding: 8px var(--gut) 26px;
}
.drawer[data-open="true"] { display: block; }
.drawer a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 17px;
}
.drawer .btn { margin-top: 18px; width: 100%; }

/* --------------------------------------------------------------------- hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  min-height: min(820px, calc(100svh - var(--nav-h)));
  border-bottom: 1px solid var(--line-soft);
}

.hero__copy {
  padding: clamp(46px, 6.4vw, 104px) clamp(28px, 4vw, 72px) clamp(38px, 4.4vw, 64px) var(--gut);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}

.hero h1 {
  font-size: var(--fs-hero);
  line-height: 0.94;
  letter-spacing: -0.028em;
  max-width: 12ch;
}

.hero__lede {
  margin-top: clamp(20px, 2.2vw, 28px);
  font-size: var(--fs-lead);
  line-height: 1.52;
  color: var(--ink-soft);
  max-width: 34ch;
}

.hero__acts {
  margin-top: clamp(28px, 3.2vw, 40px);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__note {
  margin-top: clamp(26px, 3vw, 38px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  max-width: 40ch;
  line-height: 1.55;
}

.hero__media {
  position: relative;
  min-height: 420px;
  background: var(--canvas-alt);
  border-left: 1px solid var(--line-soft);
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 28%;
}
.hero__media figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px clamp(18px, 2vw, 26px);
  font-size: var(--fs-xs);
  color: var(--ink-onNight);
  background: linear-gradient(to top, rgba(12, 13, 15, 0.62), rgba(12, 13, 15, 0));
}

/* ------------------------------------------------------------- promise strip */
.promise {
  border-bottom: 1px solid var(--line-soft);
}
.promise__in {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.promise__cell {
  padding: 26px 0 26px clamp(0px, 2vw, 24px);
  border-left: 1px solid var(--line-soft);
  padding-left: clamp(18px, 2.2vw, 28px);
}
.promise__cell:first-child { border-left: 0; padding-left: 0; }
.promise__cell dt {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.2;
  margin-bottom: 5px;
}
.promise__cell dd {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  line-height: 1.5;
  max-width: 30ch;
}

/* ------------------------------------------------------------------ section */
.section { padding-block: var(--sec); }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }
.section--alt { background: var(--canvas-alt); }
.section--night {
  background: var(--canvas-night);
  color: var(--ink-onNight);
}
.section--night h2, .section--night h3 { color: var(--ink-onNight); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  margin-bottom: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.sec-head h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }
.sec-head p {
  font-size: var(--fs-sm);
  color: var(--ink-faint);
  max-width: 34ch;
}
.sec-head__side {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-shrink: 0;
}
.sec-head__side a,
.sec-head__side .ulink { white-space: nowrap; }

/* -------------------------------------------------------------------- cards */
.grid-edit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 30px) clamp(14px, 1.8vw, 26px);
}

.card { position: relative; display: block; }

.card__plate {
  display: block;
  position: relative;
  aspect-ratio: var(--ratio-card);
  overflow: hidden;
  background: var(--canvas-alt);
  border-radius: var(--radius);
}
.card__plate img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.7s var(--ease);
}
.card:hover .card__plate img { transform: scale(1.028); }

.card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  background: color-mix(in srgb, var(--canvas-raise) 92%, transparent);
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 14px;
  padding-top: 13px;
  align-items: start;
}
.card__house {
  grid-column: 1 / -1;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}
.card__name {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: 1.15;
  letter-spacing: -0.01em;
  min-width: 0;
  overflow-wrap: break-word;
  transition: color var(--dur) var(--ease);
}
.card:hover .card__name { color: var(--accent); }
.card__price {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  white-space: nowrap;
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}
.card__ask {
  grid-column: 1 / -1;
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.card:hover .card__ask { border-color: var(--ink); color: var(--ink); }

/* --------------------------------------------------------------- split story */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
}
.split--flip .split__media { order: 2; }

.split__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--canvas-alt);
  border-radius: var(--radius);
  overflow: hidden;
}
.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split--wide .split__media { aspect-ratio: 5 / 4; }

.split__copy { max-width: 46ch; }
.split__copy h2 {
  font-size: var(--fs-h2);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.split__copy p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-size: var(--fs-body);
  line-height: 1.66;
}
.split__copy p:last-of-type { margin-bottom: 26px; }

.facts { display: grid; gap: 0; margin-bottom: 26px; }
.facts li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.facts li:last-child { border-bottom: 1px solid var(--line-soft); }
.facts b {
  font-weight: 400;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
}

/* ------------------------------------------------------------------ the fold */
.fold {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: end;
}
.fold__quote {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  max-width: 17ch;
}
.fold__side p {
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--ink-onNight-soft);
  max-width: 40ch;
  margin-bottom: 26px;
  overflow-wrap: break-word;
}
.fold__num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink-onNight-soft);
  display: block;
  margin-bottom: 14px;
}
.fold .btn--ink {
  background: var(--ink-onNight);
  color: var(--canvas-night);
}
.fold .btn--ink:hover { background: var(--wa); color: var(--canvas-night); }

/* ------------------------------------------------------------------ listing */
.page-head {
  padding-top: clamp(40px, 5vw, 76px);
  padding-bottom: clamp(26px, 3vw, 40px);
}
.page-head h1 {
  font-size: clamp(38px, 4.6vw, 66px);
  letter-spacing: -0.026em;
  max-width: 18ch;
}
.page-head p {
  margin-top: 16px;
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.55;
}

/* the catalogue grid hides filtered-out cards with the hidden attribute;
   .card sets display:block, so it has to be put back */
.card[hidden] { display: none; }
.grid-edit { row-gap: clamp(28px, 3.2vw, 46px); }

/* ---------------------------------------------------------------- product */
.pdp { padding-top: clamp(24px, 3vw, 40px); padding-bottom: var(--sec); }

.crumbs {
  display: flex;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  padding-bottom: 22px;
}
.crumbs a:hover { color: var(--ink); }
.crumbs span { color: var(--line); }

.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(26px, 4vw, 72px);
  align-items: start;
}

.gallery { display: grid; gap: 10px; }
.gallery__main {
  position: relative;
  cursor: zoom-in;
  aspect-ratio: var(--ratio-plate);
  overflow: hidden;
  background: var(--canvas-alt);
  border-radius: var(--radius);
}
.gallery__main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* how many photographs this piece has */
.gallery__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--canvas-raise) 88%, transparent);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.gallery__count:empty { display: none; }
/* one row that scrolls sideways, however many photographs the piece has */
.gallery__thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  padding-bottom: 4px;
}
.thumb {
  position: relative;
  flex: 0 0 auto;
  width: 84px;
  scroll-snap-align: start;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--canvas-alt);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), opacity var(--dur) var(--ease);
  opacity: 0.62;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"] { opacity: 1; border-color: var(--ink); }
.thumb:hover { opacity: 1; }

.buybox { position: sticky; top: calc(var(--nav-h) + 26px); }
.buybox__house {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.buybox h1 {
  font-size: clamp(31px, 3.1vw, 46px);
  letter-spacing: -0.024em;
  line-height: 1.03;
}
.buybox__price {
  margin-top: 12px;
  font-size: 19px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
/* when prices are switched off the same slot holds a note, so it has to read
   quieter than a number would */
.buybox__price[data-note="true"] {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  font-variant-numeric: normal;
}
.buybox__made {
  margin-top: 5px;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}
.buybox__price small {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  margin-left: 8px;
}
.buybox__desc {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-body);
  line-height: 1.66;
  color: var(--ink-soft);
  max-width: 42ch;
}

.opt-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 26px 0 12px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.opt-head button {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.opt-head button:hover { color: var(--ink); border-color: var(--ink); }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size {
  min-width: 54px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--fs-sm);
  color: var(--ink);
  text-align: center;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.size:hover:not(:disabled) { border-color: var(--ink); }
.size[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ink-onNight);
}
.size:disabled {
  color: var(--ink-faint);
  border-style: dashed;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* the signature: the draft that is about to be sent */
.draft {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 3px;
  background: var(--canvas-raise);
  padding: 16px 18px 15px;
}
.draft__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  color: var(--ink-faint);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 11px;
}
.draft__head i {
  font-style: normal;
  color: var(--wa);
}
.draft__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-soft);
  min-height: 3.2em;
  overflow-wrap: break-word;
}
.draft__text b { font-weight: 500; color: var(--ink); }

.cta-row { margin-top: 16px; display: grid; gap: 10px; }
.cta-note {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  line-height: 1.55;
  margin-top: 12px;
}

/* accordion */
.acc { margin-top: 34px; border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line-soft); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: var(--fs-sm);
  color: var(--ink);
  text-align: left;
}
.acc__btn:hover { color: var(--accent); }
.acc__btn em {
  font-style: normal;
  color: var(--ink-faint);
  font-size: 18px;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}
.acc__btn[aria-expanded="true"] em { transform: rotate(45deg); }
.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}
.acc__panel > div { overflow: hidden; }
.acc__btn[aria-expanded="true"] + .acc__panel { grid-template-rows: 1fr; }
.acc__panel p,
.acc__panel ul {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.66;
  padding-bottom: 18px;
  max-width: 46ch;
}
.acc__panel li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.acc__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--ink-faint);
}

/* ------------------------------------------------------------ page: article */
.article { padding-block: clamp(40px, 5vw, 72px) var(--sec); }
.article__head {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: end;
  padding-bottom: clamp(26px, 3vw, 44px);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: clamp(30px, 4vw, 54px);
}
.article__head h1 {
  font-size: clamp(38px, 4.6vw, 68px);
  letter-spacing: -0.028em;
  max-width: 11ch;
}
.article__lead {
  font-size: var(--fs-lead);
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: 46ch;
}
.article__body {
  margin-top: clamp(38px, 4.6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(28px, 5vw, 88px);
  align-items: start;
}
.article__aside {
  position: sticky;
  top: calc(var(--nav-h) + 26px);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.article__aside dt {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  margin-bottom: 3px;
}
.article__aside dd {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.5;
}
.article__main h2 {
  font-size: clamp(24px, 2.3vw, 32px);
  letter-spacing: -0.018em;
  margin: 40px 0 14px;
}
.article__main h2:first-child { margin-top: 0; }
.article__main p {
  font-size: var(--fs-body);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 62ch;
  margin-bottom: 16px;
}
.article__main ol {
  counter-reset: step;
  margin-bottom: 22px;
}
.article__main ol li {
  counter-increment: step;
  position: relative;
  padding-left: 40px;
  margin-bottom: 14px;
  font-size: var(--fs-body);
  line-height: 1.66;
  color: var(--ink-soft);
  max-width: 60ch;
}
.article__main ol li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-faint);
}
.article__figure {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--canvas-alt);
  margin: clamp(30px, 4vw, 48px) 0;
}
.article__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

/* ----------------------------------------------------------------- callout */
.callout {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(34px, 4vw, 54px);
}
.callout__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.callout h2 { font-size: clamp(24px, 2.4vw, 33px); letter-spacing: -0.018em; }
.callout p {
  margin-top: 10px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.62;
}
.callout__acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------------------------------------------ footer */
.foot {
  background: var(--canvas-night);
  color: var(--ink-onNight-soft);
  padding-top: clamp(56px, 6.4vw, 88px);
}
.foot__mast {
  padding-bottom: clamp(34px, 4vw, 52px);
  border-bottom: 1px solid var(--line-night);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.foot__mast .wordmark {
  color: var(--ink-onNight);
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 0.9;
}
.foot__mast p {
  font-size: var(--fs-sm);
  max-width: 32ch;
  line-height: 1.6;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  padding-block: clamp(34px, 4vw, 48px);
}
.foot__cols h3 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  color: var(--ink-onNight-soft);
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: 0;
}
.foot__cols li { margin-bottom: 9px; }
.foot__cols a,
.foot__cols span {
  font-size: var(--fs-sm);
  color: var(--ink-onNight-soft);
  transition: color var(--dur) var(--ease);
}
.foot__cols a:hover { color: var(--ink-onNight); }
.foot__base {
  border-top: 1px solid var(--line-night);
  padding-block: 20px 30px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}
.foot__base p { max-width: 62ch; line-height: 1.6; }

/* ------------------------------------------------------------ floating cta */
.float {
  position: fixed;
  right: clamp(14px, 2.2vw, 26px);
  bottom: clamp(14px, 2.2vw, 26px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--ink-onNight);
  font-size: var(--fs-sm);
  font-weight: 500;
  box-shadow: var(--shadow-lift);
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.float:hover { background: var(--accent); transform: translateY(-2px); }
body[data-float="off"] .float { display: none; }

/* the product page carries its own primary action, so the pill would only
   sit on top of the buy box at wide sizes */
@media (min-width: 1081px) {
  body[data-page="product"] .float { display: none; }
}

/* ------------------------------------------------------------------- intro */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.hero__copy > *,
.hero__media {
  animation: rise 0.85s var(--ease) both;
}
.hero__copy > *:nth-child(2) { animation-delay: 0.05s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.11s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.17s; }
.hero__media { animation-delay: 0.08s; }

/* ---------------------------------------------------------------- catalogue */
.catalogue {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: clamp(22px, 3.2vw, 52px);
  padding-block: clamp(16px, 2vw, 26px) var(--sec);
  align-items: start;
}

/* ---- the filter rail ---- */
.facets {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  max-height: calc(100svh - var(--nav-h) - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.facets__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-sm);
  color: var(--ink);
}
.facets__head button {
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.facets__head button:hover { color: var(--ink); border-color: var(--ink); }
.facets__head button:disabled { color: var(--line); border-color: transparent; cursor: default; }

.facet-search { margin-top: 12px; }
.facet-search input {
  width: 100%;
  padding: 9px 11px;
  font: inherit;
  font-size: var(--fs-xs);
  color: var(--ink);
  background: var(--canvas-alt);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.facet-search input::placeholder { color: var(--ink-faint); }
.facet-search input:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--canvas);
}

.facet { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.facet > legend {
  padding: 0;
  margin-bottom: 9px;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}

.opt {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 5px 0;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.35;
  transition: color var(--dur) var(--ease);
}
.opt:hover { color: var(--ink); }
.opt input {
  appearance: none;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: var(--canvas);
  position: relative;
  top: 1px;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.opt input:checked { background: var(--ink); border-color: var(--ink); }
.opt input:checked::after {
  content: "";
  position: absolute;
  left: 3.5px;
  top: 1px;
  width: 4px;
  height: 7px;
  border-right: 1.4px solid var(--canvas);
  border-bottom: 1.4px solid var(--canvas);
  transform: rotate(40deg);
}
.opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt__name { flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
.opt__line {
  display: block;
  font-size: 11.5px;
  color: var(--ink-faint);
  line-height: 1.35;
}
.opt__n {
  font-size: 11.5px;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.opt[data-zero="true"] { opacity: 0.42; }
.opt[hidden] { display: none; }

.sizegrid { display: flex; flex-wrap: wrap; gap: 6px; }
.sizeopt {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 7px 10px;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}
.sizeopt:hover { border-color: var(--ink); }
.sizeopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sizeopt:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--ink-onNight); }
.sizeopt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.sizeopt[data-zero="true"] { opacity: 0.42; }

/* ---- toolbar ---- */
.toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: clamp(20px, 2.4vw, 30px);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.toolbar__count {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.toolbar__spacer { flex: 1 1 auto; }
.toolbar__sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}
.toolbar__sort select {
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 4px 2px;
  max-width: 190px;
}
.toolbar__sort select:hover { border-color: var(--ink); }

.toolbar__filter { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips:empty { display: none; }
.chip-x {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  font-size: 11.5px;
  color: var(--ink);
  background: var(--canvas-alt);
  border-radius: var(--radius-pill);
  transition: background-color var(--dur) var(--ease);
}
.chip-x:hover { background: var(--line-soft); }
.chip-x b { font-weight: 400; color: var(--ink-faint); }

/* ---- results ---- */
.empty {
  border-top: 1px solid var(--line);
  padding-top: 34px;
  max-width: 46ch;
}
.empty h2 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 12px; }
.empty p { font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.62; margin-bottom: 20px; }

.loadmore { padding-top: clamp(28px, 3.4vw, 46px); display: flex; justify-content: center; }
.loadmore[hidden] { display: none; }
.loadmore button {
  padding: 14px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  color: var(--ink);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.loadmore button:hover { border-color: var(--ink); background: var(--canvas-alt); }

.sheet-scrim {
  position: fixed;
  inset: 0;
  z-index: 74;
  background: rgba(12, 13, 15, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.sheet-scrim[data-open="true"] { opacity: 1; pointer-events: auto; }

/* ---- mobile: the rail becomes a sheet ---- */
@media (max-width: 1000px) {
  .catalogue { grid-template-columns: minmax(0, 1fr); }
  .toolbar__filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    font-size: var(--fs-sm);
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    color: var(--ink);
  }
  .toolbar__filter em {
    font-style: normal;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    background: var(--ink);
    color: var(--ink-onNight);
    font-size: 10.5px;
  }
  .toolbar__filter em:empty { display: none; }

  .facets {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 75;
    max-height: 88svh;
    padding: 10px var(--gut) 0;
    background: var(--canvas);
    border-top: 1px solid var(--line);
    border-radius: 14px 14px 0 0;
    transform: translateY(101%);
    transition: transform 0.42s var(--ease);
    overflow-y: auto;
  }
  .facets::before {
    content: "";
    display: block;
    width: 38px;
    height: 4px;
    margin: 0 auto 14px;
    border-radius: 2px;
    background: var(--line);
  }
  .facets[data-open="true"] { transform: translateY(0); }
  .facets__head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--canvas);
    padding: 2px 0 11px;
  }
  .facets__apply {
    position: sticky;
    bottom: 0;
    z-index: 2;
    margin: 24px calc(var(--gut) * -1) 0;
    padding: 12px var(--gut) 20px;
    background: var(--canvas);
    border-top: 1px solid var(--line-soft);
  }
  .facets__apply .btn { width: 100%; }
  .facet { margin-top: 20px; }
}

@media (min-width: 1001px) {
  .facets__apply { display: none; }
  .sheet-scrim { display: none; }
}

/* --------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero__media {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .hero__copy { max-width: none; padding-right: var(--gut); }
  .grid-edit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp__grid { grid-template-columns: minmax(0, 1fr); }
  .buybox { position: static; }
  .article__body { grid-template-columns: minmax(0, 1fr); }
  .article__head { grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
  .article__head h1 { max-width: 16ch; }
  .article__aside { position: static; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__act .btn--ink { display: none; }
  .burger { display: inline-flex; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split--flip .split__media { order: 0; }
  .split__media { aspect-ratio: 4 / 3; }
  .fold { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .promise__in { grid-template-columns: minmax(0, 1fr); }
  .promise__cell {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
    padding-left: 0;
    padding-block: 18px;
  }
  .promise__cell:first-child { border-top: 0; padding-top: 26px; }
  .promise__cell:last-child { padding-bottom: 26px; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callout__in { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sec-head__side { width: 100%; justify-content: space-between; }
}

@media (max-width: 620px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; }
  .grid-edit { grid-template-columns: minmax(0, 1fr); }
  .hero__acts .btn { width: 100%; }
  .hero__acts { gap: 10px; }
  .foot__cols { grid-template-columns: minmax(0, 1fr); }
  .float { right: 14px; bottom: 14px; padding: 12px 18px; }
}

@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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__copy > *, .hero__media { animation: none; }
}

@media print {
  .nav, .float, .facets { display: none; }
  body { background: #fff; }
}

/* ------------------------------------------------------------- more like this */
/* 详情页的出边：同品牌、同类型、上一件下一件。没有这一段，商品页就是死胡同。 */
.pdp-more {
  margin-top: var(--sec);
  padding-top: clamp(26px, 3.4vw, 44px);
  padding-bottom: clamp(40px, 5vw, 76px);
  border-top: 1px solid var(--line);
}

.pdp-more__block + .pdp-more__block {
  margin-top: clamp(44px, 5.6vw, 76px);
}

.pdp-more__nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(44px, 5.6vw, 76px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.pdp-more__nav a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 46%;
  text-decoration: none;
}

.pdp-more__nav a + a {
  align-items: flex-end;
  text-align: right;
}

.pdp-more__nav .k {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.pdp-more__nav .v {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.25;
}

.pdp-more__nav a:hover .v {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 640px) {
  .pdp-more__nav {
    flex-direction: column;
    gap: 18px;
  }
  .pdp-more__nav a {
    max-width: 100%;
  }
  .pdp-more__nav a + a {
    align-items: flex-start;
    text-align: left;
  }
}
