/* Victory FPV Motors — storefront
   White ground, warm black type, precise spacing.
*/

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-ext-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-ext-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/ibm-plex-sans-latin-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/noto-sans-sc-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/noto-sans-sc-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans SC";
  src: url("../fonts/noto-sans-sc-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f6f3;
  --bg-2: #efece6;
  --paper: #ffffff;
  --ink: #1c1917;
  --ink-2: #44403c;
  --muted: #78716c;
  --line: #e7e5e0;
  --line-2: #d6d3cd;
  --copper: #8a5a3c;
  --copper-soft: #c4a484;
  --focus: #1c1917;
  --danger: #7f1d1d;
  --shadow: 0 1px 0 rgba(28, 25, 23, 0.04);
  --header-h: 72px;
  --max: 1200px;
  --font: "IBM Plex Sans", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[data-lang="zh"] .i18n-en { display: none !important; }
html:not([data-lang="zh"]) .i18n-zh { display: none !important; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; margin: 0; }
p { margin: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Language-aware typography: slightly looser leading for Chinese */
html[data-lang="zh"] body { line-height: 1.75; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(247, 246, 243, 0.86);
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img {
  height: 18px;
  width: auto;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a, .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover, .nav-link:hover, .nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--bg-2);
}
.cart-link { position: relative; }
.cart-count {
  display: none;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}
.cart-count.is-on { display: inline-block; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.logo,
.nav,
.menu-toggle { flex-shrink: 0; }
.nav a,
.nav-link,
.lang-trigger,
.sort-trigger-label { white-space: nowrap; }
.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.lang-select {
  height: 32px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.lang-select.is-enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.lang-trigger {
  height: 32px;
  padding: 0 11px 0 12px;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
}
.lang-globe {
  width: 14px;
  height: 14px;
  color: var(--muted);
  flex-shrink: 0;
}
body.home .site-header:not(.is-solid) .lang-trigger {
  background: rgba(18, 14, 12, 0.28);
  border-color: rgba(255, 255, 255, 0.35);
  color: #f6f3ee;
}
body.home .site-header:not(.is-solid) .lang-trigger:hover {
  border-color: rgba(255, 255, 255, 0.7);
}
body.home .site-header:not(.is-solid) .lang-globe,
body.home .site-header:not(.is-solid) .lang-trigger .sort-chevron {
  color: rgba(246, 243, 238, 0.8);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  content: "";
  transition: transform 0.2s var(--ease), top 0.2s var(--ease), background 0.2s var(--ease);
}
.menu-toggle span::before { top: -5px; position: absolute; }
.menu-toggle span::after { top: 5px; position: absolute; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  height: auto;
  padding: 8px 22px;
  border-radius: 2px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  text-align: center;
}
.btn:focus-visible, .lang-switch button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #000; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-copper {
  background: var(--copper);
  color: #fff;
}
.btn-copper:hover { background: #6f4530; }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; height: auto; padding: 6px 14px; font-size: 13px; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 80% 60% at 80% 30%, rgba(196, 164, 132, 0.12), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-kicker {
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-kicker .num {
  font-size: 64px;
  line-height: 0.8;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 36em;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  background: transparent;
  filter: drop-shadow(0 18px 32px rgba(28, 25, 23, 0.18));
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p, .section-kicker {
  color: var(--muted);
  font-size: 14px;
}
.section-kicker {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 8px;
}
.link-arrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--copper); border-color: var(--copper); }

/* ---------- Category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  padding: 22px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.cat-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.cat-card .count {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.cat-card h3 { font-size: 18px; margin-top: 24px; }
.cat-card p { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
}
.product-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s var(--ease);
}
.product-card:hover { border-color: var(--ink); }
.product-card .media {
  background: #fff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
.product-card .media img { width: 100%; height: 100%; object-fit: contain; }
.product-card .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card .series {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.product-card h3 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.product-card .meta {
  font-size: 13px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-variant-numeric: tabular-nums;
}
.product-card .actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.product-card .actions .btn { flex: 1; }

/* ---------- Attribute strip ---------- */
.attr-strip {
  background: var(--ink);
  color: #f5f2ec;
  padding: 36px 0;
}
.attr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.attr-item {
  text-align: center;
  padding: 8px 16px;
}
.attr-item small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 6px;
}
.attr-item strong {
  font-size: 16px;
  font-weight: 500;
}

/* ---------- Listing toolbar ---------- */
.toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.toolbar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
}
.search {
  flex: 1 1 220px;
  position: relative;
}
.search input, .field select, .field input, .field textarea {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 0 14px;
  border-radius: 2px;
  color: var(--ink);
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 120px; }
.search input:focus, .field select:focus, .field input:focus, .field textarea:focus {
  border-color: var(--ink);
  outline: none;
}
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-group label, .sort-label {
  font-size: 12px;
  color: var(--muted);
  margin-right: 4px;
}
.chip {
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
}
.chip[aria-pressed="true"], .chip.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.results-meta {
  font-size: 13px;
  color: var(--muted);
  margin-left: auto;
}
.empty-state {
  text-align: center;
  padding: 80px 16px;
  color: var(--muted);
}

/* ---------- Product detail ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 24px 0 0;
}
.breadcrumb a:hover { color: var(--ink); }
.detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  padding: 32px 0 72px;
  align-items: start;
}
.gallery {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.gallery-main {
  background: var(--paper);
  border: 1px solid var(--line);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.gallery-main img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.gallery-main.drawing {
  aspect-ratio: 4/5;
  padding: 24px;
  background: #fff;
}
.thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.thumbs button {
  width: 80px;
  height: 80px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumbs button[aria-selected="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }

.detail-info .series {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.detail-info h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 8px 0 16px;
}
.detail-info .blurb {
  color: var(--ink-2);
  margin-bottom: 24px;
  max-width: 40em;
}
.photo-note {
  font-size: 13px;
  color: var(--muted);
  background: var(--bg-2);
  padding: 10px 14px;
  margin-bottom: 20px;
  border-left: 2px solid var(--copper);
}
.kv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.pill {
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 8px 12px;
  font-size: 13px;
}
.pill b { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.qty-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}
.qty {
  display: inline-flex;
  border: 1px solid var(--line-2);
  background: var(--paper);
}
.qty button {
  width: 42px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 18px;
  color: var(--ink);
}
.qty input {
  width: 48px;
  height: 44px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-variant-numeric: tabular-nums;
  background: transparent;
}
.added-toast {
  font-size: 13px;
  color: var(--copper);
  margin-top: 10px;
  min-height: 1.2em;
}

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 32px 8px;
  margin-bottom: 32px;
}
.panel h2 {
  font-size: 18px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.spec-table, .test-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.spec-table th, .spec-table td,
.test-table th, .test-table td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th { color: var(--muted); font-weight: 500; width: 42%; }
.test-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.test-table th, .test-table td { padding: 8px 12px; white-space: nowrap; text-align: right; }
.test-table th:first-child, .test-table td:first-child,
.test-table th:nth-child(2), .test-table td:nth-child(2) { text-align: left; }
.test-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}
.note { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ---------- Inquiry ---------- */
.inquiry-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  padding: 40px 0 80px;
  align-items: start;
}
.inquiry-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.inquiry-item img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: var(--paper);
  border: 1px solid var(--line);
}
.inquiry-item h3 { font-size: 16px; }
.inquiry-item .sub { font-size: 13px; color: var(--muted); }
.remove {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  padding: 4px;
}
.remove:hover { color: var(--danger); }
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.form-card h2 { font-size: 20px; margin-bottom: 8px; }
.form-card .lead { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.req { color: var(--copper); }
.form-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.success-box {
  display: none;
  margin-top: 20px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line-2);
}
.success-box.is-on { display: block; }
.success-box h3 { font-size: 16px; margin-bottom: 8px; }
.success-box pre {
  white-space: pre-wrap;
  font-size: 12px;
  line-height: 1.55;
  background: var(--paper);
  padding: 12px;
  border: 1px solid var(--line);
  max-height: 280px;
  overflow: auto;
  font-family: "IBM Plex Sans", ui-monospace, monospace;
}
.success-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- About ---------- */
.about-block {
  max-width: 720px;
  padding: 56px 0 80px;
}
.about-block h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 16px; }
.about-block p { color: var(--ink-2); margin-bottom: 16px; }
.about-block .panel { margin-top: 32px; padding-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  background: var(--bg);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-brand img { height: 16px; width: auto; margin-bottom: 10px; }
.footer-brand p, .site-footer small { font-size: 13px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 14px; }
.footer-nav a:hover { border-bottom: 1px solid var(--ink); }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Page title band ---------- */
.page-hero {
  padding: 48px 0 8px;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); }
