/* ============================================================
   Jiangmen Shuizheng Sanitary Ware — English enquiry site
   Production stylesheet for the approved visual short edition.

   Colour values and type families follow the exploratory visual
   short edition and are NOT a locked brand standard.
   Palette not final. Official trademark file is still pending.
   ============================================================ */

:root {
  /* palette not final — exploratory values from the approved visual short edition */
  --night: #0F0B14;
  --night-2: #18121F;
  --night-3: #221A2C;
  --brand-deep: #5C1B8A;
  --brand: #6E24A3;
  --brand-hover: #7B2BB3;
  --glow: #C84BDE;
  --cyan: #2EC8D8;
  --fog: #F3F1F5;
  --fog-2: #EAE6EF;
  --paper: #FFFFFF;
  --photo-ground: #FBFBFA;
  --ink: #16121C;
  --ink-soft: #5E5868;
  --ink-faint: #8A8494;
  --line: #E4DFE8;
  --line-strong: #CFC8D6;
  --on-night: #F4F0F7;
  --on-night-soft: #C8C0D4;
  --focus: #2EC8D8;
  --danger: #9B1C3A;
  --success: #1F6B4A;

  --font-display: "Outfit", "Noto Sans SC", sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", "Noto Sans SC", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-cn: "Noto Sans SC", "Noto Sans CJK SC", sans-serif;

  --container: 1200px;
  --gutter: 24px;
  --pad-x: 72px;
  --radius: 2px;
  --header-h: 72px;
  --shadow-card: 0 1px 0 rgba(22, 18, 28, 0.04), 0 10px 28px -18px rgba(22, 18, 28, 0.35);
}

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

html { scroll-behavior: auto; }

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

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--cyan);
  color: var(--night);
  padding: 8px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { top: 12px; }

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

.wrap {
  width: 100%;
  max-width: calc(var(--container) + var(--pad-x) * 2);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding: 72px 0 64px; }
.section--tight { padding: 56px 0; }
.section--fog { background: var(--fog); }
.section--paper { background: var(--paper); }
.section--night { background: var(--night); color: var(--on-night); }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 12px;
  font-weight: 500;
}
.section--night .kicker,
.cta-band .kicker { color: var(--glow); }

.section h2,
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0;
}
.section--night .lead,
.cta-band .lead { color: var(--on-night-soft); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 32px;
}
.section-head .lead { margin-top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  color: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(200, 75, 222, 0.45);
}
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn-secondary.on-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.78);
}
.btn-secondary.on-dark:hover {
  background: #fff;
  color: var(--night);
  border-color: #fff;
}
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  min-height: 44px;
}
.btn-text::after { content: "→"; font-weight: 400; }
.btn-text:hover { color: var(--brand-deep); }

/* ---------- Header ---------- */
.site-header {
  background: var(--night);
  color: var(--on-night);
  border-bottom: 1px solid rgba(200, 75, 222, 0.42);
  position: relative;
  z-index: 40;
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--glow) 18%, var(--cyan) 52%, var(--glow) 82%, transparent 100%);
  opacity: 0.85;
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  min-height: var(--header-h);
  gap: 32px;
}
.logo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 0 0 auto;
  padding: 8px 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(244, 240, 247, 0.45);
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  color: rgba(244, 240, 247, 0.55);
}
.logo-stack { display: flex; flex-direction: column; gap: 3px; padding-top: 2px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; gap: 2px; }
.logo-cn {
  font-family: var(--font-cn);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.logo-en {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--on-night-soft);
}
.logo-note {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.03em;
  color: #C8C0D4;
  line-height: 1.3;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
  flex: 1 1 auto;
}
.nav a,
.nav-item {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--on-night);
  padding: 8px 12px;
  border-radius: var(--radius);
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav a:hover,
.nav-item:hover,
.nav a:focus-visible,
.nav-item:focus-visible { color: #fff; }
.nav a[aria-current="page"]::after,
.nav-item[aria-current="page"]::after,
.nav-dd.is-current .nav-item::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--glow);
}

