/* Packshops — single stylesheet. No framework: the page set is small, and a
   hand-written sheet keeps the HTML minimal and the render blocking round-trip
   to one request. */

/* ---------------------------------------------------------------- palette */
/* Three families, and a rule for each.
 *
 *   neutral   structure: text, rules, page and band surfaces.
 *   action    the brand crimson: every primary control, links, focus rings.
 *   warm      the editorial surfaces: dusty rose panels, the cream band, the
 *             rose gradient banner. One temperature, so the rose and cream
 *             sections do not fight the neutral bands beside them.
 *
 * A block may only use these names. The values carry their measured contrast
 * against the surface they are used on (see the notes on the ink tokens), which is
 * why the factory kicker is `--rose-ink` and not the pale rose: 2.75:1 was unreadable.
 */

:root {
  /* ink and rules */
  --ink: #14181f;
  --ink-soft: #4b5563;          /* 7.56:1 on white */
  --ink-mute: #67707b;          /* 5.02:1 on white, 4.62:1 on --bg-soft */
  --line: #e5e7eb;
  --line-soft: #f1f2f4;
  --line-strong: #c9ccd2;       /* card border on hover */

  /* surfaces: the two soft bands are warm off-whites so they belong beside the
     cream and rose panels instead of reading as cool grey in the same scroll */
  --bg: #ffffff;
  --bg-soft: #f7f5f3;
  --bg-soft-deep: #f2efec;      /* the far stop of the placeholder gradient */
  --bg-deep: #101418;           /* hero underlay and footer */
  --scrim: rgba(16, 20, 24, 0.45);
  /* For a bright banner photograph: at 0.45 white 16px copy on a light image sits close
     to 4.5:1, at 0.62 the composite stays above 7:1 without hiding the picture. */
  --scrim-strong: rgba(16, 20, 24, 0.62);

  /* brand action */
  --accent: #a4243b;
  --accent-dark: #86182c;

  /* warm editorial surfaces */
  --rose: #deaaa8;
  --rose-dark: #d69c9a;
  --rose-tint: #f8f2f2;
  --rose-ink: #9d5f59;          /* 4.98:1 on white, for small rose text */
  --rose-band-top: #e0afae;
  --rose-band-bottom: #f3e0e0;
  --cream: #f3f1e8;
  --gold: #705818;              /* 5.99:1 on --cream */

  /* ink on the warm surfaces, where the neutral greys read cold */
  --ink-on-rose: #3f3134;       /* 6.13:1 on --rose */
  --ink-on-cream: #4a463f;      /* 8.29:1 on --cream */

  /* the one dark button fill, and its hover */
  --ink-hover: #2b313b;

  /* status: the only colours outside the three families, because an error must not
     read as brand decoration */
  --danger: #b42318;            /* 5.9:1 on white */
  --danger-ink: #912018;        /* 8.9:1 on --danger-tint */
  --danger-tint: #fef3f2;
  --danger-line: #fecdca;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(16, 20, 24, 0.06), 0 8px 24px rgba(16, 20, 24, 0.05);
  --container: 1200px;
  --gap: clamp(16px, 2.5vw, 32px);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h3 { font-size: 1.05rem; }

p { margin: 0 0 1em; }

/* Lists are unset globally because every list in the layout is a grid or a menu.
   `ol` is included on purpose: the breadcrumb and pagination lists rely on it, and
   leaving the browser default in place indents them and adds decimal markers to
   the page numbers. `.prose` restores list styling for authored content. */
ul,
ol { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn-ghost:hover { border-color: var(--ink); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
/* The quote bar paints the bottom edge of the header; keeping the header's own border
   there would draw a light line under a dark strip. */
.site-header.has-quote-bar { border-bottom: 0; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}

.brand { display: flex; flex-direction: column; line-height: 1.1; flex-shrink: 0; }
.brand-name { font-size: 1.35rem; font-weight: 800; letter-spacing: 0.06em; }
.brand-tagline { font-size: 0.68rem; color: var(--ink-mute); letter-spacing: 0.04em; text-transform: uppercase; }
.brand-logo { width: auto; max-width: 190px; max-height: 44px; object-fit: contain; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
  margin-inline: auto;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-list { display: flex; align-items: center; gap: 22px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 8px 0;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-list > li > a:hover { color: var(--accent); }

/* An item that opens a flyout says so: a small chevron to the right of the label, pointing
   down while the menu is closed and up while it is open. It is decorative — the anchor
   already carries aria-haspopup — so it is drawn in CSS and hidden from assistive tech. */
.nav-list > .has-flyout > a::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3.5px) rotate(45deg);
  opacity: 0.55;
  transition: transform 0.15s, opacity 0.15s;
}
.nav-list > .has-flyout:hover > a::after,
.nav-list > .has-flyout:focus-within > a::after {
  opacity: 1;
  transform: translateY(-1.5px) rotate(225deg);
}

/* Single-column dropdown with nested levels. Each level opens to the right of the
   item that owns it; a right chevron marks items that have a further level. */
.nav-flyout {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: none;
  z-index: 30;
}
.nav-list > .has-flyout:hover > .nav-flyout,
.nav-list > .has-flyout:focus-within > .nav-flyout,
.nav-flyout li.has-children:hover > .nav-flyout,
.nav-flyout li.has-children:focus-within > .nav-flyout { display: block; }

.nav-flyout li { position: relative; }
.nav-flyout li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 16px;
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-flyout li > a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-flyout li.has-children > a > span::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.55;
}

/* Every level below the first opens to the right of its parent item. */
.nav-flyout-sub {
  top: -7px;
  left: 100%;
}
/* A right-hand level near the viewport edge would overflow; flip it left. */
@media (min-width: 901px) {
  .nav-flyout-sub { min-width: 240px; }
  .nav-list > li:nth-last-child(-n+2) .nav-flyout-sub { left: auto; right: 100%; }
}

.mega-count { color: var(--ink-mute); font-variant-numeric: tabular-nums; }

/* One control, not two: the field and the submit button share a single pill, so the
   header keeps its room for the catalogue instead of spending 90px on a text button that
   says what the magnifier already says. The reference design (search.png) fuses them the
   same way — placeholder on the left, icon-only submit at the right end, one border. */
.nav-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  padding-right: 3px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.nav-search:focus-within {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(20, 24, 31, 0.06);
}
.nav-search input {
  flex: 1 1 auto;
  width: 132px;
  padding: 7px 6px 7px 14px;
  border: 0;
  background: transparent;
  font-size: 0.88rem;
  font-family: inherit;
}
.nav-search input:focus { outline: 0; }
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-search button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}
.nav-search button:hover { background: var(--accent); color: #fff; }

.nav-cta { padding: 9px 18px; font-size: 0.9rem; }

.lang-switcher { display: flex; gap: 4px; font-size: 0.78rem; }
.lang-switcher a {
  padding: 4px 7px;
  border-radius: 4px;
  color: var(--ink-mute);
  border: 1px solid transparent;
}
.lang-switcher a:hover { border-color: var(--line); }
.lang-switcher a[aria-current="true"] { color: var(--ink); font-weight: 700; }

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

.hero { position: relative; background: var(--bg-deep); }

.hero-slider { position: relative; }
.hero-slide { display: block; position: relative; }
.hero-slide + .hero-slide { display: none; }
.hero-slide img {
  width: 100%;
  height: clamp(300px, 46vw, 560px);
  object-fit: cover;
}
/* A flat scrim over the whole picture rather than a gradient at the bottom: the
   caption sits on top of it, so text stays readable wherever the photograph is
   bright, and the edges of the image do not fade out. */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--scrim);
  pointer-events: none;
}
.hero-caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  padding: clamp(20px, 4vw, 56px) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 88px);
  max-width: var(--container);
  margin-inline: auto;
  color: #fff;
}
.hero-title {
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.hero-sub {
  color: rgba(255, 255, 255, 0.88);
  max-width: 56ch;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-fallback { padding-block: clamp(40px, 7vw, 84px); color: #fff; }
.hero-h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  max-width: 30ch;
  margin: 0;
  color: #fff;
}
.hero-fallback p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 62ch;
  margin: 0;
}
.hero-fallback p.hero-h1 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero .btn-ghost { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.22); border-color: #fff; }

/* --------------------------------------------------------------- sections */

.section { padding-block: clamp(32px, 5vw, 64px); }
.section:nth-of-type(even) { background: var(--bg-soft); }
.section-head { max-width: 62ch; margin-bottom: clamp(18px, 3vw, 32px); }
.section-head h2 { margin-bottom: 0.35em; }
.section-head p { color: var(--ink-soft); margin: 0; }
/* A heading with an action on the same line: the copy keeps its reading measure, the
   link sits at the far end and wraps under it only when the row runs out. */
.section-head.is-split {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: none;
}
.section-head-text { max-width: 62ch; }
/* The heading's action is a real button, not a text link: it is the only way into the
   catalogue from this section, so it carries the brand action colour. */
.section-head-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.15s;
}
.section-head-link:hover { background: var(--accent-dark); color: #fff; }
.section-head-link::after { content: "→"; font-weight: 400; }
.section-foot { margin-top: 28px; text-align: center; }

/* ---------------------------------------------------------- about panel */
/* Two flush halves: the copy on the brand crimson, the figures on white. The band behind
   them is a whisper of the rose rather than a grey, so the panel reads as one object and
   not as a coloured card dropped onto an unrelated surface. */
.section.about { background: var(--rose-tint); padding-top: 1px; }
/* The panel rides up over the banner: the photograph runs full-bleed above it and the
   panel starts inside the image, which ties the two sections together. The offset is
   clamped, so on a phone it stays one small step instead of eating the banner. */
.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.49fr) minmax(0, 0.51fr);
  align-items: stretch;
  position: relative;
  z-index: 1;
  margin-top: clamp(-44px, -2.4vw, -24px);
}
.about-panel.is-single { grid-template-columns: minmax(0, 1fr); }