.page-hero p { color: var(--muted); margin-top: 8px; }

/* ---------- Related ---------- */
.related { padding-bottom: 80px; }

/* ---------- Mobile ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid, .product-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .detail, .inquiry-layout { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; }
  .form-card { position: static; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .header-inner { gap: 8px; }
  .menu-toggle { display: inline-flex; order: 2; }
  .header-tools { order: 1; margin-left: auto; gap: 6px; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 5;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 0;
    box-shadow: 0 16px 32px rgba(28, 25, 23, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 12px 8px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero { padding: 40px 0 48px; }
  .hero-kicker .num { font-size: 48px; }
  .section { padding: 56px 0; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .product-grid, .product-grid.cols-5 { grid-template-columns: 1fr 1fr; }
  .attr-grid { grid-template-columns: 1fr; gap: 16px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .inquiry-item { grid-template-columns: 72px 1fr; }
  .inquiry-item .remove { grid-column: 2; justify-self: start; }
}
@media (max-width: 480px) {
  .product-grid, .product-grid.cols-5 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .form-card, .company-card { padding: 20px 16px; }
  .success-actions .btn { flex: 1 1 100%; }
}

.toolbar select {
  height: 32px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
}
.toolbar select.is-enhanced {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.sort-dropdown {
  position: relative;
  display: inline-block;
}
.sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px 0 14px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.sort-trigger:hover {
  border-color: var(--ink);
}
.sort-trigger:focus {
  outline: none;
}
.sort-trigger:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.sort-trigger[aria-expanded="true"] {
  border-color: var(--ink);
  background: var(--paper);
}
.sort-chevron {
  width: 14px;
  height: 14px;
  color: var(--muted);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}
.sort-trigger[aria-expanded="true"] .sort-chevron {
  transform: rotate(180deg);
  color: var(--ink);
}
.sort-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 168px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.1);
  z-index: 40;
}
.sort-menu[hidden] {
  display: none;
}
.sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  border-radius: 6px;
  font-size: 13px;
  color: var(--ink-2);
  text-align: left;
  white-space: nowrap;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.sort-option:hover {
  background: var(--bg);
  color: var(--ink);
}
.sort-option[aria-selected="true"] {
  background: var(--bg-2);
  color: var(--ink);
  font-weight: 600;
}
.sort-option .sort-check {
  width: 14px;
  height: 14px;
  color: var(--copper);
  opacity: 0;
  flex-shrink: 0;
}
.sort-option[aria-selected="true"] .sort-check {
  opacity: 1;
}


/* ============================================================
   Campaign photography — lookbook layer over the catalog system
   ============================================================ */

