/* QIXIANG site v5 design system — SITE-V5-SPEC §4. Do not invent per-page colours. */

:root {
  --ink: #0F2340;
  --yellow: #F5B731;
  --paper: #FBFAF7;
  --gray-1: #3D4A5C;
  --gray-2: #6B7380;
  --gray-3: #D9D3C7;
  --white: #FFFFFF;
  --max: 1320px;
  --gutter: 24px;
  --pad-x: 48px;
  --section: 120px;
  --radius: 10px;
  --fs-h1: 56px;
  --fs-h2: 36px;
  --fs-h3: 22px;
  --fs-body: 17px;
  --fs-aux: 14px;
  --lh-title: 1.15;
  --lh-body: 1.6;
  --font: "Inter", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Fraunces", "Songti SC", "Noto Serif SC", serif;
  --touch: 44px;
  --header-h: 72px;
}

@media (max-width: 767px) {
  :root {
    --pad-x: 20px;
    --gutter: 12px;
    --section: 72px;
    --fs-h1: 34px;
    --fs-h2: 26px;
    --fs-h3: 18px;
    --fs-body: 16px;
    --header-h: 64px;
  }
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400.dd05e326.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-400-ext.941e03c6.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-600.62553d15.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-600-ext.656a3e30.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-700.aac638f7.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/inter-700-ext.bf1b9f73.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/fraunces-400-italic.475b154a.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/fraunces-400-italic-ext.f95e78d6.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  max-width: 100%;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  background: var(--paper);
  color: var(--ink);
}
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: var(--lh-title); font-weight: 700; overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0; overflow-wrap: break-word; }
ul, ol { margin: 0; padding: 0; }
:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  min-height: var(--touch);
}
.skip:focus { top: 12px; }
/* 2026-09-25：失焦时整块视觉隐藏（原来 top:-40px 而 min-height 44px + 内边距，屏宽 <1080
   时页头左上角露出约 4px 深蓝细条）；键盘 Tab 聚焦时照常出现在 top:12px。 */
.skip:not(:focus):not(:focus-visible) {
  clip-path: inset(50%);
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
}

.wrap {
  width: min(var(--max), calc(100% - (var(--pad-x) * 2)));
  margin-inline: auto;
}
.section { padding-top: var(--section); padding-bottom: 0; }
.cta-band, main > .section:last-of-type { padding-bottom: var(--section); }
.section-head { margin-bottom: 40px; max-width: 40em; }
.section-head p { margin-top: 12px; color: var(--gray-1); }
.eyebrow {
  margin: 0 0 12px;
  font-size: var(--fs-aux);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-2);
}

/* Progressive enhancement: hide-until-ready only applies once html.js is set
   (inline script at the very top of <head>, see templates/base.html). No JS
   (or JS blocked) => html.js never lands => .pic/.reveal keep their normal
   visible-by-default rendering. Keep the html.js prefix on every override
   below too (.is-ready / .is-in) so specificity still beats the base rule
   once JS marks an element ready — see SITE-V5-SPEC r3 fix #1. */
html.js .pic {
  opacity: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-3);
  transition: opacity 0.45s ease;
}
img.pic[fetchpriority="high"],
img.pic[loading="eager"] {
  opacity: 1;
}
html.js .pic.is-ready { opacity: 1; }
noscript .pic, .no-js .pic { opacity: 1; }

html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.btn,
.chip,
.header-wa,
.lang-switch,
.nav-toggle,
.hero-pause,
.hero-dots button,
.filter-chip,
.enq-add,
.page-jump,
summary {
  min-height: var(--touch);
  min-width: var(--touch);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { filter: brightness(0.96); }
.btn-ghost { border-color: var(--white); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
}
.header-inner {
  width: min(var(--max), calc(100% - (var(--pad-x) * 2)));
  margin-inline: auto;
  min-width: 0;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 1 1 auto;
  min-width: 0;
}
.brand .wordmark { min-width: 0; overflow: hidden; }
.brand img, .brand-mark {
  width: 44px;
  height: auto;
  aspect-ratio: 512 / 342;
}
/* 2026-09-24 页头换 QX 标准套件主标（紧边矢量）：标志框尺寸不变，矢量按比例居中、
   缩到框宽约 73%（与旧位图里标志所占比例一致，四周留白），页头版式不动。 */
.brand-mark { object-fit: contain; scale: 0.73; }
.brand strong { display: block; font-size: 14px; letter-spacing: 0.12em; }
.brand span.tag { display: block; font-size: 10px; letter-spacing: 0.14em; color: var(--gray-2); font-weight: 600; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}
.desktop-nav > a,
.nav-drop > summary {
  display: inline-flex;
  align-items: center;
  min-height: var(--touch);
  padding: 8px 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop { position: relative; }
.nav-drop .drop {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 240px;
  max-width: min(360px, 80vw);
  padding: 10px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 16px 40px rgba(15, 35, 64, 0.16);
  display: grid;
  gap: 2px;
  z-index: 20;
}
.nav-drop .drop a {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
}
.nav-drop .drop a:hover { background: #F1EEE6; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
  min-width: 0;
}
.header-wa {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  white-space: nowrap;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
}
.nav-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
}
.mobile-panel {
  display: none;
  padding: 8px var(--pad-x) 24px;
}
.mobile-panel a, .mobile-panel summary {
  display: flex;
  align-items: center;
  min-height: var(--touch);
  text-decoration: none;
  font-weight: 600;
}
.site-header.is-open .mobile-panel { display: grid; gap: 4px; }

@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; }
  .header-wa { padding-inline: 12px; font-size: 12px; }
  .header-inner { gap: 10px; }
}
@media (max-width: 479px) {
  .header-inner { gap: 8px; }
  .brand .tag { display: none; }
  .header-actions { gap: 4px; }
  .header-actions .lang-switch { display: none; }
  .header-wa { padding: 8px 10px; font-size: 12px; }
}