.about-copy {
  background: var(--accent);
  color: #fff;
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
/* White type on the crimson half: the heading is full strength and the supporting copy
   steps down slightly, which is what keeps a saturated panel readable. */
.about-kicker { margin: 0; font-size: 1.05rem; color: rgba(255, 255, 255, 0.85); }
.about-heading {
  margin: 0;
  font-size: clamp(1.6rem, 3.1vw, 2.3rem);
  line-height: 1.2;
  color: #fff;
}
.about-lead { margin: 4px 0 0; font-size: 1.02rem; line-height: 1.7; color: rgba(255, 255, 255, 0.9); max-width: 44ch; }
.about-body {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.97rem;
  line-height: 1.75;
  /* The home panel is a teaser: the full story is the /about-us/ page, so the legacy
     paragraph is clamped instead of pushing the button out of the panel. */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.about-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
}
.about-cta:hover { background: var(--ink-hover); }

.about-side { background: var(--bg); padding: clamp(32px, 5vw, 64px); }
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: clamp(24px, 4vw, 56px) clamp(16px, 3vw, 40px);
}
.about-stat-value { display: block; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.1; color: var(--ink); }
.about-stat-label { display: block; margin-top: 0.45rem; font-size: 0.8rem; line-height: 1.5; color: var(--ink-on-rose); }
.about-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------- craft (decoration) */
/* The page surface, like the sections around it: a square photo with sharp corners on the
   left, a gold eyebrow over a heavy two-line heading, one paragraph then the processes as a
   two-column list, and a single dark button. The photo carries the composition, so it stays
   square instead of stretching to the text height. */

.section.craft-section { background: var(--bg); }
.craft-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.craft-section.is-reverse .craft-media { order: 2; }
.craft-section.is-reverse .craft-copy { order: 1; }

.craft-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.craft-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.craft-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.craft-heading {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.craft-lead { margin: 0; font-size: 1.1rem; line-height: 1.6; color: var(--ink-on-cream); max-width: 46ch; }
.craft-body { color: var(--ink-on-cream); font-size: 1rem; line-height: 1.7; }
.craft-body p { margin: 0 0 14px; max-width: 52ch; }
.craft-body ul {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px clamp(20px, 3vw, 40px);
}
.craft-body li { color: var(--ink-on-cream); font-size: 0.97rem; line-height: 1.5; }
.craft-body li strong { color: var(--ink); font-weight: 600; }
.craft-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.95rem;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-sm);
}
.craft-cta:hover { background: var(--accent-dark); color: #fff; }
.craft-cta-arrow { font-size: 1.05em; line-height: 1; }

/* ------------------------------------------------------- factory mosaic */
/* White band: a 2×2 photo mosaic whose right column sits lower than its left, and a
   copy column of rose eyebrow, two-line heading, one paragraph and a rose button — the
   only filled element on the block. */

.section.factory-section { background: var(--bg); }
.factory-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.factory-section.is-reverse .factory-photos { order: 2; }
.factory-section.is-reverse .factory-copy { order: 1; }

.factory-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.6vw, 31px);
}
.factory-photos img {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 6;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
/* The offset is the design: the right-hand column drops, so the four photos read as two
   staggered columns rather than one hard block. */
.factory-photos img:nth-child(even) { margin-top: clamp(14px, 2.8vw, 33px); }
/* Three photos: the last one takes the full width instead of leaving a hole. */
.factory-photos img:nth-child(3):last-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  margin-top: 0;
}

.factory-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.factory-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-ink);
}
.factory-heading {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.2;
  color: var(--ink);
}
.factory-lead { margin: 0; font-size: 1.15rem; line-height: 1.75; color: var(--ink-soft); max-width: 46ch; }
.factory-body { color: var(--ink-soft); font-size: 1rem; line-height: 1.75; }
.factory-body p { margin: 0 0 14px; max-width: 50ch; }
.factory-body ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.factory-body li { position: relative; padding-left: 18px; }
.factory-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 2px;
  background: var(--rose);
}
.factory-body li strong { color: var(--ink); font-weight: 600; }
.factory-cta {
  margin-top: -6px;
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
}
.factory-cta:hover { background: var(--accent-dark); color: #fff; }

/* ------------------------------------------------- home section variants */
/* 首页区块 在后台选择「显示风格」时加上 is-<style> 类；这里只定义每种风格的差异，
   默认值（grid / grid-3 / tabs / band / strip / split）就是原样。 */

.categories.is-grid-4 .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.featured.is-grid-4 .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.pillars.is-inline .pillars-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.pillars.is-inline .pillar { display: flex; gap: 12px; align-items: flex-start; }
.pillars.is-inline .pillar img { width: 40px; height: 40px; margin-bottom: 0; }

.about.is-reverse .about-copy { order: 2; }
.about.is-reverse .about-side { order: 1; }

.certificates .section-head { margin-inline: auto; text-align: center; }
.certificates.is-grid .certificate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.split-block .split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.split-block.is-reverse .split-media { order: 2; }
.split-block.is-reverse .split-copy { order: 1; }
.split-block .split-media { display: grid; gap: 12px; }
.split-block .split-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
/* 关于工厂 shows four photos: 2×2 beside the copy, and the strip stays 2 columns when a
   photo is missing rather than stretching one image across the column. */
.split-block .split-media.is-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split-block .split-media.is-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.split-block .split-copy .section-head { margin-bottom: clamp(14px, 2vw, 22px); }
.split-block .split-copy .prose > :last-child { margin-bottom: 0; }

.insight-stack + .insight-stack { margin-top: clamp(28px, 4vw, 48px); }
.insight-stack-title {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* 首页的问答区占满整行，不再限制在 62ch 的窄栏里 */
.insights .faq-list { max-width: none; }

.page { padding-block: clamp(20px, 3vw, 40px) clamp(40px, 6vw, 72px); }
.page-narrow { max-width: 760px; }
/* Reading pages (a single page, the questions page): a wider column than the narrow
   measure, with the body copy free to use it. */
.page-wide { max-width: 1080px; }
.page-wide .prose { max-width: none; }
.page-head { margin-bottom: clamp(20px, 3vw, 32px); }
.page-head p { color: var(--ink-soft); max-width: 68ch; }

/* -------------------------------------------------------------- breadcrumb */

.breadcrumbs {
  padding-block: 10px 16px;
  margin-bottom: clamp(8px, 1.5vw, 18px);
  font-size: 0.8rem;
  color: var(--ink-mute);
  line-height: 1.5;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}
.breadcrumbs li + li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-inline: 8px;
  border-right: 1.5px solid var(--ink-mute);
  border-top: 1.5px solid var(--ink-mute);
  transform: rotate(45deg);
  opacity: 0.55;
  flex: 0 0 auto;
}
.breadcrumbs a { color: var(--ink-mute); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 46ch;
}

/* ---------------------------------------------------------------- pillars */

/* The reasons sit on the page surface like the sections around them; the selector carries
   `.section` so it outranks the automatic even-row tint instead of losing to it. */
.section.pillars { background: var(--bg); }
/* Three reasons across and two rows down: the icon sits over a centred title and copy, so
   the six read as one block of claims rather than a list of features. The panel decides how
   many reasons exist — the grid keeps three columns however many blocks are published. */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px) clamp(24px, 3.4vw, 56px);
}
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* The reference sets the claim above its supporting copy by a clear step — roughly 1.5x at
   every width — so the six claims read as headings with an "and here is why" underneath
   rather than as six equal-weight paragraphs. */
.pillar-icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: 14px; }
.pillar h3 { margin: 0 0 0.5em; font-size: clamp(1.1rem, 1.5vw, 1.3rem); text-wrap: balance; }
.pillar-body { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; max-width: 34ch; }
.pillar-body p { margin: 0; }
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pillars-grid { grid-template-columns: minmax(0, 1fr); }
}
/* A heading centred over a centred grid; the other sections keep the left-aligned one. */
.section-head.is-centred { margin-inline: auto; text-align: center; }

/* -------------------------------------------------------------- categories */

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: var(--gap);
}
/* The home grid is the shop window: three larger cards per row, not a strip of
   thumbnails. Family pages keep the denser auto-fill grid for their types. */
.categories .category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
}
.categories .category-card-media { aspect-ratio: 16 / 11; }
.categories .category-card-body { padding: 18px 20px 20px; gap: 6px; }
.categories .category-card-name { font-size: 1.12rem; }
.category-card a {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.category-card a:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  color: var(--ink);
  transform: translateY(-2px);
}
.category-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-soft);
}
.category-card img,
.category-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-soft);
  transition: transform 0.35s ease;
}
.category-card a:hover .category-card-media img { transform: scale(1.04); }
.category-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-soft), var(--bg-soft-deep));
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
/* The card is a name and a picture: the count lives in the sidebar tree, where it helps
   someone comparing families, and reads as noise under a tile in the shop window. */
.category-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 16px 16px;
  text-align: center;
}
.category-card-name { font-weight: 600; font-size: 0.98rem; line-height: 1.35; }

/* ------------------------------------------------------------------- grid */

/* ------------------------------------------------------------ insights tabs */

.insight-tabs { position: relative; }
/* The radios drive the tabs; they stay focusable for the keyboard but invisible. */
.insight-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.insight-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(18px, 2.5vw, 28px);
}
.insight-labels label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.insight-labels label:hover { border-color: var(--ink-mute); color: var(--ink); }
#insight-news:checked ~ .insight-labels label[for="insight-news"],
#insight-faqs:checked ~ .insight-labels label[for="insight-faqs"],
#insight-blog:checked ~ .insight-labels label[for="insight-blog"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
#insight-news:focus-visible ~ .insight-labels label[for="insight-news"],
#insight-faqs:focus-visible ~ .insight-labels label[for="insight-faqs"],
#insight-blog:focus-visible ~ .insight-labels label[for="insight-blog"] {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.insight-panel { display: none; }
#insight-news:checked ~ .insight-panel[data-panel="news"],
#insight-faqs:checked ~ .insight-panel[data-panel="faqs"],
#insight-blog:checked ~ .insight-panel[data-panel="blog"] { display: block; }