.logo { position: relative; }
.logo-light { display: none; }

.logo-wordmark {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
}
.site-footer .logo-wordmark {
  font-size: 15px;
  margin-bottom: 10px;
}
body.home .site-header:not(.is-solid) .logo-wordmark { color: #f6f3ee; }

/* Fixed transparent header only on the homepage, over the hero */
body.home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(18, 14, 12, 0.48) 0%, rgba(18, 14, 12, 0) 100%);
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.home .site-header:not(.is-solid) .logo-dark { display: none; }
body.home .site-header:not(.is-solid) .logo-light { display: block; }
body.home .site-header:not(.is-solid) .nav a,
body.home .site-header:not(.is-solid) .nav-link {
  color: rgba(247, 244, 239, 0.92);
}
body.home .site-header:not(.is-solid) .nav a:hover,
body.home .site-header:not(.is-solid) .nav-link:hover,
body.home .site-header:not(.is-solid) .nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
body.home .site-header:not(.is-solid) .cart-count {
  background: #fff;
  color: var(--ink);
}
body.home .site-header:not(.is-solid) .lang-switch {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(18, 14, 12, 0.25);
}
body.home .site-header:not(.is-solid) .lang-switch button { color: rgba(247, 244, 239, 0.7); }
body.home .site-header:not(.is-solid) .lang-switch button[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
}
body.home .site-header:not(.is-solid) .menu-toggle {
  background: rgba(18, 14, 12, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
}
body.home .site-header:not(.is-solid) .menu-toggle span,
body.home .site-header:not(.is-solid) .menu-toggle span::before,
body.home .site-header:not(.is-solid) .menu-toggle span::after {
  background: #fff;
}
body.home .site-header.is-solid {
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: saturate(1.2) blur(16px);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  border-bottom-color: var(--line);
}

/* Full-bleed homepage hero */
.hero-campaign {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #f6f3ee;
  overflow: hidden;
  background: #1a1614;
}
.hero-campaign-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  max-width: none;
}
.hero-campaign-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 12, 10, 0.78) 0%, rgba(16, 12, 10, 0.52) 34%, rgba(16, 12, 10, 0.14) 62%, rgba(16, 12, 10, 0.28) 100%),
    linear-gradient(180deg, rgba(16, 12, 10, 0.4) 0%, transparent 28%, rgba(16, 12, 10, 0.28) 100%);
  pointer-events: none;
}
.hero-campaign-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-h) + 48px) 0 80px;
  max-width: 1200px;
}
.hero-campaign-copy { max-width: 34em; }
.hero-campaign .hero-kicker { color: rgba(246, 243, 238, 0.7); }
.hero-campaign .hero-kicker .num { color: #f6f3ee; }
.hero-campaign h1 {
  color: #f6f3ee;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero-campaign .hero-lead {
  color: rgba(246, 243, 238, 0.88);
  max-width: 32em;
}
.hero-campaign .btn-primary {
  background: #f6f3ee;
  color: var(--ink);
  border-color: #f6f3ee;
}
.hero-campaign .btn-primary:hover { background: #fff; color: #000; }
.hero-campaign .btn-ghost {
  color: #f6f3ee;
  border-color: rgba(246, 243, 238, 0.85);
}
.hero-campaign .btn-ghost:hover {
  background: #f6f3ee;
  color: var(--ink);
}
.hero-campaign .btn:focus-visible {
  outline-color: #f6f3ee;
}

/* Lookbook category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: minmax(210px, 22vw) minmax(210px, 22vw) minmax(240px, 26vw);
  gap: 12px;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #1a1614;
  border: 0;
  color: #f6f3ee;
  isolation: isolate;
}
.cat-card:hover { transform: none; border: 0; }
.cat-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cat-card:hover > img { transform: scale(1.05); }
.cat-card-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 22px 22px 24px;
  background: linear-gradient(180deg, rgba(16, 12, 10, 0.18) 0%, rgba(16, 12, 10, 0.12) 40%, rgba(16, 12, 10, 0.82) 100%);
}
.cat-class-7-8 .cat-card-overlay,
.cat-class-8-10 .cat-card-overlay {
  background: linear-gradient(180deg, rgba(16, 12, 10, 0.28) 0%, rgba(16, 12, 10, 0.08) 32%, rgba(16, 12, 10, 0.9) 100%);
}
.cat-card .count {
  color: rgba(246, 243, 238, 0.8);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.cat-card h3 {
  font-size: clamp(18px, 1.6vw, 24px);
  margin-top: 0;
  color: #f6f3ee;
}
.cat-card p {
  font-size: 13px;
  color: rgba(246, 243, 238, 0.82);
  margin-top: 8px;
  max-width: 36em;
}
.cat-racing-5 { grid-column: 1 / 8; grid-row: 1 / 3; }
.cat-class-7-8 { grid-column: 8 / 13; grid-row: 1 / 2; }
.cat-class-8-10 { grid-column: 8 / 13; grid-row: 2 / 3; }
.cat-class-11-15 { grid-column: 1 / 8; grid-row: 3 / 4; }
.cat-class-18-22 { grid-column: 8 / 13; grid-row: 3 / 4; }
.cat-racing-5 > img { object-position: 22% 60%; }
.cat-class-7-8 > img { object-position: 20% 70%; }
.cat-class-8-10 > img { object-position: 80% 70%; }
.cat-class-11-15 > img { object-position: 50% 58%; }
.cat-class-18-22 > img { object-position: 28% 58%; }
.cat-racing-5 h3 { font-size: clamp(22px, 2.2vw, 32px); }

/* Highlights: catalog-backed contrast pair */
.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.highlight-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 340px;
  overflow: hidden;
  background: #1a1614;
  color: #f6f3ee;
}
.highlight-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.highlight-card:hover img { transform: scale(1.04); }
.highlight-card .highlight-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px 28px 30px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 12, 10, 0.82) 100%);
}
.highlight-card .section-kicker { color: rgba(246, 243, 238, 0.7); }
.highlight-card h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 8px; }
.highlight-card p { font-size: 14px; color: rgba(246, 243, 238, 0.86); }
.highlight-racing img { object-position: 22% 58%; }
.highlight-lift img { object-position: 30% 55%; }