.nav-item { display: flex; align-items: center; gap: 6px; }
.nav-item .chev { font-size: 9px; opacity: 0.8; }
.nav-dd { position: relative; }
.nav-dd-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: var(--night-2);
  border: 1px solid rgba(200, 75, 222, 0.28);
  padding: 8px 0;
  z-index: 20;
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}
.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu,
.nav-dd.is-open .nav-dd-menu { display: block; }
.nav-dd-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--on-night);
}
.nav-dd-menu a:hover,
.nav-dd-menu a:focus-visible { background: rgba(200, 75, 222, 0.12); color: #fff; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.lang-slot {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #9B92A8;
  border: 1px dashed rgba(155, 146, 168, 0.7);
  padding: 4px 8px;
  border-radius: var(--radius);
  user-select: none;
}
.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--on-night);
}
.header-wa:hover { color: var(--cyan); }
.header-tools .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--night-2);
  border-bottom: 1px solid rgba(200, 75, 222, 0.35);
  padding: 8px 0 20px;
  z-index: 30;
  max-height: calc(100vh - 60px);
  overflow: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a,
.mobile-nav .nav-acc-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px var(--pad-x);
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--on-night);
  background: none;
  border: 0;
  cursor: pointer;
}
.mobile-nav a:hover,
.mobile-nav .nav-acc-btn:hover { background: rgba(200, 75, 222, 0.12); }
.mobile-nav .sub a { padding-left: calc(var(--pad-x) + 16px); font-size: 15px; color: var(--on-night-soft); }
.mobile-nav .sub { display: none; }
.mobile-nav .acc.is-open .sub { display: block; }
.mobile-nav .tools {
  padding: 16px var(--pad-x) 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(200, 75, 222, 0.25);
  margin-top: 8px;
}
.mobile-nav .tools .btn { width: 100%; }
.mobile-nav .contact-lines {
  font-size: 14px;
  color: var(--on-night-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav .contact-lines a { display: inline; padding: 0; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.mobile-nav .lang-slot { align-self: flex-start; }

body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 82% 18%, rgba(110, 36, 163, 0.38), transparent 60%),
    radial-gradient(700px 420px at 8% 88%, rgba(46, 200, 216, 0.10), transparent 55%),
    radial-gradient(1200px 600px at 50% 120%, rgba(92, 27, 138, 0.28), transparent 60%),
    var(--night);
  color: var(--on-night);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244,240,247,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,240,247,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 92%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 64px 0 56px;
  position: relative;
  z-index: 2;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 58px;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 16ch;
}
.hero-copy h1 .rail {
  display: block;
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, var(--glow), var(--cyan));
  margin: 18px 0 0;
  box-shadow: 0 0 12px rgba(200, 75, 222, 0.45);
}
.hero-copy .lead {
  font-size: 18px;
  color: var(--on-night-soft);
  max-width: 42em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-stage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 420px;
}
.hero-stage .ph-photo:first-child { grid-row: 1 / span 2; }

/* Desktop 1440 alignment: copy 120–540, photo card in the 540–850 gap, stage 850–1320 */
@media (min-width: 1344px) {
  .hero > .wrap.hero-inner {
    padding: 64px var(--pad-x) 56px;
    grid-template-columns: 420px 470px;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
  .hero-copy h1 { max-width: none; }
  .hero-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
  }
  .hero-art .hero-photo-card {
    position: absolute;
    /* At 1440px this is left: 548px. On wider screens it stays aligned to the 1344px wrap
       so copy remains 120–540 and the stage 850–1320 within that canvas. */
    left: calc(50% - 172px);
    top: 50%;
    transform: translateY(-50%);
    width: 292px;
    background: var(--photo-ground);
    box-shadow:
      0 0 0 1px rgba(200, 75, 222, 0.55),
      0 0 0 2px rgba(46, 200, 216, 0.22),
      0 24px 48px rgba(0,0,0,0.35);
    pointer-events: auto;
  }
  .hero-art .hero-photo-card img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    background: var(--photo-ground);
  }
  .hero-art .hero-photo-card figcaption {
    font-family: var(--font-mono);
    font-size: 9px;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: var(--ink-faint);
    text-align: center;
    padding: 6px 8px 8px;
  }
  .hero-art-mobile { display: none; }
}