/* Hero — full-bleed without 100vw (scrollbar overflow). */
.hero {
  position: relative;
  width: 100%;
  min-height: min(92vh, 900px);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-slide.is-safe img { object-position: center 42%; }
.hero-overlay {
  position: relative;
  z-index: 2;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(15, 35, 64, 0.08) 20%, rgba(15, 35, 64, 0.78) 100%);
}
.hero-copy {
  width: min(var(--max), calc(100% - (var(--pad-x) * 2)));
  margin: 0 auto;
  padding: 48px 0 56px;
  max-width: 100%;
}
.hero-copy .eyebrow { color: #F3E7C4; }
.hero-copy h1 { max-width: 16ch; color: var(--white); }
.hero-copy .lead {
  margin-top: 16px;
  max-width: 36em;
  font-size: 18px;
  color: #F7F4EE;
}
.hero-copy .btn-row { margin-top: 28px; }
.hero-pause {
  position: absolute;
  right: var(--pad-x);
  top: 20px;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
  background: rgba(15, 35, 64, 0.28);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.hero-dots {
  position: absolute;
  left: var(--pad-x);
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 10px;
  min-width: 10px;
  height: 10px;
  min-height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
}
.hero-dots button[aria-current="true"] { background: var(--yellow); }

@media (max-width: 767px) {
  .hero-copy { padding: 32px 0 48px; }
  .hero-copy h1 { max-width: 12ch; }
  .hero-copy .lead { font-size: 16px; }
  .hero-pause { top: 12px; }
}

/* Chapter 4+3 / mobile rail */
.rail {
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}
.rail > * {
  flex: 0 0 min(280px, 78%);
  scroll-snap-align: start;
}
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}
.chapter-grid > * { grid-column: span 3; min-width: 0; }
@media (max-width: 1023px) {
  .chapter-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .chapter-grid > * {
    flex: 0 0 min(280px, 78%);
    grid-column: auto;
    scroll-snap-align: start;
  }
}

.mood-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gray-3);
}
.mood-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mood-card .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(15, 35, 64, 0.78));
  color: var(--white);
}
.mood-card h3 { font-size: 18px; }
.mood-card p { font-size: 13px; opacity: 0.9; margin-top: 4px; }

.set-card {
  display: block;
  text-decoration: none;
  min-width: 0;
}
.set-card .frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--gray-3);
}
.set-card img { width: 100%; height: 100%; object-fit: cover; }
.set-card h3 { margin-top: 14px; font-size: 20px; }
.set-card p {
  margin-top: 6px;
  color: var(--gray-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sets-rail > * { flex-basis: min(420px, 82%); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}
@media (max-width: 1023px) {
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product-card { min-width: 0; }
.product-card a { text-decoration: none; display: block; }
.product-card .thumb {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gray-3);
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card a:hover .thumb img { transform: scale(1.03); }
.product-card h3 { margin-top: 12px; font-size: 16px; font-weight: 600; }
.product-card .hook {
  margin-top: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gray-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-2);
  letter-spacing: 0.04em;
}
.badge-avail {
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--gray-3);
  border-radius: 999px;
  background: #F1EEE6;
  color: var(--ink);
}
.badge-avail .badge-k {
  color: var(--gray-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.defer-block {
  content-visibility: auto;
  contain-intrinsic-size: 1px 520px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  counter-reset: step;
}
.steps li { min-width: 0; }
.steps span.n {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--yellow);
  margin-bottom: 10px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--gray-1); }
@media (max-width: 1023px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .steps { grid-template-columns: 1fr; } }

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
}
.workshop-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--gray-3);
}
.workshop-grid img { width: 100%; height: 100%; object-fit: cover; }
.workshop-grid figcaption { margin-top: 10px; font-size: var(--fs-aux); color: var(--gray-1); }
@media (max-width: 1023px) { .workshop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.catalogue-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}
.catalogue-strip .cover {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--gray-3);
  max-width: 360px;
}
.catalogue-strip .cover img { width: 100%; height: 100%; object-fit: cover; }
.catalogue-strip .btn-row { margin-top: 24px; }
@media (max-width: 767px) {
  .catalogue-strip { grid-template-columns: 1fr; gap: 24px; }
  .catalogue-strip .cover { max-width: 240px; }
}
.catalogue-subsets-lead {
  margin: 20px 0 8px;
  font-size: var(--fs-aux);
  color: var(--gray-2);
}
.catalogue-subsets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gray-3);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.chip:hover { border-color: var(--ink); }
.catalogue-hires {
  display: inline-block;
  margin-top: 14px;
  font-size: var(--fs-aux);
  color: var(--gray-2);
  text-decoration: underline;
}