/* Family lineup campaign band: photo first, caption bar below so type never covers motors */
.campaign-band {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: #f6f3ee;
  overflow: hidden;
  background: #efece6;
}
.campaign-band-img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  max-height: 560px;
  max-width: none;
  object-fit: contain;
  object-position: center center;
  background: #efece6;
  display: block;
}
.campaign-band-scrim {
  display: none;
}
.campaign-band-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 32px max(24px, calc((100% - var(--max)) / 2));
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #1a1614;
}
.campaign-band .section-kicker { color: rgba(246, 243, 238, 0.7); }
.campaign-band h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 10px;
  color: #f6f3ee;
}
.campaign-band p {
  font-size: 15px;
  color: rgba(246, 243, 238, 0.86);
  max-width: 36em;
}
.campaign-band .btn-primary {
  background: #f6f3ee;
  color: var(--ink);
  border-color: #f6f3ee;
  flex-shrink: 0;
}
.campaign-band .btn-primary:hover { background: #fff; }

/* Inner-page campaign banners */
.page-banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  color: #f6f3ee;
  overflow: hidden;
  background: #1a1614;
}
.page-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.page-banner--family .page-banner-img { object-position: center 42%; }
.page-banner--flight .page-banner-img { object-position: 68% 40%; }
.page-banner--studio .page-banner-img { object-position: 30% 55%; }
.page-banner-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-banner--family .page-banner-scrim {
  background:
    linear-gradient(90deg, rgba(16, 12, 10, 0.62) 0%, rgba(16, 12, 10, 0.32) 55%, rgba(16, 12, 10, 0.2) 100%),
    linear-gradient(180deg, rgba(16, 12, 10, 0.15) 0%, rgba(16, 12, 10, 0.72) 100%);
}
.page-banner--flight .page-banner-scrim,
.page-banner--studio .page-banner-scrim {
  background:
    linear-gradient(90deg, rgba(16, 12, 10, 0.72) 0%, rgba(16, 12, 10, 0.4) 50%, rgba(16, 12, 10, 0.28) 100%),
    linear-gradient(180deg, rgba(16, 12, 10, 0.2) 0%, rgba(16, 12, 10, 0.55) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 1;
  padding: 56px 0 36px;
}
.page-banner .section-kicker { color: rgba(246, 243, 238, 0.7); }
.page-banner h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: #f6f3ee;
}
.page-banner p {
  margin-top: 10px;
  max-width: 38em;
  color: rgba(246, 243, 238, 0.88);
}
.inquiry-lead {
  padding: 28px 0 8px;
  color: var(--ink-2);
  max-width: 46em;
}

/* Detail-page series atmosphere band */
.series-band {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  color: #f6f3ee;
  overflow: hidden;
  background: #1a1614;
  margin: 24px 0 0;
}
.series-band-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.series-band--racing-5 .series-band-img { object-position: 22% 60%; }
.series-band--class-7-8 .series-band-img { object-position: 20% 70%; }
.series-band--class-8-10 .series-band-img { object-position: 80% 70%; }
.series-band--class-11-15 .series-band-img { object-position: 50% 58%; }
.series-band--class-18-22 .series-band-img { object-position: 28% 58%; }
.series-band-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 12, 10, 0.72) 0%, rgba(16, 12, 10, 0.35) 55%, rgba(16, 12, 10, 0.25) 100%);
  pointer-events: none;
}
.series-band-content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
  padding: 40px 0 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.series-band .section-kicker { color: rgba(246, 243, 238, 0.7); }