.hero-photo-card {
  background: var(--photo-ground);
}
.hero-art-mobile { display: none; }

.hero-art .hero-photo-card img,
.hero-art-mobile .hero-photo-card img {
  background: var(--photo-ground);
  object-fit: contain;
}

/* Placeholders — typographic, white ground, no substitute photography */
.ph-photo {
  background: var(--photo-ground);
  border: 1px solid var(--line);
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  min-height: 200px;
  overflow: hidden;
}
.ph-photo__stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  background:
    linear-gradient(var(--photo-ground), var(--photo-ground)),
    linear-gradient(90deg, rgba(22,18,28,0.04) 1px, transparent 1px),
    linear-gradient(rgba(22,18,28,0.04) 1px, transparent 1px);
  background-size: auto, 16px 16px, 16px 16px;
}
.ph-photo__model {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 6px;
}
.ph-photo__name {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 22ch;
  margin-bottom: 14px;
}
.ph-photo__note,
.ph-photo__note-cn {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  max-width: 28ch;
}
.ph-photo__note-cn { font-family: var(--font-cn), var(--font-mono); }
.ph-photo--hero {
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(200, 75, 222, 0.55),
    0 0 0 2px rgba(46, 200, 216, 0.22),
    0 24px 48px rgba(0,0,0,0.35);
  min-height: 0;
}
.ph-photo--sm { min-height: 180px; }
.ph-photo--sm .ph-photo__model { font-size: 16px; }
.ph-photo--sm .ph-photo__name { font-size: 12px; margin-bottom: 8px; }
.ph-photo--card { min-height: 220px; border: 0; border-bottom: 1px solid var(--line); }
.ph-photo--card .ph-photo__model { font-size: 18px; }
.ph-photo--card .ph-photo__name { font-size: 13px; }
.ph-photo--detail { min-height: 520px; }
.ph-photo--detail .ph-photo__model { font-size: 32px; }
.ph-photo--detail .ph-photo__name { font-size: 16px; }
.ph-photo--thumb { min-height: 88px; }
.ph-photo--thumb .ph-photo__model { font-size: 12px; margin: 0; }
.ph-photo--thumb .ph-photo__name,
.ph-photo--thumb .ph-photo__note-cn { display: none; }
.ph-photo--thumb .ph-photo__note { font-size: 8px; }

/* Factory photos on cards: image + replacement caption overlay */
.ph-photo--hasimg {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--photo-ground);
}
.ph-photo--hasimg > .ph-photo__img,
.ph-photo--hasimg > .ph-photo__stage {
  grid-area: 1 / 1;
}
.ph-photo--hasimg > .ph-photo__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--photo-ground);
  max-width: none;
  position: relative;
  z-index: 0;
}
.ph-photo--hasimg > .ph-photo__stage {
  z-index: 1;
  align-self: end;
  justify-content: flex-end;
  background: linear-gradient(180deg, rgba(251,251,250,0) 0%, rgba(251,251,250,0.88) 45%, rgba(251,251,250,0.97) 100%);
  padding: 22px 10px 8px;
  min-height: 0;
}
.ph-photo--hasimg .ph-photo__model { font-size: 12px; margin-bottom: 1px; }
.ph-photo--hasimg .ph-photo__name { font-size: 11px; margin-bottom: 2px; }
.ph-photo--hasimg .ph-photo__note,
.ph-photo--hasimg .ph-photo__note-cn { font-size: 9px; }
.ph-photo--hasimg.ph-photo--card { min-height: 240px; }
.ph-photo--hasimg.ph-photo--card .ph-photo__stage { padding: 18px 8px 6px; }
.ph-photo--hasimg.ph-photo--detail { min-height: 520px; }
.ph-photo--hasimg.ph-photo--thumb .ph-photo__stage { padding: 16px 6px 6px; }
.ph-photo--hasimg.ph-photo--thumb .ph-photo__model { font-size: 10px; }