/* ------------------------------------------------------------------- faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 62ch;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 4px 18px;
}
.faq-item summary {
  cursor: pointer;
  padding-block: 12px;
  font-weight: 600;
  font-size: 0.96rem;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+";
  flex: 0 0 auto;
  color: var(--ink-mute);
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1;
}
.faq-item[open] summary::before { content: "–"; }
.faq-item[open] summary { color: var(--ink); }
.faq-answer {
  padding-block: 0 14px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.faq-answer p { margin: 0 0 0.7em; }
.faq-answer p:last-child { margin-bottom: 0; }
/* On the questions page the rows use the full column while the answer text keeps a
   readable measure. */
.page-wide .faq-list { max-width: none; }
.page-wide .faq-answer { max-width: 86ch; }
/* The closing prompt after the questions is the brand colour with white copy, and its one
   action inverts to white so it stays the brightest thing in the block. */
.faq-cta {
  margin-top: clamp(36px, 6vw, 64px);
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
}
.faq-cta h2 { margin-bottom: 0.4em; color: #fff; }
.faq-cta p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.9); max-width: 60ch; }
/* White fill, accent label: the inverse of the block it sits on. */
.faq-cta-button {
  background: var(--bg);
  border-color: var(--bg);
  color: var(--accent);
}
.faq-cta-button:hover { background: var(--rose-tint); border-color: var(--rose-tint); color: var(--accent-dark); }

/* ---------------------------------------------------------------- sitemap */
/* A directory, not an article: every section is a headed block of links, with the
   counts set in tabular figures so the columns of numbers line up. */

.sitemap-block { margin-bottom: clamp(28px, 4vw, 44px); }
.sitemap-block > h2 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sitemap-note { font-size: 0.9rem; color: var(--ink-mute); margin-bottom: 10px; }
.sitemap-note-inline { font-size: 0.82rem; color: var(--ink-mute); }
.sitemap-count {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.76rem;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.sitemap-date {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.76rem;
  color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}

.sitemap-families,
.sitemap-links { display: flex; flex-direction: column; gap: 7px; font-size: 0.92rem; }
.sitemap-families > li { padding-bottom: 7px; border-bottom: 1px solid var(--line-soft); }
.sitemap-families > li:last-child { border-bottom: 0; padding-bottom: 0; }
.sitemap-families > li > a { font-weight: 600; }
.sitemap-all a { color: var(--ink); }
.sitemap-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 7px;
  font-size: 0.88rem;
}
.sitemap-links a:hover,
.sitemap-families a:hover,
.sitemap-sub a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------- grid */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--gap);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.product-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.product-card-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--bg-soft);
}
.product-card-title {
  padding: 12px 14px 4px;
  font-size: 0.94rem;
  font-weight: 600;
  margin: 0;
  text-align: center;
  display: -webkit-box;
  /* Three lines: cosmetic packaging names are long, and truncating at two hides the
     model suffix that tells two near-identical listings apart. */
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* The card ends in the one action that matters on a catalogue: adding the product
   to the quote list. It hugs its label — a full-width button would dominate a tile
   that is mostly photograph — and is pushed to the bottom so cards of different text
   lengths line up. */
.product-card-quote { margin: auto 14px 14px; padding-top: 12px; text-align: center; }
.btn-quote {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-quote:hover { background: var(--ink); color: #fff; }
/* After the click the same slot reports the outcome and offers the way onward, so the
   card never shows a button that would re-add what is already in the list. */
.quote-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 30px;
}
.quote-action-done {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}
.quote-action-done::before { content: "✓ "; color: var(--accent); }
.quote-action-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  transition: color 0.15s, border-color 0.15s;
}
.quote-action-link:hover { color: var(--accent); border-color: var(--accent); }
.quote-action-arrow { font-weight: 400; }

/* ------------------------------------------------------------- quote list */

.quote-bar {
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
}
.quote-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  padding-block: 9px;
}
.quote-bar-text { opacity: 0.9; }
.quote-bar-link { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.quote-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 18px;
  margin-bottom: 24px;
}
.quote-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.quote-list-head h2 { font-size: 1rem; margin: 0; }
.quote-items { display: flex; flex-direction: column; gap: 10px; }
.quote-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
}
.quote-item:last-child { border-bottom: 0; padding-bottom: 0; }
.quote-item-thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-soft);
}
.quote-item-thumb-empty { display: block; }
.quote-item-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.quote-item-name { font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.quote-item-model { font-size: 0.76rem; color: var(--ink-mute); }
.inline-quote-form { margin: 0; }
.link-button,
.btn-remove {
  border: 0;
  background: none;
  padding: 4px 2px;
  font: inherit;
  font-size: 0.78rem;
  color: var(--ink-mute);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-button:hover,
.btn-remove:hover { color: var(--danger); }
.quote-list-note { margin: 12px 0 0; font-size: 0.78rem; color: var(--ink-mute); }

/* ------------------------------------------------------------------- news */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}
/* A post tile: picture, date, headline, opening paragraph, read-more cue. The headline's
   anchor is stretched over the whole tile, so the picture, the copy and the cue are one
   target with one tab stop, and the cue is decoration repeating what the anchor says.
   Cards in a row share a height and the cue sits on the bottom edge, which keeps four
   rows of a listing aligned however unevenly the titles and openings run. */
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.news-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.news-card-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--bg-soft);
}
.news-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 18px 20px 22px;
}
.news-card-date {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-mute);
}
.news-card-title { margin: 12px 0 0; font-size: 1.15rem; line-height: 1.22; }
.news-card-title a { color: var(--ink); }
.news-card-title a::after { content: ""; position: absolute; inset: 0; }
.news-card-excerpt {
  margin: 13px 0 0;
  font-size: 0.9rem;
  line-height: 1.46;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-more {
  margin-top: auto;
  padding-top: 24px;
  font-size: 0.86rem;
  color: var(--accent);
}
.news-card:hover .news-card-more { text-decoration: underline; text-underline-offset: 3px; }

/* A post without a picture has to fill the tile with words instead: the opening runs to
   nine lines, so the tile still reaches the height of its pictured neighbours. */
.news-card-text .news-card-excerpt { -webkit-line-clamp: 9; }

.article { max-width: 780px; }
.article-meta { font-size: 0.84rem; color: var(--ink-mute); }
.article-figure { margin: 0 0 24px; }
.article-figure img { width: 100%; border-radius: var(--radius); }
.article-nav { margin-top: 32px; }

/* ------------------------------------- a post that opens on two columns */
/* The blog article mirrors the project page: a tinted band with the words on the left and
   the post's photograph on the right, then the reading column with its sidebar. The
   newsroom keeps the single-column article, so only this template uses these rules. */

.post-hero-band { background: var(--bg-soft); padding-block: clamp(18px, 3vw, 34px) clamp(28px, 4vw, 52px); }
.post-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(16px, 2.4vw, 28px);
}
.post-hero-text { display: flex; flex-direction: column; gap: 12px; }
.post-hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.post-hero-title { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.16; }
.post-hero-lead { margin: 0; font-size: clamp(1rem, 1.2vw, 1.08rem); line-height: 1.7; color: var(--ink-soft); }
.post-hero-meta { margin: 0; font-size: 0.88rem; color: var(--ink-mute); }
.post-hero-media { margin: 0; }
.post-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg);
}
.post-body { padding-block: clamp(26px, 4vw, 46px); }

@media (max-width: 860px) {
  .post-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .post-hero-media { order: -1; }
}

/* ------------------------------------------------- article sidebar (right) */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: clamp(22px, 3vw, 40px);
  /* The sidebar is stretched to the article's height so the inquiry form inside it
     has somewhere to travel; stretching is what makes `position: sticky` on that one
     card work while the more-posts list scrolls away with the page. */
  align-items: stretch;
  /* A short post leaves the sidebar as the tallest column and the form would have a
     few pixels of travel, i.e. look broken. One screen of reading column guarantees
     the form can stay pinned while the text scrolls past. */
  min-height: calc(100vh - 130px);
}
.article-main { min-width: 0; }
/* The body owns the column it is given: the reading measure is capped by the layout,
   not by a second max-width that would leave a gap before the sidebar. */
.article-main .article,
.article-main .prose { max-width: none; }
.article-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.aside-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
/* Only the form follows the reader. The posts list above it stays where it is. */
.aside-inquiry {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.aside-title {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.aside-lead { font-size: 0.88rem; color: var(--ink-soft); margin: 0 0 14px; }
.aside-posts { display: flex; flex-direction: column; gap: 10px; }
.aside-posts a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
}
.aside-posts a:hover .aside-post-title { color: var(--accent); }
.aside-post-thumb {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-soft);
}
.aside-post-thumb-empty { display: block; }
.aside-post-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.aside-post-title {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.aside-post-body time { font-size: 0.74rem; color: var(--ink-mute); }
/* The inquiry form is the wide-layout form squeezed into a column: stack its fields
   and drop the button to full width. */
/* The inquiry form is the wide-layout form squeezed into a column: stack its fields,
   keep the whole card short enough to pin, and drop the button to full width. */
.aside-inquiry .inquiry-form { max-width: none; }
.aside-inquiry .form-grid { grid-template-columns: 1fr; gap: 0; }
.aside-inquiry .form-field { margin-bottom: 10px; }
.aside-inquiry textarea { height: 84px; min-height: 84px; }
.aside-inquiry .btn { width: 100%; }
.aside-inquiry .aside-lead { font-size: 0.84rem; margin-bottom: 12px; }

/* ------------------------------------------------------------------- prose */

.prose { max-width: 84ch; color: var(--ink-soft); }
.prose h2 { color: var(--ink); margin-top: 1.6em; }
.prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; list-style: revert; }
.prose li { margin-bottom: 0.35em; }
.prose img { border-radius: var(--radius-sm); margin-block: 1em; height: auto; }
.prose table { width: 100%; border-collapse: collapse; margin-block: 1em; }
/* A table written from the panel (shipping terms, payment terms) reads as a
   two-column definition list, so the first cell is the label column. */