.series-band h2 { font-size: clamp(22px, 3vw, 32px); color: #f6f3ee; }
.series-band .btn-ghost {
  color: #f6f3ee;
  border-color: rgba(246, 243, 238, 0.85);
}
.series-band .btn-ghost:hover { background: #f6f3ee; color: var(--ink); }

.related { padding-top: 56px; padding-bottom: 80px; }

/* About page after a photo banner */
.about-block { padding-top: 40px; }

@media (max-width: 1024px) {
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
  .cat-racing-5,
  .cat-class-7-8,
  .cat-class-8-10,
  .cat-class-11-15,
  .cat-class-18-22 {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }
  .cat-racing-5 { grid-column: 1 / -1; min-height: 320px; }
  .highlight-card { min-height: 280px; }
  .hero-campaign-img { object-position: 68% 40%; }
}
@media (max-width: 760px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-racing-5,
  .cat-class-7-8,
  .cat-class-8-10,
  .cat-class-11-15,
  .cat-class-18-22 {
    grid-column: auto;
    min-height: 240px;
  }
  .cat-racing-5 { min-height: 280px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .highlight-card { min-height: 260px; }
  .campaign-band-content,
  .series-band-content { width: min(var(--max), calc(100% - 32px)); }
  .hero-campaign-img { object-position: 72% 38%; }
  .hero-campaign-scrim {
    background:
      linear-gradient(180deg, rgba(16, 12, 10, 0.55) 0%, rgba(16, 12, 10, 0.28) 40%, rgba(16, 12, 10, 0.72) 100%),
      linear-gradient(90deg, rgba(16, 12, 10, 0.35) 0%, transparent 60%);
  }
  .hero-campaign-content {
    padding: calc(var(--header-h) + 32px) 0 56px;
    align-self: flex-end;
  }
  .hero-campaign { align-items: flex-end; min-height: 100svh; }
  .page-banner { min-height: 220px; }
  .page-banner--flight .page-banner-img { object-position: 72% 38%; }
  .page-banner--family .page-banner-img { object-position: center 40%; }
  .series-band { min-height: 180px; }
  /* Keep the slide-down nav readable when the home header is still dark */
  body.home .site-header:not(.is-solid) .nav {
    background: rgba(18, 14, 12, 0.94);
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  body.home .site-header:not(.is-solid) .nav a {
    color: #f6f3ee;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
}
@media (max-width: 480px) {
  .hero-campaign .hero-actions { flex-direction: column; }
  .hero-campaign .hero-actions .btn { width: 100%; }
  .campaign-band .btn-primary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cat-card > img,
  .highlight-card img { transition: none; }
}


/* ============================================================
   Detail enrichment, company / bank, compact footer contact
   ============================================================ */

.motor-summary {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
  max-width: 42em;
}
.motor-summary + .blurb-catalog {
  margin-bottom: 20px;
}
.blurb-catalog {
  font-size: 13px;
  color: var(--muted);
  max-width: 42em;
  margin: 0 0 20px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.blurb-catalog .label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}

.spec-highlights {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: -24px 0 48px;
}
.spec-highlights .hi {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 16px 18px;
  min-width: 0;
}
.spec-highlights .hi b {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.spec-highlights .hi span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  word-break: break-word;
}
.tone-racing-5 .spec-highlights .hi { border-top: 2px solid #1c1917; }
.tone-class-7-8 .spec-highlights .hi,
.tone-class-8-10 .spec-highlights .hi { border-top: 2px solid #6b5a4a; }
.tone-class-11-15 .spec-highlights .hi { border-top: 2px solid #3f3a36; }
.tone-class-18-22 .spec-highlights .hi { border-top: 2px solid #8a5a3c; }

.kv-variants {
  margin: 0 0 24px;
  padding: 16px 18px 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.kv-variants h3 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 600;
}
.kv-variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px 16px;
  margin-bottom: 10px;
}
.kv-variant {
  background: var(--paper);
  padding: 12px 14px;
  border: 1px solid var(--line);
}
.kv-variant .kv-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.kv-variant ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-2);
}
.kv-variant li + li { margin-top: 2px; }
.kv-variant .tag {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--copper);
}

.spec-drawing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-bottom: 32px;
  align-items: start;
}
.spec-drawing-grid .panel { margin-bottom: 0; }
.drawing-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px 20px 16px;
}
.drawing-panel h2 {
  font-size: 18px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.drawing-panel img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}
.drawing-panel p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.chart-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 16px 12px 8px;
  margin: 0 0 24px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.chart-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  min-width: 520px;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  font-size: 12px;
  color: var(--ink-2);
  padding: 4px 12px 8px;
}
.chart-legend i {
  display: inline-block;
  width: 16px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: currentColor;
}
.chart-legend .thrust { color: #1c1917; }
.chart-legend .eff { color: #8a5a3c; }

.related-card .contrast {
  font-size: 12px;
  color: var(--copper);
  line-height: 1.45;
  margin-top: 2px;
}

/* Company / bank */
.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 40px 0 64px;
}
.company-card, .bank-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 28px 24px;
}
.company-card h2, .bank-card h2 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.company-card .legal-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.company-card .legal-name-en {
  font-size: 15px;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.info-list, .bank-list {
  margin: 0;
}
.info-list div, .bank-list div {
  display: grid;
  grid-template-columns: minmax(7em, 36%) 1fr auto;
  gap: 8px 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.info-list dt, .bank-list dt {
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.info-list dd, .bank-list dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.copy-btn {
  border: 0;
  background: transparent;
  color: var(--copper);
  font-size: 12px;
  font-weight: 600;
  padding: 0;
  white-space: nowrap;
  justify-self: end;
}
.copy-btn:hover { color: var(--ink); }
.bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 0 0 64px;
}
.bank-card .bank-kicker {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-inner {
  align-items: flex-start;
}
.footer-brand .footer-company {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 13px;
}
.footer-contact {
  font-size: 13px;
  color: var(--ink-2);
  max-width: 28em;
  line-height: 1.6;
}
.footer-contact a { border-bottom: 1px solid currentColor; }
.footer-contact a:hover { color: var(--ink); }
.footer-contact .footer-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.inquiry-lead a { border-bottom: 1px solid currentColor; }
.success-actions { align-items: center; }
.mailto-btn { margin-right: auto; }

@media (max-width: 1024px) {
  .spec-highlights { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
  .spec-drawing-grid, .company-grid, .bank-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .spec-highlights { grid-template-columns: repeat(2, 1fr); }
  .info-list div, .bank-list div { grid-template-columns: 1fr auto; }
  .info-list dt, .bank-list dt { grid-column: 1 / -1; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .spec-highlights { grid-template-columns: 1fr 1fr; }
  .chart-wrap svg { min-width: 440px; }
}

.series-sib {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(246, 243, 238, 0.86);
  max-width: 40em;
}

/* ---------- Detail page: compact purchase + 详情/参数 tabs ---------- */
.detail-page .detail {
  padding: 12px 0 36px;
  gap: 40px;
  align-items: stretch;
}
.detail-info {
  display: flex;
  flex-direction: column;
}
.detail-bottom {
  margin-top: auto;
}
@media (min-width: 1025px) {
  .detail-page .detail-info {
    padding-bottom: 92px;
  }
}
.detail-page .detail-info h1 {
  margin: 8px 0 12px;
}
.detail-page .detail-info .blurb {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-2);
  margin-bottom: 20px;
  max-width: 36em;
}
.detail-page .kv-pills { margin-bottom: 22px; }
.detail-page .qty-row { margin-bottom: 8px; }
.thumbs { flex-wrap: wrap; }

.kv-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
}
.kv-options-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.kv-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.kv-chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #f6f3ee;
}
.kv-chip-note {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  opacity: 0.8;
}

.detail-tabs-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 25;
  background: var(--bg, #f7f6f3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.detail-tabs-inner {
  display: flex;
  justify-content: flex-end;
}
.detail-tabs {
  display: flex;
  gap: 0;
}
.detail-tabs button {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 16px 22px 14px;
  font: inherit;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--muted);
  cursor: pointer;
}
.detail-tabs button[aria-selected="true"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--ink);
}
.detail-tabs button:hover { color: var(--ink); }
.tab-panel[hidden] { display: none !important; }

/* Full-bleed lookbook under the 详情 tab — dark/light panels, typography in HTML. */
.details-flow {
  background: #100e0c;
}
.lookbook {
  width: 100%;
  margin: 0;
}
.look-panel {
  margin: 0;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  min-height: min(62vh, 640px);
  gap: 0;
}
.look-dark {
  background: #100e0c;
  color: #f6f3ee;
}
.look-light {
  background: #ffffff;
  color: var(--ink);
}
.look-hero {
  grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
}
.look-feature.look-flip {
  grid-template-columns: minmax(340px, 1.2fr) minmax(280px, 0.8fr);
}
.look-facts {
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 0.9fr);
}
.look-copy {
  padding: 64px clamp(28px, 6vw, 96px);
  max-width: 36rem;
  min-width: 0;
}
.look-kicker {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(246, 243, 238, 0.55);
}
.look-light .look-kicker { color: var(--muted); }
.look-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.look-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(246, 243, 238, 0.86);
  max-width: 28em;
}
.look-light .look-sub { color: var(--ink-2); }
.look-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: min(62vh, 640px);
  min-width: 0;
  max-width: 100%;
  padding: 36px 40px 36px 16px;
  overflow: hidden;
}
.look-hero .look-visual {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
}
.look-hero .look-visual img {
  width: 100%;
  height: 100%;
  min-height: min(62vh, 640px);
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}
.look-facts .look-visual {
  padding: 48px clamp(16px, 3vw, 40px);
}
.look-facts .look-visual img {
  width: 100%;
  max-width: 640px;
  max-height: min(58vh, 620px);
  object-fit: contain;
  display: block;
}
.look-feature .look-sub {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.5;
  color: rgba(246, 243, 238, 0.92);
  max-width: 18em;
}
.look-feature .look-visual {
  padding: 0;
  min-height: min(62vh, 640px);
}
.look-feature .look-visual img {
  width: 100%;
  height: min(62vh, 640px);
  object-fit: cover;
  display: block;
}
.look-specs {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 28rem;
}
.look-spec {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.look-spec span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  min-width: 0;
  overflow-wrap: anywhere;
}
.look-spec b {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.look-scene {
  margin: 0;
  display: block;
  line-height: 0;
  background: #100e0c;
}
.look-scene img {
  width: 100%;
  height: min(64vh, 680px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.detail-page .related { padding-top: 56px; padding-bottom: 80px; background: var(--bg); }

.spec-section { background: var(--bg, #f7f6f3); }
.spec-sec-head {
  background: #141210;
  color: #f6f3ee;
  margin: 0;
  padding: 20px 32px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: left;
  width: 100%;
}
.spec-section-body {
  padding: 40px 0 64px;
}

.drawing-field {
  background: #fff;
  padding: 48px 24px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.drawing-hit {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  max-width: min(820px, 100%);
  width: 100%;
}
.drawing-hit img {
  width: 100%;
  height: auto;
  display: block;
}
.drawing-hint {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.param-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}
.param-cell {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.param-cell { min-width: 0; }
.param-label { color: var(--muted); flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.param-value {
  text-align: right;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  max-width: 70%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.test-head {
  font-size: 15px;
  color: var(--ink-2);
  margin: 0 0 20px;
  letter-spacing: 0.02em;
}
#sec-test .test-table { margin-bottom: 32px; }
#sec-test .chart-wrap { margin: 8px 0 24px; }
#sec-test .test-meta { margin-top: 8px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(12,10,9,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.lightbox[hidden] { display: none !important; }
body.lightbox-open { overflow: hidden; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #f6f3ee;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .look-panel,
  .look-hero,
  .look-feature.look-flip,
  .look-facts {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .look-hero .look-visual,
  .look-feature.look-flip .look-visual { order: -1; }
  .look-visual,
  .look-feature .look-visual { min-height: 0; }
  .look-hero .look-visual img {
    min-height: min(56vh, 480px);
    height: min(56vh, 480px);
    max-height: none;
  }
  .look-facts .look-visual img {
    max-height: min(52vh, 460px);
  }
  .look-feature .look-visual img {
    height: min(56vh, 480px);
  }
  .look-copy { padding: 40px 32px 48px; max-width: none; }
}
@media (max-width: 760px) {
  .detail-page .detail { padding: 8px 0 28px; }
  .detail-tabs-inner { justify-content: stretch; }
  .detail-tabs { width: 100%; }
  .detail-tabs button {
    flex: 1 1 0;
    min-height: 48px;
    padding: 12px 10px;
    letter-spacing: 0.04em;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }
  .look-copy { padding: 32px 20px 40px; }
  .look-title { font-size: clamp(24px, 8vw, 36px); }
  .look-hero .look-visual { padding: 0; }
  .look-facts .look-visual { padding: 16px 20px 8px; }
  .look-hero .look-visual img {
    min-height: min(52vh, 400px);
    height: min(52vh, 400px);
  }
  .look-facts .look-visual img { max-height: min(48vh, 380px); }
  .look-feature .look-visual img { height: min(52vh, 420px); }
  .look-scene img { height: min(48vh, 420px); }
  .look-spec b { font-size: 18px; }
  .param-grid { grid-template-columns: 1fr 1fr; }
  .spec-sec-head { padding: 16px 20px; font-size: 16px; }
  .drawing-field { padding: 24px 12px 20px; }
  .param-value { max-width: 62%; }
}
@media (max-width: 480px) {
  .param-grid { grid-template-columns: 1fr; }
  .qty-row { flex-wrap: wrap; }
  .qty-row .btn { flex: 1 1 100%; }
}

/* ============================================================
   Homepage: Application scenarios & Engineering craft galleries
   ============================================================ */

.scene-section {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.scene-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.scene-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1614;
  color: #f6f3ee;
}
.scene-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.scene-card:hover img {
  transform: scale(1.05);
}
.scene-card-copy {
  position: relative;
  z-index: 1;
  padding: 20px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(16, 12, 10, 0.84) 100%);
}
.scene-card-copy small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 2px;
}
.scene-card-copy strong {
  font-size: 14px;
  font-weight: 600;
  color: #f6f3ee;
}

.craft-section {
  background: #141210;
  color: #f6f3ee;
  padding: 72px 0;
}
.craft-section .section-kicker { color: var(--copper-soft); }
.craft-section .section-head h2 { color: #f6f3ee; }
.craft-section .link-arrow { color: rgba(246, 243, 238, 0.85); border-color: rgba(246, 243, 238, 0.45); }
.craft-section .link-arrow:hover { color: #fff; border-color: #fff; }
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.craft-card {
  background: #1b1815;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.craft-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #100e0c;
}
.craft-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.craft-card:hover .craft-card-media img {
  transform: scale(1.04);
}
.craft-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.craft-card-body small {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper-soft);
}
.craft-card-body h3 {
  font-size: 18px;
  color: #f6f3ee;
}
.craft-card-body p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(246, 243, 238, 0.76);
}

/* Detail page: 2-column engineering craft strip inside lookbook */
.look-craft {
  background: #141210;
  color: #f6f3ee;
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.look-craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.look-craft-card {
  background: #1b1815;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.look-craft-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #100e0c;
}
.look-craft-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.look-craft-body {
  padding: 20px 24px 24px;
}
.look-craft-body small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper-soft);
  margin-bottom: 6px;
}
.look-craft-body h3 {
  font-size: 18px;
  color: #f6f3ee;
  margin-bottom: 6px;
}
.look-craft-body p {
  font-size: 14px;
  color: rgba(246, 243, 238, 0.78);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .scene-grid { grid-template-columns: repeat(3, 1fr); }
  .craft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .scene-grid { grid-template-columns: 1fr 1fr; }
  .craft-grid, .look-craft-grid { grid-template-columns: 1fr; }
  .craft-section { padding: 52px 0; }
  .look-craft { padding: 40px 0; }
}
@media (max-width: 480px) {
  .scene-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-card img, .craft-card-media img { transition: none; }
  .hero-campaign-img, .hero-scroll-cue span { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   Homepage motion: Ken Burns hero, scroll cue, marquee strip, reveal
   ============================================================ */

@keyframes heroKenBurns {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
.hero-campaign-img {
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes scrollCueBounce {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(6px); opacity: 1; }
}
.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(246, 243, 238, 0.72);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero-scroll-cue span {
  display: block;
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, rgba(246, 243, 238, 0.9), transparent);
  animation: scrollCueBounce 2s ease-in-out infinite;
}

/* Scroll reveal */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js-ready .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Core engineering 4-pillar strip (inside dark craft-section) */
.tech-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.tech-pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.tech-pillar svg {
  width: 22px;
  height: 22px;
  color: var(--copper-soft);
  flex-shrink: 0;
  margin-top: 2px;
}
.tech-pillar strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #f6f3ee;
  margin-bottom: 4px;
}
.tech-pillar p {
  font-size: 12px;
  line-height: 1.55;
  color: rgba(246, 243, 238, 0.68);
}

/* 4-step B2B inquiry & delivery process */
.process-section {
  background: var(--bg);
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.process-section--compact {
  padding: 32px 0 12px;
  border-top: 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.process-step {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.process-step .step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--copper);
}
.process-step h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.process-step p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-2);
}

@media (max-width: 1024px) {
  .tech-pillars, .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tech-pillars, .process-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Small-screen header, tap targets, and contained tables
   Phones (≤760px) always use a compact header. Wider windows
   add .is-compact / .is-nav-collapsed only when translated
   labels would overflow, so fitting tablet and desktop headers
   keep the full labels.
   ============================================================ */

.cart-link::before {
  content: "";
  display: none;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='3.5' width='12' height='17' rx='1.5'/%3E%3Cpath d='M9 8.5h6M9 12h6M9 15.5h4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='3.5' width='12' height='17' rx='1.5'/%3E%3Cpath d='M9 8.5h6M9 12h6M9 15.5h4'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 760px) {
  .cart-link {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    gap: 0;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--paper);
  }
  body.home .site-header:not(.is-solid) .cart-link {
    background: rgba(18, 14, 12, 0.28);
    border-color: rgba(255, 255, 255, 0.35);
    color: #f6f3ee;
  }
  .cart-link::before { display: block; }
  .cart-link > .i18n-zh,
  .cart-link > .i18n-en {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .cart-link .cart-count.is-on {
    position: absolute;
    top: 2px;
    right: 2px;
  }
  .lang-trigger {
    height: 44px;
    min-width: 44px;
    padding: 0 10px;
    gap: 6px;
  }
  .lang-trigger .sort-chevron { display: none; }
  .lang-trigger .sort-trigger-label {
    max-width: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    letter-spacing: 0.04em;
  }
  .lang-select:not(.is-enhanced) {
    width: 44px;
    height: 44px;
    padding: 0;
    font-size: 0;
    color: transparent;
  }
  .lang-dropdown .sort-menu,
  .sort-menu {
    max-height: min(70vh, 440px);
    overflow: auto;
  }
  .sort-option { min-height: 44px; padding: 10px 12px; }
  .chip {
    min-height: 44px;
    height: auto;
    padding: 10px 14px;
    line-height: 1.25;
  }
  .search input,
  .field input,
  .field select { height: 44px; }
  .sort-trigger { min-height: 44px; height: auto; max-width: 100%; }
  .sort-dropdown { max-width: 100%; }
  .toolbar-row,
  .filter-group { min-width: 0; max-width: 100%; }
  .product-card .actions { flex-wrap: wrap; }
  .product-card .actions .btn {
    flex: 1 1 8.5rem;
    min-height: 44px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
  .footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .inquiry-item { grid-template-columns: 72px minmax(0, 1fr); }
  .inquiry-item h3,
  .inquiry-item .sub { overflow-wrap: anywhere; }
  .inquiry-item .remove {
    min-height: 44px;
    padding: 8px 4px;
  }
  .qty button { width: 44px; }
  .copy-btn { min-height: 44px; padding: 8px 4px; }
  .test-table { width: max-content; min-width: 100%; }
  .spec-section-body,
  .panel,
  .drawing-field { max-width: 100%; min-width: 0; }
  .kv-chip,
  .pill { max-width: 100%; }
  .page-banner-content,
  .hero-campaign-copy,
  .section-head { min-width: 0; }
  .logo-wordmark { letter-spacing: 0.14em; }
}

@media (max-width: 380px) {
  .logo-wordmark { font-size: 16px; letter-spacing: 0.12em; }
}

/* Tablet widths still in the multi-column grids: keep tap targets
   and let narrow card actions wrap instead of clipping translations. */
@media (max-width: 900px) {
  .chip {
    min-height: 44px;
    height: auto;
    padding: 10px 14px;
    line-height: 1.25;
  }
  .search input { min-height: 44px; }
  .sort-trigger { min-height: 44px; height: auto; }
  .product-card .actions { flex-wrap: wrap; }
  .product-card .actions .btn {
    flex: 1 1 8.5rem;
    min-height: 44px;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }
}

/* Tablet and up: same compact tools, only when the header cannot fit. */
.site-header.is-compact .cart-link {
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
  gap: 0;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
}
body.home .site-header.is-compact:not(.is-solid) .cart-link {
  background: rgba(18, 14, 12, 0.28);
  border-color: rgba(255, 255, 255, 0.35);
  color: #f6f3ee;
}
.site-header.is-compact .cart-link::before { display: block; }
.site-header.is-compact .cart-link > .i18n-zh,
.site-header.is-compact .cart-link > .i18n-en {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.site-header.is-compact .cart-link .cart-count.is-on {
  position: absolute;
  top: 2px;
  right: 2px;
}
.site-header.is-compact .lang-trigger {
  height: 44px;
  min-width: 44px;
  padding: 0 10px;
  gap: 6px;
}
.site-header.is-compact .lang-trigger .sort-trigger-label {
  max-width: 2.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.site-header.is-compact .header-tools { gap: 8px; flex-shrink: 0; }

.site-header.is-nav-collapsed .menu-toggle {
  display: inline-flex;
  order: 2;
  width: 44px;
  height: 44px;
}
.site-header.is-nav-collapsed .header-tools {
  order: 1;
  margin-left: auto;
}
.site-header.is-nav-collapsed .header-inner { gap: 8px; }
.site-header.is-nav-collapsed .nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 5;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  align-items: stretch;
  padding: 8px 16px 16px;
  gap: 0;
  box-shadow: 0 16px 32px rgba(28, 25, 23, 0.08);
}
.site-header.is-nav-collapsed .nav.is-open { display: flex; }
.site-header.is-nav-collapsed .nav a {
  display: flex;
  width: 100%;
  min-height: 48px;
  padding: 12px 8px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}