/* ---------- Facts bar ---------- */
.facts {
  background: var(--night-2);
  color: var(--on-night);
  border-top: 1px solid rgba(46, 200, 216, 0.22);
  border-bottom: 1px solid rgba(200, 75, 222, 0.18);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.fact {
  padding: 22px 18px 22px 0;
  border-right: 1px solid rgba(200, 75, 222, 0.18);
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.fact:last-child { border-right: 0; padding-right: 0; }
.fact:first-child { padding-left: 0; }
.fact-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}
.fact-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 4px;
}

/* ---------- Category / product cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  min-height: 100%;
}
.cat-card .ph-photo,
.cat-card .cat-photo { min-height: 220px; border: 0; border-bottom: 1px solid var(--line); }
.cat-photo {
  background: var(--photo-ground);
  display: flex;
  flex-direction: column;
}
.cat-photo img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: var(--photo-ground);
}
.cat-photo figcaption,
.photo-caption {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
  text-align: center;
  padding: 6px 8px 8px;
}
.cat-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cat-card h2, .cat-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.cat-range {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 10px;
}
.cat-card p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}
.product-card .meta {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.product-card .model {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink);
}
.product-card h3,
.product-card .name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0;
}
.product-card .name a:hover { color: var(--brand); }
.product-card .spec { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.product-card .spec .sep { margin: 0 6px; color: var(--line-strong); }
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  padding: 2px 6px;
  border-radius: var(--radius);
  width: fit-content;
}
.product-card .btn { width: 100%; margin-top: 10px; }
.product-card.is-hidden { display: none; }

/* ---------- Finishes strip / split / CTA ---------- */
.finish-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 8px; }
.finish-item { border-top: 2px solid var(--brand); padding: 16px 0 8px; }
.finish-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}
.finish-item p { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }

.finish-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 8px 0 28px; }
.finish-photo {
  background: var(--photo-ground);
  border: 1px solid var(--line);
  overflow: hidden;
}
.finish-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  background: var(--photo-ground);
}
.finish-photo figcaption,
.oem-photo figcaption {
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  color: var(--ink-faint);
  padding: 8px 10px 10px;
}
.finish-photo--ph .finish-photo__ph {
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--photo-ground);
  gap: 4px;
  padding: 16px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.split-pane { padding: 64px var(--pad-x); }
.split-pane:first-child { border-right: 1px solid var(--line); background: var(--paper); }
.split-pane:last-child { background: var(--fog); }
.split-pane ul { list-style: none; margin: 16px 0 24px; }
.split-pane li {
  position: relative;
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.split-pane li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 8px; height: 1px;
  background: var(--brand);
}
.oem-photo {
  margin: 20px 0 0;
  max-width: 360px;
  background: var(--photo-ground);
  border: 1px solid var(--line);
}
.oem-photo img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  background: var(--photo-ground);
}