.faq-list { display: grid; gap: 8px; }
.faq-list details {
  border-bottom: 1px solid var(--gray-3);
  padding-bottom: 8px;
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  padding-block: 12px;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list p { padding-bottom: 16px; color: var(--gray-1); max-width: 52em; }

.cta-band { text-align: left; }
.cta-band .btn-row { margin-top: 24px; }

/* Collection hero */
.page-hero {
  position: relative;
  min-height: min(56vh, 560px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}
@media (max-width: 767px) {
  .page-hero:not(.set-hero) { min-height: min(88vh, 760px); }
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero .shade {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(180deg, rgba(15, 35, 64, 0.12) 0%, rgba(15, 35, 64, 0.62) 42%, rgba(15, 35, 64, 0.92) 100%);
  padding: 80px 0 48px;
}
.page-hero .lead { margin-top: 12px; max-width: 46em; color: #F7F4EE; }
.page-hero .crumbs,
.page-hero .crumbs a,
.page-hero .crumbs span {
  color: #F7F4EE;
  text-shadow: 0 1px 8px rgba(15, 35, 64, 0.7);
}
.page-hero h1 {
  color: var(--white);
  text-shadow: 0 1px 10px rgba(15, 35, 64, 0.55);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 28px 8px;
}
.filter-chip {
  border: 1px solid var(--gray-3);
  background: var(--paper);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.filter-chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* Product */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--fs-aux);
  color: var(--gray-2);
  margin-bottom: 16px;
}
.crumbs a { text-decoration: none; color: var(--gray-1); }
.pdp {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-block: 32px var(--section);
}
.pdp-visual { min-width: 0; }
.pdp-visual .main {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gray-3);
  cursor: zoom-in;
}
.pdp-visual .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}
.thumbs button {
  flex: 0 0 72px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-3);
}
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-copy { min-width: 0; }
.pdp-copy h1 { margin-bottom: 12px; }
.hook-xl {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  margin-bottom: 28px;
}
.meta-block { margin-bottom: 20px; }
.meta-block h2 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 8px; }
.scene-row { display: flex; flex-wrap: wrap; gap: 8px; }
.scene-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #F1EEE6;
  font-size: 13px;
  font-weight: 600;
}
.pdp-copy .btn-row { margin-top: 28px; }
@media (max-width: 1023px) {
  .pdp { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; }
}

.rail-section .rail > * { flex-basis: min(240px, 70%); }

.lightbox {
  border: 0;
  padding: 0;
  background: rgba(15, 35, 64, 0.92);
  max-width: 100%;
  width: 100%;
  height: 100%;
}
.lightbox::backdrop { background: rgba(15, 35, 64, 0.92); }
.lightbox-inner {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 48px 16px;
}
.lightbox img { max-height: 88vh; width: auto; max-width: 96%; }
.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--white);
  background: none;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.set-hero { min-height: min(72vh, 740px); }
.set-hero .shade {
  background: linear-gradient(180deg, rgba(15, 35, 64, 0.18) 0%, rgba(15, 35, 64, 0.7) 38%, rgba(15, 35, 64, 0.94) 100%);
}
.set-lead {
  max-width: 46em;
  color: var(--gray-1);
}
.set-list-title { margin-top: 28px; margin-bottom: 20px; }
.set-items { display: grid; gap: 12px; list-style: none; }
.set-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: #F1EEE6;
}
.set-item .thumb {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-3);
}
.set-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.set-item .body { min-width: 0; }
.set-item .qty {
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
  align-self: center;
}
.set-item a, .set-item .name { font-weight: 600; text-decoration: none; }
.set-item .note { margin-top: 4px; color: var(--gray-1); font-size: 14px; }
.role { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 4px; }
@media (max-width: 767px) {
  .set-item { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .set-item .thumb { width: 72px; height: 72px; }
}

/* Catalogue reader */
.cat-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 10;
  background: var(--paper);
  padding: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.cat-page {
  margin: 0 auto 24px;
  max-width: 900px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-3);
}
.cat-page img { width: 100%; height: auto; }
.page-jump {
  border: 1px solid var(--gray-3);
  background: var(--paper);
  border-radius: 8px;
  padding: 8px 10px;
}

.prose { max-width: 44em; }
.prose p + p { margin-top: 1em; }
.prose h2 { margin: 32px 0 12px; }
.facts {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}
.facts div { display: grid; gap: 4px; }
.facts dt { font-size: 13px; color: var(--gray-2); font-weight: 600; }
.contact-hero .btn-row { margin-top: 24px; }
.form {
  display: grid;
  gap: 16px;
  max-width: 36em;
}
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form select, .form textarea {
  width: 100%;
  max-width: 100%;
  min-height: var(--touch);
  border: 1px solid var(--gray-3);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
}
.hp-field { position: absolute; left: -9999px; }