.prose table th,
.prose table td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.prose table th { width: 30%; font-weight: 600; color: var(--ink); background: var(--bg-soft); }
.prose a { color: var(--accent); text-decoration: underline; }
.prose blockquote {
  margin: 1.4em 0;
  padding-left: 1em;
  border-left: 3px solid var(--line);
  color: var(--ink-mute);
}

/* ---------------------------------------------------------- product detail */

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.product-media { display: flex; gap: 12px; align-items: flex-start; }
.product-thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 460px;
  overflow-y: auto;
}
.product-thumbs .thumb {
  padding: 0;
  width: 64px; height: 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  overflow: hidden;
}
.product-thumbs .thumb[aria-selected="true"],
.product-thumbs .thumb:hover { border-color: var(--ink); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
/* The photo box follows the photo. The legacy catalogue is 4:5 as often as 1:1 (the
   loose-powder jars are 800×1000 among 1200×1200 neighbours), and a forced square left
   the portrait ones floating between empty bands. `min-height` reserves the row so the
   page does not jump while a legacy image loads, and the white mat makes the little
   letterboxing left on a clamped photo invisible — every photographed product sits on
   white. */
.product-figure {
  margin: 0;
  flex: 1;
  min-width: 0;
  min-height: clamp(220px, 34vh, 380px);
}
.product-figure img {
  width: 100%;
  height: auto;
  max-height: clamp(360px, 66vh, 660px);
  object-fit: contain;
  background: var(--bg);
  border-radius: var(--radius);
}

.product-summary h1 { margin-bottom: 0.35em; }
.product-model { font-size: 0.9rem; color: var(--ink-mute); }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 20px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-block: 12px 20px;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.spec-table th {
  width: 38%;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--bg);
}
/* The list under the title carries the whole sheet at once, on the page surface: the
   label column is white like the values, so the rows read as one sheet next to the
   photo and only the hairline under each row separates them. The last row closes it. */
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
/* Long values (a six-process decoration list) wrap under their label instead of
   stretching the summary column, and the rows keep a comfortable line height. */
.spec-table td { line-height: 1.5; }

.inquiry-inline {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 36px);
  margin-block: clamp(24px, 4vw, 48px);
}
.inquiry-inline h2 { margin-bottom: 0.3em; }
.inquiry-inline > p { color: var(--ink-soft); }

/* Contact-style page split: the address block and the map on the left, the inquiry
   form as a card on the right. The form column is a fixed band so the fields keep a
   comfortable measure instead of stretching to half a desktop screen; under 900px the
   two columns stack with the form last, which is the order the tab key already follows. */
.page-split {
  display: grid;
  gap: clamp(24px, 3.6vw, 44px);
  align-items: start;
}
@media (min-width: 900px) {
  .page-split { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); }
}
.page-split-main { min-width: 0; }
.page-split .inquiry-inline { margin-block: 0; }
/* Half a desktop screen is narrower than the full-width map, so the frame gives back
   height: a 556px column with a 460px-tall map reads as a picture, not a location. */
.page-split .page-map-frame { height: clamp(220px, 30vw, 360px); }
.page-split-main > .page-section:last-child { margin-bottom: 0; }

/* ------------------------------------------------- product detail sections */
/* Below the gallery the page is one column of sections with a table of contents
   beside it. The contents list is the only part that sticks, so the reading column
   keeps the full width of the container while the anchors stay in reach. */

.product-body {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}
.product-body.is-single { grid-template-columns: minmax(0, 1fr); }

.product-toc { position: sticky; top: 88px; align-self: start; min-width: 0; }
.product-toc-title {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.product-toc ol { display: flex; flex-direction: column; gap: 1px; border-left: 1px solid var(--line-soft); }
.product-toc a {
  display: block;
  padding: 6px 10px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.product-toc a:hover { color: var(--ink); border-left-color: var(--ink); text-decoration: none; }

.product-sections { min-width: 0; }
/* The header is sticky, so an anchor jump has to stop below it instead of under it. */
.product-sections > section { scroll-margin-top: 92px; }
.product-sections .video-embed { max-width: 760px; }
/* The product FAQ is a full-width block: the shared 62ch cap belongs to the narrow
   home tab, and inside this reading column it would leave half the row empty. The
   rows and their answers both use the column, like the Shipment and Payment tables. */
.product-sections .faq-list { max-width: none; }
.product-sections .faq-answer { max-width: none; }

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

.inquiry-form { max-width: 720px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.86rem;
  font-weight: 600;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.94rem;
  background: var(--bg);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-error { margin: 6px 0 0; font-size: 0.82rem; color: var(--danger); }
.form-hint { margin: 6px 0 0; font-size: 0.82rem; color: var(--ink-mute); }

/* File picker: a dashed drop target rather than a bare input, so the field reads as
   "send us your drawing" instead of as an afterthought under the message box. The
   native button stays visible — it is the only thing that opens the dialog without
   JavaScript — and it carries the brand colour, because choosing a file is the action
   this field is for. */
.form-field-file input[type="file"] {
  display: block;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 0.88rem;
  cursor: pointer;
}
.form-field-file input[type="file"]:hover { border-color: var(--accent); }
.form-field-file input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 14px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.form-field-file input[type="file"]::file-selector-button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
/* The files the picker holds, listed by the script so the visitor can check the set
   before sending; without the script the input itself lists them. */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.file-list li { display: flex; justify-content: space-between; gap: 12px; }
.file-list .file-size { color: var(--ink-mute); white-space: nowrap; }
.file-list .file-over { color: var(--danger); }
.form-privacy { font-size: 0.78rem; color: var(--ink-mute); }
.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--danger-tint);
  border: 1px solid var(--danger-line);
  color: var(--danger-ink);
  font-size: 0.9rem;
}
.inquiry-product { font-size: 0.9rem; color: var(--ink-soft); }
.inquiry-product a { color: var(--accent); text-decoration: underline; }

/* Honeypot: present for bots, invisible and unreachable for people. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-search { margin-bottom: 32px; max-width: 560px; }
.page-search input { flex: 1; width: auto; }

/* --------------------------------------------------------------- taxonomy */

/* Topic chips are the brand colour like the other tab controls: the listing you are on is
   filled, the rest are outlines of the same colour, so the row reads as one control group. */
.taxonomy-nav { margin-block: 0 clamp(24px, 3vw, 36px); }
.taxonomy-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
.taxonomy-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--accent);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.taxonomy-nav a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
/* The chip for the listing you are on. The leading "all posts" chip is the same rule,
   so the reader can see that the index is one of the choices. */
.taxonomy-nav a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.taxonomy-nav a[aria-current="page"]:hover { color: #fff; }

/* ------------------------------------------------------- catalogue sidebar */

.catalog-layout {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
.catalog-aside { min-width: 0; position: sticky; top: 84px; align-self: start; }
.catalog-aside-title {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.catalog-tree { display: flex; flex-direction: column; gap: 1px; font-size: 0.93rem; }
.catalog-tree a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-soft);
  line-height: 1.35;
}
.catalog-tree a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.catalog-tree a[aria-current="page"] { background: var(--ink); color: #fff; }
.catalog-tree-count { color: var(--ink-mute); font-size: 0.76rem; font-variant-numeric: tabular-nums; }
.catalog-tree a[aria-current="page"] .catalog-tree-count { color: rgba(255, 255, 255, 0.7); }
.catalog-tree-sub {
  margin: 2px 0 6px 10px;
  padding-left: 8px;
  border-left: 1px solid var(--line-soft);
  font-size: 0.88rem;
}
.catalog-main { min-width: 0; }

/* Sections that live inside `.page` must not paint the full-bleed bands `.section`
   uses on the home page: inside a max-width container the bands stop at the
   container edge and read as a layout bug. */
.page-section { margin-bottom: clamp(28px, 4vw, 44px); }
.page-section > h2 { margin-bottom: 0.5em; font-size: 1.15rem; }

/* The map is a card of its own: a fixed height rather than an aspect ratio, so a wide
   desktop column and a phone column both get a readable map instead of a letterbox. */
.page-map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  height: clamp(260px, 40vw, 460px);
}
.page-map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.page-map-link { margin-top: 10px; font-size: 0.86rem; }
.page-map-link a { color: var(--accent); text-decoration: underline; }

/* ------------------------------------------------------------- pagination */

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.pagination ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.pagination li { display: inline-flex; }
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px; height: 38px;
  padding-inline: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}
.pagination a:hover { border-color: var(--ink); color: var(--ink); }
.pagination [aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination-gap { min-width: 24px; text-align: center; color: var(--ink-mute); }

/* --------------------------------------------------------------- cta band */
/* A full-bleed rose banner that fades from --rose-band-top at the top to
   --rose-band-bottom where it meets the page, a centred uppercase heading over a
   centred lead, and the action on the page below it. `is-boxed` shrinks the same
   banner to a card. */

.section.cta-band { background: none; padding-block: 0; }
/* The closing banner on every page is the brand colour, deepening down the band; the copy
   and both actions are white on it so the block reads as the loudest thing on the page. */
.cta-banner {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding-block: clamp(40px, 7vw, 88px);
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vw, 20px);
  text-align: center;
}
.cta-title {
  margin: 0;
  font-size: clamp(1.6rem, 3.6vw, 2.75rem);
  line-height: 1.28;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  max-width: 24ch;
}
.cta-lead {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 68ch;
}
.cta-band.is-boxed { padding-block: clamp(28px, 4vw, 52px); }
.cta-band.is-boxed .cta-banner {
  border-radius: var(--radius);
  padding-block: clamp(32px, 5vw, 64px);
}
.cta-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  /* The section has no padding of its own, so the gap under the buttons — the one the
     next block starts from — is owned here. */
  padding-block: clamp(20px, 3vw, 32px) clamp(32px, 5vw, 56px);
}
/* On the crimson band the filled action turns white with the accent in its label, and the
   quieter twin becomes an outline, so neither disappears into the background. */