.cta-band {
  background:
    radial-gradient(800px 280px at 90% 0%, rgba(110, 36, 163, 0.4), transparent 60%),
    var(--night);
  color: var(--on-night);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow), var(--cyan), transparent);
}
.cta-band h2 { font-size: 36px; max-width: 18ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 24px; align-items: center; }
.cta-contacts { margin-top: 20px; color: var(--on-night-soft); font-size: 16px; }
.cta-contacts a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-art {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cta-photo-card {
  margin-right: 8%;
  width: 240px;
  background: var(--photo-ground);
  box-shadow: 0 0 0 1px rgba(200, 75, 222, 0.45), 0 16px 32px rgba(0,0,0,0.28);
}
.cta-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  background: var(--photo-ground);
}
.cta-photo-card figcaption {
  font-family: var(--font-mono);
  font-size: 9px;
  line-height: 1.4;
  color: var(--ink-faint);
  text-align: center;
  padding: 6px 8px 8px;
}
.cta-band .wrap { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0B0810;
  color: var(--on-night-soft);
  padding: 56px 0 0;
  font-size: 14px;
  line-height: 1.6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.2fr;
  gap: 40px 32px;
  padding-bottom: 40px;
}
.site-footer h2 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
  font-weight: 600;
}
.site-footer .co-en { color: #fff; font-weight: 600; font-family: var(--font-display); font-size: 15px; }
.site-footer .co-cn { font-family: var(--font-cn); margin: 4px 0 10px; }
.site-footer ul { list-style: none; }
.site-footer li { margin: 0 0 8px; }
.site-footer a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(200, 75, 222, 0.22);
  padding: 16px 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #9B92A8;
}

/* ---------- Inner pages ---------- */
.page-intro {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 32px;
  position: relative;
}
.page-intro::before {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--glow), var(--cyan));
  margin-bottom: 20px;
}
.page-intro h1 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
  max-width: 22ch;
}
.page-intro--wide h1 { max-width: 28ch; }
.crumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.crumb a:hover { color: var(--brand); text-decoration: underline; }
.crumb span { margin: 0 6px; color: var(--ink-faint); }
.page-intro--photo .page-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.7fr);
  gap: 32px;
  align-items: center;
}
.page-intro-photo { margin: 0; justify-self: end; max-width: 280px; }
.page-intro-photo img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  background: var(--photo-ground);
}
.page-intro-photo figcaption { padding: 6px 0 0; text-align: right; font-family: var(--font-mono); font-size: 9px; color: var(--ink-faint); }

/* Filters */
.filters { background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px 0 18px; }
.filters-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 24px; margin-bottom: 12px; }
.filters-row:last-child { margin-bottom: 0; }
.filter-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 auto; }
.filter-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.filter-select {
  min-height: 40px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 0 12px;
  font-size: 14px;
  color: var(--ink);
  border-radius: var(--radius);
  min-width: 180px;
}
.filters-aside { margin-left: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.filter-reset {
  font-size: 14px;
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  min-height: 44px;
}
.result-count { padding: 14px 0 6px; font-size: 14px; color: var(--ink-soft); }
.catalog-block { padding: 12px 0 64px; }
.catalog-notes {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 24px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  align-items: start;
}
.catalog-notes p { color: var(--ink-soft); font-size: 15px; }
.cross-links { margin-top: 20px; font-size: 15px; }
.cross-links a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.empty-results {
  display: none;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  padding: 32px 24px;
  margin: 16px 0 8px;
}
.empty-results.is-visible { display: block; }
.empty-results h2 { font-family: var(--font-display); font-size: 22px; margin: 0 0 8px; }
.empty-results p { color: var(--ink-soft); margin-bottom: 16px; }
.empty-results .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* PDP */
.pdp { padding: 40px 0 24px; background: var(--fog); }
.pdp-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: start; }
.pdp-media .ph-photo--detail,
.pdp-media a.zoom {
  display: block;
  background: var(--photo-ground);
  border: 1px solid var(--line);
}
.pdp-media a.zoom { cursor: zoom-in; }
.pdp-buy {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 28px 24px;
}
.pdp-buy .model {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 600;
}
.pdp-buy h1 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 16px;
}
.pdp-facts { list-style: none; margin: 0 0 16px; }
.pdp-facts li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px;
}
.pdp-facts .k { color: var(--ink-soft); }
.price-line {
  margin: 16px 0;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pdp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pdp-actions .btn-primary { min-width: 200px; }
.prose-block, .spec-block, .suite-block, .related-block { padding: 48px 0 8px; }
.prose-block h2, .spec-block h2, .suite-block h2, .related-block h2,
.finish-article h2, .process-block h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.prose-block p { margin: 0 0 14px; max-width: 760px; font-size: 17px; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 16px;
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}
.spec-table th {
  width: 240px;
  font-weight: 600;
  color: var(--ink);
  background: #F7F5F9;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table .cn { font-family: var(--font-cn); }
.suite-block .box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 2px solid var(--brand);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}

/* Finish / OEM / about / contact layouts */
.finish-article {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 28px 24px;
  margin: 0 0 20px;
}
.finish-article h2 { scroll-margin-top: 16px; }
.finish-article p { margin: 0 0 12px; max-width: 760px; color: var(--ink); }
.note-box {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 24px;
  margin: 24px 0;
}
.note-box p { color: var(--ink-soft); }

.process-steps { list-style: none; margin: 0 0 24px; counter-reset: step; }
.process-steps li {
  counter-increment: step;
  position: relative;
  padding: 16px 0 16px 56px;
  border-bottom: 1px solid var(--line);
  max-width: 720px;
}
.process-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  padding: 40px 0 64px;
  align-items: start;
}
.contact-card, .form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
}
.contact-card h2, .form-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 16px;
}
.contact-card .co-en { font-weight: 600; font-family: var(--font-display); }
.contact-card .co-cn { font-family: var(--font-cn); margin: 4px 0 12px; }
.contact-card dl { margin: 0 0 16px; }
.contact-card dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 12px;
}
.contact-card dd { margin: 4px 0 0; }
.contact-card a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.form-note { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; }