.site-footer {
  background: var(--ink);
  color: #EDE8DC;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.site-footer a { color: inherit; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer h2 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #C9C3B8; margin-bottom: 8px; }
.site-footer .brand strong, .site-footer .brand .tag { color: var(--paper); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 40px;
  font-size: 13px;
  color: #C9C3B8;
}
@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  /* !important: must outrank html.js .pic / html.js .reveal (higher
     specificity than the old bare .pic/.reveal selector). */
  .pic, .reveal, .hero-slide { opacity: 1 !important; transform: none !important; }
  .product-card a:hover .thumb img { transform: none; }
}

/* Printing must never depend on IntersectionObserver having fired — force
   the reveal/lazy-image treatment off regardless of html.js or .is-in state. */
@media print {
  .reveal, .pic { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   Desktop unify (>=1100px) — 2026-09-21.
   One container, type and spacing that scale with the viewport, image-led
   sections that can carry the full-bleed hero, and a bleed / contained rhythm.
   Everything below 1100px is untouched: the new elements are display:none
   there and every other rule lives inside the min-width query.
   ========================================================================== */
.band-media, .band-media img, .band-go,
.build-index, .build-photo, .build-photo img,
.hero-rail { display: none; }

@media (min-width: 1100px) {
  :root {
    --max: 2304px;
    --pad-x: clamp(32px, 5vw, 128px);
    --side: max(var(--pad-x), calc((100% - var(--max)) / 2));
    --gutter: clamp(12px, 1.2vw, 24px);
    --section: clamp(88px, 9vw, 176px);
    /* Cap at 88px (bites above ~2200px only): at 2560 the 17-character Chinese
       headline would otherwise run 1700px and touch the cloud swing on the
       right of the first scene. 1440 / 1920 render exactly as before. */
    --fs-h1: clamp(46px, 4vw, 88px);
    --fs-h2: clamp(30px, 2.6vw, 60px);
    --fs-h3: clamp(20px, 1.45vw, 33px);
    --fs-body: clamp(17px, 1.05vw, 23px);
    --fs-aux: clamp(14px, 0.8vw, 18px);
    --fs-nav: clamp(14px, 0.95vw, 19px);
    --fs-btn: clamp(15px, 0.9vw, 19px);
    --header-h: clamp(72px, 4.6vw, 104px);
    --shade: 10, 22, 40;
  }
  h1, h2 { letter-spacing: -0.015em; }
  .section-head { margin-bottom: clamp(40px, 3.2vw, 72px); }
  .section-head p { margin-top: clamp(12px, 1vw, 24px); }
  .eyebrow { margin-bottom: clamp(12px, 1vw, 22px); }
  .btn {
    font-size: var(--fs-btn);
    padding: clamp(12px, 0.85vw, 18px) clamp(20px, 1.5vw, 34px);
  }
  .btn-row { gap: clamp(12px, 0.9vw, 20px); }
  .chip, .filter-chip { font-size: var(--fs-aux); padding: clamp(8px, 0.6vw, 12px) clamp(16px, 1.1vw, 24px); }

  .skip { top: -80px; }

  /* Header: same left/right lines as every section below. */
  .header-inner { gap: clamp(12px, 2vw, 48px); }
  .brand { gap: clamp(10px, 0.8vw, 16px); flex: 0 0 auto; }
  .brand img, .brand-mark { width: clamp(44px, 3vw, 66px); }
  .brand strong { font-size: clamp(14px, 0.9vw, 19px); }
  .brand span.tag { font-size: clamp(10px, 0.6vw, 13px); }
  .desktop-nav { gap: clamp(0px, 0.6vw, 14px); justify-content: center; }
  .desktop-nav > a, .nav-drop > summary { font-size: var(--fs-nav); padding: 8px clamp(8px, 0.8vw, 18px); white-space: nowrap; }
  .nav-drop .drop { min-width: clamp(240px, 17vw, 380px); max-width: none; padding: clamp(10px, 0.7vw, 16px); }
  .nav-drop .drop a { font-size: var(--fs-nav); padding: clamp(8px, 0.6vw, 14px) clamp(12px, 0.9vw, 20px); }
  .header-wa { font-size: clamp(13px, 0.85vw, 17px); padding: clamp(8px, 0.65vw, 14px) clamp(16px, 1.3vw, 30px); }
  .lang-switch { font-size: clamp(13px, 0.85vw, 17px); }

  /* Hero: immersive, landscape whole-venue scenes.
     2026-09-23 real-window fix (A12227, revised after review A12231).
     A real browser window is shorter than the screen (tabs + address bar):
     1920x960, 1536x730, 1366x650 give a hero 2.2-2.4 times as wide as it is
     tall, but the scenes are 16:10 and their installations span up to two
     thirds of the picture height. Full-bleed cover there must cut an
     installation or put the copy on one. So:
     1. Up to 1.88:1 the scene stays full-bleed. Wider than that, the hero
        becomes an editorial split: a brand-ink side rail on the left with a
        hard edge, the scene frame on the right. The rail is never a sliver:
        it is at least max(160px, 11vw) and grows with the extra width
        (100cqw - 1.88 x height). The frame is then never wider than 1.88:1
        and never narrower than 1.6:1, so the picture always covers it
        edge to edge and nothing is cropped left or right.
     2. The rail carries the scene number, a short brand-yellow rule and the
        scene name at the top (built per slide in home.html, fades with it)
        with the pause control under them, and the carousel dots at the
        bottom; the headline starts in it. (A pause pill next to the dots
        would not fit a 160px rail and would straddle the hard edge.)
     3. Each scene carries its own anchor --t (share of the picture height
        kept above the frame top, per scene in build_qixiang_site_v5.py
        HERO_DESKTOP); the offset is clamped so the picture always covers the
        frame. Container units make this exact at any window size; a browser
        without them falls back to --pos-d, full-bleed and no rail.
     4. The copy scales with the width up to 16:9 and with the height beyond
        (--hu), so on short windows it stays a low band under the
        installations; the headline is held to 3.4vw so on 16:10 windows it
        ends before the swing on the right. */
  .hero {
    container: hero / size;
    --hero-h: clamp(520px, min(calc(100vh - var(--header-h)), 62.5vw), 1240px);
    --hu: min(1vw, calc(var(--hero-h) / 56.25));
    --dot: clamp(10px, calc(0.62 * var(--hu)), 14px);
    --dot-gap: clamp(8px, calc(0.6 * var(--hu)), 14px);
    --dots-y: clamp(10px, calc(1.4 * var(--hu)), 38px);
    --pause-f: clamp(11px, calc(0.68 * var(--hu)), 15px);
    --pause-px: clamp(9px, calc(0.75 * var(--hu)), 16px);
    --pause-gap: clamp(6px, calc(0.6 * var(--hu)), 14px);
    /* Resolved inside each slide (cq units = the slide box). --side-cq is
       --side written without a percentage, because inside object-position a
       percentage means something else. */
    --side-cq: max(var(--pad-x), calc((100cqw - var(--max)) / 2));
    --rail: max(160px, 11vw, calc(100cqw - 188cqh));
    --rail-f: clamp(12px, calc(0.8 * var(--hu)), 18px);
    --rail-top: clamp(20px, calc(2.2 * var(--hu)), 56px);
  }
  /* An explicit height (not only min-height): the hero is a size container
     and Chrome only evaluates its aspect-ratio query correctly with a
     definite height. The copy is far shorter than the hero on desktop. */
  .hero { height: var(--hero-h); min-height: var(--hero-h); }
  .hero-overlay { min-height: var(--hero-h); }
  .hero-slide { container-type: size; background: rgb(var(--shade)); }
  .hero-slide img[data-alt-d] {
    object-position: var(--pos-d, center);
    background-image: var(--lqip-d) !important;
  }
  .hero-slide img[data-alt-d] {
    --img-h: 62.5cqw;
    display: block;
    object-position: 50% clamp(calc(100cqh - var(--img-h)), calc(var(--t, 0.1) * -1 * var(--img-h)), 0px);
  }
  @container (min-aspect-ratio: 188 / 100) {
    .hero-slide img[data-alt-d] {
      --img-h: calc((100cqw - var(--rail)) / 1.6);
      width: calc(100cqw - var(--rail));
      margin-left: auto;
    }
    .hero-rail {
      display: block;
      position: absolute;
      z-index: 1;
      left: var(--side-cq);
      top: var(--rail-top);
      width: calc(var(--rail) - var(--side-cq) - 16px);
      color: #F3E7C4;
      font-size: var(--rail-f);
      font-weight: 600;
      line-height: 1.35;
      letter-spacing: 0.04em;
    }
  }
  /* Pause sits under the rail's number + name (names are at most two lines
     in the narrowest rail, so the block is 8.95em + 2px tall). The selector
     is .hero > .hero-pause so it outranks the base desktop rule below. */
  @container hero (min-aspect-ratio: 188 / 100) {
    .hero > .hero-pause {
      top: calc(var(--rail-top) + 8.95 * var(--rail-f) + 2px + clamp(12px, calc(1.2 * var(--hu)), 28px));
      bottom: auto;
      left: var(--side-cq);
      transform: none;
    }
  }
  .hero-rail > span { display: block; }
  .hero-rail .hero-rail-no { font-size: 2.6em; font-weight: 700; line-height: 1; letter-spacing: 0; color: var(--white); }
  .hero-rail .hero-rail-of { margin-top: 0.5em; }
  .hero-rail .hero-rail-rule { width: 2.2em; height: 2px; margin: 0.9em 0; background: var(--yellow); }
  /* Copy sits as one low band (headline on one line, lead + buttons on the
     next) so the installations in the middle of the scene stay uncovered. */
  /* The lower-left corner carries the copy on every scene: the corner wash
     is deeper and reaches further than the plain bottom band so the type
     stays readable without flattening the middle of the picture. */
  .hero-overlay {
    background:
      linear-gradient(to top, rgba(var(--shade), 0.74) 0%, rgba(var(--shade), 0.5) 19%, rgba(var(--shade), 0.16) 40%, rgba(var(--shade), 0) 56%),
      radial-gradient(ellipse 74% 82% at -6% 106%, rgba(var(--shade), 0.44) 0%, rgba(var(--shade), 0.16) 52%, rgba(var(--shade), 0) 78%);
  }
  .hero-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: clamp(20px, calc(2.6 * var(--hu)), 64px);
    padding: 48px 0 calc(var(--dots-y) + var(--dot) + clamp(14px, calc(1.6 * var(--hu)), 44px));
  }
  .hero-copy .eyebrow { flex: 0 0 100%; font-size: clamp(12px, calc(0.8 * var(--hu)), 18px); line-height: 1.25; margin-bottom: clamp(6px, calc(0.7 * var(--hu)), 16px); }
  .hero-copy h1 { flex: 0 0 100%; max-width: none; font-size: clamp(34px, min(3.4vw, calc(4 * var(--hu))), 88px); line-height: 1.08; text-shadow: 0 2px 28px rgba(var(--shade), 0.4); }
  .hero-copy .lead {
    margin-top: clamp(10px, calc(1.4 * var(--hu)), 34px);
    max-width: none;
    font-size: clamp(15px, calc(1.3 * var(--hu)), 30px);
    text-shadow: 0 1px 16px rgba(var(--shade), 0.5);
  }
  .hero-copy .btn-row { margin-top: clamp(10px, calc(1.4 * var(--hu)), 34px); }
  .hero-copy .btn { font-size: clamp(13px, calc(0.9 * var(--hu)), 19px); padding: clamp(9px, calc(0.8 * var(--hu)), 17px) clamp(16px, calc(1.5 * var(--hu)), 34px); }
  .hero-dots { left: var(--side); bottom: var(--dots-y); gap: var(--dot-gap); }
  .hero-dots button { width: var(--dot); min-width: 0; height: var(--dot); min-height: 0; }
  .hero-pause {
    top: auto;
    right: auto;
    left: calc(var(--side) + var(--hero-n, 4) * (var(--dot) + var(--dot-gap)) + var(--pause-gap));
    bottom: calc(var(--dots-y) + var(--dot) / 2);
    transform: translateY(50%);
    min-width: 0;
    min-height: 0;
    font-size: var(--pause-f);
    padding: clamp(3px, calc(0.32 * var(--hu)), 7px) var(--pause-px);
  }

  /* Seven collections: magazine blocks 5+7 / 4+4+4 / 7+5. */
  .chapter-grid > * { grid-column: span 4; aspect-ratio: 4 / 3; }
  .chapter-grid > :nth-child(2), .chapter-grid > :nth-child(6) { aspect-ratio: 3 / 2; }
  .chapter-grid > :nth-child(1), .chapter-grid > :nth-child(7) { grid-column: span 5; aspect-ratio: auto; }
  .chapter-grid > :nth-child(2), .chapter-grid > :nth-child(6) { grid-column: span 7; }
  .mood-card img { position: absolute; inset: 0; transition: transform 0.6s ease; }
  .mood-card:hover img { transform: scale(1.03); }
  .chapter-grid > :nth-child(2) img { object-position: center 8%; }
  .chapter-grid > :nth-child(3) img { object-position: center 62%; }
  .chapter-grid > :nth-child(4) img { object-position: center 58%; }
  .chapter-grid > :nth-child(5) img { object-position: center 100%; }
  .chapter-grid > :nth-child(6) img { object-position: center 72%; }
  .mood-card .cap {
    padding: clamp(56px, 5vw, 120px) clamp(20px, 1.9vw, 44px) clamp(18px, 1.7vw, 40px);
    background: linear-gradient(to top, rgba(var(--shade), 0.72) 0%, rgba(var(--shade), 0.36) 45%, rgba(var(--shade), 0) 100%);
  }
  .mood-card h3 { font-size: clamp(22px, 1.75vw, 42px); font-weight: 700; letter-spacing: -0.01em; }
  .mood-card p { font-size: var(--fs-aux); margin-top: clamp(4px, 0.4vw, 10px); letter-spacing: 0.04em; }

  /* Full-bleed bands. Sets: heading on paper, then the scene uncovered edge to
     edge. Closing CTA: copy low-left over the scene, running into the footer. */
  .band-cta .band-stage {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(520px, 70vh, 940px);
    overflow: hidden;
    background: var(--ink);
    color: var(--white);
  }
  .band-media { display: block; position: absolute; inset: 0; }
  .band-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .band-cta .band-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 78% 96% at 0% 100%, rgba(var(--shade), 0.66) 0%, rgba(var(--shade), 0.36) 42%, rgba(var(--shade), 0) 72%),
      linear-gradient(to top, rgba(var(--shade), 0.3) 0%, rgba(var(--shade), 0) 36%);
  }
  .band-cta .band-stage > .wrap {
    position: relative;
    z-index: 1;
    padding-block: clamp(56px, 5vw, 120px);
  }
  .band-cta h2 { font-size: clamp(36px, 3.4vw, 80px); color: var(--white); text-shadow: 0 2px 28px rgba(var(--shade), 0.4); }
  .band-cta p { color: #F7F4EE; font-size: clamp(18px, 1.3vw, 30px); max-width: 34em; text-shadow: 0 1px 16px rgba(var(--shade), 0.5); }
  .band-sets .band-stage { display: flex; flex-direction: column; }
  .band-sets .band-stage > .wrap {
    order: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--gutter);
    margin-bottom: clamp(40px, 3.2vw, 72px);
  }
  .band-sets .section-head { margin-bottom: 0; }
  .band-sets .band-media {
    order: 2;
    position: relative;
    inset: auto;
    height: clamp(520px, min(78vh, 46vw), 1100px);
    background: var(--gray-3);
  }
  .band-go {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: clamp(56px, 4vw, 92px);
    height: clamp(56px, 4vw, 92px);
    border: 1px solid var(--ink);
    border-radius: 50%;
    color: var(--ink);
    font-size: clamp(22px, 1.6vw, 36px);
    text-decoration: none;
  }
  .band-go:hover { background: var(--ink); color: var(--paper); }
  .band-sets .band-media img { object-position: center 36%; }
  .band-cta .band-media img { object-position: center 55%; }
  .band-cta { padding-bottom: 0 !important; }
  .band-cta p { margin-top: clamp(12px, 1vw, 24px); }
  .band-cta .btn-row { margin-top: clamp(28px, 2.2vw, 52px); }
  .band-cta .btn-line { border-color: var(--white); color: var(--white); }
  .band-cta .btn-line:hover { background: rgba(255, 255, 255, 0.14); color: var(--white); }

  /* Sets rail: starts on the container line, bleeds off the right edge. */
  .wrap.sets-rail {
    width: 100%;
    margin-top: clamp(20px, 1.8vw, 44px);
    padding-inline: var(--side);
    scroll-padding-inline: var(--side);
    scrollbar-width: thin;
    scrollbar-color: var(--gray-3) transparent;
    padding-bottom: clamp(8px, 1vw, 20px);
  }
  .sets-rail > * { flex-basis: clamp(420px, 31vw, 780px); }
  .set-card h3 { margin-top: clamp(14px, 1.1vw, 26px); font-size: var(--fs-h3); }
  .set-card p { margin-top: clamp(6px, 0.5vw, 12px); font-size: clamp(15px, 0.95vw, 21px); }

  /* Cards, steps, workshop, catalogue, FAQ. */
  .card-grid { row-gap: clamp(36px, 3vw, 72px); }
  .product-card h3 { margin-top: clamp(12px, 1vw, 24px); font-size: clamp(16px, 1.15vw, 27px); }
  .product-card .hook { margin-top: clamp(4px, 0.4vw, 10px); font-size: clamp(14px, 0.95vw, 22px); }
  .badge { font-size: clamp(12px, 0.7vw, 15px); }
  .steps { gap: clamp(24px, 3vw, 72px); }
  .steps span.n { font-size: var(--fs-aux); margin-bottom: clamp(10px, 1vw, 24px); }
  .steps h3 { margin-bottom: clamp(8px, 0.8vw, 18px); }
  .catalogue-strip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: center; }
  .catalogue-strip .cover { max-width: clamp(360px, 28vw, 660px); }
  .catalogue-strip p { margin-top: clamp(12px, 1vw, 24px); }
  .catalogue-strip .btn-row { margin-top: clamp(24px, 2vw, 48px); }
  .catalogue-subsets-lead { margin: clamp(20px, 1.8vw, 44px) 0 clamp(8px, 0.8vw, 18px); }
  #faq > .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gutter); align-items: start; }
  .faq-list summary { font-size: clamp(17px, 1.25vw, 29px); padding-block: clamp(12px, 1.2vw, 28px); }
  .faq-list p { padding-bottom: clamp(16px, 1.4vw, 32px); }
  .faq-list details:first-child summary { padding-top: 0; }

  /* Collection / set page heroes and product grids. */
  /* Collection hero: the square chapter image is shown whole, full height on
     the right and bleeding off the edge; the copy sits low-left on paper, on
     the container line. Nothing is laid over the pieces, nothing is cut. */
  .page-hero:not(.set-hero) {
    --hero-h: clamp(560px, calc(100vh - var(--header-h)), 1100px);
    --side-vw: max(var(--pad-x), calc((100vw - var(--max)) / 2));
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(max(var(--hero-h), 50vw), 58vw);
    min-height: var(--hero-h);
    background: var(--paper);
    color: var(--ink);
  }
  .page-hero:not(.set-hero) img {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    height: var(--hero-h);
    object-position: var(--pos-d, center);
  }
  .page-hero:not(.set-hero) .shade {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: flex-end;
    background: none;
    padding: clamp(48px, 4vw, 96px) clamp(32px, 4vw, 104px) clamp(56px, 5vw, 128px) var(--side-vw);
  }
  .page-hero:not(.set-hero) .shade .wrap { width: auto; margin: 0; }
  .page-hero:not(.set-hero) h1 { color: var(--ink); text-shadow: none; }
  .page-hero:not(.set-hero) .lead { color: var(--gray-1); max-width: 30em; }
  .page-hero:not(.set-hero) .crumbs,
  .page-hero:not(.set-hero) .crumbs a,
  .page-hero:not(.set-hero) .crumbs span { color: var(--gray-2); text-shadow: none; }
  .page-hero .lead { margin-top: clamp(16px, 1.4vw, 34px); font-size: clamp(18px, 1.25vw, 28px); }
  .set-hero { min-height: clamp(560px, min(calc(100vh - var(--header-h)), 62.5vw), 1100px); }
  .set-hero .shade {
    padding: clamp(120px, 12vw, 300px) 0 clamp(48px, 4.4vw, 104px);
    background: linear-gradient(to top, rgba(var(--shade), 0.66) 0%, rgba(var(--shade), 0.36) 40%, rgba(var(--shade), 0) 100%);
  }
  .set-lead { font-size: clamp(19px, 1.35vw, 31px); line-height: 1.5; max-width: 40em; }
  .set-list-title { margin-top: clamp(28px, 3vw, 72px); margin-bottom: clamp(20px, 1.6vw, 40px); }

  .facts dt { font-size: var(--fs-aux); }
  .facts dd { margin: 0; }

  /* Text pages start on the container line, like everything else. */
  .wrap.prose:not(.build) { max-width: none; }
  .wrap.prose:not(.build) > * { max-width: 44em; }
  .crumbs { margin-bottom: clamp(16px, 1.3vw, 30px); }
  .filter-row { padding-block: clamp(28px, 2.6vw, 64px) clamp(8px, 1.2vw, 28px); gap: clamp(8px, 0.6vw, 14px); }
  .pdp { gap: clamp(48px, 4vw, 96px); }
  .set-item { grid-template-columns: clamp(96px, 7vw, 160px) minmax(0, 1fr) auto; gap: clamp(16px, 1.4vw, 32px); padding: clamp(12px, 1vw, 22px); }
  .set-item .thumb { width: clamp(96px, 7vw, 160px); height: clamp(96px, 7vw, 160px); }
  .set-item .note { font-size: var(--fs-aux); }
  .cat-page { max-width: clamp(900px, 60vw, 1400px); }
  .form { max-width: 40em; }
  .form label { font-size: var(--fs-aux); }

  /* How we build: sticky step index left, content right. */
  .prose.build {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    grid-template-areas: "crumbs crumbs" "title title" "index lead" "index body";
    column-gap: var(--gutter);
  }
  .build > .crumbs { grid-area: crumbs; }
  .build > h1 { grid-area: title; max-width: 18ch; margin-bottom: clamp(48px, 5vw, 120px); }
  .build > p { grid-area: lead; max-width: 38em; font-size: clamp(19px, 1.35vw, 31px); line-height: 1.5; }
  .build-index {
    display: block;
    grid-area: index;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + clamp(24px, 2.4vw, 56px));
  }
  .build-index ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--gray-3); }
  .build-index a {
    display: flex;
    align-items: baseline;
    gap: clamp(12px, 1vw, 22px);
    min-height: var(--touch);
    padding: clamp(8px, 0.6vw, 14px) clamp(16px, 1.4vw, 32px);
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(16px, 1.1vw, 25px);
    margin-left: -1px;
    border-left: 2px solid transparent;
  }
  .build-index a:hover, .build-index a[aria-current="true"] { border-left-color: var(--yellow); }
  .build-index .n { font-size: var(--fs-aux); font-weight: 700; letter-spacing: 0.08em; color: var(--gray-2); }
  .build-body { grid-area: body; }
  .build-step { padding-top: clamp(56px, 5vw, 120px); }
  .build-step h2 { margin: 0 0 clamp(12px, 1.1vw, 26px); scroll-margin-top: calc(var(--header-h) + 32px); }
  .build-step p { max-width: 38em; }
  .build-photo {
    display: block;
    margin: clamp(28px, 2.6vw, 64px) 0 0;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--gray-3);
  }
  .build-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

  /* Workshop: a full-bleed strip of real workshop photos (third bleed beat). */
  #workshop .workshop-grid {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    gap: clamp(4px, 0.4vw, 10px);
  }
  #workshop .workshop-grid figure { border-radius: 0; }

  /* Footer on the same lines and scale. */
  .site-footer { padding: clamp(64px, 6vw, 144px) 0 clamp(32px, 2.6vw, 64px); font-size: clamp(15px, 0.95vw, 20px); }
  .footer-grid { gap: var(--gutter); grid-template-columns: 5fr 3fr 2fr 2fr; }
  .footer-grid p { max-width: 26em; }
  .footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; }
  .site-footer h2 { font-size: var(--fs-aux); margin-bottom: clamp(8px, 0.9vw, 20px); }
  .site-footer a, .footer-grid > div > span { display: inline-flex; align-items: center; min-height: clamp(36px, 2.4vw, 52px); }
  .footer-bottom { margin-top: clamp(40px, 4vw, 96px); font-size: var(--fs-aux); }
}