.cta-button {
  background: var(--bg);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.8rem 1.8rem;
  /* A transparent border keeps the outlined twin exactly the same size as the filled
     one, so the pair sits on one baseline instead of two. */
  border: 1px solid transparent;
  border-radius: 4px;
}
.cta-button:hover { background: var(--rose-tint); color: var(--accent-dark); }
/* Browsing first is the quieter action, so it is outlined rather than filled. */
.cta-button-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.cta-button-secondary:hover { background: var(--bg); border-color: var(--bg); color: var(--accent); }

/* --------------------------------------------------------------- partners */
/* The list is long, so it is clipped to two rows and paged sideways instead of stacking
   five rows between two sections. The arrows sit beside the heading; they are a script
   enhancement, so without it the track is still an ordinary horizontal scroller. */

/* The band is tighter than a normal section: the heading sits close to its logos, and the
   strip leaves less air underneath than the padding above it. */
.section.partners { padding-block: clamp(30px, 4vw, 52px) clamp(20px, 2.6vw, 32px); background: var(--bg); }

.partners-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.2vw, 26px);
}
.partners-head-text { min-width: 0; }
.partners-title {
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.partners-lead { color: var(--ink-soft); margin: 8px 0 0; max-width: 62ch; }

.partners-pager-group { display: none; gap: 8px; flex: 0 0 auto; }
.partners-block.is-paged .partners-pager-group { display: flex; }
.partners-pager {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
}
.partners-pager:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.partners-pager:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.partners-pager:disabled { opacity: 0.3; cursor: default; }
.partners-pager svg { display: block; }

/* Two rows, one page per screenful of columns. The column width is derived from the
   container — `--partner-cols` columns plus the gaps between them fill it exactly — so a
   page edge always lands on a column edge. A fixed column width could not: the leftover
   pixels at the right of the last column left the trailing logo clipped by the container. */
.partner-grid {
  --partner-cols: 3;
  --partner-gap-x: clamp(18px, 2.6vw, 40px);
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-columns: calc((100% - (var(--partner-cols) - 1) * var(--partner-gap-x)) / var(--partner-cols));
  column-gap: var(--partner-gap-x);
  row-gap: clamp(16px, 2vw, 26px);
  align-items: center;
  justify-content: start;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0 4px;
}
.partner-grid::-webkit-scrollbar { display: none; }
/* Wide screens carry more logos per page: the column count is the one number the
   breakpoints change, and the widths follow from it. */
@media (min-width: 640px) { .partner-grid { --partner-cols: 4; } }
@media (min-width: 900px) { .partner-grid { --partner-cols: 5; } }
@media (min-width: 1120px) { .partner-grid { --partner-cols: 6; } }
.partner-grid > li {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding-inline: 2px;
  scroll-snap-align: start;
}
.partner-grid img {
  max-width: 100%;
  max-height: clamp(38px, 4vw, 52px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.2s, opacity 0.2s;
}
.partner-grid img:hover { filter: none; opacity: 1; }

@media (max-width: 640px) {
  .partners-head { align-items: flex-start; }
  .partners-pager-group { margin-top: 4px; }
}

/* ---------------------------------------------------------- certificates */

.certificate-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 32px);
  justify-content: center;
}
.certificate-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.certificate-media {
  display: block;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.certificate-media img { display: block; width: 200px; height: auto; }
.certificate-tile a.certificate-media:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(16, 20, 24, 0.16); }
.certificate-name { font-size: 0.82rem; color: var(--ink-mute); text-align: center; }

/* --------------------------------------------------------------- embeds */
/* A YouTube embed written from the panel: the wrapper owns the 16:9 box, so the article
   body needs no inline sizing and the player stays responsive at any width. */

.video-embed {
  position: relative;
  margin: 1.6em 0;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

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

.site-footer { background: var(--bg-deep); color: rgba(255, 255, 255, 0.72); margin-top: 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: clamp(24px, 4vw, 48px);
  padding-block: clamp(36px, 5vw, 64px);
}
.footer-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-brand p { font-size: 0.9rem; max-width: 42ch; }
/* The footer used to print the site name; a configured logo replaces it, at the same
   optical weight the text had (34px tall, the cap height of the 0.86rem label). */
.footer-logo { display: block; width: auto; height: 34px; max-width: 200px; object-fit: contain; margin-bottom: 14px; }
.footer-label { color: rgba(255, 255, 255, 0.45); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-right: 6px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 20px;
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  /* Social buttons on the left, the copyright pushed to the right. */
  justify-content: space-between;
}
.footer-copyright { margin: 0; margin-left: auto; text-align: right; }
.footer-social-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.82);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.social-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  text-decoration: none;
}

.empty { color: var(--ink-mute); padding-block: 24px; }

/* --------------------------------------------------------------- page banner */
/* A page that opens on a photo — about-us and faq — uses one component: the block's
   image full width, the caption riding on it like the home hero, and no breadcrumb
   strip above it. */
.page-hero { position: relative; background: var(--bg-deep); }
.page-hero-image { width: 100%; height: clamp(320px, 42vw, 520px); object-fit: cover; }
.page-hero-body { max-width: 56ch; color: rgba(255, 255, 255, 0.9); }
.page-hero-body p { margin: 0 0 0.6em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3); }
.page-hero-body p:last-child { margin-bottom: 0; }
/* Without a photo the same markup stands on the dark band instead of over one. */
.page-hero.is-flat { padding-block: clamp(44px, 6vw, 84px); }
.page-hero.is-flat .hero-caption {
  position: static;
  inset: auto;
  max-width: var(--container);
  margin-inline: auto;
  padding-block: 0;
}

/* --------------------------------------------------------------- about page */
/* Four sections, each fed by a content block in 内容区块: hero banner, company intro
   with the video slot, the figure strip and the why-choose-us list, then the factory
   showcase. Bands are explicit surfaces rather than the automatic alternation `.section`
   applies, so the rhythm stays a decision instead of a side effect of the DOM order. */

.about-band { padding-block: clamp(38px, 6vw, 76px); background: var(--bg); }

/* Company intro: copy on the left, the video (or its poster) on the right. */
.about-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
.about-split.is-single { grid-template-columns: minmax(0, 1fr); }
.about-split-copy h2 { margin-bottom: 0.6em; }
.about-split-media img { width: 100%; border-radius: var(--radius); }
/* 16:9 keeps the player's own ratio, so the copy column and the frame line up. */
.about-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-deep);
}
.about-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 为什么选择我们: each list item is a card, so the operator writes a plain list in the
   editor and the page lays it out. */
.about-cards { max-width: none; }
.about-cards ul,
.about-cards ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  padding-left: 0;
  margin: 0;
  list-style: none;
}
.about-cards.is-wide ul,
.about-cards.is-wide ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-cards li {
  margin: 0;
  padding: clamp(18px, 2.2vw, 26px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about-cards li strong { display: block; margin-bottom: 6px; font-size: 1rem; color: var(--ink); }
.about-cards p { max-width: 74ch; }

/* The figures the catalogue can prove: items, families, decoration processes, years.
   They stand on their own between the company intro and the why-choose-us list, so the
   proof is visible without a heading around it. */
.about-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(16px, 3vw, 32px);
  margin: 0;
}
.about-figure-value { display: block; font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.05; color: var(--accent); }
.about-figure-label { display: block; margin-top: 8px; font-size: 0.82rem; line-height: 1.5; color: var(--ink-soft); }

/* 展示工厂和设备 / 生产流程: the heading keeps the left column and the four proof points
   answer it from a 2×2 grid on the right, the way the reference composition reads. The
   opening line runs full width under both, then the six stages of an order stand as
   captioned photographs, three across. The band stays on the page surface rather than the
   cream one: the photographs already carry the tone. */
.about-make-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.about-make-head.is-single { grid-template-columns: minmax(0, 1fr); }
.about-make-copy { display: flex; flex-direction: column; align-items: flex-start; }
.about-make-title { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.15rem); line-height: 1.15; text-wrap: balance; }
.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px) clamp(18px, 3vw, 40px);
  margin: 0;
}
/* Each proof point is its own card: the four answer the heading side by side rather than
   running together as one paragraph of figures. Same hairline and radius as the
   why-choose-us cards above, so the two grids read as one family. */
.about-point {
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2.2vw, 24px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.about-point-value { display: block; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.05; }
.about-point-body { margin-top: 8px; font-size: 0.86rem; line-height: 1.55; color: var(--ink-soft); }
.about-point-body p { margin: 0; }
.about-point-body p + p { margin-top: 4px; }
.about-point-body strong { font-weight: 600; color: var(--ink); }
/* The opening line sits under the heading it explains, and the button that turns the
   explanation into an inquiry sits under that — the left column is one argument, the right
   column is the numbers backing it. */
.about-make-lead { max-width: 46ch; margin: clamp(12px, 1.6vw, 18px) 0 0; }
.about-make-lead p { margin: 0; color: var(--ink-soft); }
.about-make-action { margin: clamp(18px, 2.4vw, 26px) 0 0; }
.about-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 30px) clamp(14px, 2vw, 26px);
  margin: clamp(28px, 4vw, 48px) 0 0;
}
.about-step-title { margin: 10px 0 0; font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.about-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--bg-soft); }

/* ---------------------------------------------------- factory tour page */
/* The tour follows the walk through the plant: the banner, the workshops you pass
   through, the four stages an order moves through, three more areas, the questions
   buyers ask, and the closing request. Every band sits on the page surface and each is a
   different composition — cards, a numbered list, wide rows, an accordion — so scrolling
   it never repeats itself and the sections are separated by space rather than by tone. */

.factory-band { padding-block: clamp(38px, 6vw, 76px); background: var(--bg); }

.factory-head { margin-bottom: clamp(20px, 3vw, 34px); }
.factory-head h2 { margin-bottom: 0.4em; max-width: 30ch; }
.factory-head p { margin: 0; max-width: 74ch; color: var(--ink-soft); }