.form-field { margin: 0 0 16px; }
.form-field label,
.form-legend {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}
.req { color: var(--brand); }
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: var(--paper);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover { border-color: var(--brand); }
.form-field.is-invalid input,
.form-field.is-invalid textarea,
.form-field.is-invalid select { border-color: var(--danger); }
.field-error { display: none; color: var(--danger); font-size: 13px; margin-top: 6px; }
.form-field.is-invalid .field-error { display: block; }
.check-row { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.check-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; font-family: var(--font-body); }
.model-picker {
  max-height: 200px;
  overflow: auto;
  border: 1px solid var(--line);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}
.form-status {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  font-size: 15px;
}
.form-status.is-error { display: block; border-color: var(--danger); color: var(--danger); background: #FDF2F4; }
.form-status.is-success { display: block; border-color: var(--success); color: var(--success); background: #F1F8F4; }

.simple-page { padding: 48px 0 72px; }
.simple-page .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
  max-width: 720px;
}
.simple-page .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.facts-list { list-style: none; margin: 16px 0 24px; max-width: 720px; }
.facts-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 20, 0.88);
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 80px);
  background: var(--photo-ground);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.5);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 22px;
}
.lightbox-caption {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  text-align: center;
  color: #C8C0D4;
  font-family: var(--font-mono);
  font-size: 12px;
}

/* Mobile dock */
.mobile-dock {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--night);
  border-top: 1px solid rgba(200, 75, 222, 0.45);
  z-index: 30;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.mobile-dock .btn { width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 1343px) and (min-width: 901px) {
  :root { --pad-x: 40px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-art { display: none; }
  .hero-art-mobile {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
  }
  .hero-art-mobile .hero-photo-card {
    width: 100%;
    max-width: 280px;
    background: var(--photo-ground);
    box-shadow: 0 0 0 1px rgba(200, 75, 222, 0.55), 0 0 0 2px rgba(46, 200, 216, 0.22);
  }
  .hero-art-mobile .hero-photo-card img {
    width: 100%; height: auto; max-height: 280px;
    object-fit: contain; background: var(--photo-ground);
  }
  .hero-art-mobile figcaption {
    font-family: var(--font-mono); font-size: 9px; text-align: center;
    color: var(--ink-faint); padding: 6px 8px 8px;
  }
  .hero-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --pad-x: 20px; }
  .header-inner { min-height: 60px; gap: 10px; }
  .nav, .header-wa, .lang-slot { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-tools { gap: 8px; }
  .header-tools .btn { min-height: 36px; padding: 0 10px; font-size: 13px; }
  .logo-note { max-width: 11.5em; font-size: 8px; white-space: normal; }
  .logo-cn { font-size: 15px; }
  .hero-art { display: none; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 36px 0 32px;
    gap: 28px;
  }
  .hero-copy h1 { font-size: 32px; max-width: none; }
  .hero-art-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 4px 0 8px;
  }
  .hero-art-mobile .hero-photo-card {
    width: 100%;
    max-width: 280px;
    background: var(--photo-ground);
    box-shadow: 0 0 0 1px rgba(200, 75, 222, 0.55), 0 0 0 2px rgba(46, 200, 216, 0.22);
  }
  .hero-art-mobile .hero-photo-card img {
    width: 100%; height: auto; max-height: 240px;
    object-fit: contain; background: var(--photo-ground);
  }
  .hero-art-mobile figcaption {
    font-family: var(--font-mono); font-size: 9px; line-height: 1.4;
    color: var(--ink-faint); text-align: center; padding: 6px 8px 8px;
  }
  .hero-stage { min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .hero-stage .ph-photo:first-child { grid-column: 1 / span 2; grid-row: auto; min-height: 200px; }
  .hero-stage .ph-photo--sm { min-height: 150px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 16px 12px; border-right: 0; border-bottom: 1px solid rgba(200, 75, 222, 0.18); min-height: 0; }
  .cat-grid, .finish-list { grid-template-columns: 1fr; }
  .product-grid, .product-grid--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card .meta { padding: 12px; }
  .product-card .name { font-size: 14px; }
  .ph-photo--card { min-height: 160px; }
  .ph-photo--hasimg.ph-photo--card { min-height: 180px; }
  .ph-photo--hasimg.ph-photo--detail { min-height: 320px; }
  .section { padding: 48px 0 40px; }
  .section h2, .cta-band h2, .page-intro h1 { font-size: 28px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .split, .pdp-grid, .footer-grid, .catalog-notes, .suite-block .box, .contact-grid, .finish-photos {
    grid-template-columns: 1fr;
  }
  .split-pane { padding: 40px var(--pad-x); }
  .split-pane:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
  .pdp-buy { padding: 20px; }
  .pdp-buy h1 { font-size: 26px; }
  .pdp-facts li { grid-template-columns: 1fr; gap: 2px; }
  .spec-table th { width: 38%; }
  .mobile-dock { display: grid; }
  body { padding-bottom: 64px; }
  .filters-aside { margin-left: 0; width: 100%; justify-content: space-between; }
  .filter-select { min-width: 0; width: 100%; }
  .filters-row { gap: 12px; flex-direction: column; align-items: stretch; }
  .filter-group { flex: 1 1 100%; width: 100%; }
  .ph-photo--detail { min-height: 320px; }
  .cat-card .ph-photo, .cat-photo img { min-height: 180px; height: 180px; }
  .cta-art { display: none; }
  .page-intro--photo .page-intro-inner { grid-template-columns: 1fr; gap: 16px; }
  .page-intro-photo { justify-self: center; max-width: 200px; }
  .page-intro-photo figcaption { text-align: center; }
  .finish-photo img, .finish-photo--ph .finish-photo__ph { height: 140px; }
  .model-picker { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .hero-actions .btn, .cta-actions .btn, .pdp-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Official trademark lockup (reverse on the dark header). Palette otherwise unchanged. */
.logo { align-items: center; padding: 0; gap: 0; line-height: 0; }
@media (min-width: 901px) { .logo { min-width: 194px; } }
.logo-img { display: block; height: 48px; width: auto; }
@media (max-width: 900px) { .logo-img { height: 40px; } }