/* The hero carries two sentences of copy above the actions, so the caption needs a
   wider measure than the shared one — otherwise it wraps into a narrow column over the
   photograph — and on a phone the banner has to be tall enough for the caption to sit
   over it instead of climbing under the sticky header. */
.factory-hero-lead { max-width: 74ch; }
.factory-hero-lead p { font-size: clamp(0.95rem, 1.1vw, 1.02rem); line-height: 1.6; }

@media (max-width: 700px) {
  .factory-page .page-hero-image { height: clamp(430px, 108vw, 520px); }
  .factory-page .hero-caption { padding-block: 20px; gap: 8px; }
}

/* Workshops: three photographs, each with what happens there. */
.factory-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 34px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.factory-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.factory-card h3 { margin: 16px 0 0.4em; font-size: 1.02rem; }
.factory-card p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; }

/* The four stages of an order. The number is part of the operator's copy ("01 — …"),
   so the list is a real <ol> and the figures stay in the text, not in a decoration. */
.factory-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px) clamp(28px, 4vw, 60px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.factory-step-number {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
}
.factory-step h3 { margin: 0 0 0.5em; font-size: 1.02rem; }
.factory-step p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; max-width: 54ch; }

/* More areas: wide rows that alternate the side the photograph sits on, so this band
   reads differently from the three-up cards above it. */
.factory-views {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.factory-view {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 48px);
  align-items: center;
}
.factory-view:nth-child(even) img { order: 2; }
.factory-view img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.factory-view-copy h3 { margin: 0 0 0.5em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.factory-view-copy p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; max-width: 52ch; }

/* The questions use the panel's accordion, with two changes for this page: the list
   takes the whole column, and each row is a filled surface rather than an outlined box.
   The fill is one step off the page surface, because these rows sit on white: a white
   card on white ground would read as nothing at all. */
/* The questions use the same white rows on every page: one white card per question with a
   hairline frame, whatever band it sits on. */
.factory-page .faq-list { max-width: none; }
.factory-page .faq-answer { max-width: 86ch; }
.factory-page #factory-faq { scroll-margin-top: 90px; }

/* The closing band's heading is a full sentence, so it keeps a wider measure than the
   home page's short call to action, and the action sits inside the banner under the copy
   rather than in the strip below it. */
.factory-page .cta-title { max-width: 44ch; }
.factory-page .cta-inner .cta-button { margin-top: clamp(4px, 0.8vw, 8px); }

/* ------------------------------------------------------- how-we-work page */
/* The page is one long sequence, so it is set as one centred column. The introduction is
   left-aligned and its left edge is the rail the numbers sit on; each stage is a numbered
   circle plus a bordered card, so the whole sequence reads as one list down the page
   rather than ten separate blocks. */

.work-hero .hero-sub { max-width: 62ch; }
/* The banner photograph is a bright product shot, so it takes the deeper scrim: 16px copy
   over a light image needs more than the shared 0.45 to clear 4.5:1. */
.work-hero .hero-overlay { background: var(--scrim-strong); }
/* The title stays the dominant thing on the first screen, larger than on the pages whose
   banner is the subject, and it keeps that weight when the banner has no photograph. */
.work-hero .hero-title { font-size: clamp(2.2rem, 5vw, 4.6rem); }
@media (max-width: 700px) {
  .work-hero .page-hero-image { height: clamp(430px, 108vw, 520px); }
  .work-hero .hero-caption { padding-block: 20px; gap: 8px; }
}
.work-band { padding-block: clamp(38px, 6vw, 76px); background: var(--bg); }

.work-head { margin-bottom: clamp(20px, 3vw, 34px); }
.work-head h2 { margin-bottom: 0.4em; max-width: 30ch; }
.work-head p { margin: 0; max-width: 68ch; color: var(--ink-soft); }

/* The composition is centred on the page: one column, everything inside it sharing the
   same left edge. `--rail` is the circle's diameter plus the gap, so the cards start
   exactly one rail in and the introduction lines up with the circles above the cards. */
.work-flow {
  --rail: clamp(44px, 4.6vw, 56px);
  --rail-gap: clamp(14px, 2.2vw, 26px);
  max-width: 760px;
  margin-inline: auto;
}
.work-intro {
  margin: 0 0 clamp(30px, 4.4vw, 54px);
  padding-left: 0;
}
.work-intro h2 {
  margin: 0 0 0.5em;
  max-width: 26ch;
}
.work-intro p {
  margin: 0;
  max-width: 64ch;
  color: var(--ink-soft);
}

/* Each stage: a numbered circle on the rail, and the copy in a bordered card. */
.work-steps {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.work-step {
  display: grid;
  grid-template-columns: var(--rail) minmax(0, 1fr);
  gap: var(--rail-gap);
  align-items: start;
}
.work-step-number {
  display: grid;
  place-items: center;
  width: var(--rail);
  height: var(--rail);
  margin-top: 14px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.work-step-body {
  padding: clamp(16px, 2.2vw, 24px) clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.work-step-body h3 { margin: 0 0 0.5em; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.work-step-body p { margin: 0; color: var(--ink-soft); font-size: 1rem; line-height: 1.65; max-width: 70ch; }

@media (max-width: 560px) {
  .work-step-number { margin-top: 12px; }
  .work-step-body { padding: 16px 18px; }
}

/* The questions use the same white rows on every page. */
.work-page .faq-list { max-width: none; }
.work-page .faq-answer { max-width: 74ch; }
/* The closing heading is a sentence, so it keeps a readable measure; the two closing
   actions sit inside the banner, under the copy. */
.work-page .cta-title { max-width: 40ch; }
.cta-inner-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(4px, 0.8vw, 10px);
}

/* --------------------------------------------------- quality control page */

.qc-band { padding-block: clamp(38px, 6vw, 76px); background: var(--bg); }
.qc-band--tone { background: var(--cream); }

.qc-head { margin-bottom: clamp(20px, 3vw, 34px); }
.qc-head h2 { margin-bottom: 0.4em; max-width: 32ch; }
.qc-head p { margin: 0; max-width: 74ch; color: var(--ink-soft); }
/* The quality-system statement is the page's argument, so it is set at statement size in
   a single column — the one place on the page where the copy is not in a list. */
/* The quality statement beside the inspection bench: the copy says what the team does,
   the photograph shows where it happens. Stacked, the photograph follows the copy. */
.qc-commitment {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.qc-commitment.is-single { grid-template-columns: minmax(0, 1fr); }
.qc-commitment-copy { max-width: 78ch; }
.qc-commitment h2 { margin-bottom: 0.5em; }
.qc-commitment p { margin: 0 0 1em; font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.7; color: var(--ink-soft); }
.qc-commitment-action { margin: clamp(6px, 1vw, 12px) 0 0 !important; }
.qc-commitment-figure { margin: 0; }
.qc-commitment-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

/* Tabs as radio inputs: the labels are the tab buttons, keyboard-reachable natively, and
   the panels are all in the DOM so the checklists are readable with JavaScript off.
   The column is `minmax(0, 1fr)` so a panel can be narrower than its table: without it the
   grid item widens to the table's minimum and the checklist pushes the whole page sideways
   instead of scrolling inside its own frame. */
.qc-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.qc-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
/* The three categories are buttons in the brand colour: the one being read is filled, the
   other two keep the same colour as an outline so the row reads as one control group
   rather than one button and two labels. */
.qc-tablist { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.qc-tablist label {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--accent);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.qc-tablist label:hover { background: var(--rose-tint); }
/* Selected and focused states are keyed on the radio ids, the same way the home page's
   insights tabs are: the panels and labels are siblings behind the radios, so this needs
   no script and no `:has()`. */
#qc-tab-compact:checked ~ .qc-tablist label[for="qc-tab-compact"],
#qc-tab-lipstick:checked ~ .qc-tablist label[for="qc-tab-lipstick"],
#qc-tab-applicator:checked ~ .qc-tablist label[for="qc-tab-applicator"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
#qc-tab-compact:focus-visible ~ .qc-tablist label[for="qc-tab-compact"],
#qc-tab-lipstick:focus-visible ~ .qc-tablist label[for="qc-tab-lipstick"],
#qc-tab-applicator:focus-visible ~ .qc-tablist label[for="qc-tab-applicator"] {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.qc-panel { display: none; }
#qc-tab-compact:checked ~ .qc-panel[data-panel="compact"],
#qc-tab-lipstick:checked ~ .qc-panel[data-panel="lipstick"],
#qc-tab-applicator:checked ~ .qc-panel[data-panel="applicator"] { display: block; }
.qc-panel h3 { margin: 0 0 0.4em; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.qc-panel-lead { margin: 0 0 1em; max-width: 74ch; color: var(--ink-soft); }
.qc-panel-empty {
  margin: 0;
  padding: clamp(16px, 2.4vw, 24px);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 74ch;
}
/* The checklist table: the one place on the site where rows of rules are right, because
   a specification is tabular. It scrolls sideways on a phone instead of breaking, and the
   first column — the name of the check — carries the emphasis the others do not need. */
.qc-table { overflow-x: auto; background: var(--bg); border-radius: var(--radius); }
.qc-table table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 0.94rem; }
.qc-table th,
.qc-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}
/* The header row is the page surface and the body rows are the same, so the header is held
   apart by its rule and weight rather than by a tint. */
.qc-table thead th { background: var(--bg); font-weight: 600; white-space: nowrap; border-bottom: 1px solid var(--line-strong); }
.qc-table tbody td:first-child { color: var(--ink); font-weight: 500; }
.qc-table tbody tr:last-child td { border-bottom: 0; }
.qc-table caption { text-align: left; font-size: 0.86rem; color: var(--ink-mute); padding-bottom: 8px; }

/* The questions close the page across the full container width: the rows use the whole
   column while the heading and the answer text keep their readable measures inside it. */
.qc-faq-block .qc-head h2 { max-width: none; }
.qc-faq-block .faq-list { max-width: none; }

/* The certificates reuse the home page's tiles; here they sit under the copy. */
.qc-certificates { margin-top: clamp(18px, 2.6vw, 30px); }

/* The closing heading is a sentence like the other marketing pages, so it takes the same
   wider measure instead of the home page's short call to action. */
.qc-page .cta-title { max-width: 44ch; }

/* -------------------------------------------------------- case studies */
/* The listing is a grid of finished projects: a photograph, the project title, what was
   made, and a way in. The project page is a sheet — the facts the project fixed, set as a
   two-column table, beside the photograph. */

.case-hero { padding-block: clamp(44px, 6vw, 84px); }
.case-hero .hero-sub { max-width: 66ch; }
/* The listing banner is a doorway, not a poster: the photograph is the band (no padding
   around it), the caption sits in it at a smaller display size, and the overlay is the
   deeper scrim because the slide is a bright product shot. The first project card is meant
   to be visible on a laptop screen without scrolling. */
.case-hero--listing { padding-block: 0; }
.case-hero--listing .page-hero-image { height: clamp(280px, 26vw, 360px); }
.case-hero--listing .hero-overlay { background: var(--scrim-strong); }
.case-hero--listing .hero-caption { padding-block: clamp(18px, 2.6vw, 30px); gap: 8px; }
.case-hero--listing .hero-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); max-width: 30ch; }
.case-hero--listing .hero-sub { font-size: clamp(0.95rem, 1.05vw, 1.02rem); line-height: 1.55; max-width: 70ch; }
@media (max-width: 700px) {
  .case-hero--listing .page-hero-image { height: clamp(300px, 84vw, 360px); }
  .case-hero--listing .hero-caption { padding-block: 16px; }
  .case-hero--listing .hero-title { font-size: 1.5rem; max-width: none; }
  .case-hero--listing .hero-sub { font-size: 0.92rem; line-height: 1.5; max-width: none; }
}

.case-band { padding-block: clamp(38px, 6vw, 76px); background: var(--bg); }
.case-band--tone { background: var(--cream); }

.case-head { margin-bottom: clamp(20px, 3vw, 34px); }
.case-head h2 { margin-bottom: 0.4em; max-width: 32ch; }
.case-head p { margin: 0; max-width: 74ch; color: var(--ink-soft); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(24px, 3.4vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-card { display: flex; flex-direction: column; }
.case-card-media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); }
.case-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.case-card:hover .case-card-media img { transform: scale(1.03); }
.case-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 16px;
}
.case-card-body h3 { margin: 0 0 0.5em; font-size: clamp(1.02rem, 1.4vw, 1.15rem); }
.case-card-body h3 a { color: var(--ink); }
.case-card-body h3 a:hover { color: var(--accent); }
.case-card-body p { flex: 1 1 auto; margin: 0 0 12px; color: var(--ink-soft); font-size: 0.96rem; line-height: 1.65; }
/* The link is pinned to the bottom of the card: cards in a row have the same height, so
   the six Read More labels line up across the grid however long each summary is. */
.case-more { margin-top: auto; align-self: flex-start; font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.case-more:hover { color: var(--accent-dark); }

/* The project page opens on the project itself: title and what was made on the left, the
   photograph on the right, so the first screen carries both the claim and the evidence. */
.case-hero--project .hero-caption { align-items: stretch; }
.case-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
}
.case-hero-text { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.case-hero-text .hero-sub { max-width: 56ch; }
.case-hero-media { margin: 0; }
.case-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.case-sheet { max-width: 78ch; }
.case-sheet h2 { margin-bottom: 0.6em; }
.case-specs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.case-specs th,
.case-specs td { padding: 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.55; }
.case-specs th { width: 34%; padding-right: 18px; font-weight: 600; color: var(--ink-mute); }
.case-specs tr:last-child th,
.case-specs tr:last-child td { border-bottom: 0; }
.case-note { margin: 14px 0 0; font-size: 0.95rem; color: var(--ink-soft); max-width: 66ch; }
.case-cta { margin: 22px 0 0; }
.case-grid--compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(18px, 2.6vw, 30px); }
.case-back { margin: 26px 0 0; }

/* The questions use the same white rows as the other marketing pages. */
.case-page .faq-list { max-width: none; }
.case-page .faq-answer { max-width: 74ch; }
.case-page .cta-title { max-width: 40ch; }

/* ---------------------------------- one case study */
/* A project page is the width of every other page (the container), not a narrow reading
   column: the hero sits on a tinted band so it separates from the body without a rule, the
   body runs at full width, and the page closes on the brand-colour quote band that bleeds
   to both edges. The body is the writer's own rich text, so the sections (project overview,
   the challenge, the solution, results) need no template support. */

.case-study-hero-band { background: var(--bg-soft); padding-block: clamp(18px, 3vw, 34px) clamp(28px, 4vw, 52px); }
.case-study-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: clamp(16px, 2.4vw, 28px);
}
.case-study-hero-text { display: flex; flex-direction: column; gap: 12px; }
.case-study-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.case-study-title { margin: 0; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.16; }
.case-study-lead { margin: 0; font-size: clamp(1rem, 1.2vw, 1.08rem); line-height: 1.7; color: var(--ink-soft); }
.case-study-hero-media { margin: 0; }
.case-study-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg);
}
.case-study-body-band { background: var(--bg); padding-block: clamp(30px, 5vw, 60px); }
.case-study-body { max-width: none; }

@media (max-width: 860px) {
  .case-study-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .case-study-hero-media { order: -1; }
}

/* The closing offer: the brand colour bled edge to edge, the copy centred on it and the
   button inverted, the same language as the closing band on every other page. */
.case-study-cta {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding-block: clamp(38px, 6vw, 76px);
}
.case-study-cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.case-study-cta-title { margin: 0; font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.25; color: #fff; max-width: 30ch; }
.case-study-cta-text { margin: 0; font-size: clamp(1rem, 1.1vw, 1.06rem); line-height: 1.7; color: rgba(255, 255, 255, 0.92); max-width: 78ch; }
.case-study-cta-action { margin-top: 6px; }


/* ---------------------------------- surface finishes page */
/* Eleven finishes sit in one sideways track rather than a wrapping grid: a finish is
   chosen by comparing it with the one next to it, so the row keeps its order and the
   arrows page by whole cards. Every card ends in its own Quote Now so a reader can act
   where the decision is made. */

.option-band { padding-block: clamp(38px, 6vw, 76px); background: var(--bg); }
.option-band--tone { background: var(--bg-soft); }
.option-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(20px, 3vw, 34px);
}
.option-head > div { max-width: 74ch; }
.option-head--stacked { align-items: flex-start; }
.option-head h2 { margin-bottom: 0.4em; }
.option-head p { margin: 0; color: var(--ink-soft); }
.option-nav { display: none; gap: 8px; flex: 0 0 auto; }
.option-band.is-paged .option-nav { display: flex; }
/* The paging arrows are the brand action colour like every other control on the page; the
   disabled end keeps the same shape at a third of the opacity, so the pair never jumps. */
.option-pager {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.option-pager:hover:not(:disabled) { background: var(--accent-dark); border-color: var(--accent-dark); }
.option-pager:disabled { opacity: 0.35; cursor: default; }
.option-carousel { position: relative; }
.option-track {
  display: flex;
  gap: clamp(14px, 2vw, 22px);
  margin: 0;
  padding-bottom: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.option-card {
  display: flex;
  flex: 0 0 clamp(240px, 26%, 300px);
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: start;
}
.option-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.option-card-media.is-empty { border-bottom: 1px dashed var(--line-strong); }
.option-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(16px, 2vw, 22px);
}
.option-card-body h3 { margin: 0; font-size: 1.02rem; }
.option-card-points { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.option-card-points li {
  position: relative;
  padding-left: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.option-card-points li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.option-card-action { margin-top: auto; }

/* The checks: photograph on one side, the five checks as a numbered run on the other. */
.verify-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
.verify-split.is-single { grid-template-columns: minmax(0, 1fr); }
.verify-copy h2 { margin-bottom: 0.5em; }
.verify-lead { margin: 0 0 clamp(18px, 2.4vw, 26px); color: var(--ink-soft); max-width: 60ch; }
.verify-list { display: flex; flex-direction: column; gap: clamp(14px, 2vw, 20px); margin: 0; }
.verify-list h3 { margin: 0 0 0.35em; font-size: 1rem; }
.verify-list p { margin: 0; font-size: 0.92rem; line-height: 1.65; color: var(--ink-soft); }
.verify-media { margin: 0; order: -1; }
.verify-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-soft);
}

/* Three collections, one card each, with the family's own button underneath. */
.family-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 32px);
  margin: 0;
}
.family-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.family-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-soft);
}
.family-card-media.is-empty { border-bottom: 1px dashed var(--line-strong); }
.family-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: clamp(18px, 2.4vw, 26px);
}
.family-card-body h3 { margin: 0; font-size: 1.05rem; }
.family-card-body p { margin: 0; font-size: 0.93rem; line-height: 1.65; color: var(--ink-soft); }
.family-card-body .btn { margin-top: auto; }
.faq-list-wide { max-width: none; }
.option-page .cta-title { max-width: 40ch; }

/* ------------------------------------------- customisation (capabilities) page */
/* The page argues one thing twice over: a pack you can customise without tooling, and a
   pack you tool when the shape is new. Two routes carry that argument with a photograph of
   what each produces, the two galleries let a buyer recognise a finish or a printing
   method by sight instead of by name, and the process reads left to right as one sequence
   rather than five separate cards. */

.cap-band { padding-block: clamp(38px, 6vw, 76px); background: var(--bg); }
.cap-band--tone { background: var(--bg-soft); }
.cap-head { max-width: 74ch; margin-bottom: clamp(20px, 3vw, 34px); }
.cap-head h2 { margin-bottom: 0.4em; }
.cap-head p { margin: 0; color: var(--ink-soft); }
.cap-head--centred { margin-inline: auto; text-align: center; }
.cap-foot { margin: clamp(24px, 3vw, 36px) 0 0; text-align: center; }

/* Two development routes side by side, each a card whose photograph is the route's own
   output: existing moulds decorated in several versions, and a tool beside the pack it
   produced. */
.cap-routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin: 0; }
.cap-route {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.cap-route-media { margin: 0; }
.cap-route-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-soft);
}
.cap-route-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(20px, 2.6vw, 30px);
}
.cap-route-body h3 { margin: 0; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.cap-route-body p { margin: 0; font-size: 0.96rem; line-height: 1.7; color: var(--ink-soft); }
.cap-route-body .btn { margin-top: auto; }

/* Finish and printing galleries: a captioned tile is a picture you can name. */
.cap-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px) clamp(14px, 2vw, 22px);
  margin: 0;
}
.cap-gallery--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cap-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
/* A finish with no photograph yet keeps its frame, so the grid does not reflow into a
   ragged row while the operator is still uploading. */
.cap-tile.is-empty::before {
  content: "";
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
}
.cap-tile-label {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

/* The process as one run: a numbered circle per stage with a rule joining them, so the
   page reads as a sequence. The rule is drawn behind the next circle, which paints over it. */
.cap-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 28px);
  margin: 0;
}
.cap-stage { position: relative; padding-top: 58px; }
.cap-stage-number {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}
.cap-stage:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 46px;
  right: calc(-1 * clamp(14px, 2.4vw, 28px));
  height: 1px;
  background: var(--line-strong);
}
.cap-stage h3 { margin: 0 0 0.45em; font-size: 1rem; }
.cap-stage p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }

/* Supplier advantages: three columns of argument, then the four figures that back them. */
.cap-advantages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin: 0; }
.cap-advantages h3 { margin: 0 0 0.5em; font-size: 1.05rem; }
.cap-advantages p { margin: 0; font-size: 0.94rem; line-height: 1.7; color: var(--ink-soft); }
.cap-figures {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  margin: clamp(28px, 4vw, 48px) 0 0;
  padding-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
/* The four figures sit under the advantages as one row of numbers: the value is the accent
   and stays on a single line at every width, so the strip reads as four claims rather than
   as four wrapping sentences. */
.cap-figure-value {
  display: block;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--accent);
  white-space: nowrap;
}
.cap-figure-label { display: block; margin-top: 6px; font-size: 0.82rem; line-height: 1.5; color: var(--ink-soft); }
.cap-faq-list { max-width: none; }
.cap-page .cta-title { max-width: 40ch; }

@media (max-width: 1100px) {
  .cap-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Four stages' worth of connector lines no longer reach their neighbour, so the run
     becomes a grid and the rules come off. */
  .cap-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: clamp(22px, 3vw, 34px); }
  .cap-stage:not(:last-child)::after { display: none; }
  .option-card { flex-basis: clamp(240px, 42%, 320px); }
}

@media (max-width: 900px) {
  .cap-routes { grid-template-columns: minmax(0, 1fr); }
  .cap-advantages { grid-template-columns: minmax(0, 1fr); }
  .cap-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-gallery--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Stacked, the checks photograph introduces the list instead of sitting beside it. */
  .verify-split { grid-template-columns: minmax(0, 1fr); }
  .verify-media { order: 0; }
  .family-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .option-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .cap-gallery,
  .cap-gallery--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-flow { grid-template-columns: minmax(0, 1fr); }
  .cap-figures { grid-template-columns: minmax(0, 1fr); }
  .family-cards { grid-template-columns: minmax(0, 1fr); }
  /* A phone shows one card at a time with the next peeking in, which is what tells a
     reader the row continues. */
  .option-card { flex-basis: 82%; }
}

@media (max-width: 900px) {
  .case-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .qc-commitment { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .qc-tablist label { padding: 9px 14px; font-size: 0.88rem; }
}

@media (max-width: 900px) {
  .factory-steps { grid-template-columns: minmax(0, 1fr); gap: clamp(20px, 4vw, 32px); }
  .factory-view,
  .factory-view:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .factory-view:nth-child(even) img { order: 0; }
  .factory-head h2 { max-width: none; }
}

/* -------------------------------------------------- leave a message widget */
/* A white card pinned to the bottom-right corner of every page: the icon tile carries the
   brand colour, the copy stays on the page surface. `<details>` owns the open state, so the
   panel still opens with the script blocked; with it, the form answers in place instead of
   leaving the page. */

.msg-widget {
  position: fixed;
  right: clamp(12px, 2.4vw, 26px);
  bottom: clamp(12px, 2.4vw, 26px);
  z-index: 35;
  max-width: calc(100vw - 24px);
}
.msg-widget-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: border-color 0.15s, box-shadow 0.2s, transform 0.15s;
}
.msg-widget-btn::-webkit-details-marker { display: none; }
.msg-widget-btn:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.msg-widget[open] .msg-widget-btn { border-color: var(--line-strong); }
/* The one coloured part of the widget: the icon tile in the brand colour with a white
   glyph, which is what makes the pill read as an action without turning the whole card
   into a button. */
.msg-widget-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
}
.msg-widget-labels { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.msg-widget-title { font-size: 0.86rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.msg-widget-sub { font-size: 0.78rem; line-height: 1.2; color: var(--ink-mute); }

/* The panel sits above the button and never outgrows the viewport. */
.msg-widget-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(420px, calc(100vw - 24px));
  max-height: min(78vh, 620px);
  overflow-y: auto;
  padding: clamp(14px, 2vw, 18px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(16, 20, 24, 0.18);
}
.msg-widget-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.msg-widget-close:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
  transform: rotate(90deg);
}
.msg-widget-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.msg-widget-close svg { display: block; }
.msg-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-right: 2px;
}
.msg-widget-heading { margin: 0; font-size: 0.98rem; font-weight: 700; color: var(--ink); }
.msg-widget-form { display: flex; flex-direction: column; gap: 10px; }
/* The reference draws the fields as soft grey blocks with no border, so the panel reads as
   one surface; focus is what outlines them. */
.msg-field input,
.msg-field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--bg-soft);
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
}
.msg-field input::placeholder,
.msg-field textarea::placeholder { color: var(--ink-mute); }
.msg-field input:focus,
.msg-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); background: var(--bg); }
.msg-field textarea { resize: vertical; min-height: 150px; }
.msg-widget-status { margin: 0; font-size: 0.84rem; line-height: 1.5; }
.msg-widget-status:empty { display: none; }
.msg-widget-status.is-error { color: var(--danger); }
.msg-widget-status.is-ok { color: var(--accent); }
.msg-widget-submit { width: 100%; }

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

@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .product-body { grid-template-columns: 176px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .split-block .split-inner { grid-template-columns: minmax(0, 1fr); }
  .split-block.is-reverse .split-media,
  .split-block.is-reverse .split-copy { order: 0; }
  .about-panel { grid-template-columns: minmax(0, 1fr); }
  .about.is-reverse .about-copy,
  .about.is-reverse .about-side { order: 0; }
  .craft-panel { grid-template-columns: minmax(0, 1fr); }
  .craft-section.is-reverse .craft-media,
  .craft-section.is-reverse .craft-copy { order: 0; }
  .factory-panel { grid-template-columns: minmax(0, 1fr); }
  .factory-section.is-reverse .factory-photos,
  .factory-section.is-reverse .factory-copy { order: 0; }
  .factory-photos img:nth-child(even) { margin-top: 0; }
  /* Stacked, there is no panel height to protect, so the teaser shows in full. */
  .about-body { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .nav-toggle { display: block; }
  /* Stacked, a flyout is an inline indent rather than a dropdown, so the chevron that
     promised a dropdown would be a lie. */
  .nav-list > .has-flyout > a::after { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px clamp(16px, 4vw, 40px) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .header-inner { position: relative; flex-wrap: wrap; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a { padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
  /* On small screens every level becomes an inline indent instead of a flyout. */
  .nav-flyout,
  .nav-flyout-sub {
    position: static;
    display: block;
    min-width: 0;
    margin: 0 0 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-flyout li > a { padding: 7px 0 7px 12px; border-bottom: 1px solid var(--line-soft); }
  .nav-flyout-sub li > a { padding-left: 26px; }
  .nav-flyout-sub li > a { padding-left: 26px; }
  .nav-flyout li.has-children > a > span::after { display: none; }
  /* Stacked, the pill takes the row and the field grows; the icon stays inside it. */
  .nav-search { width: 100%; }
  .nav-search input { width: auto; flex: 1 1 auto; }
  .product-media { flex-direction: column-reverse; }
  .product-thumbs { flex-direction: row; max-height: none; overflow-x: auto; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-aside { position: static; }
  .catalog-tree {
    border-bottom: 1px solid var(--line-soft);
    padding-bottom: 10px;
  }
  .catalog-tree-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
  }
  .catalog-tree-sub a { padding: 5px 9px; border: 1px solid var(--line); }
  .categories .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-split { grid-template-columns: minmax(0, 1fr); }
  .about-cards ul,
  .about-cards ol,
  .about-cards.is-wide ul,
  .about-cards.is-wide ol { grid-template-columns: minmax(0, 1fr); }
  /* Stacked, the proof points answer the heading from below rather than beside it, and
     the stages fall to two across — a 4:3 photograph at a third of a phone width is a
     thumbnail, not a look at the plant. */
  .about-make-head { grid-template-columns: minmax(0, 1fr); }
  .about-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; min-height: 0; }
  .aside-inquiry { position: static; max-height: none; overflow: visible; }
  /* Stacked, a sticky contents list would sit on top of the copy it points at, so it
     becomes a plain list above the sections. */
  .product-body { grid-template-columns: minmax(0, 1fr); }
  .product-toc { position: static; }
  .product-toc ol { flex-direction: row; flex-wrap: wrap; gap: 6px; border-left: 0; }
  .product-toc a { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; }
  .product-toc a:hover { border-color: var(--ink); }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .categories .category-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .about-points,
  .about-steps { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .product-card-title { font-size: 0.86rem; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; }
  .pagination { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
